System of user plane ARP (Address Resolution Protocol) proxy mechanism and application method thereof
The user plane ARP proxy mechanism enables UPF to proxy the terminal link layer address, which solves the configuration complexity problem when upgrading industrial networks to 5G networks, achieving cost-free smooth upgrades and network segment resource saving.
Patent Information
- Application Number
- CN202411124380.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-09-17
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When upgrading industrial networks to 5G networks, it is difficult for existing technologies to achieve smooth upgrades. Smart devices and management and control terminals need to make complex configuration changes, resulting in high upgrade costs and error-prone.
The user plane ARP proxy mechanism is used to proxy the terminal link layer address through UPF, so that UPF, the terminal, and the DN are all in the same network segment. UPF performs ARP proxy, and the DN and terminal do not need to be configured. The data packet is transmitted to the base station through UPF.
It achieves smooth upgrade to 5G network without changing the existing network configuration, reduces network upgrade costs, avoids manual configuration errors, and saves network segment resources.
Smart Images

Figure CN118660288A
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of network configuration, and more particularly relates to a system of a user plane ARP proxy mechanism and an application method thereof. Background Art
[0002] With the widespread application and adoption of 5G technology, driven by its high bandwidth, low latency, and wide connectivity, more and more companies in existing industries are upgrading to 5G networks, empowering a wide range of industries. In existing industries, smart devices in factories primarily rely on Wi-Fi and wired networks.
[0003] Smart devices and control terminals mostly use a CS architecture, with a relatively simple network model, and most communicate within the same network segment. A 5G network consists of a base station, a universal public function (UPF), and a network device (DN). The base station serves as the access point for terminals, the UPF is the data plane in the 5G network, and the DN can serve as the control point for equipment within the factory. It's rare for terminals, base stations, UPFs, and DNs to all be within the same network segment. Data packets sent by terminals must first reach the base station, which then transmits them to the UPF via a GTPU tunnel. The UPF removes the tunnel identifier header from the data packet and then passes it to the DN. The network architecture of smart devices in industry differs between Wi-Fi or wired networks and 5G networks.
[0004] Therefore, network upgrades are more cumbersome and difficult to achieve smoothly. Both intelligent devices and control terminals require configuration changes, a cost that enterprise users find difficult to accept. Summary of the Invention
[0005] In view of this, in order to solve the technical problems in the above-mentioned background technology, the present invention provides a system of user-plane ARP proxy mechanism and its application method, so that UPF can proxy the legal terminal link layer address. UPF, terminal and DN are all in the same network segment, and UPF performs the proxy for the terminal link layer address. When DN communicates with the terminal, DN does not need to make any configuration changes, and the data packet can be sent to UPF. UPF then sends it to the terminal through the base station. The terminal does not need to make any changes and can respond to the service of DN.
[0006] In order to achieve the above object, the present invention adopts the following technical solutions: A user plane ARP proxy mechanism system, comprising: a rule monitoring module, an ARP proxy table maintenance module and an ARP proxy module; The rule monitoring module senses the creation, update, or deletion of PDR rules and transmits the sensed information to the ARP proxy table maintenance module; The ARP proxy table maintenance module maintains the ARP proxy table based on the perception information received from the rule monitoring module; The ARP proxy module searches the ARP proxy table based on the target IP in the ARP request packet received by the N6 interface to check whether a proxy is required. If a proxy is required, a response packet is constructed based on the MAC address of the N6 interface and sent to the requester. If a proxy is not required, the received ARP request packet is discarded.
[0007] Furthermore, the ARP proxy table generation method is as follows: SMF sends PDR rules to UPF, the rules contain the required UE IP Address information, and successfully establishes a session bearer; after UPF obtains the UE IP Address information from PDR, it establishes an ARP proxy table based on the IP value.
[0008] Furthermore, the maintenance of the ARP proxy table includes creating new entries, updating entries, and deleting entries.
[0009] Furthermore, the ARP proxy table is used as follows: according to the Target IPaddress field value in the ARP Request data packet, the ARP proxy table is queried; if the query is successful, the corresponding own link layer address is used to construct an ARPReply data packet to respond, and the requester receives the ARP Reply data packet, obtains the terminal link layer address, and sends the data packet; after the data packet is accurately sent to the UPF, the UPF processes it according to the bearer rules and sends it to the base station; if the query fails, the received data packet will be discarded.
[0010] A method for applying a user plane ARP proxy mechanism system includes the following steps: Step 1: The UE initiates a registration request. After the core network receives the UE's registration request, the SMF sends the PDR rule to the UPF. The rule contains the required UE IP Address information and successfully establishes the session bearer. Step 2: After the UPF obtains the UE IP Address information from the PDR, in addition to establishing the bearer, it also needs to establish an ARP proxy table based on the IP value; Step 3: After the UE registers with the core network and establishes a session, it interacts with services in the network. Step 4: When the UPF receives the ARP Request packet from the DN, it queries the ARP proxy table based on the Target IP address field value in the ARP Request packet. If the query is successful, go to step 5. If the query fails, go to step 6. Step 5: UPF queries the ARP proxy table for the corresponding IP address, uses its own link layer address to construct an ARP Reply packet to respond, and then goes to step 7; Step 6: UPF does not find the IP address in the ARP proxy table and discards the received data packet; Step 7: The requester receives the ARP Reply packet, obtains the terminal link layer address, and sends the packet; Step 8: After the data packet is accurately sent to the UPF, the UPF processes it according to the bearer rules and sends it to the base station.
[0011] The beneficial effects of the present invention are: This invention allows for a smooth upgrade of industrial networks to 5G networks without requiring any changes to existing network configurations. Simply by proxying the terminal link layer address with the UPF, existing WiFi or wired networks can be replaced. This further reduces network upgrade costs while preventing manual configuration errors. It also conserves network segment resources because the terminal, UPF, and DN can all use the same segment address, eliminating the need to allocate new network segments for the UPF and DN. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are merely embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0013] Figure 1 It is a structural block diagram of the present invention; Figure 2 This is a flow chart of the ARP proxy table generation method of the present invention; Figure 3 This is a flow chart of the method for using the ARP proxy table of the present invention. DETAILED DESCRIPTION
[0014] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0015] The purpose of the present invention is to propose a solution to the problem of avoiding changes to the existing network configuration when upgrading and transforming industrial networks to 5G networks. The present invention enables the UPF to proxy the legal terminal link layer address. The UPF, terminal, and DN are all in the same network segment, and the UPF proxy the terminal link layer address. When the DN communicates with the terminal, the DN does not need to make any configuration changes, and the data packet can be sent to the UPF, and the UPF then sends it to the terminal through the base station. The terminal also does not need to make any changes to respond to the DN.
[0016] refer to Figure 1 , the present invention provides a system of user plane ARP proxy mechanism, including: a rule monitoring module, an ARP proxy table maintenance module and an ARP proxy module; The rule monitoring module senses the creation, update, or deletion of PDR rules and transmits the sensed information to the ARP proxy table maintenance module; The ARP proxy table maintenance module maintains the ARP proxy table based on the perception information received from the rule monitoring module; The ARP proxy module searches the ARP proxy table based on the target IP in the ARP request packet received by the N6 interface to check whether a proxy is required. If a proxy is required, a response packet is constructed based on the MAC address of the N6 interface and sent to the requester. If a proxy is not required, the received ARP request packet is discarded.
[0017] refer to Figure 2 The ARP proxy table is generated as follows: The SMF issues a PDR rule to the UPF, which contains the required UE IP address information and successfully establishes a session bearer. After obtaining the UE IP address information from the PDR, the UPF establishes an ARP proxy table based on the IP address. ARP proxy table maintenance includes creating new entries, updating entries, and deleting entries. The ARP proxy table is implemented as a hash table, using the IP address as the key and a bool value as the value. The value has no practical value.
[0018] refer to Figure 3 The method of using the ARP proxy table is as follows: query the ARP proxy table according to the Target IPaddress field value in the ARP Request packet; if the query is successful, use the corresponding link layer address of its own to construct an ARPReply packet to respond. The requester receives the ARP Reply packet, obtains the terminal link layer address, and sends the packet; after the packet is accurately sent to the UPF, the UPF processes it according to the bearer rules and sends it to the base station; if the query fails, the received packet will be discarded.
[0019] The present invention rationally utilizes the PDR rules issued by the SMF to generate an ARP proxy table. The UPF can divert data streams based on the proxy table. The ARP proxy table is constructed through the PDR rules issued by the SMF to reduce network changes in the industrial network. The main purpose is to smoothly upgrade the CS architecture service in the same network segment to the 5G network without changing the network configuration in the industrial network, and to use the 5G network to improve the gain of the industrial network. Through the ARP request of the UPF proxy terminal, the data stream of the CS architecture service can be introduced into the 5G network to ensure correct data transmission.
[0020] In a 5G network, the terminal registers with the core network and establishes a bearer. The bearer consists of three parts: the terminal, the base station, and the UPF. The terminal obtains the IP address assigned to this bearer, and the base station and UPF establish tunnel-related processing rules for this bearer. Since this invention only modifies the UPF, only the relevant parts of the UPF will be described below. The bearer rules that the UPF needs to execute are issued by the SMF. Among the issued rules is the PDR rule, which contains the PDI field, which contains the UE IP Address field. The value of this field is the same as the address assigned to the terminal.
[0021] The UPF determines the terminal's IP address based on the UE IP Address value. It then constructs an ARP proxy table based on this value. By querying the ARP proxy table, you can determine which terminals' link addresses are being proxied.
[0022] When the UPF receives an ARP Request packet from the DN, it queries the ARP proxy table based on the Target IP address field in the ARP Request packet. If the Target IP address is found, the UPF constructs an ARP Reply packet in response using its own link-layer address. The requester then receives the ARP Reply packet, obtains the endpoint's link-layer address, and can then send the packet. The packet is then accurately transmitted to the UPF, which then processes it according to the bearer rules and sends it to the base station.
[0023] The present invention also provides a method for applying a user plane ARP proxy mechanism system, comprising the following steps: Step 1: The UE initiates a registration request. After the core network receives the UE's registration request, the SMF sends the PDR rule to the UPF. The rule contains the required UE IP Address information and successfully establishes the session bearer. Step 2: After the UPF obtains the UE IP Address information from the PDR, in addition to establishing the bearer, it also needs to establish an ARP proxy table based on the IP value; Step 3: After the UE registers with the core network and establishes a session, it can interact with services in the network; Step 4: When the UPF receives the ARP Request packet from the DN, it queries the ARP proxy table based on the Target IP address field value in the ARP Request packet. If the query is successful, go to step 5. If the query fails, go to step 6. Step 5: UPF queries the ARP proxy table for the corresponding IP address, uses its own link layer address to construct an ARP Reply packet to respond, and then goes to step 7; Step 6: UPF does not find the IP address in the ARP proxy table and discards the received data packet; Step 7: The requester receives the ARP Reply packet, obtains the terminal link layer address, and sends the packet; Step 8: After the data packet is accurately sent to the UPF, the UPF processes it according to the bearer rules and sends it to the base station.
[0024] This invention allows for a smooth upgrade of industrial networks to 5G networks without requiring any changes to existing network configurations. Simply by proxying the terminal link layer address with the UPF, existing WiFi or wired networks can be replaced. This further reduces network upgrade costs while preventing manual configuration errors. It also conserves network segment resources because the terminal, UPF, and DN can all use the same segment address, eliminating the need to allocate new network segments for the UPF and DN.
[0025] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.
Claims
1. A system for a user plane ARP proxy mechanism, characterized in that: include: Rule monitoring module, ARP proxy table maintenance module and ARP proxy module; The rule monitoring module senses the creation, update or deletion of PDR rules and transmits the sensed information to the ARP proxy table maintenance module; The ARP proxy table maintenance module maintains the ARP proxy table according to the sensed information received from the rule monitoring module; The ARP proxy module searches the ARP proxy table based on the target IP in the ARP request packet received by the N6 interface to check whether a proxy is needed; If a proxy is needed, a response packet is constructed based on the MAC address of the N6 interface and sent to the requester; If no proxy is required, the received ARP request packet will be discarded.
2. A system for a user plane ARP proxy mechanism according to claim 1, characterized in that: The ARP proxy table generation method is as follows: SMF sends PDR rules to UPF, which contain the required UE IP Address information and successfully establishes the session bearer; After UPF obtains the UE IP Address information from PDR, it creates an ARP proxy table based on the IP value.
3. A system for a user plane ARP proxy mechanism according to claim 2, characterized in that: ARP proxy table maintenance includes creating new entries, updating entries, and deleting entries.
4. A system for a user plane ARP proxy mechanism according to claim 1 or 3, characterized in that: The method of using the ARP proxy table is as follows: query the ARP proxy table according to the Target IP address field value in the ARP Request data packet; if the query is successful, use the corresponding link layer address of its own to construct an ARP Reply data packet to respond. The requester receives the ARP Reply data packet, obtains the terminal link layer address, and sends the data packet; after the data packet is accurately sent to the UPF, the UPF processes it according to the bearer rules and sends it to the base station; if the query fails, the received data packet will be discarded.
5. A method for applying a user plane ARP proxy mechanism system, characterized in that: The steps include: Step 1: The UE initiates a registration request. After the core network receives the registration request from the UE, the SMF sends the PDR rule to the UPF. The rule contains the required UE IP Address information and successfully establishes the session bearer. Step 2: After the UPF obtains the UE IP Address information from the PDR, in addition to establishing the bearer, it also needs to establish an ARP proxy table based on the IP value; Step 3: After the UE registers with the core network and establishes a session, it interacts with services in the network; Step 4: When UPF receives the ARP Request packet from the DN, it queries the ARP proxy table according to the Target IP address field value in the ARP Request packet; If the query is successful, go to step 5; if the query fails, go to step 6; Step 5: UPF queries the corresponding IP address in the ARP proxy table, uses its own link layer address to construct an ARP Reply packet to respond, and then goes to step 7; Step 6: UPF does not find the IP address in the ARP proxy table and discards the received data packet; Step 7: The requester receives the ARP Reply packet, obtains the terminal link layer address, and sends a packet; Step 8: After the data packet is accurately sent to the UPF, the UPF processes it according to the bearer rules and sends it to the base station.
Citation Information
Patent Citations
Method and system for realizing proxy address resolution protocol (ARP) based on gratuitous ARP
CN102572013A
SDN (Software Defined Network)-based ARP (Address Resolution Protocol) proxy realizing method and device
CN109428949A
Data processing method, device and equipment
CN109803029A
Session service intercommunication processing method and system, electronic equipment and storage medium
CN118316869A
KR20210006240A
