CN117749569A - Communication method, device, equipment, system and storage medium - Google Patents
Communication method, device, equipment, system and storage medium Download PDFInfo
- Publication number
- CN117749569A CN117749569A CN202311801549.6A CN202311801549A CN117749569A CN 117749569 A CN117749569 A CN 117749569A CN 202311801549 A CN202311801549 A CN 202311801549A CN 117749569 A CN117749569 A CN 117749569A
- Authority
- CN
- China
- Prior art keywords
- network element
- message
- user plane
- data packet
- ethernet data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域Technical field
本申请涉及通信领域,尤其涉及一种通信方法、装置、设备、系统及存储介质。The present application relates to the field of communication, and in particular, to a communication method, device, equipment, system and storage medium.
背景技术Background technique
随着第五代移动通信技术(5th Generation Mobile CommunicationTechnology,5G)在全球的成熟商用和在行业数字化的探索,5G正在加速与工业、交通、医疗等各行各业深度融合,5G与无线通信技术(Wireless Fidelity,WIFI)网络主要应用领域和场景各有侧重,二者技术协同组成优势互补的融合网络,能为覆盖区提供多层次的业务覆盖。With the mature commercialization of the fifth generation mobile communication technology (5G) around the world and the exploration of digitalization in the industry, 5G is accelerating its deep integration with various industries such as industry, transportation, and medical care. 5G and wireless communication technology ( The main application fields and scenarios of Wireless Fidelity (WIFI) networks have different focuses. The two technologies work together to form a converged network with complementary advantages, which can provide multi-level business coverage in the coverage area.
第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)标准定义了基于可信的无线局域网(Trusted WLAN Access Network,TWAN)架构的5G+WIFI融合的通信系统。目前,基于TWAN架构的5G+WIFI融合的通信系统支持三层数据传输,不适用于具有二层数据传输需求的终端。The 3rd Generation Partnership Project (3GPP) standard defines a 5G+WIFI integrated communication system based on the Trusted Wireless LAN (Trusted WLAN Access Network, TWAN) architecture. Currently, the 5G+WIFI integrated communication system based on TWAN architecture supports three-layer data transmission and is not suitable for terminals with two-layer data transmission requirements.
发明内容Contents of the invention
本申请提供一种通信方法、装置、设备、系统及存储介质,用以解决现有的5G+WIFI融合的通信系统不支持终端的二层数据传输需求的技术问题。This application provides a communication method, device, equipment, system and storage medium to solve the technical problem that the existing 5G+WIFI integrated communication system does not support the second-layer data transmission requirements of the terminal.
第一方面,本申请提供一种通信方法,通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;所述连接设备包括下挂接口与WIFI接口,所述连接设备通过所述下挂接口挂接有至少一个终端,所述连接设备通过WIFI接口与所述WLAN接入点连接,所述下挂接口与所述WIFI接口位于同一网桥,所述方法包括:In a first aspect, this application provides a communication method. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, and the The connection device is connected to at least one terminal through the drop-in interface, the connection device is connected to the WLAN access point through the WIFI interface, the drop-in interface and the WIFI interface are located on the same network bridge, and the method includes :
所述连接设备接收终端发送的第一以太网数据包,所述第一以太网数据包的包头包括:DN服务器的MAC地址;The connection device receives the first Ethernet data packet sent by the terminal, and the header of the first Ethernet data packet includes: the MAC address of the DN server;
所述连接设备对所述第一以太网数据包进行封装,得到第一vxlan报文;所述第一vxlan报文的报文头包括:用户面网元的IP地址;The connection device encapsulates the first Ethernet data packet to obtain a first vxlan message; the message header of the first vxlan message includes: the IP address of the user plane network element;
所述连接设备将所述第一vxlan报文通过WLAN接入点透传至WLAN互通网元,以使所述WLAN互通网元通过所述用户面网元将所述第一以太网数据包发送至所述DN服务器。The connection device transparently transmits the first vxlan message to the WLAN interworking network element through the WLAN access point, so that the WLAN interworking network element sends the first Ethernet data packet through the user plane network element. to the DN server.
可选地,所述方法还包括:Optionally, the method also includes:
所述连接设备获取核心网控制面网元分配的IP地址;The connection device obtains the IP address assigned by the core network control plane network element;
以及,所述连接设备与所述用户面网元建立vxlan隧道。And, the connection device establishes a vxlan tunnel with the user plane network element.
可选地,所述第一以太网数据包还包括所述终端的MAC地址;所述第一vxlan报文的报文头还包括:所述连接设备的IP地址。Optionally, the first Ethernet data packet further includes the MAC address of the terminal; the message header of the first vxlan message further includes: the IP address of the connecting device.
可选地,所述方法还包括:Optionally, the method also includes:
所述连接设备接收所述WLAN互通网元通过WLAN接入点透传的第二vxlan报文;所述第二vxlan报文为所述WLAN互通网元对第二GTPU报文解封装得到的,所述第二GTPU报文为所述用户面网元对第二vxlan报文进行封装得到的,所述第二vxlan报文为所述用户面网元对所述DN服务器发送的第二以太网数据包进行封装得到的;所述第二以太网数据包的包头包括:所述终端的MAC地址,以及,所述DN服务器的MAC地址;所述第二vxlan报文的报文头包括:所述连接设备的IP地址,以及,用户面网元的IP地址;The connection device receives the second vxlan message transparently transmitted by the WLAN interworking network element through the WLAN access point; the second vxlan message is obtained by decapsulating the second GTPU message by the WLAN interworking network element, The second GTPU message is obtained by encapsulating a second vxlan message by the user plane network element, and the second vxlan message is a second Ethernet message sent by the user plane network element to the DN server. The data packet is encapsulated; the header of the second Ethernet data packet includes: the MAC address of the terminal, and the MAC address of the DN server; the header of the second vxlan message includes: The IP address of the connected device and the IP address of the user plane network element;
所述连接设备解封装所述第二vxlan报文得到所述第二以太网数据包;The connection device decapsulates the second vxlan message to obtain the second Ethernet data packet;
所述连接设备根据所述第二以太网数据包携带的所述终端的MAC地址,将所述第二以太网数据包发送至所述终端。The connection device sends the second Ethernet data packet to the terminal according to the MAC address of the terminal carried in the second Ethernet data packet.
第二方面,本申请提供一种通信方法,通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;所述连接设备包括下挂接口与WIFI接口,所述连接设备通过所述下挂接口挂接有至少一个终端,所述连接设备通过WIFI接口与所述WLAN接入点连接,所述下挂接口与所述WIFI接口位于同一网桥,所述方法包括:In a second aspect, this application provides a communication method. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, and the The connection device is connected to at least one terminal through the drop-in interface, the connection device is connected to the WLAN access point through the WIFI interface, the drop-in interface and the WIFI interface are located on the same network bridge, and the method includes :
所述WLAN互通网元接收所述连接设备通过WLAN接入点透传的第一vxlan报文;所述第一vxlan报文为所述连接设备对终端发送的第一以太网数据包进行封装得到的,所述第一vxlan报文的报文头包括:用户面网元的IP地址,所述第一以太网数据包的包头包括:DN服务器的MAC地址;The WLAN interworking network element receives the first vxlan message transparently transmitted by the connecting device through the WLAN access point; the first vxlan message is obtained by encapsulating the first Ethernet data packet sent by the terminal by the connecting device. , the message header of the first vxlan message includes: the IP address of the user plane network element, and the header of the first Ethernet data packet includes: the MAC address of the DN server;
所述WLAN互通网元对所述第一vxlan报文进行封装,得到第一GTPU报文;The WLAN interworking network element encapsulates the first vxlan message to obtain a first GTPU message;
所述WLAN互通网元根据所述第一vxlan报文携带的所述用户面网元的IP地址,将所述第一GTPU报文发送至所述用户面网元,以使所述用户面网元将所述第一以太网数据包发送至所述DN服务器。The WLAN interworking network element sends the first GTPU message to the user plane network element according to the IP address of the user plane network element carried in the first vxlan message, so that the user plane network element The element sends the first Ethernet data packet to the DN server.
可选地,所述方法还包括:Optionally, the method also includes:
所述WLAN互通网元与所述用户面网元建立GTPU隧道。The WLAN interworking network element establishes a GTPU tunnel with the user plane network element.
可选地,所述第一以太网数据包还包括所述终端的MAC地址;所述第一vxlan报文的报文头还包括:所述连接设备的IP地址。Optionally, the first Ethernet data packet also includes the MAC address of the terminal; the message header of the first vxlan message also includes: the IP address of the connecting device.
可选地,所述方法还包括:Optionally, the method also includes:
所述WLAN互通网元接收所述用户面网元发送的第二GTPU报文;所述第二GTPU报文为所述用户面网元对第二vxlan报文进行封装得到的,所述第二vxlan报文为所述用户面网元对所述DN服务器发送的第二以太网数据包进行封装得到的;所述第二以太网数据包的包头包括:所述终端的MAC地址,以及,所述DN服务器的MAC地址;所述第二vxlan报文的报文头包括:所述连接设备的IP地址,以及,用户面网元的IP地址;The WLAN interworking network element receives the second GTPU message sent by the user plane network element; the second GTPU message is obtained by encapsulating the second vxlan message by the user plane network element, and the second GTPU message is obtained by encapsulating the second vxlan message by the user plane network element. The vxlan message is obtained by the user plane network element encapsulating the second Ethernet data packet sent by the DN server; the header of the second Ethernet data packet includes: the MAC address of the terminal, and, The MAC address of the DN server; the message header of the second vxlan message includes: the IP address of the connecting device, and the IP address of the user plane network element;
所述WLAN互通网元解封装所述第二GTPU报文得到所述第二vxlan报文;The WLAN interworking network element decapsulates the second GTPU message to obtain the second vxlan message;
所述WLAN互通网元根据所述第二vxlan报文携带的所述连接设备的IP地址,将所述第二vxlan报文通过WLAN接入点透传至所述连接设备,以使所述连接设备将所述第二以太网数据包发送至所述终端。The WLAN interworking network element transparently transmits the second vxlan message to the connecting device through the WLAN access point according to the IP address of the connecting device carried in the second vxlan message, so that the connection The device sends the second Ethernet data packet to the terminal.
第三方面,本申请提供一种通信方法,通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;所述连接设备包括下挂接口与WIFI接口,所述连接设备通过所述下挂接口挂接有至少一个终端,所述连接设备通过WIFI接口与所述WLAN接入点连接,所述下挂接口与所述WIFI接口位于同一网桥,所述方法包括:In a third aspect, this application provides a communication method. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, and the The connection device is connected to at least one terminal through the drop-in interface, the connection device is connected to the WLAN access point through the WIFI interface, the drop-in interface and the WIFI interface are located on the same network bridge, and the method includes :
所述用户面网元接收所述WLAN互通网元发送的第一GTPU报文;所述第一GTPU报文为所述WLAN互通网元对所述连接设备发送的所述第一vxlan报文进行封装得到的,所述第一vxlan报文为所述连接设备对终端发送的第一以太网数据包进行封装得到的,所述第一vxlan报文的报文头包括:用户面网元的IP地址,所述第一以太网数据包的包头包括:DN服务器的MAC地址;The user plane network element receives the first GTPU message sent by the WLAN interworking network element; the first GTPU message is the WLAN interworking network element's processing of the first vxlan message sent by the connecting device. The first vxlan message is obtained by encapsulating the first Ethernet data packet sent by the terminal by the connecting device. The message header of the first vxlan message includes: the IP of the user plane network element. Address, the header of the first Ethernet data packet includes: the MAC address of the DN server;
所述用户面网元解封装所述第一GTPU报文得到所述第一vxlan报文;The user plane network element decapsulates the first GTPU message to obtain the first vxlan message;
所述用户面网元解封装所述第一vxlan报文得到所述第一以太网数据包;The user plane network element decapsulates the first vxlan message to obtain the first Ethernet data packet;
所述用户面网元根据所述DN服务器的MAC地址,将所述第一以太网数据包发送至DN服务器。The user plane network element sends the first Ethernet data packet to the DN server according to the MAC address of the DN server.
可选地,所述方法还包括:Optionally, the method also includes:
所述用户面网元与所述连接设备建立vxlan隧道;The user plane network element establishes a vxlan tunnel with the connection device;
以及,所述用户面网元与所述WLAN互通网元建立GTPU隧道。And, the user plane network element establishes a GTPU tunnel with the WLAN interworking network element.
可选地,所述第一以太网数据包还包括所述终端的MAC地址;所述第一vxlan报文的报文头还包括:所述连接设备的IP地址;Optionally, the first Ethernet data packet also includes the MAC address of the terminal; the message header of the first vxlan message also includes: the IP address of the connecting device;
所述方法还包括:The method also includes:
所述用户面网元构建所述vxlan隧道信息表,所述vxlan隧道信息表包括:所述终端的MAC地址、所述vxlan隧道的标识、所述连接设备的IP地址,以及,所述用户面网元的IP地址之间的映射关系。The user plane network element constructs the vxlan tunnel information table. The vxlan tunnel information table includes: the MAC address of the terminal, the identifier of the vxlan tunnel, the IP address of the connecting device, and the user plane Mapping relationship between IP addresses of network elements.
可选地,所述方法还包括:Optionally, the method also includes:
所述用户面网元接收来自DN服务器的第二以太网数据包;所述第二以太网数据包的包头包括:所述终端的MAC地址,以及,所述DN服务器的MAC地址;The user plane network element receives the second Ethernet data packet from the DN server; the header of the second Ethernet data packet includes: the MAC address of the terminal, and the MAC address of the DN server;
所述用户面网元基于所述vxlan隧道信息表对所述第二以太网数据包进行封装,得到第二vxlan报文;所述第二vxlan报文的报文头包括:所述连接设备的IP地址,以及,用户面网元的IP地址;The user plane network element encapsulates the second Ethernet data packet based on the vxlan tunnel information table to obtain a second vxlan message; the message header of the second vxlan message includes: IP address, and the IP address of the user plane network element;
所述用户面网元对所述第二vxlan报文进行封装,得到第二GTPU报文;The user plane network element encapsulates the second vxlan message to obtain a second GTPU message;
所述用户面网元向所述WLAN互通网元发送所述第二GTPU报文。The user plane network element sends the second GTPU message to the WLAN interworking network element.
可选地,所述用户面网元基于所述vxlan隧道信息表,对所述第二以太网数据包进行封装,得到第二vxlan报文之前,还包括:Optionally, the user plane network element encapsulates the second Ethernet data packet based on the vxlan tunnel information table, and before obtaining the second vxlan message, it also includes:
所述用户面网元根据所述vxlan隧道信息表,以及,所述终端的MAC地址,确定是否通过二层业务数据转发流程转发所述第二以太网数据包;The user plane network element determines whether to forward the second Ethernet data packet through the Layer 2 service data forwarding process according to the vxlan tunnel information table and the MAC address of the terminal;
所述用户面网元对所述第二以太网数据包进行封装,得到第二vxlan报文,包括:The user plane network element encapsulates the second Ethernet data packet to obtain a second vxlan message, including:
所述用户面网元在确定通过二层业务数据转发流程转发所述第二以太网数据包时,对所述第二以太网数据包进行封装,得到第二vxlan报文。When the user plane network element determines to forward the second Ethernet data packet through the Layer 2 service data forwarding process, it encapsulates the second Ethernet data packet to obtain a second vxlan message.
可选地,所述方法还包括:Optionally, the method also includes:
所述用户面网元在确定不通过vxlan隧道发送所述第二以太网数据包时,通过三层业务数据转发流程进行转发处理。When the user plane network element determines not to send the second Ethernet data packet through the vxlan tunnel, it performs forwarding processing through the Layer 3 service data forwarding process.
第四方面,本申请提供一种通信装置,通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;所述连接设备包括下挂接口与WIFI接口,所述连接设备通过所述下挂接口挂接有至少一个终端,所述连接设备通过WIFI接口与所述WLAN接入点连接,所述下挂接口与所述WIFI接口位于同一网桥,所述装置应用于所述连接设备,所述装置包括:In a fourth aspect, this application provides a communication device. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, and the The connection device is connected to at least one terminal through the drop-in interface, the connection device is connected to the WLAN access point through the WIFI interface, the drop-in interface and the WIFI interface are located on the same network bridge, and the device uses In the connection device, the device includes:
接收模块,用于接收终端发送的第一以太网数据包,所述第一以太网数据包的包头包括:DN服务器的MAC地址;A receiving module, configured to receive the first Ethernet data packet sent by the terminal, where the header of the first Ethernet data packet includes: the MAC address of the DN server;
封装模块,用于对所述第一以太网数据包进行封装,得到第一vxlan报文;所述第一vxlan报文的报文头包括:用户面网元的IP地址;An encapsulation module, used to encapsulate the first Ethernet data packet to obtain a first vxlan message; the message header of the first vxlan message includes: the IP address of the user plane network element;
发送模块,用于将所述第一vxlan报文通过WLAN接入点透传至WLAN互通网元,以使所述WLAN互通网元通过所述用户面网元将所述第一以太网数据包发送至所述DN服务器。A sending module, configured to transparently transmit the first vxlan message to the WLAN interworking network element through the WLAN access point, so that the WLAN interworking network element transmits the first Ethernet data packet through the user plane network element. Sent to the DN server.
第五方面,本申请提供一种通信装置,通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;所述连接设备包括下挂接口与WIFI接口,所述连接设备通过所述下挂接口挂接有至少一个终端,所述连接设备通过WIFI接口与所述WLAN接入点连接,所述下挂接口与所述WIFI接口位于同一网桥,所述装置包括:In a fifth aspect, this application provides a communication device. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, and the The connection device is connected to at least one terminal through the drop-down interface. The connection device is connected to the WLAN access point through the WIFI interface. The drop-down interface and the WIFI interface are located on the same network bridge. The device includes :
接收模块,用于接收所述连接设备通过WLAN接入点透传的第一vxlan报文;所述第一vxlan报文为所述连接设备对终端发送的第一以太网数据包进行封装得到的,所述第一vxlan报文的报文头包括:用户面网元的IP地址,所述第一以太网数据包的包头包括:DN服务器的MAC地址;A receiving module, configured to receive the first vxlan message transparently transmitted by the connecting device through the WLAN access point; the first vxlan message is obtained by encapsulating the first Ethernet data packet sent by the terminal by the connecting device. , the message header of the first vxlan message includes: the IP address of the user plane network element, and the header of the first Ethernet data packet includes: the MAC address of the DN server;
封装模块,用于对所述第一vxlan报文进行封装,得到第一GTPU报文;An encapsulation module, used to encapsulate the first vxlan message to obtain the first GTPU message;
发送模块,用于根据所述第一vxlan报文携带的所述用户面网元的IP地址,将所述第一GTPU报文发送至所述用户面网元,以使所述用户面网元将所述第一以太网数据包发送至所述DN服务器。A sending module, configured to send the first GTPU message to the user plane network element according to the IP address of the user plane network element carried in the first vxlan message, so that the user plane network element Send the first Ethernet data packet to the DN server.
第六方面,本申请提供一种通信装置,通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;所述连接设备包括下挂接口与WIFI接口,所述连接设备通过所述下挂接口挂接有至少一个终端,所述连接设备通过WIFI接口与所述WLAN接入点连接,所述下挂接口与所述WIFI接口位于同一网桥,所述装置应用于所述用户面网元,所述方法包括:In a sixth aspect, the present application provides a communication device. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, and the The connection device is connected to at least one terminal through the drop-in interface, the connection device is connected to the WLAN access point through the WIFI interface, the drop-in interface and the WIFI interface are located on the same network bridge, and the device uses For the user plane network element, the method includes:
接收模块,用于接收所述WLAN互通网元发送的第一GTPU报文;所述第一GTPU报文为所述WLAN互通网元对所述连接设备发送的所述第一vxlan报文进行封装得到的,所述第一vxlan报文为所述连接设备对终端发送的第一以太网数据包进行封装得到的,所述第一vxlan报文的报文头包括:用户面网元的IP地址,所述第一以太网数据包的包头包括:DN服务器的MAC地址;A receiving module, configured to receive the first GTPU message sent by the WLAN interworking network element; the first GTPU message is used by the WLAN interworking network element to encapsulate the first vxlan message sent by the connecting device. It is obtained that the first vxlan message is obtained by encapsulating the first Ethernet data packet sent by the terminal by the connecting device, and the message header of the first vxlan message includes: the IP address of the user plane network element , the header of the first Ethernet data packet includes: the MAC address of the DN server;
第一解封装模块,用于解封装所述第一GTPU报文得到所述第一vxlan报文;A first decapsulation module, configured to decapsulate the first GTPU message to obtain the first vxlan message;
第二解封装模块,用于解封装所述第一vxlan报文得到所述第一以太网数据包;a second decapsulation module, configured to decapsulate the first vxlan message to obtain the first Ethernet data packet;
发送模块,用于根据所述DN服务器的MAC地址,将所述第一以太网数据包发送至DN服务器。A sending module, configured to send the first Ethernet data packet to the DN server according to the MAC address of the DN server.
第七方面,本申请提供一种通信设备,包括:处理器,以及与所述处理器通信连接的存储器;In a seventh aspect, this application provides a communication device, including: a processor, and a memory communicatively connected to the processor;
所述存储器存储计算机执行指令;The memory stores computer execution instructions;
所述处理器执行所述存储器存储的计算机执行指令,以实现如第一方面至第三方面任一项所述的方法。The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first to third aspects.
第八方面,本申请提供一种通信系统,所述通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;所述连接设备包括下挂接口与WIFI接口,所述连接设备通过所述下挂接口挂接有至少一个终端,所述连接设备通过WIFI接口与所述WLAN接入点连接,所述下挂接口与所述WIFI接口位于同一网桥;In an eighth aspect, this application provides a communication system. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, The connection device is connected to at least one terminal through the drop-in interface, the connection device is connected to the WLAN access point through a WIFI interface, and the drop-in interface and the WIFI interface are located on the same network bridge;
所述连接设备用于执行如第一方面任一项所述的方法;The connection device is used to perform the method according to any one of the first aspects;
所述WLAN互通网元用于执行如第二方面任一项所述的方法;The WLAN interworking network element is used to perform the method described in any one of the second aspects;
所述用户面网元用于执行如第三方面任一项所述的方法。The user plane network element is configured to perform the method described in any one of the third aspects.
第九方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如第一方面至第三方面任一项所述的方法。In a ninth aspect, the present application provides a computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions. When executed by a processor, the computer-executable instructions are used to implement the first to third aspects. any of the methods described.
第十方面,本申请提供一种计算机程序产品,包括计算机程序,该计算机程序被处理器执行时实现如第一方面至第三方面任一项所述的方法。In a tenth aspect, the present application provides a computer program product, including a computer program that implements the method described in any one of the first to third aspects when executed by a processor.
本申请提供的通信方法、装置、设备、系统及存储介质,在现有5G+WIFI融合的通信系统的网络架构的基础上,引入能够挂接二层终端的连接设备,另外,在用户面网元上增加一个用于处理来自DN服务器的二层数据的二层接口,以及,一个用于在CPE与UPF网元之间建立vxlan隧道的vxlan接口,以实现二层终端的以太网数据的传输需求。The communication methods, devices, equipment, systems and storage media provided by this application are based on the network architecture of the existing 5G+WIFI integrated communication system and introduce connection equipment capable of hooking up to layer 2 terminals. In addition, on the user side network A layer 2 interface is added to the element for processing layer 2 data from the DN server, and a vxlan interface is used to establish a vxlan tunnel between the CPE and the UPF network element to realize the transmission of Ethernet data from the layer 2 terminal. need.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
图1为一种5G+WIFI融合的通信系统的网络架构示意图;Figure 1 is a schematic diagram of the network architecture of a 5G+WIFI integrated communication system;
图2为一种数据转发示意图;Figure 2 is a schematic diagram of data forwarding;
图3为一种可能的用户面协议栈示意图;Figure 3 is a schematic diagram of a possible user plane protocol stack;
图4为本申请实施例提供的一种通信系统的架构示意图;Figure 4 is a schematic architectural diagram of a communication system provided by an embodiment of the present application;
图5为vxlan报文格式示意图;Figure 5 is a schematic diagram of the vxlan message format;
图6为本申请实施例提供的一种通信方法的流程示意图;Figure 6 is a schematic flow chart of a communication method provided by an embodiment of the present application;
图7为本申请实施例提供的另一种通信方法的流程示意图;Figure 7 is a schematic flow chart of another communication method provided by an embodiment of the present application;
图8为本申请实施例提供的第一种通信装置的结构示意图;Figure 8 is a schematic structural diagram of a first communication device provided by an embodiment of the present application;
图9为本申请实施例提供的第二种通信装置的结构示意图;Figure 9 is a schematic structural diagram of a second communication device provided by an embodiment of the present application;
图10为本申请实施例提供的第三种通信装置的结构示意图;Figure 10 is a schematic structural diagram of a third communication device provided by an embodiment of the present application;
图11为本申请实施例提供的一种通信设备的结构示意图。Figure 11 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。Through the above-mentioned drawings, clear embodiments of the present application have been shown, which will be described in more detail below. These drawings and text descriptions are not intended to limit the scope of the present application's concepts in any way, but are intended to illustrate the application's concepts for those skilled in the art with reference to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the appended claims.
目前,一些5G+WIFI融合的通信系统需要WIFI终端(即通过WIFI接入的终端)具备非接入层(Non-Access Stratum,NAS)会话功能,但当前许多的WIFI终端并不具备此能力。因此,提出了一种无需具备NAS会话功能即可接入的5G+WIFI融合的通信系统。Currently, some 5G+WIFI integrated communication systems require WIFI terminals (that is, terminals accessed through WIFI) to have non-access stratum (NAS) session functions, but many current WIFI terminals do not have this capability. Therefore, a 5G+WIFI integrated communication system that can be accessed without the NAS session function is proposed.
对于上述无需具备NAS会话功能的WIFI终端称为无5G接入能力的无线局域网(Non-5G-Capable over WLAN,N5CW)终端。The above-mentioned WIFI terminals that do not need to have the NAS session function are called non-5G-Capable over WLAN (N5CW) terminals with no 5G access capability.
图1为一种5G+WIFI融合的通信系统的网络架构示意图。如图1所示,该通信系统可以包括:接入网设备、用户面功能(user plane function,UPF)网元、接入和移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(sessionmanagement function,SMF)网元。Figure 1 is a schematic diagram of the network architecture of a 5G+WIFI integrated communication system. As shown in Figure 1, the communication system may include: access network equipment, user plane function (UPF) network elements, access and mobility management function (AMF) network elements, session Management function (session management function, SMF) network element.
接入网设备可以包括:可信无线访问节点(Trusted WLAN Access Point,TWAP)网元、可信WLAN互通功能(Trusted WLAN Interworking Function,TWIF)网元。该两个网元构成了TWAN。Access network equipment may include: Trusted WLAN Access Point (TWAP) network elements and Trusted WLAN Interworking Function (TWIF) network elements. These two network elements form a TWAN.
UPF网元、AMF网元、SMF网元为5G核心网中的设备,这些设备构成了5G核心网。UPF network elements, AMF network elements, and SMF network elements are devices in the 5G core network. These devices constitute the 5G core network.
UPF网元用于传输用户面数据。AMF网元用于对N5CW终端能否接入该网络进行管理。SMF网元用于对N5CW终端通过该网络建立的会话连接进行管理,每个会话连接用于传输N5CW终端的用户面数据。UPF network elements are used to transmit user plane data. The AMF network element is used to manage whether N5CW terminals can access the network. The SMF network element is used to manage the session connections established by N5CW terminals through the network. Each session connection is used to transmit user plane data of the N5CW terminal.
接入网设备用于将N5CW终端接入5G核心网。其中,TWAP网元用于一定范围内多用户的无线接入。TWIF网元用于收发、处理和TWAP之间的对接入5G网络的设备和用户进行认证授权的协议(Remote Authentication Dial-In User Service,Radius)消息,处理TWAP透传过来的动态主机配置协议(Dynamic Host Configuration Protocol,DHCP)消息,处理用户注册和会话等相关的流程,处理和AMF网元之间的流控制传输协议(Stream ControlTransmission Protocol,SCTP)、NAS、5G网络接入控制协议(Next Generation AccessProtocol,NGAP)等消息,与UPF网元之间使用通用分组无线服务技术(General PacketRadio Service,GPRS)用户面隧道协议(GPRS Tunneling Protocol for the user plane,GTPU)进行通信。Access network equipment is used to connect N5CW terminals to the 5G core network. Among them, TWAP network elements are used for wireless access of multiple users within a certain range. The TWIF network element is used to send, receive, and process the Remote Authentication Dial-In User Service (Radius) messages between TWAP and TWAP for authentication and authorization of devices and users accessing the 5G network, and to process the dynamic host configuration protocol transparently transmitted by TWAP. (Dynamic Host Configuration Protocol, DHCP) messages, handle user registration and session-related processes, and process the Stream Control Transmission Protocol (SCTP), NAS, and 5G Network Access Control Protocol (Next) between AMF network elements. Generation Access Protocol, NGAP) and other messages communicate with UPF network elements using General Packet Radio Service (GPRS) user plane tunneling protocol (GPRS Tunneling Protocol for the user plane, GTPU).
图2为一种数据转发示意图,如图2所示,在图1所示的架构下,TWAN能够聚合使用非授权WIFI频段的N5CW终端,N5CW终端成功接入5G核心网后,通过TWAP网元、TWIF网元、UPF网元最终实现和数据网络(Data Network,DN)中的服务器进行业务数据的传输。Figure 2 is a schematic diagram of data forwarding. As shown in Figure 2, under the architecture shown in Figure 1, TWAN can aggregate N5CW terminals that use unlicensed WIFI frequency bands. After the N5CW terminal successfully accesses the 5G core network, it passes through the TWAP network element , TWIF network element, and UPF network element finally realize the transmission of business data with the server in the Data Network (DN).
下面对N5CW终端怎么使用这个网络实现三层数据传输的介绍。The following is an introduction to how N5CW terminals use this network to achieve three-layer data transmission.
为了便于理解,下面先对三层、二层进行介绍。In order to facilitate understanding, the third layer and the second layer are introduced below.
三层为网络层。三层通信也称为网络层通信,使用的协议为三层协议,主要是网际互连协议(Internet Protocol,IP),使用IP地址进行寻址。三层数据传输主要应用于跨越不同网络的通信场景,例如互联网或广域网(Wide Area Network,WAN)。在一些实施例中,三层数据传输也可以称为L3数据传输,或,层三数据传输。The third layer is the network layer. Layer 3 communication is also called network layer communication. The protocol used is Layer 3 protocol, mainly Internet Protocol (IP), and IP addresses are used for addressing. Layer 3 data transmission is mainly used in communication scenarios across different networks, such as the Internet or Wide Area Network (WAN). In some embodiments, Layer 3 data transmission may also be called L3 data transmission, or Layer 3 data transmission.
二层为数据链路层。二层通信也称为数据链路层通信,使用的协议为二层协议,主要是以太网协议,使用媒体存取控制位址(Media Access Control Address,MAC地址)进行寻址。二层数据传输主要应用于本地网络内部的通信场景,例如局域网(local areanetwork,LAN)或数据中心内的通信。在一些实施例中,二层数据传输也可以称为L2数据传输或,层二数据传输。The second layer is the data link layer. Layer 2 communication is also called data link layer communication. The protocol used is the Layer 2 protocol, mainly the Ethernet protocol, and the media access control address (Media Access Control Address, MAC address) is used for addressing. Layer 2 data transmission is mainly used in communication scenarios within local networks, such as communication within a local area network (LAN) or data center. In some embodiments, Layer 2 data transmission may also be called L2 data transmission or Layer 2 data transmission.
TWAN架构下终端设备为N5CW设备。The terminal equipment under the TWAN architecture is N5CW equipment.
TWIF网元为N5CW终端接入5G核心网的网关,与TWAP网元之间为Yw接口,支持收发和TWAP之间的Radius消息,处理TWAP网元透传过来的DHCP消息,处理用户注册和会话等相关的流程。The TWIF network element is the gateway for N5CW terminals to access the 5G core network. It has a Yw interface with the TWAP network element. It supports sending and receiving Radius messages between TWAP and TWAP, processes DHCP messages transparently transmitted from the TWAP network element, and processes user registration and sessions. and other related processes.
TWIF网元与AMF网元之间为N1和N2接口,处理和AMF网元之间的SCTP、NAS、NGAP等消息。The N1 and N2 interfaces between the TWIF network element and the AMF network element process SCTP, NAS, NGAP and other messages between the TWIF network element and the AMF network element.
TWIF网元与UPF网元之间为N3接口。The N3 interface is between the TWIF network element and the UPF network element.
图3为一种可能的用户面协议栈示意图,如图3所示,N3口主要处理TWIF网元与UPF网元之间业务报文,使用协议为GTPU协议,UPF网元执行GTPU报文的封装、解封装工作。Figure 3 is a schematic diagram of a possible user plane protocol stack. As shown in Figure 3, the N3 port mainly processes service messages between TWIF network elements and UPF network elements. The protocol used is the GTPU protocol, and the UPF network element executes the processing of GTPU messages. Encapsulation and de-encapsulation work.
TWAP网元是可信任的无线访问节点,是N5CW终端进入5G网络的接入点,实现一定范围内多用户的无线接入。The TWAP network element is a trusted wireless access node and the access point for N5CW terminals to enter the 5G network, achieving wireless access for multiple users within a certain range.
N5CW终端成功接入5G核心网,N5CW终端通过TWAP网元,TWIF网元,UPF网元最终和DN服务器之间进行业务传输。The N5CW terminal successfully connected to the 5G core network. The N5CW terminal finally transmitted services to the DN server through the TWAP network element, TWIF network element, and UPF network element.
但是,目前还有一些终端需要使用二层协议进行业务传输,即,二层数据传输。例如,嵌入式WIFI设备以及工业现场的工业摄像机,传感器等以太网设备。为了便于区分,将需要二层协议进行业务传输的终端称为二层终端。However, there are still some terminals that need to use Layer 2 protocols for service transmission, that is, Layer 2 data transmission. For example, embedded WIFI devices and Ethernet devices such as industrial cameras and sensors at industrial sites. For ease of distinction, terminals that require Layer 2 protocols for service transmission are called Layer 2 terminals.
但是上述图1所示的通信系统,以及,目前,现有的需要WIFI终端具备NAS会话功能的通信系统均不支持二层数据传输。故,如何实现二层终端的数据传输需求是亟待解决的问题。However, the communication system shown in Figure 1 above, as well as currently existing communication systems that require WIFI terminals to have NAS session functions, do not support Layer 2 data transmission. Therefore, how to realize the data transmission requirements of layer 2 terminals is an issue that needs to be solved urgently.
为了便于理解,下面先对vxlan技术进行介绍。In order to facilitate understanding, the vxlan technology is introduced below.
虚拟扩展本地局域网(Visual eXtensible Local Area Network,vxlan)技术本质上是一种隧道技术,通过在IP网络上建立一条逻辑隧道,从而能够将发送方的报文经过特定的封装后通过该隧道转发至接收方。因此,借助vxlan,能够在L3层基础架构之上创建L2层网络,实现L2数据传输。Virtual eXtensible Local Area Network (vxlan) technology is essentially a tunneling technology. By establishing a logical tunnel on the IP network, the sender's message can be forwarded to the destination through the tunnel after specific encapsulation. receiver. Therefore, with vxlan, an L2 layer network can be created on top of the L3 layer infrastructure to realize L2 data transmission.
有鉴于此,本申请实施例提供了一种新的通信系统的架构,用以解决上述问题。In view of this, embodiments of the present application provide a new communication system architecture to solve the above problems.
图4为本申请实施例提供的一种通信系统的架构示意图。如图4所示,该通信系统包括:无线局域网(Wireless Local Area Network,WLAN)接入点、WLAN互通网元、至少一个连接设备、用户面网元。Figure 4 is a schematic architectural diagram of a communication system provided by an embodiment of the present application. As shown in Figure 4, the communication system includes: a Wireless Local Area Network (WLAN) access point, a WLAN interworking network element, at least one connecting device, and a user plane network element.
上述WLAN接入点例如可以是前述所说的TWAP网元,上述WLAN互通网元例如可以是前述所说的TWIF网元,WLAN接入点与WLAN互通网元构成了TWAN。用户面网元例如可以是UPF网元。The WLAN access point may be, for example, the aforementioned TWAP network element, and the WLAN interworking network element may be, for example, the aforementioned TWIF network element. The WLAN access point and the WLAN interoperating network element constitute a TWAN. The user plane network element may be a UPF network element, for example.
即,相比于图1所示的通信系统来说,本申请在上述架构的基础上,引入连接设备。上述连接设备例如可以是任一能够将终端挂接到WLAN中的设备,例如,客户前置设备(Customer Premise Equipment,CPE)。一个通信系统中可部署一个或多个连接设备,每个连接设备可以下挂一个或多个终端。That is, compared with the communication system shown in Figure 1, this application introduces connection devices based on the above architecture. The above-mentioned connection device may be, for example, any device capable of connecting a terminal to a WLAN, such as customer premises equipment (Customer Premise Equipment, CPE). One or more connection devices can be deployed in a communication system, and each connection device can be connected to one or more terminals.
为了便于说明,下述实施例均以连接设备为CPE、上述WLAN接入点为TWAP网元,上述WLAN互通网元为TWIF网元,用户面网元为UPF网元为例进行说明。For ease of explanation, the following embodiments are all described by taking the connection device as CPE, the above-mentioned WLAN access point as TWAP network element, the above-mentioned WLAN intercommunication network element as TWIF network element, and the user plane network element as UPF network element as an example.
例如,上述CPE可以包括下挂接口与WIFI接口,该CPE通过下挂接口挂接有至少一个终端,该CPE通过WIFI接口与上述WLAN接入点连接,下挂接口与WIFI接口位于同一网桥,实现将终端接入WLAN中。例如,通过各个CPE的操作系统的网桥配置功能将各CPE下挂终端的接口与WIFI接口绑定在同一网桥。后续,CPE下挂终端的二层数据报文可以通过网桥直通该CPE上的WIFI接口。在本申请实施例中,CPE对于TWAP网元来说,相当于TWAN架构中的N5CW终端。For example, the above-mentioned CPE may include a drop-down interface and a WIFI interface. The CPE is connected to at least one terminal through the drop-down interface. The CPE is connected to the above-mentioned WLAN access point through the WIFI interface. The drop-down interface and the WIFI interface are located on the same network bridge. Enables terminals to be connected to WLAN. For example, the interface of the terminal connected to each CPE and the WIFI interface are bound to the same network bridge through the bridge configuration function of each CPE's operating system. Subsequently, the Layer 2 data packets of the terminal connected to the CPE can be directed to the WIFI interface on the CPE through the network bridge. In the embodiment of this application, the CPE is equivalent to the N5CW terminal in the TWAN architecture for the TWAP network element.
另外,本申请在UPF网元上增加一个二层接口和一个虚拟扩展本地局域网(VisualeXtensible Local Area Network,vxlan)接口。其中,二层接口,用于处理来自DN服务器的二层数据。UPF网元增加的vxlan接口,用于在CPE与UPF网元之间建立vxlan隧道。该vxlan接口可以预先配置有IP地址,该IP地址例如可以是ip0。In addition, this application adds a layer 2 interface and a virtual extended local area network (VisualeXtensible Local Area Network, vxlan) interface to the UPF network element. Among them, the Layer 2 interface is used to process Layer 2 data from the DN server. The vxlan interface added to the UPF network element is used to establish a vxlan tunnel between the CPE and the UPF network element. The vxlan interface may be pre-configured with an IP address, which may be ip0, for example.
可选地,UPF网元还可以包括三层接口,该三层接口用于实现三层数据传输。通过这种方式,使UPF网元能够在实现三层数据传输的基础上,实现二层数据传输。Optionally, the UPF network element may also include a Layer 3 interface, which is used to implement Layer 3 data transmission. In this way, UPF network elements can realize Layer 2 data transmission on the basis of Layer 3 data transmission.
应理解,上述图4仅是示例性的给出了通信系统用于实现本申请实施例方法时所使用的网元,对于通信系统中是否还包括其他网元,以及,是否具有其他通信功能不做限定。例如,该通信系统还可以包括AMF网元、SMF网元。It should be understood that the above-mentioned Figure 4 is only an example of the network elements used by the communication system to implement the method of the embodiment of the present application. It does not matter whether other network elements are included in the communication system and whether it has other communication functions. Make limitations. For example, the communication system may also include AMF network elements and SMF network elements.
另外,本申请实施例的方法可以适用于5G通信系统,也可以适用于其他通信系统,或者,未来的通信系统等,对此不做限定。下述实施例均以5G通信系统为例进行说明。In addition, the methods in the embodiments of this application can be applied to 5G communication systems, other communication systems, or future communication systems, etc., without limitation. The following embodiments take the 5G communication system as an example for description.
在使用图4所示的通信系统进行二层数据传输之前,可以先执行如下流程:Before using the communication system shown in Figure 4 for Layer 2 data transmission, you can first perform the following process:
(1)CPE例如可以采用5G通信系统中的注册流程,通过TWAN和5G核心网控制面(5GCore Control plane,5GC CP)注册进5G核心网,并通过TWAN与5GC建立协议数据单元(Protocol Data Unit,PDU)会话。(1) For example, the CPE can adopt the registration process in the 5G communication system, register into the 5G core network through TWAN and 5G Core Control plane (5GC CP), and establish a protocol data unit (Protocol Data Unit) with 5GC through TWAN. , PDU) session.
(2)5G核心网的网元(例如SMF网元或UPF网元等)可以为各个CPE的WIFI接口分配IP地址。例如:以UPF的vxlan接口的IP地址是ip0为例,CPE1的WIFI接口的IP地址可以是ip1,CPE2的WIFI接口的IP地址可以是ip2,以此类推,CPEn的WIFI接口的IP地址可以是ipn。(2) The network elements of the 5G core network (such as SMF network elements or UPF network elements, etc.) can allocate IP addresses to the WIFI interfaces of each CPE. For example: Taking the IP address of the vxlan interface of UPF as ip0 as an example, the IP address of the WIFI interface of CPE1 can be ip1, the IP address of the WIFI interface of CPE2 can be ip2, and so on, the IP address of the WIFI interface of CPEn can be ipn.
(3)TWIF网元与UPF网元之间建立GTPU隧道。(3) A GTPU tunnel is established between the TWIF network element and the UPF network element.
(4)CPE与UPF网元建立vxlan隧道,该vxlan隧道对应有一个vxlan网络标识符(VXLAN Network Identifier,VNI),作为该vxlan隧道的标识。该vxlan隧道用于传输vxlan报文。(4) The CPE establishes a vxlan tunnel with the UPF network element. The vxlan tunnel corresponds to a vxlan network identifier (VXLAN Network Identifier, VNI) as the identifier of the vxlan tunnel. This vxlan tunnel is used to transmit vxlan packets.
图5为vxlan报文格式示意图。如图5所示,vxlan报文的报文头包括:vxlan头字段,用户数据报协议(User Datagram Protocol,UDP)头字段,外部IP头字段(Outer IPheader),外部以太头字段。Figure 5 is a schematic diagram of the vxlan message format. As shown in Figure 5, the message header of the vxlan message includes: vxlan header field, User Datagram Protocol (UDP) header field, External IP header field (Outer IP header), and External Ethernet header field.
对应本实施例中,在vxlan报文的报文头的外部IP头字段中携带有vxlan隧道本端的源IP地址(Source IP Address,IP SA),目的IP地址(Destination Address IP,IP DA),即(IP SA,IP DA)。Corresponding to this embodiment, the external IP header field of the vxlan message header carries the source IP address (Source IP Address, IP SA) and destination IP address (Destination Address IP, IP DA) of the local end of the vxlan tunnel. That is (IP SA, IP DA).
本端即发送端,远端即接收端的概念。以CPE1为发送端、UPF网元为接收端为例,则vxlan报文的报文头的外部IP头字段包括(ip1,ip0)。以UPF网元为发送端、CPE1为接收端为例,则vxlan报文的报文头的外部IP头字段的为(ip0,ip1)。The concept that the local end is the sending end and the remote end is the receiving end. Taking CPE1 as the sender and the UPF network element as the receiver as an example, the external IP header field of the vxlan message header includes (ip1, ip0). Taking the UPF network element as the sender and CPE1 as the receiver as an example, the external IP header field of the vxlan message header is (ip0, ip1).
通过上述操作,后续二层终端即可通过该通信系统实现二层业务数据传输。Through the above operations, subsequent Layer 2 terminals can realize Layer 2 service data transmission through the communication system.
下面以具体的实施例对本申请的技术方案以及本申请的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本申请的实施例进行描述。The technical solution of the present application and how the technical solution of the present application solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of the present application will be described below with reference to the accompanying drawings.
图6为本申请实施例提供的一种通信方法的流程示意图。如图6所示,该方法例如可以包括下述步骤:Figure 6 is a schematic flowchart of a communication method provided by an embodiment of the present application. As shown in Figure 6, the method may include the following steps:
S601、终端向CPE发送第一以太网数据包。S601. The terminal sends the first Ethernet data packet to the CPE.
相应地,CPE接收该第一以太网数据包。其中,该第一以太网数据包的包头包括:终端的MAC地址和DN服务器的MAC地址。Correspondingly, the CPE receives the first Ethernet data packet, wherein the packet header of the first Ethernet data packet includes: the MAC address of the terminal and the MAC address of the DN server.
此处所说的CPE可以是图2所示的通信系统架构下的任一CPE。以CPEm为例,假定其下挂的终端k有上行二层业务数据需要传输时,则终端k可以通过CPEm的下挂接口将含有业务数据的以太网数据包传输给CPEm。该以太网数据包为通过MAC地址寻址的以太数据包,包含终端的MAC地址macmk和DN服务器的MAC地址macdn。The CPE mentioned here can be any CPE under the communication system architecture shown in Figure 2. Taking CPEm as an example, assuming that its connected terminal k has uplink Layer 2 service data that needs to be transmitted, terminal k can transmit the Ethernet data packet containing the service data to CPEm through the connected interface of CPEm. The Ethernet data packet is an Ethernet data packet addressed by a MAC address, including the terminal's MAC address macmk and the DN server's MAC address macdn.
S602、CPE对第一以太网数据包进行封装,得到第一vxlan报文。S602. The CPE encapsulates the first Ethernet data packet and obtains the first vxlan message.
其中,第一vxlan报文的报文头包括:CPE的IP地址和UPF网元的IP地址。Among them, the message header of the first vxlan message includes: the IP address of the CPE and the IP address of the UPF network element.
以图5所示的vxlan报文格式,第一vxlan报文的报文头的外部IP头字段携带了IP地址,第一以太网数据包位于原始报文中。In the vxlan message format shown in Figure 5, the external IP header field of the first vxlan message carries the IP address, and the first Ethernet data packet is located in the original message.
S603、CPE将第一vxlan报文通过TWAP网元透传至TWIF网元。S603. The CPE transparently transmits the first vxlan message to the TWIF network element through the TWAP network element.
相应地,TWIF网元接收该第一vxlan报文。Correspondingly, the TWIF network element receives the first vxlan message.
CPE将第一vxlan报文发送给TWAP网元,TWAP网元将所接收到的第一vxlan报文直接转发给TWIF网元,不对该第一vxlan报文做处理。The CPE sends the first vxlan message to the TWAP network element, and the TWAP network element directly forwards the received first vxlan message to the TWIF network element without processing the first vxlan message.
继续参照前述示例,在该示例下,CPEm将终端k的二层数据进行vxlan封装后通过vxlan隧道传输,通过TWAP网元透传到TWIF网元,封装的外部IP头字段包括(ipm,ip0)。Continuing to refer to the previous example, in this example, CPEm encapsulates the Layer 2 data of terminal k with vxlan, transmits it through the vxlan tunnel, and transparently transmits it to the TWIF network element through the TWAP network element. The encapsulated external IP header fields include (ipm, ip0) .
S604、TWIF网元对第一vxlan报文进行封装,得到第一GTPU报文。S604, the TWIF network element encapsulates the first vxlan message to obtain the first GTPU message.
如前所述,TWIF网元与UPF网元构建有GTPU隧道,因此,可以将第一vxlan报文封装为第一GTPU报文,以通过GTPU隧道进行报文的转发。As mentioned above, a GTPU tunnel is constructed between the TWIF network element and the UPF network element. Therefore, the first vxlan message can be encapsulated into the first GTPU message to forward the message through the GTPU tunnel.
S605、TWIF网元根据第一vxlan报文携带的用户面网元的IP地址,将第一GTPU报文发送至UPF网元。S605. The TWIF network element sends the first GTPU message to the UPF network element according to the IP address of the user plane network element carried in the first vxlan message.
例如,TWIF通过N3口传输给UPF。相应地,UPF网元接收该第一GTPU报文。For example, TWIF is transmitted to UPF through the N3 port. Correspondingly, the UPF network element receives the first GTPU message.
S606、UPF网元对第一GTPU报文进行解封装得到第一vxlan报文。S606. The UPF network element decapsulates the first GTPU message and obtains the first vxlan message.
如前所述,UPF网元内部有vxlan接口,因此,可以将第一GTPU报文解封装为第一vxlan报文,以发送到UPF网元的vxlan接口。As mentioned above, there is a vxlan interface inside the UPF network element. Therefore, the first GTPU message can be decapsulated into the first vxlan message and sent to the vxlan interface of the UPF network element.
S607、UPF网元对第一vxlan报文进行解封装得到第一以太网数据包。S607. The UPF network element decapsulates the first vxlan message and obtains the first Ethernet data packet.
如前所述,第一以太网数据包位于第一vxlan报文的原始报文中。因此,UPF网元可以通过其vxlan接口对第一vxlan报文进行解封装,得到第一以太网数据包。第一以太网数据包中包含DN服务器的MAC地址,因此,在得到第一以太网数据包时即可得到DN服务器的MAC地址。As mentioned before, the first Ethernet packet is located in the original message of the first vxlan message. Therefore, the UPF network element can decapsulate the first vxlan message through its vxlan interface to obtain the first Ethernet data packet. The first Ethernet data packet contains the MAC address of the DN server. Therefore, when the first Ethernet data packet is obtained, the MAC address of the DN server can be obtained.
S608、UPF网元根据DN服务器的MAC地址,将第一以太网数据包发送至DN服务器。S608. The UPF network element sends the first Ethernet data packet to the DN server according to the MAC address of the DN server.
例如,UPF网元通过N6口传输给DN服务器。相应地,DN服务器接收该第一以太网数据包。For example, the UPF network element transmits data to the DN server through the N6 port. Correspondingly, the DN server receives the first Ethernet data packet.
至此,完成了终端向DN服务器发送以太网数据的交互。At this point, the interaction of the terminal sending Ethernet data to the DN server is completed.
本申请实施例的方法,本申请在现有5G+WIFI融合的通信系统的网络架构的基础上,引入能够挂接二层终端的连接设备,另外,在用户面网元上增加一个用于处理来自DN服务器的二层数据的二层接口,以及,一个用于在CPE与UPF网元之间建立vxlan隧道的vxlan接口,以实现二层终端的以太网数据的传输需求。The method of the embodiment of this application is based on the network architecture of the existing 5G+WIFI integrated communication system, and introduces a connection device that can be connected to a second-layer terminal. In addition, a user plane network element is added for processing. A Layer 2 interface for Layer 2 data from the DN server, and a vxlan interface used to establish a vxlan tunnel between the CPE and the UPF network element to meet the Ethernet data transmission requirements of the Layer 2 terminal.
因此,UPF网元还可以基于第一vxlan报文构建其与终端之间的vxlan隧道信息表,以将终端与该隧道绑定,以使UPF网元能够将DN服务器返回的以太网数据能够正确传输至对应的终端。Therefore, the UPF network element can also build a vxlan tunnel information table between it and the terminal based on the first vxlan message to bind the terminal to the tunnel, so that the UPF network element can correctly receive the Ethernet data returned by the DN server. transmitted to the corresponding terminal.
该vxlan隧道信息表可以包括:终端的MAC地址、vxlan隧道的标识、CPE的IP地址,以及,UPF网元的IP地址之间的映射关系。例如可以如下述表1所示:The vxlan tunnel information table may include: the mapping relationship between the MAC address of the terminal, the identifier of the vxlan tunnel, the IP address of the CPE, and the IP address of the UPF network element. For example, it can be shown in Table 1 below:
表1Table 1
下面对如何将DN服务器的以太网数据转发至终端进行说明,即,DN服务器向终端回传以太网数据的过程。The following describes how to forward the Ethernet data of the DN server to the terminal, that is, the process of the DN server returning the Ethernet data to the terminal.
图7为本申请实施例提供的另一种通信方法的流程示意图。如图7所示,该方法可以包括如下步骤:Figure 7 is a schematic flowchart of another communication method provided by an embodiment of the present application. As shown in Figure 7, the method may include the following steps:
S701、DN服务器向UPF网元发送第二以太网数据包。S701. The DN server sends the second Ethernet data packet to the UPF network element.
例如,DN服务器通过N6口传输给UPF网元。相应地,UPF网元接收该第二以太网数据包。第二以太网数据包的包头包括:终端的MAC地址,以及,DN服务器的MAC地址。For example, the DN server transmits data to the UPF network element through the N6 port. Correspondingly, the UPF network element receives the second Ethernet data packet. The header of the second Ethernet data packet includes: the MAC address of the terminal, and the MAC address of the DN server.
此处所说的终端可以是图2所示的通信系统架构下任意CPE下挂的任一终端。以CPEm及其下挂的终端k为例,当DN服务器有下行二层业务数据需要传输给CPEm的下挂终端k时,该以太网数据包包含终端的MAC地址为macmk。The terminal mentioned here can be any terminal connected to any CPE under the communication system architecture shown in Figure 2. Taking CPEm and its connected terminal k as an example, when the DN server has downlink Layer 2 service data that needs to be transmitted to CPEm's connected terminal k, the Ethernet data packet contains the terminal's MAC address macmk.
S702、UPF网元基于vxlan隧道信息表,对第二以太网数据包进行封装,得到第二vxlan报文。S702. The UPF network element encapsulates the second Ethernet data packet based on the vxlan tunnel information table to obtain the second vxlan message.
如前所述,UPF网元在vxlan隧道信息表里记录终端MAC地址,并与该vxlan隧道绑定。UPF网元根据表1记录的条目确认发给终端的二层业务数据应走的vxlan隧道,UPF网元的vxlan接口可以将第二以太网数据包进行vxlan封装,得到第二vxlan报文。As mentioned before, the UPF network element records the terminal MAC address in the vxlan tunnel information table and binds it to the vxlan tunnel. The UPF network element confirms the vxlan tunnel that the Layer 2 service data sent to the terminal should go through according to the entries recorded in Table 1. The vxlan interface of the UPF network element can vxlan encapsulate the second Ethernet data packet to obtain the second vxlan message.
第二vxlan报文的报文头包括:CPE的IP地址,以及,UPF网元的IP地址。The message header of the second vxlan message includes: the IP address of the CPE and the IP address of the UPF network element.
参照前述示例,在该示例下,当DN服务器发送下行二层业务数据给CPEm的下挂终端k时,封装的外部IP头包括(ip0,ipm)。Referring to the foregoing example, in this example, when the DN server sends downlink Layer 2 service data to the downstream terminal k of CPEm, the encapsulated external IP header includes (ip0, ipm).
S703、UPF网元对第二vxlan报文进行封装,得到第二GTPU报文。S703. The UPF network element encapsulates the second vxlan message to obtain the second GTPU message.
如前所述,TWIF网元与UPF网元构建有GTPU隧道,因此,可以将第二vxlan报文封装为第二GTPU报文,以通过GTPU隧道进行报文的转发。As mentioned above, a GTPU tunnel is constructed between the TWIF network element and the UPF network element. Therefore, the second vxlan message can be encapsulated into a second GTPU message to forward the message through the GTPU tunnel.
S704、UPF网元根据第二vxlan报文携带的CPE的IP地址,将第二GTPU报文发送至TWIF网元。S704. The UPF network element sends the second GTPU message to the TWIF network element according to the IP address of the CPE carried in the second vxlan message.
例如,UPF网元通过N3口传输给TWIF网元。相应地,TWIF网元接收该第二GTPU报文。For example, the UPF network element transmits data to the TWIF network element through the N3 port. Correspondingly, the TWIF network element receives the second GTPU message.
S705、TWIF网元对第二GTPU报文解封装得到第二vxlan报文。S705. The TWIF network element decapsulates the second GTPU message and obtains the second vxlan message.
如前所述,第二vxlan报文的报文头包括:CPE的IP地址。As mentioned above, the message header of the second vxlan message includes: the IP address of the CPE.
S706、TWIF网元根据第二vxlan报文携带的CPE的IP地址,将第二vxlan报文通过TWAP网元透传至CPE。S706. The TWIF network element transparently transmits the second vxlan message to the CPE through the TWAP network element according to the IP address of the CPE carried in the second vxlan message.
相应地,CPE接收该第二vxlan报文。Correspondingly, the CPE receives the second vxlan message.
例如,TWIF网元将第二vxlan报文发送给TWAP网元,TWAP网元可以将所接收到的第二vxlan报文直接转发给CPE,不对该第二vxlan报文做处理。For example, the TWIF network element sends the second vxlan message to the TWAP network element, and the TWAP network element can directly forward the received second vxlan message to the CPE without processing the second vxlan message.
S707、CPE对第二vxlan报文解封装得到第二以太网数据包。S707. The CPE decapsulates the second vxlan message and obtains the second Ethernet data packet.
如前所述,第二以太网数据包的包头包括:终端的MAC地址。As mentioned above, the header of the second Ethernet data packet includes: the MAC address of the terminal.
S708、CPE根据第二以太网数据包携带的终端的MAC地址,将第二以太网数据包发送至终端。S708. The CPE sends the second Ethernet data packet to the terminal according to the MAC address of the terminal carried in the second Ethernet data packet.
相应地,终端接收该第二以太网数据包。Correspondingly, the terminal receives the second Ethernet data packet.
至此,完成了DN服务器向终端发送以太网数据的交互。At this point, the interaction of the DN server sending Ethernet data to the terminal is completed.
上述实施例适用于通信系统仅支持二层数据传输的场景,对于既支持二层数据传输又支持三层数据的通信系统来说,UPF网元在接收到第二以太网数据包之后,还可以先判断是否通过二层业务数据转发流程转发第二以太网数据包。例如,UPF网元可以根据接收到数据包的接口来判断。即UPF网元针对三层业务数据传输,以及,二层业务数据传输采用不同的N6接口进行接收,因此,可以通过该接口来判断。The above embodiment is applicable to scenarios where the communication system only supports Layer 2 data transmission. For communication systems that support both Layer 2 data transmission and Layer 3 data, after receiving the second Ethernet data packet, the UPF network element can also First, determine whether to forward the second Ethernet data packet through the Layer 2 service data forwarding process. For example, the UPF network element can determine based on the interface on which the data packet is received. That is, the UPF network element uses different N6 interfaces for receiving Layer 3 service data transmission and Layer 2 service data transmission. Therefore, it can be judged through this interface.
UPF网元在确定通过二层业务数据转发流程转发第二以太网数据包时,可以采用上述实施例的流程对第二以太网数据包进行封装和转发。When the UPF network element determines to forward the second Ethernet data packet through the Layer 2 service data forwarding process, it may use the process of the above embodiment to encapsulate and forward the second Ethernet data packet.
UPF网元在确定不通过vxlan隧道发送所第二以太网数据包时,说明该业务数据为三层业务数据,因此,可以通过现有的三层业务数据转发流程进行转发处理,对此不做赘述。通过这种方式,可以在现有支持三层业务数据传输的通信系统的基础上对该通信系统进行改进,使其既支持三层业务数据传输又支持二层业务数据传输,便于方案的实施和使用,也提高了现有通信系统的复用性。When the UPF network element determines not to send the second Ethernet data packet through the vxlan tunnel, it indicates that the service data is Layer 3 service data. Therefore, it can be forwarded through the existing Layer 3 service data forwarding process and does not do this. Repeat. In this way, the communication system can be improved on the basis of the existing communication system that supports three-layer service data transmission, so that it supports both three-layer service data transmission and two-layer service data transmission, which facilitates the implementation and implementation of the solution. Use also improves the reusability of existing communication systems.
以上为本申请的方法实施例的说明,下面对本申请实施例提供的装置进行说明。The above is the description of the method embodiments of the present application, and the device provided by the embodiments of the present application will be described below.
图8为本申请实施例提供的第一种通信装置的结构示意图。通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;连接设备包括下挂接口与WIFI接口,连接设备通过下挂接口挂接有至少一个终端,连接设备通过WIFI接口与WLAN接入点连接,下挂接口与WIFI接口位于同一网桥。Figure 8 is a schematic structural diagram of a first communication device provided by an embodiment of the present application. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, and the connecting device is connected to at least one terminal through the drop-in interface. The WIFI interface is connected to the WLAN access point, and the downstream interface and the WIFI interface are located on the same network bridge.
如图8所示,该装置应用于连接设备,该装置例如可以包括:接收模块801、封装模块802、发送模块803。可选地,该装置还可以包括下述至少一个模块:获取模块804、构建模块805、解封装模块806。As shown in FIG. 8 , the device is applied to connecting equipment. The device may include, for example: a receiving module 801 , a packaging module 802 , and a sending module 803 . Optionally, the device may also include at least one of the following modules: an acquisition module 804, a construction module 805, and a decapsulation module 806.
接收模块801,用于接收终端发送的第一以太网数据包,第一以太网数据包的包头包括:DN服务器的MAC地址;The receiving module 801 is used to receive the first Ethernet data packet sent by the terminal. The header of the first Ethernet data packet includes: the MAC address of the DN server;
封装模块802,用于对第一以太网数据包进行封装,得到第一vxlan报文;第一vxlan报文的报文头包括:用户面网元的IP地址;The encapsulation module 802 is used to encapsulate the first Ethernet data packet to obtain the first vxlan message; the message header of the first vxlan message includes: the IP address of the user plane network element;
发送模块803,用于将第一vxlan报文通过WLAN接入点透传至WLAN互通网元,以使WLAN互通网元通过用户面网元将第一以太网数据包发送至DN服务器。The sending module 803 is used to transparently transmit the first vxlan message to the WLAN interworking network element through the WLAN access point, so that the WLAN interworking network element sends the first Ethernet data packet to the DN server through the user plane network element.
一种可能的实现方式,获取模块804,用于获取核心网控制面网元分配的IP地址;One possible implementation method is the acquisition module 804, which is used to acquire the IP address assigned by the core network control plane element;
以及,构建模块805,用于与用户面网元建立vxlan隧道。And, building module 805 is used to establish a vxlan tunnel with the user plane network element.
一种可能的实现方式,第一以太网数据包还包括终端的MAC地址;第一vxlan报文的报文头还包括:连接设备的IP地址。In a possible implementation manner, the first Ethernet data packet also includes the MAC address of the terminal; the message header of the first vxlan message also includes: the IP address of the connected device.
一种可能的实现方式,接收模块801,还用于接收WLAN互通网元通过WLAN接入点透传的第二vxlan报文;第二vxlan报文为WLAN互通网元对第二GTPU报文解封装得到的,第二GTPU报文为用户面网元对第二vxlan报文进行封装得到的,第二vxlan报文为用户面网元对DN服务器发送的第二以太网数据包进行封装得到的;第二以太网数据包的包头包括:终端的MAC地址,以及,DN服务器的MAC地址;第二vxlan报文的报文头包括:连接设备的IP地址,以及,用户面网元的IP地址;In one possible implementation, the receiving module 801 is also used to receive the second vxlan message transparently transmitted by the WLAN interworking network element through the WLAN access point; the second vxlan message is the interpretation of the second GTPU message by the WLAN interworking network element. The second GTPU message is obtained by the user plane network element encapsulating the second vxlan message. The second vxlan message is obtained by the user plane network element encapsulating the second Ethernet data packet sent by the DN server. ; The header of the second Ethernet data packet includes: the MAC address of the terminal, and the MAC address of the DN server; the header of the second vxlan message includes: the IP address of the connecting device, and the IP address of the user plane network element ;
解封装模块806,用于解封装第二vxlan报文得到第二以太网数据包;The decapsulation module 806 is used to decapsulate the second vxlan message to obtain the second Ethernet data packet;
发送模块803,还用于连接设备根据第二以太网数据包携带的终端的MAC地址,将第二以太网数据包发送至终端。The sending module 803 is also used for the connecting device to send the second Ethernet data packet to the terminal according to the MAC address of the terminal carried in the second Ethernet data packet.
本申请实施例提供的装置,可以执行上述方法实施例中以CPE设备作为示例的连接设备的动作,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present application can perform the action of connecting the device using the CPE device as an example in the above method embodiment. Its implementation principles and technical effects are similar and will not be described again here.
图9为本申请实施例提供的第二种通信装置的结构示意图。通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;连接设备包括下挂接口与WIFI接口,连接设备通过下挂接口挂接有至少一个终端,连接设备通过WIFI接口与WLAN接入点连接,下挂接口与WIFI接口位于同一网桥。Figure 9 is a schematic structural diagram of a second communication device provided by an embodiment of the present application. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, and the connecting device is connected to at least one terminal through the drop-in interface. The WIFI interface is connected to the WLAN access point, and the downstream interface and the WIFI interface are located on the same network bridge.
如图9所示,该装置应用于WLAN互通网元,该装置例如可以包括:接收模块901、封装模块902、发送模块903。可选地,该装置还可以包括下述至少一个模块:构建模块904、解封装模块905。As shown in Figure 9, the device is applied to WLAN interworking network elements. The device may include, for example: a receiving module 901, an encapsulating module 902, and a sending module 903. Optionally, the device may also include at least one of the following modules: a building module 904 and a decapsulating module 905 .
接收模块901,用于接收连接设备通过WLAN接入点透传的第一vxlan报文;第一vxlan报文为连接设备对终端发送的第一以太网数据包进行封装得到的,第一vxlan报文的报文头包括:用户面网元的IP地址,第一以太网数据包的包头包括:DN服务器的MAC地址。The receiving module 901 is used to receive the first vxlan message transparently transmitted by the connecting device through the WLAN access point; the first vxlan message is obtained by encapsulating the first Ethernet data packet sent by the terminal by the connecting device. The first vxlan message The header of the packet includes: the IP address of the user plane network element; the header of the first Ethernet data packet includes: the MAC address of the DN server.
封装模块902,用于对第一vxlan报文进行封装,得到第一GTPU报文。The encapsulation module 902 is used to encapsulate the first vxlan message to obtain the first GTPU message.
发送模块903,用于根据第一vxlan报文携带的用户面网元的IP地址,将第一GTPU报文发送至用户面网元,以使用户面网元将第一以太网数据包发送至DN服务器。The sending module 903 is configured to send the first GTPU message to the user plane network element according to the IP address of the user plane network element carried in the first vxlan message, so that the user plane network element sends the first Ethernet data packet to DN server.
一种可能的实现方式,构建模块904,用于与用户面网元建立GTPU隧道。One possible implementation, building module 904, is used to establish a GTPU tunnel with the user plane network element.
一种可能的实现方式,第一以太网数据包还包括终端的MAC地址;第一vxlan报文的报文头还包括:连接设备的IP地址。In a possible implementation manner, the first Ethernet data packet also includes the MAC address of the terminal; the message header of the first vxlan message also includes: the IP address of the connected device.
一种可能的实现方式,接收模块901,还用于接收用户面网元发送的第二GTPU报文;第二GTPU报文为用户面网元对第二vxlan报文进行封装得到的,第二vxlan报文为用户面网元对DN服务器发送的第二以太网数据包进行封装得到的;第二以太网数据包的包头包括:终端的MAC地址,以及,DN服务器的MAC地址;第二vxlan报文的报文头包括:连接设备的IP地址,以及,用户面网元的IP地址。In one possible implementation, the receiving module 901 is also used to receive the second GTPU message sent by the user plane network element; the second GTPU message is obtained by encapsulating the second vxlan message by the user plane network element. The vxlan message is obtained by the user plane network element encapsulating the second Ethernet data packet sent by the DN server; the header of the second Ethernet data packet includes: the MAC address of the terminal and the MAC address of the DN server; the second vxlan message The message header of the message includes: the IP address of the connected device and the IP address of the user plane network element.
解封装模块905,用于解封装第二GTPU报文得到第二vxlan报文。The decapsulation module 905 is used to decapsulate the second GTPU message to obtain the second vxlan message.
发送模块903,还用于WLAN互通网元根据第二vxlan报文携带的连接设备的IP地址,将第二vxlan报文通过WLAN接入点透传至连接设备,以使连接设备将第二以太网数据包发送至终端。The sending module 903 is also used for the WLAN interworking network element to transparently transmit the second vxlan message to the connecting device through the WLAN access point according to the IP address of the connecting device carried in the second vxlan message, so that the connecting device transmits the second Ethernet Network data packets are sent to the terminal.
本申请实施例提供的装置,可以执行上述方法实施例中以TWIF网元作为示例的WLAN互通网元的动作,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present application can perform the actions of the WLAN interworking network element using the TWIF network element as an example in the above method embodiment. Its implementation principles and technical effects are similar and will not be described again here.
图10为本申请实施例提供的第三种通信装置的结构示意图。通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;连接设备包括下挂接口与WIFI接口,连接设备通过下挂接口挂接有至少一个终端,连接设备通过WIFI接口与WLAN接入点连接,下挂接口与WIFI接口位于同一网桥。Figure 10 is a schematic structural diagram of a third communication device provided by an embodiment of the present application. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, and the connecting device is connected to at least one terminal through the drop-in interface. The WIFI interface is connected to the WLAN access point, and the downstream interface and the WIFI interface are located on the same network bridge.
如图10所示,该装置应用于用户面网元,该装置例如可以包括:接收模块1001、解封装模块1002、发送模块1003。可选地,该装置还可以包括下述至少一个模块:构建模块1004、封装模块1005、判断模块1006、三层转发模块1007。As shown in Figure 10, the device is applied to a user plane network element. The device may include, for example: a receiving module 1001, a decapsulation module 1002, and a sending module 1003. Optionally, the device may also include at least one of the following modules: a construction module 1004, an encapsulation module 1005, a judgment module 1006, and a three-layer forwarding module 1007.
接收模块1001,用于接收WLAN互通网元发送的第一GTPU报文;第一GTPU报文为WLAN互通网元对连接设备发送的第一vxlan报文进行封装得到的,第一vxlan报文为连接设备对终端发送的第一以太网数据包进行封装得到的,第一vxlan报文的报文头包括:用户面网元的IP地址,第一以太网数据包的包头包括:DN服务器的MAC地址。The receiving module 1001 is used to receive the first GTPU message sent by the WLAN interworking network element; the first GTPU message is obtained by encapsulating the first vxlan message sent by the connecting device by the WLAN interworking network element. The first vxlan message is The connecting device encapsulates the first Ethernet data packet sent by the terminal. The header of the first vxlan message includes: the IP address of the user plane network element. The header of the first Ethernet data packet includes: the MAC of the DN server. address.
解封装模块1002,用于解封装第一GTPU报文得到第一vxlan报文,以及,解封装第一vxlan报文得到第一以太网数据包。The decapsulation module 1002 is configured to decapsulate the first GTPU message to obtain the first vxlan message, and decapsulate the first vxlan message to obtain the first Ethernet data packet.
发送模块1003,用于根据DN服务器的MAC地址,将第一以太网数据包发送至DN服务器。The sending module 1003 is configured to send the first Ethernet data packet to the DN server according to the MAC address of the DN server.
一种可能的实现方式,构建模块1004,用于与连接设备建立vxlan隧道,以及,与WLAN互通网元建立GTPU隧道。One possible implementation method, building module 1004, is used to establish a vxlan tunnel with the connecting device and a GTPU tunnel with the WLAN interworking network element.
一种可能的实现方式,第一以太网数据包还包括终端的MAC地址;第一vxlan报文的报文头还包括:连接设备的IP地址。In a possible implementation manner, the first Ethernet data packet also includes the MAC address of the terminal; the message header of the first vxlan message also includes: the IP address of the connected device.
构建模块1004,还用于构建vxlan隧道信息表,vxlan隧道信息表包括:终端的MAC地址、vxlan隧道的标识、连接设备的IP地址,以及,用户面网元的IP地址之间的映射关系。The building module 1004 is also used to build a vxlan tunnel information table. The vxlan tunnel information table includes: the MAC address of the terminal, the identifier of the vxlan tunnel, the IP address of the connecting device, and the mapping relationship between the IP addresses of the user plane network elements.
一种可能的实现方式,接收模块1001,还用于接收来自DN服务器的第二以太网数据包;第二以太网数据包的包头包括:终端的MAC地址,以及,DN服务器的MAC地址。In one possible implementation, the receiving module 1001 is also configured to receive a second Ethernet data packet from the DN server; the header of the second Ethernet data packet includes: the MAC address of the terminal and the MAC address of the DN server.
封装模块1005,用于基于vxlan隧道信息表对第二以太网数据包进行封装,得到第二vxlan报文;第二vxlan报文的报文头包括:连接设备的IP地址,以及,用户面网元的IP地址。The encapsulation module 1005 is used to encapsulate the second Ethernet data packet based on the vxlan tunnel information table to obtain the second vxlan message; the message header of the second vxlan message includes: the IP address of the connecting device, and the user plane network Yuan’s IP address.
封装模块1005,还用于对第二vxlan报文进行封装,得到第二GTPU报文。The encapsulation module 1005 is also used to encapsulate the second vxlan message to obtain the second GTPU message.
发送模块1003,还用于向WLAN互通网元发送第二GTPU报文。The sending module 1003 is also used to send the second GTPU message to the WLAN interworking network element.
一种可能的实现方式,判断模块1006,用于在封装模块1005基于vxlan隧道信息表,对第二以太网数据包进行封装,得到第二vxlan报文之前,根据vxlan隧道信息表,以及,终端的MAC地址,确定是否通过二层业务数据转发流程转发第二以太网数据包。In one possible implementation, the judgment module 1006 is used to encapsulate the second Ethernet data packet based on the vxlan tunnel information table in the encapsulation module 1005 to obtain the second vxlan message. According to the vxlan tunnel information table, the terminal MAC address to determine whether to forward the second Ethernet data packet through the Layer 2 service data forwarding process.
在该实现方式下,封装模块1005,具体用于在确定通过二层业务数据转发流程转发第二以太网数据包时,对第二以太网数据包进行封装,得到第二vxlan报文。In this implementation, the encapsulation module 1005 is specifically configured to encapsulate the second Ethernet data packet to obtain the second vxlan message when it is determined to forward the second Ethernet data packet through the Layer 2 service data forwarding process.
三层转发模块1007,用于在确定不通过vxlan隧道发送第二以太网数据包时,通过三层业务数据转发流程进行转发处理。The Layer 3 forwarding module 1007 is configured to forward the second Ethernet data packet through the Layer 3 service data forwarding process when it is determined not to send the second Ethernet data packet through the vxlan tunnel.
本申请实施例提供的装置,可以执行上述方法实施例中以UPF网元为例的用户面网元的动作,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present application can perform the actions of the user plane network element taking the UPF network element as an example in the above method embodiment. Its implementation principles and technical effects are similar and will not be described again here.
图11为本申请实施例提供的一种通信设备的结构示意图。如图11所示,该通信设备可以包括:至少一个处理器1101、存储器1102。Figure 11 is a schematic structural diagram of a communication device provided by an embodiment of the present application. As shown in Figure 11, the communication device may include: at least one processor 1101 and a memory 1102.
存储器1102,用于存储程序。具体地,程序可以包括程序代码,程序代码包括计算机操作指令。Memory 1102 is used to store programs. Specifically, the program may include program code, which includes computer operating instructions.
存储器1102可能包含高速RAM存储器,也可能还包括非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。The memory 1102 may include high-speed RAM memory, and may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
处理器1101用于执行存储器1102存储的计算机执行指令,以实现前述方法实施例中连接设备的动作,或者,WLAN互通网元的动作,或者,用户面网元的动作。其中,处理器1101可能是一个中央处理器(Central Processing Unit,CPU),或者是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本申请实施例的一个或多个集成电路。The processor 1101 is configured to execute computer execution instructions stored in the memory 1102 to implement the actions of the connecting device in the foregoing method embodiment, or the actions of the WLAN interworking network element, or the actions of the user plane network element. The processor 1101 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present application. .
可选地,该通信设备还可以包括通信接口1103,与外部设备进行通信交互。在具体实现上,如果通信接口1103、存储器1102和处理器1101独立实现,则通信接口1103、存储器1102和处理器1101可以通过总线相互连接并完成相互间的通信。Optionally, the communication device may also include a communication interface 1103 for communicating and interacting with external devices. In terms of specific implementation, if the communication interface 1103, the memory 1102 and the processor 1101 are implemented independently, the communication interface 1103, the memory 1102 and the processor 1101 can be connected to each other through a bus and complete mutual communication.
可选的,在具体实现上,如果通信接口1103、存储器1102和处理器1101集成在一块芯片上实现,则通信接口1103、存储器1102和处理器1101可以通过内部接口完成通信。Optionally, in terms of specific implementation, if the communication interface 1103, the memory 1102 and the processor 1101 are integrated on one chip, the communication interface 1103, the memory 1102 and the processor 1101 can complete communication through the internal interface.
本申请还提供了一种计算机可读存储介质,该计算机可读存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random AccessMemory,RAM)、磁盘或者光盘等各种可以存储程序代码的介质,具体的,该计算机可读存储介质中存储有程序指令,程序指令用于实现上述方法实施方式中连接设备的动作,或者,WLAN互通网元的动作,或者,用户面网元的动作。This application also provides a computer-readable storage medium. The computer-readable storage medium may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM) , magnetic disks or optical disks and other various media that can store program codes. Specifically, the computer-readable storage medium stores program instructions, and the program instructions are used to implement the actions of the connecting device in the above method implementation, or WLAN interworking network elements actions, or actions of user plane network elements.
本申请还提供了一种通信系统,该通信系统包括:WLAN接入点、WLAN互通网元、至少一个连接设备、用户面网元;连接设备包括下挂接口与WIFI接口,连接设备通过下挂接口挂接有至少一个终端,连接设备通过WIFI接口与WLAN接入点连接,下挂接口与WIFI接口位于同一网桥。This application also provides a communication system. The communication system includes: a WLAN access point, a WLAN interworking network element, at least one connecting device, and a user plane network element; the connecting device includes a drop-in interface and a WIFI interface, and the connection device passes through a drop-down interface. There is at least one terminal attached to the interface. The connecting device is connected to the WLAN access point through the WIFI interface. The downstream interface and the WIFI interface are located on the same network bridge.
连接设备、WLAN互通网元,以及,用户面网元分别用于执行上述方法实施例中的动作,以实现二层数据的传输。The connecting device, WLAN interworking network element, and user plane network element are respectively used to perform the actions in the above method embodiment to realize the transmission of layer 2 data.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求书指出。Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary technical means in the technical field that are not disclosed in this application. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (20)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311801549.6A CN117749569A (en) | 2023-12-25 | 2023-12-25 | Communication method, device, equipment, system and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311801549.6A CN117749569A (en) | 2023-12-25 | 2023-12-25 | Communication method, device, equipment, system and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117749569A true CN117749569A (en) | 2024-03-22 |
Family
ID=90279325
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311801549.6A Pending CN117749569A (en) | 2023-12-25 | 2023-12-25 | Communication method, device, equipment, system and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117749569A (en) |
-
2023
- 2023-12-25 CN CN202311801549.6A patent/CN117749569A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114124618B (en) | Message transmission method and electronic equipment | |
CN101043411B (en) | Method and system for realizing mobile VPN in hybrid network | |
JP5050849B2 (en) | Remote access system and its IP address assignment method | |
CN108092830B (en) | Method for applying TCP/IP protocol in Mesh network | |
WO2019024866A1 (en) | Method, device and system for accessing network | |
CN105657865B (en) | A data transfer transmission method, system and UE with relay function | |
JP2007521741A (en) | Apparatus and method for improving remote LAN connectivity using tunneling | |
JP2001045100A (en) | Method for use at the packet endpoint | |
WO2011018002A1 (en) | Relay method, relay apparatus and communication system of transport bearer | |
WO2011041967A1 (en) | Method for anonymous communication, method for registration, method and system for trasmitting and receiving information | |
WO2014101062A1 (en) | User plane data transmission method, mobility management network element, evolved node b and system | |
WO2011140843A1 (en) | Method, apparatus and system for forwarding messages | |
CN112532756B (en) | Interface expansion method, device and system | |
WO2020187261A1 (en) | Communication method, apparatus and system | |
WO2011032462A1 (en) | Method for data transmission and receiving, system and router thereof | |
WO2011050676A1 (en) | Anonymous communication method, registration and cancellation method, and access node | |
CN106559348A (en) | A kind of intelligent 6LoWPAN border routings implementation method and border router | |
CN107135118B (en) | Unicast communication method, gateway and VXLAN access equipment | |
WO2017031699A1 (en) | Data transmission method, relevant device and system | |
WO2011044807A1 (en) | Method for registration and communication of anonymous communication and transceiver system for data message | |
CN106789534B (en) | A kind of data transmission method and device based on wireless network | |
CN117749569A (en) | Communication method, device, equipment, system and storage medium | |
CN108934058B (en) | Communication method and device | |
WO2016074354A1 (en) | Wifi sharing method and system, home gateway and wireless local area network gateway | |
WO2022007749A1 (en) | Data transmission method and apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |