CN101895784A - Integrated test and verification platform for digital television - Google Patents
Integrated test and verification platform for digital television Download PDFInfo
- Publication number
- CN101895784A CN101895784A CN 201010215088 CN201010215088A CN101895784A CN 101895784 A CN101895784 A CN 101895784A CN 201010215088 CN201010215088 CN 201010215088 CN 201010215088 A CN201010215088 A CN 201010215088A CN 101895784 A CN101895784 A CN 101895784A
- Authority
- CN
- China
- Prior art keywords
- test
- tester
- module
- digital television
- verification platform
- 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
- 238000012360 testing method Methods 0.000 title claims abstract description 88
- 238000012795 verification Methods 0.000 title claims abstract description 23
- 238000000034 method Methods 0.000 claims abstract description 13
- 238000005516 engineering process Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 claims description 4
- 238000004891 communication Methods 0.000 claims description 3
- 230000002452 interceptive effect Effects 0.000 claims description 3
- 230000007246 mechanism Effects 0.000 claims description 3
- 239000011521 glass Substances 0.000 claims description 2
- 230000010354 integration Effects 0.000 claims description 2
- 238000010998 test method Methods 0.000 claims description 2
- 238000012546 transfer Methods 0.000 claims description 2
- 238000011161 development Methods 0.000 abstract description 5
- 230000004927 fusion Effects 0.000 abstract 1
- 230000005284 excitation Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 3
- 230000004044 response Effects 0.000 description 3
- 230000000875 corresponding effect Effects 0.000 description 2
- 238000002955 isolation Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012512 characterization method Methods 0.000 description 1
- 230000002596 correlated effect Effects 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000008595 infiltration Effects 0.000 description 1
- 238000001764 infiltration Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000013404 process transfer Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- GOLXNESZZPUPJE-UHFFFAOYSA-N spiromesifen Chemical compound CC1=CC(C)=CC(C)=C1C(C(O1)=O)=C(OC(=O)CC(C)(C)C)C11CCCC1 GOLXNESZZPUPJE-UHFFFAOYSA-N 0.000 description 1
Images
Landscapes
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
The embodiment of the invention discloses an integrated test and verification platform for a digital television. The platform comprises a test foreground and a test background, wherein the test foreground comprises a browser resolving module, a network module, a graphical user interface (GUI) module, an intelligent card module, a video module and an input method module for inputting a test instrument code into a unified modeling language (UML) module. Due to the implementation of the platform, test and verification requirements under 3C fusion are met and the industrial development of the digital television is accelerated.
Description
Technical field
The present invention relates to digital home technical field, be specifically related to a kind of integrated test and verification platform for digital television.
Background technology
Along with digital product and information service in constantly infiltration and merging day by day of family, digital home has become new consumption hotspot, and develops rapidly and become an industry huge, that the industry relevance is strong.For catching digital home's opportunity to develop, countries in the world government and enterprise take measures one after another, promote digital home's industry development.Arrive the epoch in the digital home that 3C merges, the industry relevance is strong, huge; for adapting to the outside trend of China's economic industrialization, informationization, urbanization, the marketization and countryization; catch novel information technology and product; and the present information service trade incorporates the good opportunity of family, promotes China digital home and Digital Television industry to scale, applicationization, commercial benign development.
Digital Television is an important component part of digital home.Be not only the display performance of Digital Television, run on the software on the Digital Television, the overall performance that system also affects Digital Television.Thereby dependence test checking becoming needs such as the performance of Digital Television, integrated software.Under these circumstances,, merge demand and at present Digital Television integrated test and verification aspect is also satisfied 3C for the related software and the hardware of better testing authentication digital TV platform, can not convenient industrialized development demand.
Summary of the invention
The present invention is directed to above deficiency, the embodiment of the invention has proposed a kind of integrated test and verification platform for digital television, and tester (instrumentation) code is injected controllability, observability and the testability of uml model realization with elevator system.Tester can be applicable in exploitation and the targeted environment, and can carry out the interactive system debugging in the model level.
The embodiment of the invention has proposed a kind of integrated test and verification platform for digital television, comprise: test foreground, test background, wherein: the test foreground comprises the browser resolves module, mixed-media network modules mixed-media, the GUI module, smart card module, video module, input method module is used for that the tester code is injected uml model and realizes.
Described tester is applied in exploitation and the targeted environment, and carries out the interactive system debugging in the model level, and under batch mode, tester is the basis of data acquisition, initialization and test automation.
Use test supports that the technology of instrument is a kind of " glass casket " method of testing in application code; Can be by isolate strategy based on the mistake of tester with the knowledge use of uml model in integration testing.
The application structure of tester is divided into two parts, comprises dynamic authentication user interface DVUI and tester Agent, and wherein: DVUI is responsible for user's display message and accepts user command, can criticize interface by automation and replace; The tester Agent is the interface between application system and the DVUI, and the communication mechanism between described tester Agent and DVUI uses ICP/IP protocol or RS-232 agreement; The tester Agent passes through the tester code sink information that generated and communicates by letter, link to each other with tester, to be provided with and to obtain instance data, and support DVUI is about the notice of interruption and trace point, also link to each other, provide and carry out control, system incentive, the point of interruption and step function with event handling; Data test instrument code adds application system in transfer process, in order to monitor and to upgrade quantity, property value, event queue quantity, event data item value and the service parameter of object instance.
By the platform that the embodiment of the invention provides, satisfied the testing authentication demand under 3C merges, accelerated the industry development of this piece of Digital Television.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, to do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the foreground structural representation of the integrated test and verification platform for digital television in the embodiment of the invention;
Fig. 2 is the foreground flow chart of the integrated test and verification platform for digital television in the embodiment of the invention;
Fig. 3 is the integrated test and verification platform for digital television test flow chart in the embodiment of the invention;
Fig. 4 be integrated test and verification platform for digital television in the embodiment of the invention from individual domain to the system testing flow chart.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
The embodiment of the invention provides a kind of integrated test and verification platform for digital television, below is elaborated respectively.
As shown in Figure 1, a kind of foreground structure of integrated test and verification platform for digital television comprises: test foreground, test background, wherein test the foreground and comprise the browser resolves module, mixed-media network modules mixed-media, the GUI module, smart card module, video module, input method module etc. are also injected uml model with tester (instrumentation) code and are realized.
As shown in Figure 2, a kind of foreground flow process of integrated test and verification platform for digital television is
1. system's basic parameter obtains
In digital television system, comprise various modules, as the browser resolves module, mixed-media network modules mixed-media, GUI module, smart card module, video module, input method module or the like.Test environment between each module is different.Thereby need go to obtain in advance system parameters, for module testing is thereafter got ready, and by realizing with lower interface:
char*getSystemProperty(char*para);
By setting concrete system parameters, thereby obtain the related system property value.The parameter of setting is exemplified below:
os.name Operating?system?name
os.arch Operating?system?architecture
os.version Operating?system?version
file.separator File?separator(″/″on?UNIX)
path.separator Path?separator(″:″on?UNIX)
line.separator Line?separator(″\n″on?UNIX)
user.name User′s?account?name
user.home User′s?home?directory
Return parameters is the respective symbols string value of system property.
2. test module is selected
Because the otherness between each module is bigger, thereby the difficulty that all modules are united is bigger, it is relatively reasonable that each module makes a distinction.Selected the passing through of test module realized with lower interface:
int?setTestModule(int?module);
Set the module that needs test by predefined each module parameter value, whether the return parameters characterization result is correct.
3. test parameter is selected
When the platform particular module is tested, set concrete parameter and carry out associative operation.And the parameter of module should be pre-set.From the data input on foreground, and be translated into back-end data.
int?setTestPara(int?module,char*para);
By the corresponding module of module being carried out the setting of the corresponding parameter of para, the test of being correlated with.
4. test result analysis shows
The foreground is received the result that background test returns carry out analyzing and processing, show, be convenient to the tester and understand on the foreground.
As shown in Figure 3, a kind of step of execution of integrated test and verification platform for digital television test is as follows:
This part will be set forth in the application use test instrument and make test and the simpler distinct methods of Fault Isolation.
1. initialization
Can the use test instrument system be set to known initial condition.Generate and initialization class example with Agent, test cases can directly be provided with state.So just needn't use a list entries to make it reach the state that certain is difficult to arrive, thereby simplify the test under this state.Instance data is crossed the communication channel serial and is inputed to Agent, generates new example here and with its initialization.
The warm reset function also can make system's zero clearing, reinitialize with other initial condition, or moves other test cases.
2. excitation
Excitation is applied to system by the tester Agent from DVUI.Incident can be sent to object instance by the DVUI initialization and by tester Agent and event queue, in addition, also will derive an encoding scheme of incident and data.By some extra codings, the territory service can also be called as system incentive.This mechanism and CORBA and RPC used parameter coding when leap process transfer function is similar.A great problem in the embedded system is the sequential of incident or the fault recurrence that the position preface causes.By the position preface that control event is transmitted, can test and reappear the ordering of action in formation.Certainly, except that observed event, the interface of event queue also will allow the rearrangement of incident.
3. data acquisition
Data acquisition interface can be used for investigating before the test cases and state afterwards.This is for determining that the end-state (this is evaluation test result's a part) with verification system is particularly useful.Another advantage of tester is can catch real target excitation and reappear in the dynamic authentication environment.If certain part of tester is stayed in the final products, it just can be as " black box " register system state and the input on the aircraft.
4. imitation
For independent effectively test domain in dynamic authentication process, must understand the interface at edge, territory fully.Test cases at the territory definition can use the initial excitation of this interface as the territory usually.Test cases and excited data obviously are special-purpose, but its use is the testing tool that is provided by tester.
Fig. 3 shows a test driver, and DVUI or other program that links to each other with the tester Agent can be imitated the targeted environment in territory.Class example as a test part carries out initialization by driver.Test driver applies test and excitation and catches response, also can be by catching service call and alternative return value is imitated the response in other territory.From the angle in tested territory, calling is a kind of output, and the response energy of test driver provides more inputs for tested territory.Test driver utilizes the tester in the tested territory to catch and alternate message.
As shown in Figure 4, a kind of integrated test and verification platform for digital television from the individual domain to the system testing is:
This testing scheme can expand to the set in a plurality of territories from individual domain, and until system testing (Fig. 4).Utilize test driver to imitate the environment in tested territory, the territory is at first by isolation test separately.Then, the set by territory service combines a plurality of territories to be tested, and test driver still imitates the environment in tested territory.The hypothesis that connects each other with the form of service call between the territory has obtained checking now.To interface and data flow between the test border sufficient understanding should be arranged.Owing to can be sure of seldom to go wrong in the level domain, can in these territories, forbid test and support instrument, with number and the raising throughput that reduces test point.In case pinpoint the problems, can reinstate test support again, to collect the more multidata of indivedual test cases.
Need to prove, contents such as the information interaction between said apparatus and intrasystem each unit, implementation since with the inventive method embodiment based on same design, particular content can repeat no more referring to the narration among the inventive method embodiment herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to finish by program, this program can be stored in the computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
More than to integrated test and verification platform for digital television that the embodiment of the invention provided, be described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (4)
1. integrated test and verification platform for digital television, it is characterized in that, comprise: test foreground, test background, wherein: the test foreground comprises the browser resolves module, mixed-media network modules mixed-media, GUI module, smart card module, video module, input method module is used for that the tester code is injected uml model and realizes.
2. integrated test and verification platform for digital television according to claim 1, it is characterized in that, described tester is applied in exploitation and the targeted environment, and carry out interactive system in the model level and debug, under batch mode, tester is the basis of data acquisition, initialization and test automation.
3. integrated test and verification platform for digital television according to claim 1 is characterized in that, use test supports that the technology of instrument is a kind of " glass casket " method of testing in application code; Can be by isolate strategy based on the mistake of tester with the knowledge use of uml model in integration testing.
4. integrated test and verification platform for digital television according to claim 1, it is characterized in that: the application structure of tester is divided into two parts, comprise dynamic authentication user interface DVUI and tester Agent, wherein: DVUI is responsible for user's display message and accepts user command, can criticize interface by automation and replace; The tester Agent is the interface between application system and the DVUI, and the communication mechanism between described tester Agent and DVUI uses ICP/IP protocol or RS-232 agreement; The tester Agent passes through the tester code sink information that generated and communicates by letter, link to each other with tester, to be provided with and to obtain instance data, and support DVUI is about the notice of interruption and trace point, also link to each other, provide and carry out control, system incentive, the point of interruption and step function with event handling; Data test instrument code adds application system in transfer process, in order to monitor and to upgrade quantity, property value, event queue quantity, event data item value and the service parameter of object instance.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010215088 CN101895784A (en) | 2010-06-30 | 2010-06-30 | Integrated test and verification platform for digital television |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201010215088 CN101895784A (en) | 2010-06-30 | 2010-06-30 | Integrated test and verification platform for digital television |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101895784A true CN101895784A (en) | 2010-11-24 |
Family
ID=43104823
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201010215088 Pending CN101895784A (en) | 2010-06-30 | 2010-06-30 | Integrated test and verification platform for digital television |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101895784A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231843A (en) * | 2011-06-15 | 2011-11-02 | 中山大学 | Verification platform for digital television integration test |
CN104391787A (en) * | 2014-11-13 | 2015-03-04 | 华为软件技术有限公司 | Monitoring method aiming at target method as well as thermal cutting-in method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201066549Y (en) * | 2007-07-24 | 2008-05-28 | 桂林电子科技大学 | Experimental teaching platform for testing system of analog and digital TV signal |
CN101729923A (en) * | 2009-08-28 | 2010-06-09 | 重庆重邮东电通信技术有限公司 | Handheld web television quality tester and manufacturing method thereof |
-
2010
- 2010-06-30 CN CN 201010215088 patent/CN101895784A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201066549Y (en) * | 2007-07-24 | 2008-05-28 | 桂林电子科技大学 | Experimental teaching platform for testing system of analog and digital TV signal |
CN101729923A (en) * | 2009-08-28 | 2010-06-09 | 重庆重邮东电通信技术有限公司 | Handheld web television quality tester and manufacturing method thereof |
Non-Patent Citations (2)
Title |
---|
《小型微型计算机系统》 20021031 舒国丽,金韬,任秀丽 网络电视机顶盒GUI系统的设计与实现 1270-1273 第3卷, 第10期 2 * |
《电子工程专辑www.eet-china.com》 20010513 Gregory Eakman 满足高质量嵌入式系统开发的集成测试技术 , 2 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102231843A (en) * | 2011-06-15 | 2011-11-02 | 中山大学 | Verification platform for digital television integration test |
CN104391787A (en) * | 2014-11-13 | 2015-03-04 | 华为软件技术有限公司 | Monitoring method aiming at target method as well as thermal cutting-in method and device |
CN104391787B (en) * | 2014-11-13 | 2017-04-26 | 华为软件技术有限公司 | Monitoring method aiming at target method as well as thermal cutting-in method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Bringmann et al. | Model-based testing of automotive systems | |
CN102141962B (en) | Safety distributed test framework system and test method thereof | |
CN103412817B (en) | Automatic test script Off Line Debugging Method and system | |
US11416377B2 (en) | Automated application testing system | |
US20190340512A1 (en) | Analytics for an automated application testing platform | |
US11042472B2 (en) | Authoring automated test suites using artificial intelligence | |
CN105787364B (en) | Automatic testing method, device and system for tasks | |
CN105446868B (en) | System compatibility test method, testing case management and relevant apparatus | |
CN103927253A (en) | Multiple browser compatibility testing method and system | |
CN105303112A (en) | Component calling bug detection method and apparatus | |
CN102375778A (en) | Method and system for automatically testing digital signal processor (DSP) | |
CN102968371B (en) | The method of test JAVA API unit component and device | |
CN106209503B (en) | RPC interface test method and system | |
Dias et al. | Testing and deployment patterns for the internet-of-things | |
CN105117346A (en) | Automatic testing method and system for distributed system of virtualization platform | |
CN102591780A (en) | Device driver software test method and test system | |
CN102707712B (en) | Electronic equipment fault diagnosis method and system | |
Zhang et al. | Environmental modeling for automated cloud application testing | |
CN109815120A (en) | Test method, device, computer equipment and the storage medium of application | |
CN106445810B (en) | A kind of test method and system of interactive software and equipment compatibility | |
Walker et al. | A simulation environment for ITER PCS development | |
Beilharz et al. | Continuously testing distributed iot systems: An overview of the state of the art | |
CN114430385B (en) | Network equipment detection method and device and electronic equipment | |
CN117370203B (en) | Automatic test method, system, electronic equipment and storage medium | |
CN101895784A (en) | Integrated test and verification platform for digital television |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20101124 |