Network interface device compatible with data transmission and communication and control method thereof

By designing the network interface device, using the RJ45 connector and switching circuit, the received signal switching interface connection method is analyzed, and the problems of firmware update and monitoring of electronic devices are solved, and the functions of equipment status monitoring and firmware update are realized, avoiding the built-in dedicated functions The waste of interfaces saves equipment space and maintains network communication.

CN115642983BActive Publication Date: 2024-12-03QISDA SUZHOU +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110811144.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-19
Publication Date
2024-12-03
Estimated Expiration
2041-07-19

AI Technical Summary

Technical Problem

Existing electronic devices are almost no longer firmware updates or debugging after leaving the factory, resulting in extremely low usage of exclusive interfaces, occupying the body space of electronic devices, and requiring built-in dedicated interfaces to be updated or debugged firmware, which is a waste of time. resource.

Method used

Design a network interface device, including RJ45 connector, network card and switching circuit, and analyze the signals received by the third interface and switch the interface connection method to realize the status monitoring of electronic devices and firmware updates to avoid every time. A dedicated interface is built in each device, and the existing RJ45 interface is used for monitoring and update.

Benefits of technology

The status monitoring and firmware update of electronic devices through external devices is realized, which saves the configuration space of electronic devices, and maintains communication and interaction with the network, improving the flexibility of the equipment and resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115642983B_ABST
    Figure CN115642983B_ABST
Patent Text Reader

Abstract

The present invention provides a network interface device and a control method thereof, wherein the network interface device comprises an RJ45 connector, a network card and a switching circuit. The RJ45 connector comprises a first group of pins and a second group of pins. The network card comprises a third group of pins and a fourth group of pins. The first group of pins, the second group of pins, the third group of pins and the fourth group of pins each comprise a plurality of pins. The plurality of pins of the third group of pins are coupled to the plurality of pins of the first group of pins. The switching circuit comprises a first interface, a second interface and a third interface, wherein the first interface is coupled to the second group of pins, the second interface is coupled to the fourth group of pins, and the third interface is coupled to the communication interface. The switching circuit controls the first interface to couple to the second interface or the third interface according to whether a predetermined string is included in a signal received from the third interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a novel network interface device and a control method thereof, and in particular to a network interface device compatible with data transmission and communication and a control method thereof. Background Art

[0002] In the development stage or later maintenance of electronic devices, when the internal chip needs to be updated with firmware, the chip usually needs to be updated or debugged through a dedicated interface. However, after the electronic device leaves the factory, the chips of most electronic devices are rarely updated or debugged, so the dedicated interface used for firmware update or debugging before leaving the factory is rarely used, and the space of the electronic device is wasted. Summary of the invention

[0003] The object of the present invention is to provide a network interface device and a control method thereof, which are used to switch communication transmission paths so as to realize status monitoring of electronic devices and firmware update of electronic devices through external devices without having to build a dedicated interface for debugging or updating into the electronic devices.

[0004] Based on the above objectives, the present invention provides a network interface device, which comprises:

[0005] An RJ45 connector, comprising a first group of pins and a second group of pins, wherein the first group of pins and the second group of pins each comprise a plurality of pins;

[0006] A network card, comprising a third group of pins and a fourth group of pins, wherein the third group of pins and the fourth group of pins each comprise a plurality of pins, and the plurality of pins of the third group of pins are correspondingly coupled to the plurality of pins of the first group of pins; and

[0007] The switching circuit comprises a first interface, a second interface and a third interface, wherein the first interface is coupled to the second group of pins, the second interface is coupled to the fourth group of pins, and the third interface is coupled to the communication interface;

[0008] When the switching circuit determines that the signal received from the third interface includes a predetermined string, the switching circuit couples the first interface to the third interface and cuts off the electrical connection between the first interface and the second interface; and

[0009] When the switching circuit does not determine that the signal received from the third interface includes the predetermined string, the switching circuit couples the first interface to the second interface and cuts off the electrical connection between the first interface and the third interface.

[0010] Preferably, the plurality of pins of the first group of pins are the first pin, the second pin, the third pin and the sixth pin of the RJ45 connector, and the plurality of pins of the second group of pins are the fourth pin, the fifth pin, the seventh pin and the eighth pin of the connector.

[0011] Preferably, when the switching circuit determines that the signal received from the third interface includes the predetermined string, the network interface transmits the signal at a first transmission rate; and when the switching circuit does not determine that the signal received from the third interface includes the predetermined string, the network interface transmits the signal at a second transmission rate, and the second transmission rate is greater than the first transmission rate.

[0012] Based on the above objectives, the present invention further provides a network interface device, which comprises:

[0013] An RJ45 connector, comprising a first group of pins and a second group of pins, wherein the first group of pins and the second group of pins each comprise a plurality of pins;

[0014] A network card, comprising a third group of pins and a fourth group of pins, wherein the third group of pins and the fourth group of pins each comprise a plurality of pins, and the plurality of pins of the third group of pins are correspondingly coupled to the plurality of pins of the first group of pins; and

[0015] The switching circuit comprises a first interface, a second interface and a third interface, wherein the first interface is coupled to the second group of pins, the second interface is coupled to the fourth group of pins, and the third interface is coupled to the communication interface;

[0016] When the switching circuit does not determine that the signal received from the third interface includes a predetermined string, the switching circuit couples the first interface to the third interface and cuts off the electrical connection between the first interface and the second interface; and

[0017] When the switching circuit determines that the signal received from the third interface includes the predetermined string, the switching circuit couples the first interface to the second interface and cuts off the electrical connection between the first interface and the third interface.

[0018] Preferably, the plurality of pins of the first group of pins are the first pin, the second pin, the third pin and the sixth pin of the RJ45 connector, and the plurality of pins of the second group of pins are the fourth pin, the fifth pin, the seventh pin and the eighth pin of the RJ45 connector.

[0019] Preferably, when the switching circuit does not determine that the signal received from the third interface includes the predetermined string, the network interface transmits the signal at a first transmission rate; and when the switching circuit determines that the signal received from the third interface includes the predetermined string, the network interface transmits the signal at a second transmission rate, and the second transmission rate is greater than the first transmission rate.

[0020] Based on the above objective, the present invention further provides a method for controlling a network interface device, the network interface device comprising:

[0021] An RJ45 connector, comprising a first group of pins and a second group of pins, wherein the first group of pins and the second group of pins each comprise a plurality of pins;

[0022] A network card, comprising a third group of pins and a fourth group of pins, wherein the third group of pins and the fourth group of pins each comprise a plurality of pins, and the plurality of pins of the third group of pins are correspondingly coupled to the plurality of pins of the first group of pins; and

[0023] The switching circuit comprises a first interface, a second interface and a third interface, wherein the first interface is coupled to the second group of pins, the second interface is coupled to the fourth group of pins, and the third interface is coupled to the communication interface;

[0024] The method includes:

[0025] When the switching circuit determines that the signal received from the third interface includes a predetermined string, the switching circuit couples the first interface to the third interface and cuts off the electrical connection between the first interface and the second interface; and

[0026] When the switching circuit does not determine that the signal received from the third interface includes the predetermined string, the switching circuit couples the first interface to the second interface and cuts off the electrical connection between the first interface and the third interface.

[0027] Based on the above objective, the present invention further provides a method for controlling a network interface device, the network interface device comprising:

[0028] An RJ45 connector, comprising a first group of pins and a second group of pins, wherein the first group of pins and the second group of pins each comprise a plurality of pins;

[0029] A network card, comprising a third group of pins and a fourth group of pins, wherein the third group of pins and the fourth group of pins each comprise a plurality of pins, and the plurality of pins of the third group of pins are correspondingly coupled to the plurality of pins of the first group of pins; and

[0030] The switching circuit comprises a first interface, a second interface and a third interface, wherein the first interface is coupled to the second group of pins, the second interface is coupled to the fourth group of pins, and the third interface is coupled to the communication interface;

[0031] The method includes: when the switching circuit does not determine that the signal received from the third interface includes a predetermined string, the switching circuit couples the first interface to the third interface and cuts off the electrical connection between the first interface and the second interface; and, when the switching circuit determines that the signal received from the third interface includes the predetermined string, the switching circuit couples the first interface to the second interface and cuts off the electrical connection between the first interface and the third interface.

[0032] Preferably, the plurality of pins of the first group of pins are the first pin, the second pin, the third pin and the sixth pin of the RJ45 connector, and the plurality of pins of the second group of pins are the fourth pin, the fifth pin, the seventh pin and the eighth pin of the RJ45 connector.

[0033] Preferably, when the switching circuit couples the first interface to the third interface and cuts off the electrical connection between the first interface and the second interface, the network interface transmits signals at a first transmission rate; and when the switching circuit couples the first interface to the second interface and cuts off the electrical connection between the first interface and the third interface, the network interface transmits signals at a second transmission rate, and the second transmission rate is greater than the first transmission rate.

[0034] Compared with the prior art, the network interface device and control method thereof provided by the present invention can parse the signal received by the third interface, and when it contains a predetermined string, switch the interface connection mode in the network interface device, so that when monitoring or updating firmware, communication interaction with the network can be maintained at the same time, without the need to build a dedicated interface for firmware updating or debugging into each electronic device. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 It is a functional block diagram of a network interface device according to an embodiment of the present invention when it is connected to an electronic device, a network and a monitoring device.

[0036] Figure 2 yes Figure 1 The pin configuration diagram of the network interface device. DETAILED DESCRIPTION

[0037] In order to provide a further understanding of the purpose, structure, features, and functions of the present invention, the following detailed description is given in conjunction with the embodiments.

[0038] Figure 11 is a functional block diagram of a network interface device 10 of an embodiment of the present invention when connected to an electronic device 70, a network 80 and a monitoring device 90. The network interface device 10 includes an RJ45 connector 20, a network card 30 and a switching circuit 40. The RJ45 connector 20 is used to couple to the RJ45 interface 72 of the electronic device 70 to be monitored. The network card 30 can receive packets and signals from the network 80 through the network line 50, and transmit network packets and signals to the network 80 through the network line 50. The network 80 can be the Internet or a local area network. The switching circuit 40 can be coupled to the communication interface 60 of the monitoring device 90. The monitoring device 90 can be coupled to the electronic device 70 through the communication interface 60 and the switching circuit 40 and RJ45 connector 20 in the network interface device 10, and monitor the status of the electronic device 70. In another embodiment of the present invention, the monitoring device 90 can also transmit relevant instructions and data to the electronic device 70 through the communication interface 60 and the switching circuit 40 and the RJ45 connector 20 in the network interface device 10 to update the firmware of the chip 74 of the electronic device 70.

[0039] Figure 2 yes Figure 1 The pin configuration diagram of the network interface device 10 is shown in FIG. The RJ45 connector 20 includes a first group of pins G1 and a second group of pins G2. The first group of pins G1 includes a plurality of pins A1, A2, A3 and A6, and the second group of pins G2 includes a plurality of pins A4, A5, A7 and A8. In addition, the RJ45 connector 20 is used to receive network packets and signals from a network line 50, and to send network packets and signals to the network line 50. The other end of the network line 50 can be coupled to the Internet, a local area network or another electronic device. The network card 30 includes a third group of pins G3 and a fourth group of pins G4. The third group of pins G3 includes a plurality of pins B1, B2, B3 and B6, and the fourth group of pins G4 includes a plurality of pins B4, B5, B7 and B8. Pins B1, B2, B3 and B6 are coupled to pins A1, A2, A3 and A6, respectively.

[0040] The switching circuit 40 includes a first interface 41, a second interface 42, and a third interface 43. The first interface 41 includes a plurality of pins 11 to 14, the second interface 42 includes a plurality of pins 21 to 24, and the third interface 43 includes a plurality of pins 31 to 34. The plurality of pins 11 to 14 of the first interface 41 are respectively coupled to the plurality of pins A4, A5, A7, and A8 of the second pin group G2, the plurality of pins 21 to 24 of the second interface 42 are respectively coupled to the plurality of pins B4, B5, B7, and B8 of the fourth pin group G4, and the plurality of pins 31 to 34 of the third interface 43 are coupled to the communication interface 60. The third interface 43 and the communication interface 60 communicate with each other using the same communication protocol, and the third interface 43 and the communication interface 60 can be interfaces such as Universal Asynchronous Receiver / Transmitter (UART), Universal Serial Bus (USB), Inter-Integrated Circuit (I2C), Secure Digital Input / Output (SDIO) or Joint Test Action Group (JTAG).

[0041] In one embodiment of the present invention, when the switching circuit 40 determines that the signal S1 received from the third interface 43 includes a predetermined string, the switching circuit 40 couples the first interface 41 to the third interface 43 and cuts off the electrical connection between the first interface 41 and the second interface 42. In this way, the plurality of pins A4, A5, A7 and A8 of the second group of pins G2 of the RJ45 connector 20 can be coupled to the plurality of pins 31 to 34 of the third interface 43 respectively. In this case, the RJ45 connector 20 can communicate with the monitoring device 90 through the second group of pins G2 and the third interface 43, and the RJ45 connector 20 can also communicate with the third group of pins G3 of the network card 30 through the first group of pins G1. Therefore, the monitoring device 90 can monitor the status of the electronic device 70 or update the firmware of the chip 74 of the electronic device 70 through the third interface 43 and the first interface 41. At the same time, the electronic device 70 can be connected to the network 80 through the first group of pins G1 and the third group of pins G3. At this time, the transmission rate between the electronic device 70 and the network 80 is the first transmission rate, and the first transmission rate may be 100 megabits per second (i.e., 100 Mbps), but the present invention is not limited thereto. The length and content of the predetermined string contained in the signal S1 are mainly determined by the monitoring device 90. The predetermined strings contained in the signal S1 of different monitoring devices 90 may be different from each other, and the switching circuit 40 may be designed to determine the different predetermined strings generated by different monitoring devices 90, and couple the first interface 41 to the second interface 42 or the third interface 43 according to whether the signal S1 contains the predetermined string. On the other hand, when the switching circuit 40 does not determine that the signal S1 received from the third interface 43 contains the predetermined string (e.g., the third interface 43 does not receive the signal S1, or the received signal S1 does not contain the predetermined string), the switching circuit 40 couples the first interface 41 to the second interface 42, and cuts off the electrical connection between the first interface 41 and the third interface 43. In this way, the plurality of pins A4, A5, A7 and A8 of the second group of pins G2 of the RJ45 connector 20 can be coupled to the plurality of pins 21 to 24 of the second interface 42 respectively. In this case, the plurality of pins A4, A5, A7 and A8 of the second group of pins G2 of the RJ45 connector 20 are coupled to the plurality of pins B4, B5, B7 and B8 of the fourth group of pins of the network card 30 through the pins 11 to 14 and 21 to 24 respectively. At this time, the transmission rate between the electronic device 70 and the network 80 is the second transmission rate, and the second transmission rate is higher than the first transmission rate mentioned above. For example, the first transmission rate can be 100 megabits per second (i.e., 100Mbps), and the second transmission rate can be 1000 megabits per second (i.e., 1000Mbps), but the present invention is not limited thereto.

[0042] In another embodiment of the present invention, when the switching circuit 40 does not determine that the signal S1 received from the third interface 43 includes the predetermined string (e.g., the third interface 43 does not receive the signal S1, or the received signal S1 does not include the predetermined string), the switching circuit 40 couples the first interface 41 to the third interface 43, and cuts off the electrical connection between the first interface 41 and the second interface 42. In this way, the plurality of pins A4, A5, A7 and A8 of the second group of pins G2 of the RJ45 connector 20 can be coupled to the plurality of pins 31 to 34 of the third interface 43, respectively. In this case, the RJ45 connector 20 can communicate with the monitoring device 90 through the second group of pins G2 and the third interface 43, and the RJ45 connector 20 can also communicate with the third group of pins G3 of the network card 30 through the first group of pins G1. Therefore, the monitoring device 90 can monitor the status of the electronic device 70 or update the firmware of the chip 74 of the electronic device 70 through the third interface 43 and the first interface 41. At the same time, the electronic device 70 can be connected to the network 80 through the first group of pins G1 and the third group of pins G3. At this time, the transmission rate between the electronic device 70 and the network 80 is the first transmission rate. On the other hand, when the switching circuit 40 determines that the signal S1 received from the third interface 43 contains a predetermined string, the switching circuit 40 couples the first interface 41 to the second interface 42 and cuts off the electrical connection between the first interface 41 and the third interface 43. In this way, the plurality of pins A4, A5, A7 and A8 of the second group of pins G2 of the RJ45 connector 20 can be coupled to the plurality of pins 21 to 24 of the second interface 42 respectively. In this case, the plurality of pins A4, A5, A7 and A8 of the second group of pins G2 of the RJ45 connector 20 are coupled to the plurality of pins B4, B5, B7 and B8 of the fourth group of pins of the network card 30 through the pins 11 to 14 and 21 to 24 respectively. At this time, the transmission rate between the electronic device 70 and the network 80 is a second transmission rate, and the second transmission rate is higher than the first transmission rate mentioned above.

[0043] Since the network interface device 10 is coupled to the RJ45 interface 72 of the electronic device 70 through the RJ45 connector 20, and the RJ45 interface 72 is the interface that the electronic device 70 will still use after leaving the factory. Therefore, through the description of the above embodiment of the present invention, the monitoring device 90 can be connected to the RJ45 interface 72 of the electronic device 70 through the network interface device 10 to monitor and update the firmware of the electronic device 70. At the same time, the electronic device 70 can still be connected to the network 80 through the RJ45 interface 72 and the network interface device 10. Therefore, the electronic device 70 does not need to set up other interfaces, and can be connected to the monitoring device 90 through its original RJ45 interface 72. Therefore, not only can the configuration space of the electronic device 70 be saved, but the relevant personnel can also connect the monitoring device 90 to the electronic device 70 through the network interface device 10 to monitor and update the firmware of the electronic device, while retaining the function of connecting the electronic device 70 to the network 80.

[0044] The present invention has been described by the above-mentioned relevant embodiments, however, the above-mentioned embodiments are only examples for implementing the present invention. It must be pointed out that the disclosed embodiments do not limit the scope of the present invention. On the contrary, changes and modifications made without departing from the spirit and scope of the present invention are all within the scope of patent protection of the present invention.

Claims

1. A network interface device, characterized in that: Include: An RJ45 connector, comprising a first group of pins and a second group of pins, wherein the first group of pins and the second group of pins each comprise a plurality of pins; A network card, comprising a third group of pins and a fourth group of pins, wherein the third group of pins and the fourth group of pins each comprise a plurality of pins, and the plurality of pins of the third group of pins are correspondingly coupled to the plurality of pins of the first group of pins; as well as The switching circuit comprises a first interface, a second interface and a third interface, wherein the first interface is coupled to the second group of pins, the second interface is coupled to the fourth group of pins, and the third interface is coupled to the communication interface; When the switching circuit determines that the signal received from the third interface includes a predetermined string, the switching circuit couples the first interface to the third interface and cuts off the electrical connection between the first interface and the second interface; and When the switching circuit does not determine that the signal received from the third interface includes the predetermined string, the switching circuit couples the first interface to the second interface and cuts off the electrical connection between the first interface and the third interface.

2. The network interface device according to claim 1, wherein: The plurality of pins of the first group of pins are the first pin, the second pin, the third pin and the sixth pin of the RJ45 connector, and the plurality of pins of the second group of pins are the fourth pin, the fifth pin, the seventh pin and the eighth pin of the connector.

3. The network interface device according to claim 1, wherein: When the switching circuit determines that the signal received from the third interface includes the predetermined string, the network interface transmits the signal at a first transmission rate; and When the switching circuit does not determine that the signal received from the third interface includes the predetermined string, the network interface transmits the signal at a second transmission rate, and the second transmission rate is greater than the first transmission rate.

4. A network interface device, characterized in that: Include: An RJ45 connector, comprising a first group of pins and a second group of pins, wherein the first group of pins and the second group of pins each comprise a plurality of pins; A network card, comprising a third group of pins and a fourth group of pins, wherein the third group of pins and the fourth group of pins each comprise a plurality of pins, and the plurality of pins of the third group of pins are correspondingly coupled to the plurality of pins of the first group of pins; as well as The switching circuit comprises a first interface, a second interface and a third interface, wherein the first interface is coupled to the second group of pins, the second interface is coupled to the fourth group of pins, and the third interface is coupled to the communication interface; When the switching circuit does not determine that the signal received from the third interface includes a predetermined string, the switching circuit couples the first interface to the third interface and cuts off the electrical connection between the first interface and the second interface; and When the switching circuit determines that the signal received from the third interface includes the predetermined string, the switching circuit couples the first interface to the second interface and cuts off the electrical connection between the first interface and the third interface.

5. The network interface device as claimed in claim 4, wherein: The plurality of pins of the first group of pins are the first pin, the second pin, the third pin and the sixth pin of the RJ45 connector, and the plurality of pins of the second group of pins are the fourth pin, the fifth pin, the seventh pin and the eighth pin of the RJ45 connector.

6. The network interface device as claimed in claim 4, wherein: When the switching circuit does not determine that the signal received from the third interface includes the predetermined string, the network interface transmits the signal at a first transmission rate; and When the switching circuit determines that the signal received from the third interface includes the predetermined string, the network interface transmits the signal at a second transmission rate, and the second transmission rate is greater than the first transmission rate.

7. A method for controlling a network interface device, characterized in that: The network interface device comprises: An RJ45 connector, comprising a first group of pins and a second group of pins, wherein the first group of pins and the second group of pins each comprise a plurality of pins; A network card, comprising a third group of pins and a fourth group of pins, wherein the third group of pins and the fourth group of pins each comprise a plurality of pins, and the plurality of pins of the third group of pins are correspondingly coupled to the plurality of pins of the first group of pins; as well as The switching circuit comprises a first interface, a second interface and a third interface, wherein the first interface is coupled to the second group of pins, the second interface is coupled to the fourth group of pins, and the third interface is coupled to the communication interface; The method includes: When the switching circuit determines that the signal received from the third interface includes a predetermined string, the switching circuit couples the first interface to the third interface and cuts off the electrical connection between the first interface and the second interface; and When the switching circuit does not determine that the signal received from the third interface includes the predetermined string, the switching circuit couples the first interface to the second interface and cuts off the electrical connection between the first interface and the third interface.

8. A method for controlling a network interface device, characterized in that: The network interface includes: An RJ45 connector, comprising a first group of pins and a second group of pins, wherein the first group of pins and the second group of pins each comprise a plurality of pins; A network card, comprising a third group of pins and a fourth group of pins, wherein the third group of pins and the fourth group of pins each comprise a plurality of pins, and the plurality of pins of the third group of pins are correspondingly coupled to the plurality of pins of the first group of pins; as well as The switching circuit comprises a first interface, a second interface and a third interface, wherein the first interface is coupled to the second group of pins, the second interface is coupled to the fourth group of pins, and the third interface is coupled to the communication interface; The method includes: When the switching circuit does not determine that the signal received from the third interface includes a predetermined string, the switching circuit couples the first interface to the third interface and cuts off the electrical connection between the first interface and the second interface; as well as When the switching circuit determines that the signal received from the third interface includes the predetermined string, the switching circuit couples the first interface to the second interface and cuts off the electrical connection between the first interface and the third interface.

9. The method according to claim 7 or 8, characterized in that: The plurality of pins of the first group of pins are the first pin, the second pin, the third pin and the sixth pin of the RJ45 connector, and the plurality of pins of the second group of pins are the fourth pin, the fifth pin, the seventh pin and the eighth pin of the RJ45 connector.

10. The method according to claim 7 or 8, characterized in that: When the switching circuit couples the first interface to the third interface and cuts off the electrical connection between the first interface and the second interface, the network interface transmits signals at a first transmission rate; and When the switching circuit couples the first interface to the second interface and cuts off the electrical connection between the first interface and the third interface, the network interface transmits signals at a second transmission rate that is greater than the first transmission rate.