A switch integrated with serial port server function
By integrating serial port server functionality into the switch, bidirectional communication between serial port devices and network devices is achieved, solving the problem that existing switches cannot connect to serial port devices, simplifying network setup and reducing costs, while also improving device stability and heat dissipation performance.
Patent Information
- Application Number
- CN202522723499.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-23
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2035-12-23
AI Technical Summary
Existing industrial switches cannot directly connect to RS-232/485 serial port devices, requiring additional serial port servers, which leads to complex networking and increased costs.
Design a switch that integrates serial port server functionality, comprising a housing, a switch function module, a serial port server module, and a gateway. It connects via a direct Ethernet interface to achieve dual functions as a switch and a serial port server, and connects to the outside world through the gateway.
It enables bidirectional communication between serial port devices and network devices, simplifies the networking process, reduces costs, and improves the stability and heat dissipation of the device through ventilation holes and shock-absorbing pads.
Smart Images

Figure CN225020527U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of industrial communication equipment technology, and in particular to a switch that integrates serial port server functionality. Background Technology
[0002] Currently, network switches are the core devices for network communication. Their core functions include physical addressing, network topology construction, error checking, frame sequence management, and flow control. They operate at the data link layer and achieve accurate forwarding of data packets by recognizing MAC addresses. They can connect multiple network nodes and provide independent communication paths, effectively avoiding data conflicts and improving network transmission efficiency. They are widely used in scenarios such as automated production lines and smart manufacturing workshops.
[0003] The existing technical solutions described above have the following drawbacks: Existing industrial switches typically only support Ethernet communication and cannot directly connect RS-232 / 485 serial devices. To manage serial devices, an additional serial server needs to be configured, leading to complex networking and increased costs. Utility Model Content
[0004] This application provides a switch that integrates serial port server functionality in order to enable the switch to function as a serial port server.
[0005] The above-mentioned technical objective of this application is achieved through the following technical solution:
[0006] A switch integrating serial port server functionality includes a housing, a switch function module and a serial port server module disposed within the housing, and a gateway disposed within the housing. One end of the housing is closed. The switch function module and the serial port server module are spaced apart and spaced apart from the inner wall of the housing. The switch function module and the serial port server module are connected via a direct Ethernet interface. Two gateways are provided, and the two gateways are respectively inserted into two opposite side plates. The switch function module and the serial port server module are respectively connected to the two gateways.
[0007] By adopting the above technical solution, and by setting up a housing, a switch functional module, a serial port server module, and a gateway, and by connecting the switch functional module and the serial port server module directly via an Ethernet interface, and by connecting each of the two modules to two gateways at intervals and spaced apart from the inner wall of the housing, the switch can simultaneously perform the dual functions of a switch and a serial port server, enabling bidirectional communication between serial port devices and network devices. The spacing between modules and between modules and the inner wall of the housing provides reasonable space for device operation, and the two gateways correspond to different functional modules, helping each module to stably establish connections with the outside world.
[0008] Optionally, the side plate surface is provided with a plurality of ventilation holes that connect the two sides of the side plate at even intervals.
[0009] By adopting the above technical solution and setting ventilation holes, air can circulate between the inside of the casing and the outside, which helps the internal components such as the switch functional modules and serial server modules to dissipate the heat generated during operation and maintain the components in a suitable operating temperature environment.
[0010] Optionally, circular shock-absorbing pads made of rubber are provided at the four corners of the outer surface of the closed end of the housing.
[0011] By adopting the above technical solution and setting up shock-absorbing pads, the elastic properties of rubber can be used to buffer the impact force from the outside world when the switch is placed or transported, reducing the probability of damage to the switch due to bumps and knocks, while also reducing the degree of shaking during the use of the switch and improving the stability of the equipment placement.
[0012] Optionally, the end of the housing away from the closed end is closed by a protective cover. The surface of the protective cover is parallel to the surface of the mounting plate, and the four side walls of the protective cover are flush with the outer surfaces of the four side walls respectively. The edge of the protective cover near one side wall is hinged to the end face of the side plate. The protective cover and the side opposite to the hinge are detachably connected to the housing by a fixing structure.
[0013] By adopting the above technical solution and setting a protective cover, the internal components such as the switch function module and serial server module can be enclosed and protected. At the same time, the combination of hinged and detachable connection makes it easy for staff to open the protective cover to inspect, maintain or replace the internal components.
[0014] Optionally, the fixing structure includes a connecting post disposed on the end face of the side plate, a fixing groove disposed in the end face of the connecting post, and a rotating groove rotatably disposed in the protective cover. The connecting post is disposed on the end face of the housing away from the hinge point between the protective cover and the housing. The protective cover has a strip-shaped mounting groove at a corresponding position on the plate face away from the housing. The bottom end of the mounting groove has a through hole adapted to the connecting post. The through hole connects the plate face of the protective cover and the bottom of the mounting groove. The end of the connecting post can be inserted into the through hole. The rotating groove is rotatably disposed in the mounting groove. The end face of the connecting post away from the housing has a connecting hole. The connecting hole communicates with the side wall of the connecting post near the rotating groove. The end of the rotating groove away from the rotating shaft can be located in the connecting hole. The fixing groove is rotatably disposed in the connecting hole and can fix the rotating groove.
[0015] By adopting the above technical solution, and by setting up connecting posts, fixing grooves, and rotating grooves, the connecting posts can be inserted into the through holes, the ends of the rotating grooves can enter the connecting holes, and the fixing grooves can rotate to fix the rotating grooves, thereby achieving a stable connection between the protective cover and the housing, and ensuring the protective cover's sealing and protection effect on the internal components of the housing.
[0016] Optionally, the web end of the rotating groove away from the first rotating axis is recessed towards the wing plate to form a fixing notch. The wing plate end face of the fixing groove near the rotating groove is machined to form a receiving notch that matches the end of the rotating groove. The web end of the fixing groove near the rotating groove is the sidewall of the receiving notch, which matches the fixing notch. The web end of the fixing groove near the rotating groove is engaged in the fixing notch, and the end of the rotating groove is engaged in the receiving notch, thus locking the rotating groove and fixing the protective cover to the end of the housing.
[0017] By adopting the above technical solution, and by setting a fixing notch and a receiving notch, the connection and fixation between the rotating groove and the fixing groove can be achieved by using the cooperation of the fixing notch at the end of the fixing groove web plate and the receiving notch at the end of the rotating groove, thereby reliably fixing the protective cover to the end of the shell and improving the sealing firmness of the protective cover.
[0018] Optionally, the end face of the rotating groove away from the through hole is machined into a protruding arc surface.
[0019] By adopting the above technical solution, and by setting the end face of the rotating groove away from the through hole to be a protruding arc surface, the frictional resistance between the rotating groove and the inner wall of the mounting groove during rotation can be reduced, making the rotation operation of the rotating groove smoother and facilitating the opening and closing of the protective cover by the staff.
[0020] Optionally, the corner of the web end face of the fixed groove near the rotating groove, away from the second rotating axis, is machined into a chamfer.
[0021] By adopting the above technical solution, and by setting the corner of the web end face of the fixed groove near the rotating groove that is far from the second rotating shaft to be chamfered, the fixed groove can be guided to smoothly engage with the fixed notch when the fixed groove rotates and mates with the rotating groove, reducing the alignment difficulty when the two mate and making the locking operation of the fixed structure more convenient.
[0022] In summary, this application has the following technical effects:
[0023] 1. By setting up a housing, a switch function module, a serial port server module, and a gateway, and by connecting the switch function module and the serial port server module directly via an Ethernet interface, and by connecting each of the two modules to two gateways and spacing them apart from the inner wall of the housing, the switch can simultaneously perform the dual functions of a switch and a serial port server, enabling bidirectional communication between serial port devices and network devices. The spacing between the modules and between the modules and the inner wall of the housing provides reasonable space for device operation. The two gateways correspond to different function modules, helping each module to establish a stable connection with the outside world.
[0024] 2. By setting up a protective cover, the internal components such as the switch function module and serial server module can be enclosed and protected. At the same time, the combination of hinged and detachable connection makes it easy for staff to open the protective cover to inspect, maintain or replace the internal components.
[0025] 3. By setting up connecting posts, fixing slots, and rotating slots, the connecting posts can be inserted into the through holes, the end of the rotating slots can enter the connecting holes, and the fixing slots can rotate to fix the rotating slots, so as to achieve a stable connection between the protective cover and the shell and ensure the protective cover's sealing and protection effect on the internal components of the shell. Attached Figure Description
[0026] Figure 1 This is a structural diagram of the object of this application;
[0027] Figure 2 This is a structural diagram of the internal structure of the casing of this application;
[0028] Figure 3 This is a structural diagram of the fixed structure of this application.
[0029] Explanation of reference numerals in the attached drawings: 1. Outer shell; 11. Housing; 111. Mounting plate; 112. Side plate; 113. Ventilation hole; 12. Gateway; 13. Shock-absorbing pad; 14. Switch functional module; 15. Serial server module; 16. Protective cover; 161. Mounting groove; 162. Through hole; 2. Fixing structure; 21. Connecting post; 211. Connecting hole; 22. Rotating groove; 221. Fixing notch; 222. First rotating shaft; 23. Fixing groove; 231. Second rotating shaft; 232. Accommodating notch; 24. Coil spring. Detailed Implementation
[0030] The present application will be further described in detail below with reference to the accompanying drawings.
[0031] This application discloses a switch that integrates serial port server functionality, referring to... Figure 1 The switch includes a housing 1 and a fixed structure 2 mounted on the housing 1. The housing 1 contains a serial port server function module and a switch function module 14. The two are interconnected through a high-speed internal Ethernet interface. The serial port server establishes a TCP / UDP connection with external network devices through the switch module. The dual-system architecture reduces system complexity and improves the real-time performance of serial port protocol conversion processing.
[0032] Referring to the figure, the housing 1 includes a square tubular housing 11 closed at one end and a gateway 12 disposed below the circuit board and detachably connected to the housing 11. The housing 11 consists of a mounting plate 111 and four side plates 112 disposed on the upper surface of the mounting plate 111. The side walls of the four side plates 112 are sequentially fixed to each other to form a square tube. The mounting plate 111 is horizontally arranged, the end faces of the side plates 112 are fixed to the upper surface of the mounting plate 111, the surface of the side plates 112 is perpendicular to the surface of the mounting plate 111, and adjacent side walls are detachably connected to each other by bolts to form the housing 11.
[0033] Referring to the figure, the gateway 12 is disposed inside the housing 11. There are two gateways 12, and the two gateways 12 are respectively inserted into two opposite side plates 112. The surface of the gateway 12 is flush with the outer surface of the side plate 112. The length direction of the gateway 12 is perpendicular to the length direction of the housing 11. The two end faces of the gateway 12 abut against the opposite plate surfaces of the two adjacent side plates 112. The gateway 12 is detachably connected to the housing 11 by bolts. Multiple interfaces are evenly spaced on the surface of the gateway 12. The gateway 12 is spaced apart from the mounting plate 111 located below.
[0034] Referring to the figure, shock-absorbing pads 13 are provided at the four corners of the lower surface of the mounting plate 111. The shock-absorbing pads 13 are circular and made of rubber. When the switch is placed and used, the shock-absorbing pads 13 contact the placement platform, protecting the switch and reducing the possibility of damage caused by impacts. The shock-absorbing pads 13 are elastic, which can reduce the amplitude of the switch's shaking during use. The side plate 112 and the gateway 12 are provided with multiple ventilation holes 113 spaced apart. The ventilation holes 113 connect the two surfaces of the side plate 112. The multiple ventilation holes 113 are distributed in a strip shape, and the length direction of the multiple ventilation holes 113 is perpendicular to the length direction of the side plate 112.
[0035] Referring to the figure, both the switch function module 14 and the serial port server module 15 are housed inside the housing 11. The switch function module 14 and the serial port server module 15 are spaced apart and fixedly connected to the upper surface of the mounting plate 111. The length direction of both the switch function module 14 and the serial port server module 15 is parallel to the length direction of the gateway 12. The switch function module 14 and the serial port server module 15 are connected to two gateways 12 respectively and are integrally formed. The switch function module 14 and the serial port server module 15 are interconnected via an Ethernet interface. The serial port server side is configured with serial / CAN port parameters and an IP address, and connects to serial / CAN port devices via the serial / CAN port. The switch side is configured with an IP address, and if necessary, VLAN, QoS policies, RSTP, and other protocols to ensure the real-time performance and security of the serial port server services and provide redundancy backup. It connects to network terminal devices via Ethernet electrical / optical ports. After configuration, the serial port server and the network terminal devices establish a TCP / UDP connection. The serial port server obtains data from the serial port / CAN port device, converts it into TCP / UDP protocol packets, and then sends it to the internal Ethernet port connected to the switch. Finally, the switch forwards the packets to the network terminal device. The network terminal device sends TCP / UDP protocol packets, which are received by the switch and sent to the internal Ethernet port connected to the serial port server. The serial port server then converts these packets into serial port / CAN port data and sends them to the serial port / CAN port device, thus achieving bidirectional communication between the network terminal device and the serial port / CAN port device.
[0036] Referring to the figure, a protective cover 16 is provided on the side of the side plate 112 away from the mounting plate 111. The protective cover 16 is a square plate, and the surface of the protective cover 16 is parallel to the surface of the mounting plate 111. The four side walls of the protective cover 16 are respectively flush with the outer surfaces of the four side wall plates. The protective cover 16 closes the end of the housing 11 away from the mounting plate 111. The edge of the protective cover 16 near one side wall is hinged to the end face of the side plate 112. The side of the protective cover 16 opposite to the hinge is detachably connected to the housing 11 through the fixing structure 2.
[0037] Referring to the figure, the fixing structure 2 includes a connecting post 21 disposed on the end face of the side plate 112, a fixing groove 23 disposed in the end face of the connecting post 21, and a rotating groove 22 rotatably disposed in the protective cover 16. The connecting post 21 is a square post, and the connecting post 21 is disposed on the end face of the side plate 112 away from the hinge point between the protective cover 16 and the housing 11. The end face of the connecting post 21 is fixedly connected to the end face of the side plate 112, and the length direction of the connecting post 21 is parallel to the length direction of the housing 11. A strip-shaped mounting groove 161 is opened at a corresponding position on the plate surface of the protective cover 16 away from the housing 11. The length direction of the mounting groove 161 is perpendicular to the length direction of the housing 11 and parallel to the length direction of the side wall of the protective cover 16 that is adjacent to it. The bottom end of the mounting groove 161 has a through hole 162 that is compatible with the connecting post 21. The through hole 162 connects the surface of the protective cover 16 and the bottom of the mounting groove 161. The end of the connecting post 21 can be inserted into the through hole 162. When the protective cover 16 closes the end of the housing 11, the end face of the connecting post 21 facing away from the housing 11 is flush with the surface of the protective cover 16 facing away from the housing 11.
[0038] Referring to the figure, the rotating groove 22 is disposed in the mounting groove 161. The rotating groove 22 is a square groove. A first rotating shaft 222 is disposed at the end of the mounting groove 161 away from the through hole 162. The axis of the first rotating shaft 222 is perpendicular to the side wall of the mounting groove 161 and is spaced apart from the bottom of the mounting groove 161. The first rotating shaft 222 passes through the two side wing plates at one end of the rotating groove 22. The rotating groove 22 is rotatably disposed in the mounting groove 161 by means of the rotating shaft. The web of the rotating groove 22 is away from the bottom of the mounting groove 161. The surface of the wing plate of the rotating groove 22 is always parallel to the side wall of the mounting groove 161. The end face of the rotating groove 22 away from the through hole 162 is machined into a protruding arc surface to facilitate the rotation of the rotating groove 22.
[0039] Referring to the figure, a connecting hole 211 is provided on the end face of the connecting post 21 away from the housing 11. The connecting hole 211 is a square hole, and the four hole walls of the connecting hole 211 are parallel to the four side walls of the connecting post 21. The connecting hole 211 communicates with the side wall of the connecting post 21 near the rotating shaft. The bottom of the connecting hole 211 is flush with the bottom of the mounting groove 161. The end of the rotating groove 22 away from the rotating shaft can be located in the connecting hole 211. The fixing groove 23 is rotatably disposed in the connecting hole 211. The fixing groove 23 is a square groove. A second rotating shaft 231 is disposed in the connecting hole 211. The second rotating shaft 231 is close to the rotating groove 22 in the connecting hole 211. The second rotating shaft 231 passes through the wing plates on both sides of the end of the fixing groove 23. The fixing groove 23 is rotatably disposed in the connecting hole 211 through the second rotating shaft 231. The web of the fixing groove 23 is away from the bottom of the connecting hole 211. The surface of the wing plate of the fixing groove 23 is always parallel to the side wall of the connecting hole 211.
[0040] Referring to the figure, the end of the web plate of the rotating groove 22 away from the first rotating shaft 222 is recessed towards the wing plate to form a fixing notch 221. The end face of the fixed groove 23 near the wing plate of the rotating groove 22 is machined to form a receiving notch 232 that matches the end of the rotating groove 22. The end of the fixed groove 23 near the web plate of the rotating groove 22 is the side wall of the receiving notch 232, which matches the fixing notch 221. The corner of the end face of the fixed groove 23 near the web plate of the rotating groove 22 away from the second rotating shaft 231 is chamfered. The end of the fixed groove 23 near the web plate of the rotating groove 22 is engaged in the fixing notch 221, and the end of the rotating groove 22 is engaged in the receiving notch 232, thus locking the rotating groove 22 and fixing the protective cover 16 to the end of the housing 11.
[0041] Referring to the figure, coil springs 24 are sleeved on the periphery of the first rotating shaft 222 and the second rotating shaft 231. One end of the coil spring 24 is fixedly connected to the first rotating shaft 222 or the second rotating shaft 231, and the other end is set in the rotating groove 22 or the fixed groove 23. The coil spring 24 gives the rotating groove 22 or the fixed groove 23 a force away from the connecting column 21.
[0042] This specific embodiment is merely an explanation of this application and is not intended to limit it. After reading this specification, those skilled in the art can make modifications to this embodiment without contributing any inventive step, but such modifications are protected by patent law as long as they fall within the scope of the claims of this application.
Claims
1. A switch integrating serial port server functionality, characterized in that: The device includes a housing (11), a switch function module (14) and a serial port server module (15) disposed within the housing (11), and a gateway (12) disposed within the housing (11). One end of the housing (11) is closed. The switch function module (14) and the serial port server module (15) are spaced apart and spaced apart from the inner wall of the housing (11). The switch function module (14) and the serial port server module (15) are connected through a direct Ethernet interface. There are two gateways (12), and the two gateways (12) are respectively inserted into two opposite side plates (112). The switch function module (14) and the serial port server module (15) are respectively connected to the two gateways (12).
2. The switch with integrated serial port server function according to claim 1, characterized in that: The side plate (112) has a plurality of ventilation holes (113) evenly spaced on its surface, which connect the two surfaces of the side plate (112).
3. A switch with integrated serial port server function according to claim 2, characterized in that: The outer surface of the closed end of the housing (11) is provided with circular shock-absorbing pads (13) made of rubber at all four corners.
4. A switch with integrated serial port server function according to claim 1, characterized in that: The end of the housing (11) away from the closed end is closed by a protective cover (16). The surface of the cover (16) is parallel to the surface of the mounting plate (111), and the four side walls of the protective cover (16) are flush with the outer surfaces of the four side walls respectively. The edge of the protective cover (16) near one side wall is hinged to the end face of the side plate (112). The side of the protective cover (16) opposite to the hinge is detachably connected to the housing (11) by a fixing structure (2).
5. A switch with integrated serial port server function according to claim 4, characterized in that: The fixing structure (2) includes a connecting post (21) disposed on the end face of the side plate (112), a fixing groove (23) disposed in the end face of the connecting post (21), and a rotating groove (22) rotatably disposed in the protective cover (16). The connecting post (21) is disposed on the end face of the housing (11) away from the hinge point between the protective cover (16) and the housing (11). The protective cover (16) has a strip-shaped mounting groove (161) at a corresponding position on the plate face away from the housing (11). The bottom end of the mounting groove (161) has a through hole (162) adapted to the connecting post (21). The through hole (162) connects to the connecting post (21). The protective cover (16) plate surface and the bottom of the mounting groove (161) are connected. The end of the connecting column (21) can be inserted into the through hole (162). The rotating groove (22) is rotatably set in the mounting groove (161). The end face of the connecting column (21) away from the shell (11) is provided with a connecting hole (211). The connecting hole (211) is connected to the side wall of the connecting column (21) near the rotating groove (22). The end of the rotating groove (22) away from the rotating shaft can be located in the connecting hole (211). The fixing groove (23) is rotatably set in the connecting hole (211). The fixing groove (23) can fix the rotating groove (22).
6. A switch integrating serial port server function according to claim 5, characterized in that: The end of the web of the rotating groove (22) away from the first rotating shaft (222) is recessed towards the wing plate to form a fixing notch (221). The end of the wing plate of the fixing groove (23) near the rotating groove (22) is machined to form a receiving notch (232) that matches the end of the rotating groove (22). The end of the web of the fixing groove (23) near the rotating groove (22) is the side wall of the receiving notch (232), which matches the fixing notch (221). The end of the web of the fixing groove (23) near the rotating groove (22) is locked in the fixing notch (221), and the end of the rotating groove (22) is locked in the receiving notch (232), thus locking the rotating groove (22) and fixing the protective cover (16) to the end of the shell (11).
7. A switch integrating serial port server function according to claim 6, characterized in that: The end face of the rotating groove (22) away from the through hole (162) is machined into a protruding arc surface.
8. A switch integrating serial port server function according to claim 7, characterized in that: The corner of the web end face of the fixed groove (23) near the rotating groove (22) away from the second rotating shaft (231) is chamfered.
