Network device for converting udp broadcast data packets to udp unicast data packets

By designing a three-layer network device with an input network port, a processor, and an output network port, and using ARM, FPGA, or STM32 processors to convert UDP broadcast data packets, the high cost and complexity of existing technologies are solved, and low-cost UDP broadcast to unicast data packet conversion is achieved.

CN225020530UActive Publication Date: 2026-11-24AEROSPACE AGE LOW AERIAL TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202620002846.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2026-01-04
Publication Date
2026-11-24
Estimated Expiration
2036-01-04

AI Technical Summary

Technical Problem

In the existing technology, network devices that convert UDP broadcast packets into UDP unicast packets are expensive and have limited functionality. The number of routers and switches with this function on the market is gradually decreasing, and traditional methods are costly and complex.

Method used

Design a network device that adopts a three-layer structure of input network port, processor and output network port. The processor converts UDP broadcast data packets into UDP unicast data packets. The ARM, FPGA or STM32 processor is used to perform MAC address, port mapping or network address translation of data packets to realize the data packet conversion.

Benefits of technology

It implements the conversion of UDP broadcast packets to UDP unicast packets, with a simple structure, low cost, easy production and deployment, and is suitable for various network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN225020530U_ABST
    Figure CN225020530U_ABST
Patent Text Reader

Abstract

This application relates to the technical fields of network communication, protocol conversion, and data exchange, and discloses a network device for converting UDP broadcast data packets into UDP unicast data packets. The network device includes: an input network port configured to communicate with a data source device to receive UDP broadcast data packets from the data source device; a processor configured to forward UDP unicast data packets to an output network port, wherein the UDP unicast data packets are derived from UDP broadcast data packets; and an output network port configured to communicate with both the processor and a receiving device to receive the UDP unicast data packets forwarded by the processor and to send the UDP unicast data packets to the receiving device. This application achieves the conversion of UDP broadcast data packets to UDP unicast data packets by designing a three-layer network device with an input network port, a processor, and an output network port. The structure is simple and the implementation cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical fields of network communication, protocol conversion and data exchange, and in particular to a network device for converting UDP broadcast packets into UDP unicast packets. Background Technology

[0002] Traditionally, only a very few routers and Layer 3 switches can convert UDP broadcast packets to UDP unicast packets. These devices are expensive, their core functions are elsewhere, and based on market trends, the number of routers and Layer 3 switches capable of this function will continue to decrease. Traditional techniques involve adding an intermediary machine with a data forwarding program between the data source and the receiver, resulting in high costs. Utility Model Content

[0003] The embodiments of this application aim to at least partially address one of the technical problems in the related art. To this end, embodiments of this application propose a network device for converting UDP broadcast packets into UDP unicast packets.

[0004] Embodiments of this application provide a network device for converting UDP broadcast packets into UDP unicast packets. The network device includes: an input network port configured to communicate with a data source device to receive UDP broadcast packets from the data source device; a processor configured to forward UDP unicast packets to an output network port, wherein the UDP unicast packets are obtained based on the UDP broadcast packets; and the output network port configured to communicate with the processor and a receiving device to receive the UDP unicast packets forwarded by the processor and send the UDP unicast packets to the receiving device.

[0005] In some embodiments, the processor is communicatively connected to the input network port to obtain the UDP broadcast data packets from the input network port and convert the UDP broadcast data packets into UDP unicast data packets.

[0006] In some embodiments, the network device further includes a memory configured to store functional firmware, wherein the functional firmware is used to convert the UDP broadcast packets into UDP unicast packets.

[0007] In some embodiments, the processor is communicatively connected to the memory to read the functional firmware from the memory after the processor is powered on.

[0008] In some embodiments, the network device further includes: a configuration serial port, which is communicatively connected to the processor and configured to receive configuration parameters for the input network port and the output network port and transmit the configuration parameters to the processor for configuration.

[0009] In some embodiments, the configuration parameters include a first IP address configuration parameter, a first port configuration parameter, a second IP address configuration parameter, and a second port configuration parameter; the processor is further configured to: configure the IP address of the input network port to be the same as and conflict-free with the network segment where the data source device is located according to the first IP address configuration parameter; configure the listening port of the input network port to be the same as the target port of the data source device according to the first port configuration parameter; configure the IP address of the output network port to be the same as and conflict-free with the network segment where the receiving device is located according to the second IP address configuration parameter; and configure the target port of the output network port to be the same as the listening port of the receiving device according to the second port configuration parameter.

[0010] In some embodiments, the network device further includes at least one of the following: a power module configured to communicate with the processor; a clock module configured to communicate with the processor; and a reset module configured to communicate with the processor.

[0011] In some embodiments, the processor includes any one of an ARM architecture processor, an FPGA series microcontroller, or an STM32 series microcontroller.

[0012] In some embodiments, configuring a serial port includes a serial communication interface.

[0013] In some embodiments, the serial communication interface includes an RS-232 serial port.

[0014] This application designs a three-layer network device consisting of an input network port, a processor, and an output network port, which realizes the conversion of UDP broadcast data packets to UDP unicast data packets. The structure is simple and the implementation cost is low. Attached Figure Description

[0015] Figure 1 This application provides a schematic diagram of the architecture of a network device for converting UDP broadcast packets into UDP unicast packets. Figure 2 This is a schematic diagram of the configuration process of a network device provided in an embodiment of this application; Figure 3 A schematic diagram of the circuit structure of the network device provided in this application. Detailed Implementation

[0016] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application.

[0017] Traditionally, only a very few routers and Layer 3 switches can be used to convert UDP broadcast packets to UDP unicast packets. These devices are expensive, and their core function is not to convert UDP broadcast packets to UDP unicast packets. Moreover, traditional technologies involve adding an intermediary machine for data forwarding between the data source and the receiving end, which is costly.

[0018] If the network lacks Layer 3 devices (such as routers and Layer 3 switches, responsible for forwarding data across network segments) and is only connected via Layer 2 switches, then UDP broadcasts can only propagate within the same network segment; devices on different network segments cannot receive them. In certain data transmission scenarios, the data source sends data externally via UDP broadcast, but the receiving end is on a different network segment from the data source. In this case, the UDP broadcast data cannot be received by the receiving end.

[0019] A very few Layer 3 devices, such as routers and Layer 3 switches, can achieve this function through complex configuration. Currently, traditional technologies lack dedicated network devices for converting UDP broadcast packets into UDP unicast packets, or intermediate machines that add data forwarding programs between the data source and the receiving end.

[0020] Currently, based on market developments, routers and Layer 3 switches with the ability to convert UDP broadcast packets to UDP unicast packets will become increasingly rare. This is because the primary function of routers and Layer 3 switches is not to convert UDP broadcast packets to UDP unicast packets. Instead, an intermediate machine with a data forwarding program is added between the data source and the receiving end. However, this data forwarding program requires specialized development, resulting in higher implementation costs.

[0021] Therefore, there is an urgent need for a network device for converting UDP broadcast packets to UDP unicast packets. This device should be designed specifically for this conversion scenario, avoiding the resource waste of multi-functional devices. Furthermore, it should have a relatively simple structure, achieving the conversion from UDP broadcast packets to UDP unicast packets through a three-layer network device consisting of an input port, a processor, and an output port. This approach is cost-effective and easy to manufacture and deploy.

[0022] Figure 1 This application provides a schematic diagram of the architecture of a network device for converting UDP broadcast packets into UDP unicast packets.

[0023] like Figure 1This application provides a detailed description of a network device for converting UDP broadcast packets into UDP unicast packets. The network device includes an input network port, a processor, an output network port, and necessary power interfaces (omitted in the figures). Furthermore, the network device also includes an external housing. The input network port, processor, and output network port can be located on the inner or outer edges of the first, second, and third sides of the housing, where the first, second, and third sides are different sides of the housing.

[0024] The network device provided in this application also includes a circuit board disposed inside the housing, and the processor can be integrated on the circuit board.

[0025] In some embodiments, the input network port is configured to communicate with a data source device to receive UDP broadcast packets from the data source device. The processor is configured to forward UDP unicast packets to the output network port, wherein the UDP unicast packets are obtained based on UDP broadcast packets. The output network port is configured to communicate with both the processor and the receiving device to receive UDP unicast packets forwarded by the processor and to send UDP unicast packets to the receiving device. It can be understood that in the solution provided in this application, the components and modules configured to implement communication connections can be wirelessly connected or electrically connected via cables.

[0026] This application designs a three-layer network device consisting of an input network port, a processor, and an output network port, which realizes the conversion of UDP broadcast data packets to UDP unicast data packets. The structure is simple and the implementation cost is low.

[0027] In some embodiments, the processor is communicatively connected to an input network port to obtain UDP broadcast packets from the input network port and convert the UDP broadcast packets into UDP unicast packets. In some embodiments, the processor includes any one of an ARM architecture processor, an FPGA series microcontroller, or an STM32 series microcontroller.

[0028] After receiving UDP broadcast packets from the data source device via the input network port, the processor processes the received packets, converts them into UDP unicast packets, and forwards them to the output network port. The output network port receives the UDP unicast packets from the processor and sends them to the receiving device. Processors such as ARM (Advanced RISC Machines), FPGA (Field-Programmable Gate Array), and STM32 (STMicroelectronics 32-bit Microcontroller) are examples of such processors.

[0029] In some embodiments, the processor can convert UDP broadcast packets into UDP unicast packets based on MAC addresses. Specifically, this can be achieved by parsing the destination MAC address in the UDP broadcast packet, replacing the broadcast address (e.g., FF:FF:FF:FF:FF:FF) with the unicast MAC address of the receiving device, and simultaneously modifying the destination IP address in the packet to the IP address of the receiving device.

[0030] In some embodiments, the processor can convert UDP broadcast packets into UDP unicast packets based on port mapping. Specifically, a port mapping table is pre-configured in the processor. When a UDP broadcast packet is received from a specific port, the packet is forwarded to the specified unicast address and port according to the mapping table. This conversion method is commonly used in network protocol conversion scenarios.

[0031] In some embodiments, the processor can convert UDP broadcast packets into UDP unicast packets based on Network Address Translation (NAT). Specifically, NAT technology is used to translate the source and destination addresses of broadcast packets, converting packets within the broadcast domain into unicast packets for transmission to the target device.

[0032] In the embodiments of this application, the processor can employ any of the above-mentioned conversion methods, such as MAC address translation, port mapping translation, network address translation, etc., to convert UDP broadcast packets into UDP unicast packets. The improvement of this application lies in implementing this function through a three-layer structure of input network port, processor, and output network port, rather than an improvement to the conversion method itself.

[0033] Figure 2 This is a schematic diagram illustrating the configuration process of a network device provided in an embodiment of this application.

[0034] Figure 3 A schematic diagram of the circuit structure of the network device provided in this application.

[0035] The network device provided in this application can use processors such as ARM, FPGA, or STM32, through methods such as... Figure 2 The processor's built-in hardware logic circuitry shown is used to convert UDP broadcast packets into UDP unicast packets.

[0036] Combination Figure 1-3 The content shown illustrates the configuration process.

[0037] In some embodiments, a serial port is configured to communicate with the processor and is configured to receive configuration parameters for the input and output network ports and transmit these parameters to the processor for configuration. In some embodiments, the serial port configuration includes a serial communication interface. In some embodiments, the serial communication interface includes an RS-232 serial port.

[0038] The serial port to be configured is, for example, an RS-232 (Recommended Standard 232, serial communication interface standard) serial port. The network device provided in this application requires configuration before use. During configuration, the RS-232 serial port of a configuration terminal (such as a computer) can be connected to the RS-232 serial port of the network device. Operating parameters can be set (or read) via command line through the configuration terminal to complete the setting or reading of operating parameters.

[0039] In some embodiments, the configuration parameters include a first IP address configuration parameter, a first port configuration parameter, a second IP address configuration parameter, and a second port configuration parameter; the processor is further configured to: configure the IP address of the input network port to be the same as and conflict-free with the network segment where the data source device is located according to the first IP address configuration parameter; configure the listening port of the input network port to be the same as the target port of the data source device according to the first port configuration parameter; configure the IP address of the output network port to be the same as and conflict-free with the network segment where the receiving device is located according to the second IP address configuration parameter; and configure the target port of the output network port to be the same as the listening port of the receiving device according to the second port configuration parameter.

[0040] The required configuration parameters include the first IP address (Internet Protocol) and first port configuration parameters of the input network port, and the second IP address and second port configuration parameters of the output network port.

[0041] After configuring the input network port with the first IP address that is on the same network segment as the data source and has no IP conflict, and configuring the first port to be the same as the target port for sending data from the data source, the device can receive UDP broadcast data from the data source.

[0042] The device can only send data to the receiving end after the output network port is configured with a second IP address that is on the same network segment as the receiving end and has no IP conflict, and the second port is configured to be the same as the listening port of the receiving end.

[0043] Once the device is configured, the input network port can receive UDP broadcast data. After internal forwarding processing, the same data is sent out via the output network port in UDP unicast mode.

[0044] The network device provided in this application can be flexibly configured via RS-232 serial port, enabling the conversion of UDP broadcast packets into UDP unicast packets without modifying the original configuration of the data source device and the receiving end device. It is simple and convenient to deploy, has low cost, and is suitable for various network environments and application scenarios.

[0045] like Figure 3 As shown, the network device provided in this application further includes a memory, a configuration serial port, a power supply module, a clock module, and a reset module. In some embodiments, the memory is configured to store functional firmware, wherein the functional firmware is used to convert UDP broadcast packets into UDP unicast packets. In some embodiments, the processor is communicatively connected to the memory to read the functional firmware from the memory after the processor is powered on. In some embodiments, the power supply module is configured to communicate with the processor; the clock module is configured to communicate with the processor; and the reset module is configured to communicate with the processor. The processor, power supply module, clock module, and reset module can be integrated on a circuit board and connected to the processor via cable or wirelessly.

[0046] Specifically, after the processor powers on, the firmware that loads UDP broadcast packets from memory and converts them into UDP unicast packets runs. The power module is communicatively connected to the processor, for example, to provide the processor with operating voltage; the clock circuit is configured to communicate with the processor, for example, to provide the processor with a system clock signal; and the reset circuit is configured to communicate with the processor, for example, to ensure the processor starts up normally. These modules work together to ensure stable processor operation and the normal implementation of data conversion functions.

[0047] Those skilled in the art will clearly understand that the terms "unit" and "module" in this specification refer to hardware capable of performing a specific function independently or in conjunction with other components.

[0048] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0049] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between apparatuses or units may be electrical or other forms.

[0050] The exemplary embodiments of this application have been specifically shown and described above. It should be understood that this application is not limited to the detailed structures, arrangements, or implementation methods described herein; rather, this application is intended to cover various modifications and equivalent arrangements contained within the spirit and scope of the appended provisions.

[0051] It should be understood that various parts of this application can be implemented using hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented using software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.

[0052] In the description of this application, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this application. In this application, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.

[0053] In the description of this application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc., indicating the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.

[0054] Furthermore, the terms "first," "second," etc., used in the embodiments of this application are for descriptive purposes only and should not be construed as indicating or implying relative importance, or implicitly specifying the number of technical features indicated in this embodiment. Therefore, features defined with terms such as "first" and "second" in the embodiments of this application can explicitly or implicitly indicate that the embodiment includes at least one of those features. In the description of this application, the word "multiple" means at least two or more, such as two, three, four, etc., unless otherwise explicitly and specifically defined in the embodiments.

[0055] In this application, unless otherwise explicitly specified or limited in the embodiments, the terms "installation," "connection," "joining," and "fixing" appearing in the embodiments should be interpreted broadly. For example, a connection can be a fixed connection, a detachable connection, or an integral part; it can also be a mechanical connection, an electrical connection, etc. Of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or it can be the internal communication between two components, or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific implementation.

[0056] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "on top of," and "over" the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.

Claims

1. A network device for converting UDP broadcast packets into UDP unicast packets, characterized in that, The network device includes: The input network port is configured to communicate with the data source device to receive UDP broadcast data packets from the data source device; The processor is configured to forward UDP unicast packets to the output network interface, wherein the UDP unicast packets are obtained based on the UDP broadcast packets; The output network port is configured to communicate with the processor and the receiving device to receive the UDP unicast data packets forwarded by the processor and send the UDP unicast data packets to the receiving device.

2. The network device according to claim 1, characterized in that, The processor is communicatively connected to the input network port to obtain the UDP broadcast data packets from the input network port and convert the UDP broadcast data packets into UDP unicast data packets.

3. The network device according to claim 1, characterized in that, The network device also includes: The memory is configured to store functional firmware, wherein the functional firmware is used to convert the UDP broadcast data packets into UDP unicast data packets.

4. The network device according to claim 3, characterized in that, The processor is communicatively connected to the memory to read the functional firmware from the memory after the processor is powered on.

5. The network device according to claim 1, characterized in that, The network device also includes: Configure the serial port to communicate with the processor, and configure it to receive configuration parameters for the input network port and the output network port and transmit the configuration parameters to the processor for configuration.

6. The network device according to claim 5, characterized in that, The configuration parameters include a first IP address configuration parameter, a first port configuration parameter, a second IP address configuration parameter, and a second port configuration parameter; The processor is also used for: Configure the IP address of the input network port to be the same as and without conflict with the network segment where the data source device is located, according to the first IP address configuration parameters; Configure the listening port of the input network port to be the same as the target port of the data source device according to the first port configuration parameters; Configure the IP address of the output network port to be the same as and without conflict with the network segment where the receiving device is located, according to the second IP address configuration parameters; Configure the target port of the output network port to be the same as the listening port of the receiving device according to the second port configuration parameters.

7. The network device according to claim 1, characterized in that, The network device also includes at least one of the following: The power module is configured to communicate with the processor; The clock module is configured to communicate with the processor. A reset module is configured to communicate with the processor.

8. The network device according to any one of claims 1-7, characterized in that, The processor includes any one of the following: ARM architecture processor, FPGA series microcontroller, and STM32 series microcontroller.

9. The network device according to claim 5 or 6, characterized in that, The configured serial port includes a serial communication interface.

10. The network device according to claim 9, characterized in that, The serial communication interface includes an RS-232 serial port.