Method and apparatus for enabling display device to identify abnormality
By detecting whether the sending device and Type-C cable support Type-C wired screen mirroring within a preset time period, and outputting a prompt message when no information is received, the problem of the display device being unable to recognize the screen mirroring function is solved, improving the user experience and reducing clarification costs.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HUAWEI TECH CO LTD
- Filing Date
- 2025-11-27
- Publication Date
- 2026-06-04
Smart Images

Figure CN2025138190_04062026_PF_FP_ABST
Abstract
Description
Method and apparatus for identifying anomalies in display devices
[0001] This application claims priority to Chinese Patent Application No. 202411748969.7, filed on November 29, 2024, entitled "Method and Apparatus for Identifying Anomalies in a Display Device", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of display technology, and more specifically, to a method and apparatus for identifying anomalies in display devices. Background Technology
[0003] Currently, Type-C devices and cables are widely used in various products, not only performing excellently in charging and data transfer but also introducing wired screen mirroring functionality. For example, by using a Type-C cable, users can easily project audio and video content played on a Type-C-enabled transmitting device onto a connected Type-C-enabled display device, thus providing a more convenient user experience.
[0004] In related technical solutions, the transmitting device can determine whether the display device supports Type-C wired screen mirroring, thus deciding whether to enable Type-C wired screen mirroring. However, the display device cannot identify whether the transmitting device supports Type-C wired screen mirroring, nor can it identify whether the Type-C cable connected to the display device supports wired screen mirroring. Therefore, for display devices that support Type-C wired screen mirroring, if a user inserts a transmitting device and / or cable that does not support wired screen mirroring through the Type-C interface, the display device will not display an image (e.g., displaying a black screen or a "no signal" message). Users will be significantly confused by the black screen or "no signal" message, affecting their user experience and increasing the cost of clarifying the issue with the user.
[0005] Therefore, improving the user experience when using the Type-C wired screen mirroring function has become an urgent technical problem to be solved. Summary of the Invention
[0006] This application provides a method and apparatus for identifying display device anomalies, which can improve the user experience when using the Type-C wired screen mirroring function and reduce the cost of clarifying screen mirroring failures.
[0007] In a first aspect, a method for identifying anomalies in a display device is provided. For example, the method can be executed by the display device, or by a chip of the display device, or by a component (e.g., a circuit) composed of chips of the display device.
[0008] The method includes: the display device detecting the insertion of a transmitting device, detecting whether the transmitting device sends information for executing a target process, and outputting a prompt message indicating that the transmitting device failed to cast the screen if no information for executing the target process is received from the transmitting device within a preset time period. The prompt message includes that the transmitting device does not support the Type-C wired screen casting function and / or the Type-C cable does not support the Type-C wired screen casting function.
[0009] The aforementioned display device supports Type-C wired screen mirroring. The transmitting device is inserted into the display device via a Type-C cable and sends data to the display device, including audio and video data.
[0010] The start time of the aforementioned preset time period is the moment when the transmitting device is inserted into the display device, and the end time of the preset time period is the moment when the prompt information is displayed. The prompt information includes that the transmitting device does not support the Type-C wired projection function and / or the Type-C cable does not support the Type-C wired projection function.
[0011] This application does not specify the exact duration of the aforementioned preset time period.
[0012] As an example, the display device can determine whether a transmitting device is connected by the voltage on the CC pin of the Type-C interface.
[0013] The information used to execute the target process may also be referred to as a message, command, or instruction used to execute the target process, etc., and this application does not make any specific limitation in this regard.
[0014] This application does not specifically limit the way the display device outputs the above prompt information. For example, the display device can directly output the above prompt information through the display interface, or the display device can output the above prompt information in a pop-up window of the display interface.
[0015] In the above technical solution, the display device can effectively identify whether the sending device and / or cable supports the Type-C wired screen projection function. If the screen projection fails when the user uses the Type-C wired screen projection function, the display device can provide a screen projection failure prompt message, thereby answering the user's questions and improving the user experience, while also reducing the cost of clarifying screen projection failure.
[0016] In conjunction with the first aspect, in one possible implementation, the target process includes any one or more combinations of the following processes: an alternating mode Alt Mode interaction process, a process of reading data through an auxiliary channel, and a process of establishing a link and transmitting the audio and video data.
[0017] In conjunction with the first aspect, in one possible implementation, the target process includes the Alt Mode interaction process. The display device outputs a prompt message indicating that the screen projection failed to execute the Alt Mode interaction process from the sending device within the preset time period. The prompt message indicates that the sending device does not support the Type-C wired screen projection function.
[0018] The information used to execute the Alt Mode interaction process includes, but is not limited to: information sent by the sending device to initiate the Alt Mode interaction process, and any related information sent by the sending device during the execution of the Alt Mode interaction process.
[0019] In the above technical solution, if the sending device does not support the Type-C wired screen mirroring function, the sending device will not actively send information to the display device to execute the Alt Mode interaction process, and the display device will not receive information from the sending device to execute the Alt Mode interaction process within the preset time period. At this time, the display device can determine that the reason for the screen mirroring failure is that the sending device itself does not support the Type-C wired screen mirroring function, and the display device can output a prompt message that the sending device does not support the Type-C wired screen mirroring function.
[0020] In conjunction with the first aspect, in one possible implementation, the target process includes the process of reading data through the auxiliary channel. The display device outputs a prompt message indicating that the screen projection of the sending device has failed, based on the fact that it has not received information from the sending device for executing the process of reading data through the auxiliary channel within the preset time period. The prompt message indicates that the sending device does not support the Type-C wired screen projection function, or that the Type-C cable does not support the Type-C wired screen projection function.
[0021] The information used to execute the process of reading data through the auxiliary channel includes, but is not limited to: information sent by the transmitting device to initiate the process of reading data through the auxiliary channel, and any relevant information sent by the transmitting device during the execution of the process of reading data through the auxiliary channel.
[0022] In the above technical solution, if the transmitting device does not support Type-C wired screen mirroring, or if the transmitting device uses a standard Type-C cable without an SBU pin, the transmitting device will not actively send information to the display device to execute the process of reading data through the auxiliary channel. The display device will also not receive information from the transmitting device to execute the process of reading data through the auxiliary channel within the aforementioned preset time period. In this case, the display device can determine that the screen mirroring failure is due to the transmitting device itself not supporting Type-C wired screen mirroring, or the Type-C cable used by the transmitting device not supporting Type-C wired screen mirroring. The display device can then output a prompt message indicating that the transmitting device or the Type-C cable used by the transmitting device does not support the Type-C wired screen mirroring function.
[0023] In conjunction with the first aspect, in one possible implementation, the target process also includes the Alt Mode interaction process. The display device receives information from the sending device within the preset time period for executing the Alt Mode interaction process, but does not receive information from the sending device for executing the process of reading data through the auxiliary channel. The display device then outputs a prompt message indicating that the screen projection failed. The prompt message indicates that the sending device does not support the Type-C wired screen projection function, or that the Type-C cable does not support the Type-C wired screen projection function.
[0024] In the above technical solution, although the display device receives information from the transmitting device for executing the Alt Mode interaction process within the aforementioned preset time period, if the transmitting device does not support Type-C wired projection, or if the transmitting device uses a standard Type-C cable without an SBU pin, the transmitting device will not actively send information to the display device for executing the process of reading data through the auxiliary channel. The display device will also not receive such information from the transmitting device within the aforementioned preset time period. In this case, the display device can output a prompt message indicating that the transmitting device or the Type-C cable used by the transmitting device does not support the Type-C wired projection function.
[0025] In conjunction with the first aspect, in one possible implementation, the target process includes the process of establishing a connection and transmitting the audio and video data. If the display device does not receive information from the sending device within the preset time period for performing the process of establishing a connection and transmitting the audio and video data, it outputs a prompt message indicating that the screen projection of the sending device has failed. The prompt message is used to indicate that the Type-C cable does not support the Type-C wired screen projection function.
[0026] The information used to execute the process of establishing a connection and transmitting the audio and video data includes, but is not limited to: information sent by the transmitting device to initiate the process of establishing a connection and transmitting the audio and video data, and any relevant information sent by the transmitting device during the execution of the process of establishing a connection and transmitting the audio and video data.
[0027] In the above technical solution, if the Type-C cable used by the transmitting device does not support Type-C wired screen mirroring (for example, the Type-C cable does not include TX / RX pins), the transmitting device will not actively send information to the display device to execute the connection establishment and transmit the audio / video data process after connecting to the display device via the Type-C cable. In this case, the display device can determine that the screen mirroring failure is due to the Type-C cable used by the transmitting device not supporting Type-C wired screen mirroring, and the display device can output a prompt message indicating that the Type-C cable used by the transmitting device does not support this Type-C wired screen mirroring function.
[0028] In conjunction with the first aspect, in one possible implementation, the target process also includes the Alt Mode interaction process and the process of reading data through the auxiliary channel. The display device determines that the reason for the screen projection failure is that the Type-C cable does not support the Type-C wired screen projection function, based on the fact that it receives information from the transmitting device within the preset time period for executing the Alt Mode interaction process and the process of reading data through the auxiliary channel, but does not receive information from the transmitting device for executing the connection establishment and transmitting the audio and video data.
[0029] In the above technical solution, if the Type-C cable used by the transmitting device does not support Type-C wired screen mirroring (for example, the Type-C cable does not include TX / RX pins), after the transmitting device is connected to the display device via the Type-C cable, even if it actively sends information to the display device to execute the Alt Mode interaction process and the process to execute the process of reading data through the auxiliary channel, it will not actively send information to the display device to execute the process of establishing a connection and transmitting the audio and video data. In this case, the display device can determine that the screen mirroring failure is due to the Type-C cable used by the transmitting device not supporting the Type-C wired screen mirroring function, and the display device can output a prompt message indicating that the Type-C cable used by the transmitting device does not support this Type-C wired screen mirroring function.
[0030] In conjunction with the first aspect, in one possible implementation, the method further includes: the display device outputting help information indicating that the sending device has failed to project the screen, the help information including replacing the sending device with a device that supports the Type-C wired screen projection function and / or replacing the Type-C cable with a cable that supports the Type-C wired screen projection function.
[0031] In the above technical solution, the display device can also output help information if the sending device fails to project the screen. This allows users to resolve the projection failure based on the help information, successfully projecting audio and video data from the sending device to the display device via Type-C wired connection, further improving the user experience.
[0032] Secondly, this application proposes a device for identifying display device anomalies. This device is deployed on a display device and is used to execute the method described in the first aspect. For example, the device includes a detection module and an output module. The detection module detects the insertion of a transmitting device, wherein the display device supports Type-C wired projection, and the transmitting device is inserted into the display device via a Type-C cable and sends data to the display device, including audio and video data. The detection module also detects whether the transmitting device sends information for executing a target process. The output module outputs a projection failure message based on the absence of information from the transmitting device for executing the target process within a preset time period. The preset time period begins when the transmitting device is inserted into the display device, and ends when the message is displayed. The message includes information that the transmitting device does not support the Type-C wired projection function and / or the Type-C cable does not support the Type-C wired projection function.
[0033] In conjunction with the second aspect, in one possible implementation, the target process includes any one or more combinations of the following processes: an alternating mode Alt Mode interaction process, a process of reading data through an auxiliary channel, and a process of establishing a link and transmitting the audio and video data.
[0034] In conjunction with the second aspect, in one possible implementation, the target process includes the Alt Mode interaction process, and the output module is specifically used to: output a prompt message indicating that the screen projection of the sending device has failed, based on the fact that no information for executing the Alt Mode interaction process is received from the sending device within the preset time period. The prompt message is used to indicate that the sending device does not support the Type-C wired screen projection function.
[0035] In conjunction with the second aspect, in one possible implementation, the target process includes the process of reading data through the auxiliary channel. The output module is specifically used to: output a prompt message indicating that the screen projection of the sending device has failed, based on the fact that no information for executing the process of reading data through the auxiliary channel is received from the sending device within the preset time period. The prompt message is used to indicate that the sending device does not support the Type-C wired screen projection function, or that the Type-C cable does not support the Type-C wired screen projection function.
[0036] In conjunction with the second aspect, in one possible implementation, the target process also includes the Alt Mode interaction process. The output module is specifically used to: based on receiving information from the transmitting device within the preset time period for executing the Alt Mode interaction process, but not receiving information from the transmitting device for executing the process of reading data through the auxiliary channel, output a prompt message indicating that the transmitting device fails to project the screen. The prompt message is used to indicate that the transmitting device does not support the Type-C wired projection function, or that the Type-C cable does not support the Type-C wired projection function.
[0037] In conjunction with the second aspect, in one possible implementation, the target process includes the process of establishing the connection and transmitting the audio and video data. The output module is specifically used to: if no information for performing the process of establishing the connection and transmitting the audio and video data is received from the transmitting device within the preset time period, output a prompt message indicating that the screen projection of the transmitting device has failed. The prompt message is used to indicate that the Type-C cable does not support the Type-C wired screen projection function.
[0038] In conjunction with the second aspect, in one possible implementation, the target process also includes the Alt Mode interaction process and the process of reading data through the auxiliary channel. The output module is specifically used to: based on the information received from the transmitting device within the preset time period for executing the Alt Mode interaction process and the information received for executing the process of reading data through the auxiliary channel, but not the process received from the transmitting device for executing the connection establishment and transmitting the audio and video data, determine that the reason for the failure of the transmitting device to project is that the Type-C cable does not support the Type-C wired projection function.
[0039] In conjunction with the second aspect, in one possible implementation, the output module is also used to output help information indicating that the sending device has failed to project the screen. The help information includes replacing the sending device with a device that supports the Type-C wired screen projection function and / or replacing the Type-C cable with a cable that supports the Type-C wired screen projection function.
[0040] Thirdly, this application provides a display device, comprising: at least one processor for executing a computer program or instructions stored in a memory to perform the method described in the first aspect. Optionally, the device further comprises a memory for storing the computer program or instructions. Optionally, the device further comprises a communication interface through which the processor reads the computer program or instructions stored in the memory.
[0041] In one implementation, the display device includes means for implementing the functions of the methods described in the first aspect above.
[0042] In one implementation, the display device includes the apparatus provided in the second aspect described above.
[0043] Fourthly, this application provides a processor, including: an input circuit, an output circuit, and a processing circuit. The processing circuit is used to receive signals through the input circuit and transmit signals through the output circuit, causing the processor to execute the method described in the first aspect.
[0044] In specific implementation, the processor can be one or more chips, the input circuit can be input pins, the output circuit can be output pins, and the processing circuit can be transistors, gate circuits, flip-flops, and various logic circuits. The input signal received by the input circuit can be received and input by, for example, but not limited to, a transceiver, and the signal output by the output circuit can be, for example, but not limited to, output to and transmitted by a transmitter. Furthermore, the input circuit and the output circuit can be the same circuit, which is used as both the input circuit and the output circuit at different times. This application does not limit the specific implementation of the processor and various circuits.
[0045] Unless otherwise specified, or if it does not contradict its actual function or internal logic in the relevant description, the transmission and acquisition / reception operations involved in the processor can be understood as processor output and reception, input and other operations, or as transmission and reception operations performed by radio frequency circuits and antennas. This application does not limit them in this regard.
[0046] Fifthly, a processing apparatus is provided, including a processor and a memory. The processor is used to read instructions stored in the memory and to receive signals via a transceiver and transmit signals via a transmitter to execute the method described in the first aspect.
[0047] Optionally, the processor may be one or more, and the memory may be one or more.
[0048] Alternatively, the memory can be integrated with the processor, or the memory can be set separately from the processor.
[0049] In specific implementation, the memory can be a non-transitory memory, such as read-only memory (ROM), which can be integrated with the processor on the same chip or set on different chips. The embodiments of this application do not limit the type of memory or the way the memory and processor are set.
[0050] It should be understood that the relevant data interaction process, such as sending the first information, can be the process of the processor outputting the first information, and the receiving capability information can be the process of the processor receiving input capability information. Specifically, the data output by the processor can be sent to the transmitter, and the input data received by the processor can come from the transceiver. Here, the transmitter and the transceiver can be collectively referred to as the transceiver.
[0051] The processing device mentioned in the fifth aspect above can be one or more chips. The processor in the processing device can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, integrated circuit, etc.; when implemented in software, the processor can be a general-purpose processor that reads software code stored in memory. This memory can be integrated into the processor or located outside the processor and exist independently.
[0052] In a sixth aspect, a computer-readable storage medium is provided that stores program code for execution by a device, the program code including the method described in the first aspect.
[0053] In a seventh aspect, a computer program product containing instructions is provided, which, when run on a computer, causes the computer to perform the method described in the first aspect.
[0054] Eighthly, a chip system is provided, including a processor for calling and running a computer program from a memory, causing a device equipped with the chip system to perform the method of the first aspect described above.
[0055] It should be understood that for the beneficial effects of any of the possible implementations of aspects two through eight, please refer to the description of the beneficial effects in aspect one, which will not be repeated here. Attached Figure Description
[0056] Figure 1 is a schematic block diagram of the system architecture applicable to embodiments of this application.
[0057] Figure 2 shows a pin diagram of the Type-C interface.
[0058] Figure 3 is a schematic block diagram of the negotiation process for Type-C wired screen mirroring.
[0059] Figure 4 is a schematic flowchart of a method for identifying anomalies in a display device according to an embodiment of this application.
[0060] Figure 5 is a schematic block diagram of a display device identification anomaly device 500 provided in this application.
[0061] Figure 6 is a schematic block diagram of a display device 600 provided in this application. Detailed Implementation
[0062] The technical solutions in the embodiments of this application will now be described with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this application without creative effort should fall within the scope of protection of this application.
[0063] In the embodiments of this application, the words "exemplary," "for example," etc., are used to indicate that they are examples, illustrations, or descriptions. Any embodiment or design that is described as "exemplary" in this application should not be construed as being more preferred or advantageous than other embodiments or design options. Specifically, the use of the term "exemplary" is intended to present the concept in a concrete manner.
[0064] The business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0065] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0066] Hereinafter, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0067] In this application, "at least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A alone, A and B simultaneously, and B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, and c can be single or multiple.
[0068] Figure 1 is a schematic block diagram of a system architecture applicable to embodiments of this application. As shown in Figure 1, the architecture includes a transmitting device with a Type-C interface and a display device with a Type-C interface, wherein the transmitting device with a Type-C interface and the display device with a Type-C interface are connected via a Type-C cable. For example, the transmitting device with a Type-C interface is connected to the display device with a Type-C interface via a Type-C cable.
[0069] The aforementioned transmitting device using the Type-C interface is used to send data, video signals, audio signals, etc., to display devices using the Type-C interface.
[0070] The aforementioned transmitting devices and display devices using the Type-C interface can both be referred to as Type-C devices. These Type-C devices use the Type-C interface to transmit video signals and charge devices.
[0071] In this application embodiment, the aforementioned transmitting device generally refers to a device that directly interacts with the user. This transmitting device may include, but is not limited to: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving vehicles, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes (e.g., game consoles, smart TVs, smart speakers, smart refrigerators, and fitness equipment), cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, and personal digital assistants (PDAs). The embodiments of this application do not limit this to the following: PDA (Power Assist Device), handheld device with wireless communication function, computing device or other processing device connected to a wireless modem, transport vehicle with wireless communication function, communication module, roadside unit (RSU) with terminal function, terminal device in 5G network or terminal device in future evolved public land mobile network (PLMN).
[0072] By way of example and not limitation, in this embodiment, the transmitting device can also be a wearable device. Wearable devices, also known as wearable smart devices, are a general term for devices that utilize wearable technology to intelligently design and develop everyday wearables, such as glasses, gloves, watches, clothing, and shoes. Wearable devices are portable devices worn directly on the body or integrated into a user's clothing or accessories. Wearable devices are not merely hardware devices; they achieve powerful functions through software support, data interaction, and cloud interaction. Broadly defined, wearable smart devices include those with comprehensive functions, large size, and the ability to perform complete or partial functions without relying on a smartphone, such as smartwatches or smart glasses, as well as those focused on a specific application function that require interaction with other devices such as smartphones, such as various smart bracelets and smart jewelry for vital sign monitoring.
[0073] Furthermore, in this embodiment, the transmitting device can also be a terminal device in an IoT system. IoT is an important component of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network of human-machine interconnection and object interconnection.
[0074] In this application embodiment, the above-mentioned display device generally refers to a device for displaying images, videos and audios, and the display device may include, but is not limited to: monitor, projector, television (TV), etc.
[0075] It should be understood that the aforementioned Type-C interface is a new type of Universal Serial Bus (USB) interface. It is reversible, allowing users to easily insert it without needing to distinguish the orientation, greatly improving ease of use. The Type-C interface also supports various functions, including but not limited to data transfer, charging, video signal transmission, and audio signal transmission. Furthermore, the Type-C interface supports multiple protocols, including but not limited to: USB protocol, DisplayPort (DP) protocol, and High Definition Multimedia Interface (HDMI) protocol.
[0076] For example, Figure 2 is a pin diagram of the Type-C interface. The functions of each pin of the Type-C interface in Figure 2 will be described in detail below.
[0077] 1. Power bus (VBUS) pin
[0078] The VBUS pin and the ground pin (GND) together form a power supply loop to provide voltage to connected devices, typically 5V, 9V, 15V or 20V, to meet the charging needs of different devices.
[0079] 2. D+ / D- pins
[0080] The D+ / D- pins are used for USB 2.0 data transfer via the Type-C interface.
[0081] 3. Transmit (TX) / Receive (RX) pins
[0082] The TX / RX pins are used for signal transmission via the Type-C interface. In wired screen projection, these TX / RX pins are used for high-speed transmission of audio and video data.
[0083] 4. Configuration channel (CC) pin
[0084] The CC1 / 2 pins are used for positive / negative insertion detection, power supply protocol negotiation, and screen projection function negotiation.
[0085] 5. Sideband use (SBU) pin
[0086] The SBU1 / 2 pins are used to support additional functions, such as audio signal transmission and video signal synchronization. In wired projection, the SBU1 / 2 pins are used as auxiliary path transmission interaction (AUX).
[0087] The aforementioned Type-C cables refer to USB Type-C interface data cables, a powerful, compatible, and high-speed connection cable. Type-C cables can be divided into standard Type-C cables and full-featured Type-C cables. Standard Type-C cables only support data transmission and charging, and do not support video signal transmission. Full-featured Type-C cables support multiple functions such as data transmission, charging, and video signal transmission, meeting users' diverse connection needs, such as connecting to display devices like monitors and projectors.
[0088] Currently, Type-C devices and cables are widely used in various products, not only performing excellently in charging and data transfer but also introducing wired screen mirroring functionality. For example, by using a Type-C cable, users can easily project audio and video content playing on their sending device onto a connected display device, resulting in a more convenient user experience.
[0089] The following example uses the DP protocol and Figure 3 to illustrate the negotiation process of Type-C wired screen mirroring.
[0090] As shown in Figure 3, firstly, the transmitting device and the display device complete functional negotiation before entering alternate mode (Alt Mode) via the CC pin in the Type-C interface. The basic process includes: after the display device detects the transmitting device's access, the display device and the transmitting device negotiate the connection; the transmitting device reads the display device's standard or vendor ID (SVID) / Mode to obtain the display device's Alt Mode capability (e.g., whether the display device supports Alt Mode) to confirm whether the display device supports wired projection; based on the display device's supported wired projection protocol standard, the transmitting device sends a command to the display device to enter the corresponding Alt Mode, completing the negotiation process for the corresponding Alt Mode protocol standard to negotiate the Alt Mode protocol standards supported by both parties. At this point, the Alt Mode negotiation process between the devices is basically complete. Subsequently, the handshake negotiation for the corresponding Alt Mode protocol standard is initiated. The Alt Mode standard can include various audio and video communication protocol standards, such as HDMI and DP. Its negotiation process includes: reading the corresponding auxiliary channel information via the SBU pin in the Type-C interface. This process may vary depending on the different Alt Mode protocol standards. For example, in DP Alt Mode, the SBU pin is multiplexed as the DP Aux pin to read extended display identification data (EDID) and displayport configuration data (DPCD) information; similarly, in HDMI, the SBU pin is multiplexed as SDA / SCL to read EDID information; the TX / RX pins in the Type-C interface initiate the high-speed signal link establishment process to ensure the transmission of valid and stable audio and video data. For example, in DP Alt Mode, the TX and RX pins in the Type-C interface are multiplexed as the DP Main-Link pins for transmitting valid audio and video data.
[0091] It should be understood that Alt Mode is a specific mode supported by the Type-C interface, allowing the transmission of video signals and other types of data, such as audio and data communication, through the Type-C interface. Taking DP Alt Mode as an example, it allows DP signals to be transmitted through the Type-C interface, thus supporting the transmission of high-resolution video and audio. This allows users to connect the transmitting device to external display devices such as monitors or projectors using a single connection cable. Common video transmission protocols that support Alt Mode include DP and HDMI protocols.
[0092] In the aforementioned Type-C wired projection negotiation process, the sending device can determine whether the display device supports wired projection by reading the display device's SVID / Mode, thus deciding whether to enable wired projection. However, the display device cannot identify whether the sending device supports Type-C wired projection, nor can it identify whether the Type-C cable connected to the display device supports wired projection. Therefore, for display devices that support Type-C wired projection, if a user inserts a sending device and / or cable that does not support wired projection into the Type-C interface, the display device will not display an image (e.g., displaying a black screen or "No Signal"). Users will be confused by the black screen or "No Signal" message, affecting the user experience and increasing customer maintenance and clarification costs.
[0093] In view of this, embodiments of this application provide a method for identifying display device anomalies. This method enables display devices that support Type-C wired screen mirroring to automatically detect whether the Type-C device and / or Type-C cable connected to them supports wired screen mirroring. If screen mirroring fails when a user uses the Type-C wired screen mirroring function, the display device can provide a screen mirroring failure prompt message, thereby answering the user's questions and improving the user experience, while also reducing the cost of clarifying screen mirroring failures.
[0094] The following describes in detail a method for identifying anomalies in a display device according to an embodiment of this application, with reference to Figure 4. It should be understood that the examples in Figure 4 are merely to help those skilled in the art understand the embodiments of this application, and are not intended to limit the embodiments to the specific values or scenarios illustrated in Figure 4. Those skilled in the art can obviously make various equivalent modifications or variations based on the examples given below in Figure 4, and such modifications and variations also fall within the scope of the embodiments of this application.
[0095] Figure 4 is a schematic flowchart of a method for identifying anomalies in a display device according to an embodiment of this application. As shown in Figure 4, the method may include steps 410-430, which will be described in detail below.
[0096] The method shown in Figure 4 can be executed by a display device, or by a chip in the display device, or by a component (e.g., a circuit) composed of chips in the display device. This application does not specifically limit this.
[0097] Step 410: The display device detects that a transmitting device has been inserted.
[0098] In this embodiment of the application, the transmitting device can be connected to the display device via a Type-C cable. For example, the Type-C plug (or Type-C connector) at one end of the Type-C cable is inserted into the Type-C interface of the transmitting device, and the Type-C plug at the other end of the Type-C cable is inserted into the Type-C interface of the display device.
[0099] For example, both the transmitting device and the display device mentioned above are Type-C devices with a Type-C interface. For a detailed description of Type-C devices, please refer to the description above, which will not be repeated here.
[0100] In this embodiment of the application, if a transmitting device is connected to a display device via a Type-C cable, the display device can detect the insertion or access of the transmitting device through the Type-C interface.
[0101] In one possible implementation, the display device can determine whether a transmitting device is connected by measuring the voltage on the CC pin of its Type-C interface. For example, if a transmitting device is connected to the display device via a Type-C cable, a voltage change will be detected on the CC pin of the display device's Type-C interface. The display device then determines that a transmitting device is connected based on this voltage change.
[0102] As an example, the display device mentioned above is a display device that supports Type-C wired screen projection.
[0103] As an example, the aforementioned transmitting device refers to a device that sends data to the aforementioned display device. This data includes audio and video data on the transmitting device, so that the transmitting device can project the audio and video content it is playing onto the display device connected to it, thereby bringing a more convenient user experience.
[0104] Optionally, in some embodiments, if the transmitting device needs charging after being connected to the display device, the display device can also negotiate charging with the transmitting device.
[0105] As an example, when a display device detects a transmitting device inserted via the CC pin in its Type-C interface, it can negotiate charging with the transmitting device through the CC pin. For instance, the display device first outputs a basic voltage (e.g., 5V) through the VBUS pin in its Type-C interface, which provides basic power to the transmitting device. The display device then negotiates the voltage / current required for subsequent power supply with the transmitting device through the CC pin in its Type-C interface.
[0106] Step 420: Display device detects whether the sending device sends information for executing the target process.
[0107] In this embodiment of the application, after detecting the access or insertion of a transmitting device, the display device can detect whether the transmitting device sends information for executing the target process. That is, the display device can detect whether it has received information from the transmitting device for executing the target process.
[0108] This application does not specifically limit the information used to execute the target process described above; the information can be any information used by the sending device to execute the target process. For example, the information can be information sent by the sending device to initiate the target process. Alternatively, the information can be any relevant information sent by the sending device during the execution of the target process.
[0109] The above information may also be referred to as a message, command, or instruction, and this application does not specifically limit it in this regard.
[0110] This application embodiment does not specifically limit the above target process. The target process can be any one of the following processes or any combination of multiple processes in the Type-C wired screen projection negotiation: alternating mode Alt Mode interaction process, process of reading data through auxiliary channel, and process of establishing link and transmitting the audio and video data.
[0111] The Alt Mode interaction process described above is used by the sending device and the display device to negotiate the video transmission protocol standard (including DP protocol, HDMI protocol, etc.) used for screen projection via the CC pin of the Type-C interface in Alt Mode. The process of reading data through the auxiliary channel described above is used by the sending device and the display device to read the corresponding auxiliary channel information via the SBU pin of the Type-C interface. This process may vary depending on the different Alt Mode protocol standards. The process of establishing the link and transmitting the audio and video data described above is used by the sending device and the display device to perform link training and transmit valid audio and video data via the TX / RX pins of the Type-C interface. For a detailed description of the process, please refer to the explanation in Figure 3 above; it will not be repeated here.
[0112] Step 430: If no information for executing the target process is received from the sending device within a preset time period, output a prompt message indicating that the sending device failed to project the screen.
[0113] In this embodiment of the application, the display device can determine whether the sending device has failed to project the screen based on whether it has received information from the sending device for executing the target process within a preset time period.
[0114] For example, if the display device does not receive information from the sending device for executing the target process within a preset time period, the display device can determine that the screen projection has failed and output a prompt message indicating that the screen projection has failed.
[0115] The above-mentioned prompts indicating screen mirroring failure may include, but are not limited to: the sending device does not support the Type-C wired screen mirroring function, or the Type-C cable used to connect the sending device and the display device does not support the Type-C wired screen mirroring function, or none of the Type-C cables used by the sending device support the Type-C wired screen mirroring function.
[0116] This application does not limit the specific duration of the aforementioned preset time period. For example, the start time of the preset time period is the moment when the transmitting device is inserted into the display device, and the end time is the moment when the prompt information is displayed on the display device.
[0117] For example, a display device can obtain the moment when a transmitting device is inserted into the display device if it detects that a transmitting device has been inserted.
[0118] In the above technical solution, the display device can effectively identify whether the sending device and / or cable supports the Type-C wired screen projection function. If the screen projection fails when the user uses the Type-C wired screen projection function, the display device can provide a screen projection failure prompt message, thereby answering the user's questions and improving the user experience, while also reducing the cost of clarifying screen projection failure.
[0119] The following examples illustrate different implementation methods of a display device outputting a prompt message indicating that the screen projection failed when it does not receive information from the sending device for executing the target process within a preset time period.
[0120] Implementation Method 1: Taking a target process that includes an Alt Mode interaction process as an example. If the display device does not receive information from the sending device for executing the Alt Mode interaction process within the aforementioned preset time period, the display device outputs a prompt message indicating that the sending device does not support the Type-C wired screen projection function.
[0121] It should be understood that if the sending device does not support Type-C wired screen mirroring, after connecting to the display device via a Type-C cable, it will not actively send information to the display device to execute the Alt Mode interaction process. The display device will also not receive any such information from the sending device within the aforementioned preset time period. In this case, the display device can determine that the screen mirroring failure is due to the sending device itself not supporting Type-C wired screen mirroring, and the display device can output a message indicating that the sending device does not support this Type-C wired screen mirroring function.
[0122] This application does not specifically limit the information used to execute the Alt Mode interaction process. The information used to execute the Alt Mode interaction process includes, but is not limited to: information sent by the sending device to start the Alt Mode interaction process, and any relevant information sent by the sending device during the execution of the Alt Mode interaction process.
[0123] Implementation Method 2: Taking a target process that includes reading data through an auxiliary channel as an example. If the display device does not receive information from the transmitting device within the aforementioned preset time period for executing the process of reading data through the auxiliary channel, the display device outputs a message indicating that the transmitting device does not support the Type-C wired projection function or that the Type-C cable used by the transmitting device does not support the Type-C wired projection function.
[0124] It should be understood that if the sending device does not support Type-C wired screen mirroring, after connecting to the display device via a Type-C cable, it will not actively send information to the display device to execute the process of reading data through the auxiliary channel. The display device will also not receive such information from the sending device within the aforementioned preset time period. In this case, the display device can determine that the screen mirroring failure is due to the sending device itself not supporting Type-C wired screen mirroring, and the display device can output a message indicating that the sending device does not support this Type-C wired screen mirroring function.
[0125] It should also be understood that since the transmitting device uses the SBU pin of the Type-C interface to execute the process of reading data through the auxiliary channel, ordinary Type-C cables generally omit the SBU pin to save costs. If the transmitting device does not actively send information to the display device to execute the process of reading data through the auxiliary channel after connecting to the display device via a Type-C cable, it is also possible that the transmitting device is using an ordinary Type-C cable, which does not have an SBU pin. Therefore, if the display device does not receive information from the transmitting device to execute the process of reading data through the auxiliary channel within the aforementioned preset time period, it can be determined that the reason for the screen mirroring failure is that the Type-C cable used by the transmitting device does not support the Type-C wired screen mirroring function. The display device can output a prompt message indicating that the Type-C cable used by the transmitting device does not support the Type-C wired screen mirroring function.
[0126] This application does not specifically limit the information used to execute the process of reading data through the auxiliary channel. The information used to execute the process of reading data through the auxiliary channel includes, but is not limited to: information sent by the transmitting device to initiate the process of reading data through the auxiliary channel, and any relevant information sent by the transmitting device during the execution of the process of reading data through the auxiliary channel.
[0127] Implementation Method 3: Taking the target process including establishing a connection and transmitting the audio and video data as an example. If the display device does not receive information from the sending device within the aforementioned preset time period for executing the process of establishing a connection and transmitting the audio and video data, the display device outputs a prompt message indicating that the Type-C cable used by the sending device does not support the Type-C wired screen projection function.
[0128] It should be understood that since the transmitting device uses the TX / RX pins of the Type-C interface to perform the connection establishment and audio / video data transmission process, ordinary Type-C cables generally omit the TX / RX pins to save costs. Therefore, if the transmitting device does not actively send information for performing the connection establishment and audio / video data transmission process to the display device after connecting to the display device via a Type-C cable, it is possible that the transmitting device is using an ordinary Type-C cable that does not have TX / RX pins. Therefore, if the display device does not receive information from the transmitting device for performing the connection establishment and audio / video data transmission process within the aforementioned preset time period, it can be determined that the reason for the screen mirroring failure is that the Type-C cable used by the transmitting device does not support the Type-C wired screen mirroring function. The display device can output a prompt message indicating that the Type-C cable used by the transmitting device does not support the Type-C wired screen mirroring function.
[0129] This application embodiment does not specifically limit the information used to execute the process of establishing a connection and transmitting the audio and video data. The information used to execute the process of establishing a connection and transmitting the audio and video data includes, but is not limited to: information sent by the transmitting device to initiate the process of establishing a connection and transmitting the audio and video data, and any relevant information sent by the transmitting device during the execution of the process of establishing a connection and transmitting the audio and video data.
[0130] Implementation Method 4: Taking a target process that includes an Alt Mode interaction process and a process for reading data through an auxiliary channel as an example. If the display device receives information from the sending device within the aforementioned preset time period for executing the Alt Mode interaction process, but does not receive information from the sending device for executing the process for reading data through the auxiliary channel, the display device outputs a message indicating that the sending device does not support the Type-C wired projection function or that the Type-C cable used by the sending device does not support the Type-C wired projection function.
[0131] It should be understood that if the sending device does not support Type-C wired screen mirroring, even if it actively sends information to the display device to execute the Alt Mode interaction process after connecting to the display device via a Type-C cable, it will not actively send information to the display device to execute the process of reading data through the auxiliary channel. Therefore, even if the display device receives information from the sending device to execute the Alt Mode interaction process within the aforementioned preset time period, it will not receive information from the sending device to execute the process of reading data through the auxiliary channel. In this case, the display device can determine that the screen mirroring failure is due to the sending device itself not supporting Type-C wired screen mirroring, and the display device can output a prompt message indicating that the sending device does not support the Type-C wired screen mirroring function.
[0132] It should also be understood that if the Type-C cable used by the transmitting device does not support Type-C wired screen mirroring (for example, the Type-C cable does not include the SBU pin), after the transmitting device is connected to the display device via the Type-C cable, it will actively send information to the display device to execute the Alt Mode interaction process, but it will not actively send information to the display device to execute the process of reading data through the auxiliary channel. In this case, the display device can determine that the reason for the screen mirroring failure is that the Type-C cable used by the transmitting device does not support the Type-C wired screen mirroring function, and the display device can output a prompt message indicating that the Type-C cable used by the transmitting device does not support this Type-C wired screen mirroring function.
[0133] Implementation Method 5: Taking the target process including the Alt Mode interaction process, establishing a connection and transmitting the audio and video data as an example. If the display device receives information from the sending device within the aforementioned preset time period for executing the Alt Mode interaction process, but does not receive information from the sending device for executing the connection establishment and transmission of the audio and video data process, the display device outputs a prompt message indicating that the Type-C cable used by the sending device does not support the Type-C wired screen projection function.
[0134] It should be understood that if the Type-C cable used by the transmitting device does not support Type-C wired screen mirroring (for example, the Type-C cable does not include TX / RX pins), after the transmitting device is connected to the display device via the Type-C cable, even if it actively sends information to the display device to execute the Alt Mode interaction process, it will not actively send information to the display device to execute the connection establishment and transmission of the audio and video data. In this case, the display device can determine that the screen mirroring failure is due to the Type-C cable used by the transmitting device not supporting the Type-C wired screen mirroring function, and the display device can output a prompt message indicating that the Type-C cable used by the transmitting device does not support the Type-C wired screen mirroring function.
[0135] Implementation Method 6: Taking the target process as an example, which includes an Alt Mode interaction process, a process of reading data through an auxiliary channel, and a process of establishing a connection and transmitting the audio and video data. If the display device receives information from the transmitting device within the aforementioned preset time period for executing the Alt Mode interaction process and information for executing the process of reading data through the auxiliary channel, but does not receive information from the transmitting device for executing the process of establishing a connection and transmitting the audio and video data, the display device outputs a prompt message indicating that the Type-C cable used by the transmitting device does not support the Type-C wired screen projection function.
[0136] It should be understood that if the Type-C cable used by the transmitting device does not support Type-C wired screen mirroring (for example, the Type-C cable does not include TX / RX pins), after the transmitting device is connected to the display device via the Type-C cable, even if it actively sends information to the display device to execute the Alt Mode interaction process and the process to execute the process of reading data through the auxiliary channel, it will not actively send information to the display device to execute the process of establishing a link and transmitting the audio and video data. In this case, the display device can determine that the reason for the screen mirroring failure is that the Type-C cable used by the transmitting device does not support the Type-C wired screen mirroring function, and the display device can output a prompt message indicating that the Type-C cable used by the transmitting device does not support the Type-C wired screen mirroring function.
[0137] In this embodiment, after outputting a prompt message indicating a casting failure, the display device can also output help information indicating a casting failure on the sending device. This allows users to resolve the casting failure issue based on the help information, successfully casting audio and video data from the sending device to the display device via a Type-C wired connection, further improving the user experience.
[0138] For example, in cases where screen mirroring fails because the sending device does not support Type-C wired screen mirroring, the help information output by the display device prompts the user to change the sending device plugged into the display device, thereby increasing the probability of successful screen mirroring. For instance, the help information output by the display device instructs the user to replace the sending device with one that supports Type-C wired screen mirroring.
[0139] For example, in cases where screen mirroring fails because the cable used by the sending device does not support Type-C wired screen mirroring, the help information output by the display device can prompt the user to change the cable used by the sending device, thereby increasing the probability of successful screen mirroring. For instance, the help information output by the display device can instruct the user to replace the cable used by the sending device with one that supports Type-C wired screen mirroring.
[0140] For example, in cases where screen mirroring fails because the sending device and its cable do not support Type-C wired screen mirroring, the help information output by the display device can prompt the user to replace the sending device and its cable, thereby increasing the probability of successful screen mirroring. For instance, the help information output by the display device can instruct the user to replace the sending device with one that supports Type-C wired screen mirroring, and to replace the cable used with one that supports Type-C wired screen mirroring.
[0141] It should be noted that if the sending device prompts "Do you need screen mirroring?" after being plugged into the display device via cable, the execution of the method flow shown in Figure 4 will not be affected until the user clicks "Confirm". Similarly, if the sending device is off, the execution of the method flow shown in Figure 4 will not be affected.
[0142] Those skilled in the art will recognize that, based on the units and algorithm steps described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is implemented in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0143] This application embodiment can divide the device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware or as software functional modules. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods. The following description uses the division of functional modules according to each function as an example.
[0144] Figure 5 is a schematic block diagram of a display device anomaly identification device 500 provided in this application. The device 500 is deployed on a display device and is used to execute the method flow shown in Figure 4 above. As shown in Figure 5, the device 500 may include: a detection module 510 and an output module 520.
[0145] The detection module 510 is used to detect the insertion of a transmitting device, wherein the display device supports Type-C wired projection function, the transmitting device is inserted into the display device via a Type-C cable and sends data to the display device, the data including audio and video data; the detection module 510 is also used to detect whether the transmitting device sends information for executing the target process; the output module 520 is used to output a projection failure prompt message if no information for executing the target process is received from the transmitting device within a preset time period, wherein the start time of the preset time period is the time when the transmitting device is inserted into the display device, the end time of the preset time period is the time when the prompt message is displayed, and the prompt message includes that the transmitting device does not support the Type-C wired projection function and / or the Type-C cable does not support the Type-C wired projection function.
[0146] Optionally, the target process includes any one or more combinations of the following processes: alternating mode Alt Mode interaction process, process of reading data through an auxiliary channel, and process of establishing a link and transmitting the audio and video data.
[0147] Optionally, the target process includes the Alt Mode interaction process, and the output module 520 is specifically used to: output a prompt message indicating that the sending device has failed to cast the screen if no information for executing the Alt Mode interaction process is received from the sending device within the preset time period, wherein the prompt message is used to indicate that the sending device does not support the Type-C wired screen casting function.
[0148] Optionally, the target process includes the process of reading data through the auxiliary channel. The output module 520 is specifically used to: output a prompt message indicating that the screen projection of the sending device has failed, based on the fact that no information for executing the process of reading data through the auxiliary channel is received from the sending device within the preset time period. The prompt message is used to indicate that the sending device does not support the Type-C wired screen projection function, or that the Type-C cable does not support the Type-C wired screen projection function.
[0149] Optionally, the target process also includes the Alt Mode interaction process. The output module 520 is specifically used to: based on receiving information from the transmitting device within the preset time period for executing the Alt Mode interaction process, but not receiving information from the transmitting device for executing the process of reading data through the auxiliary channel, output a prompt message indicating that the transmitting device fails to project the screen. The prompt message is used to indicate that the transmitting device does not support the Type-C wired projection function, or that the Type-C cable does not support the Type-C wired projection function.
[0150] Optionally, the target process includes the process of establishing the connection and transmitting the audio and video data. The output module 520 is specifically used to: if no information is received from the transmitting device within the preset time period for performing the process of establishing the connection and transmitting the audio and video data, output a prompt message indicating that the screen projection of the transmitting device has failed. The prompt message is used to indicate that the Type-C cable does not support the Type-C wired screen projection function.
[0151] Optionally, the target process also includes the Alt Mode interaction process and the process of reading data through the auxiliary channel. The output module 520 is specifically used to: based on the information received from the transmitting device within the preset time period for executing the Alt Mode interaction process and the information received for executing the process of reading data through the auxiliary channel, but no information received from the transmitting device for executing the connection establishment and transmitting the audio and video data, determine that the reason for the failure of the transmitting device to cast the screen is that the Type-C cable does not support the Type-C wired screen casting function.
[0152] Optionally, the output module 520 is also used to output help information for screen mirroring failure of the sending device. The help information includes replacing the sending device with a device that supports the Type-C wired screen mirroring function and / or replacing the Type-C cable with a cable that supports the Type-C wired screen mirroring function.
[0153] It should also be understood that the device 500 here is embodied in the form of a functional unit. The term "unit" here may refer to application-specific integrated circuits (ASICs), electronic circuits, processors (e.g., shared processors, proprietary processors, or group processors) and memories for executing one or more software or firmware programs, combined logic circuits, and / or other suitable components that support the described functions.
[0154] The apparatus 500 of each of the above schemes has the function of implementing the corresponding steps of the method shown in FIG4. The function can be implemented by hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions; for example, the determining unit can be replaced by a processor to execute the transmit / receive operations and related processing operations in each method embodiment. Furthermore, the determining unit can be a processing circuit.
[0155] Figure 6 is a schematic block diagram of a display device 600 provided in an embodiment of this application. As shown, the display device 600 includes at least one processor 620. Optionally, the display device 600 further includes a transceiver 610, and the processor 620 controls the transceiver 610 to transmit and / or receive signals. Optionally, the display device 600 also includes a memory 630 for storing instructions.
[0156] It should be understood that the processor 620 and memory 630 described above can be combined into a single processing device, with the processor 620 executing the program code stored in the memory 630 to achieve the aforementioned functions. In specific implementations, the memory 630 can be integrated into the processor 620 or independent of the processor 620.
[0157] It should also be understood that transceiver 610 may include a transceiver (or receiver) and a transmitter (or transmitter). The transceiver may further include an antenna, and the number of antennas may be one or more. Transceiver 610 may have a communication interface or interface circuitry.
[0158] Specifically, the processor 620 in the display device 600 may correspond to the detection module 510 and output module 520 in the device 500.
[0159] For example, processor 620 is used to execute computer programs or instructions stored in memory 630 to implement the steps in the method described above.
[0160] In this embodiment, a computer program product containing instructions is also provided. The computer program product may be a software or program product containing instructions capable of running on a computing device cluster or stored on any available medium. When run by the computing device cluster, it causes the computing device cluster to perform the methods provided above, or causes the computing device cluster to implement the functions of the apparatus provided above.
[0161] In this embodiment, a computer-readable storage medium is also provided. This computer-readable storage medium can be any available medium that a computing device can store, or a data storage device such as a data center containing one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., digital video disc (DVD)), or a semiconductor medium (e.g., a solid-state drive). The computer-readable storage medium includes instructions that, when executed on a computing device, cause the computing device to perform the method described above.
[0162] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0163] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0164] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0165] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0166] In addition, the functional units in the various embodiments of this application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one unit.
[0167] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0168] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for identifying anomalies in a display device, characterized in that, include: The display device detects that a transmitting device has been inserted, wherein the display device supports Type-C wired screen projection, and the transmitting device is inserted into the display device via a Type-C cable and sends data to the display device, the data including audio and video data; The display device detects whether the transmitting device sends information for executing the target process; The display device outputs a prompt message indicating that the screen projection failed if it does not receive any information from the sending device for executing the target process within a preset time period. The preset time period begins when the sending device is inserted into the display device and ends when the prompt message is displayed. The prompt message includes information such as the sending device not supporting the Type-C wired screen projection function and / or the Type-C cable not supporting the Type-C wired screen projection function.
2. The method according to claim 1, characterized in that, The target process includes any one or more combinations of the following processes: alternating mode Alt Mode interaction process, process of reading data through auxiliary channel, and process of establishing a link and transmitting the audio and video data.
3. The method according to claim 2, characterized in that, The target process includes the Alt Mode interaction process. The display device outputs a prompt message indicating that the screen projection failed if it does not receive information from the sending device for executing the target process within a preset time period, including: The display device outputs a prompt message indicating that the screen projection failed, based on the fact that it has not received any information from the sending device for executing the Alt Mode interaction process within the preset time period. The prompt message indicates that the sending device does not support the Type-C wired screen projection function.
4. The method according to claim 2, characterized in that, The target process includes the process of reading data through the auxiliary channel. The display device outputs a prompt message indicating that the screen projection failed if it does not receive information from the sending device for executing the target process within a preset time period, including: The display device outputs a prompt message indicating that the screen projection failed, based on the fact that it has not received any information from the transmitting device for executing the process of reading data through the auxiliary channel within the preset time period. The prompt message indicates that the transmitting device does not support the Type-C wired screen projection function, or that the Type-C cable does not support the Type-C wired screen projection function.
5. The method according to claim 4, characterized in that, The target process also includes the Alt Mode interaction process. The display device outputs a prompt message indicating that the screen projection failed, based on the fact that it has not received any information from the transmitting device within the preset time period for executing the process of reading data through the auxiliary channel. This includes: The display device, upon receiving information from the sending device within the preset time period for executing the Alt Mode interaction process, but not receiving information from the sending device for executing the process of reading data through the auxiliary channel, outputs a prompt message indicating that the sending device fails to project the screen. The prompt message indicates that the sending device does not support the Type-C wired projection function, or that the Type-C cable does not support the Type-C wired projection function.
6. The method according to claim 2, characterized in that, The target process includes the process of establishing the connection and transmitting the audio and video data. The display device outputs a prompt message indicating that the screen projection failed, based on the fact that it has not received any information from the transmitting device within the preset time period for executing the process of reading data through the auxiliary channel. This includes: If the display device does not receive information from the sending device within the preset time period for executing the connection establishment and transmitting the audio and video data process, it outputs a prompt message indicating that the screen projection of the sending device has failed. The prompt message indicates that the Type-C cable does not support the Type-C wired screen projection function.
7. The method according to claim 6, characterized in that, The target process also includes the Alt Mode interaction process and the process of reading data through the auxiliary channel. If the display device does not receive information from the sending device within the preset time period regarding the process of establishing the connection and transmitting the audio and video data, it outputs a prompt message indicating that the screen projection of the sending device has failed, including: The display device determines that the reason for the screen projection failure is that the Type-C cable does not support the Type-C wired screen projection function, based on the fact that it receives information from the transmitting device within the preset time period for executing the Alt Mode interaction process and the process for reading data through the auxiliary channel, but does not receive information from the transmitting device for executing the connection establishment and transmitting the audio and video data.
8. The method according to any one of claims 1 to 7, characterized in that, The method further includes: The display device outputs help information indicating that the sending device failed to project the screen. The help information includes replacing the sending device with a device that supports the Type-C wired projection function and / or replacing the Type-C cable with a cable that supports the Type-C wired projection function.
9. A device for identifying anomalies in a display device, characterized in that, The device is deployed on a display device, and the device includes: A detection module is used to detect the insertion of a transmitting device, wherein the display device supports Type-C wired projection, and the transmitting device is inserted into the display device via a Type-C cable and sends data to the display device, the data including audio and video data; The detection module is also used to detect whether the sending device sends information for executing the target process; The output module is used to output a prompt message indicating that the sending device has failed to cast the screen if no information for executing the target process is received from the sending device within a preset time period. The preset time period starts when the sending device is inserted into the display device and ends when the prompt message is displayed. The prompt message includes information that the sending device does not support the Type-C wired screen casting function and / or the Type-C cable does not support the Type-C wired screen casting function.
10. The apparatus according to claim 9, characterized in that, The target process includes any one or more combinations of the following processes: alternating mode Alt Mode interaction process, process of reading data through auxiliary channel, and process of establishing a link and transmitting the audio and video data.
11. The apparatus according to claim 10, characterized in that, The target process includes the Alt Mode interaction process, and the output module is specifically used for: If no information for executing the Alt Mode interaction process is received from the sending device within the preset time period, a prompt message indicating that the sending device has failed to cast the screen is output, wherein the prompt message is used to indicate that the sending device does not support the Type-C wired screen casting function.
12. The apparatus according to claim 10, characterized in that, The target process includes the process of reading data through the auxiliary channel, and the output module is specifically used for: If no information is received from the transmitting device within the preset time period for executing the process of reading data through the auxiliary channel, a prompt message indicating that the transmitting device has failed to project the screen is output. The prompt message indicates that the transmitting device does not support the Type-C wired projection function, or that the Type-C cable does not support the Type-C wired projection function.
13. The apparatus according to claim 12, characterized in that, The target process also includes the Alt Mode interaction process, and the output module is specifically used for: If, within the preset time period, information is received from the transmitting device for executing the Alt Mode interaction process, but no information is received from the transmitting device for executing the process of reading data through the auxiliary channel, a prompt message indicating that the transmitting device has failed to project the screen is output. The prompt message indicates that the transmitting device does not support the Type-C wired projection function, or that the Type-C cable does not support the Type-C wired projection function.
14. The apparatus according to claim 10, characterized in that, The target process includes the process of establishing the link and transmitting the audio and video data, and the output module is specifically used for: If no information for the process of establishing the connection and transmitting the audio and video data is received from the sending device within the preset time period, a prompt message indicating that the sending device has failed to project the screen is output. The prompt message indicates that the Type-C cable does not support the Type-C wired projection function.
15. The apparatus according to claim 14, characterized in that, The target process also includes the Alt Mode interaction process and the process of reading data through the auxiliary channel. The output module is specifically used for: Based on the fact that information for executing the Alt Mode interaction process and information for executing the process of reading data through the auxiliary channel were received from the transmitting device within the preset time period, but no process for executing the connection establishment and transmitting the audio and video data was received from the transmitting device, it is determined that the reason for the screen projection failure of the transmitting device is that the Type-C cable does not support the Type-C wired screen projection function.
16. The apparatus according to any one of claims 9 to 15, characterized in that, The output module is also used to output help information when the sending device fails to project the screen. The help information includes replacing the sending device with a device that supports the Type-C wired projection function and / or replacing the Type-C cable with a cable that supports the Type-C wired projection function.
17. A display device, characterized in that, It includes a processor and a memory; the processor is configured to execute instructions stored in the memory to cause the display device to perform the method as described in any one of claims 1 to 8.
18. A chip system, characterized in that, The system includes a processor for retrieving and running a computer program from memory, causing a device equipped with the chip system to perform the method of any one of claims 1 to 8.
19. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores instructions that, when executed on the computer, cause the computer to perform the method as described in any one of claims 1 to 8.
20. A computer program product, characterized in that, Includes instructions that, when executed on a computer, cause the computer to perform the method as described in any one of claims 1 to 8.