CN109151462A - The method of Android intelligent television booting video pressure test - Google Patents

The method of Android intelligent television booting video pressure test Download PDF

Info

Publication number
CN109151462A
CN109151462A CN201811302366.9A CN201811302366A CN109151462A CN 109151462 A CN109151462 A CN 109151462A CN 201811302366 A CN201811302366 A CN 201811302366A CN 109151462 A CN109151462 A CN 109151462A
Authority
CN
China
Prior art keywords
android
intelligent television
booting
video
shell script
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
CN201811302366.9A
Other languages
Chinese (zh)
Other versions
CN109151462B (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 CN201811302366.9A priority Critical patent/CN109151462B/en
Publication of CN109151462A publication Critical patent/CN109151462A/en
Application granted granted Critical
Publication of CN109151462B publication Critical patent/CN109151462B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • H04N17/04Diagnosis, testing or measuring for television systems or their details for receivers
    • 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

Abstract

A kind of method that the present invention proposes Android intelligent television booting video pressure test, belongs to Android intelligent television field.The present invention solves the test mode low efficiency of current Android intelligent television booting video pressure, the problem of lost labor's cost, its drip irrigation device are as follows: when booting up video measurement, lead to serial ports tool to run shell script, android system booting seeding is detected with shell script, the primary decoder process of android system and obtain video playing after attribute value come determine this time be switched on video display process in either with or without occur do not finish playing the phenomenon that, the video that such as occurs being switched on do not finish playing phenomenon by when automatic packaging log and record time of occurrence, to improve testing efficiency.

Description

The method of Android intelligent television booting video pressure test
Technical field
The present invention relates to Android intelligent television fields, in particular to Android intelligent television booting video pressure test Technology.
Background technique
The function that Android TV carries at present is more and more.And the video that is switched on as TV is used every time with user when The scene watched for the first time, if occurred in this process, system starting fails or implantation video playing is imperfect, this The usage experience of user can be seriously affected, the popularization video that competitor launches thinks effect to be achieved also and will receive influence.However it is existing At us, there are no good test methods for this problem, and existing frequently-used is pressed by test man's manual test It surveys, such test operation wastes test human resources very much and effect is not apparent.
Summary of the invention
The object of the present invention is to provide a kind of methods of Android intelligent television booting video pressure test, solve current Android intelligent television be switched on video pressure test mode low efficiency, lost labor's cost the problem of.
The present invention solves its technical problem, the technical solution adopted is that: Android intelligent television booting video pressure test Method, include the following steps:
Step 1 sets Android intelligent television to power on rear Auto On Mod;
Serial ports tool is connected after step 2, system starting and imports shell script;
Step 3, by shell script detect booting seeding whether there is, and if it exists, then enter step 4, otherwise into Enter step 7;
Step 4 whether there is by the primary decoder process of shell script detection, and if it exists, then enter step 5, otherwise Enter step 7;
Step 5, by shell script obtain video playing after the completion of attribute value, and be recorded as detection document;
Step 6, will test document with record right value corresponding to document compare, and judge comparing result whether one It causes, if unanimously, entering step 3, otherwise the log of automatic packaging related system and time point is recorded, subsequently into step 7;
Step 7 terminates test.
Specifically, in step 3, order busybox ps is inputted by serial ports tool | grep Android.intent.actio n.BOOT_COMPLETED detection booting seeding Android.intent.action.BOOT_COMPLETED whether there is.
Further, in step 4, order busybox ps is inputted by serial ports tool | grep mediaserver Android, which detects primary decoder process mediaserver, whether there is.
Specifically, in step 6, order getprop is inputted by serial ports tool | grep Mstar.videoadvert.finished, to detect whether the attribute value is 1, if 1, then it represents that the attribute value is equal to correct Value.
The invention has the advantages that by above-mentioned Android intelligent television be switched on video pressure test method, into When row booting video measurement, lead to serial ports tool to run shell script, it is wide that android system booting is detected with shell script Attribute value after broadcasting the primary decoder process of process, android system and acquisition video playing is broadcast come the video that determines this time to be switched on During putting either with or without occur do not finish playing the phenomenon that, such as occur booting video do not finish playing phenomenon by when beat automatically Packet log simultaneously records time of occurrence, to improve testing efficiency.
Also, it is endless for reproduction booting video playing in the test of Android TV by the test method more than using Whole BUG is very helpful;And the product that this method applies on other types is similar automatic test, Neng Gouyou The raising testing efficiency of effect improves the reliability of product software and shortens the development cycle.
Specific embodiment
Below with reference to embodiment, the technical schemes of the invention are described in detail.
The method of Android intelligent television booting video pressure test of the present invention, includes the following steps:
Step 1 sets Android intelligent television to power on rear Auto On Mod;
Serial ports tool is connected after step 2, system starting and imports shell script;
Step 3, by shell script detect booting seeding whether there is, and if it exists, then enter step 4, otherwise into Enter step 7;
Step 4 whether there is by the primary decoder process of shell script detection, and if it exists, then enter step 5, otherwise Enter step 7;
Step 5, by shell script obtain video playing after the completion of attribute value, and be recorded as detection document;
Step 6, will test document with record right value corresponding to document compare, and judge comparing result whether one It causes, if unanimously, entering step 3, otherwise the log of automatic packaging related system and time point is recorded, subsequently into step 7;
Step 7 terminates test.
Embodiment
The embodiment of the present invention is illustrated by taking the Changhong TV of model 55Q5T as an example.
The method of the present embodiment Android intelligent television booting video pressure test, includes the following steps:
Step 1 sets Android intelligent television to power on rear Auto On Mod;
Serial ports tool is connected after step 2, system starting and imports shell script;
Step 3, by shell script detect booting seeding whether there is, and if it exists, then enter step 4, otherwise into Enter step 7;
Step 4 whether there is by the primary decoder process of shell script detection, and if it exists, then enter step 5, otherwise Enter step 7;
Step 5, by shell script obtain video playing after the completion of attribute value, and be recorded as detection document;
Step 6, will test document with record right value corresponding to document compare, and judge comparing result whether one It causes, if unanimously, entering step 3, otherwise the log of automatic packaging related system and time point is recorded, subsequently into step 7;
Step 7 terminates test.
In the step 3 of the above method, preferably pass through serial ports tool input order busybox ps | grep Android.intent.action.BOOT_COMPLETED detection booting seeding Android.intent.action.BOOT_COMPLETED whether there is.
In step 4, preferably pass through serial ports tool input order busybox ps | grep mediaserver Android inspection Surveying primary decoder process mediaserver whether there is.
In step 6, preferably pass through serial ports tool input order getprop | grep Mstar.videoadvert.finished, to detect whether the attribute value is 1, if 1, then it represents that the attribute value is equal to correct Value.

Claims (4)

  1. The method of 1.Android smart television booting video pressure test, which comprises the steps of:
    Step 1 sets Android intelligent television to power on rear Auto On Mod;
    Serial ports tool is connected after step 2, system starting and imports shell script;
    Step 3 whether there is by shell script detection booting seeding, and if it exists, then enters step 4, otherwise enters step Rapid 7;
    Step 4 whether there is by the primary decoder process of shell script detection, and if it exists, then enters step 5, otherwise enters Step 7;
    Step 5, by shell script obtain video playing after the completion of attribute value, and be recorded as detection document;
    Step 6 will test document and compare with document corresponding to record right value, and judge whether comparing result is consistent, If consistent, 3 are entered step, otherwise the log of automatic packaging related system and time point is recorded, subsequently into step 7;
    Step 7 terminates test.
  2. 2. the method for Android intelligent television booting video pressure test according to claim 1, which is characterized in that step In rapid 3, order busybox ps is inputted by serial ports tool | grep Android.intent.action.BOOT_COMP LETED detection booting seeding Android.intent.action.BOOT_COMPLETED whether there is.
  3. 3. the method for Android intelligent television booting video pressure test according to claim 1, which is characterized in that step In rapid 4, pass through serial ports tool input order busybox ps | grep mediaserver Android detect primary decoder into Journey mediaserver whether there is.
  4. 4. the method for Android intelligent television booting video pressure test according to claim 1, which is characterized in that step In rapid 6, order getprop is inputted by serial ports tool | grep mstar.videoadvert.finished, to detect the category Property value whether be 1, if 1, then it represents that the attribute value be equal to right value.
CN201811302366.9A 2018-11-02 2018-11-02 Method for testing starting video pressure of Android smart television Active CN109151462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811302366.9A CN109151462B (en) 2018-11-02 2018-11-02 Method for testing starting video pressure of Android smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811302366.9A CN109151462B (en) 2018-11-02 2018-11-02 Method for testing starting video pressure of Android smart television

Publications (2)

Publication Number Publication Date
CN109151462A true CN109151462A (en) 2019-01-04
CN109151462B CN109151462B (en) 2020-03-13

Family

ID=64807430

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811302366.9A Active CN109151462B (en) 2018-11-02 2018-11-02 Method for testing starting video pressure of Android smart television

Country Status (1)

Country Link
CN (1) CN109151462B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597679A (en) * 2019-09-20 2019-12-20 四川长虹电器股份有限公司 Shell script-based channel changing pressure testing system and method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020024616A1 (en) * 2000-08-23 2002-02-28 Jae-Ik Kim Television based on operating system and method of displaying an initial screen thereof
CN103679054A (en) * 2013-12-13 2014-03-26 Tcl集团股份有限公司 Method and system for detecting integrity of boot animation file of intelligent terminal
CN105791948A (en) * 2016-05-30 2016-07-20 Tcl集团股份有限公司 Method and system for realizing starting video of smart television
CN108156456A (en) * 2017-12-25 2018-06-12 深圳创维-Rgb电子有限公司 A kind of TV performance test methods, device and storage medium
US20180239900A1 (en) * 2014-12-01 2018-08-23 Hewlett-Packard Development Company, L.P. Firmware module execution privilege

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020024616A1 (en) * 2000-08-23 2002-02-28 Jae-Ik Kim Television based on operating system and method of displaying an initial screen thereof
CN103679054A (en) * 2013-12-13 2014-03-26 Tcl集团股份有限公司 Method and system for detecting integrity of boot animation file of intelligent terminal
US20180239900A1 (en) * 2014-12-01 2018-08-23 Hewlett-Packard Development Company, L.P. Firmware module execution privilege
CN105791948A (en) * 2016-05-30 2016-07-20 Tcl集团股份有限公司 Method and system for realizing starting video of smart television
CN108156456A (en) * 2017-12-25 2018-06-12 深圳创维-Rgb电子有限公司 A kind of TV performance test methods, device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110597679A (en) * 2019-09-20 2019-12-20 四川长虹电器股份有限公司 Shell script-based channel changing pressure testing system and method

Also Published As

Publication number Publication date
CN109151462B (en) 2020-03-13

Similar Documents

Publication Publication Date Title
CN104978271B (en) A kind of automatic upgrading pressure survey method and system of android system
CN106254937B (en) The switching method of television set and its signal source
CN103605604B (en) A kind of method of batch testing set-top box software stability
CN103596000B (en) Intelligent television multiple solutions handoff testing method and system
CN103226491B (en) A kind of method and device that Application Status are set
CN103699483A (en) Method and device for testing compatibility of playing state of flash player and browser
CN101478696A (en) Automatic test method, system and multimedia device for test cases
CN104572422A (en) Memory monitoring achievement method based on startup and shutdown of Linux system
CN105045699B (en) Mobile terminal and smart card uniformity test connect the method and system of race automatically
CN103546698B (en) A kind of mobile terminal recorded video store method and device
CN104883564B (en) A kind of OTT set-top box produces the method for testing and system of ageing stability
US20190109658A1 (en) Method and system for switching living broadcast between landscape broadcasting mode and portrait broadcasting mode for live broadcast website
CN108289218B (en) Audio and video test method and system and audio and video test equipment
CN109151462A (en) The method of Android intelligent television booting video pressure test
CN109063149A (en) A kind of method of personalized push screen protection picture
CN106973333B (en) Method and device based on the video caption wrong word word error correction compared
TW201323891A (en) Testing method and testing apparatus for TV system
CN105430503A (en) Starting method and device of digital television
CN102957873A (en) Automatic program list arranging method and automatic program list arranging device
US10616525B2 (en) Control method and device of signal source switching
CN106534826A (en) Pairing method of television and 3D glasses, and television
CN111294882A (en) Teaching multimedia information display method for intelligent classroom and intelligent box for intelligent classroom
CN104954784A (en) Method for carrying out pressure testing on system reliability of STB (Set Top Box)
CN109195018A (en) The method that acceleration system for Android intelligent television starts
CN105657525A (en) Channel switching method and device

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
GR01 Patent grant
GR01 Patent grant