Set top box testing method and device, set top box and computer readable storage medium

文档序号:882745 发布日期:2021-03-19 浏览:3次 中文

阅读说明:本技术 机顶盒测试方法、装置、机顶盒及计算机可读存储介质 (Set top box testing method and device, set top box and computer readable storage medium ) 是由 刘军 于 2019-08-27 设计创作,主要内容包括:本发明实施例提供一种机顶盒测试方法、装置、机顶盒及计算机可读存储介质,针对接入网络的机顶盒,通过自动抓取该机顶盒各页面上的各访问接口,并自动各访问接口进行访问处理,直到访问完机顶盒所有页面的所有访问接口完成机顶盒的自动运行测试,并结合日志记录功能对该自动运行测试功能进行自动的日志记录,从而可根据得到的日志记录获取到准确的测试结果;通过本发明实施例提供的机顶盒测试方法,可实现对机顶盒的自动测试,不需要人工干预,因此大大降低人力成本,提升测试效率,也能避免人工测试过程因漏测等情况的发生,因此可提升测试结果的精确性。(The embodiment of the invention provides a set top box testing method, a set top box testing device, a set top box and a computer readable storage medium, aiming at a set top box accessed to a network, automatically capturing each access interface on each page of the set top box, automatically performing access processing on each access interface until all the access interfaces of all the pages of the set top box are accessed to complete automatic operation testing of the set top box, and automatically performing log recording on an automatic operation testing function by combining a log recording function, so that an accurate testing result can be obtained according to the obtained log recording; the set top box testing method provided by the embodiment of the invention can realize automatic testing of the set top box without manual intervention, thereby greatly reducing the labor cost, improving the testing efficiency, avoiding the occurrence of conditions such as missing testing in the manual testing process and the like, and improving the accuracy of the testing result.)

1. A test method of a set top box comprises an automatic operation test and a log record of the process of the automatic operation test;

the automatic operation test comprises the following steps:

and automatically capturing each access interface on each page of the set top box accessed to the network, and automatically performing access processing on each access interface until all the access interfaces of all the pages are accessed.

2. The set-top box testing method of claim 1, wherein automatically capturing access interfaces on pages of a set-top box accessing a network comprises:

when the set top box enters a current page and the current page is determined to be a page which is not entered, the identification information of the access interfaces on the current page is captured one by one, the captured identification information and the page path of the current page are stored in an associated mode, and the access state of the identification information is set to be not accessed.

3. The set-top box testing method of claim 2, wherein said grabbing identification information of access interfaces on the current page one by one comprises:

when the set top box enters the current page and the current page is determined to be a page which is not entered, controlling a focus by an analog navigation key to select access interfaces one by one in sequence from the left upper corner of the current page according to a left-to-right sequence, and acquiring identification information of the access interface currently selected by the focus until the identification information of all the access interfaces on the current page is acquired.

4. The set-top box testing method of claim 3, wherein obtaining identification information of the access interface currently selected by the focus comprises:

and intercepting the image in the current display area of the currently selected access interface as the identification information of the access interface.

5. The set-top box testing method of any one of claims 2-4, wherein the automatically performing access processing on the access interfaces until all access interfaces of all pages are accessed comprises:

determining that target identification information with an unaccessed access state exists in identification information stored in association with a page where the set top box is located, accessing an access interface corresponding to the target identification information, and updating the access state of the target identification information to be accessed;

when the access states of all identification information stored in association with the current page of the set top box are determined to be accessed and the current page of the set top box is not the original home page, controlling the set top box to enter the upper-level page of the current page;

when the access states of all identification information stored in association with the current page of the set top box are determined to be accessed and the current page of the set top box is the original home page, determining all access interfaces of all the pages which have been accessed;

and the original home page is a home page which is normally displayed and stays after the set top box is started when the set top box is accessed to the network.

6. A set-top box testing method according to any of claims 1-5, wherein said logging the process of autorun testing comprises:

and storing the error information generated in the automatic operation test process to generate an error log.

7. The set-top box testing method of claim 6, wherein the set-top box testing method further comprises:

and intercepting a display interface screenshot when an error occurs in the automatic operation test process, and storing the acquired display interface screenshot and an error log corresponding to the error in an associated manner.

8. A set top box testing device, comprising:

the automatic test control module is used for automatically capturing each access interface on each page of the set top box accessed to the network and automatically performing access processing on each access interface until all the access interfaces of all the pages are accessed;

and the recording module is used for recording the log of the process of the automatic operation test.

9. A set top box comprising a processor, a memory and a communication bus;

the communication bus is used for connecting the processor and the memory;

the processor is adapted to execute the computer program stored in the memory to implement the steps of the set-top box testing method according to any of claims 1-7.

10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which is executable by a processor to implement the steps of the set-top box testing method according to any one of claims 1-7.

Technical Field

The invention relates to the field of interactive networks, in particular to a set top box testing method and device, a set top box and a computer readable storage medium.

Background

In an IPTV (Internet Protocol Television) environment, after a software version of an intelligent set-top box is manufactured, an Electronic Program Guide (EPG) server needs to be accessed for testing, and whether an EPG page displayed by the intelligent set-top box is displayed and a logical operation is normal is tested. In the related art, the test process is performed by a tester manually. The method comprises the steps that a tester tests a set of complete EPG environment of the IPTV, all pages of the set-top box need to be traversed as far as possible, corresponding different business scenes are operated on the pages to judge whether abnormity exists, and meanwhile, the abnormal scenes in the testing process need to be manually recorded by the tester. Through experiments, a tester completes the test of a complete set of EPG environment (namely a set of templates) of the IPTV of the set top box, and the input labor cost is 4 persons per day (namely 32 persons per hour). The IPTV EPG environment deployed in the commercial environment is usually N (N > ═ 2) sets, such as standard definition, high definition, and the like, and the required testing manpower is N × 4 people × day, that is, as the number of commercial templates carried in the set-top box increases, the content to be tested and the required testing manpower increase by times, which not only has the problems of long testing period and high testing manpower cost, but also has the problem of inaccurate testing result due to factors such as easy missing of testing.

Disclosure of Invention

The set top box testing method and device, the set top box and the computer readable storage medium provided by the embodiment of the invention solve the problems of high testing cycle and testing labor cost and inaccurate testing result in the related technology of manually testing the set top box by a tester.

In order to solve the technical problem, an embodiment of the present invention provides a method for testing a set top box, including an automatic operation test, and performing log recording on a process of the automatic operation test;

the automatic operation test comprises the following steps:

and automatically capturing each access interface on each page of the set top box accessed to the network, and automatically performing access processing on each access interface until all the access interfaces of all the pages are accessed.

In order to solve the above technical problem, an embodiment of the present invention further provides a set top box testing apparatus, including:

the automatic test control module is used for automatically capturing each access interface on each page of the set top box accessed to the network and automatically performing access processing on each access interface until all the access interfaces of all the pages are accessed;

and the recording module is used for recording the log of the process of the automatic operation test.

In order to solve the above technical problem, an embodiment of the present invention further provides a set top box, including a processor, a memory, and a communication bus;

the communication bus is used for connecting the processor and the memory;

the processor is configured to execute the computer program stored in the memory to implement the steps of the set-top box testing method as described above.

In order to solve the above technical problem, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored, and the computer program is executable by a processor to implement the steps of the set top box testing method described above.

Advantageous effects

According to the set top box testing method, the set top box testing device, the set top box and the computer readable storage medium, aiming at the set top box accessed to a network, the automatic operation test of the set top box is completed by automatically capturing each access interface on each page of the set top box and automatically performing access processing on each access interface until all the access interfaces of all the pages of the set top box are accessed, and the automatic operation test function is automatically recorded in a log recording manner by combining the log recording function, so that an accurate test result can be obtained according to the obtained log record; the set top box testing method provided by the embodiment of the invention can realize automatic testing of the set top box without manual intervention, thereby greatly reducing the labor cost, improving the testing efficiency, avoiding the occurrence of conditions such as missing testing in the manual testing process and the like, and improving the accuracy of the testing result.

Additional features and corresponding advantages of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.

Drawings

Fig. 1 is a schematic flow chart of a set top box testing method according to a first embodiment of the present invention;

FIG. 2 is a first diagram illustrating a layout of an access interface on a page according to a first embodiment of the present invention;

FIG. 3 is a diagram illustrating a layout of an access interface on a page according to a first embodiment of the present invention;

FIG. 4 is a schematic diagram illustrating a selection sequence of access interfaces on a page according to a first embodiment of the present invention;

FIG. 5 is a diagram illustrating a layout of an access interface on a page according to a first embodiment of the present invention;

fig. 6 is a schematic structural diagram of a set-top box testing device according to a second embodiment of the present invention;

fig. 7 is a schematic view of a testing process of a set-top box according to a second embodiment of the present invention;

fig. 8 is a schematic structural diagram of a set-top box according to a third embodiment of the present invention.

Detailed Description

In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention are described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

The first embodiment is as follows:

aiming at the problems of high test period, high test labor cost and inaccurate test result existing in the manual test of the set top box by a tester in the related technology, the embodiment provides a method for automatically realizing the test of the set top box, which comprises automatic operation test and log recording in the process of the automatic operation test; the automatic operation test mainly can automatically realize automatic switching of each page of the set top box and logic operation on each page, log recording is carried out on the automatic operation test process through logs, accurate test results can be obtained according to the log recording when needed, manual intervention is not needed in the whole test process, labor cost is greatly reduced, test efficiency is improved, conditions such as missing test in the manual test process can be avoided, and accuracy of the test results is guaranteed.

For convenience of understanding, the following description of the present embodiment is made with reference to the set-top box testing method shown in fig. 1 as an example, and please refer to fig. 1, which includes:

s101: the automatic operation test of the set-top box accessed to the network comprises the following steps: and automatically capturing each access interface on each page of the set top box accessed to the network, and automatically performing access processing on each access interface until all the access interfaces of all the pages are accessed.

It should be understood that the set-top box access network in the present embodiment includes, but is not limited to, accessing an EPG environment. The set top box testing method provided by the embodiment is not limited to be applied to a set top box accessing a network, and is also applicable to testing of a set top box which is not accessed to the network and is in an offline environment.

It should be understood that the access interface on the page in the present embodiment includes, but is not limited to, various access interfaces for implementing link access, implementing corresponding functions (e.g., downloading, setting, updating, etc.) or implementing a page link or various information links.

Certainly, in some application scenarios, when a specific function or a specific page of the set top box needs to be tested, only the specific page or the specific access interface may be obtained in S101 for performing an automatic test, and no test is performed on a page or an access interface other than the specific page or the specific access interface. In particular, the flexible configuration can be flexibly configured according to requirements, and it should be understood that the flexible test configuration is also within the coverage of the scheme.

In this embodiment, the home page that is normally displayed and stopped after the set-top box is started when accessing the network is referred to as the original home page of the set-top box.

In this embodiment, when automatically fetching each access interface on each page of the set-top box accessing the network, each access interface on the newly entered page may be fetched whenever the set-top box newly enters a page (i.e., a page that has not been entered before). That is, in this embodiment, when the set-top box enters the current page, it may be determined whether the current page is an unaccessed page, if so, the identification information of the access interfaces on the current page is captured one by one, and the captured identification information is stored in association with the page path of the current page, and the access state of the identification information is set to be unaccessed.

For example, in one example, crawling the identification information of access interfaces on the current page one by one may include, but is not limited to:

when the set top box enters the current page and determines that the current page is a page which is not entered, the access interfaces are sequentially selected one by one from the left upper corner of the current page through the analog navigation key control focus according to the sequence from left to right, and the identification information of the access interface currently selected by the focus is acquired until the identification information of all the access interfaces on the current page is acquired.

The simulated navigation keys in this embodiment may include, but are not limited to, left and right keys and up and down keys, and the focus may be controlled to move on the page to select a corresponding access interface by the left and right keys and the up and down keys. The focus in this embodiment resembles the cursor of a conventional mouse. In this embodiment, the display of the access interface currently selected for the focus on the page can also be flexibly set. For example, in some examples, the access interface currently selected by the focus may be displayed in any display manner that can be distinguished from other unselected access interfaces, such as but not limited to a lighting display, a zooming display, a floating display, or a frame-and-bold display.

For example, in an application scenario, please refer to fig. 2, it is assumed that an access interface a, an access interface B, an access interface C, and an access interface D exist on a certain page of the set top box, and the current focus is to select the access interface a on the left side, and the access interface a is displayed in a magnified manner to be distinguished from the access interface B, the access interface C, and the access interface D.

For another example, in another application scenario, please refer to fig. 3, it is assumed that an access interface a, an access interface B, an access interface C, and an access interface D exist on a certain page of the set top box, the current focus is to select the access interface B, and a frame area of the access interface B is displayed in a bold manner to be distinguished from the access interface a, the access interface C, and the access interface D.

In some application scenarios of this implementation example, an OK key may also be simulated, and when one access interface is selected in focus, access to the access interface is realized by triggering the OK key.

In addition, it should be understood that the identification information of the access interface captured in this embodiment may be any identification information that can uniquely distinguish the access interface on the page from other access interfaces. For example, in an example where the identification information may include, but is not limited to, extracting an image in a display area of the access interface as the identification information of the access interface, in this example, obtaining the identification information of the access interface currently selected by the focus on the page includes:

and intercepting an image in a current display area of the access interface currently selected by the focus on the page as the identification information of the access interface. For example, please refer to fig. 2, at this time, an image (which may be referred to as a focus image in this embodiment) in a current display area (i.e., an enlarged display area) of the access interface a is captured as the identification information of the access interface a; for another example, please refer to fig. 3, at this time, an image in the current display area (i.e., the area displayed in bold type) of the access interface B is captured as the identification information of the access interface B.

In the application scenario shown in fig. 2, when the set-top box first enters the page shown in fig. 2, for the page, the focus is controlled by the analog navigation key from the top left corner of the current page, and the identification information of the access interface currently selected by the focus is sequentially obtained in the order from left to right, the selection process is shown in fig. 4 until the identification information of all the access interfaces on the current page is obtained, and the formed picture database includes the correspondence table shown in table 1 below.

TABLE 1

Of course, it should be understood that the selection order of the access interfaces on the page in the present embodiment is not limited to the order of the above examples, and can be flexibly set according to the requirement. For example, referring to fig. 5, assuming that there is an access interface A, B, C, D, E, F, G, H on the current page, when the identification information of the access interface currently selected by the focus is sequentially obtained in the order from left to right, the obtained order is access interface a → B → C → D → E → F → G → H. In other application scenarios of the embodiment, the obtaining order may also be access interface a → B → C → D → H → G → F → E. In other application scenarios, the access interfaces may be selected in a random order or other order until all access interfaces have been accessed.

In this embodiment, the manner of determining whether a certain access interface on the page is the access interface that has acquired the identification information may include, but is not limited to: acquiring identification information of the access interface, searching whether the same identification information exists in a picture database corresponding to the page, and if so, indicating that the access interface is the access interface which has acquired the identification information; otherwise, the access interface is the access interface which does not acquire the identification information on the page. In this embodiment, the image capturing and the image matching may be performed by, but not limited to, a screen capture saving module and a picture matching module. In this embodiment, the simulation of the navigation key and the OK key can be realized by, but not limited to, a key simulation function module.

In this embodiment, an exemplary manner of automatically performing access processing on each access interface until all the access interfaces of all the pages are accessed may include:

when determining that target identification information with an unaccessed access state exists in identification information stored in association with a page where the set top box is located, accessing an access interface corresponding to the target identification information, and updating the access state of the target identification information to be accessed;

when the access states of all identification information stored in association with the current page of the set top box are determined to be accessed and the current page of the set top box is not the original home page, controlling the set top box to enter the previous page of the current page, and repeating the steps;

and when the access states of all identification information stored in association with the current page of the set top box are determined to be accessed and the current page of the set top box is the original home page, indicating that all access interfaces of all pages are accessed.

S102: and logging the process of the automatic operation test.

In an example of this embodiment, the log may be performed on a selection process of an access interface performed by controlling a focus through a navigation key in the automatic operation test process, and the log may be performed on page script execution, page parsing, and the like in the access interface access process.

In an example of this embodiment, in order to improve the test pertinence and accuracy, logging the process of the automatic operation test may include:

storing error information generated in the automatic operation test process to generate an error log; the generated logs can be actively uploaded or displayed according to the requirements, or uploaded or displayed after the received call is executed, and the error logs can be uploaded or displayed in a centralized manner or preferentially during uploading or displaying; in some application scenarios, only the error log may be uploaded or displayed, and the other logs are not uploaded or displayed.

Additionally, to further aid in error localization and analysis, in some examples, the set-top box testing method may further comprise:

intercepting a corresponding display interface screenshot when an error occurs in the automatic operation test process, and storing the acquired display interface screenshot and an error log corresponding to the error in an associated manner; when the error log is uploaded or displayed, the screenshot of the display interface corresponding to the error log can be uploaded or displayed together; therefore, when error analysis is carried out, comprehensive analysis can be carried out by combining the log information and the corresponding screenshot of the display interface, and the efficiency and the accuracy of the error analysis can be improved.

Example two:

the present embodiment provides a set-top box testing apparatus, which may be disposed in a set-top box or disposed in a testing device for testing the set-top box, please refer to fig. 6, and includes:

the automatic test control module 601 is used for automatically capturing each access interface on each page of the set top box accessed to the network and automatically performing access processing on each access interface until all the access interfaces of all the pages are accessed; for a specific automatic test operation process, please refer to the above embodiments, which are not described herein.

In some examples of this embodiment, the automatic test control module 601 may include, but is not limited to:

the key simulation function module: the set-top box is accessed to an IPTV EPG environment, can trigger a browser to analyze and execute page script logic through keys to display services, and can simulate real key operation of a user through the key simulation function module;

in an embodiment, the key simulation function module may be provided with basic function outputs: a menu key, a return key, a navigation key in the up, down, left and right directions, an OK key and the like, and log saving is performed aiming at errors in the key pressing process.

A screen grabbing and saving module: the device is used for capturing and outputting the image with the size of the appointed position, and storing the image as the picture, or directly capturing the image and storing the image as the picture on the current display interface.

Matching the images with the template: and comparing whether the two pictures are the same or not, wherein the comparison comprises the comparison of factors such as the size of the picture, the data content of the picture and the like, so that whether the identification information of a certain identification interface is the accessed identification interface or the identification interface from which the identification information is extracted can be determined.

The recording module 602 is configured to perform log recording on a process of the automatic operation test, and for a specific recording process, reference is made to the foregoing embodiment, which is not described herein again.

In some examples of this embodiment, the logging module 602 may include a log output module: the method is used for storing the set top box log, recording the logs of a key pressing process, page script execution, page analysis and the like, and simultaneously recording and generating an error log aiming at errors occurring in the operation process.

Based on the set-top box testing device provided by the embodiment, a user can press a direction key of a remote controller through simulation, as long as the user presses a key, the focus can be triggered to move certainly, the coordinate position of the moved focus can be obtained in a browser, and an access interface corresponding to the coordinate position of the focus can be captured, so that each page can generate a picture database of the page, and each access interface only has one picture (called as a focus picture in the embodiment) corresponding to the access interface in the picture database of the page; the focus picture captured by pressing a key once on a page is compared in a picture database of the page to determine whether the focus picture is an access interface which has acquired identification information or an access interface which has been accessed, all access interfaces in each page can be acquired through logic judgment, and access is performed on all the access interfaces one by one, so that the whole set of templates can be traversed, and in the whole process, log capture operation is matched to complete the test of the set top box.

For convenience of understanding, in the present embodiment, a set top box test scenario of a specific application scenario is described as an example, please refer to fig. 7, which includes the following steps:

s701: and after the IPTV EPG environment is accessed from the set-top box, acquiring a normally displayed and stopped page as an original home page, marking the page as URL _ HomeEPG, and starting to perform automatic test from the page.

S702: and acquiring the current page where the set top box is located, and setting the current page as URL 1.

S703: determining whether the current page URL1 is an incoming page, if yes, proceeding to S704; otherwise, go to S705.

S704: and acquiring focus pictures of all access interfaces on the current page URL1 for associated storage.

In this example, the up, down, left and right direction keys are triggered by the key simulation function module, the focus is controlled to traverse all the access interfaces of the URL1 of the current page, the focus picture of each access interface is obtained and marked as not accessed, and a data relationship is generated: page URL 1-focus picture-visited state (not visited).

Meanwhile, when all the access interfaces of the page are traversed by the direction key, log storage is needed for the wrong log.

By pressing a key to obtain the focus picture of all access interfaces of the current page URL1, an exemplary algorithm is described as follows:

each time the direction key is pressed, focus movement and page refreshing are generated, for example, in an example, a refreshing range may be composed of two minimum rectangles, one rectangle is a rectangle corresponding to the access interface at the position where the focus is located last time, the second rectangle is a rectangle corresponding to the access interface where the focus is located after the focus is moved, a second rectangle coordinate is obtained, a screen corresponding to the rectangle coordinate is captured, and a picture of the access interface is obtained and recorded as a focus picture.

Traversing all the access interfaces of the page by pressing a key, similar to a "progressive scan", is described as follows:

A) entering a current page for the first time, moving a focus to the leftmost upper corner through a key (realized by pressing a left direction key and an up direction key, for example, firstly pressing the left direction key until new focus refreshing cannot be generated, then pressing the up direction key until new focus refreshing cannot be generated), acquiring a focus picture of an access interface selected by the focus at present, recording the corresponding relation between a page path and the focus picture, marking as not-accessed, and indicating that the focus picture only belongs to the page path; b) turning to;

B) pressing a 'right' direction key can grab a focus picture of a new access interface selected after the focus is moved to the right, and compares whether the current focus picture is stored in an image database of the page: if the focus picture is saved, the focus on the right direction key is traversed, the focus needs to be returned to the leftmost focus, the next row needs to be entered, the focus is traversed, and the next row enters C);

if the focus picture is a new picture, saving the focus picture, and turning to B);

C) pressing down a direction key to judge whether a new focus picture is grabbed, mainly judging whether the focus of the down direction key changes, and if so, judging whether the grabbed focus picture is the new focus picture: if the focus is not changed or the new focus picture is stored, the lower direction key is not focused, the progressive scanning mode is finished, and the process is finished; if the focus has variation, at the same time, the focus picture is intercepted as a new picture, the focus picture is saved, and the process is shifted to B).

S705: inquiring whether a focus picture with an unvisited access state (namely, an accessed access interface) still exists on the current page URL1, if so, going to S706; otherwise, go to S707.

S706: triggering an OK key through a key module, triggering the service logic of the inaccessible access interface, and marking the focus picture corresponding to the access interface under the page URL1 as accessed.

S707: whether page jump occurs or not, if so, turning to S702; otherwise, go to S705.

The business logic for triggering the OK button to trigger the focus can include, but is not limited to, the following two results:

the first method is that only JavaScript or null logic is executed, and page jumping does not occur;

the second triggers the page to jump to a new URL, setting the jump to the new URL 2.

For the first, still mark the focus of the page as visited, go to step S705;

for the second, the step of S702 will be performed for the new page URL 2.

S708: in the current page URL1, all of the pages corresponding to the focus of the page have been traversed. Judging whether the current page URL1 is the original home page URL _ HomeEPG or not, if so, turning to S710; otherwise, go to S709.

S709: go back to the previous page (labeled URL0) of the current page URL1 and then go to S702.

S710: all pages of the set-top box (in this example, all EPG pages) are traversed and the test is finished. Subsequent users or developers can perform processing such as problem phenomenon backtracking and positioning according to the log and the stored pictures.

It should be understood that, in this embodiment, in addition to the test flow shown in fig. 7, a step-by-step page test mode may also be adopted for testing the set top box, that is, after the access tests on all the access interfaces on each page on one step of page are performed one by one, the pages below the step of page are entered one by one for testing, and so on, until the access interfaces on each page at the lowest step are tested.

Compared with the manual testing in the related technology, the set top box testing method and device provided by the embodiment can accurately traverse all pages, achieve no omission, traverse the linked pages spliced by the JavaScript, achieve the effect of traversing all pages, do not need manual maintenance, run automatically, save testing labor, improve the automatic testing efficiency of the set top box, and the like.

Example three:

the present embodiment further provides a set-top box, which is shown in fig. 8 and includes a processor 801, a memory 802 and a communication bus 803;

the communication bus 803 is used for realizing communication connection between the processor 801 and the memory 802;

in one example, the processor 801 may be used to execute a computer program stored in the memory 802 to implement the steps of the set-top box testing method as in the embodiments above.

In this embodiment, since the set-top box itself may be provided with a computer program for implementing the set-top box testing method, each set-top box may directly enter the testing mode when necessary to conveniently, quickly and accurately complete the automatic testing, so that an ordinary user may also complete the detection of the set-top box when necessary, and the user experience satisfaction is further improved.

The present embodiments also provide a computer-readable storage medium including volatile or non-volatile, removable or non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact disk Read-Only Memory), Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.

In one example, the computer readable storage medium in the present embodiment may be used for storing a computer program, which may be executed by a processor to implement the steps of the set-top box testing method in the above embodiments.

The present embodiment also provides a computer program (or computer software), which can be distributed on a computer readable medium and executed by a computing device to implement at least one step of the set-top box testing method as shown in the above embodiments; and in some cases at least one of the steps shown or described may be performed in an order different than that described in the embodiments above.

The present embodiments also provide a computer program product comprising a computer readable means on which any of the computer programs as set out above is stored. The computer readable means in this embodiment may include a computer readable storage medium as shown above.

It will be apparent to those skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing device), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.

In addition, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to one of ordinary skill in the art. Thus, the present invention is not limited to any specific combination of hardware and software.

The foregoing is a more detailed description of embodiments of the present invention, and the present invention is not to be considered limited to such descriptions. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

15页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:一种检测方法与装置

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!