CN114624633B - HDMI (high-definition multimedia interface) port plugging detection system and method, electronic equipment and storage medium - Google Patents

HDMI (high-definition multimedia interface) port plugging detection system and method, electronic equipment and storage medium Download PDF

Info

Publication number
CN114624633B
CN114624633B CN202210531797.2A CN202210531797A CN114624633B CN 114624633 B CN114624633 B CN 114624633B CN 202210531797 A CN202210531797 A CN 202210531797A CN 114624633 B CN114624633 B CN 114624633B
Authority
CN
China
Prior art keywords
signal
hdmi port
hpd
power supply
plugging
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.)
Active
Application number
CN202210531797.2A
Other languages
Chinese (zh)
Other versions
CN114624633A (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.)
Shaanxi Tianshi Zhiyuan Aviation Technology Co ltd
Original Assignee
Shaanxi Tianshi Zhiyuan Aviation 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 Shaanxi Tianshi Zhiyuan Aviation Technology Co ltd filed Critical Shaanxi Tianshi Zhiyuan Aviation Technology Co ltd
Priority to CN202210531797.2A priority Critical patent/CN114624633B/en
Publication of CN114624633A publication Critical patent/CN114624633A/en
Application granted granted Critical
Publication of CN114624633B publication Critical patent/CN114624633B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/50Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
    • G01R31/66Testing of connections, e.g. of plugs or non-disconnectable joints
    • G01R31/68Testing of releasable connections, e.g. of terminals mounted on a printed circuit board
    • G01R31/69Testing of releasable connections, e.g. of terminals mounted on a printed circuit board of terminals at the end of a cable or a wire harness; of plugs; of sockets, e.g. wall sockets or power sockets in appliances

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

The invention discloses an HDMI (high-definition multimedia interface) port plugging detection system, a method, electronic equipment and a storage medium, wherein the HDMI port plugging detection system comprises a data processing module and a power supply module, the HDMI port comprises an HPD input end and a power supply output end, and the data processing module is connected to the HPD input end and used for receiving an HPD signal and judging whether the HDMI port is connected to external equipment or not according to the HPD signal and a preset threshold value; the power supply module is connected to the power supply output end and provides uninterrupted power supply for the power supply output end; the system can uninterruptedly detect the peripheral access condition of the HDMI port so as to timely defend when unauthorized peripherals are accessed, and improve the confidentiality and the safety of electronic equipment to a certain extent.

Description

HDMI (high-definition multimedia interface) port plugging detection system and method, electronic equipment and storage medium
Technical Field
The present invention relates to the field of port detection, and in particular, to a system, a method, an electronic device, and a storage medium for detecting a High Definition Multimedia Interface (HDMI) port plug.
Background
At present, according to definition of an a-type connector signal of an HDMI display interface source specified by an HDMI display interface standard of VESA (Video Electronics Standards Association), a 19 th Pin (Pin 19) is an HPD (Hot Plug Detect) signal Pin, and the HPD signal can be used for detecting whether a display is accessed to an HDMI port of an electronic device, but when the electronic device is in a power-off or power-off state, the HPD signal is passive and undriven, and at this time, the electronic device cannot Detect a peripheral plugging condition of the HDMI port, that is, cannot Detect access of an unauthorized peripheral, and is difficult to defend in time, and there is a risk of information leakage.
Disclosure of Invention
The invention aims to solve at least one of the technical problems in the prior art, and provides an HDMI port plugging detection system, an HDMI port plugging detection method, an HDMI port plugging detection electronic device and a HDMI port plugging detection storage medium, which can uninterruptedly detect the peripheral access condition of an HDMI port, so that defense can be timely performed when unauthorized peripherals are accessed, and the confidentiality and the safety of the HDMI electronic device can be improved to a certain extent.
In a first aspect, an embodiment of the present invention provides a plug detection system for an HDMI port, where the HDMI port includes an HPD input end and a power supply output end, and the plug detection system includes:
the data processing module is connected to the HPD input end and used for receiving an HPD signal and judging whether the HDMI port is connected to external equipment or not according to the HPD signal and a preset threshold value;
and the power supply module is connected to the power supply output end and provides uninterrupted power supply for the power supply output end so that the plugging and unplugging condition of the HDMI port can be detected when the electronic equipment is in a power-off or power-off state.
The system for detecting the plugging of the HDMI port provided by the embodiment of the first aspect of the present invention has at least the following beneficial effects: the data processing module can receive the HPD signal, and detect the peripheral hardware plug condition of HDMI port according to HPD signal and predetermined threshold value, and be provided with power module, power module can provide incessant power supply for the power supply output of HDMI port, guarantee under the state that electronic equipment cut off the power supply or shut down, still can detect the peripheral hardware plug condition of HDMI port, so that can in time defend when unauthorized peripheral hardware inserts, electronic equipment's confidentiality and security have been improved to a certain extent.
In one embodiment of the present invention, the data processing module is provided with a plug signal output port;
when the voltage of the HPD signal is larger than the preset threshold value, the plug signal output port outputs a first signal, and the first signal represents that the HDMI port is accessed into external equipment;
when the voltage of the HPD signal is smaller than or equal to the preset threshold value, the plugging signal output port outputs a second signal, and the second signal indicates that the HDMI port is not connected with external equipment.
In an embodiment of the present invention, a signal detection circuit is disposed between the data processing module and the HPD input terminal, an input terminal of the signal detection circuit is connected to the HPD input terminal for detecting an HPD signal at the HPD input terminal, and an output terminal of the signal detection circuit is connected to the data processing module.
In an embodiment of the present invention, a unidirectional circuit is disposed between the power module and the power supply output terminal, so that the power module supplies power to the power supply output terminal in a unidirectional manner.
In an embodiment of the present invention, the data processing module is a comparator, the HPD input terminal is connected to one input terminal of the comparator, and the other input terminal of the comparator is connected to a reference voltage signal.
In one embodiment of the invention, the data processing module is a processor.
In one embodiment of the present invention, the data processing module is a logic circuit.
In a second aspect, an embodiment of the present invention provides a method for detecting plugging/unplugging of an HDMI port, where the method is applied to a processor in a plugging/unplugging detection system of the HDMI port, the HDMI port includes an HPD input end and a power supply output end, the plugging/unplugging detection system includes a processor and a power supply module, and the processor is connected to the HPD input end; the power supply module is connected to the power supply output end and provides uninterrupted power supply for the power supply output end, so that the plugging condition of the HDMI port can be detected when the electronic equipment is in a power-off or power-off state; the method comprises the following steps:
receiving an HPD signal from the HPD input;
and judging whether the HDMI port is accessed to external equipment or not according to the HPD signal and a preset threshold value.
The method for detecting plugging of the HDMI port provided by the embodiment of the second aspect of the present invention at least has the following beneficial effects: the plug detection system is designed and provided with the power module, wherein the processor can receive the HPD signal, and detect the peripheral plug condition of the HDMI port according to the HPD signal and the preset threshold value, and the power module is arranged, the power module can provide uninterrupted power supply for the power supply output end of the HDMI port, and the peripheral plug condition of the HDMI port can still be detected under the power-off or shutdown state of the electronic equipment, so that the peripheral plug condition can be timely defended when unauthorized peripheral is accessed, and the confidentiality and the safety of the electronic equipment are improved to a certain extent.
In a third aspect, an embodiment of the present invention provides an electronic device, where the electronic device includes the system for detecting plugging of an HDMI port according to the embodiment of the first aspect of the present invention.
The electronic device provided by the embodiment of the third aspect of the invention has at least the following beneficial effects: this electronic equipment is provided with the plug detecting system and the plug detecting system of HDMI port and disposes power module, wherein the treater can receive the HPD signal, and detect the peripheral hardware plug condition of HDMI port according to the HPD signal and predetermine the threshold value, and be provided with power module, power module can provide incessant power supply for the power supply output of HDMI port, guarantee under the state of electronic equipment outage or shutdown, still can detect the peripheral hardware plug condition of HDMI port, so that can in time defend when unauthorized peripheral hardware inserts, the security and the security of electronic equipment have been improved to a certain extent.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where computer-executable instructions are stored, where the computer-executable instructions are configured to cause a computer to execute the method for detecting plugging/unplugging of an HDMI port according to any one of the method embodiments of the second aspect of the present invention.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
The accompanying drawings are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the example serve to explain the principles of the invention and not to limit the invention.
The invention is further described below with reference to the accompanying drawings and examples;
fig. 1 is a schematic structural diagram of a plug monitoring system for an HDMI port according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a plugging monitoring system of an HDMI port according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a plugging monitoring system of an HDMI port according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a plugging monitoring system of an HDMI port according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a plugging monitoring system of an HDMI port according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a plugging monitoring system of an HDMI port according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a plugging monitoring system of an HDMI port according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of a plugging monitoring system of an HDMI port according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating steps of a method for monitoring plugging/unplugging of an HDMI port according to an embodiment of the present invention;
fig. 10 is a flowchart of partial steps of a method for monitoring plugging/unplugging of an HDMI port according to an embodiment of the present invention.
Detailed Description
Reference will now be made in detail to the present preferred embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to like elements throughout.
In the description of the present invention, the meaning of a plurality of means is one or more, the meaning of a plurality of means is two or more, and larger, smaller, larger, etc. are understood as excluding the number, and larger, smaller, inner, etc. are understood as including the number. If there is a description of first and second for the purpose of distinguishing technical features only, this is not to be understood as indicating or implying a relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of technical features indicated.
In the description of the present invention, unless otherwise explicitly limited, terms such as arrangement, installation, connection and the like should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention in combination with the specific contents of the technical solutions.
Currently, taking the type a interface connector of HDMI as an example, the 19 th Pin (Pin 19) of the HDMI interface is an HPD hot plug detection signal, which is an input direction at the interface of the HDMI source device and is weakly pulled down to ground in a passive, non-driven state. The HDMI source device can be a computer, when the display is connected with the computer through an HDMI interface, in the state that the computer is started, the computer supplies power to the display through an 18 th Pin (Pin 18) of the HDMI interface, the display pulls up the voltage of an HPD Pin (PIN 19) on the display side through an internal circuit after receiving 5V voltage, the HPD signal received by the computer through an HPD input end is high voltage, the display is judged to be connected with the computer through the HDMI interface, when the display is disconnected with the HDMI of the computer, the HPD signal received by the computer is low voltage, and the display is judged not to be connected with an HDMI port of the computer. However, in a state that the computer is shut down or powered off, the HPD signal is passive and non-driven, and the computer cannot detect whether the HDMI interface is connected to the display.
Based on this, embodiments of the present invention provide a system and a method for detecting an HDMI port plug, an electronic device, and a storage medium, which can uninterruptedly detect an external device access condition of an HDMI port, so as to timely defend when an unauthorized external device accesses, and do not interact, forward, and store port information of the electronic device in a detection process, thereby improving confidentiality and security of the electronic device to a certain extent.
The embodiments of the present invention will be further explained with reference to the drawings.
Referring to fig. 1, an embodiment of the present invention provides a plug detection system for an HDMI port, and fig. 1 is a schematic structural diagram of the plug detection system for an HDMI port according to the embodiment of the present invention, where the system includes a data processing module and a power supply module, the HDMI port is disposed outside an electronic device, the external device is generally a display and can be connected to the HDMI port to connect to the electronic device, the HDMI port includes an HPD input terminal and a power supply output terminal, the HPD input terminal is configured to receive an HPD signal from the display, the power supply output terminal is configured to supply power to the display, and the data processing module is connected to the HPD input terminal and is configured to receive the HPD signal from an HDMI circuit of the display and determine whether the HDMI port is connected to the display according to the HPD signal and a preset threshold. The power module is connected to the power supply output end and used for providing uninterrupted power supply for the power supply output end, so that the HPD signal is continuously driven, the system can still detect the plugging condition of the HDMI port under the power-off or shutdown state of the electronic equipment, so that defense can be timely performed when unauthorized peripheral equipment is accessed, port information of the electronic equipment is not interacted, forwarded and stored in the detection process, the risk of information leakage is reduced, and the safety and the confidentiality of the electronic equipment are improved.
The HDMI plugging and unplugging detection system provided by the invention can be matched with a port controlled physical blocking technology and a port authentication authorization technology, detect the plugging and unplugging condition of the HDMI port before the information of the electronic equipment is transmitted to the external equipment, control the port access at a physical layer, and defend against unauthorized external equipment in advance. Specifically, when detecting that a peripheral is accessed, authenticating the peripheral, and when the peripheral is an authorized peripheral, normally communicating an external information channel of an HMDI (high speed digital interface) port of the electronic equipment; if the peripheral is judged to be an unauthorized peripheral, the external information channel of the HMDI port of the electronic equipment is cut off on the physical layer; and when the authorized peripheral is pulled out, the external information channel of the HMDI port of the electronic equipment is cut off at the physical layer. The controlled physical blocking system can be provided with a switch module on an information transmission connecting line between the HDMI port and an internal device of the electronic equipment, and the switch module is controlled according to an output signal of a data processing module of the plug detection system and an authentication result, so that the connection and disconnection of an external channel of the HDMI port of the electronic equipment are controlled, and the effect that the information channel of the HDMI port is only open to authorized peripherals, namely, only information is transmitted to the authorized peripherals is realized. It is readily understood that blocking at the physical layer can prevent hackers from stealing information in electronic devices by hacking the HDMI port. Under the condition that the authorized peripheral is pulled out or the unauthorized peripheral is accessed to the HDMI port, the HDMI port is blocked at the physical layer, so that the conduction leakage of the electrical interface can be avoided, and the information leakage caused by the interception and restoration of the digital signal of the display port is prevented. It is also easy to understand that the HDMI port plugging detection system provided in the embodiments of the present invention, in combination with the port controlled physical blocking technology and the port authentication and authorization technology, can not only prevent unauthorized peripherals from acquiring information of electronic devices according to the authentication and authorization result, but also enable users to find out in time whether peripherals are replaced, and prevent others from replacing peripherals at will, for example, for a secure computer equipped with the HDMI port plugging detection system, the secure computer is equipped with a secure display, which can have functions of off-screen protection, anti-peeping, anti-candid, and anti-window detection, the secure display is set as an authorized peripheral, is allowed to access the HDMI port of the secure computer and read image information from the secure computer, and when other displays access the HDMI port of the secure computer, image information cannot be acquired, if the anti-peeping display is replaced with a normal display, the owner of the confidential computer can find out the confidential computer in time when the confidential computer is used, and plugging events can be recorded, so that clues can be left on the spy behaviors, and the confidential computer is favorable for tracing the spy afterwards. In addition, the confidential computer is matched with the authorized display, so that a user can obtain the image information, if only the host of the confidential computer is stolen and the authorized display is not available, the image information of the confidential computer cannot be obtained by the unauthorized display at the first time, and the confidentiality and the safety in the confidential computer are improved to a certain extent.
Those skilled in the art should further understand that, at present, some electronic devices connected to a display signal source with scrambling can weaken or eliminate scrambling strength, so that a thief can receive and restore display information through electromagnetic radiation and steal confidential information, and the HDMI port plug detection system provided in the embodiment of the present invention can match with a controlled physical blocking technology and an authentication and authorization technology, so as to prevent the scrambling strength of the port of the electronic device from being weakened or eliminated by such illegal peripherals, and enhance defense capability. In addition, in order to prevent electromagnetic radiation and electromagnetic reconstruction of the display, a video jammer can be connected between the electronic device and the display at present, and the HDMI port plugging and unplugging detection system can detect illegal operations such as unplugging and bypassing of the video jammer, so that the risk of disclosure of display signals due to electromagnetic radiation and electromagnetic reconstruction is reduced to a certain extent.
It should be noted that the electronic device in this embodiment may be a computer, or may be another device provided with an HDMI port, and the external device in this embodiment may be a display.
It should be noted that, in general, for a computer, when the voltage of a received HPD signal is greater than 2V, the computer determines that a display is connected to an HDMI port of the computer; when the voltage of the received HPD signal is less than 0.8V, the computer judges that no display is connected to the HDMI port of the computer. In this embodiment, the value of the preset threshold is not specifically limited, as long as the data processing module can determine whether the HDMI port is connected to the peripheral according to the HPD signal and the preset threshold, for example, the preset threshold may be set to 2V.
It can be understood that, if the data processing module needs to supply power, then the power module can also supply power for the data processing module, wherein, the power supply for the power supply output end of the HDMI port and the power supply for the data processing module can be the same power supply, or can be two independent power supplies, this embodiment does not specifically limit the structure of the power module, as long as the power supply output end of the data processing module and the HDMI port of the plug detection system can be supplied power, so as to ensure that the plug detection system can still normally work in the power-off or shutdown state of the electronic device.
Specifically, in an embodiment, as shown in fig. 2, fig. 2 is a schematic structural diagram of a plugging and unplugging detection system of an HDMI port according to an embodiment of the present invention, where a power module includes a backup power supply, a power management circuit, and a power line, where the backup power supply is a rechargeable power supply, and the power line can supply power to the plugging and unplugging detection system through the power management circuit in a state where an electronic device is powered on, and provides voltage for a power supply output terminal of the HDMI port, and can also charge the backup power supply; when the electronic equipment is in a power-off state, the power transmission line does not supply power, the backup power supply starts to supply power, the backup power supply provides voltage for the power supply output end of the HDMI port through the power management circuit, and if the data processing module of the plugging detection system needs to supply power, the data processing module can also supply power. Whether the electronic equipment is started or powered on or not is guaranteed, the plugging detection system can work normally, and whether the HDMI port is provided with peripheral access or not can be detected normally.
It should be noted that the voltage provided by the power supply module to the power supply output end of the HDMI port is consistent with the set output voltage of the power supply output end of the HDMI port, and at present, the voltage of the power supply output end of the HDMI port is generally +5V, and then the power supply module provides +5V for the power supply output end.
It should also be noted that the backup power source can be a rechargeable lithium battery, the power line can deliver 220V ac power, and the power management circuit can perform power distribution and voltage conversion functions.
In another embodiment, the power module includes a backup power source and a power management circuit, the power module is connected to the power supply output end, if the data processor module needs to supply power, the power module is further connected to the data processor module, for example, the data processor module includes a processor, the power module supplies power to the processor, that is, the power module can supply power to both the power supply output end and the data processor module through the power management circuit. The back-up power supply can be a rechargeable power supply, the back-up power supply is an independent power supply, a power supply module of the plug-in detection system is not universal with a power supply system of the electronic equipment, and the electronic equipment is powered off or shut down, so that the function of the plug-in detection system for detecting whether the HDMI port is connected to the peripheral or not is not influenced.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a plug detection system of an HDMI port according to an embodiment of the present invention, where a data processing module of the plug detection system is provided with a plug signal output port, when a voltage of an HPD signal is greater than a preset threshold, the plug signal output port outputs a first signal, the first signal indicates that the HDMI port is connected to an external device, when the voltage of the HPD signal is less than or equal to the preset threshold, the plug signal output port outputs a second signal, and the second signal indicates that the HDMI port is not connected to the external device.
It can be understood that, in order to protect the electronic device and prevent the electronic device from information interaction with the unauthorized peripheral device to cause information leakage, a controlled physical blocking technology and an authentication authorization technology may be used in combination, so that the unauthorized peripheral device disconnects the information channel from the electronic device on a physical layer, and an output signal of the plug signal output port may be used as a control signal for controlling disconnection and connection of the information channel between the peripheral device and the security device, thereby effectively reducing illegal port access.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a system for detecting plugging and unplugging of an HDMI port according to an embodiment of the present invention, a signal detection circuit is disposed between a data processing module and an HPD input terminal, an input terminal of the signal detection circuit is connected to the HPD input terminal and is configured to detect a level of an HPD signal at the HPD input terminal, an output terminal of the signal detection circuit is connected to the data processing module, and the signal detection circuit transmits the detected level of the HPD signal to the data processing module, so that the data processing module determines whether the HDMI port is connected to an external device according to the level of the HPD signal and a preset threshold.
It should be noted that the signal detection circuit may be an analog comparison circuit, a logic circuit, or a programmable logic circuit, where the signal detection circuit may include an analog-to-digital conversion circuit or other conditioning circuits, and the present embodiment does not specifically limit the structure of the signal detection circuit, as long as it can continuously detect the level of the HPD signal at the HPD input terminal and transmit the detected level of the HPD signal to the data processing module.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a plug detection system of an HDMI port according to an embodiment of the present invention, in the system, a unidirectional circuit is disposed between a power module and a power supply output terminal, so that the power module supplies power to the power supply output terminal in a unidirectional manner. The arrangement of the one-way circuit can ensure that a power supply for supplying power to a power supply output end (PIN 18) of the HDMI port in the electronic equipment cannot influence a power supply module of the plug detection system in the power-on and power-on state of the electronic equipment.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a plug detection system of an HDMI port according to an embodiment of the present invention, a data processing module in the system is a comparator, one input end of the comparator is connected to an HPD input end, that is, an HPD signal is used as an input signal of the comparator, another input end of the comparator is connected to a reference voltage signal, that is, the reference voltage signal is used as another input signal of the comparator, and the magnitude of the reference voltage signal is a preset threshold, so that the peripheral plug condition of the HDMI port is determined by comparing the voltage of the HPD signal with the preset threshold through the comparator.
Specifically, in one embodiment, when the voltage of the HPD signal is greater than the reference voltage signal, the comparator outputs a first level signal indicating that the peripheral is connected to the HDMI port, and when the voltage of the HPD signal is less than the reference voltage signal, the comparator outputs a second level signal indicating that the peripheral is not connected to the HDMI port.
It should be noted that the first level signal may be at a high level, and the second level signal is at a low level.
It should be further noted that the reference voltage may be provided by the power module, the reference voltage and the power supply output end may share one set of power supply through the voltage conversion circuit, or two sets of independent power supplies may be used.
In an embodiment, as shown in fig. 7, fig. 7 is a schematic structural diagram of a system for detecting plugging and unplugging of an HDMI port according to an embodiment of the present invention, where a data processing module is a processor, an input interface of the processor is connected to an HPD input terminal, and the processor is capable of receiving an HPD signal and determining whether an external device is connected to the HDMI port according to the HPD signal and a preset threshold.
It should be noted that, a signal detection circuit may be disposed between the HPD input terminal and the processor, the signal detection circuit may detect a level of the HPD signal, so that the processor compares the HPD signal with a preset threshold, and the signal detection circuit may also include a conditioning circuit to condition the HPD signal to a form easy to process.
It should be noted that the processor may be a microcontroller mcu (micro controller unit), a central processing unit cpu (central processing unit), a digital Signal processor dsp (digital Signal processor) chip, or the like, and the processor is within the protection scope of the embodiment of the present invention as long as the processor can determine whether the HDMI port is connected to the peripheral device according to the HPD Signal and the preset threshold.
It can be understood that, the processor may determine, according to the HPD signal and a preset threshold, that an event occurs when the peripheral is plugged into or unplugged from the HDMI port, the processor may output a signal indicating that the peripheral is plugged into or unplugged from the HDMI port, and when the processor detects that the voltage of the HPD signal is changed from being greater than the preset threshold to being less than or equal to the preset threshold, the processor may output a third signal indicating that the display is unplugged from the HDMI port; when the processor detects that the voltage of the HPD signal is changed from being less than or equal to the preset threshold value to being greater than the preset threshold value, the processor may output a fourth signal, where the fourth signal is used to indicate that a display is plugged into the HDMI port.
It can also be understood that the HDMI plug-in detection system provided by the invention can be matched with a controlled physical blocking system and an authentication technology, thereby enhancing the protection of the HDMI port and avoiding the access of unauthorized peripherals. The processor can output signals to represent the peripheral plugging and unplugging condition of the HDMI port according to the HPD signals and the preset threshold, the output signals are used as control signals of a controlled physical blocking system, the authentication technology is assisted, the effect of only allowing authorized peripherals to access the HDMI port can be achieved, illegal access of the HDMI port is blocked from a physical layer, the physical blocking system can be provided with a switch module on a connecting line of the HDMI port and an internal device of the electronic equipment, and the switch module is controlled according to the output signals of the processor and the authentication result, so that the connection and disconnection state of the HDMI port and the internal device of the electronic equipment is controlled, and physical blocking is achieved.
It is easy to understand that the processor can record the output signal, so as to record the external plugging event, that is, the operation of plugging or unplugging any external device into or from the HDMI port is recorded, so as to inquire whether an unauthorized external device attempts to intrude into the electronic device afterwards, which is beneficial to protecting the electronic device.
In an embodiment, as shown in fig. 8, fig. 8 is a schematic structural diagram of a plug detection system of an HDMI port according to an embodiment of the present invention, the data processing module is a logic circuit, a signal detection circuit is disposed between the logic circuit and the HPD input end, the signal detection circuit can detect a level of an HPD signal, the signal detection circuit may also include a conditioning circuit to condition the HPD signal to a form that the logic circuit can receive and process the HPD signal, and the logic circuit can receive the conditioned HPD signal and compare a voltage of the HPD signal with a preset threshold, so as to determine a peripheral access state and a peripheral plug condition of the HDMI port.
It should be noted that the logic circuit may be a logic Gate circuit, a generic array logic circuit gal (generic array logic), a complex Programmable logic device cpld (complex Programmable logic device), a Programmable logic array fpga (field Programmable Gate array), etc., and as long as the logic circuit can determine the peripheral access state and the peripheral plugging/unplugging condition of the HDMI port according to the HPD signal and the preset threshold, the logic circuit is within the protection range of the embodiment.
Referring to fig. 9, an embodiment of the present invention further provides a method for detecting plugging and unplugging of an HDMI port, and fig. 9 is a flowchart illustrating steps of the method for detecting plugging and unplugging of an HDMI port according to an embodiment of the present invention, where the method is applied to a processor in a system for detecting plugging and unplugging of an HDMI port, the HDMI port is disposed outside an electronic device, the HDMI port includes an HPD input end and a power supply output end, the system for detecting plugging and unplugging includes a processor and a power supply module, the processor is connected to the HPD input end, and is configured to receive an HPD signal and determine whether the HDMI port is connected to an external device according to the HPD signal and a preset threshold; the power supply module is connected to the power supply output end and used for supplying power to the power supply output end and the processor. The method includes, but is not limited to, step S100 and step S200.
Step S100, receiving an HPD signal from an HPD input terminal.
And step S200, judging whether the HDMI port is accessed to the external equipment or not according to the HPD signal and a preset threshold value.
In one embodiment, the power module provides uninterrupted power supply for the display HDMI interface circuit through the power supply output terminal, drives the display HDMI interface circuit to send an HPD signal to the HPD input terminal of the source-end HDMI port, and the processor receives the HPD signal and determines the peripheral access state and the plugging/unplugging condition of the HDMI port according to the HPD signal and a preset threshold. Even if the source end equipment is in a power-off or power-off state, the HPD signal can be detected, so that whether the HDMI has peripheral access or not is judged, the invasion behavior of the unauthorized peripheral is prevented in advance by matching with a controlled physical blocking technology and an authentication and authorization technology, port information is not interacted, forwarded or stored in the detection process, the peripheral plugging and unplugging condition of the HDMI port can be detected before information interaction occurs between the peripheral and the electronic equipment by matching with the controlled physical blocking technology, the information channel between the unauthorized peripheral and the electronic equipment can be blocked at a physical layer, the illegal access is effectively intercepted, and the confidentiality and the safety of the electronic equipment are improved.
It should be noted that a signal detection circuit may be disposed between the processor and the HPD input, and the signal detection circuit may include a conditioning circuit for detecting and conditioning the HPD signal so that the processor compares the voltage or level of the HPD signal with a preset threshold.
Referring to fig. 10, an embodiment of the present invention further provides a method for detecting plugging/unplugging of an HDMI port, and fig. 10 is a flowchart illustrating detailed steps of step S200 in fig. 9, where the method is applied to a system for detecting plugging/unplugging of an HDMI port, a data processing module of the system is a processor, and the processor is provided with a plugging/unplugging signal output port, where step S200 includes step S210.
Step S210, when the voltage of the HPD signal is larger than a preset threshold value, the plug signal output port outputs a first signal, and the first signal represents that the HDMI port is accessed into external equipment;
when the voltage of the HPD signal is smaller than or equal to the preset threshold value, the plug signal output port outputs a second signal, and the second signal indicates that the HDMI port is not connected with external equipment.
In one embodiment, the processor compares the voltage of the HPD signal with a preset threshold, and outputs a first signal through the plug signal output port when the voltage of the HPD signal is greater than the preset threshold, where the first signal indicates that the HDMI port is connected to an external device; when the voltage of the HPD signal is smaller than or equal to the preset threshold value, a second signal is output through the plugging signal output port, and the second signal indicates that the HDMI port is not connected with external equipment.
It can be understood that the plug signal output port may output a signal indicating an event that the peripheral device is plugged into the HDMI port or unplugged from the HDMI port, and when the voltage of the HPD signal is changed from being greater than the preset threshold value to being less than or equal to the preset threshold value, it indicates that the event that the peripheral device is unplugged from the HDMI port occurs, and at this time, the processor may output a third signal indicating that the peripheral device is unplugged from the HDMI port; when the voltage of the HPD signal is converted from being less than or equal to the preset threshold to being greater than the preset threshold, which indicates that an event that the peripheral is inserted into the HDMI port occurs, the processor may output a fourth signal indicating that the peripheral is inserted into the HDMI port. And the processor can record the times of outputting the third signal and the fourth signal, thereby detecting and recording the peripheral plugging event, and subsequently inquiring the peripheral plugging record of the HDMI port, and enhancing the safety of the electronic equipment.
The embodiment of the invention provides electronic equipment, which comprises the HDMI port plugging detection system provided by any embodiment, the electronic equipment can detect whether the HDMI port is connected to the peripheral before the peripheral and the electronic equipment perform information interaction, and port information is not forwarded, interacted and stored in the detection process, so that the subsequent coordination of a controlled physical blocking technology and an authentication authorization technology is facilitated, the interception of unauthorized peripherals is realized, the leakage of confidential information is avoided, and the confidentiality and the safety of the electronic equipment are improved.
The embodiment of the present invention further provides a computer-readable storage medium, where computer-executable instructions are stored, and the computer-executable instructions are used to enable a computer to execute the method for detecting plugging/unplugging of an HDMI port provided in the above method embodiment. According to the method, whether the HDMI port is connected to the peripheral or not can be detected before the peripheral and the electronic equipment perform information interaction, and port information is not forwarded, interacted and stored in the detection process, so that the subsequent cooperation of a controlled physical blocking technology and an authentication authorization technology is facilitated, interception of unauthorized peripherals is achieved, leakage of confidential information is avoided, and the confidentiality and the safety of the electronic equipment are improved.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media or non-transitory media and communication media or transitory media. The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks, DVD, or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

Claims (11)

1. The utility model provides a plug detecting system of HDMI port, its characterized in that, the HDMI port includes HPD input and power supply output, plug detecting system includes:
the data processing module is connected to the HPD input end and used for receiving an HPD signal and judging whether the HDMI port is connected to external equipment or not according to the HPD signal and a preset threshold value;
and the power supply module is connected to the power supply output end and provides uninterrupted power supply for the power supply output end so that the plugging and unplugging condition of the HDMI port can be detected when the electronic equipment is in a power-off or power-off state.
2. The system for detecting the plugging of the HDMI port according to claim 1, wherein the data processing module is provided with a plugging signal output port;
when the voltage of the HPD signal is larger than the preset threshold value, the plug signal output port outputs a first signal, and the first signal represents that the HDMI port is accessed into external equipment;
when the voltage of the HPD signal is smaller than or equal to the preset threshold value, the plugging signal output port outputs a second signal, and the second signal indicates that the HDMI port is not connected with external equipment.
3. The system for detecting the plugging and unplugging of the HDMI port according to claim 1, wherein a signal detection circuit is disposed between the data processing module and the HPD input end, an input end of the signal detection circuit is connected to the HPD input end for detecting an HPD signal at the HPD input end, and an output end of the signal detection circuit is connected to the data processing module.
4. The system for detecting the plugging of the HDMI port according to claim 1, wherein a unidirectional circuit is disposed between the power module and the power supply output terminal, so that the power module supplies power to the power supply output terminal in a unidirectional manner.
5. The system according to claim 1, wherein the data processing module is a comparator, the HPD input is connected to one input of the comparator, and the other input of the comparator is connected to a reference voltage signal.
6. The system for detecting the plugging of the HDMI port according to claim 1 or 3, wherein the data processing module is a processor.
7. The system according to claim 3, wherein the data processing module is a logic circuit.
8. The plugging detection method of the HDMI port is characterized in that the plugging detection method is applied to a processor in a plugging detection system of the HDMI port, the HDMI port comprises an HPD input end and a power supply output end, the plugging detection system comprises a processor and a power supply module, and the processor is connected to the HPD input end; the power supply module is connected to the power supply output end and provides uninterrupted power supply for the power supply output end, so that the plugging condition of the HDMI port can be detected when the electronic equipment is in a power-off state or a power-off state; the method comprises the following steps:
receiving an HPD signal from the HPD input;
and judging whether the HDMI port is accessed to external equipment or not according to the HPD signal and a preset threshold value.
9. The method for detecting plugging of an HDMI port according to claim 8, wherein said processor is provided with a plugging signal output port, and said determining whether the HDMI port is connected to an external device according to the HPD signal and a preset threshold comprises:
when the voltage of the HPD signal is larger than the preset threshold value, the plug signal output port outputs a first signal, and the first signal represents that the HDMI port is accessed into external equipment;
when the voltage of the HPD signal is smaller than or equal to the preset threshold value, the plug signal output port outputs a second signal, and the second signal indicates that the HDMI port is not connected with external equipment.
10. An electronic device characterized in that it comprises a system for detecting the plugging of an HDMI port according to any one of claims 1 to 7.
11. A computer-readable storage medium storing computer-executable instructions for causing a computer to perform the method for detecting the plugging of an HDMI port according to claim 8 or 9.
CN202210531797.2A 2022-05-17 2022-05-17 HDMI (high-definition multimedia interface) port plugging detection system and method, electronic equipment and storage medium Active CN114624633B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210531797.2A CN114624633B (en) 2022-05-17 2022-05-17 HDMI (high-definition multimedia interface) port plugging detection system and method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210531797.2A CN114624633B (en) 2022-05-17 2022-05-17 HDMI (high-definition multimedia interface) port plugging detection system and method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114624633A CN114624633A (en) 2022-06-14
CN114624633B true CN114624633B (en) 2022-09-30

Family

ID=81906927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210531797.2A Active CN114624633B (en) 2022-05-17 2022-05-17 HDMI (high-definition multimedia interface) port plugging detection system and method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114624633B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114839571B (en) * 2022-06-30 2022-09-16 深圳英集芯科技股份有限公司 Circuit for detecting plugging and unplugging of equipment and electronic equipment
CN115221490B (en) * 2022-09-20 2024-02-23 陕西天视致远航空技术有限公司 Port information reinforcement computer and port information reinforcement method thereof
CN117075836B (en) * 2023-10-16 2024-02-23 合肥联宝信息技术有限公司 Anti-interference device for display signal, display and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773411A (en) * 2004-11-10 2006-05-17 北京中科诚毅科技发展有限公司 Computer I/O port control program
KR20110007371A (en) * 2009-07-16 2011-01-24 엘지전자 주식회사 Display device and method of providing digital interface
CN203788392U (en) * 2013-12-13 2014-08-20 乐视致新电子科技(天津)有限公司 Hdmi signal processing circuit
CN104350759A (en) * 2012-05-15 2015-02-11 Lg电子株式会社 System for improving HDMI CEC performance, and method for controlling same
CN104394347A (en) * 2014-12-09 2015-03-04 北京精一强远科技有限公司 Device and method for forcing high-definition multimedia interface (HDMI) to output video signals
CN104714916A (en) * 2015-03-30 2015-06-17 迈普通信技术股份有限公司 Detection system for plugging or unplugging of external equipment on USB interface
CN106791526A (en) * 2016-11-09 2017-05-31 深圳Tcl数字技术有限公司 The HDMI circuit of main equipment and the method powered to slave unit based on HDMI
CN110855687A (en) * 2019-11-18 2020-02-28 惠州学院 Network space security situation perception detection analysis system and method
CN210955043U (en) * 2019-11-04 2020-07-07 深圳市迈乐技术有限公司 DP supports HDMI interface hot plug circuit after converting into HDMI
CN112578227A (en) * 2020-12-14 2021-03-30 广州极飞科技有限公司 Load detection device and method, and unmanned device charging system
CN113157527A (en) * 2021-04-27 2021-07-23 福建实达电脑设备有限公司 Serial port plugging detection circuit and serial port plugging detection system

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009253468A (en) * 2008-04-02 2009-10-29 Canon Inc Video controller and method of controlling the same
US9003369B2 (en) * 2011-08-31 2015-04-07 Nvidia Corporation HDMI-muxed debug port methods and apparatuses
WO2013099069A1 (en) * 2011-12-27 2013-07-04 パナソニック株式会社 Communication cable
CN103024435B (en) * 2012-12-21 2015-09-30 深圳Tcl新技术有限公司 HDMI checkout gear, detection method and HDMI system
US9268972B2 (en) * 2014-04-06 2016-02-23 Freescale Semiconductor, Inc. Tamper detector power supply with wake-up
US9934188B2 (en) * 2015-08-27 2018-04-03 Kabushiki Kaisha Toshiba Electronic device with connector for video signal interface
WO2020091795A1 (en) * 2018-11-01 2020-05-07 Hewlett-Packard Development Company, L.P. Multifunction display port
CN110912224B (en) * 2019-11-13 2023-04-14 宁波公牛数码科技有限公司 Charging device and charging device control method
CN112148104B (en) * 2020-09-30 2023-01-17 维沃移动通信有限公司 Control method of electronic equipment
CN112565633B (en) * 2020-12-08 2022-10-21 威创集团股份有限公司 Detection system and video receiving box thereof

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1773411A (en) * 2004-11-10 2006-05-17 北京中科诚毅科技发展有限公司 Computer I/O port control program
KR20110007371A (en) * 2009-07-16 2011-01-24 엘지전자 주식회사 Display device and method of providing digital interface
CN104350759A (en) * 2012-05-15 2015-02-11 Lg电子株式会社 System for improving HDMI CEC performance, and method for controlling same
CN203788392U (en) * 2013-12-13 2014-08-20 乐视致新电子科技(天津)有限公司 Hdmi signal processing circuit
CN104394347A (en) * 2014-12-09 2015-03-04 北京精一强远科技有限公司 Device and method for forcing high-definition multimedia interface (HDMI) to output video signals
CN104714916A (en) * 2015-03-30 2015-06-17 迈普通信技术股份有限公司 Detection system for plugging or unplugging of external equipment on USB interface
CN106791526A (en) * 2016-11-09 2017-05-31 深圳Tcl数字技术有限公司 The HDMI circuit of main equipment and the method powered to slave unit based on HDMI
CN210955043U (en) * 2019-11-04 2020-07-07 深圳市迈乐技术有限公司 DP supports HDMI interface hot plug circuit after converting into HDMI
CN110855687A (en) * 2019-11-18 2020-02-28 惠州学院 Network space security situation perception detection analysis system and method
CN112578227A (en) * 2020-12-14 2021-03-30 广州极飞科技有限公司 Load detection device and method, and unmanned device charging system
CN113157527A (en) * 2021-04-27 2021-07-23 福建实达电脑设备有限公司 Serial port plugging detection circuit and serial port plugging detection system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
不同供电情况下热插拔硬件电路设计技术研究;吴建军;《自动化与仪器仪表》;20170625(第06期);全文 *
小型UPS电源的嵌入式系统设计与实现;董航等;《电源学报》;20110915(第05期);全文 *

Also Published As

Publication number Publication date
CN114624633A (en) 2022-06-14

Similar Documents

Publication Publication Date Title
CN114624633B (en) HDMI (high-definition multimedia interface) port plugging detection system and method, electronic equipment and storage medium
CN114624635B (en) Plug detection system and method of VGA display interface and electronic equipment
US7640597B1 (en) Image display device
CN114624632B (en) USB port plug detection system, method, electronic equipment and storage medium
CN100437463C (en) Display system and control method thereof
US9232265B2 (en) Method, apparatus and system for transitioning an audio/video device between a source mode and a sink mode
US20200371697A1 (en) Data storage device having self-destruction function
CN101980235A (en) Safe computing platform
CN110704878B (en) Anti-dismantling system for safety computer
CN201397508Y (en) Stand-alone terminal secure login and monitoring device
US20150205750A1 (en) Systems and methods for managing a wireless connection between a computing device and a peripheral module
CN105631366A (en) Encryption chip and encryption method therefor
US9916444B2 (en) Recovering from unexpected flash drive removal
CN108460284B (en) Computer key data protection system and method
CN116580518A (en) USB anti-plug alarm system
JP3195602B2 (en) Coupler and data exchange device for managing communication between portable data medium and data exchange device
CN206946489U (en) A kind of computer critical data protects system
CN109443531A (en) A kind of air-tight state detection device and a kind of projection equipment
CN109635596B (en) Safety protection system and method for multimedia touch control integrated machine
CN111859344A (en) External terminal protection equipment and protection system including face information verification
CN111859473A (en) External terminal protection equipment and protection system based on space detection
CN212379842U (en) Safe storage device and storage server
CN115221490B (en) Port information reinforcement computer and port information reinforcement method thereof
CN216053033U (en) Destructible safety encryption device
CN212379843U (en) Audio and video safety storage device

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