State evaluation method and device of set top box, medium and equipment
By sending test signals to the set-top box and playing test videos based on periodic changes in grayscale values, and identifying and positioning the abnormal modules of the set-top box, the problem of poor performance in the status evaluation of set-top box in the prior art is solved, and a more intuitive and accurate performance of status evaluation is achieved.
Patent Information
- Application Number
- CN202510365465.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-26
- Publication Date
- 2025-04-25
- Estimated Expiration
- 2045-03-26
AI Technical Summary
In the prior art, the effectiveness of the evaluation of set-top box status is poor, especially the passive evaluation depends on indicator lights and is not intuitive. The image information carried by the active evaluation test signal is single and cannot fully reflect the true status of the set-top box.
The test video is obtained based on an image with periodic changes in grayscale values by sending a test signal to the target set-top box and playing the test video through a display connected to the set-top box signal. During the display playing test video, several test images are obtained based on the multi-frame screen displayed by the display during the target change period, defect recognition is performed on the test images, and abnormal module is located according to the defect recognition results. According to the matching degree between the abnormal module's state change in the target change period and the defect recognition results, the status evaluation results of the target set-top box are obtained.
The set-top box status evaluation is carried out through an active initiation method. The signal carrying the test video allows the display to display images, which more intuitively reflects the abnormality of the set-top box status, ensuring that the defect can be presented and identified from the dimensions of different grayscale values, and then accurately locate the abnormal module, improve the effect of the set-top box status evaluation, and guide maintenance work.
Smart Images

Figure CN119893178A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method, device, medium and equipment for evaluating the status of a set-top box. Background Art
[0002] A digital video conversion box (Set Top Box), also known as a set-top box or set-top box, is a device that connects a TV set to an external signal source. It can convert compressed digital signals into TV content and display it on the TV set. The status of the set-top box determines the quality of the playback and can guide the maintenance of the set-top box.
[0003] The status assessment of the set-top box is divided into active assessment and passive assessment. The effects of these two assessment methods are not good and there is still room for improvement. On the one hand, passive assessment usually relies on the monitoring function of the set-top box itself. When an abnormality occurs in a certain module, the corresponding indicator light will have a corresponding display. However, this method relies too much on the indicator light. If there is a problem with the indicator light, this display method cannot truly reflect the status of the set-top box, and users cannot intuitively feel the abnormal performance of the set-top box status in this way.
[0004] On the other hand, the active evaluation method is to input a test signal into the set-top box, so that some test videos / images are played on the connected monitor to allow users to see defects on the screen, such as snow points, ripples, flickering, jitter, distortion, etc., and use these defects to evaluate the status of the set-top box. Although the display of the picture can more intuitively reflect the abnormal status, the image information carried by the test signal in this way is relatively simple. In a single dimension, it may not be guaranteed that the defects can be fully displayed on the screen, and it cannot reflect the true status of the set-top box. Summary of the invention
[0005] The main purpose of the present application is to provide a method, device, medium and equipment for evaluating the status of a set-top box, aiming to solve the problem of poor effect of status evaluation of a set-top box in the prior art.
[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows: In a first aspect, an embodiment of the present application provides a method for evaluating a state of a set-top box, comprising the following steps: In response to the state evaluation instruction, a test signal is sent to the target set-top box, and a test video carried by the test signal is played through a display connected to the target set-top box signal; wherein the test video is obtained based on an image with periodic grayscale value changes; During the process of playing the test video on the display, a number of test images are obtained according to the multiple frames displayed on the display within the target change period; wherein the target change period includes at least one gray value change period; Perform defect recognition on the test image and locate the abnormal module of the target set-top box based on the defect recognition results; According to the matching degree between the state change of the abnormal module within the target change cycle and the defect identification result, the state evaluation result of the target set-top box is obtained.
[0007] In a possible implementation of the first aspect, obtaining a state evaluation result of a target set-top box according to a matching degree between a state change of an abnormal module within a target change period and a defect identification result includes: According to the matching degree between the state change curve of the abnormal module within the target change period and the fitting curve of the defect identification result, the state evaluation result of the target set-top box is obtained.
[0008] In a possible implementation of the first aspect, before obtaining the state evaluation result of the target set-top box according to the matching degree between the state change curve of the abnormal module within the target change period and the fitting curve of the defect identification result, the method further includes: Quantify the state parameters of the abnormal module within the target change period to obtain the state quantization value; Curve fitting is performed according to the state quantization value to obtain the state change curve of the abnormal module within the target change period.
[0009] In a possible implementation of the first aspect, before obtaining the state evaluation result of the target set-top box according to the matching degree between the state change curve of the abnormal module within the target change period and the fitting curve of the defect identification result, the method further includes: The target defect identified and the target defect not identified in the defect identification result are defined as the first coordinate value and the second coordinate value respectively; Constructing discrete points according to the first coordinate value and the second coordinate value; Curve fitting is performed according to discrete points to obtain a fitting curve.
[0010] In a possible implementation of the first aspect, obtaining a state evaluation result of a target set-top box according to a matching degree between a state change curve of an abnormal module within a target change period and a fitting curve of a defect identification result includes: Perform local peak search on the state change curve of the abnormal module within the target change period and the fitting curve of the defect recognition result to obtain the first peak position and the second peak position respectively; Based on the time axis within the target change period, position matching is performed on the first peak position and the second peak position to obtain a peak matching degree; According to the peak matching degree, the status evaluation result of the target set-top box is obtained.
[0011] In a possible implementation of the first aspect, performing defect recognition on a test image and locating an abnormal module of a target set-top box according to a defect recognition result includes: Perform defect recognition on the test image to obtain defect recognition results; According to the defect identification result, the defect category is obtained; According to the defect category, locate the abnormal module of the target set-top box.
[0012] In a possible implementation of the first aspect, in response to the status evaluation instruction, before sending a test signal to the target set-top box and playing a test video carried by the test signal through a display signal-connected to the target set-top box, the method further includes: Perform orderly grayscale value transformation on the base image; Based on the order of transformations, a test video is generated based on the grayscale images under each transformation.
[0013] In a second aspect, an embodiment of the present application provides a state assessment device for a set-top box, comprising: A test module, the test module is used to send a test signal to a target set-top box in response to a state evaluation instruction, and play a test video carried by the test signal through a display connected to the target set-top box signal; wherein the test video is obtained based on an image with a periodic change in grayscale value; An acquisition module, which is used to acquire a number of test images according to a plurality of frames displayed by the display within a target change period during the process of playing the test video on the display; wherein the target change period includes at least one gray value change period; The recognition module is used to identify defects in the test image and locate the abnormal module of the target set-top box according to the defect recognition result; The evaluation module is used to obtain the state evaluation result of the target set-top box according to the matching degree between the state change of the abnormal module within the target change cycle and the defect identification result.
[0014] In a third aspect, an embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is loaded and executed by a processor, the method for evaluating the status of a set-top box as provided in any one of the first aspects above is implemented.
[0015] In a fourth aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute a computer program so that the electronic device executes the set-top box status assessment method provided in any one of the first aspects above.
[0016] Compared with the prior art, the beneficial effects of this application are: The embodiments of the present application propose a method, device, medium and equipment for evaluating the state of a set-top box. The method includes: in response to a state evaluation instruction, sending a test signal to a target set-top box, and playing a test video carried by the test signal through a display connected to the target set-top box signal; wherein the test video is obtained based on an image with periodic changes in grayscale values; in the process of playing the test video on the display, obtaining a plurality of test images based on multiple frames displayed on the display within a target change cycle; wherein the target change cycle includes at least one grayscale value change cycle; performing defect identification on the test image, and locating an abnormal module of the target set-top box according to the defect identification result; and obtaining a state evaluation result of the target set-top box according to the matching degree between the state change of the abnormal module within the target change cycle and the defect identification result. The present application evaluates the status of a set-top box in an active manner, and uses a signal carrying a test video to display an image on a display, which more intuitively reflects the abnormality of the set-top box status. Since the image in the test video is an image with a periodically changing grayscale value, it can enrich the input signal, and the obtained test image can be presented from the dimensions of different grayscale values, ensuring that there are matching dimensions that allow defects to be presented and identified. Then, the cause of the abnormality is located through the identified defects, that is, the module where the abnormality occurs. By matching the state changes of these abnormal modules within the target change cycle with the defect identification results, the internal cause and manifestation of the set-top box status change are matched, which can not only identify the abnormality of the set-top box status, but also determine whether the abnormal status is accurately located through this matching, thereby improving the effect of the set-top box status evaluation and further accurately guiding the maintenance work of the set-top box. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 A schematic diagram of the structure of an electronic device of a hardware operating environment involved in an embodiment of the present application; Figure 2 A schematic diagram of a flow chart of a method for evaluating a state of a set-top box provided in an embodiment of the present application; Figure 3 A schematic diagram of a module of a set-top box status assessment device provided in an embodiment of the present application; Markings in the figure: 101 - processor, 102 - communication bus, 103 - network interface, 104 - user interface, 105 - memory. DETAILED DESCRIPTION
[0018] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0019] See attached Figure 1 , attached Figure 1This is a schematic diagram of the structure of an electronic device of the hardware operating environment involved in the embodiment of the present application. The electronic device may include: a processor 101, such as a central processing unit (CPU), a communication bus 102, a user interface 104, a network interface 103, and a memory 105. Among them, the communication bus 102 is used to realize the connection and communication between these components. The user interface 104 may include a display (Display), an input unit such as a keyboard (Keyboard), and the user interface 104 may also include a standard wired interface and a wireless interface. The network interface 103 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 105 may optionally be a storage device independent of the aforementioned processor 101. The memory 105 may be a high-speed random access memory (RAM) memory, or it may be a stable non-volatile memory (NVM), such as at least one disk storage. The processor 101 may be a general-purpose processor, including a central processing unit, a network processor, etc., or it may be a digital signal processor, an application-specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component.
[0020] Those skilled in the art will appreciate that Figure 1 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0021] As attached Figure 1 As shown, the memory 105 as a storage medium may include an operating system, a network communication module, a user interface module, and a state evaluation device of a set-top box.
[0022] In the attached Figure 1 In the electronic device shown, the network interface 103 is mainly used for data communication with the network server; the user interface 104 is mainly used for data interaction with the user; the processor 101 and the memory 105 in the present application can be set in the electronic device, and the electronic device calls the set-top box status evaluation device stored in the memory 105 through the processor 101, and executes the set-top box status evaluation method provided in the embodiment of the present application.
[0023] See attached Figure 2 Based on the hardware device of the foregoing embodiment, an embodiment of the present application provides a method for evaluating the status of a set-top box, comprising the following steps: S10: In response to the status evaluation instruction, a test signal is sent to the target set-top box, and a test video carried by the test signal is played through a display connected to the target set-top box signal; wherein the test video is obtained based on an image with periodic changes in grayscale values.
[0024] In the specific implementation process, a trigger button can be set on the set-top box, or a corresponding button can be set on the remote control that controls the set-top box, and the user can actively trigger the status evaluation instruction through the button. Through the control feedback of the electronic device, the status evaluation instruction starts to be performed on the set-top box, and the target set-top box is the set-top box that needs to be evaluated. The test signal is a signal of the same type as the signal received when the set-top box is working normally. Sending a test signal to it can make it play a video similar to a TV program, but the test signal is output to the set-top box for test evaluation, so it does not need to carry complex signals like TV programs. It carries a test video produced to facilitate test evaluation.
[0025] In one embodiment, in response to the status evaluation instruction, before sending a test signal to the target set-top box and playing a test video carried by the test signal through a display connected to the target set-top box signal, the method further includes: Perform orderly grayscale value transformation on the base image; Based on the order of transformations, a test video is generated based on the grayscale images under each transformation.
[0026] In the specific implementation process, after the test signal is input into the set-top box, it is played through a display connected to the set-top box signal to visualize the evaluation process. In order to achieve comprehensive coverage of the test conditions and avoid the situation where some defects are not clearly displayed under fixed picture conditions, resulting in the inability to identify defects in the next step. The test video is generated by continuously changing the basic image of the grayscale value, ensuring that certain defects can be clearly displayed and identified at least under certain grayscale conditions in the constant change. In order to ensure the uniformity of this transformation and to match it with subsequent evaluations, the change of the image grayscale value is set to an orderly periodic change, and the images after each change are arranged in the order of transformation and the test video is output. For example, the change of the grayscale value is a sinusoidal function, which increases and decreases uniformly within a single cycle.
[0027] S20: During the process of playing the test video on the display, a plurality of test images are obtained according to a plurality of frames displayed on the display within a target change period; wherein the target change period includes at least one gray value change period.
[0028] In the specific implementation process, when playing the test video on the display, the image of the display screen is continuously obtained. In order to ensure the completeness of the test results, the obtained multiple frames are at least one gray value change cycle. The multiple frames can be obtained by capturing or shooting the screen. They can be continuous frames or frames with the same number of frames. The number of frames can match the change law of the gray value in a single cycle, that is, a frame is captured every time the gray value changes.
[0029] S30: performing defect recognition on the test image, and locating the abnormal module of the target set-top box according to the defect recognition result.
[0030] In the specific implementation process, after obtaining the test image, perform image-based defect recognition detection on it to obtain the defect features carried on it, and reversely infer the abnormal module through the defect features. Specifically: perform defect recognition on the test image, and locate the abnormal module of the target set-top box according to the defect recognition results, including: Perform defect recognition on the test image to obtain defect recognition results; According to the defect identification result, the defect category is obtained; According to the defect category, locate the abnormal module of the target set-top box.
[0031] Image-based defect recognition can be achieved through training models. Common defect images of various types are used as training samples to train the model so that it can learn to recognize defects. The abnormal module is the functional module of the set-top box that has an abnormality. The defect category can be divided into fuzzy, corresponding to the abnormality of the set-top box decoding module; color distortion or color cast, corresponding to the abnormality of the color processing module; ripples, snowflakes, mosaics, etc., corresponding to the abnormality of the signal source receiving module; the above defects are for a single image, and for defect recognition of multiple images, through the recognition of multiple continuous images, if the image is stuck or delayed, then the corresponding set-top box processor is abnormal; if the image flickers or shakes, then the power module of the set-top box is abnormal.
[0032] S40: Obtaining a state evaluation result of the target set-top box according to the matching degree between the state change of the abnormal module within the target change period and the defect identification result.
[0033] In the specific implementation process, the abnormal result is the direct manifestation of the abnormal module of the set-top box. After the abnormal module is located by reverse deduction of the defect identification result, it is evaluated in combination with the internal cause of the abnormal state of the set-top box. This internal cause can be obtained by collecting the state changes of the abnormal module within the target change cycle. The reason for collecting the target change cycle is to match the internal cause with the performance, so at least the time axis must be matched. By matching the state change with the defect identification result, if it is highly matched, it means that the state evaluation of the set-top box is relatively accurate, and it can be determined that the abnormal performance is indeed caused by the abnormal module, which can accurately guide the maintenance of the set-top box.
[0034] In one embodiment, obtaining a state evaluation result of a target set-top box according to a matching degree between a state change of an abnormal module within a target change period and a defect identification result includes: According to the matching degree between the state change curve of the abnormal module within the target change period and the fitting curve of the defect identification result, the state evaluation result of the target set-top box is obtained.
[0035] In the specific implementation process, in order to compare and match more efficiently, the state changes of the abnormal modules within the target change cycle and the corresponding defect identification results are converted into curves for matching. Since the target change cycle is the same, that is, when the time axis is the same, the matching is simplified to the trend matching of the curve.
[0036] For the construction of the state change curve of the abnormal module within the target change cycle: before obtaining the state evaluation result of the target set-top box according to the matching degree between the state change curve of the abnormal module within the target change cycle and the fitting curve of the defect identification result, the method further includes: Quantify the state parameters of the abnormal module within the target change period to obtain the state quantization value; Curve fitting is performed according to the state quantization value to obtain the state change curve of the abnormal module within the target change period.
[0037] In the specific implementation process, due to the different functions of each module, some clear parameters that characterize the state, such as the working voltage of the power module and the power of the signal receiving module, can be directly used as quantitative values. Some parameters that reflect their state may not be relatively clear numerical parameters, but may be relatively large-scale fuzzy concepts such as excellent, normal and abnormal. In order to convert them all into numerical points for curve fitting, the state parameters are quantified to obtain state quantization values, such as excellent is set to the value 3, good is set to the value 2, and poor is set to the value 1; normal is set to the value 1, and abnormal is set to the value 2. The fuzzy concepts are converted into matching numerical tags, so that the time axis of the target change period can be used as the horizontal axis and the state quantization value as the vertical axis to obtain a series of points. These points can be curve fitted to convert the state changes of the abnormal module within the target change period into curve representation.
[0038] According to the same principle, the defect recognition result is transformed again, that is, according to the matching degree between the state change curve of the abnormal module in the target change period and the fitting curve of the defect recognition result, before obtaining the state evaluation result of the target set-top box, the method further includes: The target defect identified and the target defect not identified in the defect identification result are defined as the first coordinate value and the second coordinate value respectively; Constructing discrete points according to the first coordinate value and the second coordinate value; Curve fitting is performed according to discrete points to obtain a fitting curve.
[0039] In the specific implementation process, the defect recognition results are quantified and divided into two situations: target defects are detected and target defects are not detected. Since there may be many types of defects on the test image, the target defect here refers to a certain abnormal module. If a defect caused by the corresponding module occurs, this defect is the target defect. The detected target defect is marked as a number, recorded as the first coordinate value, and the undetected target defect is recorded as another number, recorded as the second coordinate value; the simplest definition method is to use binary code and mark it with 0 and 1 respectively.
[0040] After the definition is completed, the defect recognition results are quantified, and a method similar to the above method can be used to obtain a series of discrete points with the time axis of the target change cycle as the horizontal coordinate and the defined first coordinate value and second coordinate value as the vertical coordinate. The discrete points are subjected to curve fitting to obtain a fitting curve representing the defect recognition results.
[0041] In one embodiment, obtaining a state evaluation result of a target set-top box according to a matching degree between a state change curve of an abnormal module within a target change period and a fitting curve of a defect identification result includes: Perform local peak search on the state change curve of the abnormal module within the target change period and the fitting curve of the defect recognition result to obtain the first peak position and the second peak position respectively; Based on the time axis within the target change period, position matching is performed on the first peak position and the second peak position to obtain a peak matching degree; According to the peak matching degree, the status evaluation result of the target set-top box is obtained.
[0042] In the specific implementation process, after the above results are quantified and converted into a curve form, the time axis corresponding to the peak part of the curve is the time point when the anomaly occurs. A peak search method is provided to match the fitting curve. The local search is because the fluctuation positions are all points where anomalies occur. Only local search can find all the fluctuation positions, which are recorded as the first peak position and the second peak position, respectively identifying the fluctuation positions on the state change curve and the fitting curve. Next, matching is performed based on these peak positions to check the matching degree of the peak positions, that is, whether the time point when the peak position appears is the same time point, or the error is within a very small range. Such positions are regarded as peak matching, that is, both represent that anomalies have occurred at this time point. Since there are many such matching peak positions, a threshold number is set, such as 80%. If more than 80% of the positions are matched, it means that the peak matching degree is high, and the result of this test evaluation is reliable. If it is lower than this threshold, it means that the reliability of the current evaluation result is low, and the target change cycle can be appropriately extended to continue the collection and evaluation. And the higher the peak matching degree, the more accurate the positioning of the abnormal module. Therefore, the maintenance personnel can accurately and purposefully repair the abnormal module, and after completion, they can execute the method of this application again to experience the effect of the repair through the test video.
[0043] In this embodiment, the status of the set-top box is evaluated by actively initiating a status evaluation, and a signal carrying a test video is used to display an image on the display, so as to more intuitively reflect the abnormality of the set-top box status. Since the image in the test video is an image with a periodically changing grayscale value, it can enrich the input signal, and the obtained test image can be presented from the dimensions of different grayscale values, ensuring that there are matching dimensions to allow defects to be presented and identified. Then, the cause of the abnormality is located through the identified defects, that is, the module where the abnormality occurs. By matching the state changes of these abnormal modules within the target change cycle with the defect identification results, the internal cause and manifestation of the set-top box status change are matched, which not only can identify the abnormality of the set-top box status, but also can determine whether the abnormal status is accurately located through this matching, thereby improving the effect of the set-top box status evaluation and further accurately guiding the maintenance work of the set-top box.
[0044] See attached Figure 3Based on the same inventive concept as in the above-mentioned embodiment, the embodiment of the present application further provides a state evaluation device of a set-top box, comprising: A test module, the test module is used to send a test signal to a target set-top box in response to a state evaluation instruction, and play a test video carried by the test signal through a display connected to the target set-top box signal; wherein the test video is obtained based on an image with a periodic change in grayscale value; An acquisition module, which is used to acquire a number of test images according to a plurality of frames displayed by the display within a target change period during the process of playing the test video on the display; wherein the target change period includes at least one gray value change period; The recognition module is used to identify defects in the test image and locate the abnormal module of the target set-top box according to the defect recognition result; The evaluation module is used to obtain the state evaluation result of the target set-top box according to the matching degree between the state change of the abnormal module within the target change cycle and the defect identification result.
[0045] Those skilled in the art should understand that the division of the various modules in the embodiment is only a division of logical functions, and can be fully or partially integrated into one or more actual carriers in actual application, and these modules can be implemented entirely in the form of software called by a processing unit, or entirely in the form of hardware, or in the form of a combination of software and hardware. It should be noted that each module in the state evaluation device of the set-top box in this embodiment corresponds one-to-one to each step in the state evaluation method of the set-top box in the aforementioned embodiment. Therefore, the specific implementation of this embodiment can refer to the implementation of the state evaluation method of the set-top box in the aforementioned embodiment, which will not be repeated here.
[0046] Based on the same inventive concept as in the aforementioned embodiment, an embodiment of the present application further provides a computer-readable storage medium storing a computer program, which, when loaded and executed by a processor, implements a set-top box status evaluation method as provided in an embodiment of the present application.
[0047] Based on the same inventive concept as in the above-mentioned embodiment, an embodiment of the present application further provides an electronic device, including a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute a computer program so that the electronic device executes the state assessment method of the set-top box provided in the embodiment of the present application.
[0048] In some embodiments, the computer readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disk, or CD-ROM; or various devices including one or any combination of the above memories. The computer may be various computing devices including intelligent terminals and servers.
[0049] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.
[0050] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0051] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices located at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0052] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0053] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0054] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as a read-only memory / random access memory, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a multimedia terminal device (which can be a mobile phone, a computer, a television receiver, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0055] In summary, the present application provides a method, device, medium and equipment for evaluating the state of a set-top box, the method comprising: in response to a state evaluation instruction, sending a test signal to a target set-top box, and playing a test video carried by the test signal through a display connected to the target set-top box signal; wherein the test video is obtained based on an image with periodic changes in grayscale values; in the process of the display playing the test video, obtaining a plurality of test images based on multiple frames displayed on the display within a target change cycle; wherein the target change cycle includes at least one grayscale value change cycle; performing defect identification on the test image, and locating the abnormal module of the target set-top box according to the defect identification result; and obtaining the state evaluation result of the target set-top box according to the matching degree between the state change of the abnormal module within the target change cycle and the defect identification result. The present application evaluates the status of a set-top box in an active manner, and uses a signal carrying a test video to display an image on a display, which more intuitively reflects the abnormality of the set-top box status. Since the image in the test video is an image with a periodically changing grayscale value, it can enrich the input signal, and the obtained test image can be presented from the dimensions of different grayscale values, ensuring that there are matching dimensions that allow defects to be presented and identified. Then, the cause of the abnormality is located through the identified defects, that is, the module where the abnormality occurs. By matching the state changes of these abnormal modules within the target change cycle with the defect identification results, the internal cause and manifestation of the set-top box status change are matched, which can not only identify the abnormality of the set-top box status, but also determine whether the abnormal status is accurately located through this matching, thereby improving the effect of the set-top box status evaluation and further accurately guiding the maintenance work of the set-top box.
[0056] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.
Claims
1. A method for evaluating the status of a set-top box, characterized in that: The following steps are involved: In response to the state evaluation instruction, a test signal is sent to a target set-top box, and a test video carried by the test signal is played through a display connected to the target set-top box signal; wherein the test video is obtained based on an image with periodic grayscale value changes; In the process of playing the test video on the display, a plurality of test images are obtained according to the multiple frames displayed on the display within a target change cycle; wherein the target change cycle includes at least one gray value change cycle; Performing defect recognition on the test image, and locating the abnormal module of the target set-top box according to the defect recognition result; The state evaluation result of the target set-top box is obtained according to the matching degree between the state change of the abnormal module within the target change period and the defect identification result.
2. The method for evaluating the status of a set-top box according to claim 1, characterized in that: The obtaining the state evaluation result of the target set-top box according to the matching degree between the state change of the abnormal module within the target change period and the defect identification result includes: The state evaluation result of the target set-top box is obtained according to the matching degree between the state change curve of the abnormal module within the target change period and the fitting curve of the defect identification result.
3. The method for evaluating the status of a set-top box according to claim 2, characterized in that: Before obtaining the state evaluation result of the target set-top box according to the matching degree between the state change curve of the abnormal module within the target change period and the fitting curve of the defect identification result, the method further includes: quantifying the state parameters of the abnormal module within the target change period to obtain a state quantization value; Curve fitting is performed according to the state quantization value to obtain a state change curve of the abnormal module within the target change period.
4. The method for evaluating the status of a set-top box according to claim 2, characterized in that: Before obtaining the state evaluation result of the target set-top box according to the matching degree between the state change curve of the abnormal module within the target change period and the fitting curve of the defect identification result, the method further includes: The target defect identified and the target defect not identified in the defect identification result are defined as a first coordinate value and a second coordinate value respectively; Constructing discrete points according to the first coordinate value and the second coordinate value; Curve fitting is performed according to the discrete points to obtain a fitting curve.
5. The method for evaluating the status of a set-top box according to claim 2, characterized in that: The step of obtaining the state evaluation result of the target set-top box according to the matching degree between the state change curve of the abnormal module within the target change period and the fitting curve of the defect identification result includes: Performing local peak search on the state change curve of the abnormal module within the target change period and the fitting curve of the defect identification result to obtain a first peak position and a second peak position respectively; Based on the time axis within the target change period, position matching is performed on the first peak position and the second peak position to obtain a peak matching degree; A status evaluation result of the target set-top box is obtained according to the peak matching degree.
6. The method for evaluating the status of a set-top box according to claim 1, characterized in that: The step of performing defect recognition on the test image and locating the abnormal module of the target set-top box according to the defect recognition result includes: Performing defect recognition on the test image to obtain a defect recognition result; Obtaining a defect category according to the defect identification result; According to the defect category, an abnormal module of the target set-top box is located.
7. The method for evaluating the status of a set-top box according to claim 1, characterized in that: Before sending a test signal to a target set-top box in response to the status evaluation instruction and playing a test video carried by the test signal through a display connected to the target set-top box signal, the method further includes: Perform orderly grayscale value transformation on the base image; Based on the order of transformations, the test video is generated according to the grayscale image under each transformation.
8. A state evaluation device for a set-top box, characterized in that: include: A test module, the test module is used to send a test signal to a target set-top box in response to a state evaluation instruction, and play a test video carried by the test signal through a display connected to the target set-top box signal; wherein the test video is obtained based on an image with periodic grayscale value changes; An acquisition module, wherein the acquisition module is used to acquire a plurality of test images according to a plurality of frames displayed by the display within a target change cycle during the process of the display playing the test video; wherein the target change cycle includes at least one gray value change cycle; An identification module, the identification module is used to identify defects in the test image and locate the abnormal module of the target set-top box according to the defect identification result; An evaluation module is used to obtain a status evaluation result of the target set-top box according to a matching degree between a status change of the abnormal module within the target change period and the defect identification result.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is loaded and executed by a processor, the method for evaluating the status of a set-top box according to any one of claims 1 to 7 is implemented.
10. An electronic device, characterized in that: comprising a processor and a memory, wherein: The memory is used to store computer programs; The processor is used to load and execute the computer program so that the electronic device executes the state assessment method of a set-top box according to any one of claims 1 to 7.
Citation Information
Patent Citations
Intelligent identification method and device for PCB defects
CN118226236A
Liquid crystal display screen function detection method, device and equipment and storage medium
CN118747988A
Data detection method and device and electronic equipment
CN119011955A
Abnormity monitoring method, device and equipment of transformer and storage medium
CN119125727A
Video debugging method, device and equipment of IPTV (Internet Protocol Television) set top box and medium
CN119520920A
Cited By
Method and system for generating and rechecking automatic test result of set top box
CN120916009A