CN107333131A - A kind of method for the application carried on test intelligent television - Google Patents

A kind of method for the application carried on test intelligent television Download PDF

Info

Publication number
CN107333131A
CN107333131A CN201710697511.7A CN201710697511A CN107333131A CN 107333131 A CN107333131 A CN 107333131A CN 201710697511 A CN201710697511 A CN 201710697511A CN 107333131 A CN107333131 A CN 107333131A
Authority
CN
China
Prior art keywords
application
intelligent television
complete machine
application message
carried
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
CN201710697511.7A
Other languages
Chinese (zh)
Other versions
CN107333131B (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 CN201710697511.7A priority Critical patent/CN107333131B/en
Publication of CN107333131A publication Critical patent/CN107333131A/en
Application granted granted Critical
Publication of CN107333131B publication Critical patent/CN107333131B/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/04Diagnosis, testing or measuring for television systems or their details for receivers
    • 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/3688Test management for test execution, e.g. scheduling of test suites
    • 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/3692Test management for test results analysis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The present invention relates to application software testing technology, it discloses a kind of method of application tested and carried on intelligent television, the testing efficiency that solves to there is the application means of testing carried on intelligent television in conventional art is low, the problem of be difficult to test comprehensively and there is greater risk.This method can be summarized as:By developing one application message management module of design, by movable storage device by the module installation and operation on television set to be measured, the information of mounted all applications all in the intelligent television complete machine is collected after operation, with the form of data flow in screen display, while being stored in movable storage device;The application message of the application message of current version and last revision is compared, and export comparative result by application message management module when receiving the instruction that user compares application message.The test for the application software that the present invention is carried suitable for intelligent television.

Description

A kind of method for the application carried on test intelligent television
Technical field
The present invention relates to application software testing technology, and in particular to a kind of side for the application carried on test intelligent television Method.
Background technology
At present, the application that intelligent television is carried is become increasingly abundant, and more more preferable experience are brought to user.Due to being loaded with Various applications, the test of intelligent television is comparatively more complex, to each state verification for carrying application, information Comparing turns into required test request.
It is manually operated that conventional test methodologies are based primarily upon Black-box Testing, i.e. tester, into application review function whether It has been updated that, whether be replaced to judge to apply based on this.But actual application bag name, versioncode, Whether versioname and its apk bags convert and can not test out.
For ease of understanding, the portion of techniques term in the present invention is illustrated below:
Using:Each one apk (Androidan installations) bag of application correspondence, on intelligent television, its filename Unified is called * .apk;
The application carried:It is exactly application preset on the software of complete machine, user can not delete;
Each application has 3 important informations:
Using bag name:Made a distinction using according to bag name;Different applications has different bag names.
Application version:Including versioncode (start context), two parameters of versioname (version name), it is used to Version is distinguished;
The MD5 codes of application:MD5 codes are the identity codes using apk, and same application apk compilings once, just produce unique MD5 codes.
The application carried to intelligent television due to current tester can only Black-box Testing, hiding test risk is very high. Intelligent television is equipped with many application programs simultaneously simultaneously, and software is when carrying out issue test, and tester is difficult that it is carried Application Status confirm one by one.Tester generally only can carry out operation test to the application of influence user's basic function, Other functions are no longer detected;To the function compared with complicated applications, tester it is difficult to ensure that repertoire is traveled through once, comparison information Also it can only proofread by hand one by one.Not only the testing time is long for the TV software that so issue is upgraded extensively on network, and There is very big risk.
The content of the invention
The technical problems to be solved by the invention are:Propose a kind of method for the application tested and carried on intelligent television, solution Certainly the testing efficiency of the application means of testing presence in conventional art to being carried on intelligent television is low, be difficult to test and deposit comprehensively The problem of greater risk.
The technical solution adopted for the present invention to solve the technical problems is:
A kind of method for the application carried on test intelligent television, including:
A. exploitation designs an application message management module, and the application message management module is whole for obtaining intelligent television The application message carried on machine, and carry out the comparison of application message;
B. application message management module is stored in movable storage device;
C. when the application to intelligent television complete machine is tested, by movable storage device by the application message management module It is installed in intelligent television complete machine to be tested and runs;
D. application message management module collects mounted all applications all in the intelligent television complete machine after operation Information, with the form of data flow in screen display, while being stored in movable storage device;
If e. also there is the application message of the intelligent television complete machine last revision in movable storage device, application message management Module is when receiving the instruction that user compares application message, by the application message of current version and the application message of last revision It is compared, and exports comparative result.
As further optimization, the movable storage device is USB flash disk.
Optimize as further, in step d, the information of mounted all applications include:Mounted each is answered Bag name, start context, version name and installation path, and calculate under installation path each apply apk MD5 codes.
Optimize as further, in step d, in addition to:Current complete machine machine is obtained by intelligent television Android primary system The standard information of core, complete machine version, and generate and mobile storage is stored in the .txt files of complete machine movement-complete machine release-naming set In standby, after mounted all information of application all in the intelligent television complete machine are collected into, the information of collection is exported Into the .txt files of the complete machine movement-complete machine release-naming.
Optimize as further, in step d, the application message management module is automatic after operation or according to the finger of user The information of mounted all applications all in the intelligent television complete machine is collected in order.
Optimize as further, in step e, the application message by the application message of current version and last revision is entered Row compares, and specifically includes:It is compared by the .txt output files of the complete machine version different to former and later two:
Same application name apk MD5 codes are compared, contrast has been actually occurred more except which application of the complete machine version Newly, wherein the start context and version name applied there occurs which changes;And contrasted according to bag name, compare out and which has been increased newly Using or reduce which application.
Optimize as further, in step e, the output comparative result includes:Complete machine is set up in movable storage device The .txt files of movement-current version-last revision comparison information name, and comparative result is exported into this document.
As further optimization, the application message management module is the application installation package shape that application message manages .apk Formula.
The beneficial effects of the invention are as follows:
By on intelligent television to be measured installation and operation develop the application message management module of design in advance, automatic test is surveyed The information of the mounted all applications of complete machine, including application bag name, start context, version name, apk MD5 codes are tried, and can be led to Cross and the application message of last revision software carrying compares quickly to confirm whether current application apk is correct;Testing efficiency is high, and Test is accurate, comprehensive.
Embodiment
The present invention is directed to propose a kind of method for testing the application carried on intelligent television, is solved in conventional art to intelligence Testing efficiency that the application means of testing that is carried on TV is present is low, the problem of be difficult to test comprehensively and there is greater risk.
In specific implementation, it is necessary first to manage .apk by one application message of programming realization, the module is after operation Possesses the information for obtaining the application carried in intelligent television complete machine and the information comparing function for carrying out different editions application;For For those skilled in the art, this programming scheme is easily realized, no longer implementing process to it here repeats.
Realize the application bag after, by the application message management .apk be copied in USB flash disk, need it is whole to intelligent television Machine has been carried using when being tested, and connects intelligent television to be measured by USB flash disk, and run the application message management .apk;Letter The acquisition of breath:User is by selecting after the option that " whole application messages " is obtained, and the block search intelligent television system is in compiling Shi Shengcheng canonical function (installedpacakages bags installation procedure), the whole mounted apk paths of scanning, obtains intelligence Energy television system has loaded all the bag names of application, versioncode (start context), versioname (version name) and road The MD5 codes that each applies apk under footpath, calculating path.
To ensure the popularity of application adaptation, pass through the standard letter that Android primary system obtains TV movement, version Breath, is generated with the .txt files of complete machine movement-complete machine release-naming with this;
By the bag name of the whole applications got, versioncode, versioname and MD5 code with the form of data flow In screen display and it is output in the .txt files of complete machine movement-complete machine release-naming, to be stored in USB flash disk.
The comparison of information:By current complete machine version export complete machine movement-software version .txt files and it is already present before The complete machine movement of one complete machine version-software version .txt files are all placed under the catalogue of the complete machine of USB flash disk movement-software version.
After application message management module is instructed according to " the application message contrast " of user, by different to former and later two Complete machine version output file is compared:To same application name apk MD5 codes be compared, it can be seen that the complete machine version where A little applications have actually occurred renewal, and wherein versioncode and versioname there occurs that what changes;And it is right according to bag name Than, it can be seen which application increased newly, which application reduced, the apk of which application is changed.
Using the method for testing of the above, make the whole that non-application developer accurately obtains software that the specific of application to be installed Version and information, assist tester to television set issue software application message quickly tested, compare complete machine version it Between application message difference;Help designs quick positioning question.

Claims (8)

1. a kind of method for testing the application carried on intelligent television, it is characterised in that including:
A. exploitation designs an application message management module, and the application message management module is used to obtain intelligent television complete machine The application message carried, and carry out the comparison of application message;
B. application message management module is stored in movable storage device;
C. when the application to intelligent television complete machine is tested, the application message management module is installed by movable storage device On to intelligent television complete machine to be tested and run;
D. application message management module collects the letter of mounted all applications all in the intelligent television complete machine after operation Breath, with the form of data flow in screen display, while being stored in movable storage device;
If e. also there is the application message of the intelligent television complete machine last revision, application message management module in movable storage device When receiving the instruction that user compares application message, the application message of current version and the application message of last revision are carried out Compare, and export comparative result.
2. a kind of method for testing the application carried on intelligent television as claimed in claim 1, it is characterised in that in step d, The information of mounted all applications includes:Bag name, start context, version name and the peace of each mounted application Fill path, and calculate under installation path each apply apk MD5 codes.
3. a kind of method for testing the application carried on intelligent television as claimed in claim 1, it is characterised in that in step d, Also include:The standard information of current complete machine movement, complete machine version is obtained by intelligent television Android primary system, and is generated with whole The .txt files of machine movement-complete machine release-naming are stored in movable storage device, are being collected into institute in the intelligent television complete machine After the mounted all information of application having, the information of collection is exported to the complete machine movement-complete machine release-naming .txt in file.
4. a kind of method for testing the application carried on intelligent television as claimed in claim 1, it is characterised in that in step d, The application message management module it is automatic after operation or according in the instruction acquisition of the user intelligent television complete machine it is all The information of whole applications of installation.
5. a kind of method for testing the application carried on intelligent television as claimed in claim 1, it is characterised in that in step e, The application message by the application message of current version and last revision is compared, and is specifically included:By to former and later two The .txt output files of different complete machine versions are compared:
Same application name apk MD5 codes are compared, contrast has actually occurred renewal except which application of the complete machine version, The start context and version name wherein applied there occurs which changes;And according to bag name contrast, compare out increased newly which should With or reduce which apply.
6. a kind of method for testing the application carried on intelligent television as claimed in claim 1, it is characterised in that in step e, The output comparative result includes:Complete machine movement-current version-last revision comparison information life is set up in movable storage device The .txt files of name, and comparative result is exported into this document.
7. a kind of method for testing the application carried on intelligent television as claimed in claim 1, it is characterised in that the application Information management module is the application installation package form that application message manages .apk.
8. the method for the application carried on a kind of test intelligent television as described in claim 1-7 any one, its feature exists In a kind of method for testing the application carried on intelligent television as claimed in claim 1, it is characterised in that the movement is deposited Storage equipment is USB flash disk.
CN201710697511.7A 2017-08-15 2017-08-15 A kind of method for the application carried on test smart television Active CN107333131B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710697511.7A CN107333131B (en) 2017-08-15 2017-08-15 A kind of method for the application carried on test smart television

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710697511.7A CN107333131B (en) 2017-08-15 2017-08-15 A kind of method for the application carried on test smart television

Publications (2)

Publication Number Publication Date
CN107333131A true CN107333131A (en) 2017-11-07
CN107333131B CN107333131B (en) 2019-09-24

Family

ID=60201203

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710697511.7A Active CN107333131B (en) 2017-08-15 2017-08-15 A kind of method for the application carried on test smart television

Country Status (1)

Country Link
CN (1) CN107333131B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100479A (en) * 2020-09-14 2020-12-18 深圳市欢太科技有限公司 Application access method and device, electronic equipment and storage medium
CN113835028A (en) * 2021-09-15 2021-12-24 深圳创维-Rgb电子有限公司 Automatic detection method for holder motor, terminal and computer readable storage medium
CN114938466A (en) * 2022-04-28 2022-08-23 国家广播电视总局广播电视科学研究院 Internet television application monitoring system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461873A (en) * 2014-11-19 2015-03-25 青岛海信电器股份有限公司 Testing method and device of application programs
CN104683797A (en) * 2015-03-05 2015-06-03 青岛歌尔声学科技有限公司 Intelligent television production test method and system
CN106294133A (en) * 2016-07-29 2017-01-04 腾讯科技(深圳)有限公司 Detection method, relevant apparatus and the system of a kind of application program installation kit
CN106897087A (en) * 2017-01-17 2017-06-27 株洲中车时代电气股份有限公司 Realize the remote maintenance update method and device of locomotive vehicle-mounted equipment application software

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104461873A (en) * 2014-11-19 2015-03-25 青岛海信电器股份有限公司 Testing method and device of application programs
CN104683797A (en) * 2015-03-05 2015-06-03 青岛歌尔声学科技有限公司 Intelligent television production test method and system
CN106294133A (en) * 2016-07-29 2017-01-04 腾讯科技(深圳)有限公司 Detection method, relevant apparatus and the system of a kind of application program installation kit
CN106897087A (en) * 2017-01-17 2017-06-27 株洲中车时代电气股份有限公司 Realize the remote maintenance update method and device of locomotive vehicle-mounted equipment application software

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112100479A (en) * 2020-09-14 2020-12-18 深圳市欢太科技有限公司 Application access method and device, electronic equipment and storage medium
CN113835028A (en) * 2021-09-15 2021-12-24 深圳创维-Rgb电子有限公司 Automatic detection method for holder motor, terminal and computer readable storage medium
CN114938466A (en) * 2022-04-28 2022-08-23 国家广播电视总局广播电视科学研究院 Internet television application monitoring system and method
CN114938466B (en) * 2022-04-28 2023-11-07 国家广播电视总局广播电视科学研究院 Internet television application monitoring system and method

Also Published As

Publication number Publication date
CN107333131B (en) 2019-09-24

Similar Documents

Publication Publication Date Title
CN104391795B (en) Method and system for automatically testing coverage rate in distributed system
CN103019708B (en) For the system of releasing software
US9372784B2 (en) Test system configuration method and system
US9483390B2 (en) Three-dimensional GUI object stores in automation test tools
CN104077217B (en) The compiling dissemination method and system of code file
CN108196878B (en) Method and device for generating application program installation package, electronic equipment and storage medium
CN105446868B (en) System compatibility test method, testing case management and relevant apparatus
CN104077140A (en) Automatic compiling method and compiling device for continuous integration
CN107333131A (en) A kind of method for the application carried on test intelligent television
US20090199096A1 (en) Automated gui test recording/playback
CN101382914B (en) Testing method and device for software update file
CN104407973A (en) Automatic unit test realizing method and device
CN105683924A (en) Debugging native code by transitioning from execution in native mode to execution in interpreted mode
CN109840194B (en) Method and system for detecting configuration file
CN107277016B (en) Authority verification method and device
CN104461873A (en) Testing method and device of application programs
CN109684847A (en) Self-repairing method, device, equipment and the storage medium of script loophole
CN103164334A (en) System and method for detecting breaking point in web application automatic test case
CN103678124B (en) Video surveillance platform auto-test method and device based on continuous integrated environment
CN105183789A (en) File merging method and system based on git source code confliction
CN102340429B (en) Automatic Internet protocol recovery detection method
CN103077059A (en) Method for judging whether application is matched or not
CN104598382B (en) A kind of test control method and device
CN105095074A (en) Upgrade test method and device for configuration file
CN105389172A (en) Application upgrading method and apparatus

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