CN112153756B - A data processing method and communication device based on tunnel establishment service - Google Patents

A data processing method and communication device based on tunnel establishment service Download PDF

Info

Publication number
CN112153756B
CN112153756B CN201910570119.5A CN201910570119A CN112153756B CN 112153756 B CN112153756 B CN 112153756B CN 201910570119 A CN201910570119 A CN 201910570119A CN 112153756 B CN112153756 B CN 112153756B
Authority
CN
China
Prior art keywords
tunnel
smf
tunnel establishment
request message
group identifier
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.)
Active
Application number
CN201910570119.5A
Other languages
Chinese (zh)
Other versions
CN112153756A (en
Inventor
刘超
刘棠青
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Research Institute of China Mobile Communication Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, Research Institute of China Mobile Communication Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201910570119.5A priority Critical patent/CN112153756B/en
Publication of CN112153756A publication Critical patent/CN112153756A/en
Application granted granted Critical
Publication of CN112153756B publication Critical patent/CN112153756B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a data processing method and communication equipment based on a tunnel establishment service. The method comprises the following steps: a Session Management Function (SMF) obtains a local area network group identifier, and initiates establishment of a tunnel corresponding to the local area network group identifier, where the tunnel is used for transmission of local area network group service data corresponding to the local area network group identifier.

Description

一种基于隧道建立服务的数据处理方法和通信设备A data processing method and communication device based on tunnel establishment service

技术领域technical field

本发明涉及无线通信技术领域,具体涉及一种基于隧道建立服务的数据处理方法和通信设备。The invention relates to the technical field of wireless communication, in particular to a data processing method and communication equipment based on a tunnel establishment service.

背景技术Background technique

在第五代移动通信网络(5G)中,提出了局域网组(LAN Group,Local AreaNetwork Group)的概念,对于企业专网来说,LAN Group是一个重要的粒度,组内的用户需要专用的企业专网隧道,以便于企业专网的访问管理,有利于提升企业专网用户的服务体验与质量。然而,相关技术中,如何建立LAN Group的隧道,目前尚无有效解决方案。In the fifth generation mobile communication network (5G), the concept of Local Area Network Group (LAN Group, Local Area Network Group) is proposed. For enterprise private network, LAN Group is an important granularity. Users in the group need dedicated enterprise The private network tunnel facilitates the access management of the enterprise private network, and is conducive to improving the service experience and quality of enterprise private network users. However, in related technologies, there is currently no effective solution for how to establish a LAN Group tunnel.

发明内容Contents of the invention

为解决现有存在的技术问题,本发明实施例提供一种基于隧道建立服务的数据处理方法和通信设备。In order to solve existing technical problems, embodiments of the present invention provide a data processing method and a communication device based on a tunnel establishment service.

为达到上述目的,本发明实施例的技术方案是这样实现的:In order to achieve the above object, the technical solution of the embodiment of the present invention is achieved in this way:

本发明实施例提供了一种基于隧道建立服务的数据处理方法,所述方法包括:会话管理功能(SMF,Session Management Function)获得局域网组标识,发起建立所述局域网组标识对应的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。An embodiment of the present invention provides a data processing method based on a tunnel establishment service, the method comprising: a session management function (SMF, Session Management Function) obtains a LAN group identifier, initiates establishment of a tunnel corresponding to the LAN group identifier, and the The tunnel is used to transmit the service data of the LAN group corresponding to the LAN group identifier.

上述方案中,所述发起建立所述局域网组标识对应的隧道,包括:In the above solution, the initiating establishment of the tunnel corresponding to the LAN group identifier includes:

所述SMF指示用户面功能(UPF,User Plane Function)建立与应用功能(AF,Application Function)之间的所述隧道。The SMF instructs a user plane function (UPF, User Plane Function) to establish the tunnel with an application function (AF, Application Function).

上述方案中,所述SMF指示UPF建立与AF之间的所述隧道之前,所述方法还包括:In the above solution, before the SMF instructs the UPF to establish the tunnel with the AF, the method further includes:

所述SMF基于所述局域网组标识选择UPF;The SMF selects a UPF based on the LAN group identifier;

所述SMF指示UPF建立与AF之间的所述隧道,包括:The SMF instructs the UPF to establish the tunnel with the AF, including:

所述SMF向选择的所述UPF发送指示信息,所述指示信息用于指示所述UPF建立与AF之间的所述隧道。The SMF sends indication information to the selected UPF, where the indication information is used to instruct the UPF to establish the tunnel with the AF.

上述方案中,所述SMF获得局域网组标识,包括:所述SMF接收网络开放功能(NEF,Network Exposure Function)或接入和移动性管理功能(AMF,Access and MobilityManagement Function)发送的隧道建立请求消息,获得所述隧道建立请求消息中携带的局域网组标识。In the above solution, the SMF obtaining the LAN group identifier includes: the SMF receiving a tunnel establishment request message sent by a network exposure function (NEF, Network Exposure Function) or an access and mobility management function (AMF, Access and MobilityManagement Function) to obtain the LAN group identifier carried in the tunnel establishment request message.

上述方案中,所述隧道建立请求消息在所述AMF接收到用户设备发送的协议数据单元(PDU,Protocol Data Unit)会话建立请求消息的情况下发送;所述PDU会话建立请求消息中包括所述局域网组标识。In the above solution, the tunnel establishment request message is sent when the AMF receives a protocol data unit (PDU, Protocol Data Unit) session establishment request message sent by the user equipment; the PDU session establishment request message includes the LAN group ID.

上述方案中,所述隧道建立请求消息在所述AF的注册过程中由所述NEF发送;所述AF在注册过程中向所述NEF提供所述局域网组标识。In the above solution, the tunnel establishment request message is sent by the NEF during the registration process of the AF; the AF provides the LAN group identifier to the NEF during the registration process.

上述方案中,所述方法还包括:所述SMF接收所述UPF发送的隧道建立响应消息。In the above solution, the method further includes: the SMF receiving the tunnel establishment response message sent by the UPF.

上述方案中,所述方法还包括:所述SMF向所述NEF或AMF发送隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。In the above solution, the method further includes: the SMF sending a tunnel establishment response message to the NEF or AMF; the tunnel establishment response message is sent after the SMF obtains a tunnel establishment result.

本发明实施例还提供了一种基于隧道建立服务的数据处理方法,所述方法包括:The embodiment of the present invention also provides a data processing method based on tunnel establishment service, the method comprising:

NEF或AMF向SMF发送隧道建立请求消息;所述隧道建立请求消息中包括局域网组标识,所述隧道建立请求消息用于所述SMF发起建立隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。NEF or AMF sends a tunnel establishment request message to SMF; the tunnel establishment request message includes a LAN group identifier, and the tunnel establishment request message is used for the SMF to initiate establishment of a tunnel, and the tunnel is used for the LAN group identifier corresponding LAN group business data transmission.

上述方案中,所述AMF向SMF发送隧道建立请求消息之前,所述方法还包括:所述AMF接收用户设备发送的PDU会话建立请求消息,所述PDU会话建立请求消息中包括所述局域网组标识。In the above solution, before the AMF sends a tunnel establishment request message to the SMF, the method further includes: the AMF receives a PDU session establishment request message sent by the user equipment, and the PDU session establishment request message includes the local area network group identifier .

上述方案中,所述方法还包括:所述AMF基于所述局域网组标识选择SMF;In the above solution, the method further includes: the AMF selects an SMF based on the LAN group identifier;

所述AMF向SMF发送隧道建立请求消息,包括:所述AMF向选择的SMF发送隧道建立请求消息。The AMF sending the tunnel establishment request message to the SMF includes: the AMF sending the tunnel establishment request message to the selected SMF.

上述方案中,所述NEF向SMF发送隧道建立请求消息,包括:所述NEF在AF的注册过程中获得所述局域网组标识,向所述SMF发送携带有所述局域网组标识的隧道建立请求消息。In the above solution, the NEF sends a tunnel establishment request message to the SMF, including: the NEF obtains the LAN group identifier during the registration process of the AF, and sends a tunnel establishment request message carrying the LAN group identifier to the SMF .

上述方案中,所述方法还包括:所述NEF或AMF接收所述SMF发送的隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。In the above solution, the method further includes: the NEF or AMF receiving a tunnel establishment response message sent by the SMF; the tunnel establishment response message is sent after the SMF obtains a tunnel establishment result.

本发明实施例还提供了一种基于隧道建立服务的数据处理方法,所述方法包括:The embodiment of the present invention also provides a data processing method based on tunnel establishment service, the method comprising:

UPF接收SMF的指示信息;所述指示信息中包括所述局域网组标识;The UPF receives the indication information of the SMF; the indication information includes the local area network group identifier;

所述UPF建立与AF之间的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。The UPF establishes a tunnel with the AF, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier.

上述方案中,所述方法还包括:所述UPF向所述SMF发送隧道建立响应消息。In the above solution, the method further includes: the UPF sending a tunnel establishment response message to the SMF.

本发明实施例还提供了一种通信设备,所述通信设备为SMF,所述通信设备包括获取单元和发起单元;其中,The embodiment of the present invention also provides a communication device, the communication device is an SMF, and the communication device includes an acquiring unit and an initiating unit; wherein,

所述获取单元,用于获得局域网组标识;The obtaining unit is configured to obtain a LAN group identifier;

所述发起单元,用于发起建立所述局域网组标识对应的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。The initiating unit is configured to initiate establishment of a tunnel corresponding to the LAN group identifier, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier.

上述方案中,所述发起单元,用于指示UPF建立与AF之间的所述隧道。In the above solution, the initiating unit is configured to instruct the UPF to establish the tunnel with the AF.

上述方案中,所述通信设备还包括第一选择处理单元,用于基于所述局域网组标识选择UPF;In the above solution, the communication device further includes a first selection processing unit, configured to select a UPF based on the local area network group identifier;

所述发起单元,用于向所述第一选择处理单元选择的所述UPF发送指示信息,所述指示信息用于指示所述UPF建立与AF之间的所述隧道。The initiating unit is configured to send indication information to the UPF selected by the first selection processing unit, where the indication information is used to instruct the UPF to establish the tunnel with the AF.

上述方案中,所述获取单元,用于接收NEF或AMF发送的隧道建立请求消息,获得所述隧道建立请求消息中携带的局域网组标识。In the above solution, the obtaining unit is configured to receive the tunnel establishment request message sent by the NEF or the AMF, and obtain the LAN group identifier carried in the tunnel establishment request message.

上述方案中,所述隧道建立请求消息在所述AMF接收到用户设备发送的PDU会话建立请求消息的情况下发送;所述PDU会话建立请求消息中包括所述局域网组标识。In the above solution, the tunnel establishment request message is sent when the AMF receives the PDU session establishment request message sent by the user equipment; the PDU session establishment request message includes the local area network group identifier.

上述方案中,所述隧道建立请求消息在所述AF的注册过程中由所述NEF发送;所述AF在注册过程中向所述NEF提供所述局域网组标识。In the above solution, the tunnel establishment request message is sent by the NEF during the registration process of the AF; the AF provides the LAN group identifier to the NEF during the registration process.

上述方案中,所述发起单元,还用于接收所述UPF发送的隧道建立响应消息。In the above solution, the initiating unit is further configured to receive the tunnel establishment response message sent by the UPF.

上述方案中,所述获取单元,还用于向所述NEF或AMF发送隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。In the above solution, the obtaining unit is further configured to send a tunnel establishment response message to the NEF or AMF; the tunnel establishment response message is sent after the SMF obtains a tunnel establishment result.

本发明实施例还提供了一种通信设备,所述通信设备为NEF或AMF,所述通信设备包括第一通信单元,用于向SMF发送隧道建立请求消息;所述隧道建立请求消息中包括局域网组标识,所述隧道建立请求消息用于所述SMF发起建立隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。The embodiment of the present invention also provides a communication device, the communication device is NEF or AMF, and the communication device includes a first communication unit, configured to send a tunnel establishment request message to the SMF; the tunnel establishment request message includes a local area network A group identifier, the tunnel establishment request message is used by the SMF to initiate establishment of a tunnel, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier.

上述方案中,所述通信设备还包括第二通信单元,用于所述第一通信单元向SMF发送隧道建立请求消息之前,接收用户设备发送的PDU会话建立请求消息,所述PDU会话建立请求消息中包括所述局域网组标识。In the above solution, the communication device further includes a second communication unit, configured to receive a PDU session establishment request message sent by the user equipment before the first communication unit sends the tunnel establishment request message to the SMF, and the PDU session establishment request message Include the LAN group ID.

上述方案中,所述通信设备还包括第二选择处理单元,用于基于所述局域网组标识选择SMF;In the above solution, the communication device further includes a second selection processing unit, configured to select an SMF based on the LAN group identifier;

所述第一通信单元,用于向所述第二选择处理单元选择的SMF发送隧道建立请求消息。The first communication unit is configured to send a tunnel establishment request message to the SMF selected by the second selection processing unit.

上述方案中,所述第一通信单元,用于在AF的注册过程中获得所述局域网组标识,向所述SMF发送携带有所述局域网组标识的隧道建立请求消息。In the above solution, the first communication unit is configured to obtain the LAN group identifier during the registration process of the AF, and send a tunnel establishment request message carrying the LAN group identifier to the SMF.

上述方案中,所述第一通信单元,还用于接收所述SMF发送的隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。In the above solution, the first communication unit is further configured to receive a tunnel establishment response message sent by the SMF; the tunnel establishment response message is sent after the SMF obtains a tunnel establishment result.

本发明实施例还提供了一种通信设备,所述通信设备为UPF;所述通信设备包括第三通信单元和隧道建立单元;其中,The embodiment of the present invention also provides a communication device, the communication device is a UPF; the communication device includes a third communication unit and a tunnel establishment unit; wherein,

所述第三通信单元,用于接收SMF的指示信息;所述指示信息中包括所述局域网组标识;The third communication unit is configured to receive SMF indication information; the indication information includes the local area network group identifier;

所述隧道建立单元,用于建立与AF之间的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。The tunnel establishing unit is configured to establish a tunnel with the AF, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier.

上述方案中,所述第三通信单元,用于向所述SMF发送隧道建立响应消息。In the above solution, the third communication unit is configured to send a tunnel establishment response message to the SMF.

本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本发明实施例应用于SMF的所述方法的步骤;或者,该程序被处理器执行时实现本发明实施例应用于NEF或AMF的所述方法的步骤;或者,该程序被处理器执行时实现本发明实施例应用于UPF的所述方法的步骤。The embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, the steps of the method of the embodiment of the present invention applied to SMF are implemented; or, the program is processed When the program is executed by the processor, the steps of the method of the embodiment of the present invention applied to the NEF or AMF are realized; or, when the program is executed by the processor, the steps of the method of the embodiment of the present invention applied to the UPF are realized.

本发明实施例还提供了一种通信设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本发明实施例应用于SMF的所述方法的步骤;或者,所述处理器执行所述程序时实现本发明实施例应用于NEF或AMF的所述方法的步骤;或者,所述处理器执行所述程序时实现本发明实施例应用于UPF的所述方法的步骤。The embodiment of the present invention also provides a communication device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the embodiment of the present invention is applied to SMF. The steps of the method; or, when the processor executes the program, implement the steps of the method of the embodiment of the present invention applied to NEF or AMF; or, when the processor executes the program, implement the implementation of the present invention Example of the steps of the method applied to UPF.

本发明实施例提供的基于隧道建立服务的数据处理方法和通信设备。所述方法包括:会话管理功能(SMF,Session Management Function)获得局域网组标识,发起建立所述局域网组标识对应的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。采用本发明实施例的技术方案,通过SMF新增的隧道建立服务,能够通过调用该隧道建立服务建立与局域网组标识对应的隧道,该隧道专用于该局域网组标识对一个的专用服务,保证了服务质量,提升了用户体验;并且,该隧道的建立也便于专网的灵活配置和实时管理。The embodiment of the present invention provides a data processing method and a communication device based on a tunnel establishment service. The method includes: a session management function (SMF, Session Management Function) obtains a LAN group identifier, initiates establishment of a tunnel corresponding to the LAN group identifier, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier. By adopting the technical scheme of the embodiment of the present invention, through the tunnel establishment service newly added by SMF, the tunnel corresponding to the LAN group identifier can be established by calling the tunnel establishment service, and the tunnel is dedicated to the dedicated service of the LAN group identifier to one, ensuring The quality of service improves the user experience; moreover, the establishment of the tunnel facilitates the flexible configuration and real-time management of the private network.

附图说明Description of drawings

图1为本发明实施例的基于隧道建立服务的数据处理方法的流程示意图一;FIG. 1 is a first schematic flowchart of a data processing method based on a tunnel establishment service according to an embodiment of the present invention;

图2为本发明实施例的基于隧道建立服务的数据处理方法的流程示意图二;FIG. 2 is a second schematic flow diagram of a data processing method based on a tunnel establishment service according to an embodiment of the present invention;

图3为本发明实施例的基于隧道建立服务的数据处理方法的流程示意图三;FIG. 3 is a third schematic flowchart of a data processing method based on a tunnel establishment service according to an embodiment of the present invention;

图4为本发明实施例的基于隧道建立服务的数据处理方法的应用流程示意图一;FIG. 4 is a schematic diagram of an application flow of a data processing method based on a tunnel establishment service according to an embodiment of the present invention;

图5为本发明实施例的基于隧道建立服务的数据处理方法的应用流程示意图二;FIG. 5 is a second schematic diagram of the application flow of the data processing method based on the tunnel establishment service according to the embodiment of the present invention;

图6为本发明实施例的基于隧道建立服务的数据处理方法的应用流程示意图三;FIG. 6 is a schematic diagram of the third application flow of the data processing method based on the tunnel establishment service according to the embodiment of the present invention;

图7为本发明实施例的通信设备的组成结构示意图一;FIG. 7 is a first structural diagram of a communication device according to an embodiment of the present invention;

图8为本发明实施例的通信设备的组成结构示意图二;FIG. 8 is a second structural schematic diagram of a communication device according to an embodiment of the present invention;

图9为本发明实施例的通信设备的组成结构示意图三;FIG. 9 is a third schematic diagram of the composition and structure of a communication device according to an embodiment of the present invention;

图10为本发明实施例的通信设备的组成结构示意图四;FIG. 10 is a fourth schematic diagram of the composition and structure of a communication device according to an embodiment of the present invention;

图11为本发明实施例的通信设备的组成结构示意图五;FIG. 11 is a fifth schematic diagram of the composition and structure of a communication device according to an embodiment of the present invention;

图12为本发明实施例的通信设备的组成结构示意图六;FIG. 12 is a sixth schematic diagram of the composition and structure of a communication device according to an embodiment of the present invention;

图13为本发明实施例的通信设备的硬件组成结构示意图。FIG. 13 is a schematic diagram of a hardware composition structure of a communication device according to an embodiment of the present invention.

具体实施方式detailed description

下面结合附图及具体实施例对本发明作进一步详细的说明。The present invention will be described in further detail below in conjunction with the accompanying drawings and specific embodiments.

本发明实施例提供了一种基于隧道建立服务的数据处理方法。图1为本发明实施例的基于隧道建立服务的数据处理方法的流程示意图一;如图1所示,所述方法包括:The embodiment of the present invention provides a data processing method based on tunnel establishment service. FIG. 1 is a first schematic flow diagram of a data processing method based on a tunnel establishment service according to an embodiment of the present invention; as shown in FIG. 1 , the method includes:

步骤11:SMF获得局域网组标识,发起建立所述局域网组标识对应的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。Step 11: The SMF obtains the LAN group ID, initiates the establishment of a tunnel corresponding to the LAN group ID, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group ID.

本实施例中,所述局域网组标识(LAN group ID)可以是专网对应的组标识。作为一种示例,所述局域网组标识可以是企业专网的组标识,专用于该企业专网内的业务,以便于企业专网的访问管理,提升企业专网用户的服务质量与体验。In this embodiment, the local area network group ID (LAN group ID) may be a group ID corresponding to a private network. As an example, the local area network group identifier may be a group identifier of an enterprise private network, dedicated to services in the enterprise private network, so as to facilitate access management of the enterprise private network and improve service quality and experience of enterprise private network users.

本实施例中,所述发起建立所述局域网组标识对应的隧道,包括:所述SMF指示UPF建立与AF之间的所述隧道。In this embodiment, the initiating establishment of the tunnel corresponding to the LAN group identifier includes: the SMF instructing the UPF to establish the tunnel with the AF.

可以理解,本实施例中,所述局域网组标识对应的隧道由SMF发起建立,即SMF新增隧道建立服务,可通过该隧道建立服务的调用建立隧道。其中,作为一种示例,所述隧道为所述UPF与AF之间的隧道。It can be understood that, in this embodiment, the tunnel corresponding to the local area network group identifier is established by the SMF, that is, the SMF adds a tunnel establishment service, and the tunnel can be established by calling the tunnel establishment service. Wherein, as an example, the tunnel is a tunnel between the UPF and the AF.

在本申请的一种可选实施例中,所述SMF指示UPF建立与AF之间的所述隧道之前,所述方法还包括:所述SMF基于所述局域网组标识选择UPF;则所述SMF指示UPF建立与AF之间的所述隧道,包括:所述SMF向选择的所述UPF发送指示信息,所述指示信息用于指示所述UPF建立与AF之间的所述隧道。In an optional embodiment of the present application, before the SMF instructs the UPF to establish the tunnel with the AF, the method further includes: the SMF selects the UPF based on the LAN group identifier; then the SMF Instructing the UPF to establish the tunnel with the AF includes: the SMF sending indication information to the selected UPF, where the indication information is used to instruct the UPF to establish the tunnel with the AF.

在本申请的一种可选实施例中,所述方法还包括:所述SMF接收所述UPF发送的隧道建立响应消息。可以理解,SMF指示UPF建立与AF之间的隧道后,由UPF建立与AF之间的隧道,并将例如隧道建立成功的响应消息返回至SMF。In an optional embodiment of the present application, the method further includes: the SMF receiving a tunnel establishment response message sent by the UPF. It can be understood that after the SMF instructs the UPF to establish the tunnel with the AF, the UPF establishes the tunnel with the AF, and returns a response message such as a successful tunnel establishment to the SMF.

本实施例中,SMF获得局域网组标识的方式依据场景的不同也有所不同。In this embodiment, the manner in which the SMF obtains the LAN group ID varies according to different scenarios.

作为一种实施方式,所述SMF获得局域网组标识,包括:所述SMF接收NEF或AMF发送的隧道建立请求消息,获得所述隧道建立请求消息中携带的局域网组标识。其中,所述隧道建立请求消息在所述AMF接收到用户设备发送的PDU会话建立请求消息的情况下发送;所述PDU会话建立请求消息中包括所述局域网组标识。As an implementation manner, the obtaining the LAN group identifier by the SMF includes: the SMF receives the tunnel establishment request message sent by the NEF or the AMF, and obtains the LAN group identifier carried in the tunnel establishment request message. Wherein, the tunnel establishment request message is sent when the AMF receives the PDU session establishment request message sent by the user equipment; the PDU session establishment request message includes the local area network group identifier.

本实施方式中,隧道建立的触发由用户设备(UE)执行,例如用户设备发起PDU会话建立请求,基于该PDU会话发起请求,AMF向SMF发送隧道建立请求消息。In this embodiment, the triggering of the tunnel establishment is performed by the user equipment (UE), for example, the user equipment initiates a PDU session establishment request, and based on the PDU session initiation request, the AMF sends a tunnel establishment request message to the SMF.

作为另一种实施方式,所述隧道建立请求消息在所述AF的注册过程中由所述NEF发送;所述AF在注册过程中向所述NEF提供所述局域网组标识。As another implementation manner, the tunnel establishment request message is sent by the NEF during the registration process of the AF; the AF provides the LAN group identifier to the NEF during the registration process.

本实施方式中,隧道建立的触发由执行,在AF注册过程中,NEF向SMF发送隧道建立请求消息。In this embodiment, triggering of tunnel establishment is performed by the NEF. During the AF registration process, the NEF sends a tunnel establishment request message to the SMF.

在本申请的一种可选实施例中,所述方法还包括:所述SMF向所述NEF或AMF发送隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。In an optional embodiment of the present application, the method further includes: the SMF sending a tunnel establishment response message to the NEF or AMF; the tunnel establishment response message is sent after the SMF obtains a tunnel establishment result.

采用本发明实施例的技术方案,通过SMF新增的隧道建立服务,能够通过调用该隧道建立服务建立与局域网组标识对应的隧道,该隧道专用于该局域网组标识对一个的专用服务,保证了服务质量,提升了用户体验;并且,该隧道的建立也便于专网的灵活配置和实时管理。By adopting the technical scheme of the embodiment of the present invention, through the tunnel establishment service newly added by SMF, the tunnel corresponding to the LAN group identifier can be established by calling the tunnel establishment service, and the tunnel is dedicated to the dedicated service of the LAN group identifier to one, ensuring The quality of service improves the user experience; moreover, the establishment of the tunnel facilitates the flexible configuration and real-time management of the private network.

基于前述实施例,本发明实施例还提供了一种基于隧道建立服务的数据处理方法。图2为本发明实施例的基于隧道建立服务的数据处理方法的流程示意图二;如图2所示,所述方法包括:Based on the foregoing embodiments, an embodiment of the present invention further provides a data processing method based on tunnel establishment services. FIG. 2 is a second schematic flow diagram of a data processing method based on a tunnel establishment service according to an embodiment of the present invention; as shown in FIG. 2 , the method includes:

步骤21:NEF或AMF向SMF发送隧道建立请求消息;所述隧道建立请求消息中包括局域网组标识,所述隧道建立请求消息用于所述SMF发起建立隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。Step 21: NEF or AMF sends a tunnel establishment request message to the SMF; the tunnel establishment request message includes a LAN group identifier, and the tunnel establishment request message is used for the SMF to initiate the establishment of a tunnel, and the tunnel is used for the LAN group Identifies the transmission of service data of the corresponding LAN group.

作为一种实施方式,所述AMF向SMF发送隧道建立请求消息之前,所述方法还包括:所述AMF接收用户设备发送的PDU会话建立请求消息,所述PDU会话建立请求消息中包括所述局域网组标识。As an implementation manner, before the AMF sends a tunnel establishment request message to the SMF, the method further includes: the AMF receives a PDU session establishment request message sent by the user equipment, and the PDU session establishment request message includes the local area network Group ID.

本实施例中,所述方法还包括:所述AMF基于所述局域网组标识选择SMF;则所述AMF向SMF发送隧道建立请求消息,包括:所述AMF向选择的SMF发送隧道建立请求消息。In this embodiment, the method further includes: the AMF selects an SMF based on the LAN group identifier; then the AMF sends a tunnel establishment request message to the SMF, including: the AMF sends a tunnel establishment request message to the selected SMF.

作为另一种实施方式,所述NEF向SMF发送隧道建立请求消息,包括:所述NEF在AF的注册过程中获得所述局域网组标识,向所述SMF发送携带有所述局域网组标识的隧道建立请求消息。As another implementation manner, the NEF sends a tunnel establishment request message to the SMF, including: the NEF obtains the LAN group identifier during the registration process of the AF, and sends a tunnel carrying the LAN group identifier to the SMF Build request message.

在本发明的一种可选实施例中,所述方法还包括:所述NEF或AMF接收所述SMF发送的隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。In an optional embodiment of the present invention, the method further includes: the NEF or AMF receiving the tunnel establishment response message sent by the SMF; the tunnel establishment response message is sent after the SMF obtains the tunnel establishment result .

采用本发明实施例的技术方案,通过SMF新增的隧道建立服务,能够通过调用该隧道建立服务建立与局域网组标识对应的隧道,该隧道专用于该局域网组标识对一个的专用服务,保证了服务质量,提升了用户体验;并且,该隧道的建立也便于专网的灵活配置和实时管理。By adopting the technical scheme of the embodiment of the present invention, through the tunnel establishment service newly added by SMF, the tunnel corresponding to the LAN group identifier can be established by calling the tunnel establishment service, and the tunnel is dedicated to the dedicated service of the LAN group identifier to one, ensuring The quality of service improves the user experience; moreover, the establishment of the tunnel facilitates the flexible configuration and real-time management of the private network.

基于前述实施例,本发明实施例还提供了一种基于隧道建立服务的数据处理方法。图3为本发明实施例的基于隧道建立服务的数据处理方法的流程示意图三;如图3所示,所述方法包括:Based on the foregoing embodiments, an embodiment of the present invention further provides a data processing method based on tunnel establishment services. FIG. 3 is a third schematic flow diagram of a data processing method based on a tunnel establishment service according to an embodiment of the present invention; as shown in FIG. 3 , the method includes:

步骤31:UPF接收SMF的指示信息;所述指示信息中包括所述局域网组标识;Step 31: The UPF receives the indication information of the SMF; the indication information includes the LAN group identifier;

步骤32:所述UPF建立与AF之间的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。Step 32: The UPF establishes a tunnel with the AF, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier.

在本发明的一种可选实施例中,所述方法还包括:所述UPF向所述SMF发送隧道建立响应消息。In an optional embodiment of the present invention, the method further includes: the UPF sending a tunnel establishment response message to the SMF.

采用本发明实施例的技术方案,通过SMF新增的隧道建立服务,能够通过调用该隧道建立服务建立与局域网组标识对应的隧道,该隧道专用于该局域网组标识对一个的专用服务,保证了服务质量,提升了用户体验;并且,该隧道的建立也便于专网的灵活配置和实时管理。By adopting the technical scheme of the embodiment of the present invention, through the tunnel establishment service newly added by SMF, the tunnel corresponding to the LAN group identifier can be established by calling the tunnel establishment service, and the tunnel is dedicated to the dedicated service of the LAN group identifier to one, ensuring The quality of service improves the user experience; moreover, the establishment of the tunnel facilitates the flexible configuration and real-time management of the private network.

下面结合具体的应用场景对本发明实施例的基于隧道建立服务的数据处理方法进行详细说明。The data processing method based on the tunnel establishment service in the embodiment of the present invention will be described in detail below in combination with specific application scenarios.

场景一scene one

本场景可以是非漫游或漫游本地卸载场景下UE访问AF触发局域网组标识对应的隧道的建立。图4为本发明实施例的基于隧道建立服务的数据处理方法的应用流程示意图一;如图4所示,所述方法包括:This scenario may be that in a non-roaming or roaming local offloading scenario, the UE's access to the AF triggers the establishment of a tunnel corresponding to the LAN group identifier. FIG. 4 is a schematic diagram of an application flow of a data processing method based on a tunnel establishment service according to an embodiment of the present invention; as shown in FIG. 4 , the method includes:

步骤101、UE向AMF发送建立PDU会话(PDU Session)建立请求,所述PDU会话建立请求携带的参数中包括5G局域网组标识(5G LAN group ID)。In step 101, the UE sends a request to establish a PDU session (PDU Session) to the AMF, and the parameters carried in the PDU session establishment request include a 5G LAN group ID (5G LAN group ID).

步骤102、AMF进行SMF选择,具体为UE选择可以为该5G局域网组标识对应的5G局域网组(5G LAN group)提供服务的SMF。Step 102, the AMF performs SMF selection, specifically for the UE to select an SMF that can provide services for the 5G LAN group (5G LAN group) corresponding to the 5G LAN group identifier.

步骤103、AMF向选择的SMF发送SM上下文(SM Context)请求消息,即AMF调用创建SM上下文服务,或者直接读取已有的SM上下文。In step 103, the AMF sends an SM context (SM Context) request message to the selected SMF, that is, the AMF invokes the service of creating an SM context, or directly reads an existing SM context.

步骤104、SMF从UDM处获取UE的签约管理数据。Step 104, the SMF obtains the subscription management data of the UE from the UDM.

步骤105、AMF从SMF处获得SM上下文请求响应消息。Step 105, AMF obtains SM context request response message from SMF.

步骤106、AMF向SMF发送隧道建立请求,所述隧道建立请求中携带所述5G局域网组标识。即AMF调用SMF的5G局域网组的隧道建立服务,所述隧道建立请求消息可通过Nsmf_Tunnel_Greate Request表示,请求SMF建立5G局域网组级别的隧道。Step 106, the AMF sends a tunnel establishment request to the SMF, and the tunnel establishment request carries the 5G LAN group identifier. That is, the AMF invokes the tunnel establishment service of the 5G LAN group of the SMF, and the tunnel establishment request message may be indicated by Nsmf_Tunnel_Greate Request, requesting the SMF to establish a tunnel at the 5G LAN group level.

步骤107、SMF选择支持该5G局域网组服务的UPF。Step 107, the SMF selects a UPF that supports the service of the 5G LAN group.

步骤108、SMF与选择的UPF之间建立N4隧道。通过该N4隧道,SMF向选择的UFP发送指示信息,所述指示信息用于指示所述UPF建立与AF之间的所述隧道。Step 108: An N4 tunnel is established between the SMF and the selected UPF. Through the N4 tunnel, the SMF sends indication information to the selected UFP, where the indication information is used to instruct the UPF to establish the tunnel with the AF.

步骤109、UPF检测到该5G局域网组内当前没有建立与AF之间的隧道,则向AF发送隧道建立请求。In step 109, the UPF detects that there is currently no tunnel established with the AF in the 5G LAN group, and then sends a tunnel establishment request to the AF.

步骤110、AF向UPF返回隧道建立响应消息;在隧道建立成功的情况下,所述隧道建立响应消息为隧道建立成功的响应消息。In step 110, the AF returns a tunnel establishment response message to the UPF; if the tunnel establishment is successful, the tunnel establishment response message is a response message indicating that the tunnel establishment is successful.

步骤111、UPF向SMF返回隧道建立响应消息,所述隧道建立响应消息包括隧道的路由信息,所述SMF存储所述路由信息。Step 111: The UPF returns a tunnel establishment response message to the SMF, the tunnel establishment response message includes tunnel routing information, and the SMF stores the routing information.

步骤112、SMF向AMF发送隧道建立响应消息,所述隧道建立响应消息中传递的参数可包括以下至少之一:UPF与AF之间的所述5G局域网组级的隧道的路由信息、5G LAN groupID、PDU session ID等。作为一种实施方式,所述SMF向AMF发送的隧道建立响应消息可通过Namf_Communication_N1N2MessageTransfer表示。Step 112. The SMF sends a tunnel establishment response message to the AMF. The parameters transmitted in the tunnel establishment response message may include at least one of the following: routing information of the 5G LAN group-level tunnel between UPF and AF, 5G LAN groupID , PDU session ID, etc. As an implementation manner, the tunnel establishment response message sent by the SMF to the AMF may be represented by Namf_Communication_N1N2MessageTransfer.

步骤113、AMF向无线接入网(RAN,Radio Access Network)发送更新请求响应消息,所述更新请求响应消息中传递的参数可包括以下至少之一:PDU session ID、5GLANgroup ID、路由信息;其中,所述路由信息表示UPF与AF之间的5G局域网组级的隧道的路由信息。Step 113, AMF sends an update request response message to the radio access network (RAN, Radio Access Network), and the parameters transmitted in the update request response message may include at least one of the following: PDU session ID, 5GLANgroup ID, routing information; where , the routing information represents the routing information of the 5G LAN group-level tunnel between the UPF and the AF.

步骤114、RAN向UE发送更新请求响应消息,所述更新请求响应消息中传递的参数可包括以下至少之一:PDU session ID、5G LAN group ID以及路由信息;其中,所述路由信息表示UPF与AF之间的5G局域网组级的隧道的路由信息。Step 114. The RAN sends an update request response message to the UE. The parameters transmitted in the update request response message may include at least one of the following: PDU session ID, 5G LAN group ID, and routing information; wherein, the routing information indicates UPF and Routing information of 5G LAN group-level tunnels between AFs.

场景二scene two

本场景可以是漫游回归属地场景下UE访问AF触发局域网组标识对应的隧道的建立。本场景中包括拜访地的通信设备和归属地的通信设备。图5为本发明实施例的基于隧道建立服务的数据处理方法的应用流程示意图二;如图5所示,(V-)表示拜访地的通信设备,(H-)表示归属地的通信设备,例如,V-UPF表示UE所在拜访地的UPF,H-UPF表示UE所属的归属地的UPF。基于此,所述方法包括:This scenario may be that the UE visits the AF in a roaming return scenario and triggers the establishment of a tunnel corresponding to the local area network group identifier. This scenario includes the communication equipment at the visited location and the communication equipment at the home location. Fig. 5 is a schematic diagram of the application flow of the data processing method based on the tunnel establishment service according to the embodiment of the present invention; For example, the V-UPF indicates the UPF of the visited location where the UE is located, and the H-UPF indicates the UPF of the home location to which the UE belongs. Based on this, the method includes:

步骤201、UE向AMF发送建立PDU会话(PDU Session)建立请求,所述PDU会话建立请求携带的参数中包括5G局域网组标识(5G LAN group ID)。In step 201, the UE sends a request to establish a PDU session (PDU Session) to the AMF, and the parameters carried in the PDU session establishment request include a 5G LAN group ID (5G LAN group ID).

步骤202、AMF进行SMF选择,具体为UE选择可以为该5G局域网组标识对应的5G局域网组(5G LAN group)提供服务的V-SMF。Step 202, the AMF performs SMF selection, specifically for the UE to select a V-SMF that can provide services for the 5G LAN group (5G LAN group) corresponding to the 5G LAN group identifier.

步骤203、AMF向选择的V-SMF发送SM上下文(SM Context)请求消息,即AMF调用创建SM上下文服务,或者直接读取已有的SM上下文。作为一种示例,所述SM上下文(SMContext)请求消息可通过Nsmf_PDU Session_CreateSMContext Request表示。In step 203, the AMF sends an SM context (SM Context) request message to the selected V-SMF, that is, the AMF invokes the service of creating an SM context, or directly reads an existing SM context. As an example, the SM context (SMContext) request message may be represented by Nsmf_PDU Session_CreateSMContext Request.

步骤204、V-SMF选择UPF,所选择的UPF为V-UPF。In step 204, the V-SMF selects a UPF, and the selected UPF is the V-UPF.

步骤205、V-SMF与选择的V-UPF之间建立N4隧道。Step 205: An N4 tunnel is established between the V-SMF and the selected V-UPF.

步骤206、V-SMF向H-SMF发送SM上下文(SM Context)请求消息。Step 206, the V-SMF sends an SM context (SM Context) request message to the H-SMF.

步骤207、H-SMF从UDM处获取UE的签约管理数据。Step 207, the H-SMF obtains the subscription management data of the UE from the UDM.

步骤208、AMF向V-SMF发送隧道建立请求,所述隧道建立请求中携带所述5G局域网组标识。即AMF调用V-SMF的5G局域网组的隧道建立服务,所述隧道建立请求消息可通过Nsmf_Tunnel_Greate Request表示,请求SMF建立5G局域网组级别的隧道。In step 208, the AMF sends a tunnel establishment request to the V-SMF, and the tunnel establishment request carries the 5G local area network group identifier. That is, the AMF invokes the tunnel establishment service of the 5G LAN group of the V-SMF, and the tunnel establishment request message may be indicated by Nsmf_Tunnel_Greate Request, requesting the SMF to establish a tunnel at the 5G LAN group level.

步骤209、V-SMF向H-SMF发送隧道建立请求,所述隧道建立请求中携带所述5G局域网组标识。即V-SMF调用H-SMF的5G局域网组的隧道建立服务,所述隧道建立请求消息可通过Nsmf_Tunnel_Greate Request表示,请求SMF建立5G局域网组级别的隧道。Step 209, the V-SMF sends a tunnel establishment request to the H-SMF, and the tunnel establishment request carries the 5G local area network group identifier. That is, the V-SMF invokes the tunnel establishment service of the 5G LAN group of the H-SMF, and the tunnel establishment request message can be indicated by Nsmf_Tunnel_Greate Request, requesting the SMF to establish a tunnel at the 5G LAN group level.

步骤210、H-SMF选择支持该5G局域网组服务服务的H-UPF。Step 210, the H-SMF selects the H-UPF that supports the 5G LAN group service.

步骤211、H-SMF与选择的H-UPF之间建立N4隧道。通过该N4隧道,SMF向选择的H-UFP发送指示信息,所述指示信息用于指示所述H-UPF建立与AF之间的所述隧道。Step 211, an N4 tunnel is established between the H-SMF and the selected H-UPF. Through the N4 tunnel, the SMF sends indication information to the selected H-UFP, where the indication information is used to instruct the H-UPF to establish the tunnel with the AF.

步骤212、H-UPF检测到该5G局域网组内当前没有建立与AF之间的隧道,向AF发起隧道建立请求。Step 212, the H-UPF detects that the tunnel with the AF is currently not established in the 5G local area network group, and initiates a tunnel establishment request to the AF.

步骤213、AF向H-UPF返回隧道建立响应消息;在隧道建立成功的情况下,所述隧道建立响应消息为隧道建立成功的响应消息。In step 213, the AF returns a tunnel establishment response message to the H-UPF; if the tunnel establishment is successful, the tunnel establishment response message is a response message indicating that the tunnel establishment is successful.

步骤214、H-UPF向H-SMF返回隧道建立响应消息,所述隧道建立响应消息包括隧道的路由信息,所述H-SMF存储所述路由信息。Step 214: The H-UPF returns a tunnel establishment response message to the H-SMF, where the tunnel establishment response message includes tunnel routing information, and the H-SMF stores the routing information.

步骤215、H-SMF向V-SMF发送隧道建立响应消息,或者也可以是PDU会话建立响应消息;所述响应消息中包括所述隧道的路由信息。Step 215, the H-SMF sends a tunnel establishment response message, or a PDU session establishment response message, to the V-SMF; the response message includes the routing information of the tunnel.

其中,作为一种实施方式,所述响应消息中也可包括前述SM上下文(SM Context)请求消息对应的响应消息;作为另一种实施方式,在执行步骤215之后,H-SMF向V-SMF单独发送前述SM上下文(SM Context)请求消息对应的响应消息。Wherein, as an implementation manner, the response message may also include a response message corresponding to the aforementioned SM context (SM Context) request message; as another implementation manner, after step 215 is performed, the H-SMF sends a message to the V-SMF A response message corresponding to the aforementioned SM context (SM Context) request message is sent separately.

步骤216、V-SMF向AMF发送隧道建立响应消息,所述隧道建立响应消息中传递的参数可包括以下至少之一:H-UPF与AF之间的所述5G局域网组级的隧道的路由信息、5G LANgroup ID、PDU session ID等。作为一种实施方式,所述SMF向AMF发送的隧道建立响应消息可通过Namf_Communication_N1N2MessageTransfer表示。Step 216. The V-SMF sends a tunnel establishment response message to the AMF. The parameters transmitted in the tunnel establishment response message may include at least one of the following: routing information of the 5G LAN group-level tunnel between the H-UPF and the AF , 5G LAN group ID, PDU session ID, etc. As an implementation manner, the tunnel establishment response message sent by the SMF to the AMF may be represented by Namf_Communication_N1N2MessageTransfer.

步骤217、AMF向RAN发送更新请求响应消息,所述更新请求响应消息中传递的参数可包括以下至少之一:PDU session ID、5GLAN group ID、路由信息;其中,所述路由信息表示UPF与AF之间的5G局域网组级的隧道的路由信息。Step 217, AMF sends an update request response message to RAN, and the parameters transmitted in the update request response message may include at least one of the following: PDU session ID, 5GLAN group ID, routing information; wherein, the routing information represents UPF and AF Routing information for group-level tunnels between 5G LANs.

步骤218、RAN向UE更新请求响应消息,所述更新请求响应消息中传递的参数可包括以下至少之一:PDU session ID、5G LAN group ID以及路由信息;其中,所述路由信息表示UPF与AF之间的5G局域网组级的隧道的路由信息。Step 218, the RAN updates the request response message to the UE, and the parameters transmitted in the update request response message may include at least one of the following: PDU session ID, 5G LAN group ID, and routing information; wherein, the routing information represents UPF and AF Routing information for group-level tunnels between 5G LANs.

场景三scene three

本场景可以是AF注册过程中触发局域网组标识对应的隧道的建立。图6为本发明实施例的基于隧道建立服务的数据处理方法的应用流程示意图三;如图6所示,所述方法包括:In this scenario, the establishment of the tunnel corresponding to the LAN group identifier is triggered during the AF registration process. Fig. 6 is a schematic diagram of the application process of the data processing method based on the tunnel establishment service according to an embodiment of the present invention; as shown in Fig. 6, the method includes:

步骤301、DN订阅UDM的信息更新通知。Step 301, the DN subscribes to the information update notification of the UDM.

步骤302、AF向NEF提供更新参数,所述更新参数中包括5G局域网组标识(5G LANgroup ID)。本步骤中,AF可通过向NEF发送参数更新请求消息,所述参数更新请求消息中5G局域网组标识(5G LAN group ID)。In step 302, the AF provides an update parameter to the NEF, and the update parameter includes a 5G LAN group ID (5G LANgroup ID). In this step, the AF may send a parameter update request message to the NEF, and the parameter update request message includes a 5G LAN group ID (5G LAN group ID).

步骤303、NEF授权的AF可以提供参数,则NEF向UDM请求更新参数,所述更新参数中包括5G局域网组标识(5G LAN group ID);UDM存储更新的参数,即UDM存储5G局域网组标识(5G LAN group ID)。作为一种示例,NEF可向UDM发送参数更新请求消息,所述参数更新请求消息中5G局域网组标识(5G LAN group ID)。Step 303, AF authorized by NEF can provide parameters, then NEF requests UDM to update parameters, and the update parameters include 5G LAN group ID (5G LAN group ID); UDM stores updated parameters, that is, UDM stores 5G LAN group ID ( 5G LAN group ID). As an example, the NEF may send a parameter update request message to the UDM, and the parameter update request message includes a 5G LAN group ID (5G LAN group ID).

步骤304、UDM请求读取UDR中的AF相关的数据。其中,该请求中可包括5G局域网组标识(5G LAN group ID)。Step 304, the UDM requests to read AF-related data in the UDR. Wherein, the request may include a 5G LAN group ID (5G LAN group ID).

步骤305、UDR存储并更新5G局域网组标识(5G LAN group ID)作分UE的签约数据的一部分。Step 305, the UDR stores and updates the 5G LAN group ID (5G LAN group ID) as part of the UE's subscription data.

步骤306、NEF向SMF发送隧道建立请求,所述隧道建立请求中携带所述5G局域网组标识。In step 306, the NEF sends a tunnel establishment request to the SMF, and the tunnel establishment request carries the 5G local area network group identifier.

本步骤中,NEF识别到AF注册时携带的参数中包含5G局域网组标识(5G LAN groupID),该标识是为某个5G局域网组提供服务的AF,且隧道建立方式为注册时建立,则向SMF发送隧道建立请求,所述隧道建立请求消息可通过Nsmf_Tunnel_Greate Request表示,请求SMF为5G局域网组建立隧道。In this step, the NEF recognizes that the parameters carried by the AF during registration include the 5G LAN group ID (5G LAN groupID), which is an AF that provides services for a certain 5G LAN group, and the tunnel establishment method is established during registration. The SMF sends a tunnel establishment request, and the tunnel establishment request message may be represented by Nsmf_Tunnel_Greate Request, requesting the SMF to establish a tunnel for the 5G LAN group.

步骤307、SMF选择支持该组服务的UPF,并发送隧道建立指示,所述隧道建立指示用于指示所述UPF建立与AF之间的所述隧道。Step 307, the SMF selects a UPF that supports the group of services, and sends a tunnel establishment indication, where the tunnel establishment indication is used to instruct the UPF to establish the tunnel with the AF.

步骤308、UPF检测到该5G局域网组内当前没有建立与AF之间的隧道,则向AF发送隧道建立请求。In step 308, the UPF detects that there is currently no tunnel established with the AF in the 5G local area network group, and then sends a tunnel establishment request to the AF.

步骤309、AF向UPF返回隧道建立响应消息;在隧道建立成功的情况下,所述隧道建立响应消息为隧道建立成功的响应消息。In step 309, the AF returns a tunnel establishment response message to the UPF; if the tunnel establishment is successful, the tunnel establishment response message is a response message indicating that the tunnel establishment is successful.

步骤310、UPF向SMF返回隧道建立响应消息,所述隧道建立响应消息包括隧道的路由信息,所述SMF存储所述路由信息。Step 310: The UPF returns a tunnel establishment response message to the SMF, where the tunnel establishment response message includes tunnel routing information, and the SMF stores the routing information.

步骤311、SMF向NEF发送隧道建立响应消息。Step 311, the SMF sends a tunnel establishment response message to the NEF.

步骤312、UDM向NEF返回更新请求响应消息。In step 312, the UDM returns an update request response message to the NEF.

步骤313、NEF向AF返回更新请求响应消息。Step 313, the NEF returns an update request response message to the AF.

本发明上述示例中,数据网络(DN,Data Network)相当于前述AF,也即UPF与AF之间的隧道,相当于UPF与DN之间的隧道。In the above examples of the present invention, the data network (DN, Data Network) is equivalent to the aforementioned AF, that is, the tunnel between the UPF and the AF, which is equivalent to the tunnel between the UPF and the DN.

本发明实施例还提供了一种通信设备,本实施例的通信设备具体为SMF。图7为本发明实施例的通信设备的组成结构示意图一,如图7所示,所述通信设备包括获取单元41和发起单元42;其中,The embodiment of the present invention also provides a communication device, and the communication device in this embodiment is specifically an SMF. FIG. 7 is a first schematic diagram of the composition and structure of a communication device according to an embodiment of the present invention. As shown in FIG. 7 , the communication device includes an acquisition unit 41 and an initiation unit 42; wherein,

所述获取单元41,用于获得局域网组标识;The obtaining unit 41 is configured to obtain a LAN group identifier;

所述发起单元42,用于发起建立所述局域网组标识对应的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。The initiating unit 42 is configured to initiate establishment of a tunnel corresponding to the LAN group identifier, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier.

在本申请的一种可选实施例中,所述发起单元42,用于指示UPF建立与AF之间的所述隧道。In an optional embodiment of the present application, the initiating unit 42 is configured to instruct the UPF to establish the tunnel with the AF.

在本申请的一种可选实施例中,如图8所示,所述通信设备还包括第一选择处理单元43,用于基于所述局域网组标识选择UPF;In an optional embodiment of the present application, as shown in FIG. 8 , the communication device further includes a first selection processing unit 43, configured to select a UPF based on the local area network group identifier;

所述发起单元42,用于向所述第一选择处理单元43选择的所述UPF发送指示信息,所述指示信息用于指示所述UPF建立与AF之间的所述隧道。The initiating unit 42 is configured to send indication information to the UPF selected by the first selection processing unit 43, where the indication information is used to instruct the UPF to establish the tunnel with the AF.

在本申请的一种可选实施例中,所述获取单元41,用于接收NEF或AMF发送的隧道建立请求消息,获得所述隧道建立请求消息中携带的局域网组标识。In an optional embodiment of the present application, the obtaining unit 41 is configured to receive a tunnel establishment request message sent by the NEF or AMF, and obtain the LAN group identifier carried in the tunnel establishment request message.

在本申请的一种可选实施例中,所述隧道建立请求消息在所述AMF接收到用户设备发送的PDU会话建立请求消息的情况下发送;所述PDU会话建立请求消息中包括所述局域网组标识。In an optional embodiment of the present application, the tunnel establishment request message is sent when the AMF receives the PDU session establishment request message sent by the user equipment; the PDU session establishment request message includes the local area network Group ID.

在本申请的一种可选实施例中,所述隧道建立请求消息在所述AF的注册过程中由所述NEF发送;所述AF在注册过程中向所述NEF提供所述局域网组标识。In an optional embodiment of the present application, the tunnel establishment request message is sent by the NEF during the registration process of the AF; the AF provides the LAN group identifier to the NEF during the registration process.

在本申请的一种可选实施例中,所述发起单元42,还用于接收所述UPF发送的隧道建立响应消息。In an optional embodiment of the present application, the initiating unit 42 is further configured to receive a tunnel establishment response message sent by the UPF.

在本申请的一种可选实施例中,所述获取单元41,还用于向所述NEF或AMF发送隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。In an optional embodiment of the present application, the obtaining unit 41 is further configured to send a tunnel establishment response message to the NEF or AMF; the tunnel establishment response message is sent after the SMF obtains a tunnel establishment result.

本实施例中,所述通信设备中的第一选择处理单元43,在实际应用中均可由所述通信设备中的中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)实现;所述通信设备中的获取单元41和发起单元42,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In this embodiment, the first selection processing unit 43 in the communication device can be composed of a central processing unit (CPU, Central Processing Unit), a digital signal processor (DSP, Digital Signal Processor) in the communication device in practical applications. Processor), Microcontroller Unit (MCU, Microcontroller Unit) or Programmable Gate Array (FPGA, Field-Programmable Gate Array); the acquisition unit 41 and the initiation unit 42 in the communication device can be used in practical applications through the communication module Group (including: basic communication suite, operating system, communication module, standardized interface and protocol, etc.) and implementation of transceiver antennas.

本发明实施例还提供了一种通信设备,本实施例的通信设备具体为NEF或AMF。图9为本发明实施例的通信设备的组成结构示意图三,如图9所示,所述通信设备包括第一通信单元51,用于向SMF发送隧道建立请求消息;所述隧道建立请求消息中包括局域网组标识,所述隧道建立请求消息用于所述SMF发起建立隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。The embodiment of the present invention also provides a communication device, and the communication device in this embodiment is specifically a NEF or an AMF. Fig. 9 is a schematic diagram 3 of the composition and structure of the communication device according to the embodiment of the present invention. As shown in Fig. 9, the communication device includes a first communication unit 51 for sending a tunnel establishment request message to the SMF; in the tunnel establishment request message Including the LAN group identifier, the tunnel establishment request message is used by the SMF to initiate establishment of a tunnel, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier.

在本申请的一种可选实施例中,如图10所示,所述通信设备还包括第二通信单元52,用于所述第一通信单元51向SMF发送隧道建立请求消息之前,接收用户设备发送的PDU会话建立请求消息,所述PDU会话建立请求消息中包括所述局域网组标识。In an optional embodiment of the present application, as shown in FIG. 10 , the communication device further includes a second communication unit 52, configured to receive the user's The PDU session establishment request message sent by the device, the PDU session establishment request message includes the local area network group identifier.

在本申请的一种可选实施例中,如图11所示,所述通信设备还包括第二选择处理单元53,用于基于所述局域网组标识选择SMF;In an optional embodiment of the present application, as shown in FIG. 11 , the communication device further includes a second selection processing unit 53, configured to select an SMF based on the local area network group identifier;

所述第一通信单元51,用于向所述第二选择处理单元53选择的SMF发送隧道建立请求消息。The first communication unit 51 is configured to send a tunnel establishment request message to the SMF selected by the second selection processing unit 53 .

在本申请的一种可选实施例中,所述第一通信单元51,用于在AF的注册过程中获得所述局域网组标识,向所述SMF发送携带有所述局域网组标识的隧道建立请求消息。In an optional embodiment of the present application, the first communication unit 51 is configured to obtain the LAN group identifier during the AF registration process, and send a tunnel establishment message carrying the LAN group identifier to the SMF. request message.

在本申请的一种可选实施例中,所述第一通信单元51,还用于接收所述SMF发送的隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。In an optional embodiment of the present application, the first communication unit 51 is further configured to receive a tunnel establishment response message sent by the SMF; the tunnel establishment response message is sent after the SMF obtains a tunnel establishment result .

本实施例中,所述通信设备中的第二选择处理单元53,在实际应用中可由所述通信设备中的CPU、DSP、MCU或FPGA实现;所述通信设备中的第一通信单元51和第二通信单元52,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In this embodiment, the second selection processing unit 53 in the communication device can be realized by CPU, DSP, MCU or FPGA in the communication device in practical applications; the first communication unit 51 and the first communication unit 51 in the communication device The second communication unit 52 can be implemented by a communication module (including: basic communication suite, operating system, communication module, standardized interface and protocol, etc.) and a transceiver antenna in practical applications.

本发明实施例还提供了一种通信设备,本实施例的通信设备具体为UPF。图12为本发明实施例的通信设备的组成结构示意图六,如图12所示,所述通信设备包括第三通信单元61和隧道建立单元62;其中,The embodiment of the present invention also provides a communication device, and the communication device in this embodiment is specifically a UPF. FIG. 12 is a sixth schematic diagram of the composition and structure of a communication device according to an embodiment of the present invention. As shown in FIG. 12 , the communication device includes a third communication unit 61 and a tunnel establishment unit 62; wherein,

所述第三通信单元61,用于接收SMF的指示信息;所述指示信息中包括所述局域网组标识;The third communication unit 61 is configured to receive indication information of the SMF; the indication information includes the local area network group identifier;

所述隧道建立单元62,用于建立与AF之间的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。The tunnel establishing unit 62 is configured to establish a tunnel with the AF, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier.

在本申请的一种可选实施例中,所述第三通信单元61,还用于向所述SMF发送隧道建立响应消息。In an optional embodiment of the present application, the third communication unit 61 is further configured to send a tunnel establishment response message to the SMF.

本实施例中,所述通信设备中的第三通信单元61和隧道建立单元62,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In this embodiment, the third communication unit 61 and the tunnel establishment unit 62 in the communication device can pass communication modules (including: basic communication suites, operating systems, communication modules, standardized interfaces and protocols, etc.) and transceiver antennas.

需要说明的是:上述实施例提供的通信设备在进行基于隧道建立服务的数据处理时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将设备的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的通信设备与基于隧道建立服务的数据处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the communication device provided in the above embodiment performs data processing based on the tunnel establishment service, the division of the above-mentioned program modules is used as an example for illustration. In practical applications, the above-mentioned processing can be assigned to different Completion of program modules means that the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the communication device provided by the above embodiment and the embodiment of the data processing method based on the tunnel establishment service belong to the same concept, and the specific implementation process thereof is detailed in the method embodiment, and will not be repeated here.

本发明实施例还提供了一种通信设备,图13为本发明实施例的通信设备的硬件组成结构示意图,如图13所示,所述通信设备700包括存储器702、处理器701及存储在存储器702上并可在处理器701上运行的计算机程序,其中,所述处理器701执行所述程序时实现本申请实施例中应用于通信设备(SMF、NEF或AMF、或UPF)的所述方法的步骤。The embodiment of the present invention also provides a communication device. FIG. 13 is a schematic diagram of the hardware composition structure of the communication device according to the embodiment of the present invention. As shown in FIG. 13 , the communication device 700 includes a memory 702, a processor 701 and a 702 and a computer program that can run on the processor 701, wherein, when the processor 701 executes the program, the method applied to the communication device (SMF, NEF or AMF, or UPF) in the embodiment of this application is implemented A step of.

本实施例中,通信设备中还包括通信接口703。通信设备700中的各个组件通过总线系统704耦合在一起。可理解,总线系统704用于实现这些组件之间的连接通信。总线系统704除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图13中将各种总线都标为总线系统704。In this embodiment, the communication device further includes a communication interface 703 . Various components in the communication device 700 are coupled together through a bus system 704 . It can be understood that the bus system 704 is used to realize connection and communication between these components. In addition to the data bus, the bus system 704 also includes a power bus, a control bus and a status signal bus. However, for clarity of illustration, the various buses are labeled as bus system 704 in FIG. 13 .

可以理解,存储器702可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random AccessMemory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. Wherein, the non-volatile memory can be a read-only memory (ROM, Read Only Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory), Only Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory (Flash Memory), Magnetic Surface Memory , CD, or CD-ROM (CD-ROM, Compact Disc Read-Only Memory); the magnetic surface storage can be disk storage or tape storage. The volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM, Static Random Access Memory), Synchronous Static Random Access Memory (SSRAM, Synchronous Static Random Access Memory), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, Synchronous Dynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) . The memory 702 described in the embodiments of the present invention is intended to include, but not be limited to, these and any other suitable types of memory.

上述本发明实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器701可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to the processor 701 or implemented by the processor 701 . The processor 701 may be an integrated circuit chip with signal processing capability. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or instructions in the form of software. The aforementioned processor 701 may be a general processor, DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor 701 may implement or execute various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the methods disclosed in the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, and the storage medium is located in the memory 702. The processor 701 reads the information in the memory 702, and completes the steps of the foregoing method in combination with its hardware.

本发明实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现本申请实施例中应用于通信设备(SMF、NEF或AMF、或UPF)的所述方法的步骤。An embodiment of the present invention also provides a computer-readable storage medium, on which a computer program is stored, and is characterized in that, when the program is executed by a processor, it implements the communication device (SMF, NEF or AMF, or UPF).

在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods, such as: multiple units or components can be combined, or May be integrated into another system, or some features may be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms of.

上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed to multiple network units; Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention can be integrated into one processing unit, or each unit can be used as a single unit, or two or more units can be integrated into one unit; the above-mentioned integration The unit can be realized in the form of hardware or in the form of hardware plus software functional unit.

本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for realizing the above-mentioned method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the It includes the steps of the above method embodiments; and the aforementioned storage medium includes: various media that can store program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.

或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated units of the present invention are implemented in the form of software function modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for Make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media capable of storing program codes such as removable storage devices, ROM, RAM, magnetic disks or optical disks.

本申请所提供的几个方法实施例中所揭露的方法,在不冲突的情况下可以任意组合,得到新的方法实施例。The methods disclosed in several method embodiments provided in this application can be combined arbitrarily to obtain new method embodiments under the condition of no conflict.

本申请所提供的几个产品实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的产品实施例。The features disclosed in several product embodiments provided in this application can be combined arbitrarily without conflict to obtain new product embodiments.

本申请所提供的几个方法或设备实施例中所揭露的特征,在不冲突的情况下可以任意组合,得到新的方法实施例或设备实施例。The features disclosed in several method or device embodiments provided in this application can be combined arbitrarily without conflict to obtain new method embodiments or device embodiments.

以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above is only a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Anyone skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present invention. Should be covered within the protection scope of the present invention. Therefore, the protection scope of the present invention should be determined by the protection scope of the claims.

Claims (30)

1.一种基于隧道建立服务的数据处理方法,其特征在于,所述方法包括:1. A data processing method based on tunnel establishment service, characterized in that the method comprises: 会话管理功能SMF获得局域网组标识,发起建立所述局域网组标识对应的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输;The session management function SMF obtains the LAN group identifier, initiates the establishment of a tunnel corresponding to the LAN group identifier, and the tunnel is used for the transmission of the LAN group service data corresponding to the LAN group identifier; 所述发起建立所述局域网组标识对应的隧道,包括:所述SMF指示用户面功能UPF建立与数据网络DN之间的所述隧道。The initiating establishment of the tunnel corresponding to the local area network group identifier includes: the SMF instructing the user plane function UPF to establish the tunnel with the data network DN. 2.根据权利要求1所述的方法,其特征在于,所述SMF指示UPF建立与DN之间的所述隧道之前,所述方法还包括:2. The method according to claim 1, wherein before the SMF instructs the UPF to establish the tunnel with the DN, the method further comprises: 所述SMF基于所述局域网组标识选择UPF;The SMF selects a UPF based on the LAN group identifier; 所述SMF指示UPF建立与DN之间的所述隧道,包括:The SMF instructs the UPF to establish the tunnel with the DN, including: 所述SMF向选择的所述UPF发送指示信息,所述指示信息用于指示所述UPF建立与DN之间的所述隧道。The SMF sends indication information to the selected UPF, where the indication information is used to instruct the UPF to establish the tunnel with the DN. 3.根据权利要求1所述的方法,其特征在于,所述SMF获得局域网组标识,包括:3. The method according to claim 1, wherein the SMF obtaining the LAN group identifier comprises: 所述SMF接收网络开放功能NEF或接入和移动性管理功能AMF发送的隧道建立请求消息,获得所述隧道建立请求消息中携带的局域网组标识。The SMF receives the tunnel establishment request message sent by the network opening function NEF or the access and mobility management function AMF, and obtains the LAN group identifier carried in the tunnel establishment request message. 4.根据权利要求3所述的方法,其特征在于,所述隧道建立请求消息在所述AMF接收到用户设备发送的协议数据单元PDU会话建立请求消息的情况下发送;所述PDU会话建立请求消息中包括所述局域网组标识。4. The method according to claim 3, wherein the tunnel establishment request message is sent when the AMF receives a protocol data unit PDU session establishment request message sent by the user equipment; the PDU session establishment request The message includes the LAN group identifier. 5.根据权利要求3所述的方法,其特征在于,所述隧道建立请求消息在所述DN的注册过程中由所述NEF发送;所述DN在注册过程中向所述NEF提供所述局域网组标识。5. The method according to claim 3, wherein the tunnel establishment request message is sent by the NEF during the registration process of the DN; Group ID. 6.根据权利要求1或2所述的方法,其特征在于,所述方法还包括:6. The method according to claim 1 or 2, wherein the method further comprises: 所述SMF接收所述UPF发送的隧道建立响应消息。The SMF receives the tunnel establishment response message sent by the UPF. 7.根据权利要求3至5任一项所述的方法,其特征在于,所述方法还包括:7. The method according to any one of claims 3 to 5, wherein the method further comprises: 所述SMF向所述NEF或AMF发送隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。The SMF sends a tunnel establishment response message to the NEF or AMF; the tunnel establishment response message is sent after the SMF obtains a tunnel establishment result. 8.一种基于隧道建立服务的数据处理方法,其特征在于,所述方法包括:8. A data processing method based on tunnel establishment service, characterized in that the method comprises: 网络开放功能NEF或接入和移动性管理功能AMF向SMF发送隧道建立请求消息;所述隧道建立请求消息中包括局域网组标识,所述隧道建立请求消息用于所述SMF发起建立隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输;The network opening function NEF or the access and mobility management function AMF sends a tunnel establishment request message to the SMF; the tunnel establishment request message includes a local area network group identifier, and the tunnel establishment request message is used for the SMF to initiate establishment of a tunnel, the The tunnel is used for the transmission of the LAN group business data corresponding to the LAN group identifier; 所述隧道建立请求消息还用于所述SMF指示UPF建立与DN之间的所述隧道。The tunnel establishment request message is also used by the SMF to instruct the UPF to establish the tunnel with the DN. 9.根据权利要求8所述的方法,其特征在于,所述AMF向SMF发送隧道建立请求消息之前,所述方法还包括:9. The method according to claim 8, wherein before the AMF sends a tunnel establishment request message to the SMF, the method further comprises: 所述AMF接收用户设备发送的PDU会话建立请求消息,所述PDU会话建立请求消息中包括所述局域网组标识。The AMF receives the PDU session establishment request message sent by the user equipment, and the PDU session establishment request message includes the local area network group identifier. 10.根据权利要求9所述的方法,其特征在于,所述方法还包括:10. The method according to claim 9, further comprising: 所述AMF基于所述局域网组标识选择SMF;The AMF selects an SMF based on the LAN group identifier; 所述AMF向SMF发送隧道建立请求消息,包括:The AMF sends a tunnel establishment request message to the SMF, including: 所述AMF向选择的SMF发送隧道建立请求消息。The AMF sends a tunnel establishment request message to the selected SMF. 11.根据权利要求8所述的方法,其特征在于,所述NEF向SMF发送隧道建立请求消息,包括:11. The method according to claim 8, wherein the NEF sends a tunnel establishment request message to the SMF, comprising: 所述NEF在DN的注册过程中获得所述局域网组标识,向所述SMF发送携带有所述局域网组标识的隧道建立请求消息。The NEF obtains the LAN group identifier during the DN registration process, and sends a tunnel establishment request message carrying the LAN group identifier to the SMF. 12.根据权利要求8至11任一项所述的方法,其特征在于,所述方法还包括:12. The method according to any one of claims 8 to 11, further comprising: 所述NEF或AMF接收所述SMF发送的隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。The NEF or AMF receives the tunnel establishment response message sent by the SMF; the tunnel establishment response message is sent after the SMF obtains a tunnel establishment result. 13.一种基于隧道建立服务的数据处理方法,其特征在于,所述方法包括:13. A data processing method based on tunnel establishment service, characterized in that the method comprises: UPF接收SMF的指示信息;所述指示信息中包括局域网组标识;The UPF receives the instruction information of the SMF; the instruction information includes the LAN group identifier; 所述UPF建立与DN之间的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。The UPF establishes a tunnel with the DN, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier. 14.根据权利要求13所述的方法,其特征在于,所述方法还包括:14. The method of claim 13, further comprising: 所述UPF向所述SMF发送隧道建立响应消息。The UPF sends a tunnel establishment response message to the SMF. 15.一种通信设备,其特征在于,所述通信设备为SMF,所述通信设备包括获取单元和发起单元;其中,15. A communication device, characterized in that, the communication device is an SMF, and the communication device includes an acquiring unit and an initiating unit; wherein, 所述获取单元,用于获得局域网组标识;The obtaining unit is configured to obtain a LAN group identifier; 所述发起单元,用于发起建立所述局域网组标识对应的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输;The initiating unit is configured to initiate establishment of a tunnel corresponding to the LAN group identifier, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier; 其中,所述发起单元,用于指示UPF建立与DN之间的所述隧道。Wherein, the initiating unit is configured to instruct the UPF to establish the tunnel with the DN. 16.根据权利要求15所述的通信设备,其特征在于,所述通信设备还包括第一选择处理单元,用于基于所述局域网组标识选择UPF;16. The communication device according to claim 15, further comprising a first selection processing unit configured to select a UPF based on the local area network group identifier; 所述发起单元,用于向所述第一选择处理单元选择的所述UPF发送指示信息,所述指示信息用于指示所述UPF建立与DN之间的所述隧道。The initiating unit is configured to send indication information to the UPF selected by the first selection processing unit, where the indication information is used to instruct the UPF to establish the tunnel with the DN. 17.根据权利要求15所述的通信设备,其特征在于,所述获取单元,用于接收NEF或AMF发送的隧道建立请求消息,获得所述隧道建立请求消息中携带的局域网组标识。17. The communication device according to claim 15, wherein the obtaining unit is configured to receive a tunnel establishment request message sent by NEF or AMF, and obtain the LAN group identifier carried in the tunnel establishment request message. 18.根据权利要求17所述的通信设备,其特征在于,所述隧道建立请求消息在所述AMF接收到用户设备发送的PDU会话建立请求消息的情况下发送;所述PDU会话建立请求消息中包括所述局域网组标识。18. The communication device according to claim 17, wherein the tunnel establishment request message is sent when the AMF receives the PDU session establishment request message sent by the user equipment; in the PDU session establishment request message Include the LAN group ID. 19.根据权利要求17所述的通信设备,其特征在于,所述隧道建立请求消息在所述DN的注册过程中由所述NEF发送;所述DN在注册过程中向所述NEF提供所述局域网组标识。19. The communication device according to claim 17, wherein the tunnel establishment request message is sent by the NEF during the registration process of the DN; the DN provides the NEF with the LAN group ID. 20.根据权利要求15或16所述的通信设备,其特征在于,所述发起单元,还用于接收所述UPF发送的隧道建立响应消息。20. The communication device according to claim 15 or 16, wherein the initiating unit is further configured to receive a tunnel establishment response message sent by the UPF. 21.根据权利要求17至19任一项所述的通信设备,其特征在于,所述获取单元,还用于向所述NEF或AMF发送隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。21. The communication device according to any one of claims 17 to 19, wherein the acquiring unit is further configured to send a tunnel establishment response message to the NEF or AMF; the tunnel establishment response message is in the SMF sends it after obtaining the tunnel establishment result. 22.一种通信设备,其特征在于,所述通信设备为NEF或AMF,所述通信设备包括第一通信单元,用于向SMF发送隧道建立请求消息;所述隧道建立请求消息中包括局域网组标识,所述隧道建立请求消息用于所述SMF发起建立隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输;所述隧道建立请求消息还用于所述SMF指示UPF建立与DN之间的所述隧道。22. A communication device, characterized in that, the communication device is NEF or AMF, and the communication device includes a first communication unit, configured to send a tunnel establishment request message to the SMF; the tunnel establishment request message includes a local area network group ID, the tunnel establishment request message is used by the SMF to initiate the establishment of a tunnel, and the tunnel is used for the transmission of the LAN group service data corresponding to the LAN group identifier; the tunnel establishment request message is also used by the SMF to indicate the UPF Establish said tunnel to and from the DN. 23.根据权利要求22所述的通信设备,其特征在于,所述通信设备还包括第二通信单元,用于所述第一通信单元向SMF发送隧道建立请求消息之前,接收用户设备发送的PDU会话建立请求消息,所述PDU会话建立请求消息中包括所述局域网组标识。23. The communication device according to claim 22, wherein the communication device further comprises a second communication unit, configured to receive the PDU sent by the user equipment before the first communication unit sends the tunnel establishment request message to the SMF A session establishment request message, where the PDU session establishment request message includes the LAN group identifier. 24.根据权利要求23所述的通信设备,其特征在于,所述通信设备还包括第二选择处理单元,用于基于所述局域网组标识选择SMF;24. The communication device according to claim 23, further comprising a second selection processing unit configured to select an SMF based on the local area network group identifier; 所述第一通信单元,用于向所述第二选择处理单元选择的SMF发送隧道建立请求消息。The first communication unit is configured to send a tunnel establishment request message to the SMF selected by the second selection processing unit. 25.根据权利要求22所述的通信设备,其特征在于,所述第一通信单元,用于在DN的注册过程中获得所述局域网组标识,向所述SMF发送携带有所述局域网组标识的隧道建立请求消息。25. The communication device according to claim 22, wherein the first communication unit is configured to obtain the LAN group identifier during the registration process of the DN, and send a message carrying the LAN group identifier to the SMF The tunnel establishment request message. 26.根据权利要求22至25任一项所述的通信设备,其特征在于,所述第一通信单元,还用于接收所述SMF发送的隧道建立响应消息;所述隧道建立响应消息在所述SMF获得隧道建立结果后发送。26. The communication device according to any one of claims 22 to 25, wherein the first communication unit is further configured to receive a tunnel establishment response message sent by the SMF; the tunnel establishment response message is in the The above SMF sends it after obtaining the tunnel establishment result. 27.一种通信设备,其特征在于,所述通信设备为UPF;所述通信设备包括第三通信单元和隧道建立单元;其中,27. A communication device, characterized in that, the communication device is a UPF; the communication device includes a third communication unit and a tunnel establishment unit; wherein, 所述第三通信单元,用于接收SMF的指示信息;所述指示信息中包括局域网组标识;The third communication unit is configured to receive indication information of the SMF; the indication information includes a local area network group identifier; 所述隧道建立单元,用于建立与DN之间的隧道,所述隧道用于所述局域网组标识对应的局域网组业务数据的传输。The tunnel establishment unit is configured to establish a tunnel with the DN, and the tunnel is used for transmission of LAN group service data corresponding to the LAN group identifier. 28.根据权利要求27所述的通信设备,其特征在于,所述第三通信单元,还用于向所述SMF发送隧道建立响应消息。28. The communication device according to claim 27, wherein the third communication unit is further configured to send a tunnel establishment response message to the SMF. 29.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现权利要求1至7任一项所述方法的步骤;或者,该程序被处理器执行时实现权利要求8至12任一项所述方法的步骤;或者,该程序被处理器执行时实现权利要求13或14所述方法的步骤。29. A computer-readable storage medium, on which a computer program is stored, characterized in that, when the program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are realized; or, the program is executed by the processor When executed, the steps of the method described in any one of claims 8 to 12 are realized; or, when the program is executed by the processor, the steps of the method described in claim 13 or 14 are realized. 30.一种通信设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述程序时实现权利要求1至7任一项所述方法的步骤;或者,所述处理器执行所述程序时实现权利要求8至12任一项所述方法的步骤;或者,所述处理器执行所述程序时实现权利要求13或14所述方法的步骤。30. A communication device, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, characterized in that, when the processor executes the program, any one of claims 1 to 7 is realized The steps of the method; or, when the processor executes the program, the steps of the method according to any one of claims 8 to 12 are realized; or, when the processor executes the program, the steps of the method described in claim 13 or 14 are realized steps of the method described above.
CN201910570119.5A 2019-06-27 2019-06-27 A data processing method and communication device based on tunnel establishment service Active CN112153756B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910570119.5A CN112153756B (en) 2019-06-27 2019-06-27 A data processing method and communication device based on tunnel establishment service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910570119.5A CN112153756B (en) 2019-06-27 2019-06-27 A data processing method and communication device based on tunnel establishment service

Publications (2)

Publication Number Publication Date
CN112153756A CN112153756A (en) 2020-12-29
CN112153756B true CN112153756B (en) 2022-12-13

Family

ID=73868885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910570119.5A Active CN112153756B (en) 2019-06-27 2019-06-27 A data processing method and communication device based on tunnel establishment service

Country Status (1)

Country Link
CN (1) CN112153756B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108702798A (en) * 2017-03-01 2018-10-23 华为技术有限公司 Method and device for data transmission
CN109429186A (en) * 2017-08-31 2019-03-05 华为技术有限公司 The method and device of data transmission
CN109792663A (en) * 2016-09-30 2019-05-21 华为技术有限公司 Use the method and apparatus of tunnel protocol non-served mobile communications equipment
CN109792788A (en) * 2016-09-30 2019-05-21 华为技术有限公司 Method and apparatus for data transmission involving tunneling in a wireless communication network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11368873B2 (en) * 2017-12-15 2022-06-21 Huawei Technologies Co., Ltd. Method and system of packet aggregation

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109792663A (en) * 2016-09-30 2019-05-21 华为技术有限公司 Use the method and apparatus of tunnel protocol non-served mobile communications equipment
CN109792788A (en) * 2016-09-30 2019-05-21 华为技术有限公司 Method and apparatus for data transmission involving tunneling in a wireless communication network
CN108702798A (en) * 2017-03-01 2018-10-23 华为技术有限公司 Method and device for data transmission
CN109429186A (en) * 2017-08-31 2019-03-05 华为技术有限公司 The method and device of data transmission

Also Published As

Publication number Publication date
CN112153756A (en) 2020-12-29

Similar Documents

Publication Publication Date Title
AU2021277736B2 (en) Pdu type setting method, ue policy setting method, and related entity
CN110291837B (en) Network registration and network slice selection system and method
CN109219111B (en) Slice selection method and device
KR102284316B1 (en) Slice-based communication method and apparatus
CN109314917B (en) Network slice selection strategy updating method and device
US12238632B2 (en) Service configuration method, communication apparatus, and communication system
CN110602724B (en) Method and communication device for network configuration
WO2018161803A1 (en) Method and device for selecting network slices
US11516310B2 (en) Method and apparatus for invoking application programming interface
US10389848B2 (en) Message transmission method and core network interface device
EP2938131B1 (en) Capability exposure system, gateway, proxy, and method of wireless network
WO2018082490A1 (en) User terminal location area update method, access network entity, user terminal, and core network entity
US12192879B2 (en) Network access method and communication apparatus
CN109429213B (en) Information processing method, device, equipment and computer readable storage medium
US11310658B2 (en) Method and apparatus for determining status of terminal device, and device
CN112654100B (en) An information processing method and related network equipment
WO2014183260A1 (en) Method, device and system for processing data service under roaming scenario
CN108377532B (en) A data connection method, control plane node and user equipment
CN113949705B (en) Communication method and communication device
CN114727361A (en) Processing method and device for network function selection and network equipment
WO2022237766A1 (en) Access or handover method and apparatus, amf, and storage medium
CN112153756B (en) A data processing method and communication device based on tunnel establishment service
CN105284162A (en) Mobility management method, device and system
CN113079590B (en) Service area switching processing method and equipment
RU2793337C1 (en) Session processing method, communication device and communication system

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
GR01 Patent grant
GR01 Patent grant