Equipment port positioning circuit and method and electronic equipment

By designing the device port positioning circuit and combining signal transmission and control circuits, the rapid and accurate matching of the device port and the serial port number is achieved, solving the problem of low matching efficiency and accuracy in the existing technology, and improving the external equipment Control accuracy and fault handling efficiency.

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

Patent Information

Application Number
CN202411060352.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-02
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In the prior art, the matching efficiency and accuracy of the device port and serial port number are low, resulting in errors that are prone to when computers control external devices. It requires manual operation to increase the port number and manually correspond, which is cumbersome and prone to errors.

Method used

Design a device port positioning circuit, including signal transmission circuit, control circuit and port indication circuit, transmit the port positioning control program when the device port is connected to the host, and receive the host's control instructions, generate matching instructions and control signals, and pass through the port The indicator circuit controls the indicator unit to perform operations to achieve fast and accurate port positioning.

Benefits of technology

It improves the matching efficiency and accuracy of the equipment port and serial port number, simplifies the port positioning process, enhances the control accuracy of external equipment, the timeliness of fault positioning and maintenance, and improves system reliability and operation stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119166553A_ABST
    Figure CN119166553A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computer equipment, and discloses an equipment port positioning circuit and method and electronic device.The circuit comprises a signal transmission circuit, a control circuit and a port indicating circuit; a port positioning control program burnt by the control circuit is transmitted to the host through the signal transmission circuit, and a control instruction about a target serial port number triggered by the host based on the program is received through the signal transmission circuit and transmitted to the control circuit. The control circuit generates an indication control signal matched with the target serial port number and transmits the indication control signal to the port indication circuit, and then the port indication circuit controls an indication unit corresponding to the target port to execute indication operation corresponding to the indication control signal, so that the port matched with the target serial port number is positioned. Therefore, the matching efficiency and the matching accuracy of the equipment port and the serial port number can be improved, so that the positioning efficiency and the positioning accuracy of the equipment port are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer equipment, and in particular to a device port positioning circuit, method and electronic equipment. Background Art

[0002] In the prior art, a one-to-many expansion device (for example, USB (Universal Serial Bus) one-to-many product, PCI (Peripheral Component Interconnect) one-to-many product) can provide multiple expansion ports to connect multiple external devices to a computer through one device port, thereby realizing the function of expanding the number of computer ports.

[0003] In actual applications, if it is necessary to locate an external device corresponding to a certain serial port, it is usually achieved by manually adding a port number outside the expansion port, and then manually matching the port number with the port serial number recognized by the computer. However, the above-mentioned manual port positioning method is relatively cumbersome and prone to errors, which can easily lead to errors when the subsequent computer controls the external device to perform operations. Therefore, it is particularly important to propose a technical solution that can improve the matching efficiency and matching accuracy between the device port and the serial port number, thereby improving the positioning efficiency and positioning accuracy of the device port, so as to efficiently and accurately control the external device to perform operations. Summary of the invention

[0004] The present invention provides a device port positioning circuit, method and electronic device, which can improve the matching efficiency and matching accuracy between the device port and the serial port number, thereby improving the positioning efficiency and positioning accuracy of the device port, which is conducive to efficiently and accurately controlling the external device to perform operations.

[0005] In order to solve the above technical problems, the first aspect of the present invention discloses a device port locating circuit, which is applied to an electronic device having at least two target ports. The device port locating circuit includes a signal transmission circuit, a control circuit and a port indication circuit, wherein:

[0006] The first end of the signal transmission circuit is used to electrically connect to the host, the second end of the signal transmission circuit is electrically connected to the first end of the control circuit, the second end of the control circuit is electrically connected to the first end of the port indication circuit, and the second end of the port indication circuit is used to electrically connect to at least one external device;

[0007] The signal transmission circuit is used to transmit the port location control program burned by the control circuit to the host when detecting that the device port location circuit is connected to the host; and receive a control instruction about a target serial port number triggered by the port location control program after the host installs the port location control program, and transmit the control instruction to the control circuit; the target serial port number is the serial port number of one of the serial ports managed by the host;

[0008] The control circuit is used to generate an indication control signal matching the target serial port number according to the received control instruction, and transmit the indication control signal to the port indication circuit;

[0009] The port indication circuit is used to receive the indication control signal and control the indication unit corresponding to the target port of the port indication circuit to perform the indication operation corresponding to the indication control signal to locate the target port; the target port is the port in the port indication circuit that matches the target serial port number.

[0010] As an optional implementation, in the first aspect of the present invention, the control circuit includes a main control module and a storage module, wherein:

[0011] The first signal end of the main control module is electrically connected to the second end of the signal transmission circuit, the second signal end of the main control module is used to electrically connect to the storage module, the third signal end of the main control module is electrically connected to the first signal end of the port indication circuit, the control end of the main control module is electrically connected to the control end of the port indication circuit, and the second signal end of the port indication circuit is used to electrically connect to all the external devices.

[0012] As an optional implementation, in the first aspect of the present invention, the control circuit further includes a power configuration module, wherein:

[0013] The first end of the power configuration module is electrically connected to the first power end of the main control module, the second end of the power configuration module is electrically connected to the second power end of the main control module, the third end of the power configuration module is electrically connected to the I / O power end of the main control module, and the fourth end of the power configuration module is used to electrically connect to an external power supply;

[0014] Wherein, the first power supply end of the main control module is used to electrically connect to a first power supply.

[0015] As an optional implementation, in the first aspect of the present invention, the control circuit further includes a clock module, wherein:

[0016] The first end of the clock module is electrically connected to the oscillation input end of the main control module, the second end of the clock module is electrically connected to the oscillation output end of the main control module, and the grounding end of the clock module is used for grounding.

[0017] As an optional implementation, in the first aspect of the present invention, the port indication circuit includes at least one port indication sub-circuit, wherein:

[0018] The first signal end of each of the port indication subcircuits is electrically connected to the third signal end of the main control module, the second signal end of each of the port indication subcircuits is used to electrically connect to one of the external devices, the control end of each of the port indication subcircuits is electrically connected to the control end of the main control module, and the I / O power supply end of each of the port indication subcircuits is electrically connected to the I / O power supply end of the main control module.

[0019] As an optional implementation, in the first aspect of the present invention, each of the port indication subcircuits includes a port and a positioning indication module matching the port, wherein:

[0020] The first signal end of each of the ports is electrically connected to the third signal end of the main control module, and the second signal end of each of the ports is used to electrically connect to one of the external devices;

[0021] The control end of each positioning indication module is electrically connected to the control end of the main control module; the I / O power supply end of each positioning indication module is electrically connected to the I / O power supply end of the main control module.

[0022] As an optional implementation, in the first aspect of the present invention, each of the positioning indication modules includes at least one indication unit, each of the indication units is a receiving indication unit or a sending indication unit, wherein:

[0023] When the indication unit included in any of the positioning indication modules includes the receiving indication unit, the control end of the positioning indication module is electrically connected to the control end of the main control module, specifically comprising: the receiving control end of the positioning indication module is electrically connected to the receiving control end of the main control module;

[0024] When the indication unit included in any of the positioning indication modules includes the sending indication unit, the control end of the positioning indication module is electrically connected to the control end of the main control module specifically includes: the sending control end of the positioning indication module is electrically connected to the sending control end of the main control module.

[0025] As an optional implementation, in the first aspect of the present invention, each of the ports includes a transceiver unit and a connection unit matching the transceiver unit, wherein:

[0026] The first signal end of each transceiver unit is electrically connected to the third signal end of the main control module, the second signal end of each transceiver unit is electrically connected to the first end of the matching connection unit, the power end of each transceiver unit is used to electrically connect to the first power supply, the second end of each connection unit is used to electrically connect to one of the external devices, and the ground end of each transceiver unit and the ground end of each connection unit are used for grounding.

[0027] The second aspect of the present invention discloses a device port locating method, the method is applied to a device port locating circuit, the device port locating circuit is applied to an electronic device having at least two target ports, the device port locating circuit comprises a signal transmission circuit, a control circuit and a port indication circuit, wherein:

[0028] The first end of the signal transmission circuit is used to electrically connect to the host, the second end of the signal transmission circuit is electrically connected to the first end of the control circuit, the second end of the control circuit is electrically connected to the first end of the port indication circuit, and the second end of the port indication circuit is used to electrically connect to at least one external device;

[0029] The method comprises:

[0030] The signal transmission circuit transmits the port location control program burned by the control circuit to the host when detecting that the device port location circuit is connected to the host; and receives a control instruction about a target serial port number triggered by the port location control program after the host installs the port location control program, and transmits the control instruction to the control circuit; the target serial port number is the serial port number of one of the serial ports managed by the host;

[0031] The control circuit generates an indication control signal matching the target serial port number according to the received control instruction, and transmits the indication control signal to the port indication circuit;

[0032] The port indication circuit receives the indication control signal, and controls the indication unit corresponding to the target port of the port indication circuit to perform the indication operation corresponding to the indication control signal, so as to locate the target port; the target port is the port in the port indication circuit that matches the target serial port number.

[0033] A third aspect of the present invention discloses an electronic device, which includes a device body and a device port positioning circuit as disclosed in any one of the first aspects.

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

[0035] The present invention provides a device port locating circuit, which includes a signal transmission circuit, a control circuit and a port indication circuit. When the device port locating circuit described in the present invention is implemented, the device port locating circuit can transmit a port locating control program burned by the control circuit to the host through the signal transmission circuit when the circuit is connected to the host, and receive a control instruction about a target serial port number triggered by the host based on the above program through the signal transmission circuit and transmit the control instruction to the control circuit, and then generate an indication control signal matching the target serial port number according to the control instruction through the control circuit and transmit the signal to the port indication circuit, so as to control the indication unit corresponding to the target port to perform a corresponding indication operation through the port indication circuit, so as to realize the positioning of the target port, and can adopt By combining hardware and software, the indication status of the indication unit can be used to quickly and accurately locate the port corresponding to the port serial port number in multiple expansion ports, thereby improving the matching efficiency and matching accuracy between the device port and the serial port number, and further improving the positioning efficiency and positioning accuracy of the device port, and can further locate the external device corresponding to the port serial port number based on the above-mentioned correspondence between the port and the serial port number, thereby improving the matching efficiency and matching accuracy between the port serial port number, the port and the device, which is conducive to efficiently and accurately controlling the external device to perform operations, and is conducive to quickly and accurately locating the faulty device when the external device fails, thereby facilitating the timeliness of replacing, eliminating or repairing the faulty equipment, and thereby facilitating improving the system reliability and operation stability. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] 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.

[0037] Figure 1 It is a structural schematic diagram of a device port positioning circuit disclosed in an embodiment of the present invention;

[0038] Figure 2 It is a structural schematic diagram of a signal transmission circuit disclosed in an embodiment of the present invention;

[0039] Figure 3 It is a structural schematic diagram of another device port positioning circuit disclosed in an embodiment of the present invention;

[0040] Figure 4 It is a structural schematic diagram of a main control module disclosed in an embodiment of the present invention;

[0041] Figure 5 is a structural schematic diagram of a power configuration module disclosed in an embodiment of the present invention;

[0042] Figure 6 is a structural schematic diagram of a filtering module disclosed in an embodiment of the present invention;

[0043] Figure 7 It is a structural schematic diagram of a clock module disclosed in an embodiment of the present invention;

[0044] Figure 8 It is a structural schematic diagram of a burning module disclosed in an embodiment of the present invention;

[0045] Fig. 9 It is a structural schematic diagram of another device port positioning circuit disclosed in an embodiment of the present invention;

[0046] Fig.10 It is a structural schematic diagram of a positioning indication module disclosed in an embodiment of the present invention;

[0047] Fig.11 It is a structural schematic diagram of a port disclosed in an embodiment of the present invention;

[0048] Fig.12 It is a structural schematic diagram of another port disclosed in an embodiment of the present invention;

[0049] Fig.13 is a structural schematic diagram of another port disclosed in an embodiment of the present invention;

[0050] Fig.14 is a structural schematic diagram of another port disclosed in an embodiment of the present invention;

[0051] Fig.15 It is a structural schematic diagram of another device port positioning circuit disclosed in an embodiment of the present invention;

[0052] Fig.16 It is a structural schematic diagram of another device port positioning circuit disclosed in an embodiment of the present invention;

[0053] Fig.17 It is a flow chart of a device port positioning method disclosed in an embodiment of the present invention;

[0054] Fig.18 It is a structural schematic diagram of an electronic device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0055] 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.

[0056] 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.

[0057] Embodiment 1

[0058] See also Figure 1 , Figure 1 It is a schematic diagram of the structure of a device port locating circuit disclosed in an embodiment of the present invention. The circuit can be applied to an expansion device. Further, the expansion device can include a USB (Universal Serial Bus) expansion device, a PCI (Peripheral Component Interconnect) expansion device, a PCIe (Peripheral Component Interconnect express) expansion device and a combined expansion device. The embodiment of the present invention does not limit this. The device port locating circuit can also be applied to electronic devices with at least two target ports. Figure 1 As shown, the device port positioning circuit 10 may include a signal transmission circuit 101, a control circuit 102 and a port indication circuit 103, wherein:

[0059] The first end of the signal transmission circuit 101 is used to electrically connect to the host, the second end of the signal transmission circuit 101 is electrically connected to the first end of the control circuit 102, the second end of the control circuit 102 is electrically connected to the first end of the port indication circuit 103, and the second end of the port indication circuit 103 is used to electrically connect to at least one external device;

[0060] The signal transmission circuit 101 is used to transmit the port location control program burned by the control circuit 102 to the host when it is detected that the device port location circuit 10 is connected to the host; and receive the control instruction about the target serial port number triggered by the port location control program after the host installs the port location control program, and transmit the control instruction to the control circuit 102; the target serial port number is the serial port number of one of the serial ports managed by the host;

[0061] The control circuit 102 is used to generate an indication control signal matching the target serial port number according to the received control instruction, and transmit the indication control signal to the port indication circuit 103;

[0062] The port indication circuit 103 is used to receive the indication control signal and control the indication unit corresponding to the target port of the port indication circuit 103 to perform the indication operation corresponding to the indication control signal to locate the target port; the target port is the port in the port indication circuit 103 that matches the target serial port number.

[0063] Among them, the host can be any computer; further, after the signal transmission circuit 10 transmits the port positioning control program to the host and the host installs the program, the host will trigger and display the interactive interface corresponding to the program, and the interactive interface includes multiple buttons, and each button is used to indicate the corresponding serial port number of one of the ports managed by the host. When it is detected that the user selects the button corresponding to one of the port serial port numbers (that is, selects the target serial port number for port positioning), the host generates a control instruction about the target serial port number.

[0064] Among them, the ports in the port indication circuit 103 can be used as downstream ports; further optionally, each downstream port can be used to connect an external device of RS232 / RS485 / RS422 / TTL protocol, and can also be used to connect other types of external devices, which is not limited in the embodiment of the present invention. Optionally, the ports in the port indication circuit 103 can correspond to port numbers, and further optionally, the port numbers can be marked at the ports, or can be stored in the control circuit 102, which is not limited in the embodiment of the present invention.

[0065] Among them, when the indication control signal received by any indication unit in the port indication circuit 103 is at a high level, the indication operation performed by the indication unit may be a flashing operation or a long-light operation, which is not limited in the embodiment of the present invention. The indication operation corresponding to the high-level indication control signal is used to indicate to the user that the port corresponding to the indication unit is the target port corresponding to the target serial port number; when the indication control signal received by any indication unit in the port indication circuit 103 is at a low level, the indication operation performed by the indication unit may be an extinguishing operation or a long-light operation, which is not limited in the embodiment of the present invention; optionally, the indication operation in the above-mentioned different situations may also be other pre-set indication operations, which is not limited in the embodiment of the present invention.

[0066] It can be seen that the device port locating circuit described in the embodiment of the present invention can transmit the port locating control program burned by the control circuit to the host through the signal transmission circuit when the circuit is connected to the host, and receive the control instruction about the target serial port number triggered by the host based on the above program through the signal transmission circuit and transmit the control instruction to the control circuit, and then generate an indication control signal matching the target serial port number according to the control instruction through the control circuit and transmit the signal to the port indication circuit, so as to control the indication unit corresponding to the target port to perform the corresponding indication operation through the port indication circuit, so as to realize the positioning of the target port, and can adopt a combination of hardware and software, through the indication of the indication unit The status is displayed, and the port corresponding to the port serial port number is quickly and accurately located in multiple expansion ports, thereby improving the matching efficiency and matching accuracy between the device port and the serial port number, and further improving the positioning efficiency and positioning accuracy of the device port, and can further locate the external device corresponding to the port serial port number based on the corresponding relationship between the port and the serial port number, thereby improving the matching efficiency and matching accuracy between the port serial port number, the port and the device, which is conducive to efficiently and accurately controlling the external device to perform operations, and is conducive to quickly and accurately locating the faulty device when the external device fails, thereby facilitating the timeliness of replacing, eliminating or repairing the faulty device, and thereby facilitating improving the system reliability and operation stability.

[0067] In an optional embodiment, the signal transmission circuit 101 may include a USB interface USB1, such as Figure 2 As shown, Figure 2 is a schematic diagram of a structure of a signal transmission circuit disclosed in an embodiment of the present invention, wherein:

[0068] The interface end of the USB interface USB1 is used to electrically connect to the host, the power end of the USB interface USB1 is used to electrically connect to the first power supply, the signal end of the USB interface USB1 is electrically connected to the first end of the control circuit 102, and the ground end of the USB interface USB1 is used for grounding.

[0069] In this optional embodiment, optionally, the signal transmission circuit 101 may also include a first inductor L1, a second inductor L2 and a first capacitor C32, wherein: one end of the first inductor L1 is electrically connected to the power supply terminal of the USB interface USB1, the other end of the first inductor L1 is electrically connected to the first power supply and one end of the first capacitor C32 respectively, the other end of the first capacitor C32 is used for grounding, one end of the second inductor L2 is electrically connected to the ground terminal of the USB interface USB1, and the other end of the second inductor L2 is used for grounding.

[0070] Wherein, the USB interface USB1 is used as an upstream port; and Figure 2 As shown, the signal end of the USB interface USB1 may include a DM signal end and a DP signal end; and the other electronic components included in the signal transmission circuit, the connection relationship between the electronic components included therein, and the connection relationship between the included electronic components and other circuit structures are specifically referred to in Figure 2 .

[0071] It can be seen that this optional embodiment can realize efficient and convenient transmission of corresponding data, programs and signals by setting a USB interface in the signal transmission circuit, which can be beneficial to improving the convenience of connecting the device port positioning circuit with the host, as well as improving signal transmission efficiency and signal transmission reliability.

[0072] In an optional embodiment, the control circuit 102 may include a main control module 1021 and a storage module 1022. Figure 3 As shown, Figure 3 : is a schematic diagram of the structure of another device port positioning circuit disclosed in an embodiment of the present invention, wherein:

[0073] The first signal end of the main control module 1021 is electrically connected to the second end of the signal transmission circuit 101, the second signal end of the main control module 1021 is used to electrically connect to the storage module 1022, the third signal end of the main control module 1021 is electrically connected to the first signal end of the port indication circuit 103, the control end of the main control module 1021 is electrically connected to the control end of the port indication circuit 103, and the second signal end of the port indication circuit 103 is used to electrically connect to all external devices.

[0074] Among them, the main control module 1021 is used to receive the above control instructions, and generate an indication control signal matching the target serial port number according to the control instructions, and transmit the indication control signal to the port indication circuit 103; the storage module 1022 is used to store the pre-burned port positioning control program.

[0075] Optional, such as Figure 4 As shown, Figure 41 is a schematic diagram of the structure of a main control module disclosed in an embodiment of the present invention, wherein the main control module 1021 may include a main control chip U1, and may also include a reset resistor R12 and a reset capacitor C6, wherein: one end of the reset resistor R12 and one end of the reset capacitor C6 are electrically connected to the reset end of the main control chip U1 respectively, the other end of the reset resistor R12 is electrically connected to the I / O power supply end of the main control chip U1, and the other end of the reset capacitor C6 is used for grounding. The other electronic components included in the main control module 1021, the connection relationship between the electronic components included therein, and the connection relationship between the electronic components included therein and other circuit structures are specifically referred to Figure 4 .

[0076] Optionally, the storage module 1022 may also be integrated into the main control module 1021, which is not limited in the embodiment of the present invention.

[0077] It can be seen that this optional embodiment can analyze the control instructions and generate corresponding indication control signals by setting a main control module and a storage module in the control circuit, and realize the function of storing a pre-burned port positioning control program, which can improve the efficiency of transmitting the port positioning control program to the host, and improve the generation efficiency and accuracy of the indication control signal, thereby helping to improve the efficiency of the indication unit in performing the indication operation, and further helping to improve the positioning efficiency of the device port.

[0078] In this optional embodiment, optionally, as Figure 3 As shown, the control circuit 102 may further include a power configuration module 1023, wherein:

[0079] A first end of the power configuration module 1023 is electrically connected to a first power end of the main control module 1021, a second end of the power configuration module 1023 is electrically connected to a second power end of the main control module 1021, a third end of the power configuration module 1023 is electrically connected to an I / O power end of the main control module 1021, and a fourth end of the power configuration module 1023 is used to electrically connect to an external power supply.

[0080] The power configuration module may act as a jumper to configure the power voltage connected to the main control module 1021 .

[0081] The first power supply terminal of the main control module 1021 is used to electrically connect to a first power supply. Optionally, the power supply voltage of the first power supply may be 5V or other voltage values, which is not limited in the embodiment of the present invention.

[0082] The second power supply terminal of the main control module 1021 is used to electrically connect to a second power supply. Optionally, the power supply voltage of the second power supply may be 3.3V or other voltage values, which is not limited in the embodiment of the present invention.

[0083] Optionally, the main control module 1021 may be configured with multiple I / O power terminals, the power configuration module 1023 may include multiple power configuration sub-modules, and each I / O power terminal may be connected to a corresponding power configuration sub-module, which is not limited in the embodiment of the present invention; for example, Figure 5 As shown, Figure 5 1 is a schematic diagram of a power configuration module disclosed in an embodiment of the present invention. When the main control module 1021 is configured with 4 I / O power terminals, the power configuration module 1023 may include 4 power configuration submodules 10231-10234, wherein the power configuration submodule 10231 is taken as an example for description:

[0084] The power configuration submodule 10231 may include a first configuration resistor R1, a second configuration resistor R2 and a third configuration resistor R3, wherein: one end of the first configuration resistor R1 is electrically connected to the first power terminal of the main control module 1021, one end of the second configuration resistor R2 is electrically connected to the second power terminal of the main control module 1021, one end of the third configuration resistor R3 is used to electrically connect to an external power supply, and the other end of the first configuration resistor R1, the other end of the second configuration resistor R2 and the other end of the third configuration resistor R3 are respectively electrically connected to the first I / O power terminal of the main control module 1021.

[0085] By analogy, one end of the power configuration submodule 10232 is electrically connected to the second I / O power terminal of the main control module 1021, one end of the power configuration submodule 10233 is electrically connected to the third I / O power terminal of the main control module 1021, and one end of the power configuration submodule 10234 is electrically connected to the fourth I / O power terminal of the main control module 1021; and the other electronic components included in the power configuration submodule 10232, the power configuration submodule 10233 and the power configuration submodule 10234, the connection relationship between the electronic components included therein, and the connection relationship between the included electronic components and other circuit structures are specifically referred to. Figure 5 .

[0086] It can be seen that this optional embodiment can also realize flexible configuration of the power supply voltage connected to the control circuit by configuring a power supply configuration module for the control circuit, which is beneficial to improving the configuration flexibility of the power supply connected to the main control module, and is beneficial to improving the reliability and stability of the power supply connected to the main control module.

[0087] In this optional embodiment, the control circuit 102 may further include a filtering module, such as Figure 6 As shown, Figure 6: is a schematic diagram of the structure of a filter module disclosed in an embodiment of the present invention. The filter module may include a first filter capacitor C8, a second filter capacitor C9, a third filter capacitor C10, a fourth filter capacitor C11, a fifth filter capacitor C18 and a sixth filter capacitor C19, wherein:

[0088] One end of the first filter capacitor C8 is electrically connected to the first I / O power supply terminal of the main control module 1021, one end of the second filter capacitor C9 is electrically connected to the second I / O power supply terminal of the main control module 1021, one end of the third filter capacitor C10 is electrically connected to the third I / O power supply terminal of the main control module 1021, and one end of the fourth filter capacitor C11 is electrically connected to the fourth I / O power supply terminal of the main control module 1021; the other end of the first filter capacitor C8, the other end of the second filter capacitor C9, the other end of the third filter capacitor C10 and the other end of the fourth filter capacitor C11 are respectively used for grounding;

[0089] One end of the fifth filter capacitor C18 and one end of the sixth filter capacitor C19 are electrically connected to the second power supply terminal of the main control module 1021, and the other end of the fifth filter capacitor C18 and the other end of the sixth filter capacitor C19 are grounded.

[0090] It can be seen that this optional embodiment can also filter and decouple the power supply connected to the main control module by configuring a filter module for the control circuit, thereby improving the stability and reliability of the power supply connected to the main control module, which is beneficial to improving the stability of system operation.

[0091] In this optional embodiment, optionally, as Figure 3 As shown, the control circuit 102 may further include a clock module 1024, wherein:

[0092] A first end of the clock module 1024 is electrically connected to an oscillation input end of the main control module 1021 , a second end of the clock module 1024 is electrically connected to an oscillation output end of the main control module 1021 , and a ground end of the clock module 1024 is used for grounding.

[0093] The clock module 1024 is used to generate a clock signal required by the main control module 1021 .

[0094] Optional, such as Figure 7 As shown, Figure 7 1 is a schematic diagram of the structure of a clock module disclosed in an embodiment of the present invention. The clock module 1024 may include a crystal oscillator Y1, a first resistor R31, a second capacitor C4 and a third capacitor C7, wherein:

[0095] The first end of the crystal oscillator Y1 is electrically connected to the oscillation input end of the main control module 1021, one end of the first resistor R31, and one end of the third capacitor C7, respectively. The second end of the crystal oscillator Y1 is electrically connected to the oscillation output end of the main control module 1021, the other end of the first resistor R31, and one end of the second capacitor C4, respectively. The other end of the second capacitor C4 and the other end of the third capacitor C7 are used for grounding, respectively.

[0096] It can be seen that this optional embodiment can also provide the clock signal required for operation to the main control module by setting a clock module for the control circuit, thereby improving the accuracy of clock signal generation, which is beneficial to improving the operating stability of the main control module.

[0097] In this optional embodiment, optionally, as Figure 8 As shown, Figure 8 1 is a schematic diagram of a structure of a burning module disclosed in an embodiment of the present invention. The control circuit 102 may further include a burning module, and the burning module may include a burning connector J1, wherein:

[0098] The first end of the burning connector J1 is used to electrically connect to an external power supply, the second end of the burning connector J1 is used to ground, the third end of the burning connector J1 is electrically connected to the bus voltage detection end of the main control module 1021, and the fourth end of the burning connector J1 is electrically connected to the configuration end of the main control module 1021.

[0099] The burning connector J1 may be a connector with 4 pins, and the burning connector J1 may be used as a burning port for connecting a burning device and for burning data.

[0100] It can be seen that this optional embodiment can also improve the convenience of burning data in the control circuit by providing a burning module for the control circuit.

[0101] In this optional embodiment, optionally, as Figure 3 As shown, the port indication circuit 103 may include at least one port indication sub-circuit, wherein:

[0102] The first signal end of each port indication subcircuit is electrically connected to the third signal end of the main control module 1021, the second signal end of each port indication subcircuit is used to electrically connect to one of the external devices, the control end of each port indication subcircuit is electrically connected to the control end of the main control module 1021, and the I / O power end of each port indication subcircuit is electrically connected to the I / O power end of the main control module 1021.

[0103] The control end of the main control module 1021 may be a control bus of the main control module 1021 .

[0104] Among them, exemplary ones are Figure 3As shown, when the port indication circuit 103 includes 4 port indication sub-circuits, the port indication circuit 103 may include port indication sub-circuits 1031-1034, and the port indication sub-circuits 1031-1034 are respectively used to electrically connect to external devices 1-4; wherein, taking the port indication sub-circuit 1031 as an example, the first signal end of the port indication sub-circuit 1031 is electrically connected to the third signal end of the main control module 1021, the second signal end of the port indication sub-circuit 1031 is used to electrically connect to the external device 1, the control end of the port indication sub-circuit 1031 is electrically connected to the control end of the main control module 1021, and the I / O power end of the port indication sub-circuit 1031 is electrically connected to the first I / O power end of the main control module 1021.

[0105] It can be seen that this optional embodiment can also indicate one or more extended ports by setting at least one port indication sub-circuit for the port indication circuit, thereby facilitating rapid positioning of the target port among all extended ports through the indication operation and improving the port positioning efficiency.

[0106] In this optional embodiment, optionally, as Fig. 9 As shown, Fig. 9 : is a structural diagram of another device port positioning circuit disclosed in an embodiment of the present invention, each port indication subcircuit includes a port and a positioning indication module matching the port, wherein:

[0107] The first signal end of each port is electrically connected to the third signal end of the main control module 1021, and the second signal end of each port is used to electrically connect to one of the external devices.

[0108] The control end of each positioning indication module is electrically connected to the control end of the main control module 1021 ; the I / O power supply end of each positioning indication module is electrically connected to the I / O power supply end of the main control module 1021 .

[0109] It can be seen that this optional embodiment can also help the host to transmit signals and data to the external device connected to the port to control the operation of the external device, and match the positioning indication module to the port, which is beneficial to improve the indication accuracy of the positioning indication module, thereby helping to improve the positioning accuracy and positioning efficiency of the device port.

[0110] In this optional embodiment, optionally, each positioning indication module includes at least one indication unit, each indication unit is a receiving indication unit or a sending indication unit, wherein:

[0111] When the indication unit included in any positioning indication module includes a receiving indication unit, the control end of the positioning indication module is electrically connected to the control end of the main control module 1021, specifically including: the receiving control end of the positioning indication module is electrically connected to the receiving control end of the main control module 1021;

[0112] When the indication unit included in any positioning indication module includes a sending indication unit, the control end of the positioning indication module being electrically connected to the control end of the main control module 1021 specifically includes: the sending control end of the positioning indication module is electrically connected to the sending control end of the main control module 1021.

[0113] Optionally, the receiving indication unit may include a receiving indication diode, and the sending indication unit may include a sending indication diode, which is not limited in the embodiment of the present invention.

[0114] Optionally, when the port indication circuit 103 includes port indication sub-circuits 1031-1034, as shown in FIG. Fig.10 As shown, Fig.10 1 is a schematic diagram of the structure of a positioning indication module disclosed in an embodiment of the present invention, wherein the port indication subcircuit 1031 may include a positioning indication module 10312, the port indication subcircuit 1032 may include a positioning indication module 10322, the port indication subcircuit 1033 may include a positioning indication module 10332, and the port indication subcircuit 1034 may include a positioning indication module 10342; wherein, taking the positioning indication module 10312 as an example, when the positioning indication module 10312 includes a first receiving indication unit and a first sending indication unit, the positioning indication module 10312 includes a first sending indication diode LED_TX1, a first receiving indication diode LED_RX1, a first switch SW1, a second switch SW2, a second resistor R14, a third resistor R15, a fourth resistor R16, and a fifth resistor R17, wherein:

[0115] The positive electrode of the first sending indicator diode LED_TX1 is electrically connected to one end of the second resistor R14, the other end of one end of the second resistor R14 is electrically connected to the first I / O power supply end of the main control module 1021, the negative electrode of the first sending indicator diode LED_TX1 is electrically connected to the first sending control end of the main control module 1021 and one end of the first switch SW1, and the other end of the first switch SW1 is electrically connected to one end of the third resistor R15; the positive electrode of the first receiving indicator diode LED_RX1 is electrically connected to one end of the fourth resistor R16, the other end of one end of the fourth resistor R16 is electrically connected to the first I / O power supply end of the main control module 1021, the negative electrode of the first receiving indicator diode LED_RX1 is electrically connected to the first receiving control end of the main control module 1021 and one end of the second switch SW2, and the other end of the second switch SW2 is electrically connected to one end of the fifth resistor R17; the other end of the third resistor R15 and the other end of the fifth resistor R17 are respectively used for grounding.

[0116] Optionally, the first switch SW1 and the second switch SW2 may also be used for resetting, which is not limited in the embodiment of the present invention.

[0117] Also, other electronic components included in the positioning indication module 10322, the positioning indication module 10332, and the positioning indication module 10342, the connection relationship between the electronic components included therein, and the connection relationship between the included electronic components and other circuit structures are specifically referred to in Fig.10 .

[0118] It can be seen that this optional embodiment can also improve the flexibility of the positioning indication module in receiving corresponding indication control instructions by setting a sending indication unit and / or a receiving indication unit for the positioning indication module, thereby improving the indication flexibility of the positioning indication module, which is beneficial to improving the positioning efficiency of the device port.

[0119] In this optional embodiment, optionally, each port includes a transceiver unit and a connection unit matching the transceiver unit, wherein:

[0120] The first signal end of each transceiver unit is electrically connected to the third signal end of the main control module 1021, the second signal end of each transceiver unit is electrically connected to the first end of the matching connection unit, the power end of each transceiver unit is used to electrically connect to the first power supply, the second end of each connection unit is used to electrically connect to one of the external devices, and the ground end of each transceiver unit and the ground end of each connection unit are used for grounding.

[0121] Optionally, the transceiver unit may include a transceiver chip, and the connection unit may include a connector, which is not limited in the embodiment of the present invention.

[0122] Optionally, when the port indication circuit 103 includes port indication sub-circuits 1031-1034, taking the port indication sub-circuit 1031 as an example, the port indication sub-circuit 1031 includes a port 10311, such as Fig.11 As shown, Fig.11 1 is a schematic diagram of a structure of a port disclosed in an embodiment of the present invention, wherein the port 10311 includes a first transceiver unit 103111 and a first connection unit 103112, the first transceiver unit 103111 includes a first transceiver chip U2, the first connection unit 103112 includes a first connector P1, wherein: the first signal end of the first transceiver unit 103111 may include Fig.11 As shown in DSR0, TXD0, DTR0, CTS0, DCD0, SUSP_N, RI0, RTS0, RXD0, the second signal end of the first transceiver unit 103111 may include DCD-RC-0, DSR-RC-0, RXD-RC-0, RTS-TC-0, TXD-TC-0, CTS-RC-0, DTR-TC-0, RI-RC-0.

[0123] Also, other electronic components included in port 10311, the connection relationship between the electronic components included therein, and the connection relationship between the electronic components included therein and other circuit structures are specifically referred to in Fig.11 .

[0124] By analogy, the port 10321 may include a second transceiver unit 103211 and a second connection unit 103212, the port 10331 may include a third transceiver unit 103311 and a third connection unit 103312, and the port 10341 may include a fourth transceiver unit 103411 and a fourth connection unit 103412; wherein, the electronic components included in the ports 10321, 10331, and 10341, the connection relationship between the electronic components included therein, and the connection relationship between the electronic components included therein and other circuit structures are specifically referred to in Fig.12 , Fig.13 and Fig.14 , Figure 12-14 They are respectively schematic diagrams of the structure of another port disclosed in the embodiments of the present invention.

[0125] It can be seen that this optional embodiment can also improve the data transmission stability of the port and the connection stability between the port and the external device by providing each port with a transceiver unit and a connection unit matching the transceiver unit.

[0126] In an optional embodiment, if Fig.15 As shown, Fig.151 is a schematic diagram of the structure of another device port locating circuit disclosed in an embodiment of the present invention. The device port locating circuit 10 may further include a power supply circuit 104, wherein:

[0127] A first end of the power circuit 104 is electrically connected to a third end of the signal transmission circuit 101 , and a second end of the power circuit 104 is electrically connected to a third end of the control circuit 102 .

[0128] The power supply circuit 104 can be used as a first power supply to provide a first power supply voltage to the signal transmission circuit 101 and the control circuit 102 .

[0129] It can be seen that this optional embodiment can improve the power supply stability in the device port locating circuit by providing a power supply circuit for the device port locating circuit.

[0130] In the embodiment of the present invention, for example, Fig.16 As shown, Fig.16 is a schematic diagram of the structure of another device port positioning circuit disclosed in an embodiment of the present invention, wherein the device port positioning circuit 10 may include a signal transmission circuit 101 (including Fig.16 connector shown), control circuit 102 (including Fig.16 The main control module shown in FIG. 10 is the main control module and the storage module 1022, the port indication circuit 103 (including the port-1-port4 shown in FIG. 16, that is, the port and the LED-1-LED-4, that is, the indication unit), and the power supply circuit (including Fig.16 The power module shown), where the connector is used to connect the host ( Fig.16 PC shown), each port is used to connect an external device; and the connection relationship of the circuit structure included in the device port positioning circuit 10 is specifically referred to Fig.16 .

[0131] In an optional embodiment, the control circuit 102 is further used to perform a test indication operation on the indication unit corresponding to each port in the port indication circuit 103 according to the received test control instruction, and record the test result of each indication unit; when the test result of any indication unit is used to indicate that the indication unit performs the indication operation normally, the port corresponding to the indication unit is determined to be a normal port; when the test result of any indication unit is used to indicate that the indication unit is abnormal, the port corresponding to the indication unit is determined to be an abnormal port, and the user is prompted to check the external device connected to the abnormal port.

[0132] Further optionally, whether the external device corresponding to the port is normal can be determined by determining whether the port is normal.

[0133] It can be seen that this optional embodiment can detect whether the ports corresponding to the indication units are normal by performing test indication operations on the indication units corresponding to all ports, and can improve the efficiency of determining whether the ports are normal by controlling the indication units to perform test indication operations, thereby improving the troubleshooting efficiency of the devices corresponding to the ports.

[0134] In this optional embodiment, the control circuit 102 is optionally further used to count the number of abnormal ports and calculate the ratio of the number of abnormal ports in all ports as the abnormal port ratio; determine whether the abnormal port ratio is greater than or equal to the preset abnormal ratio, and when it is determined that the abnormal port ratio is greater than or equal to the preset abnormal ratio, determine that the control circuit 102 has a fault and the fault type; wherein the fault type may include at least one of a line fault, a control chip fault and a circuit connection fault.

[0135] It can be seen that this optional embodiment can also improve the troubleshooting efficiency of the device port locating circuit by counting the proportion of abnormal ports. When the proportion of abnormal ports is greater than or equal to the preset abnormal proportion, it can determine that there is a fault in the control circuit and determine the corresponding fault type, which is beneficial to improving the timeliness of fault handling, and further beneficial to improving the operating stability of the device port locating circuit.

[0136] Embodiment 2

[0137] See also Fig.17 , Fig.17 The embodiment of the present invention is disclosed Fig.17 1 is a flow chart of a device port positioning method disclosed in an embodiment of the present invention. Fig.17The described device port locating method can be applied to a device port locating circuit 10, and the device port locating circuit 10 may include a signal transmission circuit 101, a control circuit 102 and a port indication circuit 103; further, the device port locating circuit can be applied to an expansion device, and further, the expansion device may include a USB (Universal Serial Bus) expansion device, a PCI (Peripheral Component Interconnect) expansion device, a PCIe (Peripheral Component Interconnect express) expansion device and a combined expansion device, which is not limited in the embodiments of the present invention; the device port locating circuit can also be applied to an electronic device having at least two target ports; wherein: the first end of the signal transmission circuit 101 is used to electrically connect to the host, the second end of the signal transmission circuit 101 is electrically connected to the first end of the control circuit 102, the second end of the control circuit 102 is electrically connected to the first end of the port indication circuit 103, and the second end of the port indication circuit 103 is used to electrically connect to at least one external device. Fig.17 As shown, the device port locating method may include the following operations:

[0138] 201. When the signal transmission circuit detects that the device port positioning circuit is connected to the host, the signal transmission circuit transmits the port positioning control program burned by the control circuit to the host; and receives the control instruction about the target serial port number triggered by the port positioning control program through the port positioning control program after the host installs the port positioning control program, and transmits the control instruction to the control circuit.

[0139] In the embodiment of the present invention, the target serial port number is the serial port number of one of the serial ports managed by the host.

[0140] 202. The control circuit generates an indication control signal matching the target serial port number according to the received control instruction, and transmits the indication control signal to the port indication circuit.

[0141] 203. The port indication circuit receives the indication control signal, and controls the indication unit corresponding to the target port of the port indication circuit to perform an indication operation corresponding to the indication control signal, so as to locate the target port.

[0142] In the embodiment of the present invention, the target port is a port in the port indication circuit that matches the target serial port number.

[0143] It can be seen that the method described in the embodiment of the present invention can transmit the port positioning control program burned by the control circuit to the host through the signal transmission circuit when the circuit is connected to the host, and receive the control instruction about the target serial port number triggered by the host based on the above program through the signal transmission circuit and transmit the control instruction to the control circuit, and then generate an indication control signal matching the target serial port number according to the control instruction through the control circuit and transmit the signal to the port indication circuit, so as to control the indication unit corresponding to the target port to perform the corresponding indication operation through the port indication circuit, so as to realize the positioning of the target port, and can adopt a combination of hardware and software, through the indication state of the indication unit, Quickly and accurately locate the port corresponding to the port serial number among multiple expansion ports, thereby improving the matching efficiency and matching accuracy between the device port and the serial port number, and further improving the positioning efficiency and positioning accuracy of the device port, and can further locate the external device corresponding to the port serial port number based on the above-mentioned correspondence between the port and the serial port number, thereby improving the matching efficiency and matching accuracy between the port serial port number, the port and the device, which is conducive to efficiently and accurately controlling the external device to perform operations, and is conducive to quickly and accurately locating the faulty device when the external device fails, thereby facilitating the timeliness of replacing, eliminating or repairing the faulty equipment, and thereby facilitating improving the system reliability and operation stability.

[0144] In an optional embodiment, the method further includes the following operations:

[0145] After the signal transmission circuit transmits the port location control program to the host, the interactive interface corresponding to the program is triggered and displayed on the host. The interactive interface includes multiple port serial port numbers managed by the host. When it is detected that the user selects one of the port serial port numbers (that is, selects the target serial port number for port location), the host generates a control instruction regarding the target serial port number.

[0146] It can be seen that this optional embodiment can trigger the display of the program's interactive interface on the host after the circuit is connected to the host, and generate corresponding control instructions when it detects that the user selects one of the port serial port numbers, thereby improving the ease of use of the port positioning control program and improving the accuracy of determining the target serial port number and the transmission efficiency.

[0147] In an optional embodiment, the method may further include the following operations:

[0148] The control circuit performs a test indication operation on the indication unit corresponding to each port in the port indication circuit according to the received test control instruction, and records the test result of each indication unit;

[0149] When the test result of any indicating unit is used to indicate that the indicating unit performs the indicating operation normally, the control circuit determines the port corresponding to the indicating unit as a normal port;

[0150] When the test result of any indicating unit is used to indicate that the indicating unit is abnormal, the control circuit determines the port corresponding to the indicating unit as an abnormal port, and prompts the user to check the external device connected to the abnormal port.

[0151] It can be seen that this optional embodiment can detect whether the ports corresponding to the indication units are normal by performing test indication operations on the indication units corresponding to all ports, and can improve the efficiency of determining whether the ports are normal by controlling the indication units to perform test indication operations, thereby improving the troubleshooting efficiency of the devices corresponding to the ports.

[0152] In this optional embodiment, optionally, the method may further include the following operations:

[0153] The control circuit counts the number of abnormal ports and calculates the ratio of the number of abnormal ports to all ports as the abnormal port ratio;

[0154] The control circuit determines whether the abnormal port ratio is greater than or equal to the preset abnormal ratio;

[0155] When it is determined that the abnormal port ratio is greater than or equal to the preset abnormal ratio, the control circuit determines that there is a fault in the control circuit 102 and the fault type; wherein the fault type may include at least one of a line fault, a control chip fault and a circuit connection fault.

[0156] It can be seen that this optional embodiment can also improve the troubleshooting efficiency of the device port locating circuit by counting the proportion of abnormal ports. When the proportion of abnormal ports is greater than or equal to the preset abnormal proportion, it can determine that there is a fault in the control circuit and determine the corresponding fault type, which is beneficial to improving the timeliness of fault handling, and further beneficial to improving the operating stability of the device port locating circuit.

[0157] Embodiment 3

[0158] See also Fig.18 , Fig.18 1 is a schematic diagram of the structure of an electronic device disclosed in an embodiment of the present invention, and the electronic device includes a device port positioning circuit as described in any one of the embodiments. The functions that can be realized by the electronic device include but are not limited to matching the port serial number with the corresponding port to realize device port positioning. It should be noted that for a detailed description of the device port positioning circuit, please refer to the specific description of the relevant content in the embodiment 1, which will not be repeated in this embodiment.

[0159] It can be seen that the implementation Fig.18The electronic device described can transmit the port positioning control program burned by the control circuit to the host through the signal transmission circuit when the circuit is connected to the host, and receive the control instruction about the target serial port number triggered by the host based on the above program through the signal transmission circuit and transmit the control instruction to the control circuit, and then generate an indication control signal matching the target serial port number according to the control instruction through the control circuit and transmit the signal to the port indication circuit, so as to control the indication unit corresponding to the target port to perform the corresponding indication operation through the port indication circuit, so as to realize the positioning of the target port, and can adopt a combination of hardware and software, through the indication state of the indication unit, quickly and accurately. Accurately locate the port corresponding to the port serial port number among multiple expansion ports, thereby improving the matching efficiency and matching accuracy between the device port and the serial port number, and further improving the positioning efficiency and positioning accuracy of the device port, and can further locate the external device corresponding to the port serial port number based on the above-mentioned correspondence between the port and the serial port number, thereby improving the matching efficiency and matching accuracy between the port serial port number, the port and the device, which is conducive to efficiently and accurately controlling the external device to perform operations, and is conducive to quickly and accurately locating the faulty device when the external device fails, thereby facilitating the timeliness of replacing, eliminating or repairing the faulty equipment, and thereby facilitating improving the system reliability and operation stability.

[0160] The above is a detailed introduction to a device port positioning circuit, method and electronic device disclosed in an embodiment of the present invention. Specific embodiments are used in this article to illustrate the principles and implementation methods of the present invention, but the above preferred embodiments are not used to limit the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for a general technician in this field, based on the idea of ​​the present invention, there will be changes in the specific implementation method and application scope without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be based on the scope defined in the claims.

Claims

1. A device port locating circuit, the device port locating circuit is applied to an electronic device having at least two target ports, characterized in that: The device port positioning circuit includes a signal transmission circuit, a control circuit and a port indication circuit, wherein: The first end of the signal transmission circuit is used to electrically connect to the host, the second end of the signal transmission circuit is electrically connected to the first end of the control circuit, the second end of the control circuit is electrically connected to the first end of the port indication circuit, and the second end of the port indication circuit is used to electrically connect to at least one external device; The signal transmission circuit is used to transmit the port location control program burned by the control circuit to the host when detecting that the device port location circuit is connected to the host; and receive a control instruction about a target serial port number triggered by the port location control program after the host installs the port location control program, and transmit the control instruction to the control circuit; the target serial port number is the serial port number of one of the serial ports managed by the host; The control circuit is used to generate an indication control signal matching the target serial port number according to the received control instruction, and transmit the indication control signal to the port indication circuit; The port indication circuit is used to receive the indication control signal and control the indication unit corresponding to the target port of the port indication circuit to perform the indication operation corresponding to the indication control signal to locate the target port; the target port is the port in the port indication circuit that matches the target serial port number.

2. The device port positioning circuit according to claim 1, characterized in that: The control circuit includes a main control module and a storage module, wherein: The first signal end of the main control module is electrically connected to the second end of the signal transmission circuit, the second signal end of the main control module is used to electrically connect to the storage module, the third signal end of the main control module is electrically connected to the first signal end of the port indication circuit, the control end of the main control module is electrically connected to the control end of the port indication circuit, and the second signal end of the port indication circuit is used to electrically connect to all the external devices.

3. The device port positioning circuit according to claim 2, characterized in that: The control circuit also includes a power configuration module, wherein: The first end of the power configuration module is electrically connected to the first power end of the main control module, the second end of the power configuration module is electrically connected to the second power end of the main control module, the third end of the power configuration module is electrically connected to the I / O power end of the main control module, and the fourth end of the power configuration module is used to electrically connect to an external power supply; Wherein, the first power supply end of the main control module is used to electrically connect to a first power supply.

4. The device port positioning circuit according to claim 2, characterized in that: The control circuit also includes a clock module, wherein: The first end of the clock module is electrically connected to the oscillation input end of the main control module, the second end of the clock module is electrically connected to the oscillation output end of the main control module, and the grounding end of the clock module is used for grounding.

5. The device port positioning circuit according to any one of claims 2 to 4, characterized in that: The port indication circuit comprises at least one port indication subcircuit, wherein: The first signal end of each of the port indication subcircuits is electrically connected to the third signal end of the main control module, the second signal end of each of the port indication subcircuits is used to electrically connect to one of the external devices, the control end of each of the port indication subcircuits is electrically connected to the control end of the main control module, and the I / O power supply end of each of the port indication subcircuits is electrically connected to the I / O power supply end of the main control module.

6. The device port positioning circuit according to claim 5, characterized in that: Each of the port indication subcircuits comprises a port and a positioning indication module matching the port, wherein: The first signal end of each of the ports is electrically connected to the third signal end of the main control module, and the second signal end of each of the ports is used to electrically connect to one of the external devices; The control end of each positioning indication module is electrically connected to the control end of the main control module; the I / O power supply end of each positioning indication module is electrically connected to the I / O power supply end of the main control module.

7. The device port positioning circuit according to claim 6, characterized in that: Each of the positioning indication modules includes at least one indication unit, and each of the indication units is a receiving indication unit or a sending indication unit, wherein: When the indication unit included in any of the positioning indication modules includes the receiving indication unit, the control end of the positioning indication module is electrically connected to the control end of the main control module, specifically comprising: the receiving control end of the positioning indication module is electrically connected to the receiving control end of the main control module; When the indication unit included in any of the positioning indication modules includes the sending indication unit, the control end of the positioning indication module is electrically connected to the control end of the main control module specifically includes: the sending control end of the positioning indication module is electrically connected to the sending control end of the main control module.

8. The device port positioning circuit according to claim 6, characterized in that: Each of the ports includes a transceiver unit and a connection unit matching the transceiver unit, wherein: The first signal end of each transceiver unit is electrically connected to the third signal end of the main control module, the second signal end of each transceiver unit is electrically connected to the first end of the matching connection unit, the power end of each transceiver unit is used to electrically connect to the first power supply, the second end of each connection unit is used to electrically connect to one of the external devices, and the ground end of each transceiver unit and the ground end of each connection unit are used for grounding.

9. A device port positioning method, characterized in that: The method is applied to a device port locating circuit, which is applied to an electronic device having at least two target ports. The device port locating circuit includes a signal transmission circuit, a control circuit and a port indication circuit, wherein: The first end of the signal transmission circuit is used to electrically connect to the host, the second end of the signal transmission circuit is electrically connected to the first end of the control circuit, the second end of the control circuit is electrically connected to the first end of the port indication circuit, and the second end of the port indication circuit is used to electrically connect to at least one external device; The method comprises: The signal transmission circuit transmits the port location control program burned by the control circuit to the host when detecting that the device port location circuit is connected to the host; and receives a control instruction about a target serial port number triggered by the port location control program after the host installs the port location control program, and transmits the control instruction to the control circuit; the target serial port number is the serial port number of one of the serial ports managed by the host; The control circuit generates an indication control signal matching the target serial port number according to the received control instruction, and transmits the indication control signal to the port indication circuit; The port indication circuit receives the indication control signal, and controls the indication unit corresponding to the target port of the port indication circuit to perform the indication operation corresponding to the indication control signal, so as to locate the target port; the target port is the port in the port indication circuit that matches the target serial port number.

10. An electronic device, characterized in that: The electronic device comprises a device body and a device port positioning circuit as described in any one of claims 1-8.