Summary of the invention
For the problems referred to above, the invention provides and a kind of trace routine is packaged into some application bags, and the programming system that described application bag is independent of inside television stored separately, by detecting one by one in the described application bag of intelligent television operation each functional module to TV, detect detection method and the system of the intelligent television of complete rear automatic record testing result.
For achieving the above object, the detection method of intelligent television of the present invention, described intelligent television comprises some functional modules of dividing based on the function that realizes, comprises some test items in the described functional module, described detection method comprises the steps:
S1 encapsulates some application bags, is used for some application bags that described each functional module is detected; Comprise some detections application in the described application bag, be used for described test item is detected;
S2 loads described each application bag and each operation of using bag is sequentially sorted;
S3 uses the predetermined operation order of bag based on each, moves one by one each and uses bag so that corresponding functional module is detected;
S4 generates each testing result of using bag, and preserves this result.
Especially, described application is sealed to fill and is stored in the peripheral hardware.
Further, the operation method of described application bag specifically comprises the steps:
S2.1 receives the instruction of operation current application bag;
S2.2 moves first detection application based on the operation order of detection application in the current application bag, after this detection application operation is complete, exports the current detection application and moves complete instruction, and generate testing result and the preservation of this detection application;
S2.3 output is next to detect the instruction of using the operation beginning, and next detection of operation used, this detect use operation complete after, the output current detection is used the complete instruction of operation, and generates testing result and preservation that this detections is used;
Whether S2.4 detects also has off-duty detection to use, and has then to return step S2.3 and move next and detect and use; Without then jumping to next operation of using bag.
Especially, after all detection application operations were complete, described testing result showed at the display screen of described intelligent television.
Further, before step S3, also comprise step: judge whether to exist in the described intelligent television with each and use the functional module that bag is complementary,
If there is the functional module that is complementary with this application bag, then move this application bag;
If there is not the test item that is complementary with this application bag, then redirect should be used bag, the next bag of using of operation.
Further, preserve the method for testing result: comprise manual input and/or the method for automatically inputting, wherein,
Described manual input method is: after described detection application operation was complete, as a result choice menus was ejected in the complete instruction of output detections, receives corresponding result and selects signal, selecteed object information is inputted described sense terminals carry out record;
Described automated input methodology is: after described test item detection is complete, and the output detections object information, and the object information that obtains is inputted described sense terminals carry out record.
Especially, use in the running in described detection, eject and detect choice menus, receive to detect and select signal to obtain selecteed detection information, determine that according to different detection selection information the detection of current needs operation is used.
For achieving the above object, the detection system of intelligent television of the present invention, comprise intelligent television and sense terminals, described intelligent television comprises some functional modules of dividing based on the function that realizes, comprises some test items in the described functional module, and described sense terminals comprises load-on module, memory module, and the redirect module, wherein
Described memory module for the some application bags to described each functional module detection after the storage enclosure, comprises some detections application that described test item is detected in the described application bag;
Described load-on module is for loading described application bag and each operation of using bag sequentially being sorted;
Described operation module is used for using the predetermined operation order of bag based on each, moves one by one each and uses bag;
Described redirect module be used for to generate the testing result that each uses bag, and this result is outputed to memory module preserves this result.
Especially, described sense terminals also comprises as a result output module, is used for after all detections of using bag finish, and the testing result of described application bag is outputed to described LCDs show.
Further, described sense terminals also comprises matching module, is used for judging whether described intelligent television exists the functional module that is complementary with each application bag,
If existence is wrapped the functional module that is complementary with this application, then described matching module output operation moves this and uses the instruction of wrapping;
If there is not the test item that is complementary with this application bag, then described matching module output redirect should be used bag, the next instruction of using bag of operation.
Above-mentioned one or more technical schemes provided by the invention can reach following beneficial effect at least:
Need the TV trace routine is embedded in the programming system of television set itself compared to traditional television detection method.The present invention is by being packaged into trace routine the application bag that is independent of the inside television program, being the detection of code program separates respectively storage with the program in machine code of each functional module of inside television, by storing separately described application bag with the memory device of television set generation data interaction, guaranteed on the one hand the stability of the program in machine code of inside television, do not interfere with each other to the modification of intelligent television internal processes with to the modification of trace routine on the other hand, make things convenient for the revision and improvement to the detection of code program, and then reached the purpose that improves detection efficiency and detect accuracy.
Detect the detection method that one by one other newly-increased functional modules is detected respectively after complete compared to having now at each test item to the functional module of traditional tv, the application bag that the present invention detects for each functional module to intelligent television by encapsulation in sense terminals, all test items of bag measuring ability module are used in one of every operation, carry out the detection of next functional module capable complete rear a bag in the next application of operation of application contracted affreightment, avoid redirect between each functional module, save time, and the method for the sequence detection of pipeline system has accomplished intelligent television is comprehensively detected, and has avoided the undetected of the application bag that need to detect.
Compared to the existing method that testing result is recorded by artificial filling fault card, the present invention is after the detection of current application bag is complete, testing result is recorded in the sense terminals automatically, not only improved the efficient of testing result record but also avoided error of omission and the incorrect posting of testing result.
Detection compared to existing intelligent television mainly detects the traditional tv functional module, has ignored the detection of the newly-increased application bag of the intelligent televisions such as input and output detections, network detection, multimedia detection.The present invention will with described intelligent television in all to use the code module that bag is complementary pre-stored in described sense terminals, testing process included intelligent television all use the detection of bag, and described sense terminals is that the functional module of the open platform intelligent television that can detect as required increases and reduces and uses bag.
Embodiment
The present invention will be further described below in conjunction with Figure of description.
As shown in Figure 1, the detection method of intelligent television of the present invention, described intelligent television comprises some functional modules of dividing based on the function that realizes, comprises some test items in the described functional module, described detection method comprises the steps:
S1 encapsulates some application bags, is used for some application bags that described each functional module is detected; Comprise some detections application in the described application bag, be used for described test item is detected;
S2 loads described each application bag and each operation of using bag is sequentially sorted;
S3 uses the predetermined operation order of bag based on each, moves one by one each and uses bag so that corresponding functional module is detected;
S4 generates each testing result of using bag, and preserves this result.
Accordingly, the detection system of intelligent television of the present invention, comprise intelligent television and sense terminals, described intelligent television comprises some functional modules of dividing based on the function that realizes, comprises some test items in the described functional module, and described sense terminals comprises load-on module, memory module, and the redirect module, wherein
Described memory module is used for storage enclosure for some application bags that described each functional module is detected, and comprises some some detections application for described test item is detected in the described application bag;
Described load-on module is for loading described application bag and each operation of using bag sequentially being sorted;
Described operation module is used for using the predetermined operation order of bag based on each, moves one by one each and uses bag;
Described redirect module be used for to generate the testing result that each uses bag, and this result is outputed to memory module preserves this result.
Embodiment 1:
Present embodiment provides a kind of detection method of intelligent television, take based on the intelligent television of Android system platform as detected intelligent television as example, detection method of the present invention and sense terminals are carried out specific description.Detected intelligent television comprises a plurality of different functional modules in the present embodiment, each functional module comprises a plurality of test items, tested intelligent television comprises input functional module, traditional tv functional module, screen function module, network function module and multimedia function module in the present embodiment, wherein
Described input functional module is used for external command and the described intelligent television of input information, comprises the test item of realizing input function such as remote controller, touch pad, button, mouse etc.;
Described traditional tv functional module, be used for all functions that the realization traditional tv can be realized, comprise the test item of the function that realizes such as realization traditional tvs such as changing platform, image demonstration, voice output, image scaling, Energy Saving Control, volume control, beautiful sound;
Described screen function module comprises for realizing image normal all test items that show on screen;
Described network function module, the function for realizing described intelligent television access network comprises setting and demonstration, WIFI etc. such as IP and MAC Address, realizes computer is accessed all test items at networking;
Described multimedia function module comprises for all test items of realizing the intelligent television multimedia function.
As shown in Figure 2, the detection method of present embodiment intelligent television comprises the steps:
Bag is used in S1 encapsulation input, the traditional tv function is used bag, screen application bag, network application bag and multimedia application bag, wherein input is used bag for input functional module is detected, the traditional tv function is used bag and is used for traditional input functional module is detected, the screen application bag is used for the screen function module of tested intelligent television is detected, the network application bag is used for realizing the screen function module is detected, and the multimedia application bag is used for the multimedia function module is detected;
The described respectively application of S2 loading bag is also used the operation of wrapping and is sequentially sorted each, and the capable sequencing of each application contracted affreightment is: input and use bag, traditional tv function application bag, screen application bag, network application bag and multimedia application bag;
S3 moves one by one each and uses bag so that corresponding functional module is detected based on each uses the predetermined operation order of bag among the step S2;
S4 generates each testing result of using bag, and preserves this result.
As shown in Figure 3, in the present embodiment, take input functional module wherein as example, operation method to described application bag describes, and the described input functional module in the present embodiment comprises, remote controller, touch pad, button, mouse, four test items, operation comprises the steps:
S1.1 receives the instruction that bag is used in the operation input;
S1.2 uses the operation order that predefined each detection is used in the bag based on input, move first remote controller and detect application, after this detection application operation was complete, output remote controller detection application moved complete instruction, and generated the also preservation of testing result that remote controller detects application;
S1.3 output touch pad detects to use and moves the instruction that begins, and the operation touch pad detects to be used, and after this detection application operation was complete, the output current detection was used and moved complete instruction, and the generation touch pad detects testing result and the preservation of using;
S1.4 output button detects to use and moves the instruction that begins, and the operation button detects to be used, and after this detection application operation was complete, the output current detection was used and moved complete instruction, and the generation button detects testing result and the preservation of using;
S1.5 output mouse detects to use and moves the instruction that begins, and the operation mouse detects to be used, and after this detection application operation was complete, the output current detection was used and moved complete instruction, and the generation mouse detects testing result and the preservation of using;
Whether S1.6 detection input is used also has off-duty detection to use in the bag, have and then return the detection application that operates to successively operation; Without then jumping to next operation of using bag.
In the present embodiment, after the capable end of an application contracted affreightment, each uses bag based on the automatically operation of the operation of the application bag of reserving in advance in advance order successively order, jump to next operation of using bag by the mode of opening the apk file in the detected TV in the present embodiment, do not need just can automatically finish by Artificial Control in the redirect of using between the bag, improved the detection efficiency of intelligent television, mode by streamline is used bag one by one, namely a plurality of test items in each functional module of intelligent television are detected one by one, avoided the omission of test item, and sequentially avoided repeatedly operation to same application bag by setting in advance the operation of using bag, improve the record efficiency of testing result simultaneously, realized the nothing omission and the high purpose of precision that detect.
In the present embodiment, the application program of TV trace routine and inside television has been carried out separating separately storage, automatically jumping to the next operation that detects application after a detection application operation is complete detects next test item, this process is that the process of automatic redirect does not need Artificial Control to implement, and after each test item detection is complete, automatically record testing result, the title of test item and testing result are stored in the SQLite database with the form of key-value pair, the database that namely generates the key-value pair of test item title and testing result is kept in the described memory module, the enforcement of above detection method compare with prior art in not only improved the efficient that test item detects by the Artificial Control testing process and to the form of testing result by manual record fault card, and avoided the misregistration of human factor, guaranteed the accuracy of testing result.
Embodiment 2
As shown in Figure 4, the detection system of present embodiment intelligent television, comprise intelligent television 1 and sense terminals 2, described intelligent television comprises some functional modules of dividing based on the function that realizes, comprises some test items in the described functional module, and described sense terminals comprises load-on module 21, memory module 22, operation module 23 and redirect module 24, wherein
Described memory module 21, be used for storing predetermined justice input and use bag, the traditional tv function is used bag, the screen application bag, network application bag and multimedia application bag, wherein input is used bag for input functional module is detected, the traditional tv function is used bag and is used for the traditional tv functional module is detected, the screen application bag is used for the screen function module of tested intelligent television is detected, the network application bag is used for realizing Ethernet and WIFI network function module are detected, the multimedia application bag is used for multimedia audio, video, message board, the picture module detects, and is used for preserving the database of the key-value pair of the title of test item of tested intelligent television and testing result;
Described load-on module 22, wrap and each is used the operation of wrapping sequentially sort for loading described respectively the application, each application bag by the sequencing that moves is: the input application is wrapped, the traditional tv function is used bag, screen application bag, network application bag and multimedia application bag;
Described operation module 23, use the predetermined operation order of bag based on each, move one by one each and use bag, the while is used each detection that moves one by one in this application bag in the process of bag one of operation and uses, so that each test item in the corresponding functional module is detected;
Described redirect module 24, be used for generating the testing result that each uses bag, after a test item operation in the present embodiment in each detection bag was complete, also this result is outputed to memory module preserved this result to generate the title of this test item and the key-value pair of this test item.
Described sense terminals in the present embodiment is the movable storage device of peripheral hardware, USB flash disk for example, portable hard drive, sdcard etc., be connected with intelligent television with the outside interface that data interaction occurs by the USB interface on the detected intelligent television or intelligent television, this sense terminals is for detection of a plurality of intelligent televisions based on Android system, after in detected this sense terminals of TV loading each used bag, obtain the television set bar code of detected intelligent television, all use contracted affreightments capable complete after, the television set bar code of this detected intelligent TV set and the key-value pair database of test item and testing result will be stored in and record preservation in the memory module, so this sense terminals will be not limited only to an intelligent television based on Android system is detected, can detect any one intelligent television based on Android operating system, and testing result is to separate with detected intelligent television, the database of the testing result that the test item of a plurality of intelligent televisions of storage and testing result generate in sense terminals simultaneously is convenient for people to testing result is summarized.
Embodiment 3:
Present embodiment provides a kind of detection method of intelligent television, take based on the intelligent television of Android system platform as detected intelligent television as example, detection method of the present invention and sense terminals are carried out specific description.Detected intelligent television comprises a plurality of different functional modules in the present embodiment, each functional module comprises a plurality of test items, tested intelligent television comprises input functional module, traditional tv functional module, screen function module and network function module in the present embodiment, wherein
Described input functional module is used for external command and the described intelligent television of input information, comprises the test item of realizing input function such as remote controller, touch pad, button, mouse etc.;
Described traditional tv functional module, be used for all functions that the realization traditional tv can be realized, comprise the test item of the function that realizes such as realization traditional tvs such as changing platform, image demonstration, voice output, image scaling, Energy Saving Control, volume control, beautiful sound;
Described screen function module comprises for realizing image normal all test items that show on screen;
Described network function module is used for realizing the function of described intelligent television access network comprising that realization accesses computer all test items at networking such as IP and MAC Address demonstration and setting, WIFI network connection etc.
As shown in Figure 5, the detection method of present embodiment intelligent television comprises the steps:
Bag is used in the input of S21 predefine, the traditional tv function is used bag, screen application bag, network application bag and multimedia application bag, wherein input is used bag for input functional module is detected, the traditional tv function is used bag and is used for traditional input functional module is detected, the screen application bag is used for the screen function module of tested intelligent television is detected, the network application bag is used for realizing the screen function module is detected, and the multimedia application bag is used for the multimedia function module is detected;
S22 obtains the bar code of intelligent television, load described respectively the application and wrap and each is used the operation of wrapping sequentially sort, the capable sequencing of each application contracted affreightment is: input application bag, and the application of traditional tv function is wrapped, the screen application bag, multimedia application bag and network application bag;
S23 judges whether there is the functional module that is complementary with each application bag in the described detected intelligent television;
S24 is based on the judged result of step S23, skip the operation of multimedia application bag, each is used the predetermined operation of bag and sequentially uses bag for input, and the traditional tv function is used bag, screen application bag and network application bag move one by one each and use bag so that corresponding functional module is detected;
S25 generates each testing result of using bag, and preserves this result.
As shown in Figure 6, in the present embodiment, use bag as example wherein to input equally, operation method to described application bag describes, and the described input functional module in the present embodiment comprises, remote controller, touch pad, button, mouse, four test items, operation comprises the steps:
S2.1 receives the instruction that bag is used in the operation input;
S2.2 uses the operation order that predefined each detection is used in the bag based on input, move first remote controller and detect application, LCDs at tested intelligent television in this detection application running ejects the detection choice menus, this detection choice menus comprise at least previous step, next step and skip three options, moving this remote controller detects in the application process not to tested intelligent television input selection information, after this detection application operation is complete;
S2.3 output remote controller detects uses the complete instruction of operation, eject as a result choice menus in LCDs, described as a result menu comprises qualified and defective two options, and the information of qualified selection is inputted, and generates remote controller and detects testing result and the preservation of using;
S2.4 output touch pad detects to use and moves the instruction that begins, and the operation touch pad detects to be used, and after this detection application operation was complete, the output current detection was used and moved complete instruction, and the generation touch pad detects testing result and the preservation of using;
S2.5 output button detects the instruction of using the operation beginning, the operation button detects to be used, LCDs at tested intelligent television in this detection application running ejects the detection choice menus, this detection choice menus comprise at least previous step, next step and skip three options, the operation touch pad detects in the application process not to tested intelligent television input selection information, after this detection application operation is complete;
S2.6 output touch pad detects uses the complete instruction of operation, eject as a result choice menus in LCDs, described as a result menu comprises qualified and defective two options, and the information of qualified selection is inputted, and generates touch pad and detects testing result and the preservation of using;
S2.7 output button detects the instruction of using the operation beginning, the operation button detects to be used, LCDs at tested intelligent television in this detection application running ejects the detection choice menus, this detection choice menus comprise at least previous step, next step and skip three options, the operation button detects in the application process not to tested intelligent television input selection information, after this detection application operation is complete;
S2.8 output button detects uses the complete instruction of operation, eject as a result choice menus in LCDs, described as a result menu comprises qualified and defective two options, and the information of defective selection is inputted, and generates mouse and detects testing result and the preservation of using;
S2.9 output mouse detects the instruction of using the operation beginning, the operation mouse detects to be used, LCDs at tested intelligent television in this detection application running ejects the detection choice menus, this detection choice menus comprise at least previous step, next step and skip three options, the operation mouse detects in the application process not to tested intelligent television input selection information, after this detection application operation is complete;
S2.10 output mouse detects uses the complete instruction of operation, eject as a result choice menus in LCDs, described as a result menu comprises qualified and defective two options, and the information of qualified selection is inputted, and generates mouse and detects testing result and the preservation of using;
Whether S2.11 detection input is used also has off-duty detection to use in the bag, have and then return the detection application that operates to successively operation; Without then jumping to next operation of using bag.
In the present embodiment take to the detection of mouse as example, detection method to mouse is in the link of screen output one button, after clicking this button connection, if receive the OnHoverListener readjustment, it is qualified to think that then mouse detects, if do not receive the OnHoverListener readjustment, think that then this mouse is defective, after the mouse detection is complete, the complete signal of output detections, eject corresponding as a result choice menus in LCDs, receive corresponding result and select signal, selecteed object information is inputted described sense terminals carry out record, wherein said as a result choice menus comprises qualified and defective two options at least, but the choice menus described in the present embodiment is provided with qualified and defective two options, input after the qualified selection result information, because it is that last test item in the bag is used in input that mouse detects, then jump to the detection to the various functions module of the application bag of traditional tv, jump procedure is achieved as follows: the monitor that triggers qualified button, readjustment is monitored function onClickListener, and this function thes contents are as follows:
Intent?intentTvPlayer=new?Intent();
intentTvPlayer.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
intentTvPlayer.setAction(″com.google.android.tv.intent.action.TV″);
context.startActivity(intentTvPlayer);
finish();
In the present embodiment, judgement by whether the functional module of using bag and intelligent television is mated before each uses the operation of wrapping in operation, when the kind of the functional module of tested intelligent television is not mated with the type of using bag, redirect is used in the bag and is not moved with the unmatched application bag of tested intelligent television, avoided moving unnecessary application bag, save the running time of using bag, also avoided using the capable confusion of contracted affreightment simultaneously.After the capable end of an application contracted affreightment, each uses bag based on the automatically operation of the operation of the application bag of reserving in advance in advance order successively order, jump to next operation of using bag by the mode of opening the apk file in the detected TV in the present embodiment, do not need just can automatically finish by Artificial Control in the redirect of using between the bag, improved the detection efficiency of intelligent television, mode by streamline is used bag one by one, namely a plurality of test items in each functional module of intelligent television are detected one by one, avoided the omission of test item, and sequentially avoided repeatedly operation to same application bag by setting in advance the operation of using bag, improve the record efficiency of testing result simultaneously, realized the nothing omission and the high purpose of precision that detect.
In the present embodiment, the application program of TV trace routine and inside television has been carried out separating separately storage, automatically jumping to the next operation that detects application after a detection application operation is complete detects next test item, this process is that the process of automatic redirect does not need Artificial Control to implement, and after each test item detection is complete, automatically record testing result, the title of test item and testing result are preserved with the form of key-value pair, the database that namely generates the key-value pair of test item title and testing result is kept in the described memory module, the enforcement of above detection method compare with prior art in not only improved the efficient that test item detects by the Artificial Control testing process and to the form of testing result by manual record fault card, and avoided the misregistration of human factor, guaranteed the accuracy of testing result.
Described detection choice menus comprises in the present embodiment, previous step, next step and three options of redirect, in a detection application running, need minute some steps to carry out, wherein previous step is used for the detection information that input jumps to the operation of previous step repetition previous step, next step is used for the detection information that the operation of current step operation next step is skipped in input, redirect is used for the next detection information of using that detects of operation that input redirect current detection is used, generally in described application bag, comprise a certain detection application, yet when not comprising the test item that is complementary with this detection application in the functional module of this tested intelligent television, redirect does not move this detection and uses the running time of detecting application to save, namely save the detection time to intelligent television, improve detection efficiency, determine that according to different detection selection information the detection of current needs operation is used.
Embodiment 4
As shown in Figure 7, the detection system of present embodiment intelligent television, comprise intelligent television 1 and sense terminals 2, described intelligent television comprises some functional modules of dividing based on the function that realizes, comprises some test items in the described functional module, and described sense terminals comprises load-on module 21, memory module 22, redirect module 23, operation module 24 and matching module 25, wherein
Described memory module 21, be used for storing predetermined justice input and use bag, the traditional tv function is used bag, the screen application bag, network application bag and multimedia application bag, wherein input is used bag for input functional module is detected, the traditional tv function is used bag and is used for traditional input functional module is detected, the screen application bag is used for the screen function module of tested intelligent television is detected, the network application bag is used for realizing the screen function module is detected, the multimedia application bag is used for the multimedia function module is detected, and is used for preserving the database of the key-value pair of the title of test item of tested intelligent television and testing result;
Described load-on module 22, wrap and each is used the operation of wrapping sequentially sort for loading described respectively the application, each application bag by the sequencing that moves is: the input application is wrapped, the traditional tv function is used bag, screen application bag, multimedia application bag and network application bag;
Described operation module 23, use the predetermined operation order of bag based on each, move one by one each and use bag, and the screen application contracted affreightment capable complete after, the capable network application bag of redirect multimedia application contracted affreightment, while is used each detection that moves one by one in this application bag in the process of bag one of operation and uses, so that each test item in the corresponding functional module is detected;
Described redirect module 24, be used for generating the testing result that each uses bag, after a test item operation in the present embodiment in each detection bag was complete, also this result is outputed to memory module preserved this result to generate the title of this test item and the key-value pair of this test item;
Described matching module 25, be used for judging whether described intelligent television exists the functional module that is complementary with each application bag, judged result is not have the multimedia function module that is complementary with the multimedia application bag in the detected intelligent television, and this testing result exported to the operation module, be used to indicate operation module redirect multimedia application bag and do not move.
Described sense terminals in the present embodiment is the movable storage device of peripheral hardware, USB flash disk for example, portable hard drive, sdcard etc., be connected with intelligent television with the outside interface that data interaction occurs by the USB interface on the detected intelligent television or intelligent television, this sense terminals is for detection of a plurality of intelligent televisions based on Android system, after in detected this sense terminals of TV loading each used bag, obtain the television set bar code of detected intelligent television, all use contracted affreightments capable complete after, the television set bar code of this detected intelligent TV set and the key-value pair database of test item and testing result will be stored in and record preservation in the memory module, so this sense terminals will be not limited only to an intelligent television based on Android system is detected, can detect any one intelligent television based on Android operating system, and testing result is to separate with detected intelligent television, the database of the testing result that the test item of a plurality of intelligent televisions of storage and testing result generate in sense terminals simultaneously is convenient for people to testing result is summarized.
Embodiment 5:
Present embodiment provides a kind of detection method of intelligent television, take based on the intelligent television of Android system platform as detected intelligent television as example, detection method of the present invention and sense terminals are carried out specific description.Detected intelligent television comprises a plurality of different functional modules in the present embodiment, each functional module comprises a plurality of test items, tested intelligent television comprises input functional module, traditional tv functional module, screen function module, network function module and multimedia function module in the present embodiment, wherein
Described input functional module is used for external command and the described intelligent television of input information, comprises the test item of realizing input function such as remote controller, touch pad, button, mouse etc.;
Described traditional tv functional module, be used for all functions that the realization traditional tv can be realized, comprise the test item of the function that realizes such as realization traditional tvs such as changing platform, image demonstration, voice output, image scaling, Energy Saving Control, volume control, beautiful sound;
Described screen function module comprises for realizing image normal all test items that show on screen;
Described network function module is used for realizing the function of described intelligent television access network, comprises that being connected demonstration with MAC Address such as IP is connected with setting, WIFI etc., and realization accesses computer all test items at networking;
Described multimedia function module comprises for all test items of realizing the intelligent television multimedia function.
As shown in Figure 8, the detection method of present embodiment intelligent television comprises the steps:
Bag is used in the input of S31 predefine, the traditional tv function is used bag, screen application bag, network application bag and multimedia application bag, wherein input is used bag for input functional module is detected, the traditional tv function is used bag and is used for traditional input functional module is detected, the screen application bag is used for the screen function module of tested intelligent television is detected, the network application bag is used for realizing the screen function module is detected, and the multimedia application bag is used for the multimedia function module is detected;
The described respectively application of S32 loading bag is also used the operation of wrapping and is sequentially sorted each, and the capable sequencing of each application contracted affreightment is: input and use bag, traditional tv function application bag, screen application bag, network application bag and multimedia application bag;
S33 judges whether there is the functional module that is complementary with each application bag in the described detected intelligent television;
S34 is based on the judged result of step S33, each is used the predetermined operation of bag and sequentially uses bag for input, and the traditional tv function is used bag, screen application bag, network application bag and multimedia application bag move one by one each and use bag so that corresponding functional module is detected;
S35 generates each testing result of using bag, and preserves this result.
As shown in Figure 9, in the present embodiment, take network function module wherein as example, operation method to described application bag describes, and the described network function module in the present embodiment comprises that wifi connection, MAC Address demonstration and setting, IP show three test items, described network detects to use and comprises in the bag that wifi detects application, MAC Address detects to be used, and IP detects application, and operation comprises the steps:
S3.1 receives the instruction that operational network is used bag;
S3.2 uses the operation order that predefined each detection is used in the bag based on input, move first wifi and detect application, finish and close Ethernet, open wifi, show the current wifi network that searches out action, be connected and fixed the wifi network, such as the feedback link success, the testing result Lookup protocol of then wifi being used is successfully and preserves, otherwise is recorded as failure;
S3.3 output MAC Address detects the instruction of using the operation beginning, realization is obtained mac address in the sense terminals, its MAC Address that is set to Ethernet, and the result will be set and the mac address that obtains is presented on the screen, after this detection application operation is complete, the output current detection is used and is moved complete instruction, and generates testing result and preservation that the MAC Address detection is used;
S3.4 output IP detects to use and moves the instruction that begins, and operation IP detects and uses, and after this detection application operation was complete, the output current detection was used and moved complete instruction, and generation IP detects testing result and the preservation of using;
The S3.5 Sampling network is used also has off-duty detection application in the bag, but owing to do not exist the test item that matches so redirect detects application in the network function module, jumps to the operation of next multimedia application bag.
In the present embodiment, the application program of TV trace routine and inside television has been carried out separating separately storage, after the capable end of an application contracted affreightment, each uses bag based on the automatically operation of the operation of the application bag of reserving in advance in advance order successively order, jump to next operation of using bag by the mode of opening the apk file in the detected TV in the present embodiment, do not need just can automatically finish by Artificial Control in the redirect of using between the bag, improved the detection efficiency of intelligent television, mode by streamline is used bag one by one, namely a plurality of test items in each functional module of intelligent television are detected one by one, avoided the omission of test item, and sequentially avoided repeatedly operation to same application bag by setting in advance the operation of using bag, improve the record efficiency of testing result simultaneously, realized the nothing omission and the high purpose of precision that detect.
In the present embodiment, automatically jumping to the next operation that detects application after a detection application operation is complete detects next test item, this process is that the process of automatic redirect does not need Artificial Control to implement, and after each test item detection is complete, automatically record testing result, the title of test item and testing result are preserved with the form of key-value pair, the database that namely generates the key-value pair of test item title and testing result is kept in the described memory module, the enforcement of above detection method compare with prior art in not only improved the efficient that test item detects by the Artificial Control testing process and to the form of testing result by manual record fault card, and avoided the misregistration of human factor, guaranteed the accuracy of testing result.
Embodiment 6
As shown in figure 10, the detection system of present embodiment intelligent television, comprise intelligent television 1 and sense terminals 2, described intelligent television comprises some functional modules of dividing based on the function that realizes, comprises some test items in the described functional module, described sense terminals comprises load-on module 21, memory module 22, matching module 25, operation module 23 and redirect module 24, wherein
Described memory module 21, be used for storing predetermined justice input and use bag, the traditional tv function is used bag, the screen application bag, network application bag and multimedia application bag, wherein input is used bag for input functional module is detected, the traditional tv function is used bag and is used for traditional input functional module is detected, the screen application bag is used for the screen function module of tested intelligent television is detected, the network application bag is used for realizing the screen function module is detected, the multimedia application bag is used for the multimedia function module is detected, and is used for preserving the database of the key-value pair of the title of test item of tested intelligent television and testing result;
Described load-on module 22, wrap and each is used the operation of wrapping sequentially sort for loading described respectively the application, each application bag by the sequencing that moves is: the input application is wrapped, the traditional tv function is used bag, screen application bag, network application bag and multimedia application bag;
Described operation module 23, use the predetermined operation order of bag based on each, move one by one each and use bag, the while is used each detection that moves one by one in this application bag in the process of bag one of operation and uses, so that each test item in the corresponding functional module is detected;
Described redirect module 24, be used for generating the testing result that each uses bag, after a test item operation in the present embodiment in each detection bag was complete, also this result is outputed to memory module preserved this result to generate the title of this test item and the key-value pair of this test item;
Described matching module 25, be used for judging whether described intelligent television exists the functional module that is complementary with each application bag, judged result is that functional module is complementary with the application bag in the detected intelligent television, and this testing result exported to the operation module, be used to indicate the operation module and move one by one each and use bag;
Described sense terminals in the present embodiment is the memory device that is arranged on intelligent TV set inside, this equipment can carry out data interaction by interface and the external equipment of the USB interface on the detected intelligent television or intelligent television and outside generation data interaction, this sense terminals is for detection of the intelligent television based on Android system, after in detected this sense terminals of TV loading each used bag, obtain the television set bar code of detected intelligent television, all use contracted affreightments capable complete after, the television set bar code of this detected intelligent TV set and the key-value pair database of test item and testing result will be stored in and record preservation in the memory module, convenient at any time to the detecting of intelligent television, the various functions module of monitoring intelligent TV at any time.
In the detection method of the described intelligent television of the various embodiments described above, use at all that contracted affreightments are capable also to comprise the step that testing result is shown at described liquid crystal display screen after complete, and at the table of comparisons of testing result corresponding to the title of the demonstration screen display test item of detected intelligent television and this test item, the testing staff can just see the testing result of this intelligent television then and there, and with regard to this testing result this intelligent television is made corresponding adjustment, detecting accordingly after adjusting.
In the detection system of the described intelligent television of the various embodiments described above, described sense terminals end also comprises as a result output module, is used for after all detections of using bag finish, and the testing result of described application bag is outputed to described LCDs show.
The method that intelligent television described in above-described embodiment detects and terminal can also be applied to the intelligent television based on other intelligence systems, not only limitation and intelligent television based on the andandroid intelligence system.
More than; be preferred embodiment of the present invention only, but protection scope of the present invention is not limited to this, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range that claim was defined.