CN115809034A - Display device, analysis device, debugging method of display device, and storage medium - Google Patents

Display device, analysis device, debugging method of display device, and storage medium Download PDF

Info

Publication number
CN115809034A
CN115809034A CN202111079264.7A CN202111079264A CN115809034A CN 115809034 A CN115809034 A CN 115809034A CN 202111079264 A CN202111079264 A CN 202111079264A CN 115809034 A CN115809034 A CN 115809034A
Authority
CN
China
Prior art keywords
debugging
display device
display
abnormal
script file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111079264.7A
Other languages
Chinese (zh)
Inventor
张瑞吉
初德进
于新磊
齐消消
陈先义
王昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Visual Technology Co Ltd
Original Assignee
Hisense Visual Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hisense Visual Technology Co Ltd filed Critical Hisense Visual Technology Co Ltd
Priority to CN202111079264.7A priority Critical patent/CN115809034A/en
Publication of CN115809034A publication Critical patent/CN115809034A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses display device, analytical equipment, debugging method and storage medium of display device, belongs to display device's exception handling technical field, and display device includes: the processor is configured to execute and acquire debugging information at least comprising the component identification, determine a script file corresponding to the component identification in the debugging information according to the established corresponding relation between the component identification and the script file, execute the script file to obtain abnormal analysis data, and further store the abnormal analysis data into an external storage device; a display configured to display an image. Therefore, when the display equipment is abnormal, the processor of the display equipment can be controlled to execute the corresponding script file for debugging to obtain abnormal analysis data, and then the abnormal reason is analyzed based on the abnormal analysis data, so that a technician is not required to manually position possible abnormal points, and the abnormal processing speed of the display equipment can be increased.

Description

Display device, analysis device, debugging method of display device, and storage medium
Technical Field
The present application relates to the field of exception handling technologies for display devices, and in particular, to a display device, an analysis device, a debugging method for a display device, and a storage medium.
Background
In the related art, when the display device is abnormal, a technician on the site judges a possible abnormal reason according to the abnormal phenomenon, and then repeatedly debugs the display device based on the possible abnormal reason to locate and solve the abnormality, wherein the abnormal processing speed is relatively slow. A slightly complex anomaly usually needs to be reproduced for many times to be really solved, so the current anomaly handling method can prolong the product development period of the display device and can also prolong the market problem solving period of the display device after leaving the factory.
Therefore, how to increase the speed of solving the abnormality of the display device is an urgent problem to be solved.
Disclosure of Invention
The embodiment of the application provides a display device, an analysis device, a debugging method of the display device and a storage medium, which are used for solving the problem that the abnormal solving speed of the display device in the related technology is slow.
In a first aspect, an embodiment of the present application provides a display device, including:
a processor configured to perform:
acquiring debugging information, wherein the debugging information at least comprises a component identifier;
determining a script file corresponding to the component identifier in the debugging information according to the established corresponding relation between the component identifier and the script file;
executing the script file to obtain abnormal analysis data;
storing the abnormal analysis data into an external storage device;
a display configured to display an image.
In some embodiments, the processor, when executing the script file to obtain the anomaly analysis data, is specifically configured to:
analyzing the script file to obtain a plurality of debugging commands, wherein each debugging command has a safety level which is used for representing the influence degree of executing the debugging command on the abnormal state;
and executing the plurality of debugging commands according to the sequence of the security level from high to low, and taking the execution result of each debugging command as the abnormal analysis data.
In some embodiments, the debug information further comprises security level indication information, the processor further configured to:
screening the debugging commands which are matched with the security level indicated by the security level indicating information from the debugging commands before executing the debugging commands according to the sequence of the security levels from high to low.
In some embodiments, the processor is further configured to construct a multilevel directory in the storage device based on the component identifier, the number of security levels corresponding to the component identifier, and the time for obtaining the debugging information;
the processor is specifically configured to, when saving the anomaly analysis data in an external storage device:
performing mapping analysis based on a local designated directory, the security level of each debugging command and the corresponding component identifier to determine a directory in the multilevel directories;
and saving the execution result of the debugging command under the determined directory.
In some embodiments, the anomaly analysis data comprises: the numerical value of the key register corresponding to the component identifier in the debugging information and the functional representation data of the key function corresponding to the component identifier in the debugging information are obtained, wherein when the corresponding functional component is a sound component, the functional representation data comprise: the sound component carries out audio stream with preset duration before and after each audio processing flow; when the corresponding functional component is a display component, the functional characterization data includes: the display component displays the image frames before and after each image processing procedure.
In some embodiments, the debugging information is sent by a user through a combined key on a remote controller, or the debugging information is sent by a debugging person through a debugging device.
In some embodiments, any combination of the following commands are contained in the script file:
the command of accessing the middleware, the command of accessing the hardware abstraction layer, the command of accessing the external service and the command of directly accessing the serial service.
In a second aspect, an embodiment of the present application provides an analysis apparatus, including:
the input interface is used for acquiring abnormal analysis data from a storage device externally connected with a display device, wherein the display device is any one of the display devices;
a controller configured to perform:
and analyzing the abnormal reason of the display equipment based on the abnormal analysis data.
In a third aspect, an embodiment of the present application provides a method for debugging a display device, including:
acquiring debugging information, wherein the debugging information at least comprises a component identifier;
determining a script file corresponding to the component identifier in the debugging information according to the established corresponding relation between the component identifier and the script file;
executing the script file to obtain abnormal analysis data;
and storing the abnormal analysis data into an external storage device.
In a fourth aspect, an embodiment of the present application provides an anomaly analysis method for a display device, including:
acquiring abnormal analysis data from a storage device externally connected with a display device, wherein the display device is any one of the display devices;
and analyzing the abnormal reason of the display equipment based on the abnormal analysis data.
In a fifth aspect, embodiments of the present application provide a storage medium, where when instructions in the storage medium are executed by a processor of a display device, the display device is capable of executing the above debugging method of the display device or the abnormality analysis method of the display device.
In an embodiment of the present application, a display device includes: the processor is configured to execute the debugging information at least comprising the component identification, determine a script file corresponding to the component identification in the debugging information according to the established corresponding relation between the component identification and the script file, execute the script file to obtain abnormal analysis data, and further store the abnormal analysis data into an external storage device; a display configured to display an image. Therefore, when the display equipment is abnormal, the processor of the display equipment can be controlled to execute the corresponding script file for debugging, abnormal analysis data is obtained, abnormal reasons are analyzed based on the abnormal analysis data, and a technician is not required to manually position possible abnormal points, so that the abnormal processing speed of the display equipment can be increased. In addition, in the embodiment of the application, the functional components are debugged according to the granularity of the script file, the relevance ratio between different functional components is relatively low, and the debugging flexibility is favorably improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic view of an operation scenario between a display device and a control apparatus according to an embodiment of the present disclosure;
fig. 2 is a block diagram of a configuration of a control device according to an embodiment of the present disclosure;
fig. 3 is a block diagram of a hardware configuration of a display device according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a software configuration in a display device according to an embodiment of the present application;
fig. 5 is a schematic view of an icon control interface display of an application program in a display device according to an embodiment of the present application;
fig. 6 is a flowchart of a debugging method of a display device according to an embodiment of the present application;
fig. 7 is a schematic hardware structure diagram of a display device according to an embodiment of the present disclosure;
fig. 8 is a schematic diagram illustrating a process of debugging a display device according to an embodiment of the present application;
fig. 9 is a flowchart of a debugging method for a display device according to another embodiment of the present application;
FIG. 10 is a block diagram of a multi-level directory according to an embodiment of the present disclosure;
FIG. 11 is a block diagram of another multi-level directory provided in an embodiment of the present application;
fig. 12 is a schematic hardware structure diagram of a display device according to an embodiment of the present disclosure;
fig. 13 is a flowchart of an abnormality analysis method for a display device according to an embodiment of the present disclosure;
fig. 14 is a schematic diagram of an image processing process according to an embodiment of the present application;
fig. 15 is a schematic diagram illustrating an abnormal display screen according to an embodiment of the present application;
fig. 16 is a schematic diagram illustrating a comparison between a picture of a TestPattern and a picture output by the TestPattern after the TestPattern passes through a plurality of image processing nodes according to the embodiment of the present application;
fig. 17 is a block diagram of an analysis device according to an embodiment of the present application.
Detailed Description
To make the objects, embodiments and advantages of the present application clearer, the following description of exemplary embodiments of the present application will clearly and completely describe the exemplary embodiments of the present application with reference to the accompanying drawings in the exemplary embodiments of the present application, and it is to be understood that the described exemplary embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
All other embodiments, which can be derived by a person skilled in the art from the exemplary embodiments described herein without making any inventive step, fall within the scope of the appended claims. In addition, while the disclosure herein has been presented in terms of one or more exemplary examples, it should be appreciated that aspects of the disclosure may be implemented solely as a complete embodiment. It should be noted that the brief descriptions of the terms in the present application are only for convenience of understanding of the embodiments described below, and are not intended to limit the embodiments of the present application. These terms should be understood in their ordinary and customary meaning unless otherwise indicated.
Fig. 1 is a schematic view of an operation scenario between a display device and a control device according to an embodiment of the present application, and as shown in fig. 1, a user may operate the display device 200 through a mobile terminal 300 and the control device 100. The control device 100 may be a remote controller, and the communication between the remote controller and the display device includes infrared protocol communication, bluetooth protocol communication, wireless or other wired method to control the display device 200. The user may input a user command through a key on a remote controller, a voice input, a control panel input, etc. to control the display apparatus 200. In some embodiments, mobile terminals, tablets, computers, laptops, and other smart devices may also be used to control the display device 200.
In some embodiments, the mobile terminal 300 may install a software application by which the purpose of one-to-one control operation and data communication is achieved with the display device 200. The audio and video content displayed on the mobile terminal 300 may also be transmitted to the display device 200, so as to implement a synchronous display function. The display apparatus 200 also performs data communication with the server 400 through various communication means. The display device 200 may be allowed to be communicatively connected through a Local Area Network (LAN), a Wireless Local Area Network (WLAN), and other networks. The server 400 may provide various contents and interactions to the display apparatus 200. The display device 200 may be a liquid crystal display, an OLED display, a projection display device. The display apparatus 200 may additionally provide an intelligent network tv function that provides a computer support function in addition to the broadcast receiving tv function.
Fig. 2 is a block diagram of a configuration of a control device 100 according to an embodiment of the present disclosure. As shown in fig. 2, the control device 100 includes a controller 110, a communication interface 130, a user input/output interface 140, a memory, and a power supply. The control apparatus 100 may receive an operation instruction input by a user, convert the operation instruction into an instruction recognizable and responsive by the display device 200, and play a role of mediating interaction between the user and the display device 200. The communication interface 130 is used for communicating with the outside, and includes at least one of a WIFI chip, a bluetooth module, NFC, or an alternative module. The user input/output interface 140 includes at least one of a microphone, a touch pad, a sensor, a key, or an alternative module.
Fig. 3 is a block diagram of a hardware configuration of a display device 200 according to an embodiment of the present disclosure. The display apparatus 200 as shown in fig. 3 includes at least one of a tuner demodulator 210, a communicator 220, a detector 230, an external device interface 240, a controller 250, a display 260, an audio output interface 270, a power supply, a memory, and a user interface 280. The controller includes a central processor, a video processor, an audio processor, a graphic processor, a RAM, a ROM, and first to nth interfaces for input/output. The display 260 may be at least one of a liquid crystal display, an OLED display, a touch display, and a projection display, and may also be a projection device and a projection screen. The tuner demodulator 210 receives a broadcast television signal through a wired or wireless reception manner, and demodulates an audio/video signal, such as an EPG data signal, from a plurality of wireless or wired broadcast television signals. The detector 230 is used to collect signals of the external environment or interaction with the outside. The controller 250 and the tuner-demodulator 210 may be located in different separate devices, that is, the tuner-demodulator 210 may also be located in an external device of the main device where the controller 250 is located, such as an external set-top box.
In some embodiments, the controller 250 controls the operation of the display device and responds to user operations through various software control programs stored in memory. The controller 250 controls the overall operation of the display apparatus 200. A user may input a user command on a Graphical User Interface (GUI) displayed on the display 260, and the user input interface receives the user input command through the Graphical User Interface (GUI). Alternatively, the user may input a user command by inputting a specific sound or gesture, and the user input interface receives the user input command by recognizing the sound or gesture through the sensor.
In some embodiments, a "user interface" is a media interface for interaction and information exchange between an application or operating system and a user that enables conversion between an internal form of information and a form that is acceptable to the user. A common presentation form of a User Interface is a Graphical User Interface (GUI), which refers to a User Interface related to computer operations and displayed in a graphical manner. It may be an interface element such as an icon, a window, a control, etc. displayed in the display screen of the electronic device, where the control may include at least one of an icon, a button, a menu, a tab, a text box, a dialog box, a status bar, a navigation bar, a Widget, etc. visual interface elements.
Fig. 4 is a schematic diagram of software configuration in a display device 200 according to an embodiment of the present disclosure, and as shown in fig. 4, the system is divided into four layers, which are, from top to bottom, an Application (Applications) layer (for short, "Application layer"), an Application Framework (Application Framework) layer (for short, "Framework layer"), an Android runtime (Android runtime) layer and a system library layer (for short, "system runtime library layer"), respectively. The inner core layer comprises at least one of the following drivers: audio drive, display driver, bluetooth drive, camera drive, WIFI drive, USB drive, HDMI drive, sensor drive (like fingerprint sensor, temperature sensor, pressure sensor etc.) and power drive etc..
Fig. 5 is a schematic display diagram of an icon control interface of an application program in a display device according to an embodiment of the present application, as shown in fig. 5, an application program layer includes at least one application program that can display a corresponding icon control in a display, for example: the system comprises a live television application icon control, a video on demand application icon control, a media center application icon control, an application center icon control, a game application icon control and the like. The live television application program can provide live television through different signal sources. A video-on-demand application may provide video from different storage sources. Unlike live television applications, video on demand provides a video display from some storage source. The media center application program can provide various applications for playing multimedia contents. The application program center can provide and store various application programs.
In order to facilitate understanding of the scheme of the present application, a debugging method of the display device proposed in the present application is described below with specific embodiments. Fig. 6 is a flowchart illustrating a debugging method of a display device according to an embodiment of the present application, including the following steps.
In step S601, debug information is obtained, where the debug information at least includes a component identifier.
In specific implementation, the debugging information may be sent by the user through a control device, such as a combination key on a remote controller, or may be sent by a debugger through professional debugging equipment. That is to say, the scheme provided by the embodiment of the application is suitable for solving the abnormity of the display device in the development stage and also suitable for solving the abnormity of the display device after the display device leaves the factory.
And when the display device is abnormal, one, two, three or more functional components can be selected to be debugged, so that the debugging information can contain at least one component identification.
In step S602, a script file corresponding to the component identifier in the debugging information is determined according to the established correspondence between the component identifier and the script file.
In specific implementation, one script file is used for debugging all or part of functions of one functional component, so that more than one script file can exist in one functional component, in order to explain the relation between the script file and the functional component, the corresponding relation between the component identifier and the script file can be established in advance, and then the script file corresponding to each component identifier in the debugging information can be determined based on the corresponding relation.
Also, one script file may include any combination of a command to access middleware, a command to access a Hardware Abstraction Layer (HAL), a command to access an external service, and a command to directly access a serial service. That is to say, the script file may include diversified debugging commands to debug different types of objects or services, which is beneficial to improving the debugging completeness of the script file for corresponding functional components and obtaining richer exception analysis data, thereby improving the accuracy of subsequent exception analysis.
In step S603, the script file is executed to obtain the anomaly analysis data.
When the method is specifically implemented, the script file is analyzed, a plurality of debugging commands can be obtained, each debugging command has a safety level, the safety level is used for representing the influence degree of executing the debugging command on the abnormal state, then, the debugging commands are executed according to the sequence from high to low of the safety level, and the execution result of each debugging command is used as abnormal analysis data.
Therefore, the debugging commands with small influence degree on the abnormal state can be executed firstly, then the debugging commands with large influence degree on the abnormal state are executed, the debugging is carried out under the condition that the abnormal site is protected as far as possible, more accurate abnormal analysis data can be obtained, and the accuracy of subsequent abnormal analysis is improved.
In practical application, for the condition that the debugging information is sent by the user through the control device, such as the combined keys on the remote controller, a plurality of combined keys can be arranged on the remote controller, one combined key can trigger the execution of the debugging commands of all safety levels, and each of the other combined keys can trigger the execution of the debugging commands of one safety level. In this way, if the technician does not remotely guide, the user can try to trigger the execution of the debugging commands of all safety levels or part of the safety levels, and if the technician remotely guides, the user can trigger the execution of the debugging commands of certain safety levels only, so that the debugging flexibility is better.
Therefore, in some embodiments, the debugging information may further include security level indication information, in which case, after parsing the script file to obtain a plurality of debugging commands, a debugging command matching the security level indicated by the security level indication information may be screened from the plurality of debugging commands, and then, the screened debugging commands are executed in order from high to low in security level, and the execution result of each debugging command is used as the abnormal analysis data. Thus, the flexibility of debugging is better.
Further, when different functional components are debugged using debug commands having the same security level, a plurality of debug commands having the same security level can be executed in the order of the debug priority of the functional components from high to low.
Taking a channel component and a sound component in a display device to be debugged as an example, the performance of the sound component under different channels can be different, so the debugging of the sound component needs to be established on the premise that the channel component can normally switch channels, and in order to improve the debugging effectiveness of the sound component, the channel switching function of the channel component can be debugged first, and then the related functions of the sound component can be debugged. Of course, it is a precondition that the debug command for debugging the channel switching function corresponds to the same security level as the debug command for debugging the sound component-related function.
Therefore, the debugging priority of the channel component can be set to be higher, and the debugging priority of the sound component can be set to be lower, so that the debugging command corresponding to the channel component can be executed first, then the debugging command corresponding to the sound component can be executed, and the debugging reasonability can be improved.
Generally, each functional component has its own key register and key function, and the exception of a functional component is likely to be reflected on the value of the key register and the functional characterization data of the key function. The anomaly analysis data may include: the value of the key register corresponding to the component identifier in the debug information and the functional characterization data of the key function corresponding to the component identifier in the debug information, wherein, when the corresponding functional component is a sound component, the functional characterization data may be: the sound component carries out audio stream with preset duration before and after each audio processing flow; when the corresponding functional component is a display component, the functional characterization data may be: the display component displays the image frames before and after each image processing procedure.
Therefore, richer abnormal analysis data of the sound assembly and the display assembly can be obtained, the abnormal analysis of the sound assembly and the display assembly is facilitated, and the abnormal processing speed of the sound assembly and the display assembly is further promoted.
In step S604, the abnormality analysis data is saved in an external storage device.
During specific implementation, a mounting path of the storage device can be found first, and based on the component identifier, the security level number corresponding to the component identifier, and the time for acquiring the debugging information, a multilevel directory is constructed under the mounting path, that is, the multilevel directory is constructed in the storage device. For example, in order to distinguish debugging data at different times, a directory is constructed at the time of obtaining debugging information, a subdirectory is named under the directory by each component identifier, and in order to distinguish debugging commands of the same functional component with different security levels, a plurality of lower directories are constructed under each subdirectory.
Subsequently, when the abnormal analysis data is stored in the external storage device, mapping analysis can be performed on the basis of the locally specified directory, the security level of each debug command and the corresponding component identifier, so as to determine a directory in the multi-level directory, and further store the execution result of the debug command in the determined directory.
In the embodiment of the application, when the display device is abnormal (such as poor image quality and abnormal tone quality), the processor of the display device can be controlled to execute the script file for debugging, so that abnormal analysis data is obtained, and then the reason of the abnormality is analyzed, and a technician is not required to manually locate possible abnormal points, so that the abnormal processing speed of the display device can be increased. In addition, the functional components are debugged according to the granularity of the script file, the relevance between different functional components is relatively low, and the debugging flexibility is favorably improved.
In addition, it should be noted that the process of executing the debug command to debug the display device is also a process of resolving the exception, and the exception may be resolved after executing a certain debug command, or may not be resolved after executing all the debug commands. In any case, the anomaly analysis data can be used for locating and analyzing the anomaly cause.
The display device provided by the embodiment of the present application is described below with reference to specific embodiments.
Fig. 7 is a schematic diagram of a hardware structure of a display device according to an embodiment of the present disclosure, where a power supply is used to supply power to a main chip; the plug-in storage is used for providing storage service for the main chip; the signal input is used for providing a signal source for the main chip; a control input for switching a signal source of the main chip; the main chip is used for performing control processes such as signal processing, image quality/sound effect processing and output on an input signal source to complete an audio and video function, outputting a Low-Voltage Differential signaling (LVDS)/VBYONE to a screen, and outputting audio to a power amplifier.
In practical applications, the main chip is usually designed and developed by professional solution suppliers, and the internal processing flow is complex and is not disclosed externally. When the master chip has relatively complicated abnormality, a work team consisting of technical support engineers, service development engineers and scheme traders is required to follow up the processing. Sometimes, a special tool provided by a scheme supplier is needed to read the related information in the abnormal state. On-site conditions often hardly meet various requirements, and technical support engineers can only perform comparative analysis by means of plugging signal lines, switching channels, powering on and powering off and the like to locate and solve the abnormity. These methods are simple and rough, cannot solve complex problems and scene-related problems, and are not favorable for deep analysis of technicians. To this end, the embodiment of the present application provides a scheme for acquiring relevant data at the time of an abnormality by means of the display device itself.
Taking a storage device externally connected to the display device as an example, as a usb disk, fig. 8 is a schematic diagram of a process of debugging the display device according to an embodiment of the present application. The HDMI, the Digital Media Player (DMP), the Digital Television (DTV), the Analog Signal Television (ATV), and the Composite Video Baseband Signal (CVBS) (often called as Composite terminal or AV terminal because they commonly occur with an audio interface, and the CVBS is conventionally called as AV channel) are 5 switchable Signal channels of the display device, and the system component, the channel component, the display component, the sound component, and the backlight component are functional components in the display device, and each functional component may correspond to at least one script file, and the script file is written by a technician according to the functional characteristics of the functional module.
The USB flash disk identification is used for creating a working directory of the USB flash disk under the fixed directory according to the name and the safety level of the functional component, and a mapping relation exists between the fixed directory and an external connection path of the USB flash disk;
the channel management is used for switching the currently accessed channel of the display equipment based on the received channel switching instruction;
the script file analysis is used for analyzing the script file to obtain a plurality of debugging commands;
and the level classification is used for executing a plurality of debugging commands according to the sequence of the security level from high to low so as to finish debugging the middleware access service, the HAL layer access service, the external service and the serial port service, and storing the execution result of each debugging command into the U disk as abnormal analysis data, namely storing the execution result of the script file into the U disk as the abnormal analysis data.
It should be noted that, in fig. 8, only the channel component needs to select the script file corresponding to the current channel through channel management, and the other functional modules do not need to select the script file through channel management.
During specific implementation, when the display device is abnormal, if a technician can determine the functional component which possibly has a problem based on experience, the related functional components can be debugged only, and if the technician cannot determine the functional component which possibly has the problem based on experience, all the functional components can be debugged. That is to say, the technician can choose to debug some functional components and can choose to debug all functional components, so the flexibility of debugging is better.
In some embodiments, a script file corresponding to a functional component to be debugged may be acquired, the acquired script file may be parsed to obtain a plurality of debug commands, and the plurality of debug commands may be executed in an order from high to low according to the security level.
For example, the security level of the debug command is classified into three levels: the debugging command of the security level can safely acquire working state data of the display equipment, the debugging command of the risk level can realize a basic problem positioning processing flow and usually cannot damage an abnormal site, and the debugging command of the damage level can confirm a problem point in modes of switching channels, rapidly outputting modes and the like and usually damage the abnormal site. Then the debug commands may be executed in the order of the security level, the risk level, and the destruction level.
Considering that the amount of video stream data output by a display device is large, it is not practical to record the video stream when an abnormality occurs in the display device. Therefore, various types of test graphic cards (each test graphic card is an image with a special style) can be designed, a certain test graphic card is designed to be inserted into the appointed video processing node, if the test graphic card displayed by the display equipment is the same as the designed test graphic card, the subsequent processing flow of the appointed video processing node is considered to be normal, otherwise, the subsequent processing flow of the appointed video processing node is considered to be abnormal, and the abnormal node is checked node by node. The problem points of input signals, main chip processing and screen processing can be distinguished more quickly by the mode of the graphic card.
And the volume of the audio stream data output by the display equipment is relatively small, so that the audio data can be recorded in all or part of the audio processing nodes according to the requirement when the display equipment is abnormal, and then the waveform or sound of the recorded audio data is analyzed to judge which audio processing node has a problem. In addition, some audio processing nodes can be skipped by closing all or part of the processing flow of the audio processing nodes for the audio stream, and the audio processing nodes with abnormality are checked based on the audio stream after the audio processing nodes are skipped.
It should be noted that the debugging command for performing exception checking on the video stream or the audio stream is generally a risk level debugging instruction.
In specific implementation, each functional component has its own key register and key function, and the exception of the functional component is likely to be reflected from the value of the key register and the functional characterization data of the key function. The debugging result obtained by debugging each functional component may include: and the numerical value of the key register corresponding to the functional component and the functional representation data of the key function corresponding to the functional component. When the functional component is a sound component, the function representation data comprises audio streams of preset duration before and after each audio processing flow of the sound component; when the functional component is a display component, the functional characterization data includes image frames of the display component before and after each image processing procedure. Therefore, the method is favorable for accurately and visually expressing the abnormity of the types such as a screen splash, a screen flashing, abnormal color, popping and the like, and is also favorable for further improving the abnormity processing speed of the sound assembly and the display assembly.
Taking debugging of a technician as an example, fig. 9 is a flowchart of a debugging method of a display device according to an embodiment of the present application, including the following steps:
in step S901, debug information is acquired, and the debug information includes a component identifier.
In step S902, the channel name is updated according to the channel identifier of the current channel.
In step S903, it is determined whether the usb disk path is queried, and if not, the process proceeds to step S904, and if so, the process proceeds to step S905.
In specific implementation, if the display device is externally connected with a U disk, the path of the U disk (namely, the mounting path of the U disk) can be inquired, and if the display device is not externally connected with the U disk, the path of the U disk cannot be inquired.
In step S904, the present flow ends.
In step S905, a multi-level directory is constructed under the usb disk path according to the component identifier, the total number of corresponding security levels, and the debug time.
The debug time may be the time when the debug information is acquired.
In specific implementation, some functional components may have three security levels of debug commands, and some functional components may have two security levels of debug commands, so that the total number of security levels corresponding to different component identifiers may be the same or different.
Assuming that the component is identified as aaa and the total number of security levels is 3, the multi-level directory constructed in the usb disk may be as shown in fig. 10, wherein xxx represents a path name, and 1, 2, and 3 represent three security levels with successively lower security levels.
Assuming that the components are identified as aaa, bbb and the total number of security levels is 3, the multi-level directory constructed in the usb disk may be as shown in fig. 11, wherein xxx represents a path name, and 1, 2, and 3 represent three security levels with successively lower security levels.
In step S906, the local designation directory is mapped to the usb disk.
In step S907, the script file corresponding to the component identifier is read, and if the script file is successful, step S908 is performed, otherwise, step S904 is performed.
In specific implementation, if the user command is wrong or there is no script file corresponding to the component identifier, the reading will fail.
In step S908, the script file is parsed to obtain a plurality of debug commands.
In step S909, a plurality of debug commands are executed in order of security level from high to low to debug the serial port service, the middleware, the HLA layer, and the external service.
In step S910, the execution result of each debug command is saved in the multi-level directory.
Taking fig. 10 as an example, when executing a debug command with a security level of level 1 in the functional component corresponding to aaa, the execution result of the debug command may be saved in directory 1 in fig. 10, when executing a debug command with a security level of level 2 in the functional component corresponding to aaa, the execution result of the debug command may be saved in directory 2 in fig. 10, and when executing a debug command with a security level of level 3 in the functional component corresponding to aaa, the execution result of the debug command may be saved in directory 3 in fig. 10.
It should be noted that S902 is an optional step, and is not required to be executed when performing channel-independent debugging.
Based on the same concept as the debugging method of the above-described display device, as shown in fig. 12, a display device is provided. The display device is capable of performing the steps of the debugging method of the display device, and the details are not described here to avoid repetition. The display device includes:
a processor 1201 configured to perform:
acquiring debugging information, wherein the debugging information at least comprises a component identifier;
determining a script file corresponding to the component identifier in the debugging information according to the established corresponding relation between the component identifier and the script file;
executing the script file to obtain abnormal analysis data of each functional component, wherein the abnormal analysis data is used for analyzing the abnormality of the display equipment;
storing the abnormal analysis data into an external storage device;
a display 1202 configured to display an image.
In some embodiments, the processor 1201 is specifically configured to, when executing the script file to obtain the anomaly analysis data:
analyzing the script file to obtain a plurality of debugging commands, wherein each debugging command has a safety level which is used for representing the influence degree of executing the debugging command on the abnormal state;
and executing a plurality of debugging commands according to the sequence of the security level from high to low, and taking the execution result of each debugging command as abnormal analysis data.
In some embodiments, the debug information further includes security level indication information, and the processor 1201 is further configured to:
screening the debug command matching the security level indicated by the security level indication information from the plurality of debug commands before executing the plurality of debug commands in the order of the security level from high to low.
In some embodiments, the processor 1201 is further configured to construct a multi-level directory in the storage device based on the component identifier, the number of security levels corresponding to the component identifier, and the time for acquiring the debugging information;
when saving the anomaly analysis data in the external storage device, the processor 1201 is specifically configured to:
performing mapping analysis based on the locally specified directory, the security level of each debug command and the corresponding component identifier to determine a directory in the multi-level directory;
and saving the execution result of the debugging command under the determined directory.
In some embodiments, the anomaly analysis data includes: the numerical value of the key register corresponding to the component identification in the debugging information and the functional representation data of the key function corresponding to the component identification in the debugging information, wherein when the corresponding functional component is a sound component, the functional representation data comprises: the sound component carries out audio stream with preset duration before and after each audio processing flow; when the corresponding functional component is a display component, the functional characterization data includes: the display component displays the image frames before and after each image processing flow.
In some embodiments, the debugging information is sent by the user through a combined key on the remote controller, or the debugging information is sent by the debugging personnel through the debugging equipment.
In some embodiments, any combination of the following commands are contained in the script file:
the command of accessing the middleware, the command of accessing the hardware abstraction layer, the command of accessing the external service and the command of directly accessing the serial service.
In order to facilitate understanding of the scheme of the present application, the following describes an abnormality analysis method for a display device according to an embodiment of the present application. Fig. 13 is a flowchart illustrating a debugging method of a display device according to an embodiment of the present application, including the following steps.
In step S1301, anomaly analysis data is acquired from a storage device externally connected to the display device.
Taking a storage device externally connected with the display device as a U disk as an example, the U disk is connected to the analysis device, and the abnormal analysis data of the display device stored in the U disk can be obtained.
In step S1302, the cause of the abnormality of the display device is analyzed based on the abnormality analysis data.
Generally, methods for analyzing the cause of the abnormality include an exclusion method and a comparison method, and the two abnormality analysis methods are described below with reference to specific embodiments.
Elimination method-finding out abnormal points according to image processing flow or audio processing flow, and mainly checking the processing flow behind the abnormal points.
An image processing procedure provided in the embodiment of the present application is described below with reference to fig. 14.
A Multimedia Video Output Processor (MVOP), used in DTV and DMP channels, for encapsulating the data decoded by the front-end decoder into timing data, and sending the timing data to a scaling module (Scaler) at the back end;
the Input multiplexer (IP MUX) is mainly used for switching the Source of the signal Source and selecting which channel of the Source data is sent to the Scaler;
the Input end (Input, IP) is a signal inlet of the Scaler and is mainly used for signal detection;
an Output (OP) for video image processing, such as image zooming, resolution adjustment, etc.;
a Video Output Processor (VOP) which is an Output end of the Scaler and is used for generating Timing information required by a display screen (Panel) and providing data for the screen;
a Mixed Output Display (MOD) belongs to the back end of the Scaler and is used for setting registers and the like related to a display screen;
and the display screen driver (Panel TCON) is used for displaying input data on a screen.
As can be seen from the above process, the image processing process of the Scaler generally includes: and after processing links such as standardization, window scaling, image quality adjustment and the like are carried out on the input signals, outputting the input signals according to the screen specification. The logic details inside the Scaler are very complicated, and the difficulty of carrying out abnormal positioning only from the picture representation is very large. Therefore, the embodiment of the application provides a mode of testing the graphic card TestPattern to quickly locate the exception so as to reduce the exception checking range.
The principle of TestPattern: many image processing nodes can print TestPattern, and the image data input at the front end is replaced by the image data of the TestPattern, if the picture displayed on the display screen is good after a certain image processing node prints the TestPattern, the image processing node after the picture is good is indicated. It is worth noting that TestPattern replaces only valid image data, and Timing information follows the previous signal, e.g., 1080p @60hz for the current signal, and then TestPattern is also 1080p @60hz for Timing.
Assuming that the picture outputted to the screen after the DTV channel is signal-processed shows ghosting as shown in fig. 15, testPattern can be printed at the position Δ shown in fig. 14 by means of a plurality of debug commands, see fig. 16, the picture of TestPattern printed at different positions can be seen in the second column of images of fig. 16, and the picture displayed on the display screen after TestPattern printed at different positions can be seen in the third column of images of fig. 16.
Comparing the pictures of the TestPattern printed at the position delta behind the MVOP with the pictures of the TestPattern printed at the position delta behind the MVOP, which indicates that the flow behind the MVOP has problems, and then combining the pictures of the TestPattern printed at the position delta behind the IP with the problems, which indicates that the flow behind the IP has problems, and the pictures of the TestPattern printed at the position delta behind the OP and the VPD are normal, which indicates that the OP is abnormal. It should be noted that: the ghost dislocation phenomenon can only be shown on the TestPattern with changed content, and the pure TestPattern cannot see the abnormality, so the IPMUX and MOD cannot see the abnormality.
Contrast method-the difference between normal and abnormal is found according to all the information obtained by the image processing flow or audio processing flow analysis.
For example, when the HDMI channel is connected to a Personal Computer (PC) device, the resolution of the PC device is modified, and the problem of screen blurring may occur. The u8FRLRate parameter is FRL _3G _3Lwhen abnormal, and LEGACY _14 when normal, and finally, the FRL _3G _3Ltype signal processing abnormality is confirmed.
Similar methods can be used for audio streams, and are not described in detail herein.
It should be noted that: when the comparison method is used, the interference problem needs to be well handled, because some information is dynamically changed and cannot be used as a judgment basis. Therefore, the correct information can be captured more than twice, so that the interference information is eliminated as much as possible to find the information really influencing the result.
Based on the same concept as the abnormality analysis method of the above-described display apparatus, as shown in fig. 17, there is provided an analysis apparatus capable of performing each step in the abnormality analysis method of the above-described display apparatus, and details thereof will not be given here in order to avoid repetition. The analysis device includes:
an input interface 1701 for acquiring abnormality analysis data from a storage device externally connected to the display device;
a processor 1702 configured to perform:
based on the abnormality analysis data, the cause of abnormality of the display device is analyzed.
The embodiment of the present application also provides a storage medium, and when instructions in the storage medium are executed by a processor of a display device, the display device is capable of executing the debugging method of the display device or the abnormality analysis method of the display device in the foregoing embodiments.
In some possible embodiments, the aspects of the debugging method for a display device/the anomaly analysis method for a display device provided by the present application may also be implemented in the form of a program product, where the program product includes program code, and when the program product runs on a display device, the program code is used to make the display device execute the debugging method for a display device/the anomaly analysis method for a display device in the foregoing embodiments.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable Disk, a hard Disk, a RAM, a ROM, an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a Compact Disk Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product for debugging the display device/analyzing the abnormality of the display device in the embodiment of the present application may employ a CD-ROM and include program codes, and may be run on a computing device. However, the program product of the present application is not so limited, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, radio Frequency (RF), etc., or any suitable combination of the foregoing.
Program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In situations involving remote computing devices, the remote computing devices may be connected to the user computing device over any kind of Network, such as a Local Area Network (LAN) or Wide Area Network (WAN), or may be connected to external computing devices (e.g., over the internet using an internet service provider).
It should be noted that although several units or sub-units of the apparatus are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units described above may be embodied in one unit, according to embodiments of the application. Conversely, the features and functions of one unit described above may be further divided into embodiments by a plurality of units.
Further, while the operations of the methods of the present application are depicted in the drawings in a particular order, this does not require or imply that these operations must be performed in this particular order, or that all of the illustrated operations must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken down into multiple step executions.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the present application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A display device, comprising:
a processor configured to perform:
acquiring debugging information, wherein the debugging information at least comprises a component identifier;
determining a script file corresponding to the component identifier in the debugging information according to the established corresponding relation between the component identifier and the script file;
executing the script file to obtain abnormal analysis data;
storing the abnormal analysis data into an external storage device;
a display configured to display an image.
2. The display device of claim 1, wherein the processor, when executing the script file to obtain the anomaly analysis data, is specifically configured to:
analyzing the script file to obtain a plurality of debugging commands, wherein each debugging command has a safety level which is used for representing the influence degree of executing the debugging command on the abnormal state;
and executing the plurality of debugging commands according to the sequence of the security level from high to low, and taking the execution result of each debugging command as the abnormal analysis data.
3. The display device of claim 2, wherein the debug information further includes security level indication information, the processor further to:
screening the debugging commands which are matched with the security level indicated by the security level indicating information from the debugging commands before executing the debugging commands according to the sequence of the security levels from high to low.
4. The display device according to claim 2 or 3,
the processor is further configured to construct a multilevel directory in the storage device based on the component identifier, the security level corresponding to the component identifier, and the time for acquiring the debugging information;
the processor is specifically configured to, when saving the anomaly analysis data in an external storage device:
performing mapping analysis based on a locally specified directory, the security level of each debug command and the corresponding component identifier to determine a directory in the multi-level directory;
and saving the execution result of the debugging command under the determined directory.
5. The display device of claim 1, wherein the anomaly analysis data comprises: the value of the key register corresponding to the component identifier in the debugging information and the function representation data of the key function corresponding to the component identifier in the debugging information are obtained, wherein when the corresponding functional component is a sound component, the function representation data comprises: the sound component carries out audio stream with preset duration before and after each audio processing flow; when the corresponding functional component is a display component, the functional characterization data includes: the display component displays the image frames before and after each image processing procedure.
6. The display device of claim 1, wherein the debugging information is sent by a user through a combination key on a remote controller or the debugging information is sent by a debugging person through a debugging device.
7. The display device of claim 1, wherein any combination of the following commands are contained in the script file:
the command of accessing the middleware, the command of accessing the hardware abstraction layer, the command of accessing the external service and the command of directly accessing the serial service.
8. An analysis apparatus, comprising:
the input interface is used for acquiring the abnormal analysis data from a storage device externally connected with a display device, and the display device is the display device according to any one of claims 1 to 7;
a controller configured to perform:
and analyzing the abnormal reason of the display equipment based on the abnormal analysis data.
9. A debugging method of a display device is characterized by comprising the following steps:
acquiring debugging information, wherein the debugging information at least comprises a component identifier;
determining a script file corresponding to the component identifier in the debugging information according to the established corresponding relation between the component identifier and the script file;
executing the script file to obtain abnormal analysis data;
and storing the abnormal analysis data into an external storage device.
10. A storage medium, wherein instructions in the storage medium, when executed by a processor of a display device, enable the display device to perform the method of claim 9.
CN202111079264.7A 2021-09-15 2021-09-15 Display device, analysis device, debugging method of display device, and storage medium Pending CN115809034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111079264.7A CN115809034A (en) 2021-09-15 2021-09-15 Display device, analysis device, debugging method of display device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111079264.7A CN115809034A (en) 2021-09-15 2021-09-15 Display device, analysis device, debugging method of display device, and storage medium

Publications (1)

Publication Number Publication Date
CN115809034A true CN115809034A (en) 2023-03-17

Family

ID=85481965

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111079264.7A Pending CN115809034A (en) 2021-09-15 2021-09-15 Display device, analysis device, debugging method of display device, and storage medium

Country Status (1)

Country Link
CN (1) CN115809034A (en)

Similar Documents

Publication Publication Date Title
US10725892B2 (en) Method and system for automated testing of a graphical user interface for customer devices
CN102439981A (en) A test system for a set-top box
CN103974061B (en) A kind of method of testing and system play
KR20070069614A (en) Software test method and software test apparatus
US20100017717A1 (en) Video processing device and control method therefor
US20130155206A1 (en) Method and a system for generating a signal for a video display unit
WO2015008448A1 (en) Information processing apparatus, information recording medium, information processing method, and program
CN112580302B (en) Subtitle correction method and display equipment
CN102164248B (en) Automatic caption testing method and system
CN1976412B (en) Video processing apparatus and its control method
CN112565740A (en) Fault diagnosis method, terminal device and display device
US20140176728A1 (en) Receiver and a transmitter
US20160373816A1 (en) Automation testing apparatus
WO2010016251A1 (en) Video processing device
CN115809034A (en) Display device, analysis device, debugging method of display device, and storage medium
CN113573149B (en) Channel searching method and display device
CN112911381B (en) Display device, mode adjustment method, device and medium
CN109600571B (en) Multimedia resource transmission test system and multimedia resource transmission test method
CN104699366A (en) Method for retrieving information, processing unit and medical imaging system
KR100862291B1 (en) Service menu execution apparatus for digital television
CN113391849B (en) Radio frequency parameter debugging method, display method, device and magnetic resonance imaging system
CN112911370A (en) Recording file and recording list display method and display equipment
Freitas et al. Ginga middleware on a soc for digital television set-top box
CN109271311B (en) Demand scene method and demand scene device
CN108337503B (en) Digital television field environment simulation method, terminal and computer readable medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination