CN105187915A - Testing method for scrambling program playing of high-security set top box - Google Patents

Testing method for scrambling program playing of high-security set top box Download PDF

Info

Publication number
CN105187915A
CN105187915A CN201510608692.2A CN201510608692A CN105187915A CN 105187915 A CN105187915 A CN 105187915A CN 201510608692 A CN201510608692 A CN 201510608692A CN 105187915 A CN105187915 A CN 105187915A
Authority
CN
China
Prior art keywords
top box
set top
software
testing
program
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
CN201510608692.2A
Other languages
Chinese (zh)
Other versions
CN105187915B (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.)
Shandong Inspur Ultra HD Video Industry Co Ltd
Original Assignee
Inspur Software Group 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 Inspur Software Group Co Ltd filed Critical Inspur Software Group Co Ltd
Priority to CN201510608692.2A priority Critical patent/CN105187915B/en
Publication of CN105187915A publication Critical patent/CN105187915A/en
Application granted granted Critical
Publication of CN105187915B publication Critical patent/CN105187915B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a testing method for scrambling program playing of a high-security set top box, which comprises the following concrete implementation processes: firstly, extracting program information from client software of a Nagra set top box; the Mtest software adopts a partition structure the same as that of client software, the extracted program information is written in the Mtest software, and then an upgrading step of upgrading a client is performed; after the upgrade is finished, the set-top box contains program information required by the test, and then the play test is directly carried out. Compared with the prior art, the testing method for the scrambled program playing of the high-security set top box has the advantages that the program information is written before the Mtest software upgrades the client software, so that the program information to be tested is stored after the client software is started, and the scrambled program can be tested after the client software is started, so that the testing time of the item of a single set top box is reduced to be less than 20 seconds, and the testing method is strong in practicability, wide in application range and easy to popularize.

Description

The method of testing that a kind of high peace Set Top Box scrambled program is play
Technical field
The present invention relates to set-top box technique field, the method for testing of specifically a kind of practical, high peace Set Top Box scrambled program broadcasting.
Background technology
Digital video switching box (English: SetTopBox, be called for short STB), box on so-called Set Top Box or machine is the equipment connecting television set and outside source.The digital signal of compression can be changed into television content by it, and shows on a television set.
NagraMediaAccess is the core of Nagra Digital Television solution, provides the advanced security resist technology of terminal chip level.Adopt the production process overall flow of the Set Top Box of Nagra solution as shown in Figure 1.
Need two softwares in process of production, software 1 produces surveys software, i.e. Mtest software, is the software tested the hardware of Set Top Box, such as to USB interface, and network interface, front panels etc. are tested, and determine hardware fault-free; Software 2 client software, here referred to as APP software, is final shipment software, the software that user uses.
Before vanning, according to standard and the requirement of nagra, add a test request, the program needing Set Top Box to carry out scrambling is play.The scrambled program of Nagra has 4 covers altogether, and provide in the mode of TS stream, need factory's code stream player to broadcast, Set Top Box tuner receives, and just complete machine is qualified at last can to play this scrambled program.
The high peace type Set Top Box of Nagra type, production procedure is very complicated.Wherein there is a demand to be before dispatching from the factory, carry out the broadcasting test of scrambled program, be used for verifying that whether the mandate of this Set Top Box is successful.But in actual production, the testing efficiency of this project is too low.
Due to the software search mechanism of Set Top Box, all will carry out the broadcasting test of scrambled program for every platform Set Top Box, the time of cost is very many.The reason of time loss is caused to be: the software that dispatches from the factory of Set Top Box must be client software, it is adopt remote controller operation that client carries out tuning, by the feedback of TV, select the fixing frequency that will carry out tuning, Set Top Box has scanned this frequency, whether obtain the rendition list, then carrying out monitoring can this scrambled program of normal play.
As shown in Figure 2, operate with remote controller because needs produce lineman people, and need Set Top Box to be fixed the search of frequency, then the broadcasting of scrambled program can just be carried out, so whole test needs cost about 50 seconds, even if operative is very skilled, also need the time close to 40 seconds, and the speed that factory produces linear flow waterline is generally 20 seconds/platform, the output of 180pcs/ hour so just can be reached.
So the time loss of this test event must reduce to less than 20 seconds, just can satisfy the demands, otherwise the production efficiency of producing line will be had a strong impact on.
Based on this, now provide the method for testing that a kind of high peace Set Top Box scrambled program is play.
Summary of the invention
Technical assignment of the present invention is for above weak point, provides the method for testing that a kind of practical, high peace Set Top Box scrambled program is play.
The method of testing that high peace Set Top Box scrambled program is play, its specific implementation process is:
First, in the client software of Nagra Set Top Box, programme information is extracted;
Mtest testing software adopts the partitioned organization identical with client software, writes the programme information of said extracted, do the upgrade step of upgrade client afterwards in Mtest software;
After having upgraded, Set Top Box comprises the programme information needed for test, then directly does and plays test.
The leaching process of described programme information is: carry out normal tuning with client software, the scrambled program information needed for search; From the storage system of Set Top Box, obtain the data block of programme information, complete the extraction of programme information.
The detailed process of programme information write Mtest testing software is:
After Set Top Box is produced, in Mtest testing software, write the program information data block of said extracted;
Then updating client software;
After having upgraded, then Nagra Set Top Box restarted, this Nagra Set Top Box kind comprises programme information, and play-overing the program added in flow-disturbing can test.
The data structure of described program information data block comprises frequency point information, tsid, serviceid of TV programme and audio frequency and video pid.
The method of testing that a kind of high peace Set Top Box scrambled program of the present invention is play, has the following advantages:
The network single-chip microcomputer firmware upgrade method of one of this invention adopts and write programme information before Mtest software upgrading client software, after making client software start, just preserve programme information to be tested, the test of scrambled program just can be carried out after start, this project testing time of single set top box is made to be reduced to less than 20 seconds, practical, applied widely, be easy to promote.
Accompanying drawing explanation
Accompanying drawing 1 is the production process overall flow figure of the Set Top Box adopting Nagra solution.
Accompanying drawing 2 is the test schematic diagram that existing scrambled program is play.
Accompanying drawing 3 is programme information leaching process schematic diagram of the present invention.
Accompanying drawing 4 is programme information of the present invention write Mtest software process schematic diagram.
Embodiment
Below in conjunction with the drawings and specific embodiments, the invention will be further described.
The method of testing providing a kind of high peace Set Top Box scrambled program to play of the present invention, as shown in accompanying drawing 2, Fig. 3, its implementation procedure is:
First, in the client software of Nagra Set Top Box, programme information is extracted;
Mtest testing software adopts the partitioned organization identical with client software, writes the programme information of said extracted, do the upgrade step of upgrade client afterwards in Mtest software;
After having upgraded, Set Top Box comprises the programme information needed for test, then directly does and plays test.
The leaching process of described programme information is: carry out normal tuning with client software, the scrambled program information needed for search; From the storage system of Set Top Box, obtain the data block of programme information, complete the extraction of programme information.
The detailed process of programme information write Mtest testing software is:
After Set Top Box is produced, in Mtest testing software, write the program information data block of said extracted;
Then updating client software;
After having upgraded, then Nagra Set Top Box restarted, this Nagra Set Top Box kind comprises programme information, and play-overing the program added in flow-disturbing can test.
The data structure of described program information data block comprises frequency point information, tsid, serviceid of TV programme and audio frequency and video pid.
Above-mentioned program information data block called after Program.bin, its detailed process obtained is:
The flash subarea information of Nagra Set Top Box is as follows:
0x000000000000-0x000000200000:"boot";
0x000000200000-0x000000300000:"bs1";
0x000000300000-0x000000400000:"bs2";
0x000000400000-0x000000500000:"da2";
0x000000500000-0x000000600000:"da2bk";
0x000000600000-0x000000800000:"sn";
0x000000800000-0x000000f00000:"data";
0x000000f00000-0x000001000000:"nvm";
0x000001000000-0x000001100000:"nvmbk";
0x000001100000-0x000001400000:"splash";
0x000001400000-0x000001600000:"load0";
0x000001600000-0x000001800000:"load1";
0x000001800000-0x000002000000:"kernel";
0x000002000000-0x000005c00000:"rootfssqshfs"。
Wherein data subregion, namely the address of flash is 0x000000800000-0x000000f00000, and the front 64k of section is the memory location of programme information.By nanddump instrument, extract program.bin, operational order is as follows:
nanddump/dev/mtd6-o-s0x100000-l0x80000-f/mnt/usb/program.bin。
The write of Program.bin.
In Mtest software, write program.bin., write by nandwrite instrument, before the procedure, first must clear up flash, program performs as follows:
charcmd[256]={0};
sprintf(cmd,"flash_erase/dev/mtd60x1000008");
system(cmd);
sprintf(cmd,"nandwrite/dev/mtd6-s0x100000/home/bin/program.bin-p\n");
system(cmd)。
This invention can reduce the testing time of this test event, saves production cost, and enhances productivity more than 50%.
Above-mentioned embodiment is only concrete case of the present invention; scope of patent protection of the present invention includes but not limited to above-mentioned embodiment; claims of the method for testing that any a kind of high peace Set Top Box scrambled program according to the invention is play and any person of an ordinary skill in the technical field to its suitable change done or replacement, all should fall into scope of patent protection of the present invention.

Claims (4)

1. a method of testing for high peace Set Top Box scrambled program broadcasting, it is characterized in that, specific implementation process is: first in the client software of Nagra Set Top Box, extracts programme information;
Mtest testing software adopts the partitioned organization identical with client software, writes the programme information of said extracted, do the upgrade step of upgrade client afterwards in Mtest software;
After having upgraded, Set Top Box comprises the programme information needed for test, then directly does and plays test.
2. the method for testing of a kind of high peace Set Top Box scrambled program broadcasting according to claim 1, it is characterized in that, the leaching process of described programme information is: carry out normal tuning with client software, the scrambled program information needed for search; From the storage system of Set Top Box, obtain the data block of programme information, complete the extraction of programme information.
3. the method for testing of a kind of high peace Set Top Box scrambled program broadcasting according to claim 1, it is characterized in that, the detailed process of programme information write Mtest testing software is:
After Set Top Box is produced, in Mtest testing software, write the program information data block of said extracted;
Then updating client software;
After having upgraded, then Nagra Set Top Box restarted, this Nagra Set Top Box kind comprises programme information, and play-overing the program added in flow-disturbing can test.
4. the method for testing play of a kind of high peace Set Top Box scrambled program according to claim 1, is characterized in that, the data structure of described program information data block comprises frequency point information, tsid, serviceid of TV programme and audio frequency and video pid.
CN201510608692.2A 2015-09-21 2015-09-21 Testing method for scrambling program playing of high-security set top box Active CN105187915B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510608692.2A CN105187915B (en) 2015-09-21 2015-09-21 Testing method for scrambling program playing of high-security set top box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510608692.2A CN105187915B (en) 2015-09-21 2015-09-21 Testing method for scrambling program playing of high-security set top box

Publications (2)

Publication Number Publication Date
CN105187915A true CN105187915A (en) 2015-12-23
CN105187915B CN105187915B (en) 2018-05-29

Family

ID=54909713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510608692.2A Active CN105187915B (en) 2015-09-21 2015-09-21 Testing method for scrambling program playing of high-security set top box

Country Status (1)

Country Link
CN (1) CN105187915B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442665A (en) * 2022-08-29 2022-12-06 四川长虹电器股份有限公司 Method, device and equipment for checking program data compatibility after upgrading of smart television

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499892A (en) * 2008-02-01 2009-08-05 青岛海信电器股份有限公司 Communication interface detection method and electronic device
CN102572591A (en) * 2011-12-09 2012-07-11 深圳创维数字技术股份有限公司 Method and device for producing advanced security digital television set-top box
CN102665092A (en) * 2012-03-06 2012-09-12 四川金网通电子科技有限公司 Test method for hardware of set top box
CN102768640A (en) * 2012-06-13 2012-11-07 四川长虹电器股份有限公司 Software testing method
US20140181849A1 (en) * 2012-12-21 2014-06-26 Centurylink Intellectual Property Llc System and Method for Utilizing Set-top Box Testing in Television Distribution Network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101499892A (en) * 2008-02-01 2009-08-05 青岛海信电器股份有限公司 Communication interface detection method and electronic device
CN102572591A (en) * 2011-12-09 2012-07-11 深圳创维数字技术股份有限公司 Method and device for producing advanced security digital television set-top box
CN102665092A (en) * 2012-03-06 2012-09-12 四川金网通电子科技有限公司 Test method for hardware of set top box
CN102768640A (en) * 2012-06-13 2012-11-07 四川长虹电器股份有限公司 Software testing method
US20140181849A1 (en) * 2012-12-21 2014-06-26 Centurylink Intellectual Property Llc System and Method for Utilizing Set-top Box Testing in Television Distribution Network

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115442665A (en) * 2022-08-29 2022-12-06 四川长虹电器股份有限公司 Method, device and equipment for checking program data compatibility after upgrading of smart television
CN115442665B (en) * 2022-08-29 2023-10-20 四川长虹电器股份有限公司 Method, device and equipment for checking program data compatibility after intelligent television upgrading

Also Published As

Publication number Publication date
CN105187915B (en) 2018-05-29

Similar Documents

Publication Publication Date Title
CN102572541B (en) Television subscriber interaction method and system
US9226025B2 (en) IPTV start speed enhancement
CN101207729B (en) Digital television receiving terminal and software upgrading system thereof
EP3696999A1 (en) Reception device and reception method
CN102938857B (en) A kind of method of Set Top Box online upgrading
CN101895671B (en) Set top box Loader module updating method and set top box thereof
CN102222011A (en) Software upgrading method for set-top box and set-top box
CN102026031B (en) Set top box
CN103699483A (en) Method and device for testing compatibility of playing state of flash player and browser
CN101980522A (en) Method for realizing video advertisement based on digital set top box boot
US20120162440A1 (en) System and method for performing an automated set top box test
CN101409777A (en) Set-top box platform for separating digital television application software and hardware, and download method
CN101917571A (en) Method, device and set-top box for automatically searching cable television channels
CN105227988A (en) A kind of method that intelligent television is arranged according to scene display system and device
US10560730B2 (en) Electronic apparatus and operating method thereof
CN101969577A (en) Method for automatically testing set top box
EP1290899A1 (en) Apparatus for and method of testing applications
CN102298530A (en) Set top box software upgrading method and device
CN102857814A (en) Program searching method of digital television set-top box
WO2017219872A1 (en) Set top box upgrading and channel changing methods and systems
CN105187915A (en) Testing method for scrambling program playing of high-security set top box
CN104980803A (en) Autonomic middleware intelligent DVBS2 set-top-box system and processing method thereof
CN102629998A (en) Batch-upgradeable television and batch-upgradeable and starting-up booting method thereof
CN101707664B (en) Method for safe operation of set top box
CN107820127A (en) A kind of video switching method based on multipath decoding

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190201

Address after: 250100 West District, North First Floor, S06 Building, 1036 Langchao Road, Jinan High-tech Zone, Shandong Province

Patentee after: SHANDONG YUNMAN INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 250100 Ji'nan hi tech Zone No. 2877, Shandong Province

Patentee before: INSPUR GROUP Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 250100 West District, North First Floor, S06 Building, 1036 Langchao Road, Jinan High-tech Zone, Shandong Province

Patentee after: Shandong Inspur Yunman Intelligent Technology Co.,Ltd.

Address before: 250100 West District, North First Floor, S06 Building, 1036 Langchao Road, Jinan High-tech Zone, Shandong Province

Patentee before: SHANDONG YUNMAN INTELLIGENT TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 250100 West District, North First Floor, S06 Building, 1036 Langchao Road, Jinan High-tech Zone, Shandong Province

Patentee after: Shandong Inspur Ultra HD Video Industry Co.,Ltd.

Address before: 250100 West District, North First Floor, S06 Building, 1036 Langchao Road, Jinan High-tech Zone, Shandong Province

Patentee before: Shandong Inspur Yunman Intelligent Technology Co.,Ltd.