CN109274960A - Conditional Access of Digital Television automatization test system and test method - Google Patents
Conditional Access of Digital Television automatization test system and test method Download PDFInfo
- Publication number
- CN109274960A CN109274960A CN201811156060.7A CN201811156060A CN109274960A CN 109274960 A CN109274960 A CN 109274960A CN 201811156060 A CN201811156060 A CN 201811156060A CN 109274960 A CN109274960 A CN 109274960A
- Authority
- CN
- China
- Prior art keywords
- test
- node
- detection time
- character
- picture file
- 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/004—Diagnosis, testing or measuring for television systems or their details for digital television systems
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The present invention relates to the automatic tests of Conditional Access of Digital Television, and it discloses a kind of Conditional Access of Digital Television automatization test system and test methods, improve testing efficiency and the problem in test is accurately positioned.This method comprises: the inspection parameter of a. input test use-case, inspection parameter includes the multiple detection time nodes divided and the corresponding scope of examination of each detection time node;B. when intermediate node arrives when detecting, the OSD for obtaining the product of integrated CAS condition receiving system shows layer data, is then converted into picture file, and records conversion picture moment corresponding timestamp;C. the character content in picture file is extracted;D. it is based on detection time node, inspection parameter to the test case of input and the character content extracted from picture file are compared, and judge whether test case runs succeeded according to comparison result.
Description
Technical field
The present invention relates to the automatic tests of Conditional Access of Digital Television, and in particular to a kind of Conditional Access of Digital Television from
Dynamicization test macro and test method.
Background technique
When DTV integrated condition receives system, it usually needs a large amount of test case and code stream, to ensure to integrate
The function and performance of postcondition reception system.It include that a large amount of prompt information confirmation and fingerprint announce content in its test case
Validation of information, developer need to put into a large amount of time progress manual testing and result verification.
Therefore, the application improves testing efficiency it is necessary to propose a kind of Conditional Access of Digital Television automatic test scheme
And the problem in test is accurately positioned.
Summary of the invention
The technical problems to be solved by the present invention are: proposing a kind of Conditional Access of Digital Television automatization test system and survey
Method for testing improves testing efficiency and the problem in test is accurately positioned.
The technical proposal adopted by the invention to solve the above technical problems is that:
Conditional Access of Digital Television automatization test system, comprising:
Test case parameter input module, for the inspection parameter of input test use-case, inspection parameter includes the more of division
A detection time node and the corresponding scope of examination of each detection time node;
Display layer extraction module when arriving for intermediate node when detecting, obtains the product of integrated CAS condition receiving system
OSD show layer data, be then converted into picture file, and record conversion picture moment corresponding timestamp;
Data extraction module, for extracting the character content in picture file;
Test-based examination module, for being based on detection time node, inspection parameter to the test case of input and from picture
The character content extracted in file is compared, and judges whether test case runs succeeded according to comparison result.
As advanced optimizing, the display layer extraction module shows layer data by separation video data and OSD, to obtain
The OSD of the product of integrated CAS condition receiving system is taken to show layer data.
As advanced optimizing, the scope of examination include: string content, character location information, character pixels size,
The specifying informations such as character color and background color.
As advanced optimizing, the test-based examination module is also used to, if test case executes failure, is reported from picture
The corresponding time of the character content extracted in file and the unmatched particular content of the inspection parameter of input and the picture file
Stamp.
As advanced optimizing, the test-based examination module is used to be based on detection time node, to the test case of input
Inspection parameter and the character content extracted from picture file be compared, specifically include:
Timing node be will test as fiducial time, display layer extraction module obtains when arriving with the detection time node
OSD shows layer data and is converted into the correspondent time of picture file and is compared, if deviation is more than preset error time,
Determine that file is invalid for picture, carries out terminating test after accordingly prompting;If deviation is less than preset error time, by the time
The corresponding scope of examination of node is matched one by one with the character content extracted from picture file.
In addition, the invention also provides a kind of Conditional Access of Digital Television automated testing methods comprising following steps:
A. the inspection parameter of input test use-case, inspection parameter include the multiple detection time nodes divided and each detection
The corresponding scope of examination of timing node;
B. when intermediate node arrives when detecting, the OSD for obtaining the product of integrated CAS condition receiving system shows layer data,
It is then converted into picture file, and records conversion picture moment corresponding timestamp;
C. the character content in picture file is extracted;
D. detection time node, inspection parameter to the test case of input and the character extracted from picture file are based on
Content is compared, and judges whether test case runs succeeded according to comparison result.
As advanced optimizing, step a is specifically included:
N detection time node is divided, n tables corresponding with detection time node are established, each table has one
Detection time node serial number i, i=1 ... n;It include the corresponding scope of examination of corresponding detection time node in table, in the inspection
Appearance includes: the specifying informations such as string content, character location information, character pixels size, character color and background color.
As advanced optimizing, in step b, in i-th of detection time node TiWhen arrival, pass through display layer extraction module
The OSD for obtaining the product of integrated CAS condition receiving system shows layer data, is then converted into picture file, and record and turn
Change picture moment corresponding timestamp ti。
As advanced optimizing, in step c, the character content in picture file is extracted using data extraction module, it is described
Character content includes: that string content, character location information, character pixels size, character color and background color etc. are specifically believed
Breath.
As advanced optimizing, step d is specifically included:
D1. it will test the time T of timing node iiOSD, which is obtained, as fiducial time and data extraction module shows the number of plies
According to and be converted into the timestamp t of picture fileiIt is compared,
If ti-Ti≤ △ t, △ t is default error time, then determines detection time point TiCorresponding image data is effective,
Enter step d2;Otherwise, it is determined that detection time point TiCorresponding image data is invalid, then prompts the detection time of test case
Node serial number i, and terminate to test;
D2. compare test case one by one and check node time TiThe scope of examination and correspondent time tiPicture file in
The character content of extraction;If there is parameter mismatches, then the detection time node serial number i of test case and unmatched interior is prompted
Hold information, and terminates to test;If all parameters all match one by one, start next inspection node T(i+1);
D3. step d1 and d2 are repeated, when test case detection time node serial number i is equal to n, completes the test case
Detection, prompt are successfully tested.
The beneficial effects of the present invention are:
By dividing detection time node, the scope of examination under corresponding detection time node is set, and according to detection time
Node obtains OSD automatically and shows layer data, matches one by one with the scope of examination, therefore, it is determined that whether test case runs succeeded,
When test crash, the number and failure cause of testing time node are provided, so that error message be accurately positioned;It is possible thereby to realize
Operation test case can automatically derive test result and error reporting, improve testing efficiency.
Detailed description of the invention
Fig. 1 is Conditional Access of Digital Television automated testing method flow chart of the present invention.
Specific embodiment
The present invention is directed to propose a kind of Conditional Access of Digital Television automatization test system and test method, improve test effect
Simultaneously the problem in test is accurately positioned in rate.
Conditional Access of Digital Television automatization test system proposed by the present invention, comprising:
Test case parameter input module, for the inspection parameter of input test use-case, inspection parameter includes the more of division
A detection time node and the corresponding scope of examination of each detection time node;
Display layer extraction module when arriving for intermediate node when detecting, obtains the product of integrated CAS condition receiving system
OSD show layer data, be then converted into picture file, and record conversion picture moment corresponding timestamp;
Data extraction module, for extracting the character content in picture file;
Test-based examination module, for being based on detection time node, inspection parameter to the test case of input and from picture
The character content extracted in file is compared, and judges whether test case runs succeeded according to comparison result.
Based on above-mentioned test macro, test method that the present invention realizes as shown in Figure 1, itself the following steps are included:
A. the inspection parameter of input test use-case, inspection parameter include the multiple detection time nodes divided and each detection
The corresponding scope of examination of timing node;
In this step, in the inspection parameter of input test use-case, n detection time node is divided, establishes n and detection
The corresponding table of timing node, each table have detection time node serial number i, i=1 ... a n;Include corresponding inspection in table
Survey the corresponding scope of examination of timing node, the scope of examination includes: that string content, character location information, character pixels are big
The specifying informations such as small, character color and background color.
B. when intermediate node arrives when detecting, the OSD for obtaining the product of integrated CAS condition receiving system shows layer data,
It is then converted into picture file, and records conversion picture moment corresponding timestamp;
In this step, in i-th of detection time node TiWhen arrival, video data is separated by display layer extraction module
Layer data is shown with OSD, and layer data is shown with the OSD of this product for obtaining integrated CAS condition receiving system, is then converted
At BMP picture file, and record conversion picture moment corresponding timestamp ti。
C. the character content in picture file is extracted;
In this step, the character content in BMP picture file, the character content packet are extracted using data extraction module
It includes: the specifying informations such as string content, character location information, character pixels size, character color and background color.
D. detection time node, inspection parameter to the test case of input and the character extracted from picture file are based on
Content is compared, and judges whether test case runs succeeded according to comparison result.
In this step, the specific steps for testing detection include:
D1. it will test the time T of timing node iiOSD, which is obtained, as fiducial time and data extraction module shows the number of plies
According to and be converted into the timestamp t of picture fileiIt is compared,
If ti-Ti≤ △ t, △ t is default error time, then determines detection time point TiCorresponding image data is effective,
Enter step d2;Otherwise, it is determined that detection time point TiCorresponding image data is invalid, then prompts the detection time of test case
Node serial number i, and terminate to test;
D2. compare test case one by one and check node time TiThe scope of examination and correspondent time tiPicture file in
The character content of extraction;If there is parameter mismatches, then the detection time node serial number i of test case and unmatched interior is prompted
Hold information, and terminates to test;If all parameters all match one by one, start next inspection node T(i+1);
D3. step d1 and d2 are repeated, when test case detection time node serial number i is equal to n, completes the test case
Detection, prompt are successfully tested.
Claims (10)
1. Conditional Access of Digital Television automatization test system characterized by comprising
Test case parameter input module, for the inspection parameter of input test use-case, inspection parameter includes the multiple inspections divided
Survey timing node and the corresponding scope of examination of each detection time node;
Display layer extraction module when arriving for intermediate node when detecting, obtains the product of integrated CAS condition receiving system
OSD shows layer data, is then converted into picture file, and records conversion picture moment corresponding timestamp;
Data extraction module, for extracting the character content in picture file;
Test-based examination module, for being based on detection time node, inspection parameter to the test case of input and from picture file
The character content of middle extraction is compared, and judges whether test case runs succeeded according to comparison result.
2. Conditional Access of Digital Television automatization test system as described in claim 1, which is characterized in that the display layer mentions
Modulus block shows layer data by separation video data and OSD, aobvious to obtain the OSD of product of integrated CAS condition receiving system
Show layer data.
3. Conditional Access of Digital Television automatization test system as described in claim 1, which is characterized in that the scope of examination
It include: string content, character location information, character pixels size, character color and background color.
4. Conditional Access of Digital Television automatization test system as described in claim 1, which is characterized in that the test-based examination
Module is also used to, if test case executes failure, reports the inspection ginseng of the character content and input extracted from picture file
The correspondent time of the unmatched particular content of number and the picture file.
5. Conditional Access of Digital Television automatization test system as described in claim 1, which is characterized in that the test-based examination
Module, the character for being used for the inspection parameter based on detection time node, to the test case of input and being extracted from picture file
Content is compared, and is specifically included:
Timing node be will test as fiducial time, it is aobvious to obtain OSD for display layer extraction module when arriving with the detection time node
Show layer data and be converted into the correspondent time of picture file and be compared, if deviation is more than preset error time, determines
Picture file is invalid, carries out terminating test after accordingly prompting;If deviation is less than preset error time, by the timing node
The corresponding scope of examination is matched one by one with the character content extracted from picture file.
6. Conditional Access of Digital Television automated testing method, which comprises the following steps:
A. the inspection parameter of input test use-case, inspection parameter include the multiple detection time nodes divided and each detection time
The corresponding scope of examination of node;
B. when intermediate node arrives when detecting, the OSD for obtaining the product of integrated CAS condition receiving system shows layer data, then
Picture file is converted thereof into, and records conversion picture moment corresponding timestamp;
C. the character content in picture file is extracted;
D. detection time node, inspection parameter to the test case of input and the character content extracted from picture file are based on
It is compared, judges whether test case runs succeeded according to comparison result.
7. Conditional Access of Digital Television automated testing method as claimed in claim 6, which is characterized in that
Step a is specifically included:
N detection time node is divided, n tables corresponding with detection time node are established, each table has a detection
Timing node number i, i=1 ... n;It include the corresponding scope of examination of corresponding detection time node, the scope of examination packet in table
It includes: string content, character location information, character pixels size, character color and background color.
8. Conditional Access of Digital Television automated testing method as claimed in claim 6, which is characterized in that
In step b, in i-th of detection time node TiWhen arrival, integrated CAS condition reception is obtained by display layer extraction module
The OSD of the product of system shows layer data, is then converted into picture file, and records the corresponding time at conversion picture moment
Stab ti。
9. Conditional Access of Digital Television automated testing method as claimed in claim 6, which is characterized in that
In step c, the character content in picture file is extracted using data extraction module, the character content includes: character string
Content, character location information, character pixels size, character color and background color.
10. Conditional Access of Digital Television automated testing method as claimed in claim 6, which is characterized in that
Step d is specifically included:
D1. it will test the time T of timing node iiOSD display layer data is obtained as fiducial time and data extraction module and is turned
Change the timestamp t of picture file intoiIt is compared,
If ti-Ti≤ △ t, △ t is default error time, then determines detection time point TiCorresponding image data is effective, enters
Step d2;Otherwise, it is determined that detection time point TiCorresponding image data is invalid, then prompts the detection time node of test case
Number i, and terminate to test;
D2. compare test case one by one and check node time TiThe scope of examination and correspondent time tiPicture file in extract
Character content;If there is parameter mismatches, then the detection time node serial number i and unmatched content letter of test case are prompted
Breath, and terminate to test;If all parameters all match one by one, start next inspection node T(i+1);
D3. step d1 and d2 are repeated, when test case detection time node serial number i is equal to n, completes the inspection of the test case
It surveys, prompt is successfully tested.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811156060.7A CN109274960A (en) | 2018-09-30 | 2018-09-30 | Conditional Access of Digital Television automatization test system and test method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811156060.7A CN109274960A (en) | 2018-09-30 | 2018-09-30 | Conditional Access of Digital Television automatization test system and test method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109274960A true CN109274960A (en) | 2019-01-25 |
Family
ID=65195438
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811156060.7A Pending CN109274960A (en) | 2018-09-30 | 2018-09-30 | Conditional Access of Digital Television automatization test system and test method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109274960A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013030894A (en) * | 2011-07-27 | 2013-02-07 | Hirotekku Kk | Intercom image distribution system and card adapter |
CN102957773A (en) * | 2011-08-29 | 2013-03-06 | 比亚迪股份有限公司 | Mobile phone software testing method and mobile phone software testing system |
CN103793326A (en) * | 2014-01-28 | 2014-05-14 | 福建星网锐捷网络有限公司 | Assembly test method and device |
CN105912457A (en) * | 2015-12-08 | 2016-08-31 | 乐视网信息技术(北京)股份有限公司 | Test server, test client, test system, and test method |
CN108205674A (en) * | 2017-12-22 | 2018-06-26 | 广州爱美互动网络科技有限公司 | Content identification method, electronic equipment, storage medium and the system of social APP |
-
2018
- 2018-09-30 CN CN201811156060.7A patent/CN109274960A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013030894A (en) * | 2011-07-27 | 2013-02-07 | Hirotekku Kk | Intercom image distribution system and card adapter |
CN102957773A (en) * | 2011-08-29 | 2013-03-06 | 比亚迪股份有限公司 | Mobile phone software testing method and mobile phone software testing system |
CN103793326A (en) * | 2014-01-28 | 2014-05-14 | 福建星网锐捷网络有限公司 | Assembly test method and device |
CN105912457A (en) * | 2015-12-08 | 2016-08-31 | 乐视网信息技术(北京)股份有限公司 | Test server, test client, test system, and test method |
CN108205674A (en) * | 2017-12-22 | 2018-06-26 | 广州爱美互动网络科技有限公司 | Content identification method, electronic equipment, storage medium and the system of social APP |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102006499B (en) | Method for detecting video and audio quality of digital television program file | |
US9918128B2 (en) | Content categorization using facial expression recognition, with improved detection of moments of interest | |
US9224048B2 (en) | Scene-based people metering for audience measurement | |
CN108663374A (en) | Test method, test device and the test system of display device | |
CN113766215B (en) | Method and system for synchronously testing broadcast of passengers in airborne passenger cabin | |
CN110996153B (en) | Scene recognition-based sound and picture quality enhancement method and system and display | |
CN103051921B (en) | Method for precisely detecting video and audio synchronous errors of video and audio processing system | |
CN110225367A (en) | It has been shown that, recognition methods and the device of object information in a kind of video | |
CN107222739B (en) | A kind of IPTV service quality dial testing method based on crawler technology | |
CN108241580A (en) | The test method and terminal of client-side program | |
CN110049373B (en) | Set top box jamming detection method, system and storage medium | |
CN109508276B (en) | Method for improving equipment factory detection efficiency on Android platform | |
CN110585702A (en) | Sound and picture synchronous data processing method, device, equipment and medium | |
CN112511818B (en) | Video playing quality detection method and device | |
CN107306342A (en) | Audio-visual content of the monitoring with captions | |
US20140176728A1 (en) | Receiver and a transmitter | |
WO2018040856A1 (en) | Method and system for detecting synchronisation of outputs of video processing units of multi-screen display apparatus | |
CN114943875A (en) | Visual analysis method for cable element identification | |
CN109274960A (en) | Conditional Access of Digital Television automatization test system and test method | |
CN114666636A (en) | Sound and picture synchronous detection method and computer readable storage medium | |
CN107483985A (en) | A kind of advertisement accurately localization method | |
Tekcan et al. | User-driven automatic test-case generation for DTV/STB reliable functional verification | |
CN117058097A (en) | Identification method and system for antibody rapid detection reagent | |
CN101184249B (en) | On-line test system and method for mobile multimedia broadcasting system | |
CN113593326A (en) | English pronunciation teaching device and method |
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: 20190125 |
|
RJ01 | Rejection of invention patent application after publication |