Diagnostic method, diagnostic device and electronic device for a display chip
By acquiring voltage waveforms and data from the display chip's interface, and setting up a diagnostic device to automatically identify abnormalities, the problem of difficulty in quickly detecting display chip abnormalities is solved, enabling rapid diagnosis.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-17
- Publication Date
- 2026-03-03
AI Technical Summary
Display chips have few interfaces and a large amount of register data, making it difficult to quickly detect and resolve problems when anomalies occur.
By acquiring interface information, including voltage waveforms and data, from the input and output interfaces of the display chip, it can be determined whether the interface is abnormal. The diagnostic device is set to automatically acquire and judge the interface information to determine the abnormality of the display chip.
It enables rapid detection of display chip malfunctions, achieving automatic diagnosis and improving the efficiency of malfunction diagnosis.
Smart Images

Figure CN116798328B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and more specifically, to a diagnostic method, diagnostic device, and electronic device for display chips. Background Technology
[0002] Due to cost and other factors, display chips typically have fewer interfaces and more register data. When display chips malfunction, it is difficult to quickly identify the problem, leading to a slow resolution.
[0003] Therefore, a method for quickly diagnosing display chip malfunctions is needed. Summary of the Invention
[0004] The main objective of this application is to provide a diagnostic method, diagnostic device, and electronic device for display chips, so as to at least solve the problem that the prior art cannot quickly detect abnormalities in display chips.
[0005] To achieve the above objectives, according to one aspect of this application, a diagnostic method for a display chip is provided. The display chip includes an interface and a diagnostic device. There are two interfaces: an input interface and an output interface. The diagnostic device is used to run the diagnostic method. The diagnostic method includes: acquiring at least interface information through the interface, the interface information including: an interface-generated voltage waveform and interface-generated data, wherein the interface-generated voltage waveform is a waveform corresponding to the voltage emitted by the interface, and the interface-generated data is the data emitted by the interface; determining that the interface is abnormal if the interface-generated voltage waveform is not a predetermined voltage waveform; determining whether the data obtained after parsing the interface-generated data is preset data if the interface-generated voltage waveform is the predetermined voltage waveform; and determining that the interface is abnormal if the data obtained after parsing the interface-generated data is not the preset data.
[0006] Optionally, when the interface is an input interface, at least the interface information is obtained through the interface, including: determining whether the display chip has sent a predetermined output voltage waveform to the input interface; and if it is determined that the display chip has sent the predetermined output voltage waveform to the input interface, obtaining the corresponding interface information through the input interface.
[0007] Optionally, before acquiring at least the interface information through the interface, the method further includes: acquiring the current status data of the display chip, the current status data including at least: the calibration data, firmware version, operating temperature, operating voltage, and operating frequency of the display chip; determining whether the current status data is within a corresponding preset value range; if the current status data is within the corresponding preset value range, determining that the display chip is normal; if the current status data is not within the corresponding preset value range, determining that the display chip is abnormal.
[0008] Optionally, if the input interface and the output interface are normal, the method further includes: acquiring input data sent by the input device through the input interface, and extracting input features corresponding to the input data, wherein the input features include at least one of the following: image features and audio features, wherein the image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least the feature values of sampling frequency, sampling bit depth, and sampling channel number, and the input device is a device directly electrically connected to the display chip through the input interface; determining whether the input features conform to the corresponding standard format, and if the input features conform to the corresponding standard format, determining that the input data is normal; otherwise, determining that the input data is abnormal.
[0009] Optionally, if the input data is normal, the method further includes: determining whether the input feature is within a corresponding predetermined feature value range; if the input feature is within the corresponding predetermined feature value range, determining that the input device is an input device that matches the display chip; if the input feature is not within the corresponding predetermined feature value range, determining that the input device is not an input device that matches the display chip.
[0010] Optionally, if the input interface and the output interface are normal, the method further includes: obtaining extended display identification data of the output device through the output interface, wherein the output device is a device that is directly electrically connected to the display chip through the output interface; verifying the check bit of the extended display identification data, and if the verification passes, determining that the output device is normal; otherwise, if the verification fails, determining that the output device is abnormal.
[0011] Optionally, when the output device is functioning normally, the method further includes: extracting features from the extended display identification data to obtain output device data features, wherein the output device data features include at least one of the following: image features and audio features, wherein the image features include at least feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least sampling frequency, sampling bit depth, and number of sampling channels; obtaining output data obtained by the display chip from the input data input from the input device, wherein the input device is a device directly electrically connected to the display chip through the input interface; extracting output features corresponding to the output data, wherein the output features include at least one of the following: image features and audio features, wherein the image features include at least feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least sampling frequency, sampling bit depth, and number of sampling channels; comparing the output features with the output device data features, wherein if the output features are consistent with the output device data features, the display chip is determined to be functioning normally, and if the output features are inconsistent with the output device data features, the display chip is determined to be functioning abnormally.
[0012] Optionally, if it is determined that the display chip is malfunctioning, the method further includes: a conversion step, which re-converts the input data from the display chip to the input device to obtain re-converted output data; an extraction step, which extracts the output features corresponding to the output data; a comparison step, which compares the output device data features with the output features; if the output device data features and the output features are consistent, it is determined that the display chip is malfunctioning; if the output device data features and the output features are inconsistent, it is determined that the display chip is malfunctioning, and the conversion step, the extraction step, and the comparison step are repeated at least once in sequence until the obtained output features are consistent with the output device data features.
[0013] According to another aspect of this application, a diagnostic device for a display chip is provided. The display chip includes an interface and a diagnostic device. There are two interfaces: an input interface and an output interface. The diagnostic device is used to run the diagnostic method, which includes: a first acquisition unit, configured to acquire at least interface information through the interface, the interface information including: an interface-generated voltage waveform and interface-generated data, wherein the interface-generated voltage waveform is the waveform corresponding to the voltage emitted by the interface, and the interface-generated data is the data emitted by the interface; a first determination unit, configured to determine that the interface is abnormal if the interface-generated voltage waveform is not a predetermined voltage waveform; a second determination unit, configured to determine whether the data after parsing the interface-generated data is preset data if the interface-generated voltage waveform is the predetermined voltage waveform; and a third determination unit, configured to determine that the interface is abnormal if the data after parsing the interface-generated data is not the preset data.
[0014] According to another aspect of this application, an electronic device is provided, comprising: one or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing any of the diagnostic methods described above.
[0015] By applying the technical solution of this application, the voltage waveform and data emitted by the input and output interfaces of the display chip are acquired. It is determined whether the voltage waveform emitted by the interface is a predetermined voltage waveform, and whether the parsed data emitted by the interface is preset data. If the voltage waveform emitted by the interface is the predetermined voltage waveform and the parsed data is preset data, the display chip interface is determined to be normal. If the voltage waveform emitted by the interface is not the predetermined voltage waveform or the parsed data is not preset data, the display chip interface is determined to be abnormal. Compared with existing technologies where the large amount of data in the display chip's registers makes it difficult to quickly detect and resolve abnormalities, this application incorporates a diagnostic device on the display chip. This device automatically acquires the display chip's interface information and automatically determines whether an interface abnormality has occurred by judging whether the interface information is abnormal. Therefore, it solves the problem of not being able to quickly detect display chip abnormalities in existing technologies, achieving the effect of automatic display chip diagnosis. Attached Figure Description
[0016] The accompanying drawings, which form part of this application, are used to provide a further understanding of this application. The illustrative embodiments and descriptions of this application are used to explain this application and do not constitute an undue limitation of this application. In the drawings:
[0017] Figure 1 This illustration shows a hardware structure block diagram of a mobile terminal that performs a diagnostic method for a display chip, according to an embodiment of this application.
[0018] Figure 2 A schematic flowchart of a diagnostic method for a display chip provided by an embodiment of this application is shown;
[0019] Figure 3 A schematic flowchart illustrating a specific diagnostic method for a display chip provided by an embodiment of this application is shown.
[0020] Figure 4 A schematic diagram of the connection of a display chip provided in an embodiment of this application is shown;
[0021] Figure 5 A structural block diagram of a diagnostic device for a display chip provided in an embodiment of this application is shown.
[0022] The above figures include the following reference numerals:
[0023] 102. Processor; 104. Memory; 106. Transmission device; 108. Input / output device. Detailed Implementation
[0024] It should be noted that, unless otherwise specified, the embodiments and features described in this application can be combined with each other. This application will now be described in detail with reference to the accompanying drawings and embodiments.
[0025] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] As described in the background section, existing technologies cannot quickly detect anomalies in display chips. To address this problem, embodiments of this application provide a diagnostic method, diagnostic device, and electronic device for display chips.
[0028] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention.
[0029] The methods and embodiments provided in this application can be executed on a mobile terminal, computer terminal, or similar computing device. Taking running on a mobile terminal as an example, Figure 1 This is a hardware structure block diagram of a mobile terminal for a method of diagnosing a display chip according to an embodiment of the present invention. Figure 1 As shown, a mobile terminal may include one or more ( Figure 1 Only one is shown in the diagram. A processor 102 (which may include, but is not limited to, a microprocessor MCU or a programmable logic device FPGA, etc.) and a memory 104 for storing data are also shown. The mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those skilled in the art will understand that... Figure 1 The structure shown is for illustrative purposes only and does not limit the structure of the mobile terminal described above. For example, the mobile terminal may also include components that are more... Figure 1 The more or fewer components shown, or having the same Figure 1 The different configurations shown.
[0030] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the diagnostic method for the display chip in this embodiment of the invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, thereby implementing the above-described method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof. The transmission device 106 is used to receive or send data via a network. Specific examples of the aforementioned networks may include wireless networks provided by the mobile terminal's communication provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0031] This embodiment provides a diagnostic method for a display chip running on a mobile terminal, computer terminal, or similar computing device. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0032] Figure 2 This is a flowchart of a diagnostic method for a display chip according to an embodiment of this application. Figure 2 As shown, the display chip includes an interface and a diagnostic device. There are two interfaces: an input interface and an output interface. The diagnostic device is used to run the diagnostic method described above. This method includes the following steps:
[0033] Step S201: Obtain at least interface information through the above interface. The interface information includes: voltage waveform emitted by the interface and data emitted by the interface, wherein the voltage waveform emitted by the interface is the waveform corresponding to the voltage emitted by the interface, and the data emitted by the interface is the data emitted by the interface.
[0034] Specifically, the aforementioned display chip includes input and output interfaces. A diagnostic device is installed within the display chip to diagnose the display chip using data transmitted through the input and output interfaces. The input and output interfaces can be, for example, the USB Billboard channel (USB: Universal Serial Bus) in a Type-C interface, the AUX channel in a DisplayPort interface, or the DDC channel in an HDMI (High Definition Multimedia Interface) interface. Under normal operating conditions, the voltage emitted by the display chip's interfaces is within a certain voltage range, and the data emitted by the interfaces is typically the data to be displayed. Therefore, by verifying whether the voltage waveform emitted by the interfaces matches a predetermined voltage waveform and whether the parsed data is the data to be displayed (i.e., the preset data), it can be determined whether the display chip's interfaces have malfunctioned. Thus, the waveform of the voltage emitted by the interfaces and the data emitted by the interfaces are first obtained through the aforementioned input and output interfaces. The waveform of the voltage emitted by the interfaces includes information such as voltage amplitude, phase, and frequency.
[0035] Step S202: If the voltage waveform emitted by the above interface is not the predetermined voltage waveform, determine that the above interface is abnormal.
[0036] Specifically, since the voltage waveform emitted by the interface of the display chip is fixed under normal circumstances, i.e., a predetermined voltage waveform, it is necessary to determine whether the voltage waveform emitted by the interface is the predetermined voltage waveform. If the voltage waveform emitted by the interface is not the predetermined voltage waveform, it indicates that the voltage waveform emitted by the interface is abnormal, and thus it can be determined that the interface of the display chip is abnormal.
[0037] Step S203: If the voltage waveform emitted by the above interface is the predetermined voltage waveform, determine whether the data after parsing the data emitted by the above interface is the preset data.
[0038] Specifically, when the voltage waveform emitted by the interface is a predetermined voltage waveform, it is further necessary to determine whether the data after parsing the data emitted by the interface is the preset data, i.e., whether it is the data that needs to be displayed. The predetermined voltage waveform can be determined according to the actual application scenario. For example, it can be the voltage waveform emitted by any of the above interfaces under normal working conditions. The preset data is the screen data sent to the display chip and that needs to be displayed on the display screen where the display chip is located. This application does not impose specific restrictions on the above predetermined voltage waveform and preset data.
[0039] Step S204: If the data parsed from the above-mentioned interface is not the above-mentioned preset data, the above-mentioned interface is determined to be abnormal.
[0040] Specifically, if the data obtained after parsing the data sent by the interface is not the preset data, it also indicates that the display chip's interface is abnormal. In other words, the display chip's interface is normal only if the voltage waveform sent by the interface is the predetermined voltage waveform and the data obtained after parsing the data sent by the interface is the preset data; otherwise, the interface is determined to be abnormal.
[0041] In this embodiment, the voltage waveform and data emitted by the input and output interfaces of the display chip are acquired. It is determined whether the emitted voltage waveform is a predetermined voltage waveform, and whether the parsed data is preset data. If the emitted voltage waveform is the predetermined voltage waveform and the parsed data is preset data, the display chip interface is determined to be normal. If the emitted voltage waveform is not the predetermined voltage waveform or the parsed data is not preset data, the display chip interface is determined to be abnormal. Compared with existing technologies where display chip anomalies are difficult to detect quickly due to the large amount of data in the display chip registers, this application sets a diagnostic device on the display chip to automatically acquire the display chip's interface information and automatically determine whether the interface is abnormal by judging whether the interface information is abnormal. Therefore, it can solve the problem of not being able to quickly detect display chip anomalies in existing technologies, achieving the effect of automatic display chip diagnosis.
[0042] In specific implementation, when the aforementioned interface is an input interface, step S201 can be achieved through the following steps: determining whether the display chip has sent a predetermined output voltage waveform to the input interface; and, if it is determined that the display chip has sent the predetermined output voltage waveform to the input interface, obtaining the corresponding interface information through the input interface. This method, when the interface is an input interface, first determines whether the display chip has sent a predetermined output voltage waveform to the input interface, and then obtains the interface information, thus determining whether the display chip has malfunctioned.
[0043] In some optional implementations, when the interface is the input interface of the display chip, the display chip sends a fixed voltage signal, i.e., a predetermined voltage waveform, to the input interface. This predetermined voltage waveform can be understood as informing the interface that it needs to obtain interface information. If the display chip does not send this predetermined voltage waveform, it indicates that the display chip itself is abnormal. Therefore, the diagnostic device detects whether the display chip has sent the predetermined voltage waveform to the input interface. If the predetermined voltage waveform is sent, it indicates that the display chip is normal, and then it obtains interface information through the input interface for subsequent analysis and diagnosis.
[0044] To ensure successful collection of interface information for further determining whether the display chip's interface is abnormal, it is necessary to first determine whether the display chip is functioning correctly. The method described in this application, before acquiring at least the interface information through the interface, includes the following steps: acquiring the current status data of the display chip, which includes at least: the display chip's calibration data, firmware version, operating temperature, operating voltage, and operating frequency; determining whether the current status data is within a corresponding preset value range; if the current status data is within the corresponding preset value range, determining that the display chip is functioning correctly; if the current status data is outside the corresponding preset value range, determining that the display chip is abnormal. This method determines whether the display chip is functioning correctly before judging whether its interface is abnormal. This allows for further determination of the display chip's interface function if the display chip is functioning correctly, avoiding the acquisition of invalid interface information when the display chip is abnormal, and improving the efficiency of the anomaly diagnosis process.
[0045] Specifically, before performing anomaly diagnosis on the display chip's interface, the initial state of the display chip must first be checked and analyzed. The initial state is determined by the current state data, which includes the chip's operating voltage, operating temperature, operating frequency, as well as the display chip's calibration data and firmware version. Under normal operating conditions, the above-mentioned current state data are all within a certain value range, i.e., within the preset value range. Therefore, by determining whether the above-mentioned current state data is within the corresponding preset value range, it can be determined whether the display chip is normal.
[0046] In some optional implementations, assuming the input and output interfaces are functioning normally, the method further includes the following steps: acquiring input data sent by the input device through the input interface, and extracting input features corresponding to the input data. These input features include at least one of the following: image features and audio features. The image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space. The audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels. The input device is a device directly electrically connected to the display chip through the input interface. The method then determines whether the input features conform to the corresponding standard format. If the input features conform to the corresponding standard format, the input data is determined to be normal; otherwise, the input data is determined to be abnormal. This method, after determining that the input and output interfaces are functioning normally, continues to collect and analyze the input data from the input interface, thus determining whether the input data from the input interface is normal.
[0047] In the specific implementation process, assuming the display chip interface is normal, it is necessary to further determine whether the data input to the display chip by the input device electrically connected to the display chip through the input interface is normal. The input data of the input device is obtained through the input interface. The input data is usually image data and audio data that need to be displayed on the screen. The following features of the above image data are extracted: resolution, refresh rate, bit depth, color format and color space feature values, and the following features of the audio data are extracted: sampling frequency, sampling bit depth and sampling channel number. During the communication between the input device and the display chip, the above features of the input data need to conform to certain format specifications, i.e., standard format. If the above features of the input data all conform to the corresponding standard format, it indicates that the input data is normal. If any of the above features of the input data does not conform to the corresponding standard format, it is determined that the input data is abnormal.
[0048] If the input data is confirmed to be normal, in order to determine whether the input device is compatible with the display chip, in some optional embodiments, the method further includes the following steps: determining whether the input feature is within a corresponding predetermined feature value range; if the input feature is within the corresponding predetermined feature value range, determining that the input device is compatible with the display chip; if the input feature is not within the corresponding predetermined feature value range, determining that the input device is not compatible with the display chip. This method determines whether the display chip is compatible with the input device by checking whether the input features of the input data are within a predetermined feature value range, thereby determining whether there is an anomaly.
[0049] Specifically, when the input device and the display chip are matched, the characteristics of the data input by the input device are usually within a certain range, i.e., within a predetermined feature value range. For example, the resolution of the image is 1080. Therefore, by checking whether the input characteristics are within the predetermined feature value range, it can be determined whether the display chip and the input device are matched. If the input characteristics are within the predetermined feature value range, it indicates that the input device and the display chip are matched. If the input characteristics are not within the predetermined feature value range, it indicates that the input device and the display chip are not matched.
[0050] To further determine whether the output device connected to the display chip is functioning correctly, assuming the input and output interfaces are normal, the method further includes the following steps: obtaining extended display identification data of the output device (a device directly electrically connected to the display chip via the output interface); verifying the checksum of the extended display identification data; if the verification passes, the output device is determined to be normal; otherwise, if the verification fails, the output device is determined to be abnormal. This method, after confirming that the input and output interfaces of the display chip are normal, further determines whether the output device connected to the display chip is functioning correctly, thus ensuring that the display chip can output data normally.
[0051] Specifically, the display chip's input interface is electrically connected to the input device, and its output interface is electrically connected to the output device. To ensure normal data transmission from the display chip, assuming the interface is functioning correctly, it is also necessary to verify the output device's functionality. This involves performing downstream output device status detection. The Extended Display Identification Data (EDID) of the output device is directly obtained through the display chip's output interface. The checksum in the obtained EDID is used for verification. A successful verification indicates the output device is functioning correctly; a failed verification indicates a device malfunction. The output device can be a monitor, projector, or conversion motherboard, or other receiving devices. The verification method can be any feasible method, such as parity checking. This application does not impose specific limitations on the aforementioned verification methods.
[0052] In some optional embodiments, when the output device is functioning normally, the method further includes the following steps: extracting features from the extended display identification data to obtain output device data features, wherein the output device data features include at least one of the following: image features and audio features, wherein the image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels; obtaining output data obtained by the display chip from the input data input from the input device, wherein the input device is a device directly electrically connected to the display chip through the input interface; extracting output features corresponding to the output data, wherein the output features include at least one of the following: image features and audio features, wherein the image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels; comparing the output features with the output device data features, wherein if the output features are consistent with the output device data features, the display chip is determined to be functioning normally, and if the output features are inconsistent with the output device data features, the display chip is determined to be functioning abnormally. This method compares the characteristics of the input and output data of the display chip to determine whether the display chip is operating normally.
[0053] In the specific implementation process, assuming the output device is functioning normally as described above, the operating status of the display chip is further diagnosed and analyzed. After receiving input data from the input device, the display chip converts the input data to obtain output data, which is then output from the output interface to the output device. The characteristics of the output data are extracted to obtain output features, and the characteristics of the extended display recognition data of the output device are extracted to obtain output device data features. The output features are compared with the aforementioned output device data features. If they match, it indicates that the display chip can correctly convert the input data into output data, meaning the display chip is operating normally. If they do not match, it indicates that the display chip is operating abnormally.
[0054] As an optional implementation, when the display chip is determined to be malfunctioning, the method further includes the following steps: a conversion step, whereby the input data from the display chip to the input device is re-converted to obtain re-converted output data; an extraction step, where output features corresponding to the output data are extracted; a comparison step, where the output device data features and the output features are compared; if the output device data features and the output features are consistent, the display chip is determined to be operating normally; if the output device data features and the output features are inconsistent, the display chip is determined to be malfunctioning, and the conversion step, the extraction step, and the comparison step are repeated at least once until the obtained output features and the output device data features are consistent. This method, when the chip is malfunctioning, re-converts the data and extracts and compares features sequentially until the output device data features and the output features are consistent, thus enabling the display chip to operate normally and output data to the output device for display.
[0055] Specifically, when a display chip malfunctions, the output data needs to be adjusted. This means the display chip needs to re-convert the received input data to obtain re-converted output data. Then, the characteristics of the output data are extracted and compared with the characteristics of the output device data. This process is repeated. If the output device data characteristics and the output characteristics match, the display chip is considered to be operating normally. If they do not match, the display chip is considered to be malfunctioning. Under normal conditions, the output data is output. Under abnormal conditions, the process is repeated until the output characteristics match the output device data characteristics, enabling the display chip to output and display normal data. The diagnostic results from this device are displayed on a computer or other terminal screen, allowing users or staff to quickly identify and resolve the malfunction.
[0056] To enable those skilled in the art to better understand the technical solution of this application, the implementation process of the diagnostic method for display chips of this application will be described in detail below with reference to specific embodiments.
[0057] This embodiment relates to a specific diagnostic method for a display chip, such as... Figure 3 As shown, it includes the following steps:
[0058] Figure 4A schematic diagram of a connection device for a display chip is shown. The display chip includes an input interface, an output interface, and a diagnostic device. An upstream input device is electrically connected to the chip (display chip) through the input interface as a diagnostic information exchange channel for displaying image data input. A downstream output device is electrically connected to the chip through the output interface as a diagnostic information exchange channel for displaying image data output. The interface can specifically be USB-Type-C (USB interface form factor standard, USB: Universal Serial Bus, abbreviated as USB) / Display Port / HDMI Connector (High Definition Multimedia Interface, abbreviated as HDMI).
[0059] Step S1: Start, check and analyze the initial state of the chip (whether the current state data is within the corresponding preset value range). If normal, proceed to step S2; if abnormal, proceed to step S8.
[0060] Step S2: Collect and analyze the status of the chip output interface (whether the voltage waveform emitted by the interface is the predetermined voltage waveform and whether the data after parsing the data emitted by the interface is the preset data). Under normal circumstances, execute step S3; under abnormal circumstances, execute step S8.
[0061] Step S3: Collect and analyze the status of the chip input interface (determine whether the above display chip has sent a predetermined voltage waveform to the above input interface). Under normal circumstances, execute step S4; under abnormal circumstances, execute step S8.
[0062] Step S4: Downstream output device information collection and analysis (verify the check bit of the above extended display identification data). Under normal circumstances, proceed to step S5; under abnormal circumstances, proceed to step S8.
[0063] Step S5: Collect and analyze input information from upstream input devices (determine whether the above input features conform to the corresponding standard format). Under normal circumstances, proceed to step S6; under abnormal circumstances, proceed to step S8.
[0064] Step S6: Diagnostic analysis of upstream input device output information (determine whether the above input features are within the corresponding predetermined feature value range). Under normal circumstances, proceed to step S7; under abnormal circumstances, proceed to step S8.
[0065] Step S7: Chip operating status diagnosis and analysis (compare the above output characteristics and output device data characteristics). Under normal circumstances, proceed to step S8; under abnormal circumstances, proceed to step S8.
[0066] Step S8: Result output. If an abnormality occurs in steps S2 to S8 above, the system will automatically diagnose and return to the corresponding step. Finally, the diagnostic results will be output to a computer or other terminal for display.
[0067] This application also provides a diagnostic device for a display chip. It should be noted that the diagnostic device for a display chip in this application can be used to execute the diagnostic method for a display chip provided in this application. This device is used to implement the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that performs a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0068] The diagnostic device for display chips provided in the embodiments of this application will be described below.
[0069] Figure 5 This is a schematic diagram of a diagnostic device for a display chip according to an embodiment of this application. Figure 5 As shown, the aforementioned display chip includes an interface and a diagnostic device. There are two interfaces: an input interface and an output interface. The diagnostic device is used to operate the diagnostic process and includes:
[0070] The first acquisition unit 10 is used to acquire at least interface information through the interface, the interface information including: the voltage waveform emitted by the interface and the data emitted by the interface, wherein the voltage waveform emitted by the interface is the waveform corresponding to the voltage emitted by the interface, and the data emitted by the interface is the data emitted by the interface.
[0071] Specifically, the aforementioned display chip includes input and output interfaces. A diagnostic device is incorporated within the display chip, which diagnoses the display chip using data transmitted through the input and output interfaces. These input and output interfaces can be specific examples such as the USB Billboard channel in a Type-C interface, the AUX channel in a DisplayPort interface, or the DDC channel in an HDMI interface. Under normal operating conditions, the voltage emitted by the display chip's interfaces falls within a certain voltage range. The data emitted by the interfaces is typically the data to be displayed. Therefore, by verifying whether the voltage waveform emitted by the interfaces matches a predetermined voltage waveform and whether the parsed data is the data to be displayed (i.e., the preset data), it can be determined whether an abnormality has occurred in the display chip's interfaces. Thus, the waveform of the voltage emitted by the interfaces and the data emitted by the interfaces are first obtained through the aforementioned input and output interfaces. The waveform of the voltage emitted by the interfaces includes information such as voltage amplitude, phase, and frequency.
[0072] The first determining unit 20 is used to determine that the interface is abnormal when the voltage waveform emitted by the interface is not a predetermined voltage waveform.
[0073] Specifically, since the voltage waveform emitted by the interface of the display chip is fixed under normal circumstances, i.e., a predetermined voltage waveform, it is necessary to determine whether the voltage waveform emitted by the interface is the predetermined voltage waveform. If the voltage waveform emitted by the interface is not the predetermined voltage waveform, it indicates that the voltage waveform emitted by the interface is abnormal, and thus it can be determined that the interface of the display chip is abnormal.
[0074] The second determining unit 30 is used to determine whether the data after parsing the data sent by the interface is preset data when the voltage waveform sent by the interface is the predetermined voltage waveform.
[0075] Specifically, when the voltage waveform emitted by the interface is a predetermined voltage waveform, it is further necessary to determine whether the data after parsing the data emitted by the interface is preset data, i.e., whether it is data that needs to be displayed. The predetermined voltage waveform can be determined according to the actual application scenario. For example, it can be the voltage waveform emitted by any of the above interfaces under normal working conditions. The preset data is the screen data sent to the display chip and that needs to be displayed on the display screen where the display chip is located. This application does not impose specific restrictions on the above predetermined voltage waveform and preset data.
[0076] The third determining unit 40 is used to determine that the interface is abnormal if the data parsed from the interface is not the preset data.
[0077] Specifically, if the data obtained after parsing the data sent by the interface is not the preset data, it also indicates that the display chip's interface is abnormal. In other words, the display chip's interface is normal only if the voltage waveform sent by the interface is the predetermined voltage waveform and the data obtained after parsing the data sent by the interface is the preset data; otherwise, the interface is determined to be abnormal.
[0078] In this embodiment, the voltage waveform and data emitted by the input and output interfaces of the display chip are acquired. It is determined whether the emitted voltage waveform is a predetermined voltage waveform, and whether the parsed data is preset data. If the emitted voltage waveform is the predetermined voltage waveform and the parsed data is preset data, the display chip interface is determined to be normal. If the emitted voltage waveform is not the predetermined voltage waveform or the parsed data is not preset data, the display chip interface is determined to be abnormal. Compared to existing technologies where display chip malfunctions are difficult to detect quickly due to the large amount of data in the display chip registers, this application provides a diagnostic device on the display chip. This device automatically acquires the display chip's interface information and automatically determines whether an interface malfunction has occurred by judging whether the interface information is abnormal. Therefore, it solves the problem of not being able to quickly detect display chip malfunctions in existing technologies, achieving the effect of automatic display chip diagnosis.
[0079] In specific implementation, when the aforementioned interface is an input interface, the first acquisition unit includes a first determining module and an acquisition module. The first determining module is used to determine whether the display chip has already sent a predetermined voltage waveform to the input interface. The acquisition module, upon determining that the display chip has sent the predetermined voltage waveform to the input interface, acquires the corresponding interface information through the input interface. When the interface is an input interface, this device first determines whether the display chip has sent a predetermined voltage waveform to the input interface, and then acquires the interface information. This ensures that the interface information, namely the interface-sent voltage waveform and the interface-sent data, can be obtained after the display chip has already sent the predetermined voltage waveform to the input interface.
[0080] In some optional implementations, when the interface is the input interface of the display chip, the display chip sends a fixed voltage signal, i.e., a predetermined voltage waveform, to the input interface. This predetermined voltage waveform can be understood as informing the interface that it needs to obtain interface information. If the display chip does not send this predetermined voltage waveform, it indicates that the display chip itself is abnormal. Therefore, the diagnostic device detects whether the display chip has sent the predetermined voltage waveform to the input interface. If the predetermined voltage waveform is sent, it indicates that the display chip is normal, and then it obtains interface information through the input interface for subsequent analysis and diagnosis.
[0081] To ensure successful collection of interface information for further determining whether the display chip's interface is abnormal, it is necessary to first determine whether the display chip is functioning correctly. The device described in this application further includes a second acquisition unit, a fourth determination unit, a fifth determination unit, and a sixth determination unit. The second acquisition unit acquires the current status data of the display chip, which includes at least: the display chip's calibration data, firmware version, operating temperature, operating voltage, and operating frequency. The fourth determination unit determines whether the current status data is within a corresponding preset value range. The fifth determination unit determines that the display chip is functioning correctly if the current status data is within the corresponding preset value range. The sixth determination unit determines that the display chip is abnormal if the current status data is outside the corresponding preset value range. This device determines whether the display chip is functioning correctly before judging whether its interface is abnormal. This allows for further determination of the display chip's interface function if the display chip is functioning correctly, avoiding the acquisition of invalid interface information when the display chip is abnormal, and improving the efficiency of the abnormality diagnosis process.
[0082] Specifically, before performing anomaly diagnosis on the display chip's interface, the initial state of the display chip must first be checked and analyzed. The initial state is determined by the current state data, which includes the chip's operating voltage, operating temperature, operating frequency, as well as the display chip's calibration data and firmware version. Under normal operating conditions, the above-mentioned current state data are all within a certain value range, i.e., within the preset value range. Therefore, by determining whether the above-mentioned current state data is within the corresponding preset value range, it can be determined whether the display chip is normal.
[0083] In some optional embodiments, the device further includes a first extraction unit and a seventh determination unit. The first extraction unit is used to acquire input data sent by the input device through the input interface and extract input features corresponding to the input data. The input features include at least one of the following: image features and audio features. The image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space. The audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels. The input device is a device directly electrically connected to the display chip through the input interface. The seventh determination unit is used to determine whether the input features conform to the corresponding standard format. If the input features conform to the corresponding standard format, the input data is determined to be normal; otherwise, the input data is determined to be abnormal. After determining that the input interface and output interface are normal, the device continues to collect and analyze the input data from the input interface, thus determining whether the input data from the input interface is normal.
[0084] In the specific implementation process, assuming the display chip interface is normal, it is necessary to further determine whether the data input to the display chip by the input device electrically connected to the display chip through the input interface is normal. The input data of the input device is obtained through the input interface. The input data is usually image data and audio data that need to be displayed on the screen. The following features of the above image data are extracted: resolution, refresh rate, bit depth, color format and color space feature values, and the following features of the audio data are extracted: sampling frequency, sampling bit depth and sampling channel number. During the communication between the input device and the display chip, the above features of the input data need to conform to certain format specifications, i.e., standard format. If the above features of the input data all conform to the corresponding standard format, it indicates that the input data is normal. If any of the above features of the input data does not conform to the corresponding standard format, it is determined that the input data is abnormal.
[0085] If the input data is confirmed to be normal, in order to determine whether the input device is compatible with the display chip, in some optional embodiments, the device further includes an eighth determining unit, a ninth determining unit, and a tenth determining unit. The eighth determining unit is used to determine whether the input feature is within a corresponding predetermined feature value range; the ninth determining unit is used to determine that the input device is compatible with the display chip if the input feature is within the corresponding predetermined feature value range; and the tenth determining unit is used to determine that the input device is not compatible with the display chip if the input feature is not within the corresponding predetermined feature value range. This device determines whether the display chip is compatible with the input device by checking whether the input feature of the input data is within a predetermined feature value range, thereby determining whether there is an anomaly.
[0086] Specifically, when the input device and the display chip are matched, the characteristics of the data input by the input device are usually within a certain range, i.e., within a predetermined feature value range. For example, the resolution of the image is 1080. Therefore, by checking whether the input characteristics are within the predetermined feature value range, it can be determined whether the display chip and the input device are matched. If the input characteristics are within the predetermined feature value range, it indicates that the input device and the display chip are matched. If the input characteristics are not within the predetermined feature value range, it indicates that the input device and the display chip are not matched.
[0087] To further determine whether the output device connected to the display chip is functioning correctly, the aforementioned device further includes a third acquisition unit and an eleventh determination unit. The third acquisition unit acquires extended display identification data of the output device through the output interface, whereby the output device is directly electrically connected to the display chip via the output interface. The eleventh determination unit verifies the checksum of the extended display identification data; if the verification passes, the output device is determined to be functioning correctly; otherwise, if the verification fails, the output device is determined to be malfunctioning. This device, after confirming that the input and output interfaces of the display chip are functioning correctly, further determines whether the output device connected to the display chip is functioning correctly, thus ensuring that the display chip can output data correctly.
[0088] Specifically, the display chip's input interface is electrically connected to the input device, and its output interface is electrically connected to the output device. To ensure normal data transmission from the display chip, assuming the interface is functioning correctly, it is also necessary to verify the output device's functionality. This involves performing a status check on the downstream output device. The Extended Display Identification Data (EDID) of the output device is directly obtained through the display chip's output interface. A checksum in the obtained EDID is used for verification. A successful check indicates the output device is functioning correctly; a failed check indicates a device malfunction. The output device can be a monitor, projector, or conversion motherboard, or other receiving devices. The verification device can be any feasible verification device, such as a parity check device. This application does not impose any specific limitations on the aforementioned verification device.
[0089] In some optional embodiments, when the output device is functioning normally, the apparatus further includes a second extraction unit, a third acquisition unit, and a twelfth determination unit. The second extraction unit is used to extract features from the extended display identification data to obtain output device data features. These output device data features include at least one of the following: image features and audio features. The image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space. The audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels. The third acquisition unit is used to acquire the output data obtained by the display chip converting the input data input from the input device. The input device is a direct... The device is electrically connected to the display chip via the aforementioned input interface; the third extraction unit is used to extract the output features corresponding to the output data, the output features including at least one of the following: image features and audio features, wherein the image features include at least: feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least: sampling frequency, sampling bit depth, and number of sampling channels; the twelfth determination unit is used to compare the output features with the output device data features, and if the output features are consistent with the output device data features, the display chip is determined to be operating normally, and if the output features are inconsistent with the output device data features, the display chip is determined to be operating abnormally. This device determines whether the display chip is operating normally by comparing the features of the input and output data of the display chip.
[0090] In the specific implementation process, assuming the output device is functioning normally as described above, the operating status of the display chip is further diagnosed and analyzed. After receiving input data from the input device, the display chip converts the input data to obtain output data, which is then output from the output interface to the output device. The characteristics of the output data are extracted to obtain output features, and the characteristics of the extended display recognition data of the output device are extracted to obtain output device data features. The output features are compared with the aforementioned output device data features. If they match, it indicates that the display chip can correctly convert the input data into output data, meaning the display chip is operating normally. If they do not match, it indicates that the display chip is operating abnormally.
[0091] As an optional implementation, when the display chip is determined to be malfunctioning, the device further includes a conversion unit, a second extraction unit, a comparison unit, a thirteenth determination unit, and a fourteenth determination unit. The conversion unit re-converts the input data from the display chip to the input device to obtain re-converted output data. The second extraction unit extracts the output features corresponding to the output data. The comparison step compares the output device data features with the output features. The thirteenth determination unit determines that the display chip is operating normally if the output device data features and the output features are consistent. The fourteenth determination unit determines that the display chip is malfunctioning if the output device data features and the output features are inconsistent, and repeats the conversion step, the extraction step, and the comparison step at least once until the obtained output features are consistent with the output device data features. In the event of a chip malfunction, the display chip re-converts the data and sequentially extracts and compares features until the output device data features are consistent with the output features. This allows the display chip to operate normally and output data to the output device for display.
[0092] Specifically, when a display chip malfunctions, the output data needs to be adjusted. This means the display chip needs to re-convert the received input data to obtain re-converted output data. Then, the characteristics of the output data are extracted and compared with the characteristics of the output device data. This process is repeated. If the output device data characteristics and the output characteristics match, the display chip is considered to be operating normally. If they do not match, the display chip is considered to be malfunctioning. Under normal conditions, the output data is output. Under abnormal conditions, the process is repeated until the output characteristics match the output device data characteristics, enabling the display chip to output and display normal data. The diagnostic results from this device are displayed on a computer or other terminal screen, allowing users or staff to quickly identify and resolve the malfunction.
[0093] The diagnostic device for the aforementioned display chip includes a processor and a memory. The first acquisition unit, the first determination unit, the second determination unit, and the third determination unit are all stored as program units in the memory. The processor executes the program units stored in the memory to achieve the corresponding functions. All of the above modules are located in the same processor; alternatively, the modules may be located in different processors in any combination.
[0094] The processor contains a kernel, which retrieves the corresponding program units from memory. One or more kernels can be configured, and adjusting kernel parameters can automatically diagnose whether the display chip is malfunctioning.
[0095] The memory may include non-permanent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0096] This invention provides a computer-readable storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the diagnostic method for the display chip.
[0097] Specifically, diagnostic methods for display chips include:
[0098] Step S201: Obtain at least interface information through the above interface. The interface information includes: voltage waveform emitted by the interface and data emitted by the interface, wherein the voltage waveform emitted by the interface is the waveform corresponding to the voltage emitted by the interface, and the data emitted by the interface is the data emitted by the interface.
[0099] Specifically, the aforementioned display chip includes input and output interfaces. A diagnostic device is incorporated within the display chip, which diagnoses the display chip using data transmitted through the input and output interfaces. These input and output interfaces can be specific examples such as the USB Billboard channel in a Type-C interface, the AUX channel in a DisplayPort interface, or the DDC channel in an HDMI interface. Under normal operating conditions, the voltage emitted by the display chip's interfaces falls within a certain voltage range. The data emitted by the interfaces is typically the data to be displayed. Therefore, by verifying whether the voltage waveform emitted by the interfaces matches a predetermined voltage waveform and whether the parsed data is the data to be displayed (i.e., the preset data), it can be determined whether an abnormality has occurred in the display chip's interfaces. Thus, the waveform of the voltage emitted by the interfaces and the data emitted by the interfaces are first obtained through the aforementioned input and output interfaces. The waveform of the voltage emitted by the interfaces includes information such as voltage amplitude, phase, and frequency.
[0100] Step S202: If the voltage waveform emitted by the above interface is not the predetermined voltage waveform, determine that the above interface is abnormal.
[0101] Specifically, since the voltage waveform emitted by the interface of the display chip is fixed under normal circumstances, i.e., a predetermined voltage waveform, it is necessary to determine whether the voltage waveform emitted by the interface is the predetermined voltage waveform. If the voltage waveform emitted by the interface is not the predetermined voltage waveform, it indicates that the voltage waveform emitted by the interface is abnormal, and thus it can be determined that the interface of the display chip is abnormal.
[0102] Step S203: If the voltage waveform emitted by the above interface is the predetermined voltage waveform, determine whether the data after parsing the data emitted by the above interface is the preset data.
[0103] Specifically, when the voltage waveform emitted by the interface is a predetermined voltage waveform, it is further necessary to determine whether the data after parsing the data emitted by the interface is the preset data, i.e., whether it is the data that needs to be displayed. The predetermined voltage waveform can be determined according to the actual application scenario. For example, it can be the voltage waveform emitted by any of the above interfaces under normal working conditions. The preset data is the screen data sent to the display chip and that needs to be displayed on the display screen where the display chip is located. This application does not impose specific restrictions on the above predetermined voltage waveform and preset data.
[0104] Step S204: If the data parsed from the above-mentioned interface is not the above-mentioned preset data, the above-mentioned interface is determined to be abnormal.
[0105] Specifically, if the data obtained after parsing the data sent by the interface is not the preset data, it also indicates that the display chip's interface is abnormal. In other words, the display chip's interface is normal only if the voltage waveform sent by the interface is the predetermined voltage waveform and the data obtained after parsing the data sent by the interface is the preset data; otherwise, the interface is determined to be abnormal.
[0106] Optionally, when the interface is an input interface, at least the interface information is obtained through the interface, including: determining whether the display chip has sent a predetermined output voltage waveform to the input interface; and if it is determined that the display chip has sent the predetermined output voltage waveform to the input interface, obtaining the corresponding interface information through the input interface.
[0107] Optionally, before obtaining at least the interface information through the aforementioned interface, the method further includes: obtaining the current status data of the display chip, wherein the current status data includes at least: the calibration data, firmware version, operating temperature, operating voltage, and operating frequency of the display chip; determining whether the current status data is within a corresponding preset value range; if the current status data is within the corresponding preset value range, determining that the display chip is normal; if the current status data is not within the corresponding preset value range, determining that the display chip is abnormal.
[0108] Optionally, when the input interface and the output interface are normal, the method further includes: acquiring input data sent by the input device through the input interface, and extracting input features corresponding to the input data. The input features include at least one of the following: image features and audio features. The image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space. The audio features include at least the feature values of sampling frequency, sampling bit depth, and sampling channel number. The input device is a device that is directly electrically connected to the display chip through the input interface. The method further determines whether the input features conform to the corresponding standard format. If the input features conform to the corresponding standard format, the input data is determined to be normal; otherwise, the input data is determined to be abnormal.
[0109] Optionally, if the input data is normal, the method further includes: determining whether the input feature is within a corresponding predetermined feature value range; if the input feature is within the corresponding predetermined feature value range, determining that the input device is an input device that matches the display chip; if the input feature is not within the corresponding predetermined feature value range, determining that the input device is not an input device that matches the display chip.
[0110] Optionally, if the input interface and the output interface are normal, the method further includes: obtaining extended display identification data of the output device through the output interface, wherein the output device is a device that is directly electrically connected to the display chip through the output interface; verifying the check bit of the extended display identification data, and if the verification passes, determining that the output device is normal; otherwise, if the verification fails, determining that the output device is abnormal.
[0111] Optionally, when the output device is functioning normally, the method further includes: extracting features from the extended display identification data to obtain output device data features, wherein the output device data features include at least one of the following: image features and audio features, wherein the image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels; obtaining output data obtained by the display chip from the input data input to the input device, wherein the input device is a device directly electrically connected to the display chip through the input interface; extracting output features corresponding to the output data, wherein the output features include at least one of the following: image features and audio features, wherein the image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels; comparing the output features with the output device data features, wherein if the output features are consistent with the output device data features, the display chip is determined to be functioning normally, and if the output features are inconsistent with the output device data features, the display chip is determined to be functioning abnormally.
[0112] Optionally, if the display chip is determined to be malfunctioning, the method further includes: a conversion step, which re-converts the input data from the display chip to the input device to obtain re-converted output data; an extraction step, which extracts the output features corresponding to the output data; a comparison step, which compares the output device data features with the output features; if the output device data features and the output features are consistent, the display chip is determined to be malfunctioning; if the output device data features and the output features are inconsistent, the display chip is determined to be malfunctioning, and the conversion step, the extraction step, and the comparison step are repeated at least once in sequence until the obtained output features are consistent with the output device data features.
[0113] This invention provides a device including a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs at least the following steps:
[0114] Step S201: Obtain at least interface information through the above interface. The interface information includes: voltage waveform emitted by the interface and data emitted by the interface, wherein the voltage waveform emitted by the interface is the waveform corresponding to the voltage emitted by the interface, and the data emitted by the interface is the data emitted by the interface.
[0115] Step S202: If the voltage waveform emitted by the above interface is not the predetermined voltage waveform, determine that the above interface is abnormal.
[0116] Step S203: If the voltage waveform emitted by the above interface is the predetermined voltage waveform, determine whether the data after parsing the data emitted by the above interface is the preset data.
[0117] Step S204: If the data parsed from the above-mentioned interface is not the above-mentioned preset data, the above-mentioned interface is determined to be abnormal.
[0118] The devices mentioned in this article can be servers, PCs, tablets, mobile phones, etc.
[0119] Optionally, when the interface is an input interface, at least the interface information is obtained through the interface, including: determining whether the display chip has sent a predetermined output voltage waveform to the input interface; and if it is determined that the display chip has sent the predetermined output voltage waveform to the input interface, obtaining the corresponding interface information through the input interface.
[0120] Optionally, before obtaining at least the interface information through the aforementioned interface, the method further includes: obtaining the current status data of the display chip, wherein the current status data includes at least: the calibration data, firmware version, operating temperature, operating voltage, and operating frequency of the display chip; determining whether the current status data is within a corresponding preset value range; if the current status data is within the corresponding preset value range, determining that the display chip is normal; if the current status data is not within the corresponding preset value range, determining that the display chip is abnormal.
[0121] Optionally, when the input interface and the output interface are normal, the method further includes: acquiring input data sent by the input device through the input interface, and extracting input features corresponding to the input data. The input features include at least one of the following: image features and audio features. The image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space. The audio features include at least the feature values of sampling frequency, sampling bit depth, and sampling channel number. The input device is a device that is directly electrically connected to the display chip through the input interface. The method further determines whether the input features conform to the corresponding standard format. If the input features conform to the corresponding standard format, the input data is determined to be normal; otherwise, the input data is determined to be abnormal.
[0122] Optionally, if the input data is normal, the method further includes: determining whether the input feature is within a corresponding predetermined feature value range; if the input feature is within the corresponding predetermined feature value range, determining that the input device is an input device that matches the display chip; if the input feature is not within the corresponding predetermined feature value range, determining that the input device is not an input device that matches the display chip.
[0123] Optionally, if the input interface and the output interface are normal, the method further includes: obtaining extended display identification data of the output device through the output interface, wherein the output device is a device that is directly electrically connected to the display chip through the output interface; verifying the check bit of the extended display identification data, and if the verification passes, determining that the output device is normal; otherwise, if the verification fails, determining that the output device is abnormal.
[0124] Optionally, when the output device is functioning normally, the method further includes: extracting features from the extended display identification data to obtain output device data features, wherein the output device data features include at least one of the following: image features and audio features, wherein the image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels; obtaining output data obtained by the display chip from the input data input to the input device, wherein the input device is a device directly electrically connected to the display chip through the input interface; extracting output features corresponding to the output data, wherein the output features include at least one of the following: image features and audio features, wherein the image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels; comparing the output features with the output device data features, wherein if the output features are consistent with the output device data features, the display chip is determined to be functioning normally, and if the output features are inconsistent with the output device data features, the display chip is determined to be functioning abnormally.
[0125] Optionally, if the display chip is determined to be malfunctioning, the method further includes: a conversion step, which re-converts the input data from the display chip to the input device to obtain re-converted output data; an extraction step, which extracts the output features corresponding to the output data; a comparison step, which compares the output device data features with the output features; if the output device data features and the output features are consistent, the display chip is determined to be malfunctioning; if the output device data features and the output features are inconsistent, the display chip is determined to be malfunctioning, and the conversion step, the extraction step, and the comparison step are repeated at least once in sequence until the obtained output features are consistent with the output device data features.
[0126] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program having at least the following method steps:
[0127] Step S201: Obtain at least interface information through the above interface. The interface information includes: voltage waveform emitted by the interface and data emitted by the interface, wherein the voltage waveform emitted by the interface is the waveform corresponding to the voltage emitted by the interface, and the data emitted by the interface is the data emitted by the interface.
[0128] Step S202: If the voltage waveform emitted by the above interface is not the predetermined voltage waveform, determine that the above interface is abnormal.
[0129] Step S203: If the voltage waveform emitted by the above interface is the predetermined voltage waveform, determine whether the data after parsing the data emitted by the above interface is the preset data.
[0130] Step S204: If the data parsed from the above-mentioned interface is not the above-mentioned preset data, the above-mentioned interface is determined to be abnormal.
[0131] Optionally, when the interface is an input interface, at least the interface information is obtained through the interface, including: determining whether the display chip has sent a predetermined voltage waveform to the input interface; and if it is determined that the display chip has sent the predetermined voltage waveform to the input interface, obtaining the corresponding interface information through the input interface.
[0132] Optionally, when the interface is an input interface, at least the interface information is obtained through the interface, including: determining whether the display chip has sent a predetermined output voltage waveform to the input interface; and if it is determined that the display chip has sent the predetermined output voltage waveform to the input interface, obtaining the corresponding interface information through the input interface.
[0133] Optionally, before obtaining at least the interface information through the aforementioned interface, the method further includes: obtaining the current status data of the display chip, wherein the current status data includes at least: the calibration data, firmware version, operating temperature, operating voltage, and operating frequency of the display chip; determining whether the current status data is within a corresponding preset value range; if the current status data is within the corresponding preset value range, determining that the display chip is normal; if the current status data is not within the corresponding preset value range, determining that the display chip is abnormal.
[0134] Optionally, when the input interface and the output interface are normal, the method further includes: acquiring input data sent by the input device through the input interface, and extracting input features corresponding to the input data. The input features include at least one of the following: image features and audio features. The image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space. The audio features include at least the feature values of sampling frequency, sampling bit depth, and sampling channel number. The input device is a device that is directly electrically connected to the display chip through the input interface. The method further determines whether the input features conform to the corresponding standard format. If the input features conform to the corresponding standard format, the input data is determined to be normal; otherwise, the input data is determined to be abnormal.
[0135] Optionally, if the input data is normal, the method further includes: determining whether the input feature is within a corresponding predetermined feature value range; if the input feature is within the corresponding predetermined feature value range, determining that the input device is an input device that matches the display chip; if the input feature is not within the corresponding predetermined feature value range, determining that the input device is not an input device that matches the display chip.
[0136] Optionally, if the input interface and the output interface are normal, the method further includes: obtaining extended display identification data of the output device through the output interface, wherein the output device is a device that is directly electrically connected to the display chip through the output interface; verifying the check bit of the extended display identification data, and if the verification passes, determining that the output device is normal; otherwise, if the verification fails, determining that the output device is abnormal.
[0137] Optionally, when the output device is functioning normally, the method further includes: extracting features from the extended display identification data to obtain output device data features, wherein the output device data features include at least one of the following: image features and audio features, wherein the image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels; obtaining output data obtained by the display chip from the input data input to the input device, wherein the input device is a device directly electrically connected to the display chip through the input interface; extracting output features corresponding to the output data, wherein the output features include at least one of the following: image features and audio features, wherein the image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels; comparing the output features with the output device data features, wherein if the output features are consistent with the output device data features, the display chip is determined to be functioning normally, and if the output features are inconsistent with the output device data features, the display chip is determined to be functioning abnormally.
[0138] Optionally, if the display chip is determined to be malfunctioning, the method further includes: a conversion step, which re-converts the input data from the display chip to the input device to obtain re-converted output data; an extraction step, which extracts the output features corresponding to the output data; a comparison step, which compares the output device data features with the output features; if the output device data features and the output features are consistent, the display chip is determined to be malfunctioning; if the output device data features and the output features are inconsistent, the display chip is determined to be malfunctioning, and the conversion step, the extraction step, and the comparison step are repeated at least once in sequence until the obtained output features are consistent with the output device data features.
[0139] It is obvious to those skilled in the art that the modules or steps of the present invention described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those described herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, the present invention is not limited to any particular combination of hardware and software.
[0140] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can 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, etc.) containing computer-usable program code.
[0141] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can 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, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0142] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0143] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0144] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0145] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0146] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0147] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0148] As can be seen from the above description, the embodiments of this application achieve the following technical effects:
[0149] 1) In the diagnostic method for the display chip of this application, the voltage waveform and data emitted by the interface are obtained through the input and output interfaces of the display chip. It is determined whether the voltage waveform emitted by the interface is a predetermined voltage waveform, and whether the parsed data emitted by the interface is preset data. If the voltage waveform emitted by the interface is a predetermined voltage waveform and the parsed data is preset data, the display chip interface is determined to be normal. If the voltage waveform emitted by the interface is not a predetermined voltage waveform or the parsed data is not preset data, the display chip interface is determined to be abnormal. Compared with the prior art, where the large amount of data in the display chip registers makes it difficult to quickly detect and resolve abnormalities, this application sets a diagnostic device on the display chip. This device automatically acquires the interface information of the display chip and automatically determines whether an interface abnormality has occurred by judging whether the interface information is abnormal. Therefore, it can solve the problem of not being able to quickly detect abnormalities in the display chip in the prior art, achieving the effect of automatic diagnosis of the display chip.
[0150] 2) In the diagnostic device for the display chip of this application, the voltage waveform and data emitted by the interface are acquired through the input and output interfaces of the display chip. It determines whether the voltage waveform emitted by the interface is a predetermined voltage waveform and whether the parsed data emitted by the interface is preset data. If the voltage waveform emitted by the interface is a predetermined voltage waveform and the parsed data is preset data, the display chip interface is determined to be normal. If the voltage waveform emitted by the interface is not a predetermined voltage waveform or the parsed data is not preset data, the display chip interface is determined to be abnormal. Compared with existing technologies where display chip registers contain a large amount of data, making it difficult to quickly detect and resolve abnormalities, this application sets up a diagnostic device on the display chip. This device automatically acquires the interface information of the display chip and automatically determines whether an interface abnormality has occurred by judging whether the interface information is abnormal. Therefore, it can solve the problem of not being able to quickly detect abnormalities in the display chip in existing technologies, achieving the effect of automatic diagnosis of the display chip.
[0151] The above description is merely a preferred embodiment of this application and is not intended to limit this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A diagnostic method for a display chip, characterized in that, The display chip includes an interface and a diagnostic device. There are two interfaces: an input interface and an output interface. The diagnostic device is used to run the diagnostic method, which includes: At least interface information is obtained through the interface, including: the voltage waveform emitted by the interface and the data emitted by the interface, wherein the voltage waveform emitted by the interface is the waveform corresponding to the voltage emitted by the interface, and the data emitted by the interface is the data emitted by the interface; If the voltage waveform emitted by the interface is not the predetermined voltage waveform, the interface is determined to be malfunctioning. If the voltage waveform emitted by the interface is the predetermined voltage waveform, determine whether the data after parsing the data emitted by the interface is preset data; If the data parsed from the interface is not the preset data, the interface is determined to be faulty. When the input interface and the output interface are normal, the method further includes: acquiring extended display identification data of the output device through the output interface, wherein the output device is a device directly electrically connected to the display chip through the output interface; verifying the check bit of the extended display identification data, if the verification passes, the output device is determined to be normal; otherwise, if the verification fails, the output device is determined to be abnormal. When the output device is functioning normally, the method further includes: extracting features from the extended display identification data to obtain output device data features, wherein the output device data features include at least one of the following: image features and audio features, wherein the image features include at least feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least sampling frequency, sampling bit depth, and number of sampling channels; acquiring output data obtained by the display chip from input data input from the input device, wherein the input device is a device directly electrically connected to the display chip through the input interface; extracting output features corresponding to the output data, wherein the output features include at least one of the following: image features and audio features, wherein the image features include at least feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least sampling frequency, sampling bit depth, and number of sampling channels; comparing the output features with the output device data features, wherein if the output features are consistent with the output device data features, the display chip is determined to be functioning normally, and if the output features are inconsistent with the output device data features, the display chip is determined to be functioning abnormally.
2. The diagnostic method according to claim 1, characterized in that, When the interface is an input interface, at least the following interface information is obtained through the interface: Determine whether the display chip has sent a predetermined output voltage waveform to the input interface; If it is determined that the display chip has sent the predetermined voltage waveform to the input interface, the corresponding interface information is obtained through the input interface.
3. The diagnostic method according to claim 1, characterized in that, Before obtaining at least the interface information through the interface, the method further includes: Obtain the current status data of the display chip, which includes at least: the calibration data, firmware version, operating temperature, operating voltage, and operating frequency of the display chip; Determine whether the current state data is within the corresponding preset value range; If the current status data is within the corresponding preset value range, the display chip is determined to be normal. If the current status data is not within the corresponding preset value range, the display chip is determined to be abnormal.
4. The diagnostic method according to claim 1, characterized in that, When the input interface and the output interface are functioning normally, the method further includes: The input data sent by the input device is obtained through the input interface, and the input features corresponding to the input data are extracted. The input features include at least one of the following: image features and audio features. The image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space. The audio features include at least the feature values of sampling frequency, sampling bit depth, and sampling channel number. The input device is a device that is directly electrically connected to the display chip through the input interface. Determine whether the input feature conforms to the corresponding standard format. If the input feature conforms to the corresponding standard format, determine that the input data is normal; otherwise, determine that the input data is abnormal.
5. The diagnostic method according to claim 4, characterized in that, If the input data is normal, the method further includes: Determine whether the input feature is within the corresponding predetermined feature value range; If the input feature is within the corresponding predetermined feature value range, the input device is determined to be an input device that matches the display chip; If the input feature is not within the corresponding predetermined feature value range, it is determined that the input device is not an input device that matches the display chip.
6. The diagnostic method according to claim 1, characterized in that, If it is determined that the display chip is malfunctioning, the method further includes: The conversion step involves re-converting the input data from the display chip to the input device to obtain re-converted output data. The extraction step involves extracting the output features corresponding to the output data. The comparison step involves comparing the output device data characteristics with the output characteristics; If the output device data characteristics and the output characteristics are consistent, it is determined that the display chip is operating normally; If the output device data characteristics and the output characteristics are inconsistent, it is determined that the display chip is malfunctioning, and the conversion step, the extraction step and the comparison step are repeated at least once in sequence until the obtained output characteristics and the output device data characteristics are consistent.
7. A diagnostic device for a display chip, characterized in that, The display chip includes an interface and a diagnostic device. There are two interfaces: an input interface and an output interface. The diagnostic device includes: The first acquisition unit is configured to acquire at least interface information through the interface, the interface information including: voltage waveform emitted by the interface and data emitted by the interface, wherein the voltage waveform emitted by the interface is the waveform corresponding to the voltage emitted by the interface, and the data emitted by the interface is the data emitted by the interface; The first determining unit is configured to determine that the interface is abnormal when the voltage waveform emitted by the interface is not a predetermined voltage waveform. The second determining unit is used to determine whether the data after parsing the data sent by the interface is preset data when the voltage waveform emitted by the interface is the predetermined voltage waveform. The third determining unit is used to determine that the interface is abnormal if the data parsed from the data sent by the interface is not the preset data. When the input interface and the output interface are normal, the device further includes a third acquisition unit and an eleventh determination unit. The third acquisition unit is used to acquire extended display identification data of the output device through the output interface, wherein the output device is a device directly electrically connected to the display chip through the output interface. The eleventh determination unit is used to verify the checksum of the extended display identification data; if the verification passes, the output device is determined to be normal; otherwise, if the verification fails, the output device is determined to be abnormal. When the output device is functioning normally, the device further includes a second extraction unit, a third acquisition unit, and a twelfth determination unit. The second extraction unit is used to extract features from the extended display recognition data to obtain output device data features. These output device data features include at least one of the following: image features and audio features. The image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space. The audio features include at least the feature values of sampling frequency, sampling bit depth, and number of sampling channels. The third acquisition unit is used to acquire the output data obtained by the display chip converting the input data input from the input device. The input device is a device that directly transmits data through the input chip. The device is electrically connected to the display chip via an input interface; the third extraction unit is used to extract the output features corresponding to the output data, the output features including at least one of the following: image features and audio features, wherein the image features include at least the feature values of resolution, refresh rate, bit depth, color format, and color space, and the audio features include at least the feature values of sampling frequency, sampling bit depth, and sampling channel number; the twelfth determination unit is used to compare the output features with the output device data features, and if the output features are consistent with the output device data features, the display chip is determined to be operating normally, and if the output features are inconsistent with the output device data features, the display chip is determined to be operating abnormally.
8. An electronic device, characterized in that, include: One or more processors, a memory, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including methods for performing the diagnostic method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Detecting circuit, driving chip, display module, and detection method of transmission port
CN102509532A
Display device, driving chip and transmission method of error information
CN104008712A
Method for diagnosing display connectivity and operability
CN114125169A
Device and method for detecting regional dimming function
CN114255682A
Liquid crystal display working state diagnosis device
CN210271735U