CN110677602A - Channel mode switching method and device of display equipment and display equipment - Google Patents

Channel mode switching method and device of display equipment and display equipment Download PDF

Info

Publication number
CN110677602A
CN110677602A CN201910943562.2A CN201910943562A CN110677602A CN 110677602 A CN110677602 A CN 110677602A CN 201910943562 A CN201910943562 A CN 201910943562A CN 110677602 A CN110677602 A CN 110677602A
Authority
CN
China
Prior art keywords
channel
channel mode
equipment
display device
usb type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910943562.2A
Other languages
Chinese (zh)
Other versions
CN110677602B (en
Inventor
王智勇
贺瑞宏
蒋旭光
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CHONGQING HUIKE JINYANG TECHNOLOGY Co Ltd
Original Assignee
CHONGQING HUIKE JINYANG TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CHONGQING HUIKE JINYANG TECHNOLOGY Co Ltd filed Critical CHONGQING HUIKE JINYANG TECHNOLOGY Co Ltd
Priority to CN201910943562.2A priority Critical patent/CN110677602B/en
Publication of CN110677602A publication Critical patent/CN110677602A/en
Application granted granted Critical
Publication of CN110677602B publication Critical patent/CN110677602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G3/00Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
    • G09G3/20Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)

Abstract

The application is applicable to the technical field of communication, and provides a channel mode switching method, a channel mode switching device and display equipment, wherein whether a current working channel of the display equipment is a USB Type-C channel or not is judged; if the current working channel of the display equipment is the USB Type-C channel, connecting the USB Type-C channel with the equipment end, and determining the signal source of the equipment end; the channel mode of the display equipment is switched according to the signal source, so that after the signal source of the equipment end is determined, the corresponding channel mode is switched according to the signal source, the display equipment can correctly display signals of the equipment ends of different sources, and the problem that the display equipment is in a black screen state or the equipment end is in a dead state due to the fact that the display equipment requires the equipment end to output signals with the resolution higher than the maximum resolution supported by the equipment end to be output is solved.

Description

Channel mode switching method and device of display equipment and display equipment
Technical Field
The present application belongs to the technical field of channel mode switching, and in particular, to a channel mode switching method and apparatus for a display device, and a display device.
Background
With the development of the Type-C interface technology, most high-end displays are provided with a Type-C interface to meet the diversified demands of users, and the Type-C interfaces of these high-end displays can support one-fourth high Definition (QHD), such as 2650 × 1440 of resolution, 165Hz of refresh rate, and higher resolution and refresh rate.
Meanwhile, the number of the current mobile phones with the Type-C interfaces capable of outputting audio and video signals is large, however, the mobile phones cannot output audio and video signals with high resolution and refresh rate of QHD, and when a user needs to display the audio and video signals output by the mobile phone to a high-end display through the Type-C interfaces, the problems that the mobile phone is halted or the high-end display generates a black screen after receiving the video signals, and the like can occur.
Disclosure of Invention
In view of this, embodiments of the present application provide a channel mode switching method and apparatus for a display device, and a display device, so as to solve the problems of a black screen of a display screen and a crash of a mobile phone occurring when video signals from different sources are transmitted through a USB Type-C interface in the prior art.
A first aspect of an embodiment of the present application provides a channel mode switching method for a display device, including:
judging whether the current working channel of the display equipment is a USB Type-C channel or not;
if the current working channel of the display equipment is a USB Type-C channel, connecting the USB Type-C channel with an equipment end, and determining a signal source of the equipment end;
and switching the channel mode of the display equipment according to the signal source.
In a possible implementation manner of the first aspect, when determining the signal source of the device side, a current channel mode of the display device is determined according to a value of a channel flag.
Illustratively, the device side includes a first device side and a second device side, and a resolution of the output supported by the first device side is lower than a resolution of the output supported by the second device side.
Illustratively, the channel modes include a first channel mode and a second channel mode, and the first channel mode supports a maximum resolution of a signal transmitted lower than a maximum resolution of a signal transmitted by the second channel mode.
In another possible implementation manner of the first aspect, switching a channel mode of the display device according to the signal source specifically includes:
if the signal is from the first equipment end and the current channel mode of the display equipment is the second channel mode, switching the second channel mode to the first channel mode;
and if the signal is from the second equipment terminal and the current channel mode of the display equipment is the first channel mode, switching the first channel mode to the second channel mode.
Exemplarily, the determining the signal source of the device end specifically includes:
determining a charging state of a USB Type-C interface of the equipment terminal, wherein the charging state comprises an external charging state and a non-external charging state;
if the USB Type-C interface is charged externally, determining that the signal of the equipment end comes from the first equipment end;
and if the USB Type-C interface does not charge the outside, determining that the signal of the equipment terminal is originated from the second equipment terminal.
Exemplarily, determining the charging state of the USB Type-C interface specifically includes:
acquiring a voltage value of a preset input/output (I/O) interface;
determining the charging state of the USB Type-C interface according to the voltage value;
if the voltage value of the I/O interface is a first voltage threshold value, determining that the USB Type-C interface is externally charged;
and if the voltage value of the I/O interface is a second voltage threshold value, determining that the USB Type-C interface does not charge the outside.
Illustratively, the value of the channel flag is a first numerical value or a second numerical value, and the value of the channel flag has a correspondence with the channel mode, for example, the channel mode corresponding to the first numerical value is a first channel mode, and the channel mode corresponding to the second numerical value is a second channel mode; or when the current channel mode of the display device is the first channel mode, the corresponding value of the channel mark is the first numerical value, and when the current channel mode of the display device is the second channel mode, the corresponding value of the channel mark is the second numerical value.
It should be understood that, according to the value of the channel mark, determining the current channel mode of the display device specifically includes:
if the value of the channel mark is a first numerical value, determining that the current channel mode of the display equipment is a first channel mode;
if the value of the channel mark is a second numerical value, determining that the current channel mode of the display equipment is a second channel mode;
in another possible implementation manner of the first aspect, after switching the channel mode of the display device according to the signal source, the method further includes:
and updating the value of the channel mark according to the switched channel mode.
Illustratively, updating the value of the channel flag according to the switched channel mode specifically includes:
if the switched channel mode is the first channel mode and the value of the current channel mark is the second numerical value, updating the second numerical value to the first numerical value;
and if the switched channel mode is the second channel mode and the value of the current channel mark is the first numerical value, updating the first numerical value to the second numerical value.
A second aspect of the embodiments of the present application provides a channel mode switching apparatus for a display device, including:
the working channel judging unit is arranged for judging whether the current working channel of the display equipment is a USB Type-C channel;
the signal source determining unit is set to connect the USB Type-C channel with the equipment end and determine the signal source of the equipment end if the current working channel of the display equipment is the USB Type-C channel;
and the channel mode switching unit is arranged for switching the channel mode of the display equipment according to the signal source.
A third aspect of an embodiment of the present application provides a display device, including:
the working channel judging unit is arranged for judging whether the current working channel of the display equipment is a USB Type-C channel;
the signal source determining unit is set to connect the USB Type-C channel with the equipment end and determine the signal source of the equipment end if the current working channel of the display equipment is the USB Type-C channel;
and the channel mode switching unit is arranged for switching the channel mode of the display equipment according to the signal source.
A fourth aspect of an embodiment of the present application provides a computer-readable storage medium, including:
the working channel judging unit is arranged for judging whether the current working channel of the display equipment is a USB Type-C channel;
the signal source determining unit is set to connect the USB Type-C channel with the equipment end and determine the signal source of the equipment end if the current working channel of the display equipment is the USB Type-C channel;
and the channel mode switching unit is arranged for switching the channel mode of the display equipment according to the signal source.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when running on a terminal device, causes the terminal device to execute the channel mode switching method for a display device according to any one of the above first aspects.
Compared with the prior art, the embodiment of the application has the advantages that: judging whether the current working channel of the display equipment is a USB Type-C channel or not; if the current working channel of the display equipment is a USB Type-C channel, connecting the USBType-C channel with the equipment end, and determining the signal source of the equipment end; the channel mode of the display equipment is switched according to the signal source, so that after the signal source of the equipment end is determined, the corresponding channel mode is switched according to the signal source, the display equipment can correctly display signals of the equipment ends of different sources, and the problem that the display equipment is in a black screen state or the equipment end is in a dead state due to the fact that the display equipment requires the equipment end to output signals with the resolution higher than the maximum resolution supported by the equipment end to be output is solved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart illustrating an implementation of a channel mode switching method of a display device according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a specific implementation of a method for determining a current channel mode of the display device according to a value of a channel flag according to an embodiment of the present application;
fig. 3 is a flowchart of an implementation of a method for determining a signal source at a device according to an embodiment of the present disclosure;
FIG. 4 is a flowchart of a specific implementation of a method for determining a charging status of a USB Type-C interface according to an embodiment of the present disclosure;
fig. 5 is a schematic diagram of a channel mode switching apparatus of a display device according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a display device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples. Referring to fig. 1, fig. 1 shows an implementation flow of a channel mode switching method provided in an embodiment of the present application, which is detailed as follows:
in step S101, it is determined whether the current working channel of the display device is a USB Type-C channel.
In the embodiment of the present application, the display device referred to herein is a display device having a USB Type-C interface and can support QHD, i.e., a display device having a resolution of 2650 × 1410 and a refresh rate of 165Hz and higher, and can also be understood as a high-end display device.
It should be noted that the working channels of the display device include, but are not limited to, HDMI channel, DVI channel, DP channel, and USB Type-C channel. The current working channel of the display device is switched among the HDMI channel, the DVI channel, the DP channel and the USB Type-C channel, and therefore a user can switch the current working channel of the display device as required.
By way of example and not limitation, when the USB Type-C data line is connected to the device side and the Type-C interface of the display device, the current working channel of the display device is switched from another channel, such as an HDMI channel, to the USB Type-C channel, that is, during the operation of the display device, whether the current working channel of the display device is the USB Type-C channel is determined according to the connection condition of the USB Type-C data line.
In step S102, if the current working channel of the display device is the USB Type-C channel, the USB Type-C channel is connected to the device side, and a signal source of the device side is determined.
In the embodiment of the present application, the determining the signal source of the device side is to determine from which device side the signal input to the display device specifically originates, such as the first device side and the second device side, or even the third device side.
It should be noted that the signals referred to herein include, but are not limited to, video signals.
In one possible implementation, the device side referred to herein includes a first device side and a second device side, where a resolution of the output supported by the first device side is lower than a resolution of the output supported by the second device side.
By way of example and not limitation, the first device side is a device that supports outputting a video signal not higher than the first resolution and the first refresh rate, such as a device that supports outputting a video signal not higher than the resolution of 1920 × 1080, the refresh rate of 144hz, and the bandwidth of 360Mhz or less. The second device is a device that supports outputting video signals not lower than the second resolution and the second refresh rate, such as a device that supports outputting video signals not lower than a resolution of 2560 x 1440, a refresh rate of 185hz, and a bandwidth of 720Mhz or less. Wherein the first resolution is lower than the second resolution and the first refresh rate is lower than the second refresh rate.
It is understood that the first device end referred to herein is a device end with lower output resolution and refresh rate, such as a smart phone, a smart watch, etc.; the first device side referred to herein is a device side with higher output resolution and refresh rate, such as a personal computer or a personal computer with a high-end video card.
In a possible implementation manner, when determining the signal source at the device side, the current channel mode of the display device is determined according to the value of the channel flag.
By way of example and not limitation, the channel modes include a first channel mode and a second channel mode, the first channel mode supporting a lower maximum resolution of signals transmitted than the second channel mode.
It will be appreciated that the maximum resolution of the signals supporting transmission in the different channel modes will be different.
In a possible implementation manner, the second channel mode is a DP 4 lane mode, and in the channel mode, all 4 high-speed signals, that is, 4 lane signals, are opened to the main control chip of the display device for DP signal transmission. The first channel mode is a DP 2 lane mode, in which two or any two preset high-speed signals of the 4 high-speed signals, i.e., the 2 lane signal, are opened to the main control chip of the display device for signal transmission, that is, in the first channel mode, only two high-speed signals of the 4 high-speed signals are used for signal transmission of the first device.
It should be noted that the bandwidth of the transmission signal is different between the first channel mode and the second channel mode, and generally, the bandwidth of the transmission signal in the first channel mode is smaller than the bandwidth of the transmission signal in the second channel mode.
Referring to fig. 2, fig. 2 shows a specific implementation flow of a method for determining a current channel mode of the display device according to a value of a channel flag, which is provided in an embodiment of the present application, and is detailed as follows:
in step S201, the value of the channel flag is acquired.
In the embodiment of the present application, there is a corresponding relationship between the values of the channel markers and the channel modes, and the values of different channel markers correspond to different channel modes, or different channel modes are provided with different values of the channel markers correspondingly.
By way of example and not limitation, the value of the channel flag is a first value or a second value, wherein the channel mode corresponding to the first value is a first channel mode, and the channel mode corresponding to the second value is a second channel mode; or when the current channel mode of the display device is the first channel mode, the corresponding value of the channel mark is the first numerical value, and when the current channel mode of the display device is the second channel mode, the corresponding value of the channel mark is the second numerical value.
It is understood that the first value and the second value are two different values, or the first value is not equal to the second value, and in a specific embodiment, the first value may be set to 1 and the second value may be set to 0; in another specific embodiment, the first value may be set to 0 and the second value may be set to 1. In another specific embodiment, the first value and the second value may be set to any two different values other than 0 and 1, which is not specifically limited herein.
In step S202, the current channel mode of the display device is determined according to the value of the channel flag.
In the embodiment of the application, if the value of the channel mark is a first numerical value, determining that the current channel mode of the display device is a first channel mode; and if the value of the channel mark is a second numerical value, determining that the current channel mode of the display equipment is a second channel mode.
In the embodiment of the present application, the value of the channel flag and the channel mode may be preset, or may be set according to a signal source at a device end when a Micro Controller Unit (MCU) of the display device is powered on and initialized.
In a possible implementation manner, after the display device is connected to the power supply, in the power-on initialization process of the MCU, it is determined which one of the HDMI channel, the DVI channel, the DP channel, and the USB Type-C channel the current working channel of the display device is specifically, and the current working channel of the main display device is not the USB Type-C channel, that is, the channel mode of the display device is set to the second channel mode, and the value of the channel flag is set to the second value, so that it is possible to determine the current channel mode of the display device and determine whether switching is required in the subsequent channel mode switching process according to the value of the channel flag.
When the current working channel of the display equipment is a USB Type-C channel and a signal of an equipment end is determined to be from a first equipment end, setting the channel mode of the display equipment to be a first channel mode and setting the value of a channel mark to be a first numerical value; and when the signal of the equipment terminal is determined to be from the second equipment terminal, setting the channel mode of the display equipment to be the second channel mode, and setting the value of the channel mark to be the second numerical value.
In a possible implementation manner, the signal source of the device side is determined according to the charging state of the USB Type-C interface, if the USB Type-C interface charges externally, the signal of the device side is considered to originate from the first device side, otherwise, the signal of the device side is considered to originate from the second device side.
Referring to fig. 3, fig. 3 shows specific implementation steps of a method for determining a signal source of a device according to an embodiment of the present application, which are detailed as follows:
in step S301, the charging state of the USB Type-C interface is determined.
In the embodiment of the present application, the USB Type-C interface referred to herein is a USB Type-C interface of a display device, and the charging state includes two states of external charging and non-external charging. According to the embodiment of the application, the charging state of the USB Type-C interface is determined through the preset voltage value of the input/output I/O interface.
Referring to fig. 4, fig. 4 shows specific implementation steps of a method for determining a charging state of a USB Type-C interface according to an embodiment of the present application, which are detailed as follows:
in step S401, a voltage value of a preset input/output I/O interface is obtained.
In the embodiment of the present application, the preset I/O interface is a charging determination I/O interface such as VBUS _ DET1, the voltage value of the I/O interface has uniqueness, and when the USB Type-C interface is externally charged, the voltage value of the I/O interface is a fixed value such as 3.3V, 5V or other voltage values; when the USB Type-C interface is not charged externally, the voltage value of the I/O interface is zero.
In step S402, the charging state of the USB Type-C interface is determined according to the voltage value.
In the embodiment of the application, after the voltage value of the I/O port is obtained, the voltage value is compared with a preset voltage threshold value, and then the charging state of the USB Type-C interface can be determined.
By way of example and not limitation, if the voltage value of the I/O interface is a first voltage threshold, it is determined that the USBType-C interface is charging externally.
The first voltage threshold is any preset voltage value larger than zero, for example, 3.3V or 5V, and is not limited specifically here.
By way of example and not limitation, if the voltage value of the I/O interface is a second voltage threshold, it is determined that the USBType-C interface is not charging outside.
It should be noted that the second voltage threshold is zero, that is, there is no voltage, which also indicates that the USB Type-C interface does not charge the external power.
In step S302, if the USB Type-C interface is externally charged, it is determined that the signal of the device side originates from the first device side.
In step S303, if the USB Type-C interface does not charge the external power, it is determined that the signal of the device side originates from the second device side.
In a possible implementation manner, after the display device obtains the voltage value of the I/O interface, the obtained voltage value is compared with a first voltage threshold and a second voltage threshold, and if the obtained voltage value is the first voltage threshold, it indicates that the USB Type-C interface is externally charged, and at this time, it indicates that the USB Type-C interface is currently connected to the first device end, that is, it indicates that the signal of the device end is from the first device end; if the obtained voltage value is the second voltage threshold value, it indicates that the USB Type-C interface is not externally charged, and at this time, it indicates that the USB Type-C interface is currently connected to the second device side, that is, the signal of the device side originates from the second device side.
In the embodiment of the application, whether the signal source of the device end is the first device end or the second device is judged through the charging state of the USB Type-C interface, so that the problem that the signal source of the connected device end cannot be judged in the existing power transmission protocol is solved, the display device can be switched to the corresponding channel mode to normally display signals from different device ends, and the problem that the display device is halted due to the fact that the display device requires the device end to output signals with too high resolution is avoided.
In step S103, the channel mode of the display device is switched according to the signal source.
In the embodiment of the application, the channel modes of the signals correspondingly transmitted from different device ends are different, and after the signal source is determined, the channel modes can be switched to the corresponding channel modes according to the signal source, so that the display device can normally display the signals from different device ends.
In one possible implementation manner, in order to provide efficiency and accuracy of channel mode switching, a current channel mode of the display device may be determined according to a value of the channel flag, so as to determine whether channel switching is required after determining a signal source of the device side, that is, step S103 includes:
and switching the channel mode of the display equipment according to the signal source and the value of the channel mark.
In this embodiment of the present application, a value of a channel flag is set to determine a current channel mode of a display device, and when a signal at a device end is from a first device end, if it is determined according to the value of the channel flag that the current channel mode of the display device is a second channel mode, the second channel mode is switched to the first channel mode, and the value of the channel flag is updated at the same time so that the value corresponds to the first channel mode.
In another possible implementation manner, step S103 specifically includes:
step S1031, if the signal is from the first device side and the current channel mode of the display device is the second channel mode, switching the second channel mode to the first channel mode.
Step S1032, if the signal is from the second device side and the current channel mode of the display device is the first channel mode, switch the first channel mode to the second channel mode.
In a possible implementation manner, since the channel mode changes, the value of the corresponding channel flag should also change, that is, after the channel mode of the display device is switched according to the signal source, the value of the channel flag is updated according to the switched channel mode.
As an example and not by way of limitation, after switching the channel mode, obtaining a value of the current channel flag, and updating the value of the current channel flag according to a correspondence between the switched channel mode and the value of the channel flag, that is:
if the switched channel mode is the first channel mode and the value of the current channel mark is the second numerical value, updating the second numerical value to the first numerical value;
and if the switched channel mode is the second channel mode and the value of the current channel mark is the first numerical value, updating the first numerical value to the second numerical value.
In the embodiment of the application, by correspondingly updating the value of the current channel mark, whether the current channel mode of the display device needs to be switched can be quickly determined after the signal source of the subsequent device end changes.
In the embodiment of the application, whether the current working channel of the display equipment is a USB Type-C channel or not is judged; if the current working channel of the display equipment is the USB Type-C channel, connecting the USB Type-C channel with the equipment end, and determining the signal source of the equipment end; the channel mode of the display equipment is switched according to the signal source, so that after the signal source of the equipment end is determined, the corresponding channel mode is switched according to the signal source, the display equipment can correctly display signals of the equipment ends of different sources, and the problem that the display equipment is in a black screen state or the equipment end is in a dead state due to the fact that the display equipment requires the equipment end to output signals with the resolution higher than the maximum resolution supported by the equipment end to be output is solved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be controlled by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 5 shows a schematic diagram of a channel mode switching device provided in an embodiment of the present application, corresponding to a channel mode switching method described in the foregoing embodiment, and for convenience of description, only a part related to the embodiment of the present application is shown.
Referring to fig. 5, the apparatus includes:
a working channel judging unit 51 configured to judge whether a current working channel of the display device is a USBType-C channel;
a signal source determining unit 52, configured to connect the USB Type-C channel with an equipment end if the current working channel of the display device is the USB Type-C channel, and determine a signal source of the equipment end;
and a channel mode switching unit 53 configured to switch a channel mode of the display device according to the signal source.
The apparatus further comprises a channel mode determination unit arranged to:
and determining the current channel mode of the display equipment according to the value of the channel mark.
Illustratively, the device side includes a first device side and a second device side, and a resolution of the output supported by the first device side is lower than a resolution of the output supported by the second device side.
Illustratively, the channel modes include a first channel mode and a second channel mode, and the first channel mode supports a maximum resolution of a signal transmitted lower than a maximum resolution of a signal transmitted by the second channel mode.
Optionally, the channel mode switching unit 53 specifically includes:
a first channel mode switching subunit configured to switch the second channel mode to the first channel mode if the signal is from the first device side and the current channel mode of the display device is the second channel mode;
and the second channel mode switching subunit is configured to switch the first channel mode to the second channel mode if the signal is from the second device side and the current channel mode of the display device is the first channel mode.
Illustratively, the signal source determining unit 52 specifically includes:
the charging state determining subunit is configured to determine a charging state of a USB Type-C interface of the device side, where the charging state includes two states of external charging and non-external charging;
a first signal source determining subunit configured to determine that the signal of the device terminal is from the first device terminal if the USB Type-C interface is externally charged;
and the second signal source determining subunit is configured to determine that the signal of the device side is originated from the second device side if the USB Type-C interface does not charge the external power.
For example, the charging state determining subunit is specifically configured to:
acquiring a voltage value of a preset input/output (I/O) interface;
determining the charging state of the USB Type-C interface according to the voltage value;
if the voltage value of the I/O interface is a first voltage threshold value, determining that the USB Type-C interface is externally charged;
and if the voltage value of the I/O interface is a second voltage threshold value, determining that the USB Type-C interface does not charge the outside.
Illustratively, the value of the channel flag is a first numerical value or a second numerical value, and the value of the channel flag has a correspondence with the channel mode, for example, the channel mode corresponding to the first numerical value is a first channel mode, and the channel mode corresponding to the second numerical value is a second channel mode; or when the current channel mode of the display device is the first channel mode, the corresponding value of the channel mark is the first numerical value, and when the current channel mode of the display device is the second channel mode, the corresponding value of the channel mark is the second numerical value.
Optionally, the channel mode determining unit specifically includes:
a first channel mode determining subunit configured to determine that the current channel mode of the display device is the first channel mode if the value of the channel flag is the first numerical value;
and the second channel mode determining subunit is configured to determine that the current channel mode of the display device is the second channel mode if the value of the channel flag is the second numerical value.
Optionally, the apparatus further includes a channel flag updating unit, where the channel flag updating unit is configured to:
and updating the value of the channel mark according to the switched channel mode.
Illustratively, the channel tag updating unit specifically includes:
a first channel flag updating subunit configured to update the second value to the first value if the switched channel mode is the first channel mode and the current channel flag value is the second value;
a second channel mark updating subunit configured to update the first numerical value to the second numerical value if the switched channel mode is the second channel mode and the current channel mark value is the first numerical value
In the embodiment of the application, whether the current working channel of the display equipment is a USB Type-C channel or not is judged; if the current working channel of the display equipment is the USB Type-C channel, connecting the USB Type-C channel with the equipment end, and determining the signal source of the equipment end; the channel mode of the display equipment is switched according to the signal source, so that after the signal source of the equipment end is determined, the corresponding channel mode is switched according to the signal source, the display equipment can correctly display signals of the equipment ends of different sources, and the problem that the display equipment is in a black screen state or the equipment end is in a dead state due to the fact that the display equipment requires the equipment end to output signals with the resolution higher than the maximum resolution supported by the equipment end to be output is solved.
Fig. 6 is a schematic diagram of a terminal according to an embodiment of the present application. As shown in fig. 6, the display device 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62 stored in said memory 61 and executable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in the various channel mode switching method embodiments described above, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the units in the system embodiments, such as the functions of the modules 51 to 53 shown in fig. 5.
Illustratively, the computer program 62 may be divided into one or more units, which are stored in the memory 61 and executed by the processor 60 to accomplish the present application. The one or more units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the display device 6. For example, the computer program 62 may be divided into a working channel determining unit 51, a signal source determining unit 52, and a channel mode switching unit 53, and the specific functions of each unit are as follows:
a working channel judging unit 51 configured to judge whether a current working channel of the display device is a USBType-C channel;
a signal source determining unit 52, configured to connect the USB Type-C channel with an equipment end if the current working channel of the display device is the USB Type-C channel, and determine a signal source of the equipment end;
and a channel mode switching unit 53 configured to switch a channel mode of the display device according to the signal source.
The display device 6 may include, but is not limited to, a processor 60, a memory 61. It will be appreciated by those skilled in the art that fig. 6 is only an example of a display device 6 and does not constitute a limitation of the display device 6 and may comprise more or less components than shown, or some components may be combined, or different components, e.g. the terminal may further comprise input output devices, network access devices, buses etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the display device 6, such as a hard disk or a memory of the display device 6. The memory 61 may also be an external storage device of the display device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the display device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the display device 6. The memory 61 is used for storing the computer program and other programs and data required by the terminal. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the system is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed system/display device and method may be implemented in other ways. For example, the above-described system/display device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or system capable of carrying said computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A channel mode switching method of a display device, comprising:
judging whether the current working channel of the display equipment is a USB Type-C channel or not;
if the current working channel of the display equipment is a USB Type-C channel, connecting the USB Type-C channel with an equipment end, and determining a signal source of the equipment end;
and switching the channel mode of the display equipment according to the signal source.
2. The channel mode switching method of a display device according to claim 1, wherein in the step of determining a signal source of the device side, the method further comprises:
and determining the current channel mode of the display equipment according to the value of the channel mark.
3. The channel mode switching method of a display device according to claim 1 or 2, wherein the device side includes a first device side and a second device side, and a resolution of the output supported by the first device side is lower than a resolution of the output supported by the second device side.
4. The channel mode switching method of a display device according to claim 3, wherein the channel mode includes a first channel mode and a second channel mode, and a maximum resolution of a signal transmitted in the first channel mode is supported to be lower than a maximum resolution of a signal transmitted in the second channel mode.
5. The method for switching channel mode of a display device according to claim 4, wherein the step of switching channel mode of the display device according to the signal source comprises:
if the signal is from the first equipment end and the current channel mode of the display equipment is the second channel mode, switching the second channel mode to the first channel mode;
and if the signal is from the second equipment terminal and the current channel mode of the display equipment is the first channel mode, switching the first channel mode to the second channel mode.
6. The channel mode switching method of the display device according to claim 1 or 2, wherein the step of determining the signal source of the device side comprises:
determining a charging state of a USB Type-C interface, wherein the charging state comprises an external charging state and a non-external charging state;
if the USB Type-C interface is charged externally, determining that the signal of the equipment end comes from the first equipment end;
and if the USB Type-C interface does not charge the outside, determining that the signal of the equipment terminal is originated from the second equipment terminal.
7. The channel mode switching method of a display device according to claim 6, wherein the step of determining the charge state of the USBType-C interface comprises:
acquiring a voltage value of a preset input/output (I/O) interface;
determining the charging state of the USB Type-C interface according to the voltage value;
if the voltage value of the I/O interface is a first voltage threshold value, determining that the USB Type-C interface is externally charged;
and if the voltage value of the I/O interface is a second voltage threshold value, determining that the USB Type-C interface does not charge the outside.
8. The method for switching channel mode of display device according to claim 2, further comprising, after switching channel mode of the display device according to the signal source:
and updating the value of the channel mark according to the switched channel mode.
9. A channel mode switching apparatus of a display device, comprising:
the working channel judging unit is arranged for judging whether the current working channel of the display equipment is a USB Type-C channel;
the signal source determining unit is set to connect the USB Type-C channel with the equipment end and determine the signal source of the equipment end if the current working channel of the display equipment is the USB Type-C channel;
and the channel mode switching unit is arranged for switching the channel mode of the display equipment according to the signal source.
10. A display device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the channel mode switching method of the display device according to any one of claims 1 to 8 when executing the computer program.
CN201910943562.2A 2019-09-30 2019-09-30 Channel mode switching method and device of display equipment and display equipment Active CN110677602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910943562.2A CN110677602B (en) 2019-09-30 2019-09-30 Channel mode switching method and device of display equipment and display equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910943562.2A CN110677602B (en) 2019-09-30 2019-09-30 Channel mode switching method and device of display equipment and display equipment

Publications (2)

Publication Number Publication Date
CN110677602A true CN110677602A (en) 2020-01-10
CN110677602B CN110677602B (en) 2022-10-25

Family

ID=69078717

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910943562.2A Active CN110677602B (en) 2019-09-30 2019-09-30 Channel mode switching method and device of display equipment and display equipment

Country Status (1)

Country Link
CN (1) CN110677602B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541925A (en) * 2020-04-30 2020-08-14 青岛海信宽带多媒体技术有限公司 Display device and display method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205844970U (en) * 2016-04-25 2016-12-28 合肥惠科金扬科技有限公司 A kind of display terminal with USB Type C interface and display system
CN107678985A (en) * 2017-09-06 2018-02-09 苏州佳世达光电有限公司 Display device and signal carry out source switch method
US20180239732A1 (en) * 2017-02-23 2018-08-23 Aten International Co., Ltd. Automatic switching apparatus and automatic switching method
CN108475245A (en) * 2016-12-20 2018-08-31 华为技术有限公司 The recognition methods of PnP device and electronic equipment
WO2019015681A1 (en) * 2017-07-20 2019-01-24 青岛海信电器股份有限公司 Terminal device and control method therefor
CN109286771A (en) * 2017-07-20 2019-01-29 青岛海信电器股份有限公司 A kind of terminal device and its control method
US20190108148A1 (en) * 2017-10-11 2019-04-11 Megachips Technology America Corporation Data Transmission System and Data Transmission Method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN205844970U (en) * 2016-04-25 2016-12-28 合肥惠科金扬科技有限公司 A kind of display terminal with USB Type C interface and display system
CN108475245A (en) * 2016-12-20 2018-08-31 华为技术有限公司 The recognition methods of PnP device and electronic equipment
US20180239732A1 (en) * 2017-02-23 2018-08-23 Aten International Co., Ltd. Automatic switching apparatus and automatic switching method
WO2019015681A1 (en) * 2017-07-20 2019-01-24 青岛海信电器股份有限公司 Terminal device and control method therefor
CN109286771A (en) * 2017-07-20 2019-01-29 青岛海信电器股份有限公司 A kind of terminal device and its control method
CN107678985A (en) * 2017-09-06 2018-02-09 苏州佳世达光电有限公司 Display device and signal carry out source switch method
US20190108148A1 (en) * 2017-10-11 2019-04-11 Megachips Technology America Corporation Data Transmission System and Data Transmission Method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541925A (en) * 2020-04-30 2020-08-14 青岛海信宽带多媒体技术有限公司 Display device and display method thereof
CN111541925B (en) * 2020-04-30 2021-09-14 青岛海信宽带多媒体技术有限公司 Display device and display method thereof

Also Published As

Publication number Publication date
CN110677602B (en) 2022-10-25

Similar Documents

Publication Publication Date Title
US10311000B2 (en) Integrated universal serial bus (USB) type-C switching
US20130290746A1 (en) System, apparatus, and method of performing charging operation in host mode
EP2631901A2 (en) Apparatus and method for displaying an image on a sink device
KR101339822B1 (en) Method for controlling device based on a kind of peripheral device and potable device using the same
CN106712179B (en) Method and device for realizing reverse charging
US10210122B2 (en) Interface circuit, method and device for state switching
CN102483728A (en) Device-dependent selection between modes for asymmetric serial protocols
US10298028B1 (en) Systems and methods for dynamic configuration and control of bus interface
CN110703944B (en) Touch data processing method and device, terminal and storage medium
CN110618672A (en) Interface circuit and interface communication method and device thereof
CN111031371A (en) Single-line screen projection system and method
CN107329520B (en) USB interface connection method, device and system of mobile terminal
CN110677602B (en) Channel mode switching method and device of display equipment and display equipment
US9734105B2 (en) Apparatus and method for connecting mobile terminal to external device
CN110879792A (en) Electronic equipment and interface control method thereof
CN101257591A (en) Digital multimedia receiving apparatus and extending display identification data reading method thereof
CN105573946B (en) The method and device of Universal Serial Bus Interface multiplexing
CN112433689A (en) Data transmission method and device for same-screen device, same-screen device and medium
CN112464095A (en) Message pushing method, device, terminal and storage medium
US20180314317A1 (en) Electronic device and method
CN102833513B (en) High definition player
JP2011234132A (en) Motherboard
CN113641611B (en) I2C interface circuit, control method thereof and electronic equipment
CN113467729B (en) Electronic device and multi-screen display method
CN103902395A (en) Information input control method and electronic terminal

Legal Events

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