Set top box reliability test instruction generation system and method
Through the instruction generation system for set-top box reliability testing, users can generate shell instructions through visual interface selection and editing operation methods, which solves the problems of poor test flexibility and operability in the existing technology, realizes efficient and easy-to-use automated testing, and reduces the cost of cost.
Patent Information
- Application Number
- CN202410857708.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-08-23
AI Technical Summary
The existing technology requires editing and maintaining scripts during set-top box testing, which is not flexible enough and has poor operability for non-professionals, which increases the cost and difficulty.
Provides an instruction generation system for set-top box reliability testing, including an operation module, an editing module and an analysis module. The user selects an operation mode, edits attributes and generates shell instructions through a visual interface. The system encapsulates and sends it to the media device to realize automated testing.
It improves the efficiency, ease of use and accuracy of testing, reduces maintenance costs, enables non-programmers to operate, and supports a variety of equipment and reliability operation modules.
Smart Images

Figure CN118540465A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a system and method for generating instructions for reliability testing of a set-top box. Background Art
[0002] Set-top box is another name for digital video conversion box (Set Top Box, STB), which is a device that connects a TV set to an external signal source. The set-top box can convert compressed digital signals into TV content and display it on the TV set. With the continuous development of digital signal TV technology, set-top boxes are accepted by the majority of users and the demand is huge.
[0003] In order to ensure that the set-top box can provide services to users stably and reliably, the set-top box needs to be tested before it leaves the factory to ensure that the set-top box can work stably and normally after leaving the factory. The original technology realizes operation by connecting the PC to the media device and importing the shell script, and realizes testing by modifying and maintaining the script. This method not only needs to edit and maintain the script before importing it into the PC, but also lacks flexibility. In addition, it is not operable and maintainable for non-professionals who lack the ability to read and understand the code, which increases costs and has problems. Summary of the invention
[0004] In view of the defects in the prior art, the present invention provides a system and method for generating instructions for set-top box reliability testing to solve the existing problems.
[0005] The present invention is realized by the following technical scheme: a set-top box reliability test instruction generation system, comprising an operation module, an editing module, a receiving module and an analysis module, characterized in that: in the operation module, a user selects a mode of live broadcast, on-demand, time shift, playback or manually editing a package name / activity, selects matching attributes and edits them through the editing module, including keys (up key, down key, random key, etc.), key interval (2s, 5s), execution time (12h, 24h, 48h), etc., and finally selects to generate a shell instruction, and the system encapsulates the generated shell instruction according to a transmission protocol and sends it to a media device.
[0006] Preferably, the media device of the receiving module receives the instruction to execute the operation and save the log information in real time.
[0007] Preferably, the media device of the analysis module returns the operation information (including CPU, memory, temperature, etc.) to the system end for data analysis.
[0008] Preferably, each operation instruction configuration can be canceled; the device can be disconnected to stop running.
[0009] A method for generating instructions for a set-top box reliability test is characterized by comprising the following steps: S1, starting a software system and entering an operation page; S2, establish a connection through the serial port or network, and select one or more devices; S3, user selection, such as live broadcast, on-demand, time-shift, playback, or manual editing of package names / activity; S4, select matching attributes and edit; S5, the system automatically generates shell script instructions and sends them to the box to execute operations.
[0010] The beneficial effects of the present invention are embodied in the following aspects: high efficiency: the present invention directly and automatically generates instructions through a visual interface to execute box-end operations; ease of use: the present invention does not require script writing and can be directly operated through an interface, which is easy to understand; maintainability: the present invention can also be operated by non-programmers, thereby reducing maintenance costs; accuracy: the present invention defines a standard interface to generate instructions to ensure the consistency of instructions; high compatibility; the present invention can operate different devices, multiple devices, and select different reliability operation modules. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0012] Figure 1 A specific flow chart of the instruction generation system of the present invention; Figure 2 This is a list diagram of the attribute information editing of the present invention. DETAILED DESCRIPTION
[0013] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present invention, so the present invention is not limited by the specific embodiments disclosed below.
[0014] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be an intermediate element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be an intermediate element at the same time.
[0015] For ease of description, spatial relative terms such as "upper," "lower," "left," and "right" may be used herein to describe the relationship of one element or feature shown in a figure relative to another element or feature. It should be understood that the spatial terms are intended to include different orientations of the device in use or operation in addition to the orientation shown in the figures. For example, if the device in the figure is inverted, elements described as being "below" other elements or features will be positioned "above" the other elements or features. Thus, the exemplary term "below" may include both upper and lower orientations.
[0016] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more related listed items.
[0017] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific implementation of the present invention is described in detail below in conjunction with specific embodiments: Figure 1-Figure 2 The present invention is implemented by the following technical solution: start the software system and enter the operation page; establish a connection through a serial port or a network, and select one or more devices.
[0018] The user selects an operation module, such as live, on-demand, time-shift, replay, or manually edits the package name / activity.
[0019] Select the matching attributes and edit them, including key (up key, down key, random key, etc.), key interval (2s, 5s), execution time (12h, 24h, 48h) Edit the property information and select Generate Shell Instructions.
[0020] The system encapsulates the generated shell instruction according to the transmission protocol and sends it to the media device.
[0021] The media device receives the instruction to execute the operation and save the log information in real time.
[0022] The media device returns the operating information (including CPU, memory, temperature, etc.) to the system for data analysis.
[0023] The operation command configuration can be canceled; the device can be disconnected to stop operation.
[0024] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. A set-top box reliability test instruction generation system, comprising an operation module, an editing module, a receiving module and an analysis module, characterized in that: In the operation module, the user selects live broadcast, on-demand, time-shift, playback or manually edits the package name / activity, selects and edits matching attributes through the editing module, including keys (up key, down key, random key, etc.), key interval (2s, 5s), execution time (12h, 24h, 48h), etc., and finally selects to generate shell instructions. The system encapsulates the generated shell instructions according to the transmission protocol and sends them to the media device.
2. The set-top box reliability test instruction generation system according to claim 1, characterized in that: The media device of the receiving module receives the instruction to execute the operation and save the log information in real time.
3. The set-top box reliability test instruction generation system according to claim 1, characterized in that: The media device of the analysis module returns the operation information (including CPU, memory, temperature, etc.) to the system end for data analysis.
4. The set-top box reliability test instruction generation system according to claim 1, characterized in that: Each operation command configuration can be canceled; the equipment can be disconnected to stop operation.
5. A method for generating instructions for set-top box reliability testing is characterized by: The process includes the following steps: S1, starting the software system and entering the operation page; S2, establish a connection through the serial port or network, and select one or more devices; S3, user selection, such as live broadcast, on-demand, time-shift, playback, or manual editing of package names / activity; S4, select matching attributes and edit; S5, the system automatically generates shell script instructions and sends them to the box to execute operations.
