CN114624633A - 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 PDFInfo
- Publication number
- CN114624633A CN114624633A CN202210531797.2A CN202210531797A CN114624633A CN 114624633 A CN114624633 A CN 114624633A CN 202210531797 A CN202210531797 A CN 202210531797A CN 114624633 A CN114624633 A CN 114624633A
- 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.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01R—MEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
- G01R31/00—Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
- G01R31/50—Testing of electric apparatus, lines, cables or components for short-circuits, continuity, leakage current or incorrect line connections
- G01R31/66—Testing of connections, e.g. of plugs or non-disconnectable joints
- G01R31/68—Testing of releasable connections, e.g. of terminals mounted on a printed circuit board
- G01R31/69—Testing 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
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 the definition of an HDMI display interface source-end a-type connector signal specified by the 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 to Detect whether a display is connected 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 the external plugging condition of the HDMI port, that is, cannot Detect the access of an unauthorized external device, and is difficult to defend in time, and there is a risk of information leakage.
Disclosure of Invention
The present invention is directed to solve at least one of the technical problems in the prior art, and provides a system, a method, an electronic device and a storage medium for detecting the plugging/unplugging of an HDMI port, which can uninterruptedly detect the peripheral access condition of the HDMI port, so as to defend in time when an unauthorized peripheral is accessed, thereby improving the security and safety of the electronic device 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.
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 connected to 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 an embodiment of the present invention, 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.
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 one 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 and unplugging of an HDMI port, where the method is applied to a processor in a plugging and unplugging detection system of the HDMI port, the HDMI port includes an HPD input end and a power supply output end, the plugging and 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; 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 HDMI port plugging and unplugging detection method 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 plugging 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, a plurality of means is one or more, a plurality of means is two or more, and greater than, less than, more than, etc. are understood as excluding the essential numbers, and greater than, less than, etc. are understood as including the essential numbers. If the first and second are described for the purpose of distinguishing technical features, they are not to be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated or implicitly indicating the precedence of the 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.
At present, 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 in the input direction at the interface of the HDMI source device and is weakly pulled down to the ground in the passive and non-driven state. The HDMI source end device can be a computer, when the display is connected with the computer through an HDMI interface, in a state that the computer is started, the computer supplies power to the display through an 18 th Pin (Pin 18) of the HDMI interface, after the display receives 5V voltage, the voltage of a display side HPD Pin (PIN 19) is pulled to be higher than 2V through an internal circuit, 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 provided in the embodiment of the present invention, where the system includes a data processing module and a power supply module, where the HDMI port is disposed outside an electronic device, the external device, generally a display, can be connected to the HDMI port to connect to the electronic device, the HDMI port includes an HPD input end and a power supply output end, the HPD input end is configured to receive an HPD signal from the display, the power supply output end is configured to supply power to the display, and the data processing module is connected to the HPD input end 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 set 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 the 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 opened to an authorized peripheral, namely, only information is transmitted to the authorized peripheral 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, the conduction and the leakage of the electrical interface can be avoided, and the information leakage caused by the interception and the restoration of the digital signal of the display port is prevented. It is also easy to understand that the HDMI port plugging and unplugging 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, not only can prevent unauthorized peripherals from acquiring information of electronic devices according to the authentication and authorization result, but also can enable users to find out in time whether peripherals are replaced or not, and prevent others from replacing peripherals at will, for example, for a secure computer equipped with the HDMI port plugging and unplugging detection system, the secure computer is equipped with a secure display, which can have functions of off-screen protection, anti-peeping, anti-candid, 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 by a normal display, the owner of the confidential computer can find the confidential computer in time when the confidential computer is used, and plug and pull events can be recorded, so that the spy behaviors can be clued, and the confidential computer is helpful 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 plug detection system can work normally, and whether the external equipment is accessed to the HDMI port 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, and 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, and the power module supplies power to the processor, that is, the power module can supply power to the power supply output end through the power management circuit, and can also supply power to 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 detection system is not universal with a power supply system of the electronic equipment, and the function of detecting whether the HDMI port is connected to the peripheral equipment or not by the plug detection system is not influenced when the electronic equipment is powered off or shut down.
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 system for detecting plugging/unplugging of an HDMI port according to an embodiment of the present invention, in which 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 magnitude of the preset threshold by 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 (microcontroller unit), a central processing unit cpu (central processing unit), a digital Signal processor dsp (digital Signal process) chip, and the like, and it 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 that the peripheral is plugged into or unplugged from the HDMI port occurs, 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-pull detection system provided by the invention can be matched with a controlled physical blocking system and an authentication and authorization technology, so that the protection of an HDMI port is enhanced, and the access of unauthorized peripheral equipment is avoided. The processor can output signals according to the HPD signals and the preset threshold value to represent the peripheral plugging and unplugging condition of the HDMI port, the output signals are used as control signals of a controlled physical blocking system, an authentication technology is used for assisting, the effect that only the authorized peripheral is allowed to access the HDMI port can be achieved, the 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 between 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 states of the HDMI port and the internal device of the electronic equipment are 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 terminal, 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), or the like, 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 peripherals can be defended in advance by matching with a controlled physical blocking technology and an authentication 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 by matching with the controlled physical blocking technology before the peripheral and the electronic equipment are subjected to information interaction, the information channel between the unauthorized peripherals and the electronic equipment can be blocked at a physical layer, the illegal access can be 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 terminal, 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 to 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 a peripheral before information interaction occurs between the peripheral and the electronic equipment, 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, interception of unauthorized peripherals is realized, 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, the 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.
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.
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; 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 the plugging of the HDMI port according to claim 8, wherein the processor is provided with a plugging signal output port, and the determining whether the HDMI port is connected to an external device according to the HPD signal and a preset threshold value 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.
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 true CN114624633A (en) | 2022-06-14 |
CN114624633B 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) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114839571A (en) * | 2022-06-30 | 2022-08-02 | 深圳英集芯科技股份有限公司 | Circuit for detecting plugging and unplugging of equipment and electronic equipment |
CN115221490A (en) * | 2022-09-20 | 2022-10-21 | 陕西天视致远航空技术有限公司 | Port information reinforcing computer and port information reinforcing method thereof |
CN117075836A (en) * | 2023-10-16 | 2023-11-17 | 合肥联宝信息技术有限公司 | Anti-interference device for display signal, display and electronic equipment |
Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1773411A (en) * | 2004-11-10 | 2006-05-17 | 北京中科诚毅科技发展有限公司 | Computer I/O port control program |
US20090251606A1 (en) * | 2008-04-02 | 2009-10-08 | Canon Kabushiki Kaisha | Video control apparatus and control method thereof |
KR20110007371A (en) * | 2009-07-16 | 2011-01-24 | 엘지전자 주식회사 | Display device and method of providing digital interface |
US20130054842A1 (en) * | 2011-08-31 | 2013-02-28 | Nvidia Corporation | Hdmi-muxed debug port methods and apparatuses |
CN103024435A (en) * | 2012-12-21 | 2013-04-03 | 深圳Tcl新技术有限公司 | HDMI (high-definition multimedia interface) interface detection device and method and HDMI interface system |
US20130183045A1 (en) * | 2011-12-27 | 2013-07-18 | Panasonic Corporation | Communication cable apparatus including switch turned off in reverse connection state of communication cable apparatus |
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 |
US20150286846A1 (en) * | 2014-04-06 | 2015-10-08 | Freescale Semiconductor, Inc. | Tamper detector power supply with wake-up |
US20170060804A1 (en) * | 2015-08-27 | 2017-03-02 | Kabushiki Kaisha Toshiba | Electronic device with connector for video signal 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 |
CN110912224A (en) * | 2019-11-13 | 2020-03-24 | 宁波公牛数码科技有限公司 | Charging device and charging device control method |
CN210955043U (en) * | 2019-11-04 | 2020-07-07 | 深圳市迈乐技术有限公司 | DP supports HDMI interface hot plug circuit after converting into HDMI |
CN112148104A (en) * | 2020-09-30 | 2020-12-29 | 维沃移动通信有限公司 | Control method of electronic equipment |
CN112565633A (en) * | 2020-12-08 | 2021-03-26 | 威创集团股份有限公司 | Detection system and video receiving box thereof |
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 |
US20210271302A1 (en) * | 2018-11-01 | 2021-09-02 | Hewlett-Packard Development Company, L.P. | Multifunction display port |
-
2022
- 2022-05-17 CN CN202210531797.2A patent/CN114624633B/en active Active
Patent Citations (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1773411A (en) * | 2004-11-10 | 2006-05-17 | 北京中科诚毅科技发展有限公司 | Computer I/O port control program |
US20090251606A1 (en) * | 2008-04-02 | 2009-10-08 | Canon Kabushiki Kaisha | Video control apparatus and control method thereof |
KR20110007371A (en) * | 2009-07-16 | 2011-01-24 | 엘지전자 주식회사 | Display device and method of providing digital interface |
US20130054842A1 (en) * | 2011-08-31 | 2013-02-28 | Nvidia Corporation | Hdmi-muxed debug port methods and apparatuses |
US20130183045A1 (en) * | 2011-12-27 | 2013-07-18 | Panasonic Corporation | Communication cable apparatus including switch turned off in reverse connection state of communication cable apparatus |
CN104350759A (en) * | 2012-05-15 | 2015-02-11 | Lg电子株式会社 | System for improving HDMI CEC performance, and method for controlling same |
CN103024435A (en) * | 2012-12-21 | 2013-04-03 | 深圳Tcl新技术有限公司 | HDMI (high-definition multimedia interface) interface detection device and method and HDMI interface system |
CN203788392U (en) * | 2013-12-13 | 2014-08-20 | 乐视致新电子科技(天津)有限公司 | Hdmi signal processing circuit |
US20150286846A1 (en) * | 2014-04-06 | 2015-10-08 | Freescale Semiconductor, Inc. | Tamper detector power supply with wake-up |
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 |
US20170060804A1 (en) * | 2015-08-27 | 2017-03-02 | Kabushiki Kaisha Toshiba | Electronic device with connector for video signal 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 |
US20210271302A1 (en) * | 2018-11-01 | 2021-09-02 | Hewlett-Packard Development Company, L.P. | Multifunction display port |
CN210955043U (en) * | 2019-11-04 | 2020-07-07 | 深圳市迈乐技术有限公司 | DP supports HDMI interface hot plug circuit after converting into HDMI |
CN110912224A (en) * | 2019-11-13 | 2020-03-24 | 宁波公牛数码科技有限公司 | Charging device and charging device control method |
CN110855687A (en) * | 2019-11-18 | 2020-02-28 | 惠州学院 | Network space security situation perception detection analysis system and method |
CN112148104A (en) * | 2020-09-30 | 2020-12-29 | 维沃移动通信有限公司 | Control method of electronic equipment |
CN112565633A (en) * | 2020-12-08 | 2021-03-26 | 威创集团股份有限公司 | Detection system and video receiving box thereof |
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)
Title |
---|
吴建军: "不同供电情况下热插拔硬件电路设计技术研究", 《自动化与仪器仪表》 * |
董航等: "小型UPS电源的嵌入式***设计与实现", 《电源学报》 * |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114839571A (en) * | 2022-06-30 | 2022-08-02 | 深圳英集芯科技股份有限公司 | Circuit for detecting plugging and unplugging of equipment and electronic equipment |
CN114839571B (en) * | 2022-06-30 | 2022-09-16 | 深圳英集芯科技股份有限公司 | Circuit for detecting plugging and unplugging of equipment and electronic equipment |
CN115221490A (en) * | 2022-09-20 | 2022-10-21 | 陕西天视致远航空技术有限公司 | Port information reinforcing computer and port information reinforcing method thereof |
CN115221490B (en) * | 2022-09-20 | 2024-02-23 | 陕西天视致远航空技术有限公司 | Port information reinforcement computer and port information reinforcement method thereof |
CN117075836A (en) * | 2023-10-16 | 2023-11-17 | 合肥联宝信息技术有限公司 | Anti-interference device for display signal, display and electronic equipment |
CN117075836B (en) * | 2023-10-16 | 2024-02-23 | 合肥联宝信息技术有限公司 | Anti-interference device for display signal, display and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114624633B (en) | 2022-09-30 |
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 | |
US5572696A (en) | Secret information protection system erasing secret information upon detection of authorized user-initiated event | |
CN101980235A (en) | Safe computing platform | |
CN110704878B (en) | Anti-dismantling system for safety computer | |
CN201397508Y (en) | Stand-alone terminal secure login and monitoring device | |
CN101901559A (en) | Safety control method for USB (Universal Serial Bus) interface | |
CN105631366A (en) | Encryption chip and encryption method therefor | |
US20210333334A1 (en) | Power supply peak current measurement | |
US9916444B2 (en) | Recovering from unexpected flash drive removal | |
CN108460284B (en) | Computer key data protection system and method | |
CN116580518A (en) | USB anti-plug alarm system | |
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 | |
US11023591B2 (en) | Data processing system having distributed security controller with local control and method for securing the data processing system | |
CN111859473A (en) | External terminal protection equipment and protection system based on space detection | |
CN115221490B (en) | Port information reinforcement computer and port information reinforcement method thereof | |
CN216053033U (en) | Destructible safety encryption device | |
CN212379842U (en) | Safe storage device and storage server | |
CN114624634B (en) | Plug detection system and method of Ethernet interface and electronic equipment | |
CN112131620B (en) | Hard disk anti-theft method and hard disk | |
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 |