CN101345889A - Method for testing and switching interfaces of multi-television tuner - Google Patents
Method for testing and switching interfaces of multi-television tuner Download PDFInfo
- Publication number
- CN101345889A CN101345889A CNA200710128762XA CN200710128762A CN101345889A CN 101345889 A CN101345889 A CN 101345889A CN A200710128762X A CNA200710128762X A CN A200710128762XA CN 200710128762 A CN200710128762 A CN 200710128762A CN 101345889 A CN101345889 A CN 101345889A
- Authority
- CN
- China
- Prior art keywords
- tuner
- interface
- test
- equipment
- television tuner
- 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
Links
- 238000012360 testing method Methods 0.000 title claims abstract description 49
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000002093 peripheral effect Effects 0.000 claims description 4
- 238000001514 detection method Methods 0.000 claims description 2
- 230000009849 deactivation Effects 0.000 claims 4
- 238000012544 monitoring process Methods 0.000 abstract description 3
- 238000010998 test method Methods 0.000 abstract 1
- 238000005516 engineering process Methods 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种计算机输入输出(IO)接口的测试及切换方法,尤其涉及一种用于检测计算机系统中的多电视调谐器接口的测试及切换方法。The invention relates to a testing and switching method of a computer input and output (IO) interface, in particular to a testing and switching method for detecting multi-television tuner interfaces in a computer system.
背景技术 Background technique
公知技术中,针对计算机系统中的多电视调谐器(Multi TV Tuner)接口进行检测时,首先会在电视调谐器(TV Tuner)接口上全部插入电视(TV)信号线,然后测试默认的第一个TV Tuner设备接口;当测试完第一个接口后,要切换到下一个TV Tuner接口时,则需要手动打开设备管理器窗口,禁用(Disable)第一个TV Tuner设备,然后测试下一个TV Tuner设备接口;测试完成后需要再次进入设备管理器窗口,启用(Enable)第一个已被禁用的TV Tuner设备。In the known technology, when detecting the multi-TV tuner (Multi TV Tuner) interface in the computer system, at first all can insert TV (TV) signal lines on the TV tuner (TV Tuner) interface, then test the default first A TV Tuner device interface; when you want to switch to the next TV Tuner interface after testing the first interface, you need to manually open the device manager window, disable (Disable) the first TV Tuner device, and then test the next TV Tuner device interface; after the test is completed, you need to enter the device manager window again to enable (Enable) the first disabled TV Tuner device.
公知技术的这种多电视调谐器接口测试及切换方法,不但效率低,而且需要人工手动参与并现场监视,并且当两个TV Tuner设备使用了相同的驱动程序(Driver)时,禁用第一个TV Tuner设备会导致第二个TV Tuner设备也同时不可用。This multi-television tuner interface test and switching method of known technology, not only inefficiency, but also need manual participation and on-site monitoring, and when two TV Tuner equipments have used identical driver program (Driver), disable the first one The TV Tuner device will cause the second TV Tuner device to be unavailable at the same time.
因此,本领域的测试人员急需提供一种用于检测多电视调谐器接口的自动测试及切换方法以有效地解决上述公知技术中的问题。Therefore, there is an urgent need for testers in the field to provide an automatic testing and switching method for detecting multiple TV tuner interfaces so as to effectively solve the above-mentioned problems in the known technology.
发明内容 Contents of the invention
为了解决上述公知技术中的问题与缺陷,本发明的目的在于提供一种多电视调谐器接口的测试及切换方法,用于对计算机系统中的多电视调谐器(Multi TV Tuner)设备接口进行自动测试及测试中的自动切换。In order to solve the problems and defects in the above-mentioned known technologies, the object of the present invention is to provide a method for testing and switching the multi-TV tuner interface, which is used to automatically perform multi-TV tuner (Multi TV Tuner) device interfaces in computer systems. Automatic switching between tests and tests.
本发明的一种多电视调谐器接口的测试及切换方法,包含以下步骤:A method for testing and switching multiple TV tuner interfaces of the present invention comprises the following steps:
通过配置程序对系统硬件进行配置;主体调用电视调谐器接口测试程序对第一电视调谐器设备接口进行测试;将第一电视调谐器设备禁用,并自动监测禁用操作是否成功完成;当禁用操作未能成功完成时,将操作结果输出至日志(Log)档案加以记录,而后结束测试;当禁用操作成功完成后,自动切换至第二电视调谐器设备接口,并主体调用电视调谐器接口测试程序对第二电视调谐器设备接口进行测试;将第一电视调谐器设备启用,并自动监测启用操作是否成功完成;当启用操作未能成功完成时,将操作结果输出至日志(Log)档案加以记录,而后结束测试;以及当启用操作成功完成后,结束测试。Configure the system hardware through the configuration program; the main body invokes the TV tuner interface test program to test the interface of the first TV tuner device; disables the first TV tuner device, and automatically monitors whether the disable operation is successfully completed; when the disable operation fails When it can be successfully completed, the operation result is output to the log (Log) file for recording, and then the test is ended; when the disabled operation is successfully completed, it automatically switches to the second TV tuner device interface, and the main body calls the TV tuner interface test program to The second TV tuner device interface is tested; the first TV tuner device is enabled, and whether the enabling operation is automatically monitored and completed successfully; when the enabling operation is not successfully completed, the operation result is output to a log (Log) file for recording, The test is then terminated; and when the enabling operation is successfully completed, the test is terminated.
此外,本发明的多电视调谐器接口的测试及切换方法,其中还进一步包含如下步骤:In addition, the method for testing and switching multiple TV tuner interfaces of the present invention further includes the following steps:
遍历系统中周边组件互连(PCI)总线及通用串行总线(USB)上连接的所有设备;根据所连接的电视调谐器设备的类别建立此类设备的功能(Function)列表;依照需要在功能列表中选择指定电视调谐器设备的设备索引(Device Index),以对电视调谐器设备进行禁用操作;以及待执行完对另一指定电视调谐器设备接口的测试后,在功能列表中选择指定电视调谐器设备的设备索引(Device Index),以对电视调谐器设备进行启用操作。Traverse all devices connected on the Peripheral Component Interconnect (PCI) bus and Universal Serial Bus (USB) in the system; establish a function list of such devices according to the type of connected TV tuner device; Select the device index (Device Index) of the specified TV tuner device in the list to disable the TV tuner device; and after performing the test on another specified TV tuner device interface, select the specified TV in the function list Device Index of the tuner device to enable the TV tuner device.
综上所述,本发明的优点在于:In summary, the advantages of the present invention are:
本发明的多电视调谐器接口的测试及切换方法,能够简化对计算机系统中的多电视调谐器接口的测试过程,并可提供检测过程中的状态信息,实现了于软件中自动化控制多个电视调谐器设备接口之间进行测试及切换,取消了人工手动操作的参与;若多个电视调谐器设备使用了相同的驱动程序(Driver),则可根据同类设备的不同实例,进行准确的定位以进行禁用(Disable)与启用(Enable)的操作;并可以实时记录切换操作过程中的动作反馈信息至日志(Log)档案,由此方便事后跟踪其状态,提高测试及切换效率。The testing and switching method of the multi-TV tuner interface of the present invention can simplify the testing process of the multi-TV tuner interface in the computer system, and can provide state information during the detection process, and realize automatic control of multiple TVs in the software Test and switch between tuner device interfaces, canceling the participation of manual operation; if multiple TV tuner devices use the same driver (Driver), accurate positioning can be carried out according to different instances of similar devices Perform Disable and Enable operations; and record the action feedback information during the switching operation to the Log file in real time, so that it is convenient to track its status afterwards and improve the efficiency of testing and switching.
附图说明 Description of drawings
图1为本发明的一种多电视调谐器接口的测试及切换方法的方法流程图;以及Fig. 1 is the method flowchart of the testing and switching method of a kind of multi-television tuner interface of the present invention; And
图2为本发明中实现准确禁用及启用指定电视调谐器设备的方法的方法流程图。FIG. 2 is a flowchart of a method for accurately disabling and enabling a specified TV tuner device in the present invention.
其中,附图标记说明如下:Wherein, the reference signs are explained as follows:
步骤100通过配置程序对系统硬件进行配置
步骤101主体调用电视调谐器接口测试程序对第一电视调谐器设备接口进行测试
步骤102将第一电视调谐器设备禁用,并自动监测禁用操作的操作进程
步骤103判断禁用操作是否成功完成
步骤104将操作结果输出至日志(Log)档案加以记录
步骤105自动切换至第二电视调谐器设备接口,并且主体调用电视调谐器接口测试程序对第二电视调谐器设备接口进行测试
步骤106将第一电视调谐器设备启用,并自动监测启用操作的操作进程
步骤107判断启用操作是否成功完成
步骤108将操作结果输出至日志(Log)档案加以记录
步骤200遍历系统中周边组件互连(PCI)总线及通用串行总线(USB)上连接的所有设备Step 200 traverses all devices connected on the Peripheral Component Interconnect (PCI) bus and the Universal Serial Bus (USB) in the system
步骤201根据所连接的电视调谐器设备的类别建立此类设备的功能(Function)列表
步骤202依照需要在功能列表中选择指定电视调谐器设备的设备索引(Device Index),以对电视调谐器设备进行禁用操作
步骤203执行完对另一指定电视调谐器设备接口的测试后,在功能列表中选择指定电视调谐器设备的设备索引(Device Index),以对电视调谐器设备进行启用操作
具体实施方式 Detailed ways
有关本发明的特点与实际操作,现结合附图及较佳实施例详细说明如下。The characteristics and practical operation of the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments.
请参考图1,图中表示了本发明的一种多电视调谐器接口的测试及切换方法的方法流程图,如图所示,本发明的一种多电视调谐器接口的测试及切换方法,包含以下步骤:Please refer to Fig. 1, the method flowchart of the test of a kind of multi-television tuner interface of the present invention and the switching method are shown in the figure, as shown in the figure, the test of a kind of multi-television tuner interface of the present invention and the switching method, Contains the following steps:
控制端通过配置程序对系统硬件进行配置,如步骤100;控制端主体调用电视调谐器接口测试程序对第一电视调谐器设备接口进行测试,如步骤101;控制端将第一电视调谐器设备禁用,并自动监测禁用操作的操作进程,如步骤102;控制端判断禁用操作是否成功完成,如步骤103;当禁用操作未能成功完成时,控制端将操作结果输出至日志(Log)档案加以记录,如步骤104,而后结束测试;当禁用操作成功完成后,控制端自动切换至第二电视调谐器设备接口,并主体调用电视调谐器接口测试程序对第二电视调谐器设备接口进行测试,如步骤105;控制端将第一电视调谐器设备启用,并自动监测启用操作的操作进程,如步骤106;控制端判断启用操作是否成功完成,如步骤107;当启用操作未能成功完成时,控制端将操作结果输出至日志(Log)档案加以记录,如步骤108,而后结束测试;以及当启用操作成功完成后,结束测试。The control terminal configures the system hardware through the configuration program, as in
现在请参考图2,图中表示了本发明中实现准确禁用及启用指定电视调谐器设备的方法的方法流程图,如图所示,本发明的一种多电视调谐器接口的测试及切换方法在进行禁用及启用指定电视调谐器设备的操作时,进一步包含如下步骤:Please refer to Fig. 2 now, the method flow diagram of realizing the method for accurately disabling and enabling the specified TV tuner equipment in the present invention is shown in the figure, as shown in the figure, a kind of testing and switching method of multiple TV tuner interfaces of the present invention When performing the operation of disabling and enabling the specified TV tuner device, the following steps are further included:
控制端遍历系统中周边组件互连(PCI)总线及通用串行总线(USB)上连接的所有设备,如步骤200;控制端根据所连接的电视调谐器设备的类别建立此类设备的功能(Function)列表,如步骤201;控制端依照需要在功能列表中选择指定电视调谐器设备的设备索引(Device Index),以对电视调谐器设备进行禁用操作,如步骤202;以及待执行完对另一指定电视调谐器设备接口的测试后,控制端在功能列表中选择指定电视调谐器设备的设备索引(Device Index),以对电视调谐器设备进行启用操作,如步骤203。The control terminal traverses all devices connected on the peripheral component interconnection (PCI) bus and the universal serial bus (USB) in the system, as in step 200; Function) list, as in
上述步骤201中,控制端根据所连接的电视调谐器设备的类别建立此类设备的功能(Function)列表,是由控制端根据系统中电视调谐器设备的类别汇总系统硬件结构中不同控制器(controller)上所有电视调谐器设备(TVTuner Device)的列表,以建立与其对应的软件结构不同的驱动程序(Driver)所支持的各个电视调谐器设备的功能(Function)列表。In the above-mentioned
公知技术中,当测试者在设备管理器窗口中手动禁用/启用(Disable/Enalbe)某个电视调谐器设备时,实际在软件结构中是对驱动程序(dirver)层级的操作;而依据上述的本发明中实现准确禁用及启用指定电视调谐器设备的方法可知,本发明的多电视调谐器接口的测试及切换方法在需要对某一个电视调谐器设备进行禁用/启用(Disable/Enable)时,则只需通过控制单元针对功能列表中指定电视调谐器设备的设备索引(Device Index)自动执行禁用/启用的操作,既取消了人工操作的参与,并且由于其中的禁用(Disable)操作属于功能(Function)层级的操作,此时即使有另一个电视调谐器设备使用相同的驱动程序,也不会受前一个电视调谐器设备的禁用(Disable)操作的干扰。In the known technology, when the tester manually disables/enables (Disable/Enalbe) a certain TV tuner device in the device manager window, it is actually an operation on the driver (dirver) level in the software structure; and according to the above-mentioned In the present invention, the method for accurately disabling and enabling a specified TV tuner device can be known. When the method for testing and switching multiple TV tuner interfaces of the present invention needs to disable/enable (Disable/Enable) a certain TV tuner device, Then it is only necessary to automatically execute the disabling/enabling operation for the device index (Device Index) of the TV tuner device specified in the function list through the control unit, which not only cancels the participation of manual operation, but also because the disabling (Disable) operation belongs to the function ( Function) level operation, even if there is another TV tuner device using the same driver, it will not be interfered by the Disable operation of the previous TV tuner device.
虽然本发明以上述的较佳实施方式揭示如上,然而其并非用以限定本发明。本领域的技术人员在不脱离本发明的权利要求书所揭示的范围和精神的情况下,所做的变动与润饰,均包括本发明的保护范围之内。关于本发明所界定的保护范围请参考所附的权利要求书。Although the present invention is disclosed above with the above-mentioned preferred embodiments, they are not intended to limit the present invention. Changes and modifications made by those skilled in the art without departing from the scope and spirit disclosed in the claims of the present invention are included in the protection scope of the present invention. For the scope of protection defined by the present invention, please refer to the appended claims.
Claims (4)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710128762A CN100591144C (en) | 2007-07-12 | 2007-07-12 | Method for testing and switching interfaces of multi-television tuner |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200710128762A CN100591144C (en) | 2007-07-12 | 2007-07-12 | Method for testing and switching interfaces of multi-television tuner |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101345889A true CN101345889A (en) | 2009-01-14 |
CN100591144C CN100591144C (en) | 2010-02-17 |
Family
ID=40247757
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200710128762A Expired - Fee Related CN100591144C (en) | 2007-07-12 | 2007-07-12 | Method for testing and switching interfaces of multi-television tuner |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100591144C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104506851A (en) * | 2014-12-23 | 2015-04-08 | 大唐微电子技术有限公司 | DTV-CI (Digital Television-Common Interface) testing method and system |
CN106411422A (en) * | 2016-12-07 | 2017-02-15 | 中国电子科技集团公司第五十四研究所 | Automatic testing method for splitting and combining device |
CN106803954A (en) * | 2017-02-09 | 2017-06-06 | 珠海迈科智能科技股份有限公司 | Detection method, the apparatus and system of many tuner Set Top Boxes |
CN113671360A (en) * | 2020-05-13 | 2021-11-19 | 圣邦微电子(北京)股份有限公司 | I2C interface device testing method and device and I2C interface device |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6766100B1 (en) * | 2000-10-19 | 2004-07-20 | Ati International Srl | Method and apparatus for multi-TV tuner display of video information |
CN1251445C (en) * | 2002-05-14 | 2006-04-12 | 华为技术有限公司 | PCI bus expansion method and detecting device for PCI card batch detection |
CN1870760B (en) * | 2005-05-29 | 2010-05-26 | 鸿富锦精密工业(深圳)有限公司 | TV card function test system and method |
JP2007110277A (en) * | 2005-10-12 | 2007-04-26 | Funai Electric Co Ltd | Television tuner automatic preset measurement testing device |
CN1889697B (en) * | 2006-04-04 | 2010-05-12 | 天津市德力电子仪器有限公司 | Method for realizing quantitative measurement in television high frequency electronic tuner tester |
-
2007
- 2007-07-12 CN CN200710128762A patent/CN100591144C/en not_active Expired - Fee Related
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104506851A (en) * | 2014-12-23 | 2015-04-08 | 大唐微电子技术有限公司 | DTV-CI (Digital Television-Common Interface) testing method and system |
CN106411422A (en) * | 2016-12-07 | 2017-02-15 | 中国电子科技集团公司第五十四研究所 | Automatic testing method for splitting and combining device |
CN106803954A (en) * | 2017-02-09 | 2017-06-06 | 珠海迈科智能科技股份有限公司 | Detection method, the apparatus and system of many tuner Set Top Boxes |
CN113671360A (en) * | 2020-05-13 | 2021-11-19 | 圣邦微电子(北京)股份有限公司 | I2C interface device testing method and device and I2C interface device |
Also Published As
Publication number | Publication date |
---|---|
CN100591144C (en) | 2010-02-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103149526B (en) | PCBA board test macro and method | |
CN102945652B (en) | Method and system for solving abnormal display of display screen | |
US6971049B2 (en) | Method and apparatus for detecting and isolating failures in equipment connected to a data bus | |
CN103686813B (en) | Device and method for testing automatic switching stability of wireless AP (access point) channel | |
CN108983082A (en) | Matrix switch device and system | |
CN101320071A (en) | System and method for testing at least one device with a connection interface | |
CN104483959A (en) | Fault simulation and test system | |
US20090036115A1 (en) | System and method for testing gsm modules | |
CN100591144C (en) | Method for testing and switching interfaces of multi-television tuner | |
CN101778007B (en) | System and method for automatically testing I/O pin of CAN bus control module | |
CN108874606A (en) | A kind of control device and control method of switch BIOS AccessPort function | |
CN105022688A (en) | Device test method and apparatus | |
CN100538655C (en) | testing device and testing method of electronic device | |
CN112270152A (en) | Chip IO pin verification system and method | |
US10613963B2 (en) | Intelligent packet analyzer circuits, systems, and methods | |
CN109557453B (en) | A kind of multi-master control chip identification processing method and system | |
CN107677954A (en) | A kind of automobile instrument digital quantity parallel detecting method and system | |
US10061673B2 (en) | Testing system using different operating systems to test electronic products | |
CN112737890B (en) | Method and system for preventing network tester from being interrupted due to network oscillation | |
CN213634203U (en) | Advanced main control unit test equipment | |
CN107391293A (en) | A kind of contact panel exception restorative procedure, mobile terminal and storage device | |
WO2020000410A1 (en) | Multi-station concurrent transmission testing method, control station, and multi-station concurrent transmission testing device | |
CN103378902A (en) | Main-and-standby switching method of optical line terminal system and optical line terminal system | |
CN114690021B (en) | Driving signal detection system and method | |
CN115361306B (en) | Port state reporting method and switch |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20191212 Address after: Room 103, building 1, Nanhu Yayuan, Yangzhuang street, Lieshan District, Huaibei City, Anhui Province Patentee after: Huaibei Shanda Intellectual Property Operation Co., Ltd Address before: Taipei City, Taiwan, China Patentee before: Yingda Co., Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20100217 Termination date: 20190712 |