CN105760304B - The method of automatic detection TV tuning - Google Patents

The method of automatic detection TV tuning Download PDF

Info

Publication number
CN105760304B
CN105760304B CN201610128843.9A CN201610128843A CN105760304B CN 105760304 B CN105760304 B CN 105760304B CN 201610128843 A CN201610128843 A CN 201610128843A CN 105760304 B CN105760304 B CN 105760304B
Authority
CN
China
Prior art keywords
smart television
ccf layer
calling
android smart
test
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.)
Active
Application number
CN201610128843.9A
Other languages
Chinese (zh)
Other versions
CN105760304A (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.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric 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 Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201610128843.9A priority Critical patent/CN105760304B/en
Publication of CN105760304A publication Critical patent/CN105760304A/en
Application granted granted Critical
Publication of CN105760304B publication Critical patent/CN105760304B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • G06F11/3684Test management for test design, e.g. generating new test cases
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/004Diagnosis, testing or measuring for television systems or their details for digital television systems

Abstract

The present invention proposes a kind of method of automatic test TV tuning performance.After smart television booting, zapping operation is executed by automatic test script after tuning, often change a platform, pass through preset screenshotss script sectional drawing, and with preset standard measuring signal picture one by one compared with similarity, with this detect intelligent television system whether occur leak platform, search repeating signal, interference signal phenomenon.If there is problem above, test script will be automatically stopped operation, and can automatically generate test report.Developer can be according to the running log tuning positioning problems of Android smart television.

Description

The method of automatic detection TV tuning
Technical field
The present invention relates to ntelligent television technolog fields, and in particular to a kind of method of automatic detection TV tuning.
Background technology
Either traditional tv or smart television, it is all an essential function to receive TV signal, in TV In the test of exploitation, the test of tuning performance is essential.Traditional tuning test performance method, usually using manually will be electric Depending on the program searched, contrast test signal table one by one, to check tuning whether there is or not leakage platform or search repeating signal, interference Signal.The method of the manual test tuning performance generally used at present, inefficiency, and labor intensive.
Invention content
The present invention overcomes use the method for manual test tuning performance in the prior art there are inefficiency and expend people The deficiency of power provides a kind of automatic test TV tuning performance, and automatically generates the side of the dynamic detection TV tuning of test report Method.
To achieve the above object, the present invention uses following technical scheme:
A kind of method of automatic test TV tuning performance, it includes the following steps:
Step 1, test environment initializes;
1.1, ccf layer is serviced by calling serial interface management module to open adb;
1.2, ccf layer is by calling equipment link block to be connected to Android smart television;
1.3, ccf layer will be on bottom screenshotss tool transport to Android smart television by executing abd orders;
1.4, ccf layer is by calling serial interface management module to obtain highest permission and executing pm orders in Android smart television Upper installing bottom layer screenshotss tool;
1.6, ccf layer is serviced by calling Appium service management modules to start appium;
1.7, ccf layer is by calling journal module to start the crawl to Android smart television running log;
Step 2, self-defined test;
2.1, ccf layer executes automatic channel search operation, tuning by calling Appium test libraries to operate Android smart television After, then execute automatic zapping operation;
2.2, ccf layer is by calling serial interface management module to start the picture that bottom screenshotss tool shows Android smart television Face screenshotss;
2.3, the picture intercepted in step 2.2 is transmitted to the ends PC by ccf layer by executing adb orders;
2.4, ccf layer is by calling picture similarity comparison module by the screen printed image shown to Android smart television Picture is compared with preset standard measuring signal picture, if similarity close to thinking that the program source of Android smart television is searched if 1 Platform is normal;Simultaneously in order to verify validity, bottom screenshotss tool screenshotss and the number of comparison can be increased, if in number of comparisons Interior similarity is close to 1, then it is assumed that the program source tuning of Android smart television is normal;
Step 3, test environment is cleared up;
3.1, ccf layer is serviced by calling Appium service management modules to stop appium;
3.2, ccf layer is by calling journal module module to stop the crawl to Android smart television running log.
Further technical solution be further include detected in step 2 Android smart television occur leakage platform, weight platform and When interference signal, just stop test, automatic the step of exporting test report.
Compared with prior art, the beneficial effects of the invention are as follows:
The present invention proposes a kind of method of automatic test TV tuning performance.After smart television booting, tuning finishes Afterwards by automatic test script execute zapping operation, often change a platform, by preset screenshotss script sectional drawing, and with it is preset Standard measuring signal picture compares similarity one by one, and whether detect intelligent television system with this occurs leaking platform, searches repetition letter Number, interference signal phenomenon.If there is problem above, test script will be automatically stopped operation, and can automatically generate test report It accuses.Developer can be according to the running log tuning positioning problems of Android smart television.
The present invention tests TV tuning performance automatically, and automatically generates test report, achievees the purpose that test automatically, uses Get up simple and convenient, it is adaptable
Description of the drawings
Fig. 1 is the flow diagram of the method for the automatic detection TV tuning of an embodiment of the present invention.
Specific implementation mode
The present invention is further elaborated below in conjunction with the accompanying drawings.
Test platform in the present embodiment contains with lower module:
The method of automatic test TV tuning performance as shown in Figure 1, it includes the following steps:
Step 1, test environment initializes;
1.1, ccf layer is serviced by calling serial interface management module to open adb;
1.2, ccf layer is by calling equipment link block to be connected to Android smart television;
1.3, ccf layer will be on bottom screenshotss tool transport to Android smart television by executing abd orders;
1.4, ccf layer is by calling serial interface management module to obtain highest permission and executing pm orders in Android smart television Upper installing bottom layer screenshotss tool;
1.6, ccf layer is serviced by calling Appium service management modules to start appium;
1.7, ccf layer is by calling journal module to start the crawl to Android smart television running log;
Step 2, self-defined test;
2.1, ccf layer executes automatic channel search operation, tuning by calling Appium test libraries to operate Android smart television After, then execute automatic zapping operation;
2.2, ccf layer is by calling serial interface management module to start the picture that bottom screenshotss tool shows Android smart television Face screenshotss;
2.3, the picture intercepted in step 2.2 is transmitted to the ends PC by ccf layer by executing adb orders;
2.4, ccf layer is by calling picture similarity comparison module by the screen printed image shown to Android smart television Picture is compared with preset standard measuring signal picture, if similarity close to thinking that the program source of Android smart television is searched if 1 Platform is normal;Simultaneously in order to verify validity, bottom screenshotss tool screenshotss and the number of comparison can be increased, if in number of comparisons Interior similarity is close to 1, then it is assumed that the program source tuning of Android smart television is normal;
Step 3, test environment is cleared up;
3.1, ccf layer is serviced by calling Appium service management modules to stop appium;
3.2, ccf layer is by calling journal module module to stop the crawl to Android smart television running log.
According to one embodiment of present invention, further include detecting that leakage platform, weight platform occurs in Android smart television in step 2 And when interference signal, just stop test, automatic the step of exporting test report.
The essence of the present invention is described in detail in the above specific implementation mode, but can not be to protection scope of the present invention It is limited, it should be apparent that, under the inspiration of the present invention, those of ordinary skill in the art can also carry out many improvement And modification, it should be noted that these improvement and modification are all fallen within the claims of the present invention.

Claims (1)

1. a kind of method of automatic test TV tuning performance, which is characterized in that it includes the following steps:
Step 1, test environment initializes;
1.1, ccf layer is serviced by calling serial interface management module to open adb;
1.2, ccf layer is by calling equipment link block to be connected to Android smart television;
1.3, ccf layer will be on bottom screenshotss tool transport to Android smart television by executing abd orders;
1.4, ccf layer obtains highest permission by calling serial interface management module and executes pm orders pacifies on Android smart television Fill bottom screenshotss tool;
1.6 ccf layer is serviced by calling Appium service management modules to start appium;
1.7, ccf layer is by calling journal module to start the crawl to Android smart television running log;
Step 2, self-defined test;
2.1, ccf layer executes automatic channel search operation, tuning finishes by calling Appium test libraries to operate Android smart television Afterwards, then the operation of automatic zapping is executed;When detecting that leakage platform, weight platform and interference signal occurs in Android smart television, just stop test, Automatic output test report;
2.2, ccf layer cuts the picture that Android smart television is shown by calling serial interface management module to start bottom screenshotss tool Screen;
2.3, the picture intercepted in step 2.2 is transmitted to the ends PC by ccf layer by executing adb orders;
2.4, ccf layer is by calling picture similarity comparison module by the picture of the screen printed image shown to Android smart television It is compared with preset standard measuring signal picture, if similarity close to thinking the program source tuning of Android smart television just if 1 Often;Simultaneously in order to verify validity, bottom screenshotss tool screenshotss and the number of comparison can be increased, if the phase in number of comparisons Like degree close to 1, then it is assumed that the program source tuning of Android smart television is normal;
Step 3, test environment is cleared up;
3.1, ccf layer is serviced by calling Appium service management modules to stop appium;
3.2, ccf layer is by calling journal module module to stop the crawl to Android smart television running log.
CN201610128843.9A 2016-03-07 2016-03-07 The method of automatic detection TV tuning Active CN105760304B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610128843.9A CN105760304B (en) 2016-03-07 2016-03-07 The method of automatic detection TV tuning

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610128843.9A CN105760304B (en) 2016-03-07 2016-03-07 The method of automatic detection TV tuning

Publications (2)

Publication Number Publication Date
CN105760304A CN105760304A (en) 2016-07-13
CN105760304B true CN105760304B (en) 2018-08-14

Family

ID=56331796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610128843.9A Active CN105760304B (en) 2016-03-07 2016-03-07 The method of automatic detection TV tuning

Country Status (1)

Country Link
CN (1) CN105760304B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109936765B (en) * 2019-04-16 2021-10-22 珠海迈越信息技术有限公司 Method for automatically analyzing satellite program information of set top box
CN110267030A (en) * 2019-05-10 2019-09-20 深圳康佳电子科技有限公司 TV program search automatic test approach, system and storage medium
CN110460906A (en) * 2019-08-27 2019-11-15 晶晨半导体(上海)股份有限公司 A kind of data test method
CN110597679A (en) * 2019-09-20 2019-12-20 四川长虹电器股份有限公司 Shell script-based channel changing pressure testing system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102289663A (en) * 2011-07-29 2011-12-21 四川长虹电器股份有限公司 Method for identifying station caption based on color and shape
CN102695075A (en) * 2011-03-21 2012-09-26 夏普株式会社 Method, equipment and system for detecting display screen without video signal
CN103634652A (en) * 2013-11-06 2014-03-12 小米科技有限责任公司 Station caption identification method, station caption identification device, TV (Television) and station caption identification system
CN103634683A (en) * 2013-11-29 2014-03-12 乐视致新电子科技(天津)有限公司 Screen capturing method and device for intelligent televisions

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008019334A2 (en) * 2006-08-04 2008-02-14 Tegic Communications, Inc. Remote control in a mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102695075A (en) * 2011-03-21 2012-09-26 夏普株式会社 Method, equipment and system for detecting display screen without video signal
CN102289663A (en) * 2011-07-29 2011-12-21 四川长虹电器股份有限公司 Method for identifying station caption based on color and shape
CN103634652A (en) * 2013-11-06 2014-03-12 小米科技有限责任公司 Station caption identification method, station caption identification device, TV (Television) and station caption identification system
CN103634683A (en) * 2013-11-29 2014-03-12 乐视致新电子科技(天津)有限公司 Screen capturing method and device for intelligent televisions

Also Published As

Publication number Publication date
CN105760304A (en) 2016-07-13

Similar Documents

Publication Publication Date Title
CN105760304B (en) The method of automatic detection TV tuning
KR102021920B1 (en) System and method for synchronized triggering of test equipment for testing mimo transceivers
CN106528430B (en) Application program detection method and device and electronic equipment
US9733150B2 (en) Water resistance inspection system and inspection method
CN105447388B (en) A kind of Android malicious code detection system based on weight and method
EP3992426A3 (en) Methods of servicing equipment
CN105516718A (en) Method for automatically detecting black screen of android intelligent television
CN104535953A (en) Automatic detection system and method of liquid crystal display screen of intelligent ammeter
CN109788273A (en) A kind of failure self-detection method of satellite TV system
CN103926040B (en) A kind of test fixture for detecting water resistance
US10291876B2 (en) Method of power signal detection for set top box devices
CN108089110A (en) Mainboard method for testing reliability and system
CN110098876A (en) Signal strength test system and its test method
CN105828361A (en) Method and device for analyzing spurious emission interference
CN106404313A (en) Method for testing IPX7 performance of waterproof device and waterproof device
CN115664543A (en) Wireless router WiFi performance test system and method
CN109587473A (en) A kind of self detection device of the failure of satellite TV system
CN106288182B (en) A kind of compressor monitoring method, device and air-conditioning
CN103947148B (en) Discrete transmission detecting device and method
CN207440295U (en) A kind of detecting system of interference free performance
CN105677520A (en) CPU serial voltage recognition signal test device and method
CN107831509A (en) A kind of detecting system of interference free performance
CN203720346U (en) Test system of distance test equipment
CN218240363U (en) Wet subassembly and system for electric leakage detection
CN108956650A (en) Detector gain method of automatic configuration, device, system and storage medium

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