Data transmission method and apparatus, device, and storage medium

By establishing a VxLAN tunnel between the UPF network element and the terminal equipment, the problems of high replacement costs and complex configuration of 5G LAN service terminal equipment are solved, and plug-and-play 5G LAN communication capabilities are realized.

CN116233953BActive Publication Date: 2026-01-02SHENZHEN AI LINK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310231531.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-01
Publication Date
2026-01-02
Estimated Expiration
2043-03-01

AI Technical Summary

Technical Problem

Existing 5G LAN services rely on expensive terminal equipment, resulting in high costs for replacing existing network equipment. Furthermore, configuring VxLAN tunnel parameters on the terminal side is time-consuming and labor-intensive, making it difficult to quickly troubleshoot errors.

Method used

By establishing a VxLAN tunnel between the UPF network element and the terminal device, there is no need to update the 5G network protocol stack inside the terminal. The terminal automatically detects the IP address of the industrial equipment connected to it, enabling plug-and-play access to 5G LAN.

Benefits of technology

It reduces the cost of replacing terminal equipment, simplifies the configuration process, and improves the deployment efficiency of 5G LAN communication capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116233953B_ABST
    Figure CN116233953B_ABST
Patent Text Reader

Abstract

The application provides a data transmission method and device, equipment and a storage medium, wherein the method comprises: a user plane management function (UPF) network element receiving a to-be-transmitted data frame sent by a first industrial device, the to-be-transmitted data frame comprising an identifier of a second industrial device; judging whether a protocol address of a target terminal device connected to the second industrial device is included in a preset routing forwarding table according to the identifier of the second industrial device; if the protocol address of the target terminal device is included in the routing forwarding table, determining a target receiving tunnel corresponding to the target terminal device according to the protocol address of the target terminal device; and transmitting the to-be-transmitted data frame to the target terminal device by using the target receiving tunnel, so that the target terminal device forwards the to-be-transmitted data frame to the second industrial device. The 5G LAN communication capability can be provided without updating the terminal internal 5G network protocol stack, thereby reducing the cost without replacing the existing network equipment.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of communication, in particular to a data transmission method and device, equipment and storage medium. BACKGROUND

[0002] The fifth generation mobile communication technology (5G) local network is also called private 5G network, which uses 5G technology to create a dedicated network in a local user site, and the network has unified connectivity, optimized services and secure communication in a specific area, and provides high transmission speed, low delay and mass connection supported by 5G technology.

[0003] At present, the local area network type service (5G LAN-type Services) based on 5G network can provide Internet protocol (Internet Protocol, IP) type or Ethernet type communication service for a specific terminal group (that is, a virtual network group, Virtual Network group), wherein the terminals subscribed to the same VN group communicate with each other in the same 5G LAN, and the communication has the characteristics of local area network communication.

[0004] However, in the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) standard, 5G LAN services must rely on terminals with the ability to support 5G LAN-type Services, and such terminals are expensive and almost not deployed in 5G local networks, so if such terminals are used, a large number of existing network devices need to be replaced, which is costly. SUMMARY

[0005] Therefore, the embodiments of the present application provide a data transmission method, device, equipment and storage medium to solve the problem that 5G LAN services need to replace a large number of existing network devices, which is costly.

[0006] In a first aspect, the embodiments of the present application provide a data transmission method applied to a user plane management function (UPF) network element, and the method comprises:

[0007] Receiving a to-be-transmitted data frame sent by a first industrial device, wherein the to-be-transmitted data frame comprises an identifier of a second industrial device;

[0008] determining, according to the identifier of the second industrial equipment, whether the protocol address of the target terminal equipment connected by the second industrial equipment is included in a preset routing forwarding table, the routing forwarding table including identifiers of a plurality of industrial equipment and protocol addresses of terminal equipment connected by each industrial equipment;

[0009] If the protocol address of the target terminal equipment is included in the routing forwarding table, determining a target receiving tunnel corresponding to the target terminal equipment according to the protocol address of the target terminal equipment;

[0010] transmitting the to-be-transmitted data frame to the target terminal equipment through the target receiving tunnel, so that the target terminal equipment forwards the to-be-transmitted data frame to the second industrial equipment.

[0011] In an optional embodiment, if the to-be-transmitted data frame is a unicast data frame, the identifier of the second industrial equipment is a physical address.

[0012] The determining, according to the identifier of the second industrial equipment, whether the protocol address of the target terminal equipment connected by the second industrial equipment is included in a preset routing forwarding table includes:

[0013] determining, according to the physical address of the second industrial equipment, whether the protocol address of the target terminal equipment is included in the routing forwarding table, the routing forwarding table including physical addresses of the plurality of industrial equipment and the protocol addresses of the terminal equipment connected by each industrial equipment.

[0014] In an optional embodiment, if the to-be-transmitted data frame is a broadcast data frame or a multicast data frame, the identifier of the second industrial equipment is a virtual local area network identifier.

[0015] The determining, according to the identifier of the second industrial equipment, whether the protocol address of the target terminal equipment connected by the second industrial equipment is included in a preset routing forwarding table includes:

[0016] determining, according to the virtual local area network identifier of the second industrial equipment, whether the protocol address of the target terminal equipment is included in the routing forwarding table, the routing forwarding table including virtual local area network identifiers of the plurality of industrial equipment and the protocol addresses of the terminal equipment connected by each industrial equipment.

[0017] In an optional embodiment, the receiving the to-be-transmitted data frame sent by the first industrial equipment includes:

[0018] receiving the to-be-transmitted data frame sent by the first industrial equipment through an interface between the UPF network element and the first industrial equipment.

[0019] In an optional implementation, the receiving the to-be-transmitted data frame sent by the first industrial equipment comprises:

[0020] The to-be-transmitted data frame sent by the first industrial equipment is received by using a target sending tunnel, and the target sending tunnel is a tunnel used by a terminal device connected to the first industrial equipment to send data to the UPF network element.

[0021] In an optional implementation, before the judging whether the protocol address of the target terminal device connected to the second industrial equipment is included in the preset routing forwarding table according to the identifier of the second industrial equipment, the method further comprises:

[0022] Obtaining networking information of the plurality of industrial equipment from a network manager, wherein the networking information comprises: a protocol address and a virtual local area network identifier of a corresponding industrial equipment;

[0023] Obtaining physical addresses of the plurality of industrial equipment according to the protocol addresses of the plurality of industrial equipment;

[0024] Generating the routing forwarding table according to the physical addresses of the plurality of industrial equipment, the virtual local area network identifiers of the plurality of industrial equipment, and the protocol addresses of the terminal devices connected to each industrial equipment.

[0025] In an optional implementation, the obtaining the physical addresses of the plurality of industrial equipment according to the protocol addresses of the plurality of industrial equipment comprises:

[0026] After the terminal devices connected to the plurality of industrial equipment complete session establishment, a plurality of receiving tunnels corresponding to the plurality of terminal devices are respectively established;

[0027] A plurality of address resolution requests are respectively sent to the plurality of terminal devices by using a plurality of receiving tunnels, and each address resolution request comprises a protocol address of an industrial equipment.

[0028] A plurality of address resolution responses returned by the plurality of terminal devices based on target address resolution requests in the plurality of address resolution requests are respectively received by using a plurality of sending tunnels, and each address resolution response comprises a physical address of an industrial equipment connected to a corresponding terminal device, and the plurality of sending tunnels are tunnels used by the plurality of terminal devices to send data to the UPF network element.

[0029] In a second aspect, the embodiments of the present application further provide a data transmission device, comprising:

[0030] A receiving module is configured to receive a to-be-transmitted data frame sent by a first industrial equipment, and the to-be-transmitted data frame comprises an identifier of a second industrial equipment.

[0031] determining, by a determining module, a target receiving tunnel corresponding to the target terminal device according to the protocol address of the target terminal device if the protocol address of the target terminal device is included in the routing forwarding table;

[0032] determining, by a determining module, a target receiving tunnel corresponding to the target terminal device according to the protocol address of the target terminal device if the protocol address of the target terminal device is included in the routing forwarding table;

[0033] transmitting, by a transmitting module, the to-be-transmitted data frame to the target terminal device by using the target receiving tunnel, so that the target terminal device forwards the to-be-transmitted data frame to the second industrial device.

[0034] In an optional implementation, if the to-be-transmitted data frame is a unicast data frame, the identifier of the second industrial device is a physical address.

[0035] The determining module is specifically configured to:

[0036] determine, according to the physical address of the second industrial device, whether the protocol address of the target terminal device is included in the routing forwarding table, wherein the routing forwarding table includes the physical addresses of the plurality of industrial devices and the protocol addresses of the terminal devices connected by the plurality of industrial devices.

[0037] In an optional implementation, if the to-be-transmitted data frame is a broadcast data frame or a multicast data frame, the identifier of the second industrial device is a virtual local area network identifier.

[0038] The determining module is specifically configured to:

[0039] determine, according to the virtual local area network identifier of the second industrial device, whether the protocol address of the target terminal device is included in the routing forwarding table, wherein the routing forwarding table includes the virtual local area network identifiers of the plurality of industrial devices and the protocol addresses of the terminal devices connected by the plurality of industrial devices.

[0040] In an optional implementation, the receiving module is specifically configured to:

[0041] receive, by the receiving module, the to-be-transmitted data frame sent by the first industrial device by using an interface between the UPF network element and the first industrial device.

[0042] In an optional implementation, the receiving module is specifically configured to:

[0043] The target sending tunnel is used to receive the to-be-transmitted data frame sent by the first industrial equipment, and the target sending tunnel is a tunnel used by a terminal device connected to the first industrial equipment to send data to the UPF network element.

[0044] In an optional implementation, the apparatus further includes:

[0045] The obtaining module is configured to obtain networking information of the plurality of industrial equipment from a network manager, the networking information including a protocol address and a virtual local area network identifier of a corresponding industrial equipment.

[0046] The obtaining module is further configured to obtain a physical address of the plurality of industrial equipment according to the protocol address of the plurality of industrial equipment.

[0047] The generating module is configured to generate the routing and forwarding table according to the physical address of the plurality of industrial equipment, the virtual local area network identifier of the plurality of industrial equipment, and a protocol address of a terminal device connected to each industrial equipment.

[0048] In an optional implementation, the obtaining module is specifically configured to:

[0049] After a session establishment of the terminal device connected to the plurality of industrial equipment is completed, a plurality of receiving tunnels corresponding to the plurality of terminal devices are established respectively.

[0050] The plurality of receiving tunnels are used to respectively send a plurality of address resolution requests to the plurality of terminal devices, and the plurality of address resolution requests respectively include a protocol address of one industrial equipment.

[0051] The plurality of sending tunnels are used to respectively receive an address resolution response returned by the plurality of terminal devices based on a target address resolution request in the plurality of address resolution requests, and the address resolution response includes a physical address of an industrial equipment connected to a corresponding terminal device, and the plurality of sending tunnels are tunnels used by the plurality of terminal devices to respectively send data to the UPF network element.

[0052] In a third aspect, an electronic device is provided, including a processor, a memory, and a bus, the memory stores machine readable instructions executable by the processor, when the electronic device is running, the processor and the memory communicate through the bus, and the processor executes the machine readable instructions to perform the data transmission method of any one of the first aspect.

[0053] In a fourth aspect, a computer readable storage medium is provided, and the computer readable storage medium stores a computer program, when the computer program is run by a processor, the data transmission method of any one of the first aspect is executed.

[0054] The application provides a data transmission method, device and equipment and a storage medium, and the method comprises the following steps: a user plane management function (UPF) network element receives a to-be-transmitted data frame sent by a first industrial device, the to-be-transmitted data frame comprising an identifier of a second industrial device; according to the identifier of the second industrial device, it is judged whether the protocol address of a target terminal device connected with the second industrial device is included in a preset routing forwarding table; if the protocol address of the target terminal device is included in the routing forwarding table, then according to the protocol address of the target terminal device, a target receiving tunnel corresponding to the target terminal device is determined, the to-be-transmitted data frame is transmitted to the target terminal device by using the target receiving tunnel, so that the target terminal device forwards the to-be-transmitted data frame to the second industrial device. The 5G LAN communication capability can be provided without updating the terminal internal 5G network protocol stack, thereby reducing the cost without replacing the existing network equipment.

[0055] In order to make the above objectives, features and advantages of the present application more apparent, the following will describe a preferred embodiment in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF DRAWINGS

[0056] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation to the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.

[0057] Figure 1 The first flow forwarding strategy provided by the embodiment of the present application is shown in the architecture diagram.

[0058] Figure 2 The second flow forwarding strategy provided by the embodiment of the present application is shown in the architecture diagram.

[0059] Figure 3 The third flow forwarding strategy provided by the embodiment of the present application is shown in the architecture diagram.

[0060] Figure 4 The architecture diagram of the data transmission system provided by the embodiment of the present application is shown in the architecture diagram.

[0061] Figure 5 The flow chart of the data transmission method provided by the embodiment of the present application is shown in the flow chart. Figure 1 ;

[0062] Figure 6 The flow chart of the data transmission method provided by the embodiment of the present application is shown in the flow chart. Figure 2 ;

[0063] Figure 7 The flow chart of the data transmission method provided by the embodiment of the present application is shown in the flow chart.Figure 3 ;

[0064] Figure 8 The flowchart of the data transmission method provided for the embodiment of the present application Figure 4 ;

[0065] Figure 9 The structural diagram of the data transmission device provided for the embodiment of the present application

[0066] Figure 10 The structural diagram of the electronic device provided for the embodiment of the present application DETAILED DESCRIPTION

[0067] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described below in connection with the accompanying drawings of the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. The components of the embodiments of the present application described and shown in the accompanying drawings can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the accompanying drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of protection of the present application.

[0068] 5G local network is built based on 5G devices, including 5G terminal devices, 5G wireless base stations and 5G core network devices, which are exclusive to network owners, i.e. local users, and can be independently managed and easily deployed. 5G local network can eliminate the dependence on wired devices such as Ethernet, which are not only expensive and bulky, but also cannot connect a large number of mobile devices and personnel.

[0069] 5G local network can be configured locally and completely controlled by the network owner, for example, security, network resource usage, etc. The network owner can allocate higher priority to key devices to use network resources.

[0070] In the industrial Internet of Things (IIoT) scenario, sensors will be installed in factories to monitor environmental conditions, support quality control and customized manufacturing. Through the 5G local network, sensor data can be collected and analyzed to finely control all aspects of factory operations. It can transmit the analysis results to intelligent robots through the 5G local network to support product manufacturing or factory goods transportation; with the help of 5G local network, workers can wear lightweight augmented reality devices to complete device operation through virtual environment.

[0071] Almost any park, enterprise building or public place can deploy a 5G local network, especially in specific areas where public 5G network deployment is slow, 5G local network can achieve rapid deployment.

[0072] 5G LAN-type Services, i.e. LAN-type services built based on 5G network, can provide IP-type or Ethernet-type communication services for specific terminal groups (Virtual Network group, VN group). Terminals signed up for the same VN group communicate with each other in the same 5G LAN, and their communication has the characteristics of LAN communication.

[0073] A 5G VN group consists of the following three parts:

[0074] 1. 5G VN group identifier: External group identifier (Identity document, ID) and internal group ID are used to identify the 5G VN group. The external identifier is used for interaction with the application function (AF) network element in the network capability exposure scenario, and the internal identifier is used for interaction with the internal network element. The correspondence between the two is stored in the Unified Data Management (UDM) network element.

[0075] 2. 5G VN group members: 5G VN group members are uniquely identified by Generic Public Subscription Identifier (GPSI) and generated by subscription.

[0076] 3. 5G VN group data: including Protocol Data Unit (PDU) session type, Data Network Name (DNN), Single Network Slice Selection Assistance Information (S-NSSAI) and application descriptor, and information related to secondary authentication and authorization (e.g. IP address allocation enabled by DN-AAA [authentication, authorization, accounting]). Among them, the 5G VN group data can be dynamically configured according to business needs.

[0077] 5G LAN VN can support tens of thousands of terminal equipment (User Equipment, UE) numbers, and the UEs in the same VN can establish private communication of unicast, multicast and broadcast on demand. The UEs can belong to different public land mobile networks (Public Land Mobile Network, PLMN), and the access right of the UEs to the 5G LAN can be limited according to the location of the UEs.

[0078] Regarding the management of the 5G VN group, two aspects are mainly managed: the addition, deletion and modification of the VN group members, and the configuration of the VN group data. The management manner is also divided into two kinds: management through the internal operation maintenance and management (Operation Administration and Maintenance, OAM) platform, or opening the management capability to the external AF through the NEF (opening the management capability of the private network to the industry customers, which is also expected to meet the network capability opening of 5G).

[0079] The 5G VN communication allows the use of three types of traffic forwarding strategies:

[0080] Figure 1 The first traffic forwarding strategy provided by the embodiment of the present application is shown in the schematic diagram of the architecture as shown in Figure 1 The architecture diagram can include:

[0081] 1. UE: can also be referred to as user equipment, terminal, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user device. The UE can also be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a 5G network or a terminal device in a future evolved public land mobile network (PLMN), etc. It can also be an end device, a logical entity, a smart device, such as a mobile phone, a smart terminal, etc. terminal device, or a server, a gateway, a base station, a controller, etc. communication device, or an Internet of things (IoT) device, such as a sensor, a meter, a water meter, etc. The embodiments of the present application are not limited in this regard.

[0082] 2、Radio access network (AN): provides network access functions for authorized users in a specific area, and can use different quality transmission tunnels according to the level of users, business needs, etc. The access network can be an access network using different access technologies. There are two types of current wireless access technologies: 3rd Generation Partnership Project (3GPP) access technology (such as wireless access technology used in 3G, 4G or 5G systems) and non-3GPP access technology. The 3GPP access technology refers to the access technology conforming to the 3GPP standard specification, and the access network using the 3GPP access technology is called the Radio Access Network (RAN), wherein the access network equipment in the 5G system is called the next generation Node Base station (gNB). The non-3GPP access technology refers to the access technology that does not conform to the 3GPP standard specification, for example, the air interface technology represented by the access point (AP) in the wifi.

[0083] The access network that realizes the access network function based on the wireless communication technology can be referred to as a radio access network (RAN), wherein the NG-RAN represents the 5G access network. The radio access network can manage wireless resources and provide access services for terminals, and then complete the forwarding of control signals and user data between the terminal and the core network.

[0084] Among other things, an access network device can comprise a device that communicates with wireless terminals over an air interface in one or more sectors in an access network. The access network system can be used to inter-convert received air frames and Internet Protocol (IP) packets as a router between wireless terminals and the rest of the access network, which can include an IP network. The wireless access network system can also coordinate management of properties of the air interface. It should be understood that an access network device includes, but is not limited to, an evolved NodeB (eNB), a Radio Network Controller (RNC), a Node B (NB), a Base Station Controller (BSC), a Base Transceiver Station (BTS), a Home eNodeB, or Home NodeB (HNB), a Base Band Unit (BBU), an Access Point (AP) in a Wireless Fidelity (WiFi) system, a wireless relay node, a wireless backhaul node, a transmission and reception point (TRP or TP), etc., and can also be a gNB or a transmission point (TRP or TP) in a 5G, e.g., NR, system, one or a group of (including multiple antenna panels) antenna panels of a base station in a 5G system, or a network node constituting a gNB or a transmission point, such as a baseband unit (BBU) or a distributed unit (DU), etc.

[0085] In some deployments, a gNB can include a centralized unit (CU) and a DU. A gNB can also include a radio unit (RU). The CU implements part of the functionality of the gNB and the DU implements part of the functionality of the gNB, e.g., the CU implements the radio resource control (RRC), packet data convergence protocol (PDCP) layer functionality, and the DU implements the radio link control (RLC), media access control (MAC), and physical (PHY) layer functionality. Since the information at the RRC layer eventually becomes, or evolves from, information at the PHY layer, high layer signaling, such as RRC layer signaling, can also be considered as being transmitted by the DU, or by the DU + CU, under this architecture. It can be understood that an access network device can be a CU node, or a DU node, or a device including a CU node and a DU node. In addition, the CU can be divided into an access network device in a radio access network (RAN), or the CU can be divided into an access network device in a core network (CN), which is not limited here.

[0086] 3. Access and Mobility Management Function (AMF) network element, which is the termination point of RAN signaling interface (N2) and the termination point of MM message interface (N1) of non-access stratum (NAS) signaling. Main functions include: encryption and integrity protection of NAS message, responsible for registration, access, mobility management, authentication, short message, etc.

[0087] 4. Session Management Function (SMF) network element, the termination point for SM messages of NAS messages, main functions include: session establishment, modification, release, UE Internet Protocol Address (IP) allocation management, Dynamic Host Configuration Protocol (DHCP) function, Address Resolution Protocol (ARP) proxy or Internet Protocol Version 6 (IPv6) neighbor request proxy in the scenario of Ethernet Protocol Data Unit (PDU), selection and control of User Port Function (UPF) for a session, collection of charging data and support of charging interface, decision of session and service continuity mode (SSC) of a session, downlink data indication.

[0088] 5. User Plane Function (UPF) network element, main functions include: data packet routing and forwarding, quality of service (QoS) flow mapping, external PDU and data network interconnection session point, packet routing and forwarding, for example, support of uplink classifier to route traffic flows to instances of data network, support of branching point to support multi-host PDU session, data packet inspection, for example, application flow detection based on service data flow template and optional PFD received from SMF, user plane part policy rule implementation, for example, gating, redirection, traffic steering, lawful interception (UP collection), traffic usage reporting, QoS handling of user plane, for example, upload (UL) / download (DL) rate enforcement, reflective QoS marking in DL), uplink traffic verification (for example, service data flow (SDF) to QoS flow mapping), transport level packet marking in uplink and downlink, downlink packet buffering and downlink data notification triggering, sending and forwarding of one or more “end markers” to the source NG-RAN node.

[0089] 6. Policy Control Function (PCF) network element, supporting unified policy framework and managing network behavior, providing policy rules to network entities, accessing subscription information of Universal Data Repository (UDR), PCF can only access UDR of the same Public Land Mobile Network (PLMN), and can also be used for packet routing and forwarding, or quality of service (QoS) processing of user plane data, etc.

[0090] 7. Network Exposure Function (NEF) network element, main functions including: 3GPP network elements present their capabilities to other network elements through NEF, NEF stores relevant information into UDR and can also obtain relevant information from UDR, wherein NEF can only access UDR of the same PLMN, NEF provides corresponding security guarantee to ensure the security of external applications to 3GPP network, conversion of 3GPP internal and external related information, such as conversion of AF-Service-Identifier and Data Network Name (DNN) in 5G core network, S-NSSAI, etc., especially network and user sensitive information must be hidden from external network elements, NEF can obtain relevant information of other network elements by accessing UDR, and NEF can only access UDR of the same PLMN.

[0091] 8. Network function (NF) repository function (NRF) network element, main functions including: supporting service discovery function, that is, receiving service discovery request (NF-Discovery-Request) sent by network element, and then providing discovered network element information to requester, maintaining characteristics of available network element instances and their supported service capabilities, wherein the characteristic parameters of a network element mainly include: network element instance identity document (ID), network element type, PLMN, related ID of network slice, such as Single Network Slice Selection Assistance Information (S-NSSAI), Network Slice Instance IDentifier (NSIID), IP or domain name of network element, capability information of network element, and supported service capability name, etc.

[0092] 9. Unified Data Manager (UDM) network element, main functions include: generating 3GPP authentication credentials / authentication parameters, storing and managing the permanent user ID of the 5G system, such as the Subscription Permanent Identifier (SUPI), subscription information management, Mobile originate-Short Messaging Service (MT-SMS) delivery, SMS management, and user service network element registration management, such as the AMF and SMF currently providing services for the terminal.

[0093] 10. Authentication Server Function (AUSF) network element, supporting authentication for 3GPP access and trusted non-3GPP (untrusted non-3GPP) access.

[0094] 11. Application function (AF) network element, used for data routing for application influence, access to a network exposure function network element, or interact with a policy framework for policy control, etc.

[0095] 12. The Network Slice Selection Function (NSSF) network element, used for managing network slice related information.

[0096] 13. Data Network (DN) network element, used for forwarding received data packets to the next node with the optimal route, and also responsible for implementing functions such as routing protocol, routing management, and routing maintenance.

[0097] 14. Network Slice-Specific Authentication and Authorization Function (NSSAAF), used for individual identity verification and authorization for each network slice.

[0098] 15. The Service Communication Proxy (SCP) network element, implementing the communication proxy function between NFs.

[0099] It should be noted that the N1 interface is a reference point between the UE and the AMF network element; the N2 interface is a reference point between the (R)AN and the AMF network element, used for sending NAS messages, etc.; the N3 interface is a reference point between the (R)AN and the UPF network element, used for transmitting user plane data, etc.; the N4 interface is a reference point between the SMF network element and the UPF network element, used for transmitting, for example, tunnel identification information of the N3 connection, data buffering indication information, and downlink data notification messages, etc.; the N6 interface is a reference point between the UPF network element and the DN; the N9 interface is an interface between UPF network elements, used to transfer uplink and downlink user data streams between UPFs. For single session, multiple anchor points. When roaming, also through N9 connection.

[0100] The Nnef interface is a service access interface provided by the AMF network element to the outside; the Nnrf interface is a service access interface provided by the NRF network element to the outside; the Npef interface is a service access interface provided by the PCF network element to the outside; the Nudm interface is a service access interface provided by the UDM network element to the outside; the Naf interface is a service access interface provided by the AF network element to the outside; the Nausf interface is a service access interface provided by the AUSF network element to the outside; the Namf interface is a service access interface provided by the AMF network element to the outside; the Nsmf interface is a service access interface provided by the SMF network element to the outside; the Nnssaaf interface is a service access interface provided by the NSSAAF network element to the outside; and the Npcf is a service access interface provided by the PCF network element to the outside.

[0101] It can be seen that, in the architecture diagram of Figure 1 , the first traffic forwarding strategy is based on the N6 interface, and the UL / DL traffic of 5G VN communication is forwarded to or from the DN (local network access external data network requirement).

[0102] Figure 2 The architecture diagram of the second traffic forwarding strategy provided by the embodiment of the application is shown in Figure 1 , which involves two groups of PDU sessions, respectively: UE1, (R)AN, I-UPF network element, session anchor (PDU Session Anchor, PSA) network element, UE2, (R)AN, I-UPF network element, session anchor (PDU Session Anchor, PSA) network element.

[0103] The N3 interface is a reference point between the (R)AN and the I-UPF network element, used for transmitting user plane data, etc., and the N19 interface is a reference point between the I-UPF network element and the PSA, and the N19 is a reference point between the two PSA UPFs of the two PDU sessions.

[0104] In the mobile scenario, an I-UPF is inserted between the UE and the PSA UPF for traffic forwarding, and the GTP-U protocol is used between the two UPFs for user plane message transmission.

[0105] As can be seen in the architecture diagram of Figure 2 , the second traffic forwarding strategy is based on N19, and the UL / DL communication of the 5G VN group communication is forwarded between the PSA UPFs of different PDU sessions through N19. The UPF is a UPF with routing judgment and forwarding capability. The N19-based traffic forwarding generally occurs in the cross-regional 5G LAN VN communication scenario, and the receiving and transmitting users belong to different regional UPFs.

[0106] Figure 3 The third traffic forwarding strategy provided by the embodiment of the present application is shown in the architecture diagram as Figure 3 , which involves two groups of PDU sessions, i.e., UE1, (R)AN, I-UPF network element, UE2, (R)AN, I-UPF network element, and PSA UPF network element.

[0107] Among them, the PSA UPF is divided into PSA1 UPF and PSA2 UPF. The PSA1 UPF is a UPF that allocates a user plane IP to the UE when the UE is activated, and is also a session anchor point for the UE to access the Internet, referred to as the main anchor point UPF. The PSA2 UPF is a PDU session anchor point for the UE to access the local network, also referred to as the auxiliary anchor point UPF.

[0108] The N3 interface is a reference point between the (R)AN and the I-UPF network element, used for transmitting user plane data, etc. The N19 is a reference point between the two I-UPF network elements and the local switch.

[0109] As can be seen in the architecture diagram of Figure 3 , based on the local switch (i.e., the PSA UPF network element), if the UPF is a general PSA UPF for different PDU sessions of the same 5G VN group, the traffic is forwarded locally by a single UPF. Based on the local switch traffic forwarding, it generally occurs in the scenario where the enterprise needs to sink the dedicated UPF into the park and hopes that the data does not go out of the park. In other scenarios, the SMF will try to select the same PSA UPF for the communication parties in order to realize local switching.

[0110] It is worth mentioning that the 5G VN traffic forwarding policy is determined by the PDU session policy, which is executed by the SMF, and the SMF receives the PDU session policy associated with the UE of the VN group from the PCF, including the user route selection policy (UE RouteSelection Policy, URSP). The PDU session policy is generated by the PCF according to the AF request conversion, and is a policy suitable for the 5G VN group. The AF request can be considered as a customer request according to the actual business model, and the traffic identification and routing forwarding policy requirement of the 5G LAN VN, and the ability to dynamically update the policy can be opened to the AF through the NEF.

[0111] In the VN communication session management, all PDU sessions of a 5G VN group communication are managed by a dedicated SMF, and the same SMF is always selected during the session process. The SMF retrieves the SM subscription data related to the 5G LAN type service from the UDM as part of the UE subscription data of the DNN.

[0112] During the establishment of the PDU session, secondary authentication is performed to authenticate and authorize the UE to access the DNN associated with the 5G VN group (i.e. the DNN is subscribed in the VN group data). The identity verification and authorization of the DNN using secondary authentication (two-way authentication) means identity verification and authorization of the associated 5G VN group. The PDU session provides access to one and only one 5G VN group. The UE provides the DNN associated with the 5G VN group to access the 5G LAN type service of the 5G VN using the PDU session establishment process.

[0113] The session management related policy control of the DNN and S-NSSAI is applicable to the DNN and S-NSSAI associated with the 5G VN group. This also includes the use of URSP so that the UE determines how to route outgoing traffic to the PDU session of the DNN and S-NSSAI associated with the 5G VN group.

[0114] The PDU session provides unicast, broadcast and multicast communication for the DNN and S-NSSAI associated with the 5G VN group. The PSA UPF determines whether the communication is for unicast, broadcast or multicast based on the destination address of the received data, and performs unicast, broadcast or multicast communication processing.

[0115] 5G VN GROUP data can be stored in UDM, which includes the following features: NEF provides external group ID, 5G VN GROUP member information and 5G VN GROUP data to UDM; if necessary, UDM updates the internal group ID list of the subscription data of the corresponding UE in UDR; if necessary, UDM updates the group identifier conversion in the group subscription data using the internal group ID, external group ID and group member list; UDM stores / updates 5G VN GROUP data (PDU session type, DNN and S-NSSAI, application descriptor, information related to secondary authentication / authorization) in UDR; if the UE is a member of the 5G VN GROUP, UDM retrieves the UE subscription data and the corresponding 5G VN GROUP data from UDR, and provides the UE subscription data containing the 5G VN GROUP data to the AMF and SMF; in the R16 specification, only 1:1 mapping between DNN and 5G VN GROUP is supported; DNN and S-NSSAI are associated with 5G VN GROUP; the SM-level subscription data of DNN and S-NSSAI provided in UDM is applicable to the DNN and S-NSSAI associated with the 5G VN GROUP; the AF can update the UE identity of the 5G VN GROUP to the UDM at any time after the initial configuration.

[0116] For 5G LAN services, the following problems exist:

[0117] 1. In the 3GPP standard, 5G LAN services must rely on terminals with the ability to support 5G LAN-type services, and such terminals are currently expensive and almost not deployed in 5G local networks. Using the above terminals requires a large number of replacements of existing network equipment, which is costly.

[0118] 2. Currently, terminals deployed in 5G local networks mainly support 5G LAN service operation through the establishment of a virtual extensible local area network (VxLAN) tunnel, but this method requires tunnel parameter configuration on the terminal side, and is currently mainly implemented through manual configuration. When the number of terminals is large, the above method is time-consuming and laborious, and when configuration errors occur, it is difficult to quickly troubleshoot.

[0119] Based on this, the application provides a data transmission method, by constructing a virtual local area network facing the 5G local network, without updating the 5G network protocol stack inside the terminal, the 5G LAN communication capability can be provided, so that the existing network equipment does not need to be replaced, the cost is reduced, at the same time, without manually configuring the VxLAN parameters on the terminal device side, by pre-setting the related parameters, the VxLAN tunnel can be established between the UPF network element and the terminal device, and the IP address of the industrial networking device connected by the terminal is supported by the 5G local network, which realizes that the industrial networking device accesses the 5G LAN through the plug-and-play mode.

[0120] The data transmission method provided by the application will be described below in combination with several specific embodiments.

[0121] Figure 4 The architecture schematic diagram of the data transmission system provided by the embodiment of the application is shown in Figure 4 The system architecture includes: NSSF network element, NEF network element, NRF network element, PCF network element, UDM network element, AF network element, AUSF network element, AMF network element, SMF network element, UPF network element, NG-RAN, UE, industrial equipment, network management server, and the specific introduction of the system architecture can be referred to Figure 1 Embodiments.

[0122] It is worth noting that in the system architecture, the UPF network element is connected with the industrial equipment through the N6 interface; the UE can access the 5G local network through the NG-RAN, the UE is connected with the NG-RAN through the Uu interface, and the UE is connected with the industrial equipment through the local network interface, Figure 4 Taking two UEs and three industrial equipments as an example, in addition, the UPF network element can also be connected with the network management server (such as the 5G local network management server) through the N6 interface.

[0123] The industrial equipment can be a sensor device, which can be used to collect environmental information in an industrial environment, such as factory environment video, factory environment image, factory environment temperature and humidity, etc., and the industrial equipment can send the environmental information to the UE through the local network interface, and the UE sends the environmental information to the network management server through the 5G local network.

[0124] In the technical solution of the present application, the UPF network element establishes a VxLAN tunnel with the UE after completing the PDU session establishment with the UE, and the tunnel only supports the UPF to send data to the UE. The UE can establish a VxLAN tunnel between the UE and the UPF network element according to the pre-configured VxLAN tunnel remote IP address, and the tunnel only supports the UE to send data to the UPF network element. In this way, there is no need to manually configure the VxLAN parameters on the terminal side, and the VxLAN tunnel between the UPF and the UE can be established by pre-setting the relevant parameters. At the same time, the 5G LAN communication capability can be provided without updating the internal 5G network protocol stack of the terminal. In addition, the IP address of the industrial networking device connected by the terminal can be automatically detected by the 5G network, and the industrial networking device can be connected to the 5G LAN in a plug-and-play manner.

[0125] It should be understood that the above architecture applied to the embodiments of the present application is only a network architecture described from the perspective of the traditional point-to-point architecture and the service-oriented architecture, and the network architecture applicable to the embodiments of the present application is not limited thereto. Any network architecture capable of realizing the functions of the above-mentioned network elements is applicable to the embodiments of the present application. It should be understood that the above-mentioned network elements can communicate with each other through a pre-set interface, which will not be described here.

[0126] It should also be understood that Figure 4 The core network shown in the above-mentioned core network includes network elements for realizing different functions. These core network elements can be independent devices or can be integrated into the same device to realize different functions, and the present application does not limit this.

[0127] It should be understood that the above-mentioned names are only used to distinguish different functions and do not represent that these network elements are independent physical devices. The present application does not limit the specific form of the above-mentioned network elements, for example, they can be integrated into the same physical device or can be different physical devices. In addition, the above-mentioned names are only used to distinguish different functions and should not constitute any limitation on the present application. The present application does not exclude the possibility of using other names in 5G networks and future other networks. For example, in a 6G network, part or all of the above-mentioned network elements can use the terms in 5G or other names. A unified description is made here and will not be described below.

[0128] It should also be understood that Figure 4 The interface names between the network elements in the above-mentioned network elements are only an example, and the names of the interfaces in the specific implementation can be other names, and the present application does not limit this. In addition, the names of the messages (or signaling) transmitted between the above-mentioned network elements are also only an example, and the functions of the messages themselves are not limited.

[0129] Figure 5 Flowchart of the data transmission method provided by the embodiments of the present application Figure 1The execution subject of the embodiment can be a UPF network element.

[0130] As shown in the method can include: Figure 5

[0131] S101, receiving a to-be-transmitted data frame sent by a first industrial device.

[0132] The first industrial device can be a sensor device, configured to collect the to-be-transmitted data frame and send the to-be-transmitted data frame to the UPF network element. The to-be-transmitted data frame includes an identifier of a second industrial device, for example, a physical address or a virtual local area network identifier. The physical address can be a media access control address (MAC), and the virtual local area network identifier can be a virtual local area network (VLAN) ID, which can be a VLAN identifier allocated by a user to the industrial device in advance.

[0133] It is worth noting that for the 5G LAN service, the first industrial device is the data frame sender, the second industrial device is the data frame receiver, the to-be-transmitted data frame can be an Ethernet data frame, and the transmission type of the to-be-transmitted data frame can be unicast, multicast or broadcast. Unicast refers to data transmission to a specific host, multicast refers to data transmission to a group of specific hosts, and broadcast refers to data transmission to all hosts on a network.

[0134] S102, determining whether the protocol address of a target terminal device connected by the second industrial device is included in a preset routing forwarding table according to the identifier of the second industrial device.

[0135] The routing forwarding table includes identifiers of a plurality of industrial devices and protocol addresses of terminal devices connected by the plurality of industrial devices.

[0136] The UPF network element indexes and searches the routing forwarding table according to the identifier of the second industrial device to determine whether the protocol address of the target terminal device connected by the second industrial device is included in the routing forwarding table. The target terminal device is a terminal device connected by the second industrial device, and the protocol address of the target terminal device can be an IP address of the target terminal device.

[0137] S103, if the protocol address of the target terminal device is included in the routing forwarding table, determining a target receiving tunnel corresponding to the target terminal device according to the protocol address of the target terminal device.

[0138] ​If the protocol address of the target terminal device is included in the routing forwarding table, the UPF network element obtains the protocol address of the target terminal device from the routing forwarding table, and according to the protocol address of the target terminal device, the target receiving tunnel corresponding to the target terminal device can be determined, wherein the terminal device and the receiving tunnel have a corresponding relationship, and the target receiving tunnel can be determined by querying the corresponding relationship.

[0139] The target receiving tunnel is a tunnel for the target terminal device to receive data sent by the UPF network element, that is, a one-way tunnel from the UPF network element to the target terminal device, and the tunnel only supports the UPF network element to send data to the target terminal device.

[0140] The target receiving tunnel can be a VxLAN tunnel, and the UPF network element initiates a tunnel establishment process with the target terminal device in advance according to the IP address of the target terminal device, and completes the tunnel establishment between the UPF network element and the target terminal device, wherein the remote IP address of the tunnel is the IP address of the UE.

[0141] S104, using the target receiving tunnel, transmitting the to-be-transmitted data frame to the target terminal device, so that the target terminal device forwards the to-be-transmitted data frame to the second industrial device.

[0142] The UPF network element transmits the to-be-transmitted data frame to the target terminal device using the target receiving tunnel, and the target terminal device is configured to forward the to-be-transmitted data frame to the second industrial device, wherein the UPF can transmit the to-be-transmitted data frame to the target terminal device through the wireless NG-RAN using the target receiving tunnel, so that the target terminal device forwards the to-be-transmitted data frame to the second industrial device using a local network interface.

[0143] In the data transmission method of the embodiment, for the 5G LAN service, it is not necessary to manually configure VxLAN parameters on the terminal side, and by pre-setting relevant parameters, a VxLAN tunnel can be established between the UPF and the UE, and at the same time, the 5G LAN communication capability can be provided without updating the internal 5G network protocol stack of the terminal.

[0144] Figure 6 Flowchart of the data transmission method provided by the embodiment of the application Figure 2 As shown in Figure 6 If the to-be-transmitted data frame is a unicast data frame and the identifier of the second industrial device is a physical address, in an optional embodiment, step S102, according to the identifier of the second industrial device, judges whether the protocol address of the target terminal device connected by the second industrial device is included in the preset routing forwarding table, which can include:

[0145] S201, according to the physical address of the second industrial device, judges whether the protocol address of the target terminal device is included in the routing forwarding table.

[0146] According to the physical address of the second industrial equipment, the routing forwarding table is indexed and searched, and it is determined whether the protocol address of the target terminal equipment is included in the routing forwarding table, wherein the routing forwarding table includes the physical addresses of a plurality of industrial equipment and the protocol addresses of the terminal equipment connected by each industrial equipment. The physical address can be a MAC address, and the protocol address can be an IP address.

[0147] If the to-be-transmitted data frame is a broadcast data frame or a multicast data frame, the identifier of the second industrial equipment is a virtual local area network identifier; in an optional embodiment, step S102, according to the identifier of the second industrial equipment, it is determined whether the protocol address of the target terminal equipment connected by the second industrial equipment is included in the preset routing forwarding table, which can include:

[0148] S202, according to the virtual local area network identifier of the second industrial equipment, it is determined whether the protocol address of the target terminal equipment is included in the routing forwarding table.

[0149] According to the virtual local area network identifier of the second industrial equipment, the routing forwarding table is indexed and searched, and it is determined whether the protocol address of the target terminal equipment is included in the routing forwarding table, wherein the routing forwarding table includes the virtual local area network identifiers of a plurality of industrial equipment and the protocol addresses of the terminal equipment connected by each industrial equipment. The virtual local area network identifier can be a VLAN ID.

[0150] That is, the UPF network element can query the routing forwarding table according to different identifiers according to the transmission type of the received to-be-transmitted data frame. For unicast transmission, since it is one-to-one transmission, the routing forwarding table can be searched according to the MAC address of the second industrial equipment in the to-be-transmitted data frame to determine the IP address of the target terminal equipment connected with the second industrial equipment. For multicast or broadcast transmission, since it is one-to-many transmission, the routing forwarding table can be searched according to the VLAN ID of the second industrial equipment in the to-be-transmitted data frame to determine the IP address of the target terminal equipment. The VLAN ID is a VLAN identifier pre-assigned to the industrial equipment by the user. At least two industrial equipment share the same VLAN ID. In this way, when multicast or broadcast transmission is performed, the VLAN ID needs to be carried in the to-be-transmitted data frame, so that the plurality of data frame receivers can be determined, and the processing efficiency is higher.

[0151] Figure 7 Flowchart of the data transmission method provided by the embodiment of the application Figure 3 As shown in Figure 7 In an optional embodiment, step S101, receiving the to-be-transmitted data frame sent by the first industrial equipment can include:

[0152] S301, using the interface between the UPF network element and the first industrial equipment, receiving the to-be-transmitted data frame sent by the first industrial equipment.

[0153] The first industrial equipment and the UPF network element can be connected through an interface, which can be, for example, an N6 interface. The first industrial equipment sends the to-be-transmitted data frame to the UPF network element through the interface between the UPF network element and the first industrial equipment. Correspondingly, the UPF network element receives the to-be-transmitted data frame sent by the first industrial equipment through the interface. The to-be-transmitted data frame can be a unicast or broadcast / multicast data frame.

[0154] In another optional implementation, the step S101 of receiving the to-be-transmitted data frame sent by the first industrial equipment can include:

[0155] S302, receiving the to-be-transmitted data frame sent by the first industrial equipment through the target transmission tunnel.

[0156] The target transmission tunnel is a tunnel through which a terminal device connected to the first industrial equipment transmits data to the UPF network element, that is, a one-way tunnel from the terminal device connected to the first industrial equipment to the UPF network element. The tunnel only supports the terminal device connected to the first industrial equipment to transmit data to the UPF network element.

[0157] The first industrial equipment can be connected to a terminal device, and the first industrial equipment can send the to-be-transmitted data frame to the terminal device. The terminal device transmits the to-be-transmitted data frame to the UPF network element through the target transmission tunnel. It can be understood that the terminal device can transmit the to-be-transmitted data frame to the UPF network element through the wireless NG-RAN through the target transmission tunnel. The to-be-transmitted data frame can be a unicast or broadcast / multicast data frame.

[0158] The target transmission tunnel can be a VxLAN tunnel. The terminal device connected to the first industrial equipment can initiate a tunnel establishment process with the UPF network element according to a preconfigured fixed IP address, and complete tunnel establishment between the UPF network element. The remote IP address of the tunnel is the preconfigured fixed IP address.

[0159] In this embodiment, it is not necessary to manually configure VxLAN parameters on the terminal side. By preconfiguring relevant parameters, a VxLAN tunnel can be established between the UPF and the UE, and data transmission can be realized based on the established VxLAN tunnel.

[0160] Figure 8 Flowchart of the data transmission method provided by the embodiment of the application Figure 4 As shown in Figure 8 In an optional implementation, before the step S102 of judging whether the protocol address of the target terminal device connected to the second industrial equipment is included in the preset routing forwarding table according to the identifier of the second industrial equipment, the method can further include:

[0161] S401. Obtain networking information of a plurality of industrial devices from a network manager.

[0162] The network management server can be a 5G local network management server, the network management server is connected with the UPF network element, the network management system can be installed on the network management server, and the user can input the networking information of the plurality of industrial devices through the network management system. The UPF network element reads the networking information of the plurality of industrial devices from the network management server.

[0163] The networking information includes a protocol address and a virtual local area network identifier of the corresponding industrial device. The protocol address can be an IP address, and the virtual local area network identifier can be a VLAN ID. The specific form is as follows: <IP address, VLAN ID>, wherein the IP address is an IP address allocated by the user for the industrial device, and the VLAN ID is a VLAN identifier allocated by the user for the industrial device.

[0164] S402. Obtain the physical address of the plurality of industrial devices according to the protocol address of the plurality of industrial devices.

[0165] The UPF network element can send an address resolution (Address Resolution Protocol, ARP) request to each industrial device through a terminal device connected to each industrial device according to the protocol address of each industrial device. The ARP request includes the IP address of each industrial device. Each industrial device returns an address resolution response to the UPF through the terminal device connected to each industrial device after receiving the corresponding address resolution request. The address resolution response includes the physical address of each industrial device.

[0166] In an optional embodiment, step S402, obtaining the physical address of the plurality of industrial devices according to the protocol address of the plurality of industrial devices, can include:

[0167] After the terminal device connected to the plurality of industrial devices completes session establishment, a plurality of receiving tunnels corresponding to the plurality of terminal devices are established respectively. A plurality of address resolution requests are sent to the plurality of terminal devices through the plurality of receiving tunnels respectively. A plurality of address resolution responses returned by the plurality of terminal devices based on target address resolution requests in the plurality of address resolution requests are received through a plurality of sending tunnels respectively.

[0168] The plurality of terminal devices are terminal devices connected with the plurality of industrial devices, one terminal device is connected with one industrial device, after the UPF network element and the plurality of terminal devices connected with the plurality of industrial devices complete session establishment, according to the protocol addresses of the plurality of terminal devices, tunnel establishment processes are respectively initiated with the plurality of terminal devices connected with the plurality of industrial devices, to respectively establish a plurality of receiving tunnels corresponding to the plurality of terminal devices, the receiving tunnel is a tunnel for the terminal device to receive data sent by the UPF network element, and the tunnel only supports the UPF network element to send data to the terminal device, wherein the far-end IP of the tunnel is the IP address of the terminal device.

[0169] The UPF network element adopts a plurality of receiving tunnels to send a plurality of address resolution requests to the plurality of terminal devices, and the plurality of address resolution requests respectively include the protocol address of one terminal device, that is, the UPF network element adopts each receiving tunnel to simultaneously send a plurality of address resolution requests to the terminal device corresponding to each receiving tunnel.

[0170] After the terminal device receives the plurality of address resolution requests, the terminal device can forward the plurality of address resolution requests from the local network interface to the connected industrial device, after the industrial device receives the plurality of address resolution requests sent by the terminal device, the industrial device reads the protocol address in the address resolution request, if the protocol address is the protocol address of the local machine, the address resolution request is determined as a target address resolution request, and an address resolution response is returned to the terminal device, the terminal device adopts a corresponding sending tunnel to send an address resolution response based on the target address resolution request to the UPF network element, correspondingly, the UPF network element adopts a plurality of receiving tunnels to respectively receive a plurality of address resolution responses returned by the plurality of terminal devices based on the target address resolution request, the address resolution response includes the physical address of the industrial device connected with the corresponding terminal device, the plurality of sending tunnels are tunnels for the plurality of terminal devices to send data to the UPF network element, one terminal device corresponds to one sending tunnel, and the terminal device establishes the sending tunnel with the UPF network element according to the preconfigured fixed IP address, and the tunnel only supports the terminal device to send data to the UP network element.

[0171] It is worth noting that after the plurality of terminal devices connected with the plurality of industrial devices access the 5G local network, a PDU session is established with the UPF, the PDU session data packet can include a preconfigured IP address, after the UPF network element receives the data packet, the data packet is transferred to the local VxLAN module for processing, the VxLAN module is a module built in the UPF network element for processing VxLAN tunnel data, and the UPF network element establishes a VxLAN tunnel between the UPF network element and the terminal device through the VxLAN module.

[0172] S403, according to the physical addresses of the plurality of industrial devices, the virtual local area network identifiers of the plurality of industrial devices, and the protocol addresses of the terminal devices connected with the plurality of industrial devices, a routing and forwarding table is generated.

[0173] The UPF generates a routing forwarding table according to the physical addresses of the plurality of industrial devices, the virtual local area network identifiers of the plurality of industrial devices, and the protocol addresses of the terminal devices connected by the plurality of industrial devices, wherein the routing forwarding table comprises the physical addresses of the plurality of industrial devices, the virtual local area network identifiers of the plurality of industrial devices, and the protocol addresses of the terminal devices connected by the plurality of industrial devices.

[0174] The routing forwarding table can further comprise the protocol addresses of the plurality of industrial devices, and the routing forwarding table can be in the form of [<IP address A, IP address B, MAC address, VLAN ID>], wherein the routing forwarding table is a list, each table entry of the list is <IP address A, IP address B, VLAN ID>, IP address A is an IP address of the industrial device, IP address B is an IP address of a terminal device connected by the industrial device, MAC address is a MAC address of the industrial device, and VLAN ID is a VLAN identifier corresponding to IP address A (i.e., a VLAN identifier of the industrial device), and the VLAN ID is obtained by the UPF network element from a network management system by taking IP address A as an index.

[0175] In the data transmission method of the embodiment, the routing forwarding table is established to realize data transmission, and the 5G LAN communication capability can be provided without updating the internal 5G network protocol stack of the terminal, and the VxLAN tunnel can be established between the UPF and the UE without manually configuring the VxLAN parameters on the terminal side by pre-setting the related parameters, and the 5G local network can automatically detect the IP address of the industrial device connected by the terminal, and the industrial device can be connected to the 5G LAN in a plug-and-play manner.

[0176] Based on the above embodiment, the data transmission method provided in the present application is described in detail as follows:

[0177] Step 1: The user inputs the industrial device networking information to the network management system, and the specific form is as follows: <IP address, VLAN ID>.

[0178] Step 2: The VxLAN tunnel remote IP address on the UE side is pre-set to a certain fixed value (for example, 192.168.1.99).

[0179] Step 3: After the UE accesses the 5G local network, a PDU session connection is established with the UPF network element.

[0180] Step 4: After the UPF network element receives a data packet with a destination IP address being the preset address in step 2, the data packet is transferred to the local VxLAN module for processing.

[0181] Step 5, UE establishes VxLAN tunnel according to pre-configured VxLAN tunnel remote IP address, which only supports UE sending data to UPF.

[0182] Step 6, UPF network element establishes VxLAN tunnel to UE after completing PDU session establishment with UE, the tunnel remote IP address is UE's IP address, and only supports UPF network element sending data to UE.

[0183] Step 7, UPF network element reads industrial device networking information input by user in step one after completing VxLAN tunnel establishment in step five. UPF network element sends ARP request to IP address in networking information, and these ARP requests are sent to all UEs through VxLAN tunnel established in step 5.

[0184] Step 8, UE forwards ARP requests from local network interface after receiving ARP requests sent by UPF from VxLAN tunnel.

[0185] Step 9, industrial device receives ARP request sent by UE, reads IP address requested in the request, and returns ARP response to UE if the IP address is local IP address. Otherwise, UE ignores the request.

[0186] Step 10, UE forwards ARP response returned by industrial networking device in step 9 to UPF network element through VxLAN tunnel established in step 5.

[0187] Step 11, UPF network element reads IP address in ARP response forwarded by UE from VxLAN tunnel, and establishes routing forwarding table with the IP address as index, which is specifically represented as [<IP address A, IP address B, MAC address, VLAN ID>].

[0188] Step 12, UPF network element receives unicast Ethernet data frame from N6 interface, reads destination MAC address in the frame, and searches local routing forwarding table with the MAC address as index. If the routing forwarding table exists, UPF network element processes according to step 13. Otherwise, UPF discards the data frame.

[0189] Step 13, UPF network element reads IP address B from routing forwarding table, and forwards Ethernet data frame to UE through VxLAN tunnel corresponding to the address.

[0190] Step 14, UE forwards unicast Ethernet data frame received from VxLAN tunnel to local network interface.

[0191] Step 15, after the UE receives the Ethernet data frame from the local network interface, it forwards the Ethernet data frame to the UPF network element through the VxLAN tunnel.

[0192] Step 16, after the UPF network element receives the unicast Ethernet data frame from the VxLAN tunnel, it reads the destination MAC address in the Ethernet data frame and uses the destination MAC address as an index to search the local routing forwarding table. If the routing forwarding table exists, the UPF processes according to step 17. Otherwise, the UPF forwards the Ethernet data frame to the N6 interface.

[0193] Step 17, the UPF network element reads the IP address B from the routing forwarding table and forwards the Ethernet data frame to another UE through the VxLAN tunnel corresponding to the IP address B.

[0194] Step 18, after the UPF network element receives the broadcast or multicast Ethernet data frame from the N6 interface, it reads the VLAN ID in the Ethernet data frame and uses the VLAN ID as an index to search the local routing forwarding table. If the routing forwarding table exists, the UPF processes according to step 19. Otherwise, the UPF discards the Ethernet data frame.

[0195] Step 19, the UPF network element reads the IP address B from the routing forwarding table and forwards the Ethernet data frame to the UE through the VxLAN tunnel corresponding to the IP address B.

[0196] Step 20, after the UPF receives the broadcast or multicast Ethernet data frame from the VxLAN tunnel, it reads the VLAN ID in the Ethernet data frame and uses the VLAN ID as an index to search the local routing forwarding table. If the routing forwarding table exists, the UPF processes according to step 21. Otherwise, the UPF forwards the Ethernet data frame to the N6 interface.

[0197] Step 21, the UPF reads the IP address B from the routing forwarding table and forwards the Ethernet data frame to another UE through the VxLAN tunnel corresponding to the IP address B.

[0198] Based on the same inventive concept, the embodiments of the present application also provide a data transmission device corresponding to the data transmission method. Since the principle of the device in the embodiments of the present application solves the problem similar to the above-mentioned data transmission method, the implementation of the device can be referred to the implementation of the method, and the repeated parts will not be described here.

[0199] Figure 9 The structure diagram of the data transmission device provided in the embodiments of the present application is shown in the figure. As shown in the figure, the device can be integrated in an electronic device. As shown in the figure, the device can include: Figure 9

[0200] The receiving module 501 is configured to receive a to-be-transmitted data frame sent by a first industrial device, and the to-be-transmitted data frame includes an identifier of a second industrial device. ​

[0201] The determining module 502 is configured to determine whether the protocol address of the target terminal device connected by the second industrial device is included in the preset routing forwarding table according to the identifier of the second industrial device, the routing forwarding table including identifiers of a plurality of industrial devices and protocol addresses of terminal devices connected by the plurality of industrial devices.

[0202] The determining module 503 is configured to determine a target receiving tunnel corresponding to the target terminal device according to the protocol address of the target terminal device if the protocol address of the target terminal device is included in the routing forwarding table.

[0203] The transmitting module 504 is configured to transmit the to-be-transmitted data frame to the target terminal device by using the target receiving tunnel, so that the target terminal device forwards the to-be-transmitted data frame to the second industrial device.

[0204] In an optional embodiment, the identifier of the second industrial device is a physical address if the to-be-transmitted data frame is a unicast data frame.

[0205] The determining module 502 is specifically configured to:

[0206] determine whether the protocol address of the target terminal device is included in the routing forwarding table according to the physical address of the second industrial device, the routing forwarding table including physical addresses of a plurality of industrial devices and protocol addresses of terminal devices connected by each of the plurality of industrial devices.

[0207] In an optional embodiment, the identifier of the second industrial device is a virtual local area network identifier if the to-be-transmitted data frame is a broadcast data frame or a multicast data frame.

[0208] The determining module 502 is specifically configured to:

[0209] determine whether the protocol address of the target terminal device is included in the routing forwarding table according to the virtual local area network identifier of the second industrial device, the routing forwarding table including virtual local area network identifiers of a plurality of industrial devices and protocol addresses of terminal devices connected by each of the plurality of industrial devices.

[0210] In an optional embodiment, the receiving module 501 is specifically configured to:

[0211] receive the to-be-transmitted data frame sent by the first industrial device by using an interface between the UPF network element and the first industrial device.

[0212] In an optional embodiment, the receiving module 501 is specifically configured to:

[0213] receive the to-be-transmitted data frame sent by the first industrial device by using a target sending tunnel, the target sending tunnel being a tunnel used by a terminal device connected by the first industrial device to send data to the UPF network element.

[0214] In an optional implementation, the apparatus further includes:

[0215] The obtaining module 505 is configured to obtain networking information of the plurality of industrial devices from the network manager, the networking information including: a protocol address and a virtual local area network identifier of a corresponding industrial device.

[0216] The obtaining module 505 is further configured to obtain a physical address of the plurality of industrial devices according to the protocol address of the plurality of industrial devices.

[0217] The generating module 506 is configured to generate a routing and forwarding table according to the physical address of the plurality of industrial devices, the virtual local area network identifier of the plurality of industrial devices, and a protocol address of a terminal device connected by the plurality of industrial devices.

[0218] In an optional implementation, the obtaining module 505 is specifically configured to:

[0219] After the terminal device connected with the plurality of industrial devices completes session establishment, a plurality of receiving tunnels corresponding to the plurality of terminal devices are established respectively;

[0220] The plurality of receiving tunnels are used to respectively send a plurality of address resolution requests to the plurality of terminal devices, and the plurality of address resolution requests respectively include: a protocol address of one industrial device.

[0221] The plurality of sending tunnels are used to respectively receive an address resolution response returned by the plurality of terminal devices based on a target address resolution request in the plurality of address resolution requests, and the address resolution response includes: a physical address of an industrial device connected by a corresponding terminal device, and the plurality of sending tunnels are tunnels used by the plurality of terminal devices to send data to the UPF network element.

[0222] The description of the processing procedure of each module in the apparatus and the interaction procedure between the modules can refer to the related description in the above method embodiments, and will not be described in detail here.

[0223] Figure 10 The structure schematic diagram of an electronic device provided in the embodiments of the present application, which can be implemented by the above-mentioned UPF network element. As shown in the figure, the device can include: Figure 10 The device can include: a processor 601, a memory 602, and a bus 603, the memory 602 stores machine readable instructions executable by the processor 601, when the electronic device is running, the processor 601 and the memory 602 communicate through the bus 603, and the processor 601 executes the machine readable instructions to execute the above-mentioned data transmission method.

[0224] The embodiments of the present application also provide a computer readable storage medium, the computer readable storage medium stores a computer program, and the computer program is executed by a processor when the processor is running, and the processor executes the above-mentioned data transmission method.

[0225] In the embodiments of the present application, the computer program, when executed by the processor, can also execute other machine-readable instructions to perform the methods described in the embodiments, for specific method steps and principles, refer to the description of the embodiments, which will not be described in detail here.

[0226] In the embodiments provided in the present application, it should be understood that the disclosed device and method can be implemented by other means. The device embodiments described above are only illustrative, for example, the division of the units is only a logical function division, and actual implementation can have another division manner, and for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units or components shown or discussed can be indirect coupling or communication connection through some communication interfaces, devices or units, which can be electrical, mechanical or other forms.

[0227] The units described as separate components can or can not be physically separated, and the components shown as units can or can not be physical units, that is, they can be located in one place, or they can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.

[0228] In addition, each functional unit in the embodiments provided in the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit.

[0229] The functions, if realized in the form of software functional units and sold or used as independent products, can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the parts of the present application that essentially contribute to the prior art or the parts of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium, including a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. The foregoing storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and various program codes that can be stored in the medium.

[0230] It should be noted that like reference numerals and letters refer to like items throughout the accompanying drawings, and once an item is defined in one drawing, it should not be further defined and explained in subsequent drawings, and further, the terms "first", "second", "third" and the like are used only to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0231] Finally, it should be noted that the above-described embodiments are merely specific embodiments of the present application, and are used to illustrate the technical solutions of the present application, but are not limiting, and the protection scope of the present application is not limited thereto, although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can modify or easily think of changes to the technical solutions recorded in the foregoing embodiments, or make equivalent replacements to some technical features, and these modifications, changes or replacements do not make the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application. should be covered within the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims

1. A data transmission method, characterized by, The method applied to a user plane function (UPF) network element, and the method comprises the following steps: Receiving a to-be-transmitted data frame sent by a first industrial equipment, wherein the to-be-transmitted data frame comprises an identifier of a second industrial equipment; According to the identifier of the second industrial equipment, judging whether a protocol address of a target terminal equipment connected by the second industrial equipment is included in a preset routing forwarding table, wherein the routing forwarding table comprises identifiers of a plurality of industrial equipments and protocol addresses of terminal equipments connected by each industrial equipment, and the protocol address of the target terminal equipment is an IP address of the target terminal equipment; If the protocol address of the target terminal equipment is included in the routing forwarding table, determining a target receiving tunnel corresponding to the target terminal equipment according to the protocol address of the target terminal equipment, wherein the target receiving tunnel is a virtual extended local area network (VxLAN) tunnel, and the target receiving tunnel is a tunnel pre-established by the UPF network element according to the IP address of the target terminal equipment; Transmitting the to-be-transmitted data frame to the target terminal equipment by using the target receiving tunnel, so that the target terminal equipment forwards the to-be-transmitted data frame to the second industrial equipment; If the to-be-transmitted data frame is a unicast data frame, the identifier of the second industrial equipment is a physical address; The step of judging whether the protocol address of the target terminal equipment is included in the routing forwarding table according to the identifier of the second industrial equipment comprises the following steps: According to the physical address of the second industrial equipment, judging whether the protocol address of the target terminal equipment is included in the routing forwarding table, wherein the routing forwarding table comprises physical addresses of the plurality of industrial equipments and the protocol addresses of the terminal equipments connected by each industrial equipment; If the to-be-transmitted data frame is a broadcast data frame or a multicast data frame, the identifier of the second industrial equipment is a virtual local area network (VLAN) identifier; The step of judging whether the protocol address of the target terminal equipment is included in the routing forwarding table according to the identifier of the second industrial equipment comprises the following steps: According to the VLAN identifier of the second industrial equipment, judging whether the protocol address of the target terminal equipment is included in the routing forwarding table, wherein the routing forwarding table comprises VLAN identifiers of the plurality of industrial equipments and the protocol addresses of the terminal equipments connected by each industrial equipment.

2. The method of claim 1, wherein, The step of receiving the to-be-transmitted data frame sent by the first industrial equipment comprises the following steps: Receiving the to-be-transmitted data frame sent by the first industrial equipment by using an interface between the UPF network element and the first industrial equipment.

3. The method of claim 1, wherein, The step of receiving the to-be-transmitted data frame sent by the first industrial equipment comprises the following steps: Receiving the to-be-transmitted data frame sent by the first industrial equipment by using a target sending tunnel, wherein the target sending tunnel is a tunnel used by a terminal equipment connected by the first industrial equipment to send data to the UPF network element.

4. The method of claim 1, wherein, Before the step of judging whether the protocol address of the target terminal equipment is included in the routing forwarding table according to the identifier of the second industrial equipment, the method further comprises the following steps: obtaining networking information of the plurality of industrial devices from a network manager, the networking information comprising: a protocol address and a virtual local area network identifier of a corresponding industrial device; obtaining physical addresses of the plurality of industrial devices according to the protocol addresses of the plurality of industrial devices; generating the routing forwarding table according to the physical addresses of the plurality of industrial devices, the virtual local area network identifiers of the plurality of industrial devices, and the protocol addresses of terminal devices connected by each industrial device.

5. The method of claim 4, wherein, The obtaining the physical addresses of the plurality of industrial devices according to the protocol addresses of the plurality of industrial devices comprises: after session establishment of the terminal devices connected with the plurality of industrial devices is completed, establishing a plurality of receiving tunnels corresponding to the plurality of terminal devices respectively; sending a plurality of address resolution requests to the plurality of terminal devices respectively by using the plurality of receiving tunnels, the plurality of address resolution requests comprising: a protocol address of one industrial device respectively; receiving address resolution responses returned by the plurality of terminal devices based on target address resolution requests in the plurality of address resolution requests by using a plurality of sending tunnels, the address resolution responses comprising: physical addresses of industrial devices connected by corresponding terminal devices, the plurality of sending tunnels being tunnels for the plurality of terminal devices to send data to the UPF network element respectively.

6. A data transmission apparatus characterized by comprising: comprise: a receiving module, configured to receive a to-be-transmitted data frame sent by a first industrial device, the to-be-transmitted data frame comprising: an identifier of a second industrial device; a judging module, configured to judge whether a protocol address of a target terminal device connected by the second industrial device is included in a preset routing forwarding table according to the identifier of the second industrial device, the routing forwarding table comprising: identifiers of a plurality of industrial devices and protocol addresses of terminal devices connected by each industrial device, the protocol address of the target terminal device being an IP address of the target terminal device; a determining module, configured to, if the protocol address of the target terminal device is included in the routing forwarding table, determine a target receiving tunnel corresponding to the target terminal device according to the protocol address of the target terminal device, the target receiving tunnel being a virtual extended local area network (VxLAN) tunnel, the target receiving tunnel being pre-established by the apparatus according to the IP address of the target terminal device; a transmitting module, configured to transmit the to-be-transmitted data frame to the target terminal device by using the target receiving tunnel, so that the target terminal device forwards the to-be-transmitted data frame to the second industrial device; if the to-be-transmitted data frame is a unicast data frame, the identifier of the second industrial device is a physical address; the judging module is specifically configured to: judge whether the protocol address of the target terminal device is included in the routing forwarding table according to the physical address of the second industrial device, the routing forwarding table comprising: physical addresses of the plurality of industrial devices and the protocol addresses of the terminal devices connected by each industrial device; if the to-be-transmitted data frame is a broadcast data frame or a multicast data frame, the identifier of the second industrial device is a virtual local area network identifier; the judging module is specifically configured to: According to the virtual local area network identifier of the second industrial equipment, it is judged whether the protocol address of the target terminal device is included in the routing forwarding table, wherein the routing forwarding table includes the virtual local area network identifiers of the plurality of industrial equipment and the protocol addresses of the terminal devices connected by each industrial equipment.

7. An electronic device, comprising: Comprise: A processor, a memory and a bus, the memory stores a computer program executable by the processor, when the electronic device runs, the processor and the memory communicate through the bus, the processor executes the computer program to execute the data transmission method of any one of claims 1-5.

8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores a computer program, and the computer program is executed by the processor to execute the data transmission method of any one of claims 1-5.

Citation Information

Patent Citations

  • Industrial field bus communication method and device, electronic equipment and storage medium

    CN114126085A