HDMI (High Definition Multimedia Interface) firmware upgrading circuit and method and switcher

By designing the firmware upgrade circuit for detection, judgment and generation modules in HDMI devices, the complexity and security of firmware upgrades of HDMI KVM switchers are solved, and convenient upgrades are achieved without disassembly, improving the reliability and flexibility of firmware upgrades. sex.

CN119166186APending Publication Date: 2024-12-20SHENZHEN GREEN CONNECTION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411003158.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

The existing HDMI KVM switches lack reserved interfaces when upgrading firmware, and the equipment needs to be dismantled for upgrading, which increases complexity and may damage the equipment, and lacks a convenient upgrade solution.

Method used

A HDMI firmware upgrade circuit is designed, including a detection module, a judgment module and a generation module. By detecting the target signal sent by the external device, it determines whether the firmware to be upgraded meets the preset conditions, and generates a firmware upgrade link when the conditions are met, realizing No need for disassembly upgrade operation.

Benefits of technology

Reduces the complexity of HDMI firmware upgrades, improves convenience and flexibility, allows upgrades when the device works normally, avoids disassembly operations, and enhances the reliability and flexibility of upgrades.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166186A_ABST
    Figure CN119166186A_ABST
Patent Text Reader

Abstract

The invention discloses an HDMI firmware upgrading circuit and method and a switcher, the HDMI firmware upgrading circuit is applied to HDMI equipment, the HDMI equipment comprises at least one piece of firmware, the HDMI firmware upgrading circuit comprises a detection module, a judgment module and a generation module, the detection module detects a target signal sent by external equipment, and the judgment module sends the target signal to the switching device; the target signal comprises first firmware information of to-be-upgraded firmware in all firmware and first state information of the external equipment; the judgment module judges whether the to-be-upgraded firmware meets a preset firmware upgrading condition or not according to the target signal; and when the judgment result of the judgment module is yes, the generation module generates a firmware upgrading link according to the target signal, and the firmware upgrading link is a communication link between the to-be-upgraded firmware and the external equipment, so that the external equipment executes corresponding firmware upgrading operation on the to-be-upgraded firmware. Therefore, by implementing the method and the device, the convenience of upgrading the HDMI firmware can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of HDMI technology, and in particular to an HDMI firmware upgrade circuit, method and switch. Background Art

[0002] The HDMI KVM switch can support the simultaneous connection of multiple host devices' HDMI interfaces and USB interfaces, and allow users to control the above host devices through peripheral connections, thus improving the user experience.

[0003] In actual applications, in order to repair the software and hardware defects in the produced HDMI KVM switches, it is necessary to update the firmware to correct the vulnerabilities in the previous version, so as to maintain the HDMI KVM switch for normal use. However, due to limitations such as size and appearance, most HDMI KVM switches do not have a reserved firmware upgrade interface, resulting in the firmware upgrade requiring the HDMI KVM switch to be disassembled to complete. This not only increases the complexity of the firmware upgrade, but disassembling the HDMI KVM switch may also increase the risk of further damage to the HDMI KVM switch.

[0004] It can be seen that it is particularly important to propose a technical solution to improve the convenience of HDMI firmware upgrade. Summary of the invention

[0005] The present invention provides a HDMI firmware upgrade circuit, method and switch, which can improve the convenience of HDMI firmware upgrade.

[0006] In order to solve the above technical problems, the first aspect of the present invention discloses an HDMI firmware upgrade circuit, which is applied to an HDMI device, and the HDMI device includes at least one firmware, and is characterized in that the HDMI firmware upgrade circuit includes a detection module, a judgment module and a generation module, wherein:

[0007] The first end of the detection module is used to electrically connect to an external device, the second end of the detection module is electrically connected to the first end of the judgment module, the second end of the judgment module is electrically connected to the first end of the generation module, and the second end of the generation module is used to electrically connect to the firmware;

[0008] The detection module is used to detect a target signal sent by the external device, wherein the target signal includes first firmware information of firmware to be upgraded in all the firmware and first status information of the external device;

[0009] The judging module is used to judge whether the firmware to be upgraded meets the preset firmware upgrade condition according to the target signal;

[0010] The generating module is used to receive the judgment result sent by the judging module, and when the judgment result is that the firmware to be upgraded meets the preset firmware upgrade condition, generate a firmware upgrade link according to the target signal, wherein the firmware upgrade link is a communication link between the firmware to be upgraded and the external device, so that the external device performs corresponding firmware upgrade operations on the firmware to be upgraded.

[0011] As an optional implementation, in the first aspect of the present invention, the judgment module includes a receiving submodule, a parsing submodule and a judgment submodule, wherein:

[0012] The first end of the receiving submodule is electrically connected to the second end of the detection module, the second end of the receiving submodule is electrically connected to the first end of the analysis submodule and the first end of the judgment submodule, the second end of the analysis submodule is electrically connected to the second end of the judgment submodule, and the third end of the judgment submodule is electrically connected to the first end of the generation module;

[0013] The receiving submodule is configured to receive the first firmware information and the first status information detected by the detection module;

[0014] The parsing submodule is used to parse the first status information to obtain second status information, where the second status information is used to indicate the status of the HDMI device;

[0015] The judgment submodule is used to judge whether the firmware to be upgraded meets a preset firmware upgrade condition according to the first firmware information and the second status information.

[0016] As an optional implementation, in the first aspect of the present invention, the judgment submodule includes a first judgment submodule, a second judgment submodule and a determination submodule, wherein:

[0017] The first end of the first judgment submodule is electrically connected to the second end of the receiving submodule, the first end of the second judgment submodule is electrically connected to the second end of the analyzing submodule, the second end of the first judgment submodule and the second end of the second judgment submodule are electrically connected to the first end of the determining submodule, and the second end of the determining submodule is electrically connected to the first end of the generating module;

[0018] The first determination submodule is used to determine whether there is second firmware information matching the first firmware information in the preset firmware information set;

[0019] The second determination submodule is used to determine whether the second status information matches the preset status information;

[0020] The determination submodule is used to determine that the firmware to be upgraded meets the preset firmware upgrade condition when the first judgment submodule determines that the second firmware information exists in the preset firmware information set and the second judgment submodule determines that the second status information matches the preset status information.

[0021] As an optional implementation, in the first aspect of the present invention, the external device includes a first external device, and the HDMI firmware upgrade circuit further includes an HDMI input module, wherein:

[0022] The first end of the HDMI input module is used to electrically connect to the first external device, the second end of the HDMI input module is electrically connected to the first end of the detection module, and the third end of the HDMI input module is used to electrically connect to the firmware;

[0023] The HDMI input module is used to receive the first firmware information sent by the first external device, and send the first firmware information to the detection module;

[0024] The HDMI input module is further used to receive a first DC signal, a first overvoltage signal and a first backflow signal sent by the first external device;

[0025] The HDMI input module is further used to receive a first level signal sent by the first module, convert the first level signal into a corresponding second level signal, and send the second level signal to the second module;

[0026] When the first module is the first external device, the second module is the firmware corresponding to the first level signal; when the first module is the firmware, the second module is the first external device.

[0027] As an optional implementation, in the first aspect of the present invention, the external device further includes a second external device, and the HDMI firmware upgrade circuit further includes an HDMI output module, wherein:

[0028] The first end of the HDMI output module is used to electrically connect to the second external device, the second end of the HDMI output module is electrically connected to the first end of the detection module, and the third end of the HDMI output module is used to electrically connect to the firmware;

[0029] The HDMI output module is configured to receive the first status information sent by the second external device, and send the first status information to the detection module;

[0030] The HDMI output module is further used to receive a second DC signal, a second overvoltage signal, and a second backflow signal sent by the second external device;

[0031] The HDMI output module is further used to receive a third level signal sent by the third module, convert the third level signal into a corresponding fourth level signal, and send the fourth level signal to the fourth module;

[0032] When the third module is the second external device, the fourth module is the firmware corresponding to the third level signal; when the third module is the firmware, the fourth module is the second external device.

[0033] As an optional implementation, in the first aspect of the present invention, the HDMI input module includes an HDMI input interface, a first electrostatic protection circuit, a first CEC level driving circuit and a first level conversion protection circuit, and the first level conversion protection circuit includes at least a first HPD level conversion protection circuit, wherein:

[0034] The first end of the HDMI input interface is used to electrically connect to the first external device, the second end of the HDMI input interface is electrically connected to the first end of the first electrostatic protection circuit, the third end of the HDMI input interface is electrically connected to the first end of the first CEC level driving circuit, the fourth end of the HDMI input interface is electrically connected to the first end of the first level conversion protection circuit, the fifth end of the HDMI input interface is electrically connected to the first end of the detection module, and the second end of the first electrostatic protection circuit, the second end of the first CEC level driving circuit and the second end of the first level conversion protection circuit are used to electrically connect to the firmware;

[0035] The HDMI input interface is used to receive the first firmware information sent by the first external device, and send the first firmware information to the detection module;

[0036] The first electrostatic protection circuit is used to receive a first DC signal and a first overvoltage signal sent by the first external device;

[0037] The first CEC level driving circuit is used to receive a first backflow signal sent by the first external device;

[0038] The first level conversion protection circuit is used to receive the first level signal sent by the first module, convert the first level signal into a corresponding second level signal, and send the second level signal to the second module.

[0039] As an optional implementation, in the first aspect of the present invention, the first electrostatic protection circuit includes at least one first ESD, wherein:

[0040] The first end of the first ESD is electrically connected to the second end of the HDMI input interface, and the second end of the first ESD is used to electrically connect to the firmware;

[0041] And, the first CEC level driving circuit includes a first diode, a second diode, a first resistor, a second resistor and a third resistor, wherein:

[0042] The first end of the first resistor, the first end of the second resistor and the first end of the third resistor are electrically connected to the third end of the HDMI input interface, the second end of the first resistor is electrically connected to the first end of the first diode, the second end of the first diode is used to electrically connect to the firmware, the second end of the second resistor and the second end of the third resistor are electrically connected to the first end of the second diode, and the second end of the second diode is used to electrically connect to the firmware;

[0043] And, the first HPD level conversion protection circuit includes a fourth resistor, a fifth resistor, a sixth resistor, a seventh resistor, an eighth resistor, a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a first MOS transistor and a first triode, wherein:

[0044] The first end of the fourth resistor, the first end of the fifth resistor, and the first end of the sixth resistor are electrically connected to the fourth end of the HDMI input interface, the second end of the fourth resistor is electrically connected to the first end of the first MOS tube, the second end of the first MOS tube is electrically connected to the first end of the seventh resistor, the first end of the eighth resistor, and the first end of the ninth resistor, the second end of the seventh resistor is used to electrically connect to the firmware, the second end of the eighth resistor is used to electrically connect to the first power supply VCC_5V0, the second end of the ninth resistor is electrically connected to the third end of the first MOS tube and the first end of the tenth resistor, the second end of the tenth resistor is electrically connected to the first end of the first triode, the second end of the first triode is electrically connected to the second end of the fifth resistor and the first end of the eleventh resistor, and is used for grounding, the second end of the eleventh resistor is electrically connected to the third end of the first triode and the first end of the twelfth resistor, the second end of the twelfth resistor and the second end of the sixth resistor are used to electrically connect to the firmware.

[0045] As an optional implementation, in the first aspect of the present invention, the HDMI output module includes an HDMI output interface, a second electrostatic protection circuit, a second CEC level driving circuit, and a second level conversion protection circuit, and the second level conversion protection circuit includes at least a second HPD level conversion protection circuit, wherein:

[0046] The first end of the HDMI output interface is used to electrically connect to the second external device, the second end of the HDMI output interface is electrically connected to the first end of the second electrostatic protection circuit, the third end of the HDMI output interface is electrically connected to the first end of the second CEC level driving circuit, the fourth end of the HDMI output interface is electrically connected to the first end of the second level conversion protection circuit, the fifth end of the HDMI output interface is electrically connected to the first end of the detection module, and the second end of the second electrostatic protection circuit, the second end of the second CEC level driving circuit and the second end of the second level conversion protection circuit are used to electrically connect to the firmware;

[0047] The HDMI output interface is used to receive the first status information sent by the second external device, and send the first status information to the detection module;

[0048] The second electrostatic protection circuit is used to receive the second DC signal and the second overvoltage signal sent by the second external device;

[0049] The second CEC level driving circuit is used to receive a second backflow signal sent by the second external device;

[0050] The second level conversion protection circuit is used to receive the third level signal sent by the third module, convert the third level signal into the corresponding fourth level signal, and send the fourth level signal to the fourth module.

[0051] As an optional implementation, in the first aspect of the present invention, the second electrostatic protection circuit includes at least one second ESD, wherein:

[0052] The first end of the second ESD is electrically connected to the second end of the HDMI output interface, and the second end of the second ESD is used to electrically connect to the firmware;

[0053] And, the second CEC level driving circuit includes a third diode, a fourth diode, a thirteenth resistor, a fourteenth resistor, a fifteenth resistor, a sixteenth resistor and a seventeenth resistor, wherein:

[0054] The first end of the thirteenth resistor is electrically connected to the third end of the HDMI output interface, the second end of the thirteenth resistor is electrically connected to the first end of the third diode, the second end of the third diode is used to electrically connect to the second power supply VCC_3V3, the first end of the fourteenth resistor, the first end of the fifteenth resistor and the first end of the fourth diode are used to electrically connect to the third power supply VCC_E2P, the second end of the fourteenth resistor is electrically connected to the first end of the sixteenth resistor and is used to electrically connect to the firmware, the second end of the fifteenth resistor is electrically connected to the first end of the seventeenth resistor and is used to electrically connect to the firmware, the second end of the fourth diode, the second end of the sixteenth resistor and the second end of the seventeenth resistor are electrically connected to the third end of the HDMI output interface;

[0055] And, the second HPD level conversion protection circuit includes an eighteenth resistor, a nineteenth resistor, a twentieth resistor, a twenty-first resistor, a twenty-second resistor, a twenty-third resistor, a twenty-fourth resistor, a second transistor and a third transistor, wherein:

[0056] The first end of the eighteenth resistor is electrically connected to the first end of the nineteenth resistor and is used to electrically connect to the firmware. The second end of the nineteenth resistor is used to ground. The second end of the eighteenth resistor is electrically connected to the first end of the second transistor. The second end of the second transistor is electrically connected to the first end of the twentieth resistor and is used to electrically connect to the fourth power supply VCC_5V0. The third end of the second transistor is electrically connected to the first end of the twenty-first resistor. The second end of the twentieth resistor is electrically connected to the second end of the twenty-first resistor and the first end of the third transistor. The second end of the third transistor is electrically connected to the first end of the twenty-second resistor. The third end of the third transistor is electrically connected to the first end of the twenty-third resistor and is used to ground. The second end of the twenty-second resistor is electrically connected to the second end of the twenty-third resistor, the first end of the twenty-fourth resistor and the fourth end of the HDMI output interface. The second end of the twenty-fourth resistor is used to electrically connect to the firmware.

[0057] A second aspect of the present invention discloses an HDMI firmware upgrade method, the HDMI firmware upgrade method is applied to an HDMI device, the HDMI device includes at least one firmware, and the HDMI device includes the HDMI firmware upgrade circuit according to any one of claims 1 to 9, the method comprising:

[0058] Detecting a target signal sent by an external device, wherein the target signal includes first firmware information of firmware to be upgraded in all the firmware and first status information of the external device;

[0059] According to the target signal, it is determined whether the firmware to be upgraded meets the preset firmware upgrade conditions. When it is determined that the firmware to be upgraded meets the preset firmware upgrade conditions, a firmware upgrade link is generated according to the target signal. The firmware upgrade link is a communication link between the firmware to be upgraded and the external device, so that the external device performs corresponding firmware upgrade operations on the firmware to be upgraded.

[0060] A third aspect of the present invention discloses a switch, the switch comprising a switch body, and the switch further comprising the HDMI firmware upgrade circuit as described in the first aspect of the present invention.

[0061] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0062] In the present invention, an HDMI firmware upgrade circuit is applied to an HDMI device, the HDMI device includes at least one firmware, and the HDMI firmware upgrade circuit includes a detection module, a judgment module and a generation module, wherein: the detection module detects a target signal sent by an external device, the target signal includes first firmware information of a firmware to be upgraded among all firmwares and first status information of the external device; the judgment module judges whether the firmware to be upgraded meets a preset firmware upgrade condition according to the target signal; when the judgment module judges that the firmware to be upgraded meets the preset firmware upgrade condition, the generation module generates a firmware upgrade link according to the target signal, the firmware upgrade link being a communication link between the firmware to be upgraded and the external device, so that the external device performs a corresponding firmware upgrade operation on the firmware to be upgraded. It can be seen that the implementation of the present invention can detect the first firmware information of the firmware to be upgraded in all the firmware of the HDMI device and the first status information of the external device sent by the external device based on the detection module of the HDMI firmware upgrade circuit, and judge whether the firmware to be upgraded meets the preset firmware upgrade condition based on the target signal by the judgment module, so that when the judgment module judges that the firmware to be upgraded meets the preset firmware upgrade condition, the generation module generates a firmware upgrade link according to the target signal, so that the external device performs the corresponding firmware upgrade operation on the firmware to be upgraded, avoids the disassembly operation of the HDMI firmware upgrade, reduces the complexity of the HDMI firmware upgrade, and improves the convenience of the HDMI firmware upgrade. At the same time, when the HDMI device is working normally, the firmware upgrade can be performed for the firmware to be upgraded that does not participate in the signal transmission of the HDMI device, or the cross firmware upgrade can be performed by using the operation gap, which can further improve the flexibility and convenience of the HDMI firmware upgrade. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0064] Figure 1 It is a structural schematic diagram of an HDMI firmware upgrade circuit disclosed in an embodiment of the present invention;

[0065] Figure 2-A It is a structural schematic diagram of a judgment module disclosed in an embodiment of the present invention;

[0066] Figure 2-B It is a structural schematic diagram of another HDMI firmware upgrade circuit disclosed in an embodiment of the present invention;

[0067] Figure 2-C It is a structural schematic diagram of an HDMI input module disclosed in an embodiment of the present invention;

[0068] Figure 2-D It is a structural schematic diagram of an HDMI output module disclosed in an embodiment of the present invention;

[0069] Figure 3 It is a structural schematic diagram of an HDMI input interface disclosed in an embodiment of the present invention;

[0070] Figure 4 is a structural schematic diagram of a first electrostatic protection circuit disclosed in an embodiment of the present invention;

[0071] Figure 5 is a structural schematic diagram of a first CEC level driving circuit disclosed in an embodiment of the present invention;

[0072] Figure 6 It is a structural schematic diagram of a first HPD level conversion protection circuit disclosed in an embodiment of the present invention;

[0073] Figure 7 It is a structural schematic diagram of an HDMI output interface disclosed in an embodiment of the present invention;

[0074] Figure 8 is a structural schematic diagram of a second electrostatic protection circuit disclosed in an embodiment of the present invention;

[0075] Fig. 9 is a structural schematic diagram of a second CEC level driving circuit disclosed in an embodiment of the present invention;

[0076] Fig.10 is a structural schematic diagram of a second HPD level conversion protection circuit disclosed in an embodiment of the present invention;

[0077] Fig.11 It is a structural schematic diagram of a main control chip disclosed in an embodiment of the present invention;

[0078] Fig.12 It is a structural schematic diagram of a multiplexed pin switching chip disclosed in an embodiment of the present invention;

[0079] Fig.13 The present invention discloses a flow chart of an HDMI firmware upgrade method. DETAILED DESCRIPTION

[0080] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0081] It should be noted that, unless otherwise clearly specified and limited, the term "electrical connection" in the specification and claims of the present invention and the above-mentioned drawings should be understood in a broad sense. For example, it can be a fixed electrical connection, a detachable electrical connection, or an integral electrical connection; it can be a mechanical electrical connection, an electrical electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium, and it can be the internal connection of two elements or the interaction relationship between two elements. In addition, the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. The terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0082] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0083] The present invention discloses an HDMI firmware upgrade circuit, method and switch, which can detect first firmware information including firmware to be upgraded in all firmware of HDMI device and first status information of external device sent by external device based on detection module of HDMI firmware upgrade circuit, and judge whether firmware to be upgraded meets preset firmware upgrade condition based on target signal by judgment module, so that when judgment module judges that firmware to be upgraded meets preset firmware upgrade condition, generation module generates firmware upgrade link according to target signal, so that external device performs corresponding firmware upgrade operation on firmware to be upgraded, avoids disassembly operation of HDMI firmware upgrade, reduces complexity of HDMI firmware upgrade, improves convenience of HDMI firmware upgrade, and at the same time, can also perform firmware upgrade for firmware to be upgraded that does not participate in signal transmission of HDMI device under normal operation of HDMI device, or perform cross firmware upgrade by using operation gap, which can further improve flexibility and convenience of HDMI firmware upgrade. Detailed descriptions are given below.

[0084] Embodiment 1

[0085] See also Figure 1 , Figure 1 : is a schematic diagram of the structure of an HDMI firmware upgrade circuit disclosed in an embodiment of the present invention. Figure 1 The described HDMI firmware upgrade circuit can be applied to HDMI devices. The HDMI devices include at least one firmware. The firmware can be a module in the HDMI built-in chip or an independent module embedded in the HDMI device. The embodiment of the present invention does not make any specific limitation. Figure 1 As shown, the HDMI firmware upgrade circuit may include a detection module 10, a judgment module 20 and a generation module 30, wherein:

[0086] The first end of the detection module 10 is used to electrically connect to an external device, the second end of the detection module 10 is electrically connected to the first end of the judgment module 20, the second end of the judgment module 20 is electrically connected to the first end of the generation module 30, and the second end of the generation module 30 is used to electrically connect to the firmware;

[0087] A detection module 10, configured to detect a target signal sent by an external device, wherein the target signal includes first firmware information of a firmware to be upgraded among all firmwares and first status information of the external device;

[0088] A determination module 20, configured to determine whether the firmware to be upgraded meets a preset firmware upgrade condition according to the target signal;

[0089] The generation module 30 is used to receive the judgment result sent by the judgment module 20, and when the judgment result is that the firmware to be upgraded meets the preset firmware upgrade conditions, a firmware upgrade link is generated according to the target signal. The firmware upgrade link is a communication link between the firmware to be upgraded and the external device, so that the external device performs corresponding firmware upgrade operations on the firmware to be upgraded.

[0090] In the embodiment of the present invention, optionally, the above-mentioned detection module, judgment module and generation module can be implemented by one or more integrated chips, and optionally, can be implemented by combining the integrated chip main control chip CX32L003F8P6X and the multiplexed pin switching chip RS2228XN-MSOP10, wherein the structural schematic diagram of the above-mentioned main control chip CX32L003F8P6X is as shown in Fig.11 As shown, the structural diagram of the above-mentioned multiplexing pin switching chip RS2228XN-MSOP10 is as follows Fig.12 As shown, further optionally, the above-mentioned main control chip can also be replaced by ST series and GD series. Further optionally, the above-mentioned multiplexed pin switching chip can also be replaced by a chip such as 74HC4052D.

[0091] It can be seen that the implementation of the embodiment of the present invention can detect the first firmware information of the firmware to be upgraded in all the firmware of the HDMI device and the first status information of the external device sent by the external device based on the detection module of the HDMI firmware upgrade circuit, and judge whether the firmware to be upgraded meets the preset firmware upgrade condition based on the target signal by the judgment module, so that when the judgment module judges that the firmware to be upgraded meets the preset firmware upgrade condition, the generation module generates a firmware upgrade link according to the target signal, so that the external device performs the corresponding firmware upgrade operation on the firmware to be upgraded, avoids the disassembly operation of the HDMI firmware upgrade, reduces the complexity of the HDMI firmware upgrade, and improves the convenience of the HDMI firmware upgrade. At the same time, when the HDMI device is working normally, the firmware upgrade can be performed for the firmware to be upgraded that does not participate in the signal transmission of the HDMI device, or the cross firmware upgrade can be performed by using the operation gap, which can further improve the flexibility and convenience of the HDMI firmware upgrade.

[0092] In the embodiment of the present invention, as an optional implementation mode, Figure 2-A As shown, the above-mentioned judgment module 20 includes a receiving submodule 201, an analyzing submodule 202 and a judgment submodule 203, wherein:

[0093] The first end of the receiving submodule 201 is electrically connected to the second end of the detection module 10, the second end of the receiving submodule 201 is electrically connected to the first end of the analysis submodule 202 and the first end of the judgment submodule 203, the second end of the analysis submodule 202 is electrically connected to the second end of the judgment submodule 203, and the third end of the judgment submodule 203 is electrically connected to the first end of the generation module 30;

[0094] A receiving submodule 201, configured to receive the first firmware information and the first status information detected by the detection module 10;

[0095] The parsing submodule 202 is used to parse the first status information to obtain the second status information, where the second status information is used to indicate the status of the HDMI device;

[0096] The judgment submodule 203 is used to judge whether the firmware to be upgraded meets the preset firmware upgrade condition according to the first firmware information and the second status information.

[0097] In this optional embodiment, optionally, the first status information may be working status information between the external device and the HDMI device, specifically, whether the external device is receiving a display signal for display, and further optionally, may be a specific HPD signal.

[0098] It can be seen that the implementation of this optional embodiment can further receive the first firmware information and the first status information detected by the detection module based on the receiving submodule in the judgment module, and the parsing submodule obtains the second status information used to represent the status of the HDMI device by parsing the above-mentioned first status information. The judgment submodule judges whether the firmware to be upgraded meets the preset firmware upgrade conditions based on the first firmware information and the second status information, and can further improve the accuracy of the subsequent generation of the firmware upgrade link from two aspects of the status of the external device and the status of the HDMI device, improve the accuracy of the firmware upgrade, and reduce the possibility that the generation of the firmware upgrade link affects the normal operation of the HDMI device.

[0099] In this optional embodiment, as an optional implementation, Figure 2-A As shown, the above-mentioned judgment submodule 203 includes a first judgment submodule 2031, a second judgment submodule 2032 and a determination submodule 2033, wherein:

[0100] The first end of the first judgment submodule 2031 is electrically connected to the second end of the receiving submodule 201, the first end of the second judgment submodule 2032 is electrically connected to the second end of the parsing submodule 202, the second end of the first judgment submodule 2031 and the second end of the second judgment submodule 2032 are electrically connected to the first end of the determining submodule 2033, and the second end of the determining submodule 2033 is electrically connected to the first end of the generating module 30;

[0101] The first determination submodule 2031 is used to determine whether there is second firmware information matching the first firmware information in the preset firmware information set;

[0102] The second judging submodule 2032 is used to judge whether the second state information matches the preset state information;

[0103] The determination submodule 2033 is used to determine that the firmware to be upgraded meets the preset firmware upgrade condition when the first determination submodule 2031 determines that the second firmware information exists in the preset firmware information set and the second determination submodule 2032 determines that the second status information matches the preset status information.

[0104] In this optional embodiment, optionally, the first judgment submodule and the second judgment submodule may perform the operations at the same time or sequentially, and the execution order is not specifically limited in the embodiment of the present invention.

[0105] Further optionally, the above-mentioned preset status information may be a HPD low level.

[0106] It can be seen that the implementation of this optional embodiment can further determine whether there is second firmware information matching the first firmware information in the preset firmware information set through the first determination submodule in the determination submodule, and determine whether the second state information matches the preset state information through the second determination submodule in the determination submodule, so that when the determination submodule determines in the first determination submodule that the second firmware information exists in the preset firmware information set and the second determination submodule determines that the second state information matches the preset state information, it determines that the firmware to be upgraded meets the preset firmware upgrade condition, further improving the accuracy and efficiency of generating the firmware upgrade link, which is beneficial to improving the operating stability of the HDMI device on the basis of improving the stability of the HDMI firmware upgrade.

[0107] In the embodiment of the present invention, as another optional implementation, Figure 2-B As shown, the external device includes a first external device, and the HDMI firmware upgrade circuit also includes an HDMI input module 40, wherein:

[0108] The first end of the HDMI input module 40 is used to electrically connect to the first external device, the second end of the HDMI input module 40 is electrically connected to the first end of the detection module 10, and the third end of the HDMI input module 40 is used to electrically connect to the firmware;

[0109] The HDMI input module 40 is used to receive the first firmware information sent by the first external device, and send the first firmware information to the detection module 10;

[0110] The HDMI input module 40 is further used to receive a first DC signal, a first overvoltage signal and a first backflow signal sent by a first external device;

[0111] The HDMI input module 40 is further used to receive the first level signal sent by the first module, convert the first level signal into a corresponding second level signal, and send the second level signal to the second module;

[0112] When the first module is the first external device, the second module is the firmware corresponding to the first level signal; when the first module is the firmware, the second module is the first external device.

[0113] It can be seen that the implementation of this optional embodiment can receive the first firmware information sent by the first external device through the above-mentioned HDMI input module, and send the first firmware information to the detection module, and receive the first DC signal, the first overvoltage signal and the first backflow signal sent by the first external device, and receive the first level signal sent by the first module, and convert the first level signal into a corresponding second level signal, and send the second level signal to the second module. On the basis of improving the stability of HDMI firmware upgrade, it can also further ensure the normal operation of HDMI devices from the HDMI input level, thereby improving the flexibility and freedom of HDMI device firmware upgrade.

[0114] In this optional embodiment, as an optional implementation, Figure 2-B As shown, the external device further includes a second external device, and the HDMI firmware upgrade circuit further includes an HDMI output module 50, wherein:

[0115] The first end of the HDMI output module 50 is used to electrically connect to the second external device, the second end of the HDMI output module 50 is electrically connected to the first end of the detection module 10, and the third end of the HDMI output module 50 is used to electrically connect to the firmware;

[0116] The HDMI output module 50 is used to receive the first status information sent by the second external device, and send the first status information to the detection module 10;

[0117] The HDMI output module 50 is further used to receive a second DC signal, a second overvoltage signal, and a second backflow signal sent by a second external device;

[0118] The HDMI output module 50 is further used to receive the third level signal sent by the third module, convert the third level signal into a corresponding fourth level signal, and send the fourth level signal to the fourth module;

[0119] When the third module is the second external device, the fourth module is the firmware corresponding to the third level signal; when the third module is the firmware, the fourth module is the second external device.

[0120] It can be seen that the implementation of this optional embodiment can further receive the first status information sent by the second external device through the above-mentioned HDMI output module, and send the first status information to the detection module, receive the second DC signal, the second overvoltage signal and the second backflow signal sent by the second external device, and receive the third level signal sent by the third module, and convert the third level signal into a corresponding fourth level signal, and send the fourth level signal to the fourth module. On the basis of improving the stability of HDMI firmware upgrade, it can also further ensure the normal operation of HDMI devices from the HDMI output level, thereby further improving the flexibility and freedom of HDMI device firmware upgrade.

[0121] In an optional embodiment, if Figure 2-C As shown, the above-mentioned HDMI input module 40 includes an HDMI input interface 401, a first electrostatic protection circuit 402, a first CEC level driving circuit 403 and a first level conversion protection circuit 404, and the first level conversion protection circuit 404 at least includes a first HPD level conversion protection circuit 4041, wherein:

[0122] The first end of the HDMI input interface 401 is used to electrically connect to the first external device, the second end of the HDMI input interface 401 is electrically connected to the first end of the first electrostatic protection circuit 402, the third end of the HDMI input interface 401 is electrically connected to the first end of the first CEC level driving circuit 403, the fourth end of the HDMI input interface 401 is electrically connected to the first end of the first level conversion protection circuit 404, the fifth end of the HDMI input interface 401 is electrically connected to the first end of the detection module 10, and the second end of the first electrostatic protection circuit 402, the second end of the first CEC level driving circuit 403 and the second end of the first level conversion protection circuit 404 are used to electrically connect to the firmware;

[0123] The HDMI input interface 401 is used to receive the first firmware information sent by the first external device, and send the first firmware information to the detection module 10;

[0124] A first electrostatic protection circuit 402, configured to receive a first DC signal and a first overvoltage signal sent by a first external device;

[0125] The first CEC level driving circuit 403 is used to receive a first backflow signal sent by a first external device;

[0126] The first level conversion protection circuit 404 is used for receiving a first level signal sent by the first module, converting the first level signal into a corresponding second level signal, and sending the second level signal to the second module.

[0127] In this optional embodiment, the above-mentioned first level conversion protection circuit may also include a DDC level conversion protection circuit, a power level conversion protection circuit, etc., wherein the specific circuit structure is related to the actual application scenario, and the embodiment of the present invention does not specifically limit this. It should be noted that each circuit in the first level conversion protection circuit is respectively connected to the corresponding firmware and respectively connected to the pins corresponding to the HDMI input interface.

[0128] It can be seen that implementing this optional embodiment can provide a specific HDMI input module structure, receiving the first firmware information sent by the first external device through the above-mentioned HDMI input interface, and sending the first firmware information to the detection module, the first electrostatic protection circuit receives the first DC signal and the first overvoltage signal sent by the first external device, the first CEC level driving circuit receives the first backflow signal sent by the first external device, the first level conversion protection circuit receives the first level signal sent by the first module, and converts the first level signal into a corresponding second level signal, and sends the second level signal to the second module, which can ensure the normal operation of the HDMI device from the HDMI input level, improve the flexibility and freedom of the firmware upgrade of the HDMI device, and also improve the application stability of the HDMI device and the stability of the HDMI interface transmission signal, and improve the stability of the HDMI firmware upgrade.

[0129] In this optional embodiment, as an optional implementation, Figure 4 As shown, the first electrostatic protection circuit 402 includes at least one first ESD 4021, wherein:

[0130] A first end of the first ESD 4021 is electrically connected to a second end of the HDMI input interface 401 , and a second end of the first ESD 4021 is used to electrically connect to the firmware;

[0131] Optional, such as Figure 5 As shown, the first CEC level driving circuit 403 includes a first diode 4031, a second diode 4032, a first resistor 4033, a second resistor 4034 and a third resistor 4035, wherein:

[0132] A first end of the first resistor 4033, a first end of the second resistor 4034, and a first end of the third resistor 4035 are electrically connected to a third end of the HDMI input interface 401, a second end of the first resistor 4033 is electrically connected to a first end of the first diode 4031, a second end of the first diode 4031 is used to electrically connect to a firmware, a second end of the second resistor 4034 and a second end of the third resistor 4035 are electrically connected to a first end of a second diode 4032, and a second end of the second diode 4032 is used to electrically connect to a firmware;

[0133] Optional, such as Figure 6 As shown, the first HPD level conversion protection circuit 4041 includes a fourth resistor 40411, a fifth resistor 40412, a sixth resistor 40413, a seventh resistor 40414, an eighth resistor 40415, a ninth resistor 40416, a tenth resistor 40417, an eleventh resistor 40418, a twelfth resistor 40419, a first MOS transistor 404110 and a first triode 404111, wherein:

[0134] The first end of the fourth resistor 40411, the first end of the fifth resistor 40412, and the first end of the sixth resistor 40413 are electrically connected to the fourth end of the HDMI input interface 401, the second end of the fourth resistor 40411 is electrically connected to the first end of the first MOS tube 404110, the second end of the first MOS tube 404110 is electrically connected to the first end of the seventh resistor 40414, the first end of the eighth resistor 40415, and the first end of the ninth resistor 40416, the second end of the seventh resistor 40414 is used to electrically connect to the firmware, the second end of the eighth resistor 40415 is used to electrically connect to the first power supply VCC_5V0, and the ninth resistor 40416 is used to electrically connect to the firmware. The second end of 0416 is electrically connected to the third end of the first MOS tube 404110 and the first end of the tenth resistor 40417, the second end of the tenth resistor 40417 is electrically connected to the first end of the first triode 404111, the second end of the first triode 404111 is electrically connected to the second end of the fifth resistor 40412 and the first end of the eleventh resistor 40418, and is used for grounding, the second end of the eleventh resistor 40418 is electrically connected to the third end of the first triode 404111 and the first end of the twelfth resistor 40419, the second end of the twelfth resistor 40419 and the second end of the sixth resistor 40413 are used for electrically connecting the firmware.

[0135] It can be seen that the implementation of this optional embodiment can disclose the structure of a specific HDMI input interface, a first electrostatic protection circuit, a first CEC level driving circuit and a first HPD level conversion protection circuit, which can further improve the scientificity, operational stability and feasibility of the HDMI input module.

[0136] In another optional embodiment, Figure 2-DAs shown, the above-mentioned HDMI output module 50 includes an HDMI output interface 501, a second electrostatic protection circuit 502, a second CEC level driving circuit 503 and a second level conversion protection circuit 504, and the second level conversion protection circuit 504 at least includes a second HPD level conversion protection circuit 5041, wherein:

[0137] The first end of the HDMI output interface 501 is used to electrically connect to the second external device, the second end of the HDMI output interface 501 is electrically connected to the first end of the second electrostatic protection circuit 502, the third end of the HDMI output interface 501 is electrically connected to the first end of the second CEC level driving circuit 503, the fourth end of the HDMI output interface 501 is electrically connected to the first end of the second level conversion protection circuit 504, the fifth end of the HDMI output interface 501 is electrically connected to the first end of the detection module 10, and the second end of the second electrostatic protection circuit 502, the second end of the second CEC level driving circuit 503, and the second end of the second level conversion protection circuit 504 are used to electrically connect to the firmware;

[0138] The HDMI output interface 501 is used to receive the first status information sent by the second external device, and send the first status information to the detection module 10;

[0139] The second electrostatic protection circuit 502 is used to receive a second DC signal and a second overvoltage signal sent by a second external device;

[0140] The second CEC level driving circuit 503 is used to receive a second backflow signal sent by a second external device;

[0141] The second level conversion protection circuit 504 is used for receiving the third level signal sent by the third module, converting the third level signal into a corresponding fourth level signal, and sending the fourth level signal to the fourth module.

[0142] In this optional embodiment, optionally, the second level conversion protection circuit corresponds to the first level conversion protection circuit.

[0143] It can be seen that the implementation of this optional embodiment can provide a specific structure of an HDMI output module, which receives the first status information sent by the second external device through the above-mentioned HDMI output interface, and sends the first status information to the detection module, the second electrostatic protection circuit receives the second DC signal and the second overvoltage signal sent by the second external device, the second CEC level driving circuit receives the second backflow signal sent by the second external device, the second level conversion protection circuit receives the third level signal sent by the third module, and converts the third level signal into a corresponding fourth level signal, and sends the fourth level signal to the fourth module, which can further ensure the normal operation of the HDMI device from the HDMI output level, improve the flexibility and freedom of the firmware upgrade of the HDMI device, and can also further improve the application stability of the HDMI device and the stability of the HDMI interface transmission signal, and improve the stability of the HDMI firmware upgrade.

[0144] In this optional embodiment, as an optional implementation, Figure 8 As shown, the second electrostatic protection circuit 502 includes at least one second ESD5021, wherein:

[0145] A first end of the second ESD 5021 is electrically connected to a second end of the HDMI output interface 501 , and a second end of the second ESD 5021 is used to electrically connect to the firmware;

[0146] Optional, such as Fig. 9 As shown, the second CEC level driving circuit 503 includes a third diode 5031, a fourth diode 5032, a thirteenth resistor 5033, a fourteenth resistor 5034, a fifteenth resistor 5035, a sixteenth resistor 5036 and a seventeenth resistor 5037, wherein:

[0147] A first end of the thirteenth resistor 5033 is electrically connected to a third end of the HDMI output interface 501, a second end of the thirteenth resistor 5033 is electrically connected to a first end of the third diode 5031, a second end of the third diode 5031 is used to electrically connect to a second power source VCC_3V3, a first end of the fourteenth resistor 5034, a first end of the fifteenth resistor 5035, and a first end of the fourth diode 5032 are used to electrically connect to a third power source VCC_E2P, a second end of the fourteenth resistor 5034 is electrically connected to a first end of a sixteenth resistor 5036, and is used to electrically connect to a firmware, a second end of the fifteenth resistor 5035 is electrically connected to a first end of a seventeenth resistor 5037, and is used to electrically connect to a firmware, a second end of the fourth diode 5032, a second end of the sixteenth resistor 5036, and a second end of the seventeenth resistor 5037 are electrically connected to a third end of the HDMI output interface 501;

[0148] Optional, such as Fig.10As shown, the second HPD level conversion protection circuit 5041 includes an eighteenth resistor 50411, a nineteenth resistor 50412, a twentieth resistor 50413, a twenty-first resistor 50414, a twenty-second resistor 50415, a twenty-third resistor 50416, a twenty-fourth resistor 50417, a second triode 50418 and a third triode 50419, wherein:

[0149] The first end of the eighteenth resistor 50411 is electrically connected to the first end of the nineteenth resistor 50412 and is used to electrically connect the firmware. The second end of the nineteenth resistor 50412 is used to ground. The second end of the eighteenth resistor 50411 is electrically connected to the first end of the second triode 50418. The second end of the second triode 50418 is electrically connected to the first end of the twentieth resistor 50413 and is used to electrically connect the fourth power supply VCC_5V0. The third end of the second triode 50418 is electrically connected to the first end of the twenty-first resistor 50414. The second end of the twentieth resistor 50413 is electrically connected to the fourth power supply VCC_5V0. The second end of the twenty-first resistor 50414 and the first end of the third transistor 50419, the second end of the third transistor 50419 is electrically connected to the first end of the twenty-second resistor 50415, the third end of the third transistor 50419 is electrically connected to the first end of the twenty-third resistor 50416 and is used for grounding, the second end of the twenty-second resistor 50415 is electrically connected to the second end of the twenty-third resistor 50416, the first end of the twenty-fourth resistor 50417 and the fourth end of the HDMI output interface 501, and the second end of the twenty-fourth resistor 50417 is used to electrically connect the firmware.

[0150] It can be seen that the implementation of this optional embodiment can disclose the structure of a specific HDMI output interface, a second electrostatic protection circuit, a second CEC level driving circuit and a second HPD level conversion protection circuit, which can further improve the scientificity, operational stability and feasibility of the HDMI output module.

[0151] Embodiment 2

[0152] See also Fig.13 , Fig.13 : is a flowchart of an HDMI firmware upgrade method disclosed in an embodiment of the present invention. Fig.13 The described HDMI firmware upgrade method can be applied to HDMI devices, and the HDMI devices include the HDMI firmware upgrade circuit described in the first embodiment of the present invention, and the HDMI devices include at least one firmware, which can be a module in the HDMI built-in chip or an independent module embedded in the HDMI device, which is not specifically limited in the embodiment of the present invention. Fig.13 As shown, the HDMI firmware upgrade method may include the following operations:

[0153] 1301. Detect a target signal sent by an external device, where the target signal includes first firmware information of firmware to be upgraded among all firmwares and first status information of the external device;

[0154] 1302. Determine, according to the target signal, whether the firmware to be upgraded meets a preset firmware upgrade condition;

[0155] 1303. When it is determined that the firmware to be upgraded meets the preset firmware upgrade condition, a firmware upgrade link is generated according to the target signal. The firmware upgrade link is a communication link between the firmware to be upgraded and the external device, so that the external device performs a corresponding firmware upgrade operation on the firmware to be upgraded.

[0156] In the embodiment of the present invention, optionally, the above steps 1301 to 1303 further specifically include specific operations of each module in the HDMI firmware upgrade circuit described in the first embodiment of the present invention.

[0157] It can be seen that the implementation of the embodiment of the present invention can detect the first firmware information of the firmware to be upgraded in all the firmware of the HDMI device sent by the external device and the first status information of the external device, and judge whether the firmware to be upgraded meets the preset firmware upgrade condition according to the target signal, so that when it is judged that the firmware to be upgraded meets the preset firmware upgrade condition, a firmware upgrade link is generated according to the target signal, so that the external device performs the corresponding firmware upgrade operation on the firmware to be upgraded, avoids the disassembly operation of the HDMI firmware upgrade, reduces the complexity of the HDMI firmware upgrade, and improves the convenience of the HDMI firmware upgrade. At the same time, when the HDMI device is working normally, the firmware upgrade can be performed for the firmware to be upgraded that does not participate in the signal transmission of the HDMI device, or the cross firmware upgrade can be performed by using the operation gap, which can further improve the flexibility and convenience of the HDMI firmware upgrade.

[0158] Embodiment 3

[0159] An embodiment of the present invention discloses a switch, which includes a switch body. The switch also includes the HDMI firmware upgrade circuit described in the first embodiment of the present invention.

[0160] The above is a detailed introduction to an HDMI firmware upgrade circuit, method and switch disclosed in an embodiment of the present invention. The principle and implementation mode of the present invention are described in detail using specific embodiments. However, the above preferred embodiments are not intended to limit the present invention. The description of the above embodiments is only used to help understand the method and core idea of ​​the present invention. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there may be changes in the specific implementation mode and application scope without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be based on the scope defined in the claims.

Claims

1. An HDMI firmware upgrade circuit, wherein the HDMI firmware upgrade circuit is applied to an HDMI device, wherein the HDMI device includes at least one firmware, It is characterized in that The HDMI firmware upgrade circuit comprises a detection module (10), a judgment module (20) and a generation module (30), wherein: The first end of the detection module (10) is used to electrically connect to an external device, the second end of the detection module (10) is electrically connected to the first end of the judgment module (20), the second end of the judgment module (20) is electrically connected to the first end of the generation module (30), and the second end of the generation module (30) is used to electrically connect to the firmware; The detection module (10) is used to detect a target signal sent by the external device, wherein the target signal includes first firmware information of the firmware to be upgraded in all the firmware and first status information of the external device; The judgment module (20) is used to judge whether the firmware to be upgraded meets a preset firmware upgrade condition according to the target signal; The generating module (30) is used to receive the judgment result sent by the judging module (20), and when the judgment result is that the firmware to be upgraded meets the preset firmware upgrade condition, generate a firmware upgrade link according to the target signal, wherein the firmware upgrade link is a communication link between the firmware to be upgraded and the external device, so that the external device performs a corresponding firmware upgrade operation on the firmware to be upgraded.

2. The HDMI firmware upgrade circuit according to claim 1, It is characterized in that The judgment module (20) comprises a receiving submodule (201), an analyzing submodule (202) and a judgment submodule (203), wherein: The first end of the receiving submodule (201) is electrically connected to the second end of the detection module (10), the second end of the receiving submodule (201) is electrically connected to the first end of the analysis submodule (202) and the first end of the judgment submodule (203), the second end of the analysis submodule (202) is electrically connected to the second end of the judgment submodule (203), and the third end of the judgment submodule (203) is electrically connected to the first end of the generation module (30); The receiving submodule (201) is used to receive the first firmware information and the first status information detected by the detection module (10); The parsing submodule (202) is used to parse the first status information to obtain second status information, where the second status information is used to indicate the status of the HDMI device; The judgment submodule (203) is used to judge whether the firmware to be upgraded meets a preset firmware upgrade condition according to the first firmware information and the second status information.

3. The HDMI firmware upgrade circuit according to claim 2, It is characterized in that The judgment submodule (203) comprises a first judgment submodule (2031), a second judgment submodule (2032) and a determination submodule (2033), wherein: The first end of the first judgment submodule (2031) is electrically connected to the second end of the receiving submodule (201), the first end of the second judgment submodule (2032) is electrically connected to the second end of the analyzing submodule (202), the second end of the first judgment submodule (2031) and the second end of the second judgment submodule (2032) are electrically connected to the first end of the determining submodule (2033), and the second end of the determining submodule (2033) is electrically connected to the first end of the generating module (30); The first determination submodule (2031) is used to determine whether there is second firmware information matching the first firmware information in the preset firmware information set; The second determination submodule (2032) is used to determine whether the second state information matches the preset state information; The determination submodule (2033) is used to determine that the firmware to be upgraded meets the preset firmware upgrade condition when the first judgment submodule (2031) determines that the second firmware information exists in the preset firmware information set and the second judgment submodule (2032) determines that the second status information matches the preset status information.

4. The HDMI firmware upgrade circuit according to any one of claims 1 to 3, It is characterized in that The external device includes a first external device, and the HDMI firmware upgrade circuit also includes an HDMI input module (40), wherein: The first end of the HDMI input module (40) is used to electrically connect to the first external device, the second end of the HDMI input module (40) is electrically connected to the first end of the detection module (10), and the third end of the HDMI input module (40) is used to electrically connect to the firmware; The HDMI input module (40) is used to receive the first firmware information sent by the first external device, and send the first firmware information to the detection module (10); The HDMI input module (40) is further used to receive a first DC signal, a first overvoltage signal and a first backflow signal sent by the first external device; The HDMI input module (40) is further used to receive a first level signal sent by the first module, convert the first level signal into a corresponding second level signal, and send the second level signal to the second module; When the first module is the first external device, the second module is the firmware corresponding to the first level signal; when the first module is the firmware, the second module is the first external device.

5. The HDMI firmware upgrade circuit according to claim 4, It is characterized in that The external device further includes a second external device, and the HDMI firmware upgrade circuit further includes an HDMI output module (50), wherein: The first end of the HDMI output module (50) is used to electrically connect to the second external device, the second end of the HDMI output module (50) is electrically connected to the first end of the detection module (10), and the third end of the HDMI output module (50) is used to electrically connect to the firmware; The HDMI output module (50) is used to receive the first status information sent by the second external device, and send the first status information to the detection module (10); The HDMI output module (50) is further used to receive a second DC signal, a second overvoltage signal and a second backflow signal sent by the second external device; The HDMI output module (50) is further used to receive a third level signal sent by the third module, convert the third level signal into a corresponding fourth level signal, and send the fourth level signal to the fourth module; When the third module is the second external device, the fourth module is the firmware corresponding to the third level signal; when the third module is the firmware, the fourth module is the second external device.

6. The HDMI firmware upgrade circuit according to claim 4, It is characterized in that The HDMI input module (40) comprises an HDMI input interface (401), a first electrostatic protection circuit (402), a first CEC level driving circuit (403) and a first level conversion protection circuit (404), wherein the first level conversion protection circuit (404) comprises at least a first HPD level conversion protection circuit (4041), wherein: The first end of the HDMI input interface (401) is used to electrically connect to the first external device, the second end of the HDMI input interface (401) is electrically connected to the first end of the first electrostatic protection circuit (402), the third end of the HDMI input interface (401) is electrically connected to the first end of the first CEC level driving circuit (403), the fourth end of the HDMI input interface (401) is electrically connected to the first end of the first level conversion protection circuit (404), the fifth end of the HDMI input interface (401) is electrically connected to the first end of the detection module (10), and the second end of the first electrostatic protection circuit (402), the second end of the first CEC level driving circuit (403) and the second end of the first level conversion protection circuit (404) are used to electrically connect to the firmware; The HDMI input interface (401) is used to receive the first firmware information sent by the first external device, and send the first firmware information to the detection module (10); The first electrostatic protection circuit (402) is used to receive a first direct current signal and a first overvoltage signal sent by the first external device; The first CEC level driving circuit (403) is used to receive a first backflow signal sent by the first external device; The first level conversion protection circuit (404) is used for receiving the first level signal sent by the first module, converting the first level signal into a corresponding second level signal, and sending the second level signal to the second module.

7. The HDMI firmware upgrade circuit according to claim 6, It is characterized in that The first electrostatic protection circuit (402) includes at least one first ESD (4021), wherein: The first end of the first ESD (4021) is electrically connected to the second end of the HDMI input interface (401), and the second end of the first ESD (4021) is used to electrically connect to the firmware; And, the first CEC level driving circuit (403) includes a first diode (4031), a second diode (4032), a first resistor (4033), a second resistor (4034) and a third resistor (4035), wherein: The first end of the first resistor (4033), the first end of the second resistor (4034) and the first end of the third resistor (4035) are electrically connected to the third end of the HDMI input interface (401); the second end of the first resistor (4033) is electrically connected to the first end of the first diode (4031); the second end of the first diode (4031) is used to electrically connect to the firmware; the second end of the second resistor (4034) and the second end of the third resistor (4035) are electrically connected to the first end of the second diode (4032); and the second end of the second diode (4032) is used to electrically connect to the firmware; And, the first HPD level conversion protection circuit (4041) includes a fourth resistor (40411), a fifth resistor (40412), a sixth resistor (40413), a seventh resistor (40414), an eighth resistor (40415), a ninth resistor (40416), a tenth resistor (40417), an eleventh resistor (40418), a twelfth resistor (40419), a first MOS transistor (404110) and a first triode (404111), wherein: The first end of the fourth resistor (40411), the first end of the fifth resistor (40412), and the first end of the sixth resistor (40413) are electrically connected to the fourth end of the HDMI input interface (401); the second end of the fourth resistor (40411) is electrically connected to the first end of the first MOS transistor (404110); the second end of the first MOS transistor (404110) is electrically connected to the first end of the seventh resistor (40414), the first end of the eighth resistor (40415), and the first end of the ninth resistor (40416); the second end of the seventh resistor (40414) is used to electrically connect to the firmware; the second end of the eighth resistor (40415) is used to electrically connect to the first power supply VCC_5V0; the ninth resistor (40416) is used to electrically connect to the firmware; the second end of the eighth resistor (40415) is used to electrically connect to the first power supply VCC_5V0; the ninth resistor (40416) is used to electrically connect to the firmware; the second end of the eighth resistor (40415) is used to electrically connect to the first power supply VCC_5V0; the ninth resistor (40416) is used to electrically connect to the firmware; the first end of the eighth resistor (40415) is used to electrically connect to the first power supply VCC_5V0 ... The second end of the first MOS transistor (404110) is electrically connected to the third end of the first MOS transistor (404110) and the first end of the tenth resistor (40417), the second end of the tenth resistor (40417) is electrically connected to the first end of the first triode (404111), the second end of the first triode (404111) is electrically connected to the second end of the fifth resistor (40412) and the first end of the eleventh resistor (40418), and is used for grounding, the second end of the eleventh resistor (40418) is electrically connected to the third end of the first triode (404111) and the first end of the twelfth resistor (40419), the second end of the twelfth resistor (40419) and the second end of the sixth resistor (40413) are used for electrically connecting to the firmware.

8. The HDMI firmware upgrade circuit according to claim 5, It is characterized in that The HDMI output module (50) comprises an HDMI output interface (501), a second electrostatic protection circuit (502), a second CEC level driving circuit (503) and a second level conversion protection circuit (504), wherein the second level conversion protection circuit (504) at least comprises a second HPD level conversion protection circuit (5041), wherein: The first end of the HDMI output interface (501) is used to electrically connect to the second external device, the second end of the HDMI output interface (501) is electrically connected to the first end of the second electrostatic protection circuit (502), the third end of the HDMI output interface (501) is electrically connected to the first end of the second CEC level driving circuit (503), the fourth end of the HDMI output interface (501) is electrically connected to the first end of the second level conversion protection circuit (504), the fifth end of the HDMI output interface (501) is electrically connected to the first end of the detection module (10), and the second end of the second electrostatic protection circuit (502), the second end of the second CEC level driving circuit (503) and the second end of the second level conversion protection circuit (504) are used to electrically connect to the firmware; The HDMI output interface (501) is used to receive the first status information sent by the second external device, and send the first status information to the detection module (10); The second electrostatic protection circuit (502) is used to receive the second DC signal and the second overvoltage signal sent by the second external device; The second CEC level driving circuit (503) is used to receive a second backflow signal sent by the second external device; The second level conversion protection circuit (504) is used for receiving the third level signal sent by the third module, converting the third level signal into the corresponding fourth level signal, and sending the fourth level signal to the fourth module.

9. The HDMI firmware upgrade circuit according to claim 8, It is characterized in that The second electrostatic protection circuit (502) comprises at least one second ESD (5021), wherein: The first end of the second ESD (5021) is electrically connected to the second end of the HDMI output interface (501), and the second end of the second ESD (5021) is used to electrically connect to the firmware; And, the second CEC level driving circuit (503) includes a third diode (5031), a fourth diode (5032), a thirteenth resistor (5033), a fourteenth resistor (5034), a fifteenth resistor (5035), a sixteenth resistor (5036) and a seventeenth resistor (5037), wherein: The first end of the thirteenth resistor (5033) is electrically connected to the third end of the HDMI output interface (501), the second end of the thirteenth resistor (5033) is electrically connected to the first end of the third diode (5031), the second end of the third diode (5031) is used to electrically connect to the second power supply VCC_3V3, the first end of the fourteenth resistor (5034), the first end of the fifteenth resistor (5035) and the first end of the fourth diode (5032) are used to electrically connect to the third power supply VCC_E2P, the second end of the fourteenth resistor (5034) is electrically connected to the first end of the sixteenth resistor (5036) and is used to electrically connect to the firmware, the second end of the fifteenth resistor (5035) is electrically connected to the first end of the seventeenth resistor (5037) and is used to electrically connect to the firmware, the second end of the fourth diode (5032), the second end of the sixteenth resistor (5036) and the second end of the seventeenth resistor (5037) are electrically connected to the third end of the HDMI output interface (501); And, the second HPD level conversion protection circuit (5041) includes an eighteenth resistor (50411), a nineteenth resistor (50412), a twentieth resistor (50413), a twenty-first resistor (50414), a twenty-second resistor (50415), a twenty-third resistor (50416), a twenty-fourth resistor (50417), a second triode (50418) and a third triode (50419), wherein: The first end of the eighteenth resistor (50411) is electrically connected to the first end of the nineteenth resistor (50412) and is used to electrically connect to the firmware; the second end of the nineteenth resistor (50412) is used to be grounded; the second end of the eighteenth resistor (50411) is electrically connected to the first end of the second triode (50418); the second end of the second triode (50418) is electrically connected to the first end of the twentieth resistor (50413) and is used to electrically connect to the fourth power supply VCC_5V0; the third end of the second triode (50418) is electrically connected to the first end of the twenty-first resistor (50414); the second end of the twentieth resistor (50413) is electrically connected to the fourth power supply VCC_5V0; The second end of the twenty-first resistor (50414) and the first end of the third triode (50419), the second end of the third triode (50419) is electrically connected to the first end of the twenty-second resistor (50415), the third end of the third triode (50419) is electrically connected to the first end of the twenty-third resistor (50416) and is used for grounding, the second end of the twenty-second resistor (50415) is electrically connected to the second end of the twenty-third resistor (50416), the first end of the twenty-fourth resistor (50417) and the fourth end of the HDMI output interface (501), and the second end of the twenty-fourth resistor (50417) is used to electrically connect to the firmware.

10. A HDMI firmware upgrade method, the HDMI firmware upgrade method being applied to an HDMI device, the HDMI device comprising at least one firmware, and the HDMI device comprising the HDMI firmware upgrade circuit according to any one of claims 1 to 9, It is characterized in that The method comprises: Detecting a target signal sent by an external device, wherein the target signal includes first firmware information of firmware to be upgraded in all the firmware and first status information of the external device; According to the target signal, it is determined whether the firmware to be upgraded meets the preset firmware upgrade conditions. When it is determined that the firmware to be upgraded meets the preset firmware upgrade conditions, a firmware upgrade link is generated according to the target signal. The firmware upgrade link is a communication link between the firmware to be upgraded and the external device, so that the external device performs corresponding firmware upgrade operations on the firmware to be upgraded.

11. A switch, comprising a switch body, It is characterized in that The switch also includes an HDMI firmware upgrade circuit as described in any one of claims 1-9.