Movatterモバイル変換


[0]ホーム

URL:


CN116866893A - Communication methods and devices - Google Patents

Communication methods and devices
Download PDF

Info

Publication number
CN116866893A
CN116866893ACN202210313165.9ACN202210313165ACN116866893ACN 116866893 ACN116866893 ACN 116866893ACN 202210313165 ACN202210313165 ACN 202210313165ACN 116866893 ACN116866893 ACN 116866893A
Authority
CN
China
Prior art keywords
provider
eas
dns
information
network element
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
Application number
CN202210313165.9A
Other languages
Chinese (zh)
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co LtdfiledCriticalHuawei Technologies Co Ltd
Priority to CN202210313165.9ApriorityCriticalpatent/CN116866893A/en
Priority to PCT/CN2023/083362prioritypatent/WO2023185620A1/en
Publication of CN116866893ApublicationCriticalpatent/CN116866893A/en
Pendinglegal-statusCriticalCurrent

Links

Classifications

Landscapes

Abstract

The embodiment of the application provides a communication method and device. The method may include: the session management network element obtains provider information, and the provider is a provider for providing edge computing service for the terminal equipment; the session management network element configures Domain Name Service (DNS) processing rules according to provider information and Edge Application Server (EAS) deployment information corresponding to the provider, wherein the DNS processing rules are used for processing DNS information of terminal equipment, and the EAS deployment information is the EAS deployment information of the provider in an access network of the terminal equipment; the session management network element sends DNS handling rules to the edge application server discovery network element. And searching the corresponding EAS deployment information of the provider in the access network of the terminal equipment by providing provider information of edge computing service for the terminal equipment, and further selecting the corresponding EAS of the provider in the access network of the terminal equipment for the terminal equipment.

Description

Translated fromChinese
通信的方法和装置Communication methods and devices

技术领域Technical field

本申请实施例涉及通信领域,并且更具体地,涉及一种通信的方法和装置。The embodiments of the present application relate to the field of communications, and more specifically, to a communication method and device.

背景技术Background technique

网络中可以部署边缘应用服务器(edge application server,EAS),EAS可为终端设备(user equipment,UE)提供边缘服务。An edge application server (EAS) can be deployed in the network, and the EAS can provide edge services for user equipment (UE).

一运营商(operator,OP)(如称为OP1)在另一运营商(如称为OP2)部署EAS或机房,通过OP2接入网络的终端设备可以根据其归属域或签约情况,优先选择某一OP(如OP1)的EAS。如何为终端设备优先选择某一OP的EAS是值得考虑的问题。One operator (OP) (for example, called OP1) deploys an EAS or computer room in another operator (for example, called OP2). Terminal devices that access the network through OP2 can preferentially select a certain operator based on their home domain or contract status. EAS of an OP (such as OP1). How to prioritize a certain OP's EAS for terminal equipment is an issue worth considering.

发明内容Contents of the invention

本申请提供了一种通信的方法和装置,通过为终端设备提供边缘计算服务的提供商信息,查找该提供商对应的EAS部署信息,进而为终端设备选择该提供商在终端设备的接入网络中对应的EAS。This application provides a communication method and device. By providing provider information of edge computing services for terminal equipment, it searches for the EAS deployment information corresponding to the provider, and then selects the access network of the provider in the terminal equipment for the terminal equipment. The corresponding EAS in .

第一方面,提供了一种通信的方法,该方法可以由会话管理网元执行,或者,也可以由会话管理网元的组成部件(例如芯片或者电路)执行,对此不作限定,为了便于描述,下面以由会话管理网元执行为例进行说明。The first aspect provides a communication method, which can be executed by the session management network element, or can also be executed by components (such as chips or circuits) of the session management network element. There is no limitation on this. For the convenience of description, , the following description takes execution by the session management network element as an example.

该方法可以包括:会话管理网元获取提供商信息,提供商是为终端设备提供边缘计算服务的提供商;会话管理网元根据提供商信息和提供商对应的边缘应用服务器EAS部署信息,配置域名服务DNS处理规则,DNS处理规则用于处理终端设备的DNS消息,EAS部署信息是提供商在终端设备的接入网络中对应的EAS部署信息;会话管理网元向边缘应用服务器发现网元发送DNS处理规则。The method may include: the session management network element obtains provider information, and the provider is a provider that provides edge computing services for terminal devices; the session management network element configures a domain name based on the provider information and the provider's corresponding edge application server EAS deployment information Service DNS processing rules. DNS processing rules are used to process DNS messages of terminal devices. The EAS deployment information is the corresponding EAS deployment information of the provider in the access network of the terminal device; the session management network element sends DNS to the edge application server discovery network element. Processing rules.

示例地,EAS部署信息是提供商在终端设备的接入网络中对应的EAS的部署信息。For example, the EAS deployment information is the deployment information of the provider's corresponding EAS in the access network of the terminal device.

基于上述技术方案,会话管理网元根据为终端设备提供边缘计算服务的提供商的信息以及该提供商对应的EAS部署信息,配置DNS处理规则,并发给边缘应用服务器发现网元,由边缘应用服务器发现网元基于该DNS处理规则处理终端设备的DNS查询消息。会话管理网元根据提供商的信息和提供商对应的EAS部署信息来配置DNS处理规则,不仅可以直接基于该提供商的信息获得该提供商对应的EAS部署信息,而且直接基于提供商对应的EAS部署信息来配置DNS处理规则,使得DNS处理规则与提供商对应的EAS部署信息相关,这样,边缘应用服务器发现网元在基于该DNS处理规则处理终端设备的DNS查询消息时,可以实现为终端设备选择(或者提供)该提供商在该接入网络中对应的EAS。此外,通过将提供商与提供商在终端设备的接入网络中的EAS部署信息关联起来,不仅可以实现根据终端设备的需求(如使用某个提供商提供的边缘计算服务)为终端设备提供相应的EAS,而且通过基于提供商对应的EAS部署信息来配置DNS处理规则,利用了现有的DNS处理规则的配置流程,对协议改动较小。Based on the above technical solution, the session management network element configures DNS processing rules based on the information of the provider that provides edge computing services for terminal devices and the EAS deployment information corresponding to the provider, and sends them to the edge application server to discover the network element, and the edge application server It is found that the network element processes the DNS query message of the terminal device based on the DNS processing rule. The session management network element configures DNS processing rules based on the provider's information and the provider's corresponding EAS deployment information. It can not only obtain the provider's corresponding EAS deployment information directly based on the provider's information, but also directly obtain the provider's corresponding EAS deployment information based on the provider's information. Deploy information to configure DNS processing rules so that the DNS processing rules are related to the EAS deployment information corresponding to the provider. In this way, the edge application server discovers that the network element can be implemented as a terminal device when processing the DNS query message of the terminal device based on the DNS processing rules. Select (or provide) the EAS corresponding to the provider in the access network. In addition, by associating the provider with the provider's EAS deployment information in the access network of the terminal device, it is not only possible to provide corresponding terminal devices according to the needs of the terminal device (such as using edge computing services provided by a certain provider). EAS, and by configuring DNS processing rules based on the provider's corresponding EAS deployment information, the existing DNS processing rule configuration process is used, with minimal changes to the protocol.

结合第一方面,在第一方面的某些实现方式中,方法还包括:会话管理网元根据提供商信息,获取EAS部署信息;或者,会话管理网元根据提供商信息和接入网络的信息,获取EAS部署信息。Combined with the first aspect, in some implementations of the first aspect, the method further includes: the session management network element obtains the EAS deployment information based on the provider information; or, the session management network element obtains the EAS deployment information based on the provider information and access network information. , obtain EAS deployment information.

基于上述技术方案,可以根据提供商信息,确定对应的EAS部署信息。例如,EAS部署信息中可包括提供商的信息(如提供商ID);再例如,该EAS部署信息与提供商的信息(如提供商ID)关联。或者,也可以根据提供商信息以及接入网络的信息,确定对应的EAS部署信息。例如,该EAS部署信息中包括提供商的信息(如提供商ID)以及接入网络的信息(如接入网络的ID);再例如,该EAS部署信息与提供商的信息(如提供商ID)以及接入网络的信息(如接入网络的ID)关联。Based on the above technical solution, the corresponding EAS deployment information can be determined based on the provider information. For example, the EAS deployment information may include the provider's information (such as the provider ID); for another example, the EAS deployment information is associated with the provider's information (such as the provider ID). Alternatively, the corresponding EAS deployment information can also be determined based on the provider information and access network information. For example, the EAS deployment information includes provider information (such as provider ID) and access network information (such as access network ID); for another example, the EAS deployment information and provider information (such as provider ID ) and access network information (such as access network ID).

结合第一方面,在第一方面的某些实现方式中,EAS部署信息中包括DNS服务器,DNS服务器上注册的EAS是提供商在接入网络中对应的EAS。Combined with the first aspect, in some implementations of the first aspect, the EAS deployment information includes a DNS server, and the EAS registered on the DNS server is the corresponding EAS of the provider in the access network.

基于上述技术方案,提供商对应的EAS部署信息中的DNS服务器上注册的EAS是该提供商在接入网络中对应的EAS,因此,通过该DNS服务器可查询到该提供商在该接入网络中对应的EAS。Based on the above technical solution, the EAS registered on the DNS server in the provider's corresponding EAS deployment information is the provider's corresponding EAS in the access network. Therefore, the provider's information on the access network can be queried through the DNS server. The corresponding EAS in .

结合第一方面,在第一方面的某些实现方式中,EAS部署信息中包括ECS option,ECS option对应的EAS是为终端设备提供边缘计算服务的提供商在接入网络中对应的EAS。Combined with the first aspect, in some implementations of the first aspect, the EAS deployment information includes the ECS option, and the EAS corresponding to the ECS option is the EAS corresponding to the access network of a provider that provides edge computing services for terminal devices.

基于上述技术方案,提供商对应的EAS部署信息中的ECS option对应的EAS是该提供商在接入网络中对应的EAS,因此,通过该ECS option可查询到该提供商在该接入网络中对应的EAS。Based on the above technical solution, the EAS corresponding to the ECS option in the EAS deployment information corresponding to the provider is the EAS corresponding to the provider in the access network. Therefore, the ECS option can be used to query the provider in the access network. Corresponding EAS.

结合第一方面,在第一方面的某些实现方式中,EAS部署信息中包括为终端设备提供边缘计算服务的提供商在接入网络中对应的EAS的地址。In connection with the first aspect, in some implementations of the first aspect, the EAS deployment information includes the address of the EAS corresponding to the provider that provides edge computing services for the terminal device in the access network.

基于上述技术方案,提供商对应的EAS部署信息中的EAS地址是提供商在接入网络中对应的EAS的地址,因此,通过该EAS地址,可以实现在终端设备的查询响应中过滤出(或者选择出)属于上述EAS地址的地址,进而为该终端设备提供该提供商在该接入网络中对应的EAS。Based on the above technical solution, the EAS address in the EAS deployment information corresponding to the provider is the address of the EAS corresponding to the provider in the access network. Therefore, through this EAS address, it is possible to filter out (or Select) an address belonging to the above-mentioned EAS address, and then provide the terminal device with the EAS corresponding to the provider in the access network.

结合第一方面,在第一方面的某些实现方式中,DNS服务器为部署在归属网络中的服务器,或者,DNS服务器为部署在接入网络中的服务器。Combined with the first aspect, in some implementations of the first aspect, the DNS server is a server deployed in the home network, or the DNS server is a server deployed in the access network.

结合第一方面,在第一方面的某些实现方式中,DNS处理规则包括以下任一项:DNS服务器、ECS option、提供商在接入网络中对应的EAS的地址。Combined with the first aspect, in some implementations of the first aspect, the DNS processing rules include any of the following: DNS server, ECS option, and the address of the provider's corresponding EAS in the access network.

基于上述技术方案,在DNS处理规则中携带上述信息,这样在基于该DNS处理规则处理终端设备的查询请求时,可为该终端设备提供该提供商在该接入网络中对应的EAS。Based on the above technical solution, the above information is carried in the DNS processing rule, so that when processing the query request of the terminal device based on the DNS processing rule, the EAS corresponding to the provider in the access network can be provided for the terminal device.

结合第一方面,在第一方面的某些实现方式中,终端设备的接入网络为终端设备的拜访网络。With reference to the first aspect, in some implementations of the first aspect, the access network of the terminal device is a visited network of the terminal device.

示例地,为终端设备提供边缘计算服务的提供商可以是终端设备的拜访网络之外的提供商,如终端设备的归属网络,又如终端设备订阅的第三方边缘计算服务提供商。For example, the provider that provides edge computing services for the terminal device may be a provider outside the visited network of the terminal device, such as the home network of the terminal device, or a third-party edge computing service provider subscribed by the terminal device.

结合第一方面,在第一方面的某些实现方式中,会话管理网元获取提供商信息,包括以下任一项:会话管理网元根据终端设备的归属网络,确定提供商信息;会话管理网元根据终端设备的签约信息,确定提供商信息,其中,终端设备的签约信息中包括提供商的信息;会话管理网元根据提供商提供的终端设备列表中包括终端设备,确定提供商信息;或者,会话管理网元根据提供商与接入网络之间的协议,确定提供商信息。Combined with the first aspect, in some implementations of the first aspect, the session management network element obtains provider information, including any of the following: the session management network element determines the provider information according to the home network of the terminal device; the session management network element determines the provider information according to the home network of the terminal device; The session management network element determines the provider information based on the contract information of the terminal device, where the contract information of the terminal device includes the provider's information; the session management network element determines the provider information based on the terminal device included in the terminal device list provided by the provider; or , the session management network element determines the provider information according to the agreement between the provider and the access network.

示例地,提供商与所述接入网络之间的协议,例如也可以理解为提供商与所述接入网络之间的联盟协议。举例来说,若终端设备的接入网络与提供商之间具有合作关系,如允许接入网络的终端设备使用该提供商的边缘计算服务,或者允许该提供商的终端设备使用该接入网的边缘计算服务,则可为该终端设备确定该提供商。For example, the agreement between the provider and the access network can also be understood as an alliance agreement between the provider and the access network. For example, if there is a cooperative relationship between the access network of the terminal device and the provider, such as allowing the terminal device accessing the network to use the provider's edge computing service, or allowing the provider's terminal device to use the access network edge computing service, the provider can be determined for the terminal device.

基于上述技术方案,会话管理网元可以根据:终端设备的归属网络、终端设备的签约信息、提供商提供的终端设备列表中包括终端设备、或提供商与接入网络之间的协议中的任一项确定提供商,进而获取该提供商对应的EAS部署信息;或者也可以根据终端设备的归属网络、终端设备的签约信息、提供商提供的终端设备列表中包括终端设备、或提供商与接入网络之间的协议中的任一项确定提供商,并且结合接入网络,进而获取该提供商对应的EAS部署信息。对此不予限制。Based on the above technical solution, the session management network element can be based on: the home network of the terminal device, the contract information of the terminal device, the terminal device included in the terminal device list provided by the provider, or any of the agreements between the provider and the access network. One step determines the provider, and then obtains the EAS deployment information corresponding to the provider; or it can also be based on the home network of the terminal device, the contract information of the terminal device, the terminal device included in the terminal device list provided by the provider, or the provider and the interface. Any one of the protocols between access networks determines the provider, and combines the access network to obtain the EAS deployment information corresponding to the provider. There are no restrictions on this.

结合第一方面,在第一方面的某些实现方式中,提供商为以下任一项:EAS的提供者、边缘主机环境EHE的提供者、边缘数据网络EDN的提供者。Combined with the first aspect, in some implementations of the first aspect, the provider is any one of the following: a provider of EAS, a provider of edge host environment EHE, or a provider of edge data network EDN.

第二方面,提供了一种通信的方法,该方法可以由边缘应用服务器发现网元执行,或者,也可以由边缘应用服务器发现网元的组成部件(例如芯片或者电路)执行,对此不作限定,为了便于描述,下面以由边缘应用服务器发现网元执行为例进行说明。The second aspect provides a communication method, which can be executed by the edge application server discovering the network element, or it can also be executed by the edge application server discovering the component parts (such as chips or circuits) of the network element, which is not limited. , for the convenience of description, the following takes the discovery of network elements by the edge application server as an example for explanation.

该方法可以包括:边缘应用服务器发现网元接收来自终端设备的域名服务DNS查询消息;边缘应用服务器发现网元根据DNS处理规则,处理DNS查询消息;其中,DNS处理规则是根据为终端设备提供边缘计算服务的提供商对应的边缘应用服务器EAS部署信息确定的,EAS部署信息是提供商在终端设备的接入网络中的EAS部署信息。The method may include: the edge application server discovers the network element and receives the domain name service DNS query message from the terminal device; the edge application server discovers the network element and processes the DNS query message according to the DNS processing rule; wherein the DNS processing rule is based on providing the edge for the terminal device. The EAS deployment information of the edge application server corresponding to the computing service provider is determined, and the EAS deployment information is the EAS deployment information of the provider in the access network of the terminal device.

结合第二方面,在第二方面的某些实现方式中,EAS部署信息是根据提供商信息确定的;或者,EAS部署信息是根据提供商信息和接入网络的信息确定的。Combined with the second aspect, in some implementations of the second aspect, the EAS deployment information is determined based on provider information; or, the EAS deployment information is determined based on provider information and access network information.

结合第二方面,在第二方面的某些实现方式中,EAS部署信息中包括以下至少一项:DNS服务器、ECS option、提供商在接入网络中对应的EAS的地址;其中,DNS服务器上注册的EAS是提供商在接入网络中对应的EAS,ECS option对应的EAS是提供商在接入网络中对应的EAS。Combined with the second aspect, in some implementations of the second aspect, the EAS deployment information includes at least one of the following: DNS server, ECS option, and the address of the EAS corresponding to the provider in the access network; wherein, on the DNS server The registered EAS is the provider's corresponding EAS in the access network, and the EAS corresponding to the ECS option is the provider's corresponding EAS in the access network.

结合第二方面,在第二方面的某些实现方式中,DNS服务器为部署在归属网络中的服务器,或者,DNS服务器为部署在接入网络中的服务器。Combined with the second aspect, in some implementations of the second aspect, the DNS server is a server deployed in the home network, or the DNS server is a server deployed in the access network.

结合第二方面,在第二方面的某些实现方式中,EAS部署信息中包括DNS服务器的信息,DNS处理规则包括DNS服务器的信息,边缘应用服务器发现网元根据DNS处理规则,处理DNS查询消息,包括:边缘应用服务器发现网元向DNS服务器发送DNS查询消息。Combined with the second aspect, in some implementations of the second aspect, the EAS deployment information includes DNS server information, the DNS processing rules include DNS server information, and the edge application server discovers the network element and processes the DNS query message according to the DNS processing rules. , including: the edge application server discovers the network element and sends a DNS query message to the DNS server.

基于上述技术方案,由于DNS服务器上注册的EAS是为终端设备提供边缘计算服务的提供商在接入网络中对应的EAS,因此,边缘应用服务器发现网元向该DNS服务器发送终端设备的查询消息,由该DNS服务器处理终端设备的查询请求,从而DNS服务器为该终端设备提供的是该提供商在该接入网络中对应的EAS。Based on the above technical solution, since the EAS registered on the DNS server is the corresponding EAS in the access network of the provider that provides edge computing services for terminal devices, the edge application server discovers that the network element sends the query message of the terminal device to the DNS server. , the DNS server processes the query request of the terminal device, so that the DNS server provides the terminal device with the EAS corresponding to the provider in the access network.

结合第二方面,在第二方面的某些实现方式中,DNS服务器为部署在归属网络中的服务器,边缘应用服务器发现网元根据DNS处理规则,处理DNS查询消息,还包括:边缘应用服务器发现网元根据DNS处理规则,在DNS查询消息中添加ECS option;边缘应用服务器发现网元向DNS服务器发送DNS查询消息,包括:边缘应用服务器发现网元向DNS服务器发送包含ECS option的DNS查询消息。Combined with the second aspect, in some implementations of the second aspect, the DNS server is a server deployed in the home network, and the edge application server discovers network elements and processes DNS query messages according to DNS processing rules, which also includes: edge application server discovery The network element adds the ECS option to the DNS query message according to the DNS processing rules; the edge application server discovers the network element and sends a DNS query message to the DNS server, including: the edge application server discovers the network element and sends a DNS query message containing the ECS option to the DNS server.

基于上述技术方案,由于ECS option对应的EAS是为终端设备提供边缘计算服务的提供商在接入网络中对应的EAS,因此,边缘应用服务器发现网元在DNS查询消息中添加ECS option后,可以实现为该终端设备提供该提供商在该接入网络中对应的EAS的信息。Based on the above technical solution, since the EAS corresponding to the ECS option is the EAS corresponding to the access network of the provider that provides edge computing services for terminal devices, therefore, after the edge application server discovers that the network element adds the ECS option in the DNS query message, it can It is implemented to provide the terminal device with the information of the EAS corresponding to the provider in the access network.

结合第二方面,在第二方面的某些实现方式中,EAS部署信息中包括提供商在接入网络中对应的EAS的地址,DNS处理规则包括提供商在接入网络中对应的EAS的地址,边缘应用服务器发现网元根据DNS处理规则,处理DNS查询消息,包括:边缘应用服务器发现网元根据DNS处理规则,获取至少一个EAS的地址;边缘应用服务器发现网元生成DNS查询消息的响应消息,响应消息中包括至少一个EAS的地址中的部分或全部EAS地址,其中,部分或全部EAS地址是根据提供商在接入网络中对应的EAS确定的。Combined with the second aspect, in some implementations of the second aspect, the EAS deployment information includes the address of the provider's corresponding EAS in the access network, and the DNS processing rules include the address of the provider's corresponding EAS in the access network. , the edge application server discovers the network element and processes the DNS query message according to the DNS processing rules, including: the edge application server discovers the network element and obtains the address of at least one EAS according to the DNS processing rules; the edge application server discovers the network element and generates a response message for the DNS query message , the response message includes part or all of the EAS addresses of at least one EAS, where part or all of the EAS addresses are determined based on the provider's corresponding EAS in the access network.

基于上述技术方案,边缘应用服务器发现网元收到DNS查询消息的响应后,可以从该查询响应中过滤出(或者选择出)属于上述EAS地址的地址,进而为该终端设备提供该提供商在该接入网络中对应的EAS。Based on the above technical solution, after the edge application server discovers that the network element has received a response to the DNS query message, it can filter out (or select) the address belonging to the above-mentioned EAS address from the query response, and then provide the provider with the information for the terminal device. The corresponding EAS in the access network.

结合第二方面,在第二方面的某些实现方式中,EAS部署信息中包括ECS option,DNS处理规则包括ECS option的信息,边缘应用服务器发现网元根据DNS处理规则,处理DNS查询消息,包括:边缘应用服务器发现网元在DNS查询消息中添加ECS option。Combined with the second aspect, in some implementations of the second aspect, the EAS deployment information includes the ECS option, the DNS processing rules include the ECS option information, and the edge application server discovers that the network element processes the DNS query message according to the DNS processing rules, including : The edge application server discovers that the network element adds the ECS option in the DNS query message.

结合第二方面,在第二方面的某些实现方式中,方法还包括:边缘应用服务器发现网元从会话管理网元接收DNS处理规则。Combined with the second aspect, in some implementations of the second aspect, the method further includes: the edge application server discovers the network element and receives the DNS processing rule from the session management network element.

结合第二方面,在第二方面的某些实现方式中,提供商为以下任一项:EAS的提供者、边缘主机环境EHE的提供者、边缘数据网络EDN的提供者。Combined with the second aspect, in some implementations of the second aspect, the provider is any one of the following: a provider of EAS, a provider of edge host environment EHE, or a provider of edge data network EDN.

第二方面及各个可能的设计的有益效果可以参考第一方面相关的描述,在此不予赘述。For the beneficial effects of the second aspect and each possible design, reference can be made to the relevant description of the first aspect and will not be described again here.

第三方面,提供了一种通信的方法,该方法可以由数据管理网元执行,或者,也可以由数据管理网元的组成部件(例如芯片或者电路)执行,对此不作限定,为了便于描述,下面以由数据管理网元执行为例进行说明。In the third aspect, a communication method is provided. This method can be executed by the data management network element, or can also be executed by the component (such as a chip or circuit) of the data management network element. There is no limitation on this. For the convenience of description, , the following description takes the execution by the data management network element as an example.

该方法可以包括:数据管理网元接收来自应用网元的为终端设备提供边缘计算服务的提供商对应的边缘应用服务器EAS部署信息,EAS部署信息是提供商在终端设备的接入网络中对应的EAS部署信息;数据管理网元存储EAS部署信息。The method may include: the data management network element receives from the application network element edge application server EAS deployment information corresponding to a provider that provides edge computing services for terminal devices, and the EAS deployment information is corresponding to the provider in the access network of the terminal device. EAS deployment information; the data management network element stores EAS deployment information.

基于上述技术方案,数据管理网元可以存储提供商对应的EAS部署信息,这样在会话管理需要上述提供商对应的EAS部署信息时,可以为会话管理网元提供上述提供商对应的EAS部署信息,进而使得会话管理网元基于上述提供商对应的EAS部署信息确定相应的DNS处理规则,实现为终端设备选择(或者提供)上述提供商在终端设备的接入网络中对应的EAS。Based on the above technical solution, the data management network element can store the EAS deployment information corresponding to the provider. In this way, when session management requires the EAS deployment information corresponding to the above provider, the session management network element can be provided with the EAS deployment information corresponding to the above provider. Then, the session management network element determines the corresponding DNS processing rules based on the EAS deployment information corresponding to the above provider, so as to select (or provide) the EAS corresponding to the above provider in the access network of the terminal device for the terminal device.

结合第三方面,在第三方面的某些实现方式中,EAS部署信息是根据提供商信息确定的;或者,EAS部署信息是根据提供商信息和接入网络的信息确定的。Combined with the third aspect, in some implementations of the third aspect, the EAS deployment information is determined based on provider information; or, the EAS deployment information is determined based on provider information and access network information.

示例地,EAS部署信息是根据提供商信息确定的,可以理解为,根据提供商信息查询该提供商对应的EAS部署信息。For example, the EAS deployment information is determined based on the provider information, which can be understood as querying the EAS deployment information corresponding to the provider based on the provider information.

示例地,EAS部署信息是根据提供商信息和接入网络的信息确定的,可以理解为,根据提供商信息和接入网络的信息查询该提供商对应的EAS部署信息。For example, the EAS deployment information is determined based on the provider information and the access network information, which can be understood as querying the EAS deployment information corresponding to the provider based on the provider information and the access network information.

结合第三方面,在第三方面的某些实现方式中,EAS部署信息中包括以下至少一项信息:数据网络名称、网络切片信息、数据网络接入标识符、或应用信息。Combined with the third aspect, in some implementations of the third aspect, the EAS deployment information includes at least one of the following information: data network name, network slice information, data network access identifier, or application information.

示例地,应用信息例如可以为应用标识(application ID)。For example, the application information may be an application identification (application ID).

结合第三方面,在第三方面的某些实现方式中,EAS部署信息中包括以下至少一项:DNS服务器、ECS option、提供商在接入网络中对应的EAS的地址;其中,DNS服务器上注册的EAS是提供商在接入网络中对应的EAS,ECS option对应的EAS是提供商在接入网络中对应的EAS。Combined with the third aspect, in some implementations of the third aspect, the EAS deployment information includes at least one of the following: DNS server, ECS option, and the address of the EAS corresponding to the provider in the access network; wherein, on the DNS server The registered EAS is the provider's corresponding EAS in the access network, and the EAS corresponding to the ECS option is the provider's corresponding EAS in the access network.

结合第三方面,在第三方面的某些实现方式中,DNS服务器为部署在归属网络中的服务器,或者,DNS服务器为部署在接入网络中的服务器。Combined with the third aspect, in some implementations of the third aspect, the DNS server is a server deployed in the home network, or the DNS server is a server deployed in the access network.

结合第三方面,在第三方面的某些实现方式中,方法还包括:数据管理网元接收来自应用网元的至少一个提供商的信息和至少一个终端设备的信息,至少一个提供商能够为至少一个终端设备提供边缘计算服务。Combined with the third aspect, in some implementations of the third aspect, the method further includes: the data management network element receives information from at least one provider of the application network element and information from at least one terminal device, and the at least one provider can provide At least one terminal device provides edge computing services.

结合第三方面,在第三方面的某些实现方式中,提供商为以下任一项:EAS的提供者、边缘主机环境EHE的提供者、边缘数据网络EDN的提供者。Combined with the third aspect, in some implementations of the third aspect, the provider is any of the following: a provider of EAS, a provider of edge host environment EHE, or a provider of edge data network EDN.

第三方面及各个可能的设计的有益效果可以参考第一方面相关的描述,在此不予赘述。For the beneficial effects of the third aspect and each possible design, reference can be made to the relevant description of the first aspect and will not be described again here.

第四方面,提供了一种通信的方法,该方法可以由应用网元执行,或者,也可以由应用网元的组成部件(例如芯片或者电路)执行,对此不作限定,为了便于描述,下面以由应用网元执行为例进行说明。The fourth aspect provides a communication method, which can be executed by the application network element, or can also be executed by the component (such as a chip or circuit) of the application network element. There is no limitation on this. For the convenience of description, the following The description takes the execution by the application network element as an example.

该方法可以包括:应用网元确定为终端设备提供边缘计算服务的提供商对应的边缘应用服务器EAS部署信息,EAS部署信息是提供商在终端设备的接入网络中对应的EAS部署信息;应用网元发送EAS部署信息。The method may include: the application network element determines the EAS deployment information of the edge application server corresponding to the provider that provides edge computing services for the terminal device, where the EAS deployment information is the EAS deployment information corresponding to the provider in the access network of the terminal device; the application network Yuan sends EAS deployment information.

基于上述技术方案,应用网元可以提供上述提供商对应的EAS部署信息,这样在会话管理需要上述提供商对应的EAS部署信息时,可以由应用网元或者其他网元(如应用网元将上述提供商对应的EAS部署信息发送给其他网元)为会话管理网元提供上述提供商对应的EAS部署信息,进而使得会话管理网元基于上述提供商对应的EAS部署信息确定相应的DNS处理规则,实现为终端设备选择(或者提供)上述提供商在终端设备的接入网络中对应的EAS。Based on the above technical solution, the application network element can provide the EAS deployment information corresponding to the above-mentioned providers. In this way, when session management requires the EAS deployment information corresponding to the above-mentioned providers, the application network element or other network elements (such as the application network element) can provide the above-mentioned EAS deployment information. The EAS deployment information corresponding to the provider is sent to other network elements) to provide the session management network element with the EAS deployment information corresponding to the above provider, thereby enabling the session management network element to determine the corresponding DNS processing rules based on the EAS deployment information corresponding to the above provider, Implementation of selecting (or providing) the EAS corresponding to the above provider in the access network of the terminal device for the terminal device.

结合第四方面,在第四方面的某些实现方式中,EAS部署信息是根据提供商信息确定的;或者,EAS部署信息是根据提供商信息和接入网络的信息确定的。Combined with the fourth aspect, in some implementations of the fourth aspect, the EAS deployment information is determined based on provider information; or, the EAS deployment information is determined based on provider information and access network information.

结合第四方面,在第四方面的某些实现方式中,应用网元发送EAS部署信息,包括:应用网元向以下一项或多项发送EAS部署信息:数据管理网元、会话管理网元、网络开放网元。Combined with the fourth aspect, in some implementations of the fourth aspect, the application network element sends EAS deployment information, including: the application network element sends EAS deployment information to one or more of the following: data management network element, session management network element , network open network elements.

结合第四方面,在第四方面的某些实现方式中,EAS部署信息中包括以下至少一项信息:数据网络名称、网络切片信息、数据网络接入标识符、或应用信息。Combined with the fourth aspect, in some implementations of the fourth aspect, the EAS deployment information includes at least one of the following information: data network name, network slice information, data network access identifier, or application information.

结合第四方面,在第四方面的某些实现方式中,EAS部署信息包括以下至少一项:DNS服务器、ECS option、提供商在接入网络中对应的EAS的地址;其中,DNS服务器上注册的EAS是提供商在接入网络中对应的EAS,ECS option对应的EAS是提供商在接入网络中对应的EAS。Combined with the fourth aspect, in some implementations of the fourth aspect, the EAS deployment information includes at least one of the following: DNS server, ECS option, and the address of the EAS corresponding to the provider in the access network; wherein, registered on the DNS server The EAS is the EAS corresponding to the provider in the access network, and the EAS corresponding to the ECS option is the EAS corresponding to the provider in the access network.

结合第四方面,在第四方面的某些实现方式中,DNS服务器为部署在归属网络中的服务器,或者,DNS服务器为部署在接入网络中的服务器。Combined with the fourth aspect, in some implementations of the fourth aspect, the DNS server is a server deployed in the home network, or the DNS server is a server deployed in the access network.

结合第四方面,在第四方面的某些实现方式中,方法还包括:应用网元发送至少一个提供商的信息和至少一个终端设备的信息,至少一个提供商能够为至少一个终端设备提供边缘计算服务。In conjunction with the fourth aspect, in some implementations of the fourth aspect, the method further includes: applying the network element to send information of at least one provider and information of at least one terminal device, and at least one provider can provide an edge for at least one terminal device. Computing services.

结合第四方面,在第四方面的某些实现方式中,提供商为以下任一项:EAS的提供者、边缘主机环境EHE的提供者、或边缘数据网络EDN的提供者。Combined with the fourth aspect, in some implementations of the fourth aspect, the provider is any of the following: a provider of EAS, a provider of edge host environment EHE, or a provider of edge data network EDN.

第四方面及各个可能的设计的有益效果可以参考第一方面相关的描述,在此不予赘述。For the beneficial effects of the fourth aspect and each possible design, please refer to the relevant description of the first aspect, and will not be described again here.

第五方面,提供一种通信的装置,该装置用于执行上述第一方面至第四方面任一种可能实现方式中的方法。具体地,该装置可以包括用于执行第一方面至第四方面任一种可能实现方式中的方法的单元和/或模块,如处理单元和/或通信单元。A fifth aspect provides a communication device, which is used to perform the method in any of the possible implementations of the first to fourth aspects. Specifically, the device may include units and/or modules for performing the method in any possible implementation of the first to fourth aspects, such as a processing unit and/or a communication unit.

在一种实现方式中,该装置为核心网网元(如会话管理网元,又如数据管理网元,又如网络开放网元,又如策略控制网元)。当该装置为核心网网元时,通信单元可以是收发器,或,输入/输出接口;处理单元可以是至少一个处理器。可选地,收发器可以为收发电路。可选地,输入/输出接口可以为输入/输出电路。In an implementation manner, the device is a core network element (such as a session management network element, a data management network element, a network opening network element, or a policy control network element). When the device is a core network element, the communication unit may be a transceiver or an input/output interface; the processing unit may be at least one processor. Alternatively, the transceiver may be a transceiver circuit. Alternatively, the input/output interface may be an input/output circuit.

在另一种实现方式中,该装置为用于核心网网元(如会话管理网元,又如数据管理网元,又如网络开放网元,又如策略控制网元)的芯片、芯片系统或电路。当该装置为用于核心网网元的芯片、芯片系统或电路时,通信单元可以是该芯片、芯片系统或电路上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等;处理单元可以是至少一个处理器、处理电路或逻辑电路等。In another implementation manner, the device is a chip or chip system used for a core network element (such as a session management network element, a data management network element, a network opening network element, or a policy control network element). or circuit. When the device is a chip, chip system or circuit used for a core network element, the communication unit may be an input/output interface, interface circuit, output circuit, input circuit, pin or related information on the chip, chip system or circuit. circuit, etc.; the processing unit may be at least one processor, processing circuit or logic circuit, etc.

第六方面,提供一种通信的装置,该装置包括:至少一个处理器,用于执行存储器存储的计算机程序或指令,以执行上述第一方面至第四方面任一种可能实现方式中的方法。可选地,该装置还包括存储器,用于存储的计算机程序或指令。可选地,该装置还包括通信接口,处理器通过通信接口读取存储器存储的计算机程序或指令。A sixth aspect provides a communication device. The device includes: at least one processor for executing computer programs or instructions stored in a memory to execute the method in any of the possible implementations of the first to fourth aspects. . Optionally, the device further includes a memory for storing computer programs or instructions. Optionally, the device further includes a communication interface, through which the processor reads the computer program or instructions stored in the memory.

在一种实现方式中,该装置为核心网网元(如会话管理网元,又如数据管理网元,又如网络开放网元,又如策略控制网元)。In an implementation manner, the device is a core network element (such as a session management network element, a data management network element, a network opening network element, or a policy control network element).

在另一种实现方式中,该装置为用于核心网网元(如会话管理网元,又如数据管理网元,又如网络开放网元,又如策略控制网元)的芯片、芯片系统或电路。In another implementation manner, the device is a chip or chip system used for a core network element (such as a session management network element, a data management network element, a network opening network element, or a policy control network element). or circuit.

第七方面,本申请提供一种处理器,用于执行上述各方面提供的方法。In a seventh aspect, this application provides a processor for executing the methods provided in the above aspects.

对于处理器所涉及的发送和获取/接收等操作,如果没有特殊说明,或者,如果未与其在相关描述中的实际作用或者内在逻辑相抵触,则可以理解为处理器输出和接收、输入等操作,也可以理解为由射频电路和天线所进行的发送和接收操作,本申请对此不做限定。For operations such as sending and getting/receiving involved in the processor, if there is no special explanation, or if it does not conflict with its actual role or internal logic in the relevant description, it can be understood as processor output, reception, input and other operations. , can also be understood as the transmitting and receiving operations performed by the radio frequency circuit and the antenna, which is not limited in this application.

第八方面,提供一种计算机可读存储介质,该计算机可读介质存储用于设备执行的程序代码,该程序代码包括用于执行上述第一方面至第四方面任一种可能实现方式中的方法。In an eighth aspect, a computer-readable storage medium is provided. The computer-readable medium stores a program code for device execution. The program code includes a method for executing any of the possible implementations of the above-mentioned first to fourth aspects. method.

第九方面,提供一种包含指令的计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述第一方面至第四方面任一种可能实现方式中的方法。A ninth aspect provides a computer program product containing instructions, which when the computer program product is run on a computer, causes the computer to execute the method in any of the possible implementations of the first to fourth aspects.

第十方面,提供一种通信系统,包括前述的会话管理网元、边缘应用服务器发现网元、数据管理网元、或应用网元中的一个或多个。A tenth aspect provides a communication system, including one or more of the aforementioned session management network element, edge application server discovery network element, data management network element, or application network element.

结合十方面,在第十方面的某些实现方式中,该通信系统包括前述的会话管理网元以及与前述的会话管理网元进行通信的网元/设备。In conjunction with the tenth aspect, in some implementations of the tenth aspect, the communication system includes the aforementioned session management network element and a network element/device that communicates with the aforementioned session management network element.

结合十方面,在第十方面的某些实现方式中,该通信系统包括前述的边缘应用服务器发现网元以及与前述的边缘应用服务器发现网元进行通信的网元/设备。In conjunction with the tenth aspect, in some implementations of the tenth aspect, the communication system includes the aforementioned edge application server discovery network element and a network element/device that communicates with the aforementioned edge application server discovery network element.

结合十方面,在第十方面的某些实现方式中,该通信系统包括前述的数据管理网元以及与前述的数据管理网元进行通信的网元/设备。In conjunction with the tenth aspect, in some implementations of the tenth aspect, the communication system includes the aforementioned data management network element and network elements/devices that communicate with the aforementioned data management network element.

结合十方面,在第十方面的某些实现方式中,该通信系统包括前述的应用网元以及与前述的应用网元进行通信的网元/设备。In conjunction with the tenth aspect, in some implementations of the tenth aspect, the communication system includes the aforementioned application network element and a network element/device that communicates with the aforementioned application network element.

附图说明Description of the drawings

图1是适用于本申请实施例的一种网络架构的示意图。Figure 1 is a schematic diagram of a network architecture suitable for embodiments of the present application.

图2是适用于本申请实施例的另一种网络架构的示意图。Figure 2 is a schematic diagram of another network architecture suitable for embodiments of the present application.

图3是适用于本申请实施例的另一种网络架构的示意图。Figure 3 is a schematic diagram of another network architecture suitable for embodiments of the present application.

图4是适用于本申请实施例的另一种网络架构的示意图。Figure 4 is a schematic diagram of another network architecture suitable for embodiments of the present application.

图5是本申请实施例提供的一种通信的方法500的示意图。Figure 5 is a schematic diagram of a communication method 500 provided by an embodiment of the present application.

图6是本申请一实施例提供的网络架构的示意图。Figure 6 is a schematic diagram of a network architecture provided by an embodiment of the present application.

图7是本申请另一实施例提供的网络架构的示意图。Figure 7 is a schematic diagram of a network architecture provided by another embodiment of the present application.

图8是本申请另一实施例提供的网络架构的示意图。Figure 8 is a schematic diagram of a network architecture provided by another embodiment of the present application.

图9是本申请实施例提供的一种通信的方法900的示意性流程图。Figure 9 is a schematic flow chart of a communication method 900 provided by an embodiment of the present application.

图10是本申请实施例提供的一种通信的方法1000的示意性流程图。Figure 10 is a schematic flow chart of a communication method 1000 provided by an embodiment of the present application.

图11是本申请实施例提供的一种通信的方法1100的示意性流程图。Figure 11 is a schematic flow chart of a communication method 1100 provided by an embodiment of the present application.

图12是本申请实施例提供的一种通信的方法1200的示意性流程图。Figure 12 is a schematic flow chart of a communication method 1200 provided by an embodiment of the present application.

图13是本申请实施例提供的一种通信的方法1300的示意性流程图。Figure 13 is a schematic flow chart of a communication method 1300 provided by an embodiment of the present application.

图14是本申请实施例提供的一种通信的装置1400的示意图。Figure 14 is a schematic diagram of a communication device 1400 provided by an embodiment of the present application.

图15是本申请实施例提供另一种通信的装置1500的示意图。Figure 15 is a schematic diagram of a device 1500 that provides another type of communication according to an embodiment of the present application.

图16是本申请实施例提供一种芯片系统1600的示意图。FIG. 16 is a schematic diagram of a chip system 1600 provided by an embodiment of the present application.

具体实施方式Detailed ways

下面将结合附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings.

本申请提供的技术方案可以应用于各种通信系统,例如:第五代(5thgeneration,5G)或新无线(new radio,NR)系统、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time divisionduplex,TDD)系统等。本申请提供的技术方案还可以应用于未来的通信系统,如第六代移动通信系统。本申请提供的技术方案还可以应用于设备到设备(device to device,D2D)通信,车到万物(vehicle-to-everything,V2X)通信,机器到机器(machine to machine,M2M)通信,机器类型通信(machine type communication,MTC),以及物联网(internet ofthings,IoT)通信系统或者其他通信系统。The technical solutions provided by this application can be applied to various communication systems, such as fifth generation (5th generation, 5G) or new radio (NR) systems, long term evolution (LTE) systems, LTE frequency division dual (frequency division duplex, FDD) system, LTE time division duplex (TDD) system, etc. The technical solution provided by this application can also be applied to future communication systems, such as the sixth generation mobile communication system. The technical solution provided by this application can also be applied to device-to-device (D2D) communication, vehicle-to-everything (V2X) communication, machine-to-machine (M2M) communication, machine type Communication (machine type communication, MTC), and Internet of Things (IoT) communication systems or other communication systems.

为便于理解,首先简单介绍一下移动网络漫游(roaming)。To facilitate understanding, first briefly introduce mobile network roaming (roaming).

以运营商A和运营商B为例,漫游是指属于运营商A的移动用户接入到了运营商B的网络的情况。对于该用户来说,运营商A的网络可以认为是归属网络(或者称家乡网络),运营商B的网络可以认为是拜访网络。Taking operator A and operator B as an example, roaming refers to the situation where a mobile user belonging to operator A accesses the network of operator B. For this user, the network of operator A can be considered as the home network (or home network), and the network of operator B can be considered as the visited network.

某个运营商的某种制式的蜂窝移动通信网络可称为公共陆地移动网络(publicland mobile network,PLMN)。用户设备(user equipment,UE)签约的PLMN可称为归属公共陆地移动网络(public land mobile network,PLMN)(home PLMN,HPLMN),表征签约用户的归属运营商。当UE因移动或其他原因离开HPLMN的覆盖范围时,如果存在某个PLMN满足以下条件:1)可以覆盖UE当前所在位置,2)其运营商与该UE的HPLMN的运营商签署了漫游协议(漫游协议,即表示运营商之间的某种协议,内容例如可以包括:为对方运营商网络的签约用户提供的服务和计费方式等问题,对此不予限制),那么该UE可以接入该PLMN,且该PLMN可称为拜访公共陆地移动网络(visited PLMN,VPLMN)。UE接入VPLMN的行为可称为漫游。通常,漫游场景可以分为本地突破(local breakout,LBO)漫游和归属路由(home routed,HR)漫游,两者的区别主要在于会话是否要连接到归属网络的用户面功能(user planefunction,UPF)。下面结合图1和图2介绍这两种场景。A certain standard of cellular mobile communication network of a certain operator can be called a public land mobile network (publicland mobile network, PLMN). The PLMN subscribed by the user equipment (UE) may be called the home public land mobile network (PLMN) (home PLMN, HPLMN), which represents the home operator of the subscribed user. When the UE leaves the coverage of the HPLMN due to movement or other reasons, if there is a PLMN that meets the following conditions: 1) it can cover the current location of the UE, 2) its operator has signed a roaming agreement with the operator of the UE's HPLMN ( Roaming agreement refers to a certain agreement between operators. The content may include, for example: services and billing methods for contracted users of the other operator's network. There are no restrictions on this.) Then the UE can access The PLMN may be called a visited public land mobile network (VPLMN). The behavior of the UE accessing the VPLMN can be called roaming. Generally, roaming scenarios can be divided into local breakout (LBO) roaming and home routed (HR) roaming. The main difference between the two is whether the session needs to be connected to the user plane function (UPF) of the home network. . These two scenarios are introduced below based on Figure 1 and Figure 2.

图1是适用于本申请实施例的一种网络架构的示意图。图1所示的网络架构以HR漫游为例。Figure 1 is a schematic diagram of a network architecture suitable for embodiments of the present application. The network architecture shown in Figure 1 takes HR roaming as an example.

如图1所示,该网络架构可以包括但不限于:基于网络切片特定认证与授权功能(network slice specific authentication and authorization function,NSSAAF),网络切片选择功能(network slice selection function,NSSF),认证服务器功能(authentication server function,AUSF),统一数据管理(unified data management,UDM),策略控制功能(policy control function,PCF),应用功能(application function,AF),接入和移动性管理功能(access and mobility management function,AMF),会话管理功能(session management function,SMF),UE,无线接入网设备,UPF,数据网络(datanetwork,DN)等。As shown in Figure 1, the network architecture may include but is not limited to: network slice specific authentication and authorization function (NSSAAF), network slice selection function (NSSF), authentication server Function (authentication server function, AUSF), unified data management (UDM), policy control function (PCF), application function (AF), access and mobility management function (access and mobility management function (AMF), session management function (SMF), UE, wireless access network equipment, UPF, data network (DN), etc.

下面对图1中示出的各网元做简单介绍。The following is a brief introduction to each network element shown in Figure 1.

1、UE:可以称终端设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。1. UE: It can be called terminal equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device.

终端设备可以是一种向用户提供语音/数据的设备,例如,具有无线连接功能的手持式设备、车载设备等。目前,一些终端的举例为:手机(mobile phone)、平板电脑、笔记本电脑、掌上电脑、移动互联网设备(mobile internet device,MID)、可穿戴设备,虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端、蜂窝电话、无绳电话、会话启动协议(session initiationprotocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、可穿戴设备,5G网络中的终端设备或者未来演进的公用陆地移动通信网络(public land mobile network,PLMN)中的终端设备等,本申请实施例对此并不限定。The terminal device may be a device that provides voice/data to users, for example, a handheld device with wireless connection function, a vehicle-mounted device, etc. Currently, some examples of terminals are: mobile phones, tablets, laptops, PDAs, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (augmented reality, AR) equipment, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, and smart grids wireless terminals, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocols, SIP) telephone, wireless local loop (WLL) station, personal digital assistant (PDA), handheld device with wireless communication capabilities, computing device or other processing device connected to a wireless modem, wearable Equipment, terminal equipment in the 5G network or terminal equipment in the future evolved public land mobile communication network (public land mobile network, PLMN), etc., the embodiments of the present application are not limited to this.

作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example and not a limitation, in this embodiment of the present application, the terminal device may also be a wearable device. Wearable devices can also be called wearable smart devices. It is a general term for applying wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes, etc. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly defined wearable smart devices include full-featured, large-sized devices that can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, and those that only focus on a certain type of application function and need to cooperate with other devices such as smartphones. Use, such as various types of smart bracelets, smart jewelry, etc. for physical sign monitoring.

此外,在本申请实施例中,终端设备还可以是IoT系统中的终端设备,IoT是未来信息技术发展的重要组成部分,其主要技术特点是将物品通过通信技术与网络连接,从而实现人机互连,物物互连的智能化网络。In addition, in the embodiment of this application, the terminal device may also be a terminal device in the IoT system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing human-machine Interconnection, an intelligent network that interconnects things.

需要指出的是,终端设备与接入网设备之间可以采用某种空口技术(如NR或LTE技术等)相互通信。终端设备与终端设备之间也可以采用某种空口技术(如NR或LTE技术等)相互通信。It should be pointed out that terminal equipment and access network equipment can communicate with each other using certain air interface technology (such as NR or LTE technology, etc.). Terminal devices can also communicate with each other using some air interface technology (such as NR or LTE technology, etc.).

本申请实施例中,用于实现终端设备的功能的装置可以是终端设备,也可以是能够支持终端设备实现该功能的装置,例如芯片系统或芯片,该装置可以被安装在终端设备中。本申请实施例中,芯片系统可以由芯片构成,也可以包括芯片和其他分立器件。In the embodiment of the present application, the device used to implement the functions of the terminal device may be a terminal device, or may be a device capable of supporting the terminal device to implement the function, such as a chip system or a chip, and the device may be installed in the terminal device. In the embodiments of this application, the chip system may be composed of chips, or may include chips and other discrete devices.

2、(无线)接入网((radio)access network,(R)AN)设备:可以为特定区域的授权用户提供接入通信网络的功能,具体可以包括第三代合作伙伴计划(3rd generationpartnership project,3GPP)网络中无线网络设备也可以包括非3GPP(non-3GPP)网络中的接入点。下文为方便描述采用AN设备表示。2. (Radio) access network (R)AN) equipment: It can provide authorized users in a specific area with the function of accessing the communication network. Specifically, it can include the 3rd generation partnership project (3rd generation partnership project). , 3GPP) wireless network devices in the network may also include access points in non-3GPP (non-3GPP) networks. The following uses AN equipment representation for convenience of description.

AN设备可以为采用不同的无线接入技术。目前的无线接入技术有两种类型:3GPP接入技术(例如,第三代(3rd generation,3G)、第四代(4th generation,4G)或5G系统中采用的无线接入技术)和非3GPP(non-3GPP)接入技术。3GPP接入技术是指符合3GPP标准规范的接入技术,例如,5G系统中的接入网设备称为下一代基站节点(next generation NodeBase station,gNB)或者RAN设备。非3GPP接入技术可以包括以无线保真(wirelessfidelity,WiFi)中的接入点(access point,AP)为代表的空口技术、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)、码分多址(codedivision multiple access,CDMA)等。AN设备可以允许终端设备和3GPP核心网之间采用非3GPP技术互连互通。AN equipment can adopt different wireless access technologies. There are currently two types of wireless access technologies: 3GPP access technologies (for example, wireless access technologies used in third generation (3G), fourth generation (4G) or 5G systems) and non- 3GPP (non-3GPP) access technology. 3GPP access technology refers to access technology that complies with 3GPP standard specifications. For example, the access network equipment in the 5G system is called next generation NodeBase station (gNB) or RAN equipment. Non-3GPP access technologies may include air interface technology represented by access point (AP) in wireless fidelity (WiFi), global interoperability for microwave access (WiMAX), code division Multiple access (codedivision multiple access, CDMA), etc. AN equipment can allow interconnection and interworking between terminal equipment and the 3GPP core network using non-3GPP technologies.

AN设备能够负责空口侧的无线资源管理、服务质量(quality of service,QoS)管理、数据压缩和加密等功能。AN设备为终端设备提供接入服务,进而完成控制信号和用户数据在终端设备和核心网之间的转发。AN equipment can be responsible for functions such as wireless resource management, quality of service (QoS) management, data compression and encryption on the air interface side. AN equipment provides access services to terminal equipment, thereby completing the forwarding of control signals and user data between the terminal equipment and the core network.

AN设备例如可以包括但不限于:宏基站、微基站(也称为小站)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base stationcontroller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,homeevolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU),WiFi系统中的AP、无线中继节点、无线回传节点、传输点(transmission point,TP)或者发送接收点(transmission and reception point,TRP)等,还可以为5G(如,NR)系统中的gNB或传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如分布式单元(distributed unit,DU),或者下一代通信6G系统中的基站等。本申请实施例对AN设备所采用的具体技术和具体设备形态不做限定。AN equipment may include, for example, but is not limited to: macro base station, micro base station (also known as small station), radio network controller (radio network controller, RNC), Node B (Node B, NB), base station controller (base station controller, BSC), base transceiver station (BTS), home base station (e.g., homeevolved NodeB, or home Node B, HNB), baseband unit (BBU), AP in WiFi system, wireless relay node, Wireless backhaul node, transmission point (TP) or transmission and reception point (TRP), etc., can also be gNB or transmission point (TRP or TP) in the 5G (such as NR) system, 5G One or a group (including multiple antenna panels) of antenna panels of a base station in the system, or it can also be a network node that constitutes a gNB or transmission point, such as a distributed unit (DU), or a next-generation communication 6G system base stations etc. The embodiments of this application do not limit the specific technology and specific equipment form used by the AN equipment.

3、AMF:主要用于接入控制、移动性管理、附着与去附着等功能。3. AMF: Mainly used for functions such as access control, mobility management, attachment and detachment.

4、SMF:主要用于用户面网元选择,用户面网元重定向,终端设备的因特网协议(internet protocol,IP)地址分配,以及移动网络中的会话管理,如会话的建立、修改和释放及服务质量(quality of service,QoS)控制。4. SMF: Mainly used for user plane network element selection, user plane network element redirection, Internet protocol (IP) address allocation of terminal equipment, and session management in mobile networks, such as session establishment, modification and release. and quality of service (QoS) control.

在本申请中,为区分,将HPLMN中的SMF记为归属SMF(home SMF,H-SMF),将VPLMN中的SMF记为拜访SMF(visited SMF,V-SMF)。In this application, for the sake of distinction, the SMF in HPLMN is referred to as home SMF (H-SMF), and the SMF in VPLMN is referred to as visited SMF (visited SMF, V-SMF).

5、UPF:主要用于用户面数据的接收和转发。例如,UPF可以从DN接收用户面数据,并通过AN设备将用户面数据发送给终端设备。UPF还可以通过AN设备从终端设备接收用户面数据,并转发到DN。会话中通过N6接口与DN直接相连的UPF可称为协议数据单元(protocol data unit,PDU)会话锚点(PDU session anchor,PSA)。5. UPF: Mainly used for receiving and forwarding user plane data. For example, the UPF can receive user plane data from the DN and send the user plane data to the terminal device through the AN device. UPF can also receive user plane data from the terminal device through the AN device and forward it to the DN. The UPF directly connected to the DN through the N6 interface in the session can be called a protocol data unit (PDU) session anchor (PDU session anchor, PSA).

在本申请中,为区分,将HPLMN中的UPF记为归属UPF(homeUPF,H-UPF),将VPLMN中的UPF记为拜访UPF(visited UPF,V-UPF)。此外,为区分,将HPLMN中的PSA记为归属PSA(home PSA,H-PSA),将VPLMN中的PSA记为拜访PSA(visited PSA,V-PSA)(或者记为本地PSA(local PSA,L-PSA))。In this application, for the purpose of distinction, the UPF in HPLMN is recorded as home UPF (homeUPF, H-UPF), and the UPF in VPLMN is recorded as visited UPF (visited UPF, V-UPF). In addition, for distinction, the PSA in HPLMN is recorded as home PSA (home PSA, H-PSA), and the PSA in VPLMN is recorded as visited PSA (visited PSA, V-PSA) (or local PSA (local PSA, L-PSA)).

6、PCF:主要用于指导网络行为的统一策略框架,为控制面网元(例如AMF,SMF等)提供策略规则信息等。6. PCF: A unified policy framework mainly used to guide network behavior and provide policy rule information for control plane network elements (such as AMF, SMF, etc.).

在本申请中,为区分,将HPLMN中的PCF记为归属PCF(homePCF,H-PCF),将VPLMN中的PCF记为拜访PCF(visited PCF,V-PCF)。In this application, for the purpose of distinction, the PCF in the HPLMN is recorded as the home PCF (homePCF, H-PCF), and the PCF in the VPLMN is recorded as the visited PCF (visited PCF, V-PCF).

7、AF:主要用于向3GPP网络提供业务,如与PCF之间交互以进行策略控制等。7. AF: Mainly used to provide services to the 3GPP network, such as interacting with PCF for policy control, etc.

8、网络切片选择功能(network slice selection function,NSSF):主要用于网络切片选择。8. Network slice selection function (NSSF): Mainly used for network slice selection.

9、UDM:主要用于UE的签约数据管理,包括UE标识的存储和管理,UE的接入授权等。9. UDM: Mainly used for UE subscription data management, including storage and management of UE identification, UE access authorization, etc.

10、DN:主要用于为UE提供数据服务的运营商网络。例如,因特网(Internet)、第三方的业务网络、IP多媒体服务业务(IP multi-media service,IMS)网络等。10. DN: Operator network mainly used to provide data services to UE. For example, the Internet, a third-party business network, an IP multimedia service (IP multi-media service, IMS) network, etc.

11、AUSF:主要用于用户鉴权等。11. AUSF: Mainly used for user authentication, etc.

在HR漫游场景中,会话(如称为HR会话)连接到归属网络的UPF。HR会话是指用户位于拜访网络时建立的,且连接到归属网络的UPF的会话,该HR会话中所承载的业务流(traffic),从UE发送到归属网络的UPF,之后再发送到接收端。In HR roaming scenario, the session (eg called HR session) is connected to the UPF of the home network. An HR session refers to a session established when the user is in the visited network and connected to the UPF of the home network. The traffic carried in the HR session is sent from the UE to the UPF of the home network and then to the receiving end. .

举例来说,在HR漫游场景中,UE通过V-SMF在VPLMN发起会话建立请求;V-SMF将该会话建立请求转发给H-SMF;H-SMF连接H-PCF并进行会话的会话管理(sessionmanagement,SM)策略(policy)的配置和会话建立;V-SMF可以根据H-SMF生成的N4上下文配置V-UPF。在HR漫游场景中,会话的锚点在H-UPF,会话的主要控制网元包括H-SMF和H-PCF,V-UPF主要是负责转发H-UPF与RAN之间的数据包。For example, in the HR roaming scenario, the UE initiates a session establishment request in the VPLMN through V-SMF; V-SMF forwards the session establishment request to H-SMF; H-SMF connects to H-PCF and performs session management ( Session management, SM) policy (policy) configuration and session establishment; V-SMF can configure V-UPF according to the N4 context generated by H-SMF. In the HR roaming scenario, the anchor point of the session is H-UPF. The main control network elements of the session include H-SMF and H-PCF. V-UPF is mainly responsible for forwarding data packets between H-UPF and RAN.

图2是适用于本申请实施例的另一种网络架构的示意图。图2所示的网络架构以LBO漫游为例。Figure 2 is a schematic diagram of another network architecture suitable for embodiments of the present application. The network architecture shown in Figure 2 takes LBO roaming as an example.

如图2所示,该网络架构可以包括但不限于:NSSAAF,NSSF,AUSF,UDM,PCF,AF,AMF,SMF,UE,无线接入网设备,UPF,DN等。关于各网元的介绍,可以参考上面的描述,此处不再赘述。As shown in Figure 2, the network architecture may include but is not limited to: NSSAAF, NSSF, AUSF, UDM, PCF, AF, AMF, SMF, UE, radio access network equipment, UPF, DN, etc. For the introduction of each network element, please refer to the above description and will not be repeated here.

在LBO漫游场景中,会话(如称为LBO会话)不连接到归属网络的UPF(即H-UPF)。LBO会话是指用户位于拜访网络时建立的,且连接到V-UPF的会话,该LBO会话中所承载的业务流,直接在拜访网络(即VPLMN)本地发送出去,不需要绕回到归属网络(即HPLMN)的UPF(即H-UPF)。In LBO roaming scenario, the session (eg called LBO session) is not connected to the UPF of the home network (ie H-UPF). An LBO session refers to a session established when the user is in the visited network and connected to the V-UPF. The service flow carried in this LBO session is sent directly locally on the visited network (i.e. VPLMN) without going back to the home network. (ie HPLMN) UPF (ie H-UPF).

举例来说,在LBO漫游场景中,UE通过V-SMF在VPLMN发起会话建立请求,V-SMF连接V-PCF并进行会话的SM policy的配置和会话建立。在LBO漫游场景中,会话的锚点在V-UPF,会话的主要控制网元包括V-SMF和V-PCF,V-UPF可对使用本地多接入边缘计算(multi-access edge computing,MEC)业务的数据包进行分流,从V-UPF转发到部署在本地的边缘应用服务器(edge application server,EAS)上。For example, in the LBO roaming scenario, the UE initiates a session establishment request in the VPLMN through V-SMF. The V-SMF connects to the V-PCF and configures the SM policy of the session and establishes the session. In the LBO roaming scenario, the anchor point of the session is V-UPF, and the main control network elements of the session include V-SMF and V-PCF. V-UPF can use local multi-access edge computing (MEC) ) business data packets are diverted and forwarded from V-UPF to the local edge application server (edge application server, EAS).

图3是适用于本申请实施例的另一种网络架构的示意图。Figure 3 is a schematic diagram of another network architecture suitable for embodiments of the present application.

如图3所示,该网络架构可以包括但不限于:SMF,UE,UPF(如V-UPF和H-UPF),PSA(如L-PSA和远端PAS(remote PSA)),上行分类器(uplink classifier,UL CL)、域名服务(domain name service,DNS)服务器(如图3中的L-DNS和C-DNS),边缘应用服务器发现网元(edge application server discovery function,EASDF)。其中,边缘应用服务器发现网元,例如也可以称为边缘应用(服务)发现功能、应用实例发现功能、边缘应用实例发现功能、MEC应用(服务器)发现功能等,不予限制。下面对图3中示出的部分网元做简单介绍,关于其余部分网元的介绍,可以参考上面的描述,此处不再赘述。As shown in Figure 3, the network architecture can include but is not limited to: SMF, UE, UPF (such as V-UPF and H-UPF), PSA (such as L-PSA and remote PAS (remote PSA)), uplink classifier (uplink classifier, UL CL), domain name service (domain name service, DNS) server (L-DNS and C-DNS in Figure 3), edge application server discovery network element (edge application server discovery function, EASDF). Among them, the edge application server discovers network elements, which may also be called edge application (service) discovery function, application instance discovery function, edge application instance discovery function, MEC application (server) discovery function, etc., and is not limited. The following is a brief introduction to some of the network elements shown in Figure 3. For the introduction of the remaining network elements, please refer to the above description and will not be repeated here.

1、UL CL:用于将满足业务过滤规则的数据包转发到指定的路径,UL CL功能可由UPF提供。当一个UL CL被插入到一个PDU会话数据通道时,这条PDU会话就可以有多个PDU会话锚点,提供接入到同一个DN的多条不同的路径。1. UL CL: used to forward data packets that meet business filtering rules to a specified path. The UL CL function can be provided by UPF. When a UL CL is inserted into a PDU session data channel, this PDU session can have multiple PDU session anchors, providing multiple different paths to the same DN.

2、EASDF,主要用于辅助EAS发现,其主要作用包括:根据SMF的指示,处理DNS消息。EASDF可认为是一个集中的处理网元,可以由SMF在会话建立时进行配置。UE的DNS查询消息可通过remote PSA发送给EASDF。EASDF可根据SMF配置的处理规则(handling rule)对DNS消息进行处理。2. EASDF is mainly used to assist EAS discovery. Its main functions include: processing DNS messages according to the instructions of SMF. EASDF can be considered as a centralized processing network element that can be configured by SMF during session establishment. The UE's DNS query message can be sent to EASDF through remote PSA. EASDF can process DNS messages according to the handling rules configured by SMF.

作为示例,EASDF根据处理规则对DNS消息进行处理,可包括以下三种情形。As an example, EASDF processes DNS messages according to processing rules, which can include the following three situations.

1)UE将DNS查询(DNS query)请求发送给EASDF,由EASDF向SMF查询EDNS客户端子网选项(Edns-client-subnet option,ECS option),或者EASDF本地查询ECS option(如SMF将ECS option预配置在EASDF上),并将UE的DNS query发送至C-DNS服务器。其中,EDNS为DNS扩展机制(extended mechanisms for DNS,EDNS)。1) The UE sends a DNS query request to EASDF, and EASDF queries SMF for the EDNS client subnet option (Edns-client-subnet option, ECS option), or EASDF locally queries the ECS option (such as SMF pre-configuring the ECS option). configured on EASDF), and sends the UE’s DNS query to the C-DNS server. Among them, EDNS is extended mechanisms for DNS (EDNS).

在本申请中,为区分,将部署在HPLMN中的集中式DNS服务器记为C-DNS服务器(centralize DNS server),将部署在VPLMN中的本地DNS服务器记为L-DNS服务器(localDNS server)。图3中为简洁,分别用C-DNS和L-DNS表示。In this application, for the purpose of distinction, the centralized DNS server deployed in HPLMN will be recorded as C-DNS server (centralize DNS server), and the local DNS server deployed in VPLMN will be recorded as L-DNS server (localDNS server). Figure 3 is simple, represented by C-DNS and L-DNS respectively.

2)UE将DNS查询请求发送给EASDF,由EASDF向SMF查询L-DNS服务器的信息(如L-DNS服务器的地址),或者EASDF本地查询L-DNS服务器的信息(如SMF将L-DNS服务器的信息预配置在EASDF上),并将UE的DNS query发送至对应的L-DNS服务器。2) The UE sends the DNS query request to EASDF, and the EASDF queries the SMF for the information of the L-DNS server (such as the address of the L-DNS server), or the EASDF locally queries the information of the L-DNS server (such as the SMF sends the L-DNS server information is preconfigured on EASDF), and sends the UE's DNS query to the corresponding L-DNS server.

3)SMF为ULCL配置转发规则,UE将DNS查询请求通过L-PSA发送给L-DNS服务器。3) SMF configures forwarding rules for ULCL, and the UE sends the DNS query request to the L-DNS server through L-PSA.

上述仅是简单的示例性说明,对此不予限制。例如,UE可以通过PSA直接发送给EASDF,由EASDF选取DNS服务器进行转发。The above is only a simple illustrative description and is not limiting. For example, the UE can directly send the PSA to EASDF, and EASDF selects a DNS server for forwarding.

图4是适用于本申请实施例的另一种网络架构的示意图。Figure 4 is a schematic diagram of another network architecture suitable for embodiments of the present application.

如图4所示,该网络架构可以包括但不限于:UE,RAN,PSA(如L-PSA和远端PAS),ULCL,DNS(如C-DNS和L-DNS),EASDF,边缘数据网络(edge data network,EDN)。其中,EDN可包含多个EAS。一种通用理解,EDN对应一个数据网络,是一个特别的本地数据网络(localDN),包含边缘使能服务器(edge enabler server,EES),可以使用数据网络接入标识符(DNAccess Identifier,DNAI)和数据网络名称(data network name,DNN)标识,是网络逻辑概念。另一种对于EDN的理解:EDN是中心云的对等概念,可以理解为是一个本地的数据中心(地理位置概念),可以使用DNAI来标识,可以包含多个本地数据网络(local DN)。关于EDN的具体定义,本申请实施例不予限制。关于其余网元的介绍,可以参考上面的描述,此处不再赘述。As shown in Figure 4, the network architecture can include but is not limited to: UE, RAN, PSA (such as L-PSA and remote PAS), ULCL, DNS (such as C-DNS and L-DNS), EASDF, edge data network (edge data network, EDN). Among them, EDN can contain multiple EAS. A common understanding is that EDN corresponds to a data network, which is a special local data network (localDN), including an edge enabler server (EES), which can use the data network access identifier (DNAccess Identifier, DNAI) and The data network name (DNN) identifier is a network logical concept. Another understanding of EDN: EDN is the peer-to-peer concept of the central cloud. It can be understood as a local data center (geographic location concept), which can be identified using DNAI and can contain multiple local data networks (local DN). Regarding the specific definition of EDN, the embodiments of this application will not limit it. For the introduction of other network elements, please refer to the above description and will not be repeated here.

图4中的OP1表示一运营商(operator,OP),相应地,EDN1表示该OP1中的边缘数据网络;或者,OP1也可表示第三方边缘计算服务提供商(edge computing serviceprovider,ECSP),相应地,EDN1表示第三方ECSP中的边缘数据网络。图4中的OP2表示另一运营商,EDN2表示该OP2中的边缘数据网络。如图4所示,OP1可以在OP2部署独立的MEC机房(如图4中的EDN1);或者OP1也可以在VPLMN的MEC机房(如图4中的EDN2)部署自己的服务器(如图4中的EDN2中的EAS OP1)。举例来说,若UE为OP1的UE,则可以看作是HPLMN在VPLMN部署EAS;再举例来说,若UE为OP2的UE,则可以看作是本地用户需要使用其他provider提供的边缘服务。OP1 in Figure 4 represents an operator (operator, OP), and accordingly, EDN1 represents the edge data network in OP1; or, OP1 can also represent a third-party edge computing service provider (ECSP), correspondingly Ground, EDN1 represents the edge data network in the third-party ECSP. OP2 in Figure 4 represents another operator, and EDN2 represents the edge data network in OP2. As shown in Figure 4, OP1 can deploy an independent MEC computer room in OP2 (EDN1 in Figure 4); or OP1 can also deploy its own server in the MEC computer room of VPLMN (EDN2 in Figure 4) (as shown in Figure 4) EAS OP1 in EDN2). For example, if the UE is the UE of OP1, it can be regarded as the HPLMN deploying EAS on the VPLMN; for another example, if the UE is the UE of OP2, it can be regarded as the local user needs to use edge services provided by other providers.

可以理解,在本申请实施例中,MEC机房也可以是边缘主机环境(edge hostingenvironment,EHE)。It can be understood that in this embodiment of the present application, the MEC computer room may also be an edge hosting environment (edge hosting environment, EHE).

在图1至图4所示的网络架构中,各网元之间可以接口通信,例如,UE通过无线资源控制(radio resource control,RRC)协议与AN设备连接,UE和AN设备之间采用Uu接口进行通信。或者也可以参考图1所示的接口,此处不再赘述。In the network architecture shown in Figures 1 to 4, each network element can communicate through interfaces. For example, the UE is connected to the AN device through the radio resource control (RRC) protocol, and Uu is used between the UE and the AN device. interface for communication. Or you can refer to the interface shown in Figure 1, which will not be described again here.

应理解,上述所示的网络架构仅是示例性说明,适用本申请实施例的网络架构并不局限于此,任何能够实现上述各个网元的功能的网络架构都适用于本申请实施例。此外,上述所示的网络架构中还可以包括其他更多的网元,如网络开放功能(network exposurefunction,NEF),统一数据存储网元(unified data repository,UDR)对此不予限制。其中,NEF主要用于安全地向外部开放由3GPP网络功能提供的业务和能力等。在本申请中,为区分,将HPLMN中的NEF记为归属NEF(homeNEF,H-NEF),将VPLMN中的NEF记为拜访NEF(visitedNEF,V-NEF)。在本申请中,为区分,将HPLMN中的UDR记为归属UDR(homeUDR,H-UDR),将VPLMN中的UDR记为拜访UDR(visited UDR,V-UDR)。It should be understood that the network architecture shown above is only an illustrative description, and the network architecture applicable to the embodiments of the present application is not limited thereto. Any network architecture that can realize the functions of each of the above network elements is applicable to the embodiments of the present application. In addition, the network architecture shown above can also include other more network elements, such as network exposure function (NEF), and unified data storage network element (unified data repository, UDR) is not limited to this. Among them, NEF is mainly used to securely open the services and capabilities provided by 3GPP network functions to the outside world. In this application, for distinction, the NEF in HPLMN is recorded as home NEF (homeNEF, H-NEF), and the NEF in VPLMN is recorded as visited NEF (visitedNEF, V-NEF). In this application, for distinction, the UDR in HPLMN is recorded as home UDR (homeUDR, H-UDR), and the UDR in VPLMN is recorded as visited UDR (visited UDR, V-UDR).

还应理解,图1至图4中所示的AMF、SMF、UPF、PCF、UDM、NSSF、AUSF等功能或者网元,可以理解为用于实现不同功能的网元,例如可以按需组合成网络切片。这些网元可以各自独立的设备,也可以集成于同一设备中实现不同的功能,或者可以是硬件设备中的网络元件,也可以是在专用硬件上运行的软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能,本申请对于上述网元的具体形态不作限定。It should also be understood that functions or network elements such as AMF, SMF, UPF, PCF, UDM, NSSF, and AUSF shown in Figures 1 to 4 can be understood as network elements used to implement different functions, and can, for example, be combined as needed. Network slicing. These network elements can be independent devices, or they can be integrated into the same device to implement different functions, or they can be network elements in hardware devices, software functions running on dedicated hardware, or platforms (for example, cloud The virtualization function instantiated on the platform), this application does not limit the specific form of the above network elements.

还应理解,上述命名仅为便于区分不同的功能而定义,不应对本申请构成任何限定。本申请并不排除在6G网络以及未来其它的网络中采用其他命名的可能。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能采用其他名称等。It should also be understood that the above nomenclature is only defined to facilitate the differentiation of different functions and should not constitute any limitation on this application. This application does not rule out the possibility of using other naming in 6G networks and other networks in the future. For example, in a 6G network, some or all of the above network elements may use the terminology used in 5G, or may adopt other names.

如上文所述,UE可能会通过漫游的方式接入VPLMN。HPLMN运营商可能会在VPLMN部署自己的EAS,或者第三方ECSP可能会在VPLMN部署自己的EAS。按照现有的DNS查询技术,无法区分EAS归属于哪个运营商。或者,如果UE订阅的是第三方ECSP的边缘计算业务,按照现有的DNS查询技术,无法为该UE优先提供该第三方ECSP在VPLMN中对应的EAS。因此,如何为漫游UE选择特定网络(如第三方ECSP或HPLMN)在VPLMN中对应的EAS是值得考虑的问题。As mentioned above, the UE may access the VPLMN through roaming. HPLMN operators may deploy their own EAS at VPLMN, or third-party ECSPs may deploy their own EAS at VPLMN. According to the existing DNS query technology, it is impossible to distinguish which operator EAS belongs to. Or, if the UE subscribes to the edge computing service of a third-party ECSP, according to the existing DNS query technology, the EAS corresponding to the third-party ECSP in the VPLMN cannot be provided to the UE first. Therefore, how to select the EAS corresponding to a specific network (such as a third-party ECSP or HPLMN) in the VPLMN for roaming UEs is an issue worth considering.

本申请提出一种方案,根据为终端设备提供边缘计算服务的提供商的信息,确定该提供商对应的EAS部署信息,即该提供商在终端设备的接入网络中对应的EAS的部署信息,进而会话管理网元基于该提供商对应的EAS部署信息配置DNS处理规则,这样边缘应用服务器发现网元基于该DNS处理规则处理终端设备的DNS查询消息时,可为终端设备提供该提供商的EAS,即该提供商在终端设备的接入网络中对应的EAS。This application proposes a solution to determine the EAS deployment information corresponding to the provider based on the information of the provider that provides edge computing services for the terminal device, that is, the EAS deployment information corresponding to the provider in the access network of the terminal device. Then, the session management network element configures DNS processing rules based on the EAS deployment information corresponding to the provider. In this way, when the edge application server discovers that the network element processes the DNS query message of the terminal device based on the DNS processing rules, it can provide the terminal device with the EAS of the provider. , that is, the provider's corresponding EAS in the access network of the terminal device.

举例来说,如果UE订阅的是第三方ECSP的边缘计算业务,UE的接入网络为PLMN(如称为PLMN#A),那么可以根据第三方ECSP的标识找到该第三方ECSP对应的EAS部署信息,即该第三方ECSP在PLMN#A中的EAS部署信息;这样SMF根据第三方ECSP在PLMN#A中的EAS部署信息来配置DNS处理规则;EASDF收到该DNS处理规则后,可以基于该DNS处理规则对UE的DNS查询请求进行处理,从而为UE查找到第三方ECSP在PLMN#A中对应的EAS,使得UE可以优先使用第三方ECSP在PLMN#A中对应的EAS。For example, if the UE subscribes to the edge computing service of a third-party ECSP and the UE's access network is a PLMN (for example, called PLMN#A), then the EAS deployment corresponding to the third-party ECSP can be found based on the identifier of the third-party ECSP. information, that is, the EAS deployment information of the third-party ECSP in PLMN#A; in this way, SMF configures DNS processing rules based on the EAS deployment information of the third-party ECSP in PLMN#A; after EASDF receives the DNS processing rules, it can The DNS processing rules process the UE's DNS query request, thereby finding the EAS corresponding to the third-party ECSP in PLMN#A for the UE, so that the UE can preferentially use the EAS corresponding to the third-party ECSP in PLMN#A.

再举例来说,如果UE要使用HPLMN的边缘计算业务,UE的接入网络为VPLMN,那么可以根据HPLMN的标识找到该HPLMN对应的EAS部署信息,即该HPLMN在VPLMN中的EAS部署信息;这样SMF根据HPLMN在VPLMN中的EAS部署信息来配置DNS处理规则;EASDF收到该DNS处理规则后,可以基于该DNS处理规则对UE的DNS查询请求进行处理,从而为UE查找到HPLMN在VPLMN中对应的EAS,使得UE可以优先使用HPLMN在VPLMN中对应的EAS。For another example, if the UE wants to use the edge computing service of HPLMN and the UE's access network is VPLMN, then the EAS deployment information corresponding to the HPLMN can be found according to the HPLMN identifier, that is, the EAS deployment information of the HPLMN in the VPLMN; thus SMF configures DNS processing rules based on the EAS deployment information of HPLMN in VPLMN; after EASDF receives the DNS processing rules, it can process the UE's DNS query request based on the DNS processing rules, thereby finding the corresponding HPLMN in VPLMN for the UE. EAS, so that the UE can preferentially use the EAS corresponding to the HPLMN in the VPLMN.

可以理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It can be understood that the term "and/or" in this article is only an association relationship describing related objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, and A and B exist simultaneously. , there are three situations of B alone. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship.

下文将结合附图详细说明本申请实施例提供的通信的方法。本申请提供的实施例可以应用于上述图1至图4所示的网络架构中,不作限定。The communication method provided by the embodiment of the present application will be described in detail below with reference to the accompanying drawings. The embodiments provided in this application can be applied to the network architecture shown in the above-mentioned Figures 1 to 4 without limitation.

图5是本申请实施例提供的一种通信的方法500的示意图。方法500可以包括如下步骤。Figure 5 is a schematic diagram of a communication method 500 provided by an embodiment of the present application. Method 500 may include the following steps.

501,会话管理网元获取提供商信息,提供商是为终端设备提供边缘计算服务的提供商;501. The session management network element obtains provider information. The provider is a provider that provides edge computing services for terminal devices;

502,会话管理网元根据提供商信息和提供商对应的EAS部署信息,配置DNS处理规则,DNS处理规则用于处理终端设备的DNS消息,EAS部署信息是提供商在终端设备的接入网络中对应的EAS部署信息;502. The session management network element configures DNS processing rules based on the provider information and the provider's corresponding EAS deployment information. The DNS processing rules are used to process DNS messages of the terminal device. The EAS deployment information is provided by the provider in the access network of the terminal device. Corresponding EAS deployment information;

503,会话管理网元向边缘应用服务器发现网元发送DNS处理规则。503. The session management network element sends DNS processing rules to the edge application server discovery network element.

相应地,边缘应用服务器发送网元接收该DNS处理规则。边缘应用服务器发送网元可根据该DNS处理规则,处理终端设备的DNS查询消息。Correspondingly, the edge application server sends the network element to receive the DNS processing rule. The edge application server sends the network element to process the DNS query message of the terminal device according to the DNS processing rules.

提供商(provider)的信息,表示为终端设备提供边缘计算服务的提供商的信息。作为示例,提供商的信息例如可以为提供商标识(provider ID)。可以理解,提供商可表示EAS的提供者,或者也可表示EHE的提供者,不予限制。Provider information represents the information of the provider that provides edge computing services for terminal devices. As an example, the provider information may be a provider ID. It can be understood that the provider may represent the provider of EAS, or may also represent the provider of EHE, without limitation.

可选地,provider包括以下一项或多项:拜访网络(如UE的VPLMN)、归属网络(如UE的HPLMN)、第三方边缘计算服务提供商(edge computing service provider,ECSP)。其中,第三ECSP可以是终端设备订阅(或者请求)的ECSP,或者也可以是PLMN#A中对应的第三方ECSP,不予限制。Optionally, the provider includes one or more of the following: visited network (such as the UE's VPLMN), home network (such as the UE's HPLMN), and a third-party edge computing service provider (edge computing service provider, ECSP). The third ECSP may be an ECSP subscribed (or requested) by the terminal device, or may be a corresponding third-party ECSP in PLMN#A, without limitation.

终端设备的接入网络,或者终端设备的服务网络,表示当前为终端设备提供服务的网络。作为示例,接入网络例如可以为接入网络的表示,如接入PLMN的标识(access PLMNID)。The access network of the terminal device, or the service network of the terminal device, indicates the network that currently provides services to the terminal device. As an example, the access network may be a representation of the access network, such as an access PLMN identification (access PLMNID).

下文,为简洁和区分,将终端设备的接入网络记为PLMN#A,将为终端设备提供边缘计算服务的提供商记为provider#B。可以理解,PLMN#A和provider#B的命名,不对本申请实施例的保护范围造成限定。In the following, for simplicity and distinction, the access network of the terminal device is denoted as PLMN#A, and the provider that provides edge computing services for the terminal device is denoted as provider#B. It can be understood that the naming of PLMN#A and provider#B does not limit the scope of protection of the embodiments of this application.

provider#B对应的EAS部署信息,表示provider#B在PLMN#A中对应的EAS的部署信息。provider#B对应的EAS部署信息,包括以下几种形式:例如,该EAS部署信息中包括provider#B的信息(如provider#B ID);再例如,该EAS部署信息与provider#B的信息(如provider#B ID)关联;再例如,该EAS部署信息中包括provider#B的信息(如provider#BID)以及PLMN#A的信息(如PLMN#A ID);再例如,该EAS部署信息与provider#B的信息(如provider#B ID)以及PLMN#A的信息(如PLMN#A ID)关联。The EAS deployment information corresponding to provider#B indicates the EAS deployment information corresponding to provider#B in PLMN#A. The EAS deployment information corresponding to provider#B includes the following forms: for example, the EAS deployment information includes provider#B's information (such as provider#B ID); for another example, the EAS deployment information and provider#B's information (such as For example, the EAS deployment information includes the information of provider#B (such as provider#BID) and the information of PLMN#A (such as PLMN#A ID); for another example, the EAS deployment information is associated with Provider#B's information (such as provider#B ID) is associated with PLMN#A's information (such as PLMN#A ID).

可选地,步骤502中,会话管理网元根据提供商信息和提供商对应的EAS部署信息,配置DNS处理规则,包括:会话管理网元根据提供商信息,确定该提供商对应的EAS部署信息,根据该提供商对应的EAS部署信息配置DNS处理规则。Optionally, in step 502, the session management network element configures DNS processing rules based on the provider information and the EAS deployment information corresponding to the provider, including: the session management network element determines the EAS deployment information corresponding to the provider based on the provider information. , configure DNS processing rules based on the EAS deployment information corresponding to the provider.

一种可能的实现方式,会话管理网元从网络开放网元请求该provider#B对应的EAS部署信息,进而获得该provider#B对应的EAS部署信息。另一种可能的实现方式,会话管理网元从网络开放网元请求多个EAS部署信息,会话管理网元从该多个EAS部署信息中确定provider#B对应的EAS部署信息。可以理解,上述两种方式为示例性说明,对此不予限制。作为示例,EAS部署信息还可以包括以下一项或多项信息:DNN、单个网络切片选择辅助信息(single-network slice selection assistance information,S-NSSAI)、外部组标识符(external group identifier)/内部组标识符(internal group identifier)、应用信息(如应用标识(application ID,AppID))、全量域名(full qualified domain name,FQDN)。One possible implementation method is that the session management network element requests the EAS deployment information corresponding to the provider #B from the network open network element, and then obtains the EAS deployment information corresponding to the provider #B. Another possible implementation manner is that the session management network element requests multiple EAS deployment information from the network open network element, and the session management network element determines the EAS deployment information corresponding to provider #B from the multiple EAS deployment information. It can be understood that the above two methods are exemplary descriptions and are not limited thereto. As an example, the EAS deployment information may also include one or more of the following information: DNN, single-network slice selection assistance information (S-NSSAI), external group identifier/internal Group identifier (internal group identifier), application information (such as application ID (AppID)), fully qualified domain name (full qualified domain name, FQDN).

下面介绍两种确定provider#B对应的EAS部署信息的方式。The following describes two ways to determine the EAS deployment information corresponding to provider#B.

一种可能的方式,根据provider#B的信息(如provider#BID),确定该provider#B对应的EAS部署信息。基于该方式,可以通过provider#B的信息(如provider#B ID)查询到该provider#B对应的EAS部署信息。One possible way is to determine the EAS deployment information corresponding to provider#B based on provider#B's information (such as provider#BID). Based on this method, the EAS deployment information corresponding to provider#B can be queried through provider#B's information (such as provider#B ID).

例如,provider#B对应的EAS部署信息中可以包括provider#BID,因此根据provider#BID可以确定包含该provider#BID的EAS部署信息。For example, the EAS deployment information corresponding to provider#B may include provider#BID, so the EAS deployment information containing the provider#BID can be determined based on provider#BID.

再例如,provider#B对应的EAS部署信息与provider#BID关联,因此根据provider#BID可以确定与该provider#BID关联的EAS部署信息。For another example, the EAS deployment information corresponding to provider#B is associated with provider#BID, so the EAS deployment information associated with provider#BID can be determined based on provider#BID.

另一种可能的方式,根据provider#B和PLMN#A的信息,确定该provider#B对应的EAS部署信息。在该情况下,provider#B对应的EAS部署信息,也可以描述为provider#B和PLMN#A对应的EAS部署信息,或者provider#B在PLMN#A中对应的EAS的部署信息。基于该方式,可以通过provider#B和PLMN#A的信息(如provider#B ID和和PLMN#A ID)查询到该provider#B对应的EAS部署信息。Another possible way is to determine the EAS deployment information corresponding to provider #B based on the information of provider #B and PLMN #A. In this case, the EAS deployment information corresponding to provider #B can also be described as the EAS deployment information corresponding to provider #B and PLMN #A, or the EAS deployment information corresponding to provider #B in PLMN #A. Based on this method, the EAS deployment information corresponding to provider #B can be queried through the information of provider #B and PLMN #A (such as provider #B ID and PLMN #A ID).

例如,provider#B对应的EAS部署信息(或者provider#B和PLMN#A对应的EAS部署信息,或者provider#B在PLMN#A中对应的EAS的部署信息)中可以包括provider#BID和PLMN#AID,因此根据provider#BID可以确定包含该provider#BID和PLMN#AID的EAS部署信息。For example, the EAS deployment information corresponding to provider#B (or the EAS deployment information corresponding to provider#B and PLMN#A, or the EAS deployment information corresponding to provider#B in PLMN#A) may include provider#BID and PLMN# AID, so the EAS deployment information containing the provider#BID and PLMN#AID can be determined based on the provider#BID.

再例如,provider#B对应的EAS部署信息(或者provider#B和PLMN#A对应的EAS部署信息,或者provider#B在PLMN#A中对应的EAS的部署信息)与provider#BID和PLMN#AID关联,因此根据provider#BID和PLMN#AID可以确定与该provider#BID和PLMN#AID关联的EAS部署信息。For another example, the EAS deployment information corresponding to provider#B (or the EAS deployment information corresponding to provider#B and PLMN#A, or the EAS deployment information corresponding to provider#B in PLMN#A) and provider#BID and PLMN#AID Association, so the EAS deployment information associated with provider#BID and PLMN#AID can be determined based on provider#BID and PLMN#AID.

可选地,provider#B对应的EAS部署信息,可包括以下一项或多项信息:DNS服务器、ECS option、EAS的地址。DNS服务器上注册的EAS是provider#B在PLMN#A中对应的EAS。作为示例,DNS服务器,可以是C-DNS服务器(如部署在HPLMN中的DNS服务器),也可以是L-DNS服务器(如部署在PLMN#A中的DNS服务器)。ECS option对应的EAS是provider#B在PLMN#A中对应的EAS。EAS地址是provider#B在PLMN#A中对应的EAS的地址。作为示例,EAS地址为EAS IP地址。下面列举几个示例。Optionally, the EAS deployment information corresponding to provider #B may include one or more of the following information: DNS server, ECS option, and EAS address. The EAS registered on the DNS server is the EAS corresponding to provider#B in PLMN#A. As an example, the DNS server may be a C-DNS server (such as the DNS server deployed in HPLMN) or an L-DNS server (such as the DNS server deployed in PLMN#A). The EAS corresponding to the ECS option is the EAS corresponding to provider#B in PLMN#A. The EAS address is the EAS address corresponding to provider#B in PLMN#A. As an example, the EAS address is the EAS IP address. Here are a few examples.

示例1,provider#B对应的EAS部署信息包括C-DNS服务器。Example 1, the EAS deployment information corresponding to provider#B includes the C-DNS server.

SMF根据provider#B对应的EAS部署信息为终端设备配置DNS处理规则,在该示例下,SMF为EASDF配置的DNS处理规则中包括该C-DNS服务器。SMF configures DNS processing rules for the terminal device based on the EAS deployment information corresponding to provider#B. In this example, the DNS processing rules configured by SMF for EASDF include the C-DNS server.

可选地,方法500还包括:EASDF向该C-DNS服务器(即provider#B对应的EAS部署信息中包括的C-DNS服务器)发送终端设备的DNS的查询消息,并由该C-DNS服务器处理该终端设备的DNS的查询消息。由于该C-DNS服务器上注册的EAS是provider#B在PLMN#A中对应的EAS,因此,该C-DNS服务器向EASDF返回的是provider#B在PLMN#A中对应的EAS的地址。这样,EASDF可以为终端设备提供provider#B在PLMN#A中对应的EAS。Optionally, method 500 also includes: EASDF sending a query message of the DNS of the terminal device to the C-DNS server (that is, the C-DNS server included in the EAS deployment information corresponding to provider #B), and the C-DNS server Process the DNS query message of the terminal device. Since the EAS registered on the C-DNS server is the EAS corresponding to provider#B in PLMN#A, the C-DNS server returns to EASDF the address of the EAS corresponding to provider#B in PLMN#A. In this way, EASDF can provide the terminal device with the EAS corresponding to provider #B in PLMN #A.

作为示例,下面结合图6介绍适用于示例1的结构。As an example, the structure applicable to Example 1 is introduced below in conjunction with Figure 6.

图6是本申请一实施例提供的网络架构的示意图。假设PLMN#A为VPLMN,provider#B为HPLMN的信息,在该架构下,EASDF收到漫游UE的DNS query消息后,可以根据从SMF处获得的DNS处理规则,向HPLMN对应的C-DNS服务器(即provider#B对应的EAS部署信息中包括的C-DNS服务器)发送UE的DNS query。EASDF收到UE(即普通UE,或者非漫游UE)的DNS query消息后,可以根据从SMF处获得的DNS处理规则,向C-DNS服务器发送该UE的DNS query。关于具体的流程,后面结合方法900进行介绍。Figure 6 is a schematic diagram of a network architecture provided by an embodiment of the present application. Assume that PLMN#A is VPLMN and provider#B is HPLMN information. Under this architecture, after EASDF receives the DNS query message from the roaming UE, it can send a request to the C-DNS server corresponding to HPLMN according to the DNS processing rules obtained from SMF. (i.e., the C-DNS server included in the EAS deployment information corresponding to provider#B) sends the UE's DNS query. After EASDF receives the DNS query message of the UE (ie, ordinary UE, or non-roaming UE), it can send the DNS query of the UE to the C-DNS server according to the DNS processing rules obtained from the SMF. The specific process will be introduced later in conjunction with method 900.

示例2,provider#B对应的EAS部署信息包括ECS option。Example 2, the EAS deployment information corresponding to provider#B includes ECS option.

SMF根据provider#B对应的EAS部署信息为终端设备配置DNS处理规则,在该示例下,SMF为EASDF配置的DNS处理规则中包括该ECS option。SMF configures DNS processing rules for the terminal device based on the EAS deployment information corresponding to provider#B. In this example, the DNS processing rules configured by SMF for EASDF include the ECS option.

可选地,方法500还包括:EASDF在终端设备的DNS的查询消息中添加该ECS option(即provider#B对应的EAS部署信息中包括的ECS option)。进一步,EASDF可向DNS服务器(如C-DNS服务器)发送添加该ECS option的DNS查询消息,由该DNS服务器处理添加该ECSoption的DNS查询消息。由于该ECS option对应的EAS是为provider#B在PLMN#A中对应的EAS,因此,该DNS服务器向EASDF返回的DNS响应中携带该ECS option对应的EAS的地址(即provider#B在PLMN#A中对应的EAS的地址)。这样,EASDF可以为终端设备提供provider#B在PLMN#A中对应的EAS。Optionally, method 500 also includes: EASDF adding the ECS option (that is, the ECS option included in the EAS deployment information corresponding to provider #B) in the query message of the DNS of the terminal device. Further, EASDF can send a DNS query message adding the ECS option to a DNS server (such as a C-DNS server), and the DNS server processes the DNS query message adding the ECS option. Since the EAS corresponding to the ECS option is the EAS corresponding to provider#B in PLMN#A, the DNS response returned by the DNS server to EASDF carries the address of the EAS corresponding to the ECS option (that is, provider#B is in PLMN# The address of the corresponding EAS in A). In this way, EASDF can provide the terminal device with the EAS corresponding to provider #B in PLMN #A.

作为示例,图6所示的架构也可以用于示例2的实现。假设PLMN#A为VPLMN,provider#B为HPLMN的信息,在图6所示的架构下,EASDF收到漫游UE的DNS query消息后,可以根据从SMF处获得的DNS处理规则,在DNS query消息中添加HPLMN对应的ECS option(即provider#B对应的EAS部署信息中包括的ECS option)。EASDF收到UE(即普通UE,或者非漫游UE)的DNS query消息后,可以根据从SMF处获得的DNS处理规则,在DNS query消息中添加ECS option发送给C-DNS服务器,或者也可以直接将UE的DNS query消息转发给L-DNS服务器。关于具体的流程,后面结合方法1000进行介绍。As an example, the architecture shown in Figure 6 can also be used for the implementation of Example 2. Assume that PLMN#A is VPLMN and provider#B is HPLMN information. Under the architecture shown in Figure 6, after EASDF receives the DNS query message from the roaming UE, it can process the DNS query message in the DNS query message based on the DNS processing rules obtained from SMF. Add the ECS option corresponding to HPLMN (that is, the ECS option included in the EAS deployment information corresponding to provider#B). After EASDF receives the DNS query message from the UE (that is, ordinary UE, or non-roaming UE), it can add the ECS option to the DNS query message and send it to the C-DNS server according to the DNS processing rules obtained from the SMF, or it can also directly Forward the UE's DNS query message to the L-DNS server. The specific process will be introduced later in conjunction with method 1000.

示例3,provider#B对应的EAS部署信息包括L-DNS服务器。Example 3, the EAS deployment information corresponding to provider#B includes L-DNS server.

SMF根据provider#B对应的EAS部署信息为终端设备配置DNS处理规则,在该示例下,SMF为EASDF配置的DNS处理规则中包括该L-DNS服务器。SMF configures DNS processing rules for the terminal device based on the EAS deployment information corresponding to provider#B. In this example, the DNS processing rules configured by SMF for EASDF include the L-DNS server.

可选地,方法500还包括:EASDF向该L-DNS服务器(即provider#B对应的EAS部署信息中包括的L-DNS服务器)发送终端设备的DNS的查询消息,并由该L-DNS服务器处理该终端设备的DNS的查询消息。由于该L-DNS服务器上注册的EAS是provider#B在PLMN#A中对应的EAS,因此,该L-DNS服务器向EASDF返回的是provider#B在PLMN#A中对应的EAS的地址。这样,EASDF可以为终端设备提供provider#B在PLMN#A中对应的EAS。Optionally, method 500 also includes: EASDF sending a query message of the DNS of the terminal device to the L-DNS server (that is, the L-DNS server included in the EAS deployment information corresponding to provider #B), and the L-DNS server Process the DNS query message of the terminal device. Since the EAS registered on the L-DNS server is the EAS corresponding to provider#B in PLMN#A, the L-DNS server returns to EASDF the address of the EAS corresponding to provider#B in PLMN#A. In this way, EASDF can provide the terminal device with the EAS corresponding to provider #B in PLMN #A.

作为示例,下面结合图7介绍适用于示例3的结构。As an example, the structure applicable to Example 3 is introduced below in conjunction with Figure 7.

图7是本申请另一实施例提供的网络架构的示意图。假设PLMN#A为VPLMN,provider#B为HPLMN的信息,在该架构下,EASDF收到漫游UE的DNS query消息后,可以根据从SMF处获得的DNS处理规则,向HPLMN对应的L-DNS服务器(即provider#B对应的EAS部署信息中包括的L-DNS服务器)发送UE的DNS query。EASDF收到UE(即普通UE,或者非漫游UE)的DNS query消息后,可以根据从SMF处获得的DNS处理规则,向L-DNS服务器发送该UE的DNSquery。关于具体的流程,后面结合方法1100进行介绍。Figure 7 is a schematic diagram of a network architecture provided by another embodiment of the present application. Assume that PLMN#A is VPLMN and provider#B is HPLMN information. Under this architecture, after EASDF receives the DNS query message from the roaming UE, it can send a request to the L-DNS server corresponding to HPLMN according to the DNS processing rules obtained from SMF. (that is, the L-DNS server included in the EAS deployment information corresponding to provider #B) sends the DNS query of the UE. After EASDF receives the DNS query message of the UE (ie, ordinary UE, or non-roaming UE), it can send the UE's DNS query to the L-DNS server according to the DNS processing rules obtained from the SMF. The specific process will be introduced later in conjunction with method 1100.

示例4,provider#B对应的EAS部署信息包括EAS地址。Example 4, the EAS deployment information corresponding to provider#B includes the EAS address.

SMF根据provider#B对应的EAS部署信息为终端设备配置DNS处理规则,在该示例下,SMF为EASDF配置的DNS处理规则中包括该EAS地址。SMF configures DNS processing rules for the terminal device based on the EAS deployment information corresponding to provider#B. In this example, the DNS processing rules configured by SMF for EASDF include the EAS address.

可选地,方法500还包括:EASDF在终端设备的DNS的查询响应选择属于该EAS地址的地址(即provider#B对应的EAS部署信息中包括的EAS地址)。EASDF从DNS服务器中获取至少一个EAS的地址;EASDF可根据该EAS地址,从至少一个EAS的地址中选择部分或全部EAS地址,该部分或全部EAS地址属于该EAS地址。这样,EASDF可以为终端设备提供provider#B在PLMN#A中对应的EAS。Optionally, the method 500 further includes: EASDF selects an address belonging to the EAS address (ie, the EAS address included in the EAS deployment information corresponding to provider #B) in response to a query of the DNS of the terminal device. EASDF obtains the address of at least one EAS from the DNS server; EASDF can select part or all of the EAS addresses from the addresses of at least one EAS based on the EAS address, and the part or all of the EAS addresses belong to the EAS address. In this way, EASDF can provide the terminal device with the EAS corresponding to provider #B in PLMN #A.

作为示例,下面结合图8介绍适用于示例4的结构。As an example, the structure applicable to Example 4 is introduced below in conjunction with Figure 8.

图8是本申请另一实施例提供的网络架构的示意图。假设PLMN#A为VPLMN,provider#B为HPLMN的信息,在该架构下,EASDF收到漫游UE的DNS query消息后,可以从L-DNS服务器查询EAS IP地址(如包括HPLMN对应的EAS IP地址和VPLMN对应的EAS IP地址),并且根据从SMF处获得的DNS处理规则,从查询到的EAS IP地址中过滤(或者选择)HPLMN对应的EAS IP地址。EASDF收到UE(即普通UE,或者非漫游UE)的DNS query消息后,可以根据从SMF处获得的DNS处理规则,向L-DNS服务器查询EAS IP地址,并向UE返回查询到的EAS IP地址。关于具体的流程,后面结合方法1200进行介绍。Figure 8 is a schematic diagram of a network architecture provided by another embodiment of the present application. Assume that PLMN#A is VPLMN and provider#B is HPLMN information. Under this architecture, after EASDF receives the DNS query message from the roaming UE, it can query the EAS IP address (for example, including the EAS IP address corresponding to HPLMN) from the L-DNS server. and the EAS IP address corresponding to the VPLMN), and based on the DNS processing rules obtained from the SMF, filter (or select) the EAS IP address corresponding to the HPLMN from the queried EAS IP addresses. After EASDF receives the DNS query message from the UE (i.e., ordinary UE, or non-roaming UE), it can query the L-DNS server for the EAS IP address according to the DNS processing rules obtained from the SMF, and return the queried EAS IP to the UE. address. The specific process will be introduced later in conjunction with method 1200.

此外,上述分别介绍了各个信息,可以理解,上述各个信息可以单独使用,也可以结合使用。下面介绍结合使用的一可能示例。In addition, each piece of information is introduced separately above, and it can be understood that each piece of the above information can be used alone or in combination. An example of a possible combination is described below.

示例5,provider#B对应的EAS部署信息包括C-DNS服务器和ECS option。Example 5, the EAS deployment information corresponding to provider#B includes C-DNS server and ECS option.

SMF根据provider#B对应的EAS部署信息为终端设备配置DNS处理规则,在该示例下,SMF为EASDF配置的DNS处理规则中包括该C-DNS服务器和ECS option。SMF configures DNS processing rules for the terminal device based on the EAS deployment information corresponding to provider#B. In this example, the DNS processing rules configured by SMF for EASDF include the C-DNS server and ECS option.

可选地,方法500还包括:EASDF在终端设备的DNS的查询消息中添加该ECS option(即provider#B对应的EAS部署信息中包括的ECS option),进一步,EASDF可向该C-DNS服务器(即provider#B对应的EAS部署信息中包括的C-DNS服务器)发送添加该ECS option的DNS查询消息,由该C-DNS服务器处理添加该ECS option的DNS查询消息。Optionally, method 500 also includes: EASDF adding the ECS option (that is, the ECS option included in the EAS deployment information corresponding to provider #B) in the DNS query message of the terminal device. Further, EASDF can send a request to the C-DNS server (That is, the C-DNS server included in the EAS deployment information corresponding to provider #B) sends a DNS query message adding the ECS option, and the C-DNS server processes the DNS query message adding the ECS option.

上述为简单的示例性说明,后面结合方法900至方法1300详细说明。The above is a simple illustrative description, which will be described in detail later in conjunction with method 900 to method 1300 .

可选地,步骤501中,会话管理网元获取provider#B的信息,包括:会话管理网元根据终端设备确定provider#B的信息。Optionally, in step 501, the session management network element obtains the information of provider #B, including: the session management network element determines the information of provider #B according to the terminal device.

会话管理网元可以根据以下任一项信息确定provider#B的信息:终端设备的归属网络、终端设备或终端设备的签约信息、provider#B提供的终端设备列表中包括终端设备、provider#B与PLMN#A之间的协议。换句话说,会话管理网元可以根据以上任一项信息确定provider#B对应的EAS部署信息,即会话管理网元可以根据以上任一项信息确定provider#B,进而可以查询该provider#B对应的EAS部署信息。The session management network element can determine the information of provider #B based on any of the following information: the home network of the terminal device, the terminal device or the subscription information of the terminal device, the terminal device list provided by provider #B including the terminal device, provider #B and Agreement between PLMN#A. In other words, the session management network element can determine the EAS deployment information corresponding to provider #B based on any of the above information. That is, the session management network element can determine provider #B based on any of the above information, and then query the corresponding EAS deployment information of provider #B. EAS deployment information.

下面介绍几个示例。Here are a few examples.

示例1,SMF根据UE或UE的签约信息确定provider#B的信息。Example 1: SMF determines the information of provider #B based on the UE or the UE's subscription information.

其中,UE的签约信息中可以包括provider#B的信息(如provider#B ID)。例如,UE的签约信息中包括可以使用该provider#B的服务的信息,因此基于该信息可确定provider#B。再例如,UE的签约信息中包括PLMN#A与provider#B具有合作关系(或者联盟关系),允许PLMN#A的UE使用provider#B的EAS,因此基于该信息可确定provider#B。The subscription information of the UE may include provider#B information (such as provider#B ID). For example, the subscription information of the UE includes information that the service of provider #B can be used, so provider #B can be determined based on this information. For another example, the subscription information of the UE includes that PLMN#A and provider#B have a cooperative relationship (or alliance relationship), and the UE of PLMN#A is allowed to use the EAS of provider#B, so provider#B can be determined based on this information.

一种可能的实现方式,SMF根据UE ID确定provider#B的信息。作为示例,UE ID可以为:UE的用户永久标识(subscription permanent identifier,SUPI)或永久设备标识(permanent equipment identifier,PEI)。In one possible implementation, SMF determines the information of provider #B based on the UE ID. As an example, the UE ID may be: a user permanent identifier (SUPI) or a permanent equipment identifier (PEI) of the UE.

以provider#B为HPLMN或VPLMN为例。例如,SMF可通过向AMF查询,得到UE的provider#BID(如HPLMN ID,又如VPLMN ID)。举例来说,AMF可以在UE注册流程中获取UE的SUPI,AMF根据UE的SUPI可以确定UE的provider#B ID,AMF可以基于SMF的请求向SMF发送UE的provider#B ID;或者在会话建立流程中,AMF将UE的provider#B ID发送给SMF。再例如,SMF解析UE的SUPI,进而可得到UE的provider#B ID。Take provider#B as HPLMN or VPLMN as an example. For example, the SMF can obtain the UE's provider#BID (such as HPLMN ID or VPLMN ID) by querying the AMF. For example, AMF can obtain the UE's SUPI during the UE registration process. AMF can determine the UE's provider#B ID based on the UE's SUPI. AMF can send the UE's provider#B ID to SMF based on the SMF's request; or during session establishment During the process, AMF sends the UE's provider#B ID to SMF. For another example, SMF parses the SUPI of the UE, and then obtains the provider#B ID of the UE.

以provider#B为ECSP为例。例如,SMF可通过向UDR或NEF查询,得到UE订阅的ECSPID。举例来说,ECSP对应的AF通过NEF向UDR发送EAS签约信息,UDR存储该EAS签约信息,该EAS签约信息中包括:EAS对应的ECSP ID、以及订阅ECSP的UE ID;SMF确定UE ID,并且通过NEF向UDR查询该UE所订阅的ECSP;UDR基于本地存储的EAS签约信息,确定该UE所订阅的ECSP ID,并通过NEF向SMF发送该UE所订阅的ECSP ID。可选地,EAS签约信息中还包括DNN和/或S-NSSAI。可选地,EAS签约信息可携带于AF请求(AF request)消息中。Take provider#B as ECSP as an example. For example, the SMF can obtain the ECSPID subscribed by the UE by querying the UDR or NEF. For example, the AF corresponding to the ECSP sends EAS subscription information to the UDR through NEF, and the UDR stores the EAS subscription information. The EAS subscription information includes: the ECSP ID corresponding to the EAS, and the UE ID subscribing to the ECSP; the SMF determines the UE ID, and Query the ECSP subscribed by the UE to the UDR through NEF; UDR determines the ECSP ID subscribed by the UE based on the locally stored EAS subscription information, and sends the ECSP ID subscribed by the UE to the SMF through NEF. Optionally, the EAS subscription information also includes DNN and/or S-NSSAI. Optionally, the EAS subscription information may be carried in the AF request (AF request) message.

可以理解,若UE订阅的ECSP有多个,则SMF还可以根据以下任一方式确定为UE提供边缘计算服务的ECSP ID。It can be understood that if the UE subscribes to multiple ECSPs, the SMF can also determine the ECSP ID that provides edge computing services for the UE according to any of the following methods.

方式1,SMF根据UE订阅的多个ECSP ID和该多个ECSP的优先级,从该多个ECSP ID中确定为UE提供边缘计算服务的ECSP ID。其中,关于多个ECSP的优先级不予限制。例如,多个ECSP的优先级可以按照该多个ECSP的ID大小确定;再例如,多个ECSP的优先级可以按照该多个ECSP的使用频率确定。Method 1: The SMF determines the ECSP ID that provides edge computing services for the UE from the multiple ECSP IDs based on the multiple ECSP IDs subscribed by the UE and the priorities of the multiple ECSPs. Among them, there is no restriction on the priorities of multiple ECSPs. For example, the priorities of multiple ECSPs may be determined based on the ID sizes of the multiple ECSPs; for another example, the priorities of multiple ECSPs may be determined based on the frequency of use of the multiple ECSPs.

方式2,SMF根据UE订阅的多个ECSP ID,从该多个ECSP中任意(或者按照协议约定,或者按照预先约定)选择一个ECSP作为为UE提供边缘计算服务的ECSP。Method 2: The SMF selects an ECSP from among the multiple ECSPs (either according to the agreement or in advance) according to the multiple ECSP IDs subscribed by the UE as the ECSP that provides edge computing services to the UE.

上述两种方式为示例性说明,本申请实施例不限于此。The above two methods are exemplary descriptions, and the embodiments of the present application are not limited thereto.

示例2,SMF根据provider#B提供的UE列表中包括UE确定provider#B的信息。Example 2: SMF determines provider #B based on the information that the UE includes in the UE list provided by provider #B.

若provider#B提供的UE列表中包括UE,则可确定provider#B的信息。If the UE list provided by provider#B includes the UE, the information of provider#B can be determined.

举例来说,若UE为provider#B的UE,则表示该provider#B可为UE提供边缘计算服务,进而可以为该UE确定provider#B。具体的示例可以参考前面的示例1,此处不再赘述。For example, if the UE is a UE of provider #B, it means that the provider #B can provide edge computing services for the UE, and then the provider #B can be determined for the UE. For specific examples, please refer to the previous example 1 and will not be described again here.

示例3,SMF根据provider#B与PLMN#A之间的协议确定provider#B的信息。Example 3: SMF determines the information of provider #B based on the agreement between provider #B and PLMN #A.

其中,provider#B与PLMN#A之间的协议,可表示provider#B与PLMN#A之间具有合作关系或者联盟关系。若provider#B与PLMN#A之间具有合作关系,如允许PLMN#A的UE使用provider#B的EAS,或者允许provider#B的UE使用PLMN#A的EAS,则可为UE确定provider#B。Among them, the agreement between provider #B and PLMN #A can indicate that provider #B and PLMN #A have a cooperative relationship or alliance relationship. If there is a cooperative relationship between provider #B and PLMN #A, such as allowing the UE of PLMN #A to use the EAS of provider #B, or allowing the UE of provider #B to use the EAS of PLMN #A, then provider #B can be determined for the UE. .

举例来说,若UE为PLMN#A的UE,若provider#B与PLMN#A之间具有合作关系,则该provider#B可为该UE提供边缘计算服务,进而可以为该UE确定provider#B。具体的示例可以参考前面的示例1,此处不再赘述。For example, if the UE is a UE of PLMN#A, and if provider#B and PLMN#A have a cooperative relationship, then provider#B can provide edge computing services for the UE, and then provider#B can be determined for the UE. . For specific examples, please refer to the previous example 1 and will not be described again here.

示例4,SMF根据HPLMN确定provider#B的信息。Example 4, SMF determines the information of provider #B based on HPLMN.

若HPLMN与provider#B之间具有合作关系,如允许HPLMN的UE使用provider#B的EAS,或者允许provider#B的UE使用HPLMN的EAS,则可为HPLMN的UE确定provider#B。具体的示例可以参考前面的示例1,此处不再赘述。If there is a cooperative relationship between HPLMN and provider #B, such as allowing the UE of HPLMN to use the EAS of provider #B, or allowing the UE of provider #B to use the EAS of HPLMN, then provider #B can be determined for the UE of HPLMN. For specific examples, please refer to the previous example 1 and will not be described again here.

在不同的漫游场景下,可以根据漫游场景进行适应性调整,对此不予限制。下面结合两个场景简单进行说明。In different roaming scenarios, adaptive adjustments can be made according to the roaming scenarios without restrictions. The following is a brief explanation combining two scenarios.

场景1,LBO漫游场景。Scene 1, LBO roaming scene.

示例1,假设provider#B为UE的HPLMN,PLMN#A为UE的VPLMN。Example 1, assume that provider#B is the HPLMN of the UE and PLMN#A is the VPLMN of the UE.

例如,PLMN#A的V-SMF可以根据UE的HPLMN ID,确定要使用provider#B对应的EAS,因此,V-SMF可根据HPLMN ID(即provider#B=HPLMN ID)所对应的EAS部署信息配置DNS处理规则。For example, the V-SMF of PLMN#A can determine to use the EAS corresponding to provider#B based on the HPLMN ID of the UE. Therefore, the V-SMF can determine the EAS deployment information corresponding to the HPLMN ID (that is, provider#B=HPLMN ID). Configure DNS processing rules.

再例如,V-SMF根据VPLMN ID和HPLMN ID确定要使用HPLMN ID在VPLMN中对应的EAS,因此,V-SMF可根据VPLMN ID和HPLMN ID(即PLMN#A=VPLMN ID,且provider#B=HPLMNID)对应的EAS部署信息配置DNS处理规则。For another example, V-SMF determines the EAS corresponding to the HPLMN ID in the VPLMN based on the VPLMN ID and HPLMN ID. Therefore, V-SMF can determine based on the VPLMN ID and HPLMN ID (that is, PLMN#A=VPLMN ID, and provider#B= Configure DNS processing rules for the EAS deployment information corresponding to HPLMNID).

示例2,假设provider#B为UE的VPLMN,PLMN#A为UE的VPLMN。Example 2, assume that provider#B is the VPLMN of the UE and PLMN#A is the VPLMN of the UE.

例如,V-SMF根据UE签约确定UE可以使用(或者需要使用)VPLMN的EAS,那么V-SMF根据VPLMN ID(即provider#B=VPLMN ID)所对应的EAS部署信息配置DNS处理规则。For example, V-SMF determines that the UE can use (or needs to use) VPLMN's EAS based on the UE subscription, then V-SMF configures DNS processing rules based on the EAS deployment information corresponding to the VPLMN ID (that is, provider#B = VPLMN ID).

示例3,假设provider#B为第三方ECSP,PLMN#A为UE的VPLMN。Example 3, assuming provider#B is a third-party ECSP and PLMN#A is the VPLMN of the UE.

例如,V-SMF根据UE签约确定UE可以使用(或者需要使用)第三方ECSP的EAS,那么V-SMF根据第三方ECSP ID(即provider#B=第三方ECSP ID)所对应的EAS部署信息配置DNS处理规则。For example, V-SMF determines that the UE can use (or needs to use) the EAS of a third-party ECSP based on the UE contract, then the V-SMF is configured based on the EAS deployment information corresponding to the third-party ECSP ID (i.e. provider#B = third-party ECSP ID) DNS processing rules.

再例如,V-SMF根据VPLMN ID和第三方ECSP ID确定要使用第三方ECSP ID在VPLMN中对应的EAS,因此,V-SMF可根据VPLMN ID和第三方ECSP ID(即PLMN#A=VPLMN ID,且provider#B=第三方ECSP ID)对应的EAS部署信息配置DNS处理规则。For another example, V-SMF determines to use the EAS corresponding to the third-party ECSP ID in VPLMN based on the VPLMN ID and the third-party ECSP ID. Therefore, V-SMF can determine based on the VPLMN ID and the third-party ECSP ID (that is, PLMN#A=VPLMN ID , and provider#B=third-party ECSP ID) corresponding EAS deployment information configures DNS processing rules.

可以理解,上述三个示例为示例性说明,provider#B也可以为其他PLMN,对此不予限制。It can be understood that the above three examples are illustrative descriptions, and provider #B can also be other PLMN, which is not limited.

场景2,HR漫游场景。Scenario 2, HR roaming scenario.

示例1,假设provider#B为UE的HPLMN,PLMN#A为UE的VPLMN。Example 1, assume that provider#B is the HPLMN of the UE and PLMN#A is the VPLMN of the UE.

例如,provider#B的H-SMF可以根据UE的HPLMN ID,确定要使用provider#B对应的EAS,因此,H-SMF可根据HPLMN ID(即provider#B=HPLMN ID)所对应的EAS部署信息配置DNS处理规则。For example, the H-SMF of provider #B can determine to use the EAS corresponding to provider #B based on the HPLMN ID of the UE. Therefore, the H-SMF can determine the EAS deployment information corresponding to the HPLMN ID (that is, provider #B = HPLMN ID). Configure DNS processing rules.

再例如,H-SMF根据VPLMN ID和HPLMN ID确定要使用HPLMN ID在VPLMN中对应的EAS,因此,H-SMF可根据VPLMN ID和HPLMN ID(即PLMN#A=VPLMN ID,且provider#B=HPLMNID)对应的EAS部署信息配置DNS处理规则。For another example, H-SMF determines the EAS corresponding to the HPLMN ID in the VPLMN based on the VPLMN ID and HPLMN ID. Therefore, H-SMF can determine based on the VPLMN ID and HPLMN ID (that is, PLMN#A=VPLMN ID, and provider#B= Configure DNS processing rules for the EAS deployment information corresponding to HPLMNID).

示例2,假设provider#B为UE的VPLMN,PLMN#A为UE的VPLMN。Example 2, assume that provider#B is the VPLMN of the UE and PLMN#A is the VPLMN of the UE.

例如,H-SMF根据UE签约确定UE可以使用(或者需要使用)VPLMN的EAS,那么H-SMF根据VPLMN ID(即provider#B=VPLMN ID)所对应的EAS部署信息配置DNS处理规则。For example, if the H-SMF determines that the UE can use (or needs to use) the EAS of the VPLMN based on the UE subscription, then the H-SMF configures DNS processing rules based on the EAS deployment information corresponding to the VPLMN ID (that is, provider#B = VPLMN ID).

示例3,假设provider#B为第三方ECSP,PLMN#A为UE的VPLMN。Example 3, assuming provider#B is a third-party ECSP and PLMN#A is the VPLMN of the UE.

例如,H-SMF根据UE签约确定UE可以使用(或者需要使用)第三方ECSP的EAS,那么H-SMF根据第三方ECSP ID(即provider#B=第三方ECSP ID)所对应的EAS部署信息配置DNS处理规则。For example, H-SMF determines that the UE can use (or needs to use) the EAS of a third-party ECSP based on the UE contract, then the H-SMF is configured based on the EAS deployment information corresponding to the third-party ECSP ID (i.e. provider#B = third-party ECSP ID). DNS processing rules.

再例如,H-SMF根据VPLMN ID和第三方ECSP ID确定要使用第三方ECSP ID在VPLMN中对应的EAS,因此,H-SMF可根据VPLMN ID和第三方ECSP ID(即PLMN#A=VPLMN ID,且provider#B=第三方ECSP ID)对应的EAS部署信息配置DNS处理规则。For another example, H-SMF determines to use the EAS corresponding to the third-party ECSP ID in the VPLMN based on the VPLMN ID and the third-party ECSP ID. Therefore, the H-SMF can determine based on the VPLMN ID and the third-party ECSP ID (that is, PLMN#A=VPLMN ID , and provider#B=third-party ECSP ID) corresponding EAS deployment information configures DNS processing rules.

可以理解,上述三个示例为示例性说明,provider#B也可以为其他PLMN,对此不予限制。It can be understood that the above three examples are illustrative descriptions, and provider #B can also be other PLMN, which is not limited.

上面结合两种漫游场景进行了简单的说明,可以理解,本申请实施例的方案并不限于上述场景。The above is a simple description based on the two roaming scenarios. It can be understood that the solutions of the embodiments of the present application are not limited to the above scenarios.

为了便于理解,下面结合图9至图13对本申请实施例进行示例性说明,其中涉及到的步骤具体可以可参考上文描述。In order to facilitate understanding, the embodiments of the present application are illustratively described below with reference to FIGS. 9 to 13 , and reference may be made to the above description for specific steps involved.

图9是本申请实施例提供的一种通信的方法900的示意性流程图。该方法900可以用于实现如方法500的方案(如方法500中的示例1),例如方法900可用于PLMN#A、provider#B、以及C-DNS服务器具有关联的场景。作为示例,方法900可以通过图6所示的架构实现。方法900可以包括如下步骤。Figure 9 is a schematic flow chart of a communication method 900 provided by an embodiment of the present application. The method 900 can be used to implement a solution such as the method 500 (such as Example 1 in the method 500). For example, the method 900 can be used in a scenario where PLMN#A, provider#B, and the C-DNS server are associated. As an example, method 900 may be implemented through the architecture shown in FIG. 6 . Method 900 may include the following steps.

901,AF向NEF发送EAS部署信息。901. AF sends EAS deployment information to NEF.

例如,AF向NEF发送Nnef接口EAS部署建立请求(Nnef_EASDeployment_CreateRequest),该Nudr_EASDeployment_Create Request中包括EAS部署信息。再例如,AF向NEF发送Nnef接口EAS部署更新请求(Nnef_EASDeployment_Update Request),该Nnef_EASDeployment_Update Request中包括EAS部署信息。For example, AF sends a Nnef interface EAS deployment establishment request (Nnef_EASDeployment_CreateRequest) to NEF, and the Nudr_EASDeployment_Create Request includes EAS deployment information. For another example, AF sends an Nnef interface EAS deployment update request (Nnef_EASDeployment_Update Request) to NEF, and the Nnef_EASDeployment_Update Request includes EAS deployment information.

EAS部署信息为provider#B对应的EAS部署信息,该EAS部署信息包括provider#BID以及C-DNS服务器#B,其中,C-DNS服务器#B上注册的EAS为provider#B在PLMN#A中对应的EAS。可以理解,C-DNS服务器#B是为区分做的命名,其命名不对本申请实施例的保护范围造成限定。可选地,EAS部署信息还包括PLMN#A ID。The EAS deployment information is the EAS deployment information corresponding to provider #B. The EAS deployment information includes provider #BID and C-DNS server #B. Among them, the EAS registered on C-DNS server #B is provider #B in PLMN #A. Corresponding EAS. It can be understood that C-DNS server #B is named for differentiation, and its naming does not limit the protection scope of the embodiments of the present application. Optionally, the EAS deployment information also includes PLMN#A ID.

作为示例,provider#B ID可以为以下任一项:HPLMN ID、VPLMN ID、ECSP ID。可以理解,provider#BID也可以携带于PLMN(如HPLMN,又如VPLMN)中某个网元的ID中(如SMF的ID),通过该某个网元的ID,也可以确定PLMN,即确定PLMN ID。关于provider#B可以参考方法500中的相关描述,此处不再赘述。As an example, the provider#B ID can be any of the following: HPLMN ID, VPLMN ID, ECSP ID. It can be understood that provider#BID can also be carried in the ID of a certain network element in the PLMN (such as HPLMN, or VPLMN) (such as the ID of the SMF). The PLMN can also be determined through the ID of a certain network element, that is, determined PLMNID. Regarding provider #B, please refer to the relevant description in method 500, which will not be described again here.

可选地,EAS部署信息还包括以下至少一项:DNN、S-NSSAI、或DNAI对应的ECSoption。例如,若EAS部署信息中包括DNN#1,则表示该EAS部署信息为DNN#1对应的EAS部署信息。再例如,若EAS部署信息中包括S-NSSAI#1,则表示该EAS部署信息为S-NSSAI#1对应的EAS部署信息。Optionally, the EAS deployment information also includes at least one of the following: ECSoption corresponding to DNN, S-NSSAI, or DNAI. For example, if the EAS deployment information includes DNN#1, it means that the EAS deployment information is the EAS deployment information corresponding to DNN#1. For another example, if the EAS deployment information includes S-NSSAI#1, it means that the EAS deployment information is the EAS deployment information corresponding to S-NSSAI#1.

902,NEF处理EAS部署信息。902, NEF processes EAS deployment information.

可选地,NEF处理EAS部署信息,包括:NEF对EAS部署信息进行授权验证。若NEF对EAS部署信息授权验证成功,则NEF可以向UDR发送EAS部署信息。若NEF对EAS部署信息授权验证失败,则一种可能的实现方式,NEF可以向AF通知EAS部署信息授权验证失败。在本申请实施例中,假设NEF对EAS部署信息授权验证成功。Optionally, NEF processes EAS deployment information, including: NEF performs authorization verification on EAS deployment information. If NEF successfully authenticates the EAS deployment information, NEF can send the EAS deployment information to the UDR. If NEF fails to authorize the EAS deployment information to verify, a possible implementation method is that NEF can notify the AF that the EAS deployment information authorization verification fails. In the embodiment of this application, it is assumed that NEF successfully authenticates the EAS deployment information.

903,NEF向UDR发送EAS部署信息。903. NEF sends EAS deployment information to UDR.

例如,NEF向UDR发送Nudr接口数据管理(data management,DM)建立请求(Nudr_DM_Create Request),该Nudr_DM_Create Request中包括EAS部署信息。再例如,NEF向UDR发送Nudr接口DM更新请求(Nudr_DM_Update Request),该Nudr_DM_Update Request中包括EAS部署信息。For example, NEF sends a Nudr interface data management (DM) establishment request (Nudr_DM_Create Request) to UDR, and the Nudr_DM_Create Request includes EAS deployment information. For another example, NEF sends a Nudr interface DM update request (Nudr_DM_Update Request) to UDR, and the Nudr_DM_Update Request includes EAS deployment information.

UDR收到EAS部署信息后,可以存储该EAS部署信息。若UDR成功存储EAS部署信息,则可向NEF返回存储响应,用于向NEF通知:UDR已成功存储EAS部署信息。After UDR receives the EAS deployment information, it can store the EAS deployment information. If UDR successfully stores EAS deployment information, it can return a storage response to NEF to notify NEF that UDR has successfully stored EAS deployment information.

904,UDR向NEF发送存储响应。904, UDR sends storage response to NEF.

例如,若在步骤903中,NEF向UDR发送Nudr_DM_Create Request,则在步骤904中,UDR向NEF返回Nudr接口DM建立响应(Nudr_DM_CreateResponse)。再例如,若在步骤903中,NEF向UDR发送Nudr_DM_Update Request,则在步骤904中,UDR向NEF返回Nudr接口DM更新响应(Nudr_DM_UpdateResponse)。For example, if in step 903, NEF sends Nudr_DM_Create Request to UDR, then in step 904, UDR returns a Nudr interface DM establishment response (Nudr_DM_CreateResponse) to NEF. For another example, if in step 903, NEF sends a Nudr_DM_Update Request to UDR, then in step 904, UDR returns a Nudr interface DM update response (Nudr_DM_UpdateResponse) to NEF.

905,NEF向AF发送EAS部署信息响应。905, NEF sends an EAS deployment information response to AF.

例如,若在步骤901中,AF向NEF发送Nnef_EASDeployment_Create Request,则在步骤905中,NEF向AF返回Nnef接口EAS部署建立响应(Nnef_EASDeployment_CreateResponse)。再例如,若在步骤901中,AF向NEF发送Nnef_EASDeployment_UpdateRequest,则在步骤905中,NEF向AF返回Nnef接口EAS部署更新响应(Nnef_EASDeployment_UpdateResponse)。For example, if in step 901, AF sends Nnef_EASDeployment_Create Request to NEF, then in step 905, NEF returns the Nnef interface EAS deployment establishment response (Nnef_EASDeployment_CreateResponse) to AF. For another example, if in step 901, AF sends Nnef_EASDeployment_UpdateRequest to NEF, then in step 905, NEF returns the Nnef interface EAS deployment update response (Nnef_EASDeployment_UpdateResponse) to AF.

906,UE发起会话建立流程。906. The UE initiates the session establishment process.

本申请不限制具体的会话建立流程,例如可以按照以下方式:AMF接收UE的会话建立请求后,选择为会话服务的SMF;SMF接收会话建立请求后,选择为会话服务的UPF,并创建N4会话,以及发送用户面隧道信息。如果会话建立成功,网络侧向UE返回会话建立响应,之后可以通过该会话传输报文。This application does not limit the specific session establishment process. For example, it can be as follows: after receiving the session establishment request from the UE, the AMF selects the SMF that serves the session; after the SMF receives the session establishment request, it selects the UPF that serves the session and creates an N4 session. , and send user plane tunnel information. If the session is successfully established, the network returns a session establishment response to the UE, and then messages can be transmitted through the session.

具体的,可以参照3GPP标准TS 23.503中的4.3.2.2.2等章节,或以后出现的会话建立的方式,本申请不予限制。Specifically, you can refer to chapters 4.3.2.2.2 and other chapters in the 3GPP standard TS 23.503, or the session establishment methods that will appear in the future, which are not limited by this application.

可以理解,在步骤906中,UE可以发起HR会话的建立流程,也可以发起LBO会话的建立流程,不予限制。It can be understood that in step 906, the UE can initiate the establishment process of the HR session or the establishment process of the LBO session without limitation.

还可以理解,步骤906并不限定执行完整的会话建立流程,步骤906之后的多个步骤可以复用(或者重用,或者继续执行)会话建立流程,或者说,步骤906之后的多个步骤可以在会话建立流程中执行。It can also be understood that step 906 is not limited to executing the complete session establishment process. Multiple steps after step 906 can reuse (or reuse, or continue to execute) the session establishment process, or in other words, multiple steps after step 906 can be Executed during the session establishment process.

907,SMF向NEF请求EAS部署信息。907. SMF requests EAS deployment information from NEF.

举例来说,SMF收到来自UE的会话建立请求消息,该会话建立请求消息中包括:S-NSSAI、DNN、PDU会话ID;SMF向NEF发送请求消息,该请求消息包括DNN和/或S-NSSAI,该请求消息用于请求(或者查询,或者订阅)DNN和/或S-NSSAI对应的EAS部署信息。For example, SMF receives a session establishment request message from the UE, and the session establishment request message includes: S-NSSAI, DNN, and PDU session ID; SMF sends a request message to NEF, and the request message includes DNN and/or S- NSSAI, this request message is used to request (or query, or subscribe) EAS deployment information corresponding to DNN and/or S-NSSAI.

一种可能的实现方式,SMF向NEF请求EAS部署信息,包括:SMF向NEF发送Nnef接口EAS部署订阅请求(Nnef_EASDeployment_Subscribe Request),该Nnef_EASDeployment_Subscribe Request中包括DNN和/或S-NSSAI,该Nnef_EASDeployment_Subscribe Request用于请求DNN和/或S-NSSAI对应的EAS部署信息。A possible implementation method is for SMF to request EAS deployment information from NEF, including: SMF sends an Nnef interface EAS deployment subscription request (Nnef_EASDeployment_Subscribe Request) to NEF. The Nnef_EASDeployment_Subscribe Request includes DNN and/or S-NSSAI. The Nnef_EASDeployment_Subscribe Request is used to Request EAS deployment information corresponding to DNN and/or S-NSSAI.

可选地,SMF向NEF请求EAS部署信息时,还可以携带provider#B ID,该请求用于请求provider#B对应的EAS部署信息。或者,SMF向NEF请求EAS部署信息时,还可以携带provider#B ID和PLMN#A ID,该请求用于请求provider#B在PLMN#A中对应的EAS的部署信息。关于SMF确定provider#B ID的方式参考方法500中的描述,此处不再赘述。Optionally, when SMF requests EAS deployment information from NEF, it can also carry provider#B ID. This request is used to request EAS deployment information corresponding to provider#B. Alternatively, when SMF requests EAS deployment information from NEF, it can also carry provider#B ID and PLMN#A ID. This request is used to request the EAS deployment information corresponding to provider#B in PLMN#A. Regarding the way in which SMF determines the provider#B ID, refer to the description in method 500 and will not be described again here.

908,NEF从UDR获取EAS部署信息。908, NEF obtains EAS deployment information from UDR.

举例来说,NEF收到SMF的请求后,从UDR请求(或者订阅,或者查询)DNN和/或S-NSSAI对应的EAS部署信息。在步骤903中,UDR存储EAS部署信息,因此,在步骤908中,UDR收到NEF的请求后,可以从存储的EAS部署信息中查询DNN和/或S-NSSAI对应的EAS部署信息。For example, after receiving the request from SMF, NEF requests (or subscribes to, or queries) the EAS deployment information corresponding to DNN and/or S-NSSAI from UDR. In step 903, UDR stores the EAS deployment information. Therefore, in step 908, after receiving the request from NEF, the UDR can query the EAS deployment information corresponding to DNN and/or S-NSSAI from the stored EAS deployment information.

可选地,若SMF向NEF请求EAS部署信息时还携带provider#B ID,或者,SMF向NEF请求EAS部署信息时还携带provider#B ID和PLMN#A ID,则UDR收到NEF的请求后,可以从存储的EAS部署信息中查询provider#B对应的EAS部署信息。Optionally, if SMF also carries provider#B ID when requesting EAS deployment information from NEF, or if SMF also carries provider#B ID and PLMN#A ID when requesting EAS deployment information from NEF, then UDR will , you can query the EAS deployment information corresponding to provider#B from the stored EAS deployment information.

909,NEF向SMF发送EAS部署信息。909. NEF sends EAS deployment information to SMF.

NEF从UDR获取到DNN和/或S-NSSAI对应的EAS部署信息后,向SMF发送该EAS部署信息。After NEF obtains the EAS deployment information corresponding to DNN and/or S-NSSAI from UDR, it sends the EAS deployment information to SMF.

910,SMF选择EASDF。910, SMF selects EASDF.

本申请对SMF选择EASDF的具体方式不予限制。This application does not limit the specific way in which SMF selects EASDF.

作为示例,SMF选择EASDF时,可以参考以下一项或多项信息:S-NSSAI,EASDF的位置,DNAI。可以理解,SMF选择EASDF时可以参考上述一项或多项信息,或者也可以参考其他未列出的信息,本申请不予限制。As an example, when SMF selects EASDF, it can refer to one or more of the following information: S-NSSAI, the location of EASDF, and DNAI. It can be understood that when SMF selects EASDF, it can refer to one or more of the above information, or it can also refer to other information not listed, which is not limited by this application.

作为示例,SMF选择EASDF,至少可以通过以下任一方式实现。As an example, SMF selects EASDF, which can be achieved in at least one of the following ways.

一方式,SMF可以根据本地配置选择EASDF。One way, SMF can select EASDF based on local configuration.

又一方式,SMF从网络注册功能(network repository function,NRF)获取EASDF。举例来说,SMF向NRF发送请求消息,NRF向SMF返回一个或多个EASDF的信息(如包括地址,标识等)。若NRF向SMF返回多个EASDF,则SMF可从中选择一个。In another way, SMF obtains EASDF from the network repository function (NRF). For example, SMF sends a request message to NRF, and NRF returns one or more EASDF information (including address, identification, etc.) to SMF. If NRF returns multiple EASDFs to SMF, SMF can select one from them.

可以理解,SMF选择EASDF的方法可以按照非漫游场景下SMF选择EASDF的方法,或以后出现的SMF选择EASDF的方式,对此不予限制。It can be understood that the method for SMF to select EASDF can be the method for SMF to select EASDF in non-roaming scenarios, or the method for SMF to select EASDF that will appear in the future, and there is no restriction on this.

911,SMF根据EAS部署信息,为EASDF配置DNS处理规则,该DNS处理规则包括C-DNS服务器#B。911. SMF configures DNS processing rules for EASDF based on the EAS deployment information. The DNS processing rules include C-DNS server #B.

一种可能的情形,SMF从NEF接收到的EAS部署信息为provider#B对应的EAS部署信息,那么SMF可以直接根据该provider#B对应的EAS部署信息为EASDF配置DNS处理规则。One possible scenario is that the EAS deployment information received by SMF from NEF is the EAS deployment information corresponding to provider #B, then SMF can directly configure DNS processing rules for EASDF based on the EAS deployment information corresponding to provider #B.

另一种可能的情形,SMF从NEF接收到的EAS部署信息为DNN和/或S-NSSAI对应的EAS部署信息对应的EAS部署信息,那么SMF可以根据provider#B ID确定provider#B对应的EAS部署信息,或者,SMF可以根据provider#BID和PLMN#AID确定provider#B对应的EAS部署信息,并根据provider#B对应的EAS部署信息为EASDF配置DNS处理规则。Another possible scenario is that the EAS deployment information received by SMF from NEF is the EAS deployment information corresponding to the EAS deployment information corresponding to DNN and/or S-NSSAI. Then SMF can determine the EAS corresponding to provider#B based on the provider#B ID. Deployment information, or SMF can determine the EAS deployment information corresponding to provider#B based on provider#BID and PLMN#AID, and configure DNS processing rules for EASDF based on the EAS deployment information corresponding to provider#B.

关于SMF确定provider#B对应的EAS部署信息的方式,可以参考方法500中的描述,此处不再赘述。Regarding the way in which SMF determines the EAS deployment information corresponding to provider #B, please refer to the description in method 500, which will not be described again here.

作为示例,步骤911包括:SMF根据provider#B对应的EAS部署信息,生成DNS处理规则,并向EASDF发送该DNS处理规则。举例来说,SMF向EASDF发送Neasdf接口上下文创建请求(Neasdf_context_createrequest),该Neasdf_context_createrequest包括DNS处理规则;EASDF向SMF返回Neasdf接口上下文创建响应(Neasdf_context_create response)。As an example, step 911 includes: SMF generates DNS processing rules based on the EAS deployment information corresponding to provider #B, and sends the DNS processing rules to EASDF. For example, SMF sends a Neasdf interface context creation request (Neasdf_context_createrequest) to EASDF, and the Neasdf_context_createrequest includes DNS processing rules; EASDF returns a Neasdf interface context creation response (Neasdf_context_create response) to SMF.

其中,DNS处理规则可用于处理DNS消息,如与UE相关的DNS消息。例如,DNS处理规则可用于处理DNS query消息。Among them, DNS processing rules can be used to process DNS messages, such as DNS messages related to the UE. For example, DNS processing rules can be used to process DNS query messages.

作为示例,DNS处理规则可以包括以下一项或多项信息:FQDN范围、ECS option、C-DNS服务器#B地址、DNS转发规则。As an example, DNS processing rules may include one or more of the following information: FQDN range, ECS option, C-DNS server #B address, DNS forwarding rules.

其中,ECS option可用于表征UE的位置信息。Among them, the ECS option can be used to characterize the location information of the UE.

其中,DNS转发规则,或者也可称为转发规则,或者数据面转发规则,可用于EASDF对来自UE的DNS消息进行相应的处理。例如,当UE发送的DNS query中包含的FQDN与DNS处理规则中的FQDN范围匹配时,基于DNS转发规则,EASDF为DNS query添加ECS option。再例如,当UE发送的DNS query中包含的FQDN与DNS处理规则中的FQDN范围匹配时,基于DNS转发规则,EASDF把DNS query(如添加ECS option后的DNS query)转发至DNS服务器。Among them, DNS forwarding rules, which may also be called forwarding rules or data plane forwarding rules, can be used by EASDF to process DNS messages from the UE accordingly. For example, when the FQDN contained in the DNS query sent by the UE matches the FQDN range in the DNS processing rule, EASDF adds an ECS option to the DNS query based on the DNS forwarding rule. For another example, when the FQDN contained in the DNS query sent by the UE matches the FQDN range in the DNS processing rules, based on the DNS forwarding rules, EASDF forwards the DNS query (such as the DNS query after adding the ECS option) to the DNS server.

其中,C-DNS服务器#B,表示provider#B对应的EAS部署信息中的C-DNS服务器。Among them, C-DNS server #B represents the C-DNS server in the EAS deployment information corresponding to provider #B.

经过上述步骤以及其他的步骤(具体可参考现有的会话建立流程),UE可完成会话建立。After the above steps and other steps (for details, please refer to the existing session establishment process), the UE can complete the session establishment.

912,UE向EASDF发送DNS query。912. The UE sends a DNS query to EASDF.

例如,UE通过用户面,经RAN和UPF将DNS query消息发送至H-EASDF。For example, the UE sends the DNS query message to the H-EASDF through the user plane, RAN and UPF.

其中,该DNS query中可包括UE想要访问的应用所对应的FQDN。The DNS query may include the FQDN corresponding to the application that the UE wants to access.

913,EASDF根据DNS处理规则,处理DNS query。913. EASDF processes DNS query according to DNS processing rules.

EASDF收到DNS query之后,可以根据从SMF接收到的DNS处理规则,对DNS query进行处理。EASDF根据DNS处理规则处理DNS query,可以包括:EASDF向DNS处理规则中包括的C-DNS服务器#B发送UE的DNS query。After EASDF receives the DNS query, it can process the DNS query according to the DNS processing rules received from SMF. EASDF processes the DNS query according to the DNS processing rules, which may include: EASDF sending the UE's DNS query to C-DNS server #B included in the DNS processing rules.

举例来说,若EASDF根据DNS处理规则检测出UE的DNS query包含的FQDN与DNS处理规则中包含的FQDN可以匹配,则EASDF根据DNS处理规则,在DNS query中添加ECS option后,向C-DNS服务器#B发送添加ECS option后的DNS query。For example, if EASDF detects that the FQDN contained in the UE's DNS query matches the FQDN contained in the DNS processing rules based on the DNS processing rules, then EASDF adds the ECS option to the DNS query based on the DNS processing rules, and then adds the ECS option to the C-DNS Server #B sends the DNS query with the ECS option added.

914,EASDF向C-DNS服务器#B发送包含ECS option的DNS query。914. EASDF sends a DNS query containing the ECS option to C-DNS server #B.

举例来说,EASDF在DNS query中添加ECS option后,向C-DNS服务器#B发送DNSquery消息(即已添加ECS option的DNS query消息)。For example, after EASDF adds the ECS option to the DNS query, it sends a DNS query message (that is, the DNS query message with the ECS option added) to C-DNS server #B.

需要说明的是,本申请实施例主要以EASDF在DNS query中添加ECS option为例进行示例性说明,对此不予限制。也就是说,关于EASDF如何处理UE的DNS query,不予限制,只要EASDF可以向DNS处理规则中包括的C-DNS服务器#B发送DNS query,进而使得该C-DNS服务器#B提供provider#B对应的EAS的信息,都适用于本申请实施例。It should be noted that the embodiment of this application mainly uses EASDF to add the ECS option in the DNS query as an example for illustrative explanation, and there is no limitation on this. In other words, there is no restriction on how EASDF processes the UE's DNS query, as long as EASDF can send a DNS query to C-DNS server #B included in the DNS processing rules, thereby causing the C-DNS server #B to provide provider #B The corresponding EAS information is applicable to the embodiments of this application.

915,C-DNS服务器#B向EASDF返回DNS响应(DNS response)。915, C-DNS server #B returns a DNS response (DNS response) to EASDF.

C-DNS服务器可以向EASDF发送DNS response,该DNS response中可以包含provider#B对应的EAS的信息(如EAS IP地址)。结合三种情形说明。The C-DNS server can send a DNS response to EASDF, and the DNS response can include the EAS information corresponding to provider#B (such as the EAS IP address). Combine the three scenarios.

情形1,provider#B为HPLMN ID。在该情形下,provider#B对应的EAS,表示HPLMN对应的EAS。Scenario 1, provider#B is HPLMN ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to HPLMN.

情形2,provider#B为VPLMN ID。在该情形下,provider#B对应的EAS,表示VPLMN对应的EAS。Scenario 2, provider#B is the VPLMN ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to VPLMN.

情形3,provider#B为ECSP ID。在该情形下,provider#B对应的EAS,表示ECSP对应的EAS。Scenario 3, provider#B is the ECSP ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to ECSP.

916,EASDF向UE返回provider#B对应的EAS的信息。916. EASDF returns the EAS information corresponding to provider #B to the UE.

通过上述步骤,UE可获得provider#B对应的EAS的信息。Through the above steps, the UE can obtain the EAS information corresponding to provider#B.

可以理解,方法900可以用于HR漫游(如步骤906中UE的会话为HR会话),也可以用于LBO漫游(如步骤906中UE的会话为LBO会话),在不同的漫游方式下,可以根据漫游方式的不同进行适应性调整,对此不予限制。It can be understood that method 900 can be used for HR roaming (for example, the UE's session in step 906 is an HR session), or for LBO roaming (for example, the UE's session in step 906 is an LBO session). In different roaming modes, it can Adaptive adjustments are made based on different roaming methods, and there are no restrictions on this.

场景1,UE的会话为LBO会话。Scenario 1, the UE's session is an LBO session.

在该场景下,假设UE从provider#B通过LBO方式漫游至PLMN#A,此处该PLMN#A可认为是UE的VPLMN,provider#B可认为是UE的HPLMN。UE从provider#B通过LBO方式漫游至PLMN#A后,UE可通过PLMN#A对应的UPF(即V-UPF)访问MEC业务,PLMN#A中的SMF(即V-SMF)为该UE配置DNS处理规则。PLMN#A中的SMF(即V-SMF)为该UE配置DNS处理规则时,可根据:UE的接入网络为PLMN#A(即VPLMN),为UE提供边缘计算服务的PLMN为provider#B(即HPLMN),查找对应的EAS部署信息,进而可找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的C-DNS服务器#B,进而可为该UE查找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS。In this scenario, assume that the UE roams from provider #B to PLMN #A through LBO. Here, PLMN #A can be considered as the VPLMN of the UE, and provider #B can be considered as the HPLMN of the UE. After the UE roams from provider#B to PLMN#A through LBO mode, the UE can access the MEC service through the UPF (i.e. V-UPF) corresponding to PLMN#A. The SMF (i.e. V-SMF) in PLMN#A is configured for the UE. DNS processing rules. When the SMF (i.e. V-SMF) in PLMN#A configures DNS processing rules for the UE, it can be based on: the UE's access network is PLMN#A (i.e. VPLMN), and the PLMN that provides edge computing services for the UE is provider#B (i.e. HPLMN), search for the corresponding EAS deployment information, and then you can find the C-DNS server #B corresponding to provider#B (i.e. HPLMN) in PLMN#A (i.e. VPLMN), and then you can find provider#B for the UE. (i.e. HPLMN) corresponding EAS in PLMN#A (i.e. VPLMN).

场景2,UE的会话为HR会话。Scenario 2, the UE's session is an HR session.

在该场景下,假设UE从provider#B通过HR方式漫游至PLMN#A,此处该PLMN#A可认为是UE的VPLMN,provider#B可认为是UE的HPLMN。UE从provider#B通过HR方式漫游至PLMN#A后,provider#B中的SMF(即H-SMF)为该UE配置DNS处理规则。provider#B中的SMF(即H-SMF)为该UE配置DNS处理规则时,可根据:UE的接入网络为PLMN#A(即VPLMN),为UE提供边缘计算服务的PLMN为provider#B(即HPLMN),查找对应的EAS部署信息,进而可找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的C-DNS服务器#B,进而可为该UE查找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS。In this scenario, assume that the UE roams from provider #B to PLMN #A through HR mode. Here, PLMN #A can be considered as the VPLMN of the UE, and provider #B can be considered as the HPLMN of the UE. After the UE roams from provider #B to PLMN #A through HR mode, the SMF (ie H-SMF) in provider #B configures DNS processing rules for the UE. When the SMF (i.e. H-SMF) in provider#B configures DNS processing rules for the UE, it can be based on: the UE's access network is PLMN#A (i.e. VPLMN), and the PLMN that provides edge computing services for the UE is provider#B (i.e. HPLMN), search for the corresponding EAS deployment information, and then you can find the C-DNS server #B corresponding to provider#B (i.e. HPLMN) in PLMN#A (i.e. VPLMN), and then you can find provider#B for the UE. (i.e. HPLMN) corresponding EAS in PLMN#A (i.e. VPLMN).

可以理解,上述两种场景为简单的示例性说明,本申请实施例不限于此。例如,在上述两种场景中,SMF(如场景1中的V-SMF,又如场景2中的H-SMF)可以根据:UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,进而获取该provider#B对应的EAS部署信息。再例如,在上述两种场景中,SMF(如场景1中的V-SMF,又如场景2中的H-SMF)也可以根据UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,并且结合PLMN#A,进而获取该provider#B对应的EAS部署信息。具体的可以参考方法500中的描述,此处不再赘述。It can be understood that the above two scenarios are simple illustrations, and the embodiments of the present application are not limited thereto. For example, in the above two scenarios, the SMF (such as V-SMF in scenario 1, and H-SMF in scenario 2) can be based on: the home network of the UE, the UE or the UE's subscription information, and the information provided by provider #B. The UE list includes any one of the UE or the agreement between provider #B and PLMN #A to determine the provider #B, and then obtain the EAS deployment information corresponding to the provider #B. For another example, in the above two scenarios, SMF (such as V-SMF in scenario 1, and H-SMF in scenario 2) can also be provided based on the UE's home network, the UE or the UE's subscription information, and provider #B The UE list includes any one of the UEs or the agreement between provider #B and PLMN #A to determine provider #B, and combine it with PLMN #A to obtain the EAS deployment information corresponding to provider #B. For details, please refer to the description in method 500, which will not be described again here.

基于上述方法900,AF提供的EAS部署信息中可以包含不同PLMN或不同ECSP在PLMN#A中对应的C-DNS服务器,C-DNS服务器上注册的可以是相应PLMN或ECSP在PLMN#A中对应的EAS。SMF在会话建立流程中为EASDF配置DNS处理规则时,可以在DNS处理规则中携带provider#B对应的C-DNS服务器的信息,进而可以使得EASDF将UE的DNS query发送给该C-DNS服务器进行处理。这样,若provider#B为HPLMN ID,则可以使得UE优先使用HPLMN在PLMN#A中对应的EAS;若provider#B为VPLMN ID,则可以使得UE优先使用VPLMN在PLMN#A中对应的EAS;若provider#B为ECSP ID,则可以使得UE优先使用ECSP在PLMN#A中对应的EAS。Based on the above method 900, the EAS deployment information provided by the AF may include C-DNS servers corresponding to different PLMNs or different ECSPs in PLMN#A. The C-DNS servers registered on the C-DNS servers may be corresponding to the corresponding PLMN or ECSP in PLMN#A. EAS. When SMF configures DNS processing rules for EASDF during the session establishment process, it can carry the information of the C-DNS server corresponding to provider#B in the DNS processing rules, which in turn allows EASDF to send the UE's DNS query to the C-DNS server. deal with. In this way, if provider#B is the HPLMN ID, the UE can be made to preferentially use the EAS corresponding to the HPLMN in PLMN#A; if provider#B is the VPLMN ID, the UE can be made to preferentially use the EAS corresponding to the VPLMN in PLMN#A; If provider#B is an ECSP ID, the UE can be made to preferentially use the EAS corresponding to ECSP in PLMN#A.

图10是本申请实施例提供的一种通信的方法1000的示意性流程图。该方法1000可以用于实现如方法500的方案(如方法500中的示例2),例如方法1000可用于PLMN#A、provider#B、以及ECS option具有关联的场景。作为示例,方法1000可以通过图6所示的架构实现。方法1000可以包括如下步骤。Figure 10 is a schematic flow chart of a communication method 1000 provided by an embodiment of the present application. This method 1000 can be used to implement a solution such as method 500 (such as Example 2 in method 500). For example, method 1000 can be used in a scenario where PLMN#A, provider#B, and ECS option are associated. As an example, method 1000 may be implemented through the architecture shown in FIG. 6 . Method 1000 may include the following steps.

1001,AF向NEF发送EAS部署信息。1001. AF sends EAS deployment information to NEF.

步骤1001与步骤901类似,不同之处在于,在步骤1001中,EAS部署信息中包括provider#B ID以及ECS option#B,其中,ECS option#B对应的EAS是provider#B在PLMN#A中对应的EAS。可以理解,ECS option#B是为区分做的命名,其命名不对本申请实施例的保护范围造成限定。可选地,EAS部署信息还包括PLMN#A ID。Step 1001 is similar to step 901, except that in step 1001, the EAS deployment information includes provider#B ID and ECS option#B, where the EAS corresponding to ECS option#B is provider#B in PLMN#A Corresponding EAS. It can be understood that ECS option#B is named for differentiation, and its naming does not limit the scope of protection of the embodiments of the present application. Optionally, the EAS deployment information also includes PLMN#A ID.

1002,NEF处理EAS部署信息。1002. NEF processes EAS deployment information.

1003,NEF向UDR发送EAS部署信息。1003. NEF sends EAS deployment information to UDR.

1004,UDR向NEF发送存储响应。1004, UDR sends storage response to NEF.

1005,NEF向AF发送EAS部署信息响应。1005. NEF sends an EAS deployment information response to AF.

1006,UE发起会话建立流程。1006. The UE initiates the session establishment process.

1007,SMF向NEF请求EAS部署信息。1007. SMF requests EAS deployment information from NEF.

1008,NEF从UDR获取EAS部署信息。1008, NEF obtains EAS deployment information from UDR.

1009,NEF向SMF发送EAS部署信息。1009. NEF sends EAS deployment information to SMF.

1010,SMF选择EASDF。1010, SMF selects EASDF.

其中,步骤1002-步骤1010与步骤902-步骤910类似,此处不再赘述。Among them, steps 1002 to 1010 are similar to steps 902 to 910, and will not be described again here.

1011,SMF根据EAS部署信息,为EASDF配置DNS处理规则,该DNS处理规则包括ECSoption#B。1011. SMF configures DNS processing rules for EASDF based on the EAS deployment information. The DNS processing rules include ECSoption#B.

SMF可以根据provider#B对应的EAS部署信息,为选择的EASDF配置DNS处理规则。作为示例,步骤1011包括:SMF根据EAS部署信息,生成DNS处理规则,并向EASDF发送该DNS处理规则。举例来说,SMF向EASDF发送Neasdf_context_createrequest,该Neasdf_context_createrequest包括DNS处理规则;EASDF向SMF返回Neasdf_context_create response。SMF can configure DNS processing rules for the selected EASDF based on the EAS deployment information corresponding to provider#B. As an example, step 1011 includes: SMF generates DNS processing rules based on EAS deployment information, and sends the DNS processing rules to EASDF. For example, SMF sends Neasdf_context_createrequest to EASDF, which Neasdf_context_createrequest includes DNS processing rules; EASDF returns Neasdf_context_create response to SMF.

其中,DNS处理规则可用于处理DNS消息,如与UE相关的DNS消息。例如,DNS处理规则可用于处理DNS query消息。Among them, DNS processing rules can be used to process DNS messages, such as DNS messages related to the UE. For example, DNS processing rules can be used to process DNS query messages.

作为示例,DNS处理规则可以包括以下一项或多项信息:FQDN范围、ECS option#B、L-DNS服务器地址、DNS转发规则。关于各信息的含义,可以参考步骤911中的描述,此处主要介绍ECS option#B。As an example, DNS processing rules may include one or more of the following information: FQDN range, ECS option#B, L-DNS server address, and DNS forwarding rules. For the meaning of each information, you can refer to the description in step 911. Here we mainly introduce ECS option #B.

其中,ECS option#B对应的EAS是provider#B在PLMN#A中对应的EAS。Among them, the EAS corresponding to ECS option#B is the EAS corresponding to provider#B in PLMN#A.

1012,UE向EASDF发送DNS query。1012. The UE sends a DNS query to EASDF.

步骤1012与步骤912类似,此处不再赘述。Step 1012 is similar to step 912 and will not be described again here.

1013,EASDF根据DNS处理规则,处理DNS query。1013. EASDF processes DNS query according to DNS processing rules.

EASDF收到DNS query之后,可以根据从SMF接收到的DNS处理规则,对DNS query进行处理。EASDF根据DNS处理规则处理DNS query,可以包括:EASDF在DNS query中添加ECSoption#B。通过在DNS query上添加该ECS option#B可查询到provider#B提供的EAS。After EASDF receives the DNS query, it can process the DNS query according to the DNS processing rules received from SMF. EASDF processes DNS queries according to DNS processing rules, which can include: EASDF adds ECSoption#B to the DNS query. By adding this ECS option#B to the DNS query, you can query the EAS provided by provider#B.

举例来说,若EASDF根据DNS处理规则检测出UE的DNS query包含的FQDN与DNS处理规则中包含的FQDN可以匹配,则EASDF根据DNS处理规则,在DNS query中添加ECS option#B后,向C-DNS服务器发送添加ECS option#B后的DNS query。For example, if EASDF detects that the FQDN contained in the UE's DNS query matches the FQDN contained in the DNS processing rules based on the DNS processing rules, then EASDF adds ECS option#B to the DNS query based on the DNS processing rules, and adds ECS option#B to C. -The DNS server sends the DNS query after adding ECS option#B.

1014,EASDF向C-DNS服务器发送包含ECS option#B的DNS query。1014. EASDF sends a DNS query containing ECS option#B to the C-DNS server.

1015,C-DNS服务器向EASDF返回DNS响应。1015. The C-DNS server returns a DNS response to EASDF.

C-DNS服务器可以向EASDF发送DNS response,该DNS response中可以包含provider#B对应的EAS的信息(如EAS IP地址)。结合三种情形说明。The C-DNS server can send a DNS response to EASDF, and the DNS response can include the EAS information corresponding to provider#B (such as the EAS IP address). Combine the three scenarios.

情形1,provider#B为HPLMN ID。在该情形下,provider#B对应的EAS,表示HPLMN对应的EAS。Scenario 1, provider#B is HPLMN ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to HPLMN.

情形2,provider#B为VPLMN ID。在该情形下,provider#B对应的EAS,表示VPLMN对应的EAS。Scenario 2, provider#B is the VPLMN ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to VPLMN.

情形3,provider#B为ECSP ID。在该情形下,provider#B对应的EAS,表示ECSP对应的EAS。Scenario 3, provider#B is the ECSP ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to ECSP.

1016,EASDF向UE返回provider#B对应的EAS的信息。1016. EASDF returns the EAS information corresponding to provider #B to the UE.

通过上述步骤,UE可获得provider#B对应的EAS的信息。Through the above steps, the UE can obtain the EAS information corresponding to provider#B.

可以理解,方法1000可以用于HR漫游(如步骤1006中UE的会话为HR会话),也可以用于LBO漫游(如步骤1006中UE的会话为LBO会话),在不同的漫游方式下,可以根据漫游方式的不同进行适应性调整,对此不予限制。It can be understood that method 1000 can be used for HR roaming (for example, the UE's session in step 1006 is an HR session), or for LBO roaming (for example, the UE's session in step 1006 is an LBO session). In different roaming modes, it can Adaptive adjustments are made based on different roaming methods, and there are no restrictions on this.

场景1,UE的会话为LBO会话。Scenario 1, the UE's session is an LBO session.

在该场景下,假设UE从provider#B通过LBO方式漫游至PLMN#A,此处该PLMN#A可认为是UE的VPLMN,provider#B可认为是UE的HPLMN。UE从provider#B通过LBO方式漫游至PLMN#A后,UE可通过PLMN#A对应的UPF(即V-UPF)访问MEC业务。PLMN#A中的SMF(即V-SMF)为该UE配置DNS处理规则时,可根据:UE的接入网络为PLMN#A(即VPLMN),为UE提供边缘计算服务的PLMN为provider#B(即HPLMN),查找对应的EAS部署信息,进而可找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的ECS option#B,进而可为该UE查找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS。In this scenario, assume that the UE roams from provider #B to PLMN #A through LBO. Here, PLMN #A can be considered as the VPLMN of the UE, and provider #B can be considered as the HPLMN of the UE. After the UE roams from provider #B to PLMN #A through LBO, the UE can access the MEC service through the UPF (ie V-UPF) corresponding to PLMN #A. When the SMF (i.e. V-SMF) in PLMN#A configures DNS processing rules for the UE, it can be based on: the UE's access network is PLMN#A (i.e. VPLMN), and the PLMN that provides edge computing services for the UE is provider#B (i.e. HPLMN), search for the corresponding EAS deployment information, and then you can find the ECS option#B corresponding to provider#B (i.e. HPLMN) in PLMN#A (i.e. VPLMN), and then you can find provider#B (i.e. VPLMN) for the UE HPLMN) corresponding EAS in PLMN#A (i.e. VPLMN).

场景2,UE的会话为HR会话。Scenario 2, the UE's session is an HR session.

在该场景下,假设UE从provider#B通过HR方式漫游至PLMN#A,此处该PLMN#A可认为是UE的VPLMN,provider#B可认为是UE的HPLMN。UE从provider#B通过HR方式漫游至PLMN#A后,UE可通过provider#B对应的UPF(即H-UPF)访问MEC业务。provider#B中的SMF(即H-SMF)为该UE配置DNS处理规则时,可根据:UE的接入网络为PLMN#A(即VPLMN),为UE提供边缘计算服务的PLMN为provider#B(即HPLMN),查找对应的EAS部署信息,进而可找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的ECS option#B,进而可为该UE查找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS。In this scenario, assume that the UE roams from provider #B to PLMN #A through HR mode. Here, PLMN #A can be considered as the VPLMN of the UE, and provider #B can be considered as the HPLMN of the UE. After the UE roams from provider #B to PLMN #A through HR mode, the UE can access the MEC service through the UPF (ie H-UPF) corresponding to provider #B. When the SMF (i.e. H-SMF) in provider#B configures DNS processing rules for the UE, it can be based on: the UE's access network is PLMN#A (i.e. VPLMN), and the PLMN that provides edge computing services for the UE is provider#B (i.e. HPLMN), search for the corresponding EAS deployment information, and then you can find the ECS option#B corresponding to provider#B (i.e. HPLMN) in PLMN#A (i.e. VPLMN), and then you can find provider#B (i.e. VPLMN) for the UE HPLMN) corresponding EAS in PLMN#A (i.e. VPLMN).

可以理解,上述两种场景为简单的示例性说明,本申请实施例不限于此。例如,在上述两种场景中,SMF(如场景1中的V-SMF,又如场景2中的H-SMF)可以根据:UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,进而获取该provider#B对应的EAS部署信息。再例如,在上述两种场景中,SMF(如场景1中的V-SMF,又如场景2中的H-SMF)也可以根据UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,并且结合PLMN#A,进而获取该provider#B对应的EAS部署信息。具体的可以参考方法500中的描述,此处不再赘述。It can be understood that the above two scenarios are simple illustrations, and the embodiments of the present application are not limited thereto. For example, in the above two scenarios, the SMF (such as V-SMF in scenario 1, and H-SMF in scenario 2) can be based on: the home network of the UE, the UE or the UE's subscription information, and the information provided by provider #B. The UE list includes any one of the UE or the agreement between provider #B and PLMN #A to determine the provider #B, and then obtain the EAS deployment information corresponding to the provider #B. For another example, in the above two scenarios, SMF (such as V-SMF in scenario 1, and H-SMF in scenario 2) can also be provided based on the UE's home network, the UE or the UE's subscription information, and provider #B The UE list includes any one of the UEs or the agreement between provider #B and PLMN #A to determine provider #B, and combine it with PLMN #A to obtain the EAS deployment information corresponding to provider #B. For details, please refer to the description in method 500, which will not be described again here.

基于上述方法1000,AF提供的EAS部署信息中可以包含不同PLMN或不同ECSP在PLMN#A中对应的ECS option。SMF在会话建立流程中为EASDF配置DNS处理规则时,可以在DNS处理规则中携带provider#B对应的ECS option的信息,进而可以使得EASDF在UE的DNSquery中添加该ECS option。这样,若provider#B为HPLMN ID,则可以使得UE优先使用HPLMN在PLMN#A中对应的EAS;若provider#B为VPLMN ID,则可以使得UE优先使用VPLMN在PLMN#A中对应的EAS;若provider#B为ECSP ID,则可以使得UE优先使用ECSP在PLMN#A中对应的EAS。Based on the above method 1000, the EAS deployment information provided by the AF may include ECS options corresponding to different PLMNs or different ECSPs in PLMN#A. When SMF configures DNS processing rules for EASDF during the session establishment process, it can carry the ECS option information corresponding to provider#B in the DNS processing rules, which in turn allows EASDF to add the ECS option in the UE's DNS query. In this way, if provider#B is the HPLMN ID, the UE can be made to preferentially use the EAS corresponding to the HPLMN in PLMN#A; if provider#B is the VPLMN ID, the UE can be made to preferentially use the EAS corresponding to the VPLMN in PLMN#A; If provider#B is an ECSP ID, the UE can be made to preferentially use the EAS corresponding to ECSP in PLMN#A.

图11是本申请实施例提供的一种通信的方法1100的示意性流程图。该方法1100可以用于实现如方法500的方案(如方法500中的示例3),例如方法1100可用于PLMN#A、provider#B、以及L-DNS服务器具有关联的场景。作为示例,方法1100可以通过图7所示的架构实现。方法1100可以包括如下步骤。Figure 11 is a schematic flow chart of a communication method 1100 provided by an embodiment of the present application. The method 1100 can be used to implement a solution such as the method 500 (such as Example 3 in the method 500). For example, the method 1100 can be used in a scenario where PLMN#A, provider#B, and the L-DNS server are associated. As an example, method 1100 may be implemented through the architecture shown in FIG. 7 . Method 1100 may include the following steps.

1101,AF向NEF发送EAS部署信息。1101. AF sends EAS deployment information to NEF.

步骤1101与步骤901类似,不同之处在于,在步骤1101中,EAS部署信息中包括provider#B ID以及L-DNS服务器#B,其中,L-DNS服务器#B上注册的EAS为provider#B在PLMN#A中对应的EAS。可以理解,L-DNS服务器#B是为区分做的命名,其命名不对本申请实施例的保护范围造成限定。可选地,EAS部署信息还包括PLMN#A ID。Step 1101 is similar to step 901, except that in step 1101, the EAS deployment information includes provider #B ID and L-DNS server #B, where the EAS registered on L-DNS server #B is provider #B Corresponding EAS in PLMN#A. It can be understood that L-DNS server #B is named for differentiation, and its naming does not limit the protection scope of the embodiments of the present application. Optionally, the EAS deployment information also includes PLMN#A ID.

1102,NEF处理EAS部署信息。1102. NEF processes EAS deployment information.

1103,NEF向UDR发送EAS部署信息。1103. NEF sends EAS deployment information to UDR.

1104,UDR向NEF发送存储响应。1104, UDR sends storage response to NEF.

1105,NEF向AF发送EAS部署信息响应。1105. NEF sends an EAS deployment information response to AF.

1106,UE发起会话建立流程。1106. The UE initiates the session establishment process.

1107,SMF向NEF请求EAS部署信息。1107. SMF requests EAS deployment information from NEF.

1108,NEF从UDR获取EAS部署信息。1108. NEF obtains EAS deployment information from UDR.

1109,NEF向SMF发送EAS部署信息。1109. NEF sends EAS deployment information to SMF.

1110,SMF选择EASDF。1110, SMF selects EASDF.

其中,步骤1102-步骤1110与步骤902-步骤910类似,此处不再赘述。Among them, steps 1102 to 1110 are similar to steps 902 to 910, and will not be described again here.

1111,SMF根据EAS部署信息,为EASDF配置DNS处理规则,该DNS处理规则包括L-DNS服务器#B。1111. SMF configures DNS processing rules for EASDF based on the EAS deployment information. The DNS processing rules include L-DNS server #B.

SMF可以根据provider#B对应的EAS部署信息,为选择的EASDF配置DNS处理规则。作为示例,步骤1111包括:SMF根据EAS部署信息,生成DNS处理规则,并向EASDF发送该DNS处理规则。举例来说,SMF向EASDF发送Neasdf_context_createrequest,该Neasdf_context_createrequest包括DNS处理规则;EASDF向SMF返回Neasdf_context_create response。SMF can configure DNS processing rules for the selected EASDF based on the EAS deployment information corresponding to provider#B. As an example, step 1111 includes: SMF generates DNS processing rules based on EAS deployment information, and sends the DNS processing rules to EASDF. For example, SMF sends Neasdf_context_createrequest to EASDF, which Neasdf_context_createrequest includes DNS processing rules; EASDF returns Neasdf_context_create response to SMF.

其中,DNS处理规则可用于处理DNS消息,如与UE相关的DNS消息。例如,DNS处理规则可用于处理DNS query消息。Among them, DNS processing rules can be used to process DNS messages, such as DNS messages related to the UE. For example, DNS processing rules can be used to process DNS query messages.

作为示例,DNS处理规则可以包括以下一项或多项信息:FQDN范围、ECS option、L-DNS服务器#B地址、DNS转发规则。关于各信息的含义,可以参考步骤911中的描述,此处主要介绍L-DNS服务器#B。As an example, DNS processing rules may include one or more of the following information: FQDN range, ECS option, L-DNS server #B address, DNS forwarding rules. Regarding the meaning of each information, you can refer to the description in step 911. Here we mainly introduce L-DNS server #B.

其中,L-DNS服务器#B上注册的EAS为provider#B在PLMN#A中对应的EAS。Among them, the EAS registered on L-DNS server #B is the EAS corresponding to provider #B in PLMN #A.

1112,UE向EASDF发送DNS query。1112. The UE sends a DNS query to EASDF.

步骤1112与步骤912类似,此处不再赘述。Step 1112 is similar to step 912 and will not be described again here.

1113,EASDF根据DNS处理规则,处理DNS query。1113. EASDF processes DNS query according to DNS processing rules.

EASDF收到DNS query之后,可以根据从SMF接收到的DNS处理规则,对DNS query进行处理。EASDF根据DNS处理规则处理DNS query,可以包括:EASDF向处理规则中包括L-DNS服务器#B发送UE的DNS query。After EASDF receives the DNS query, it can process the DNS query according to the DNS processing rules received from SMF. EASDF processes the DNS query according to the DNS processing rules, which may include: EASDF sends the UE's DNS query to L-DNS server #B included in the processing rules.

举例来说,若EASDF根据DNS处理规则检测出UE的DNS query包含的FQDN与DNS处理规则中包含的FQDN可以匹配,则EASDF根据DNS处理规则确定L-DNS服务器#B的地址,并将UE的DNS query发送至该L-DNS服务器#B。For example, if EASDF detects that the FQDN contained in the UE's DNS query matches the FQDN contained in the DNS processing rules based on the DNS processing rules, then EASDF determines the address of L-DNS server #B based on the DNS processing rules and sets the UE's DNS query is sent to the L-DNS server #B.

1114,EASDF向L-DNS服务器#B发送DNS query。1114. EASDF sends a DNS query to L-DNS server #B.

1115,L-DNS服务器#B向EASDF返回DNS响应。1115, L-DNS server #B returns a DNS response to EASDF.

L-DNS服务器可以向EASDF发送DNS response,该DNS response中可以包含provider#B对应的EAS的信息(如EAS IP地址)。结合三种情形说明。The L-DNS server can send a DNS response to EASDF, and the DNS response can include the EAS information corresponding to provider#B (such as the EAS IP address). Combine the three scenarios.

情形1,provider#B为HPLMN ID。在该情形下,provider#B对应的EAS,表示HPLMN对应的EAS。Scenario 1, provider#B is HPLMN ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to HPLMN.

情形2,provider#B为VPLMN ID。在该情形下,provider#B对应的EAS,表示VPLMN对应的EAS。Scenario 2, provider#B is the VPLMN ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to VPLMN.

情形3,provider#B为ECSP ID。在该情形下,provider#B对应的EAS,表示ECSP对应的EAS。Scenario 3, provider#B is the ECSP ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to ECSP.

1116,EASDF向UE返回provider#B对应的EAS的信息。1116. EASDF returns the EAS information corresponding to provider #B to the UE.

通过上述步骤,UE可获得provider#B对应的EAS的信息。Through the above steps, the UE can obtain the EAS information corresponding to provider#B.

可以理解,方法1100可以用于HR漫游(如步骤1106中UE的会话为HR会话),也可以用于LBO漫游(如步骤1106中UE的会话为LBO会话),在不同的漫游方式下,可以根据漫游方式的不同进行适应性调整,对此不予限制。It can be understood that method 1100 can be used for HR roaming (for example, the UE's session in step 1106 is an HR session), or for LBO roaming (for example, the UE's session in step 1106 is an LBO session). In different roaming modes, it can Adaptive adjustments are made based on different roaming methods, and there are no restrictions on this.

场景1,UE的会话为LBO会话。Scenario 1, the UE's session is an LBO session.

在该场景下,假设UE从provider#B通过LBO方式漫游至PLMN#A,此处该PLMN#A可认为是UE的VPLMN,provider#B可认为是UE的HPLMN。UE从provider#B通过LBO方式漫游至PLMN#A后,UE可通过PLMN#A对应的UPF(即V-UPF)访问MEC业务。PLMN#A中的SMF(即V-SMF)为该UE配置DNS处理规则时,可根据:UE的接入网络为PLMN#A(即VPLMN),为UE提供边缘计算服务的PLMN为provider#B(即HPLMN),查找对应的EAS部署信息,进而可找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的L-DNS服务器#B,进而可为该UE查找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS。In this scenario, assume that the UE roams from provider #B to PLMN #A through LBO. Here, PLMN #A can be considered as the VPLMN of the UE, and provider #B can be considered as the HPLMN of the UE. After the UE roams from provider #B to PLMN #A through LBO, the UE can access the MEC service through the UPF (ie V-UPF) corresponding to PLMN #A. When the SMF (i.e. V-SMF) in PLMN#A configures DNS processing rules for the UE, it can be based on: the UE's access network is PLMN#A (i.e. VPLMN), and the PLMN that provides edge computing services for the UE is provider#B (i.e. HPLMN), search for the corresponding EAS deployment information, and then you can find the L-DNS server #B corresponding to provider #B (i.e. HPLMN) in PLMN #A (i.e. VPLMN), and then you can find provider #B for the UE. (i.e. HPLMN) corresponding EAS in PLMN#A (i.e. VPLMN).

场景2,UE的会话为HR会话。Scenario 2, the UE's session is an HR session.

在该场景下,假设UE从provider#B通过HR方式漫游至PLMN#A,此处该PLMN#A可认为是UE的VPLMN,provider#B可认为是UE的HPLMN。UE从provider#B通过HR方式漫游至PLMN#A后,UE可通过provider#B对应的UPF(即H-UPF)访问MEC业务。provider#B中的SMF(即H-SMF)为该UE配置DNS处理规则时,可根据:UE的接入网络为PLMN#A(即VPLMN),为UE提供边缘计算服务的PLMN为provider#B(即HPLMN),查找对应的EAS部署信息,进而可找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的L-DNS服务器#B,进而可为该UE查找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS。In this scenario, assume that the UE roams from provider #B to PLMN #A through HR mode. Here, PLMN #A can be considered as the VPLMN of the UE, and provider #B can be considered as the HPLMN of the UE. After the UE roams from provider #B to PLMN #A through HR mode, the UE can access the MEC service through the UPF (ie H-UPF) corresponding to provider #B. When the SMF (i.e. H-SMF) in provider#B configures DNS processing rules for the UE, it can be based on: the UE's access network is PLMN#A (i.e. VPLMN), and the PLMN that provides edge computing services for the UE is provider#B (i.e. HPLMN), search for the corresponding EAS deployment information, and then you can find the L-DNS server #B corresponding to provider #B (i.e. HPLMN) in PLMN #A (i.e. VPLMN), and then you can find provider #B for the UE. (i.e. HPLMN) corresponding EAS in PLMN#A (i.e. VPLMN).

可以理解,上述两种场景为简单的示例性说明,本申请实施例不限于此。例如,在上述两种场景中,SMF(如场景1中的V-SMF,又如场景2中的H-SMF)可以根据:UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,进而获取该provider#B对应的EAS部署信息。再例如,在上述两种场景中,SMF(如场景1中的V-SMF,又如场景2中的H-SMF)也可以根据UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,并且结合PLMN#A,进而获取该provider#B对应的EAS部署信息。具体的可以参考方法500中的描述,此处不再赘述。It can be understood that the above two scenarios are simple illustrations, and the embodiments of the present application are not limited thereto. For example, in the above two scenarios, the SMF (such as V-SMF in scenario 1, and H-SMF in scenario 2) can be based on: the home network of the UE, the UE or the UE's subscription information, and the information provided by provider #B. The UE list includes any one of the UE or the agreement between provider #B and PLMN #A to determine the provider #B, and then obtain the EAS deployment information corresponding to the provider #B. For another example, in the above two scenarios, SMF (such as V-SMF in scenario 1, and H-SMF in scenario 2) can also be provided based on the UE's home network, the UE or the UE's subscription information, and provider #B The UE list includes any one of the UEs or the agreement between provider #B and PLMN #A to determine provider #B, and combine it with PLMN #A to obtain the EAS deployment information corresponding to provider #B. For details, please refer to the description in method 500, which will not be described again here.

基于上述方法1100,AF提供的EAS部署信息中可以包含不同PLMN或不同ECSP在PLMN#A中对应的L-DNS服务器,L-DNS服务器上注册的可以是相应PLMN或ECSP对应的EAS。SMF在会话建立流程中为EASDF配置DNS处理规则时,可以根在DNS处理规则中携带provider#B对应的L-DNS服务器的信息,进而可以使得EASDF将UE的DNS query发送给该L-DNS服务器进行处理。这样,若provider#B为HPLMN ID,则可以使得UE优先使用HPLMN在PLMN#A中对应的EAS;若provider#B为VPLMN ID,则可以使得UE优先使用VPLMN在PLMN#A中对应的EAS;若provider#B为ECSP ID,则可以使得UE优先使用ECSP在PLMN#A中对应的EAS。Based on the above method 1100, the EAS deployment information provided by the AF may include L-DNS servers corresponding to different PLMNs or different ECSPs in PLMN#A, and what is registered on the L-DNS server may be the EAS corresponding to the corresponding PLMN or ECSP. When SMF configures DNS processing rules for EASDF during the session establishment process, it can carry the information of the L-DNS server corresponding to provider#B in the DNS processing rules, which in turn allows EASDF to send the UE's DNS query to the L-DNS server. for processing. In this way, if provider#B is the HPLMN ID, the UE can be made to preferentially use the EAS corresponding to the HPLMN in PLMN#A; if provider#B is the VPLMN ID, the UE can be made to preferentially use the EAS corresponding to the VPLMN in PLMN#A; If provider#B is an ECSP ID, the UE can be made to preferentially use the EAS corresponding to ECSP in PLMN#A.

图12是本申请实施例提供的一种通信的方法1200的示意性流程图。该方法1200可以用于实现如方法500的方案(如方法500中的示例4),例如方法1200可用于PLMN#A、provider#B、以及EAS IP地址具有关联的场景。作为示例,方法1200可以通过图8所示的架构实现。方法1200可以包括如下步骤。Figure 12 is a schematic flow chart of a communication method 1200 provided by an embodiment of the present application. This method 1200 can be used to implement a solution such as method 500 (such as example 4 in method 500). For example, method 1200 can be used in a scenario where PLMN#A, provider#B, and EAS IP addresses are associated. As an example, method 1200 may be implemented through the architecture shown in Figure 8. Method 1200 may include the following steps.

1201,AF向NEF发送EAS部署信息。1201, AF sends EAS deployment information to NEF.

步骤1201与步骤901类似,不同之处在于,在步骤1201中,EAS部署信息中包括provider#B ID以及EAS地址#B,其中,EAS地址#B为provider#B在PLMN#A中对应的EAS的地址(如EAS IP地址)。可以理解,EAS地址#B是为区分做的命名,其命名不对本申请实施例的保护范围造成限定。可选地,EAS部署信息还包括PLMN#A ID。Step 1201 is similar to step 901, except that in step 1201, the EAS deployment information includes provider #B ID and EAS address #B, where EAS address #B is the EAS corresponding to provider #B in PLMN #A. address (such as EAS IP address). It can be understood that EAS address #B is named for differentiation, and its naming does not limit the protection scope of the embodiments of the present application. Optionally, the EAS deployment information also includes PLMN#A ID.

1202,NEF处理EAS部署信息。1202, NEF processes EAS deployment information.

1203,NEF向UDR发送EAS部署信息。1203. NEF sends EAS deployment information to UDR.

1204,UDR向NEF发送存储响应。1204, UDR sends storage response to NEF.

1205,NEF向AF发送EAS部署信息响应。1205. NEF sends an EAS deployment information response to AF.

1206,UE发起会话建立流程。1206. The UE initiates the session establishment process.

1207,SMF向NEF请求EAS部署信息。1207. SMF requests EAS deployment information from NEF.

1208,NEF从UDR获取EAS部署信息。1208, NEF obtains EAS deployment information from UDR.

1209,NEF向SMF发送EAS部署信息。1209. NEF sends EAS deployment information to SMF.

1210,SMF选择EASDF。1210, SMF selects EASDF.

其中,步骤1202-步骤1210与步骤902-步骤910类似,此处不再赘述。Among them, steps 1202 to 1210 are similar to steps 902 to 910, and will not be described again here.

1211,SMF根据EAS部署信息,为EASDF配置DNS处理规则,该DNS处理规则包括EAS地址#B。1211. SMF configures DNS processing rules for EASDF based on the EAS deployment information. The DNS processing rules include EAS address #B.

SMF可以根据provider#B对应的EAS部署信息,为选择的EASDF配置DNS处理规则。作为示例,步骤1211包括:SMF根据EAS部署信息,生成DNS处理规则,并向EASDF发送该DNS处理规则。举例来说,SMF向EASDF发送Neasdf_context_createrequest,该Neasdf_context_createrequest包括DNS处理规则;EASDF向SMF返回Neasdf_context_create response。SMF can configure DNS processing rules for the selected EASDF based on the EAS deployment information corresponding to provider#B. As an example, step 1211 includes: SMF generates DNS processing rules based on EAS deployment information, and sends the DNS processing rules to EASDF. For example, SMF sends Neasdf_context_createrequest to EASDF, which Neasdf_context_createrequest includes DNS processing rules; EASDF returns Neasdf_context_create response to SMF.

其中,DNS处理规则可用于处理DNS消息,如与UE相关的DNS消息。例如,DNS处理规则可用于处理DNS query消息。Among them, DNS processing rules can be used to process DNS messages, such as DNS messages related to the UE. For example, DNS processing rules can be used to process DNS query messages.

作为示例,DNS处理规则可以包括以下一项或多项信息:FQDN范围、ECS option、L-DNS服务器地址、EAS地址#B、DNS转发规则。关于各信息的含义,可以参考步骤911中的描述,此处主要介绍EAS地址#B。As an example, DNS processing rules may include one or more of the following information: FQDN range, ECS option, L-DNS server address, EAS address #B, and DNS forwarding rules. Regarding the meaning of each information, you can refer to the description in step 911. Here we mainly introduce the EAS address #B.

其中,EAS地址#B为provider#B在PLMN#A中对应的EAS的地址(如EAS IP地址)。Among them, EAS address #B is the address of the EAS corresponding to provider #B in PLMN #A (such as the EAS IP address).

1212,UE向EASDF发送DNS query。1212. The UE sends a DNS query to EASDF.

步骤1212与步骤912类似,此处不再赘述。Step 1212 is similar to step 912 and will not be described again here.

1213,EASDF根据DNS处理规则,处理DNS query。1213. EASDF processes DNS query according to DNS processing rules.

EASDF收到DNS query之后,可以根据从SMF接收到的DNS处理规则,对DNS query进行处理。EASDF根据DNS处理规则处理DNS query,可以包括以下两种处理方式。After EASDF receives the DNS query, it can process the DNS query according to the DNS processing rules received from SMF. EASDF processes DNS queries according to DNS processing rules, which can include the following two processing methods.

处理方式1:若EASDF根据DNS处理规则检测出UE的DNS query包含的域名(如FQDN)与DNS处理规则中包含的域名可以匹配,则EASDF根据DNS处理规则,在DNS query中添加ECSoption后,向C-DNS服务器发送添加ECS option后的DNS query。Processing method 1: If EASDF detects that the domain name (such as FQDN) contained in the UE's DNS query according to the DNS processing rules can match the domain name included in the DNS processing rules, then EASDF adds ECSoption to the DNS query according to the DNS processing rules, and adds the ECSoption to the DNS query. The C-DNS server sends the DNS query with the ECS option added.

处理方式2:若EASDF根据DNS处理规则检测出UE的DNS query包含的域名(如FQDN)与DNS处理规则中包含的域名可以匹配,则EASDF根据DNS处理规则确定L-DNS服务器的地址,并将UE的DNS query发送至L-DNS服务器。Processing method 2: If EASDF detects that the domain name (such as FQDN) contained in the UE's DNS query and the domain name contained in the DNS processing rules can match according to the DNS processing rules, then EASDF determines the address of the L-DNS server according to the DNS processing rules, and The UE's DNS query is sent to the L-DNS server.

1214,EASDF向DNS服务器查询N个EAS IP地址。1214. EASDF queries the DNS server for N EAS IP addresses.

其中,该N个EAS IP地址,可以包括以下至少一项:UE的HPLMN对应的EAS IP地址、UE的VPLMN对应的EAS IP地址、第三方ECSP(如UE订阅的ECSP)对应的EAS IP地址。The N EAS IP addresses may include at least one of the following: the EAS IP address corresponding to the UE's HPLMN, the EAS IP address corresponding to the UE's VPLMN, and the EAS IP address corresponding to a third-party ECSP (such as the ECSP subscribed by the UE).

其中,DNS服务器中包括以下至少一项:UE的HPLMN对应的EAS IP地址、UE的VPLMN对应的EAS IP地址、第三方ECSP(如UE订阅的ECSP)对应的EAS IP地址,进而可以向EASDF提供上述N个EAS IP地址。DNS服务器可以为L-DNS服务器,也可以为C-DNS服务器。下面结合上述步骤1213中的两种处理方式进行说明。Among them, the DNS server includes at least one of the following: the EAS IP address corresponding to the UE's HPLMN, the EAS IP address corresponding to the UE's VPLMN, and the EAS IP address corresponding to the third-party ECSP (such as the ECSP subscribed by the UE), which can then be provided to EASDF The above N EAS IP addresses. The DNS server can be an L-DNS server or a C-DNS server. The following describes the two processing methods in the above step 1213.

例如,以步骤1213中的处理方式1为例,在该情况下,假设C-DNS服务器包括上述N个EAS IP地址。C-DNS服务器从EASDF接收到包含ECS option的DNS query后,向EASDF发送DNS response,该DNS response中包含N个EAS IP地址,进而EASDF获得该N个EAS IP地址。For example, taking processing method 1 in step 1213 as an example, in this case, it is assumed that the C-DNS server includes the above N EAS IP addresses. After receiving the DNS query containing the ECS option from EASDF, the C-DNS server sends a DNS response to EASDF. The DNS response contains N EAS IP addresses, and EASDF obtains the N EAS IP addresses.

再例如,以步骤1213中的处理方式2为例,在该情况下,假设L-DNS服务器包括上述N个EAS IP地址。L-DNS服务器从EASDF接收到DNS query后,向EASDF发送DNS response,该DNS response中包含N个EAS IP地址,进而EASDF获得该N个EAS IP地址。As another example, take the processing method 2 in step 1213 as an example. In this case, it is assumed that the L-DNS server includes the above-mentioned N EAS IP addresses. After receiving the DNS query from EASDF, the L-DNS server sends a DNS response to EASDF. The DNS response contains N EAS IP addresses, and EASDF obtains the N EAS IP addresses.

1215,EASDF根据EAS地址#B,从N个EAS IP地址中选择M个EAS IP地址。1215. EASDF selects M EAS IP addresses from N EAS IP addresses based on EAS address #B.

其中,M为大于1或等于1的整数,且M小于N或等于N。Where, M is an integer greater than or equal to 1, and M is less than or equal to N.

EASDF根据EAS地址#B,从N个EAS IP地址中选择M个EAS IP地址,包括:EASDF根据从N个EAS IP地址中选择(或者过滤)中属于该EAS地址#B的EAS IP地址(即M个EAS IP地址)。换句话说,该M个EAS IP地址为N个EAS IP地址和EAS地址#B的交集。EASDF selects M EAS IP addresses from N EAS IP addresses based on EAS address #B, including: EASDF selects (or filters) the EAS IP address belonging to EAS address #B from N EAS IP addresses (i.e. M EAS IP addresses). In other words, the M EAS IP addresses are the intersection of N EAS IP addresses and EAS address #B.

1216,EASDF向UE返回provider#B对应的EAS的信息。1216. EASDF returns the EAS information corresponding to provider #B to the UE.

EASDF根据EAS地址#B,从N个EAS IP地址中选择M个EAS IP地址后,可以向UE返回该M个EAS IP地址(即provider#B对应的EAS的信息)。After EASDF selects M EAS IP addresses from N EAS IP addresses based on EAS address #B, it can return the M EAS IP addresses to the UE (that is, the EAS information corresponding to provider #B).

通过上述步骤,UE可获得provider#B对应的EAS的信息。Through the above steps, the UE can obtain the EAS information corresponding to provider#B.

可以理解,方法1200可以用于HR漫游(如步骤1206中UE的会话为HR会话),也可以用于LBO漫游(如步骤1206中UE的会话为LBO会话),在不同的漫游方式下,可以根据漫游方式的不同进行适应性调整,对此不予限制。It can be understood that method 1200 can be used for HR roaming (for example, the UE's session in step 1206 is an HR session), or for LBO roaming (for example, the UE's session in step 1206 is an LBO session). In different roaming modes, it can Adaptive adjustments are made based on different roaming methods, and there are no restrictions on this.

场景1,UE的会话为LBO会话。Scenario 1, the UE's session is an LBO session.

在该场景下,假设UE从provider#B通过LBO方式漫游至PLMN#A,此处该PLMN#A可认为是UE的VPLMN,provider#B可认为是UE的HPLMN。UE从provider#B通过LBO方式漫游至PLMN#A后,UE可通过PLMN#A对应的UPF(即V-UPF)访问MEC业务。PLMN#A中的SMF(即V-SMF)为该UE配置DNS处理规则时,可根据:UE的接入网络为PLMN#A(即VPLMN),为UE提供边缘计算服务的PLMN为provider#B(即HPLMN),查找对应的EAS部署信息,进而可找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS地址#B,进而可为该UE查找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS。In this scenario, assume that the UE roams from provider #B to PLMN #A through LBO. Here, PLMN #A can be considered as the VPLMN of the UE, and provider #B can be considered as the HPLMN of the UE. After the UE roams from provider #B to PLMN #A through LBO, the UE can access the MEC service through the UPF (ie V-UPF) corresponding to PLMN #A. When the SMF (i.e. V-SMF) in PLMN#A configures DNS processing rules for the UE, it can be based on: the UE's access network is PLMN#A (i.e. VPLMN), and the PLMN that provides edge computing services for the UE is provider#B (i.e. HPLMN), search for the corresponding EAS deployment information, and then you can find the EAS address #B corresponding to provider #B (i.e. HPLMN) in PLMN #A (i.e. VPLMN), and then you can find provider #B (i.e. VPLMN) for the UE HPLMN) corresponding EAS in PLMN#A (i.e. VPLMN).

场景2,UE的会话为HR会话。Scenario 2, the UE's session is an HR session.

在该场景下,假设UE从provider#B通过HR方式漫游至PLMN#A,此处该PLMN#A可认为是UE的VPLMN,provider#B可认为是UE的HPLMN。UE从provider#B通过HR方式漫游至PLMN#A后,UE可通过provider#B对应的UPF(即H-UPF)访问MEC业务。provider#B中的SMF(即H-SMF)为该UE配置DNS处理规则时,可根据:UE的接入网络为PLMN#A(即VPLMN),为UE提供边缘计算服务的PLMN为provider#B(即HPLMN),查找对应的EAS部署信息,进而可找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS地址#B,进而可为该UE查找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS。In this scenario, assume that the UE roams from provider #B to PLMN #A through HR mode. Here, PLMN #A can be considered as the VPLMN of the UE, and provider #B can be considered as the HPLMN of the UE. After the UE roams from provider #B to PLMN #A through HR mode, the UE can access the MEC service through the UPF (ie H-UPF) corresponding to provider #B. When the SMF (i.e. H-SMF) in provider#B configures DNS processing rules for the UE, it can be based on: the UE's access network is PLMN#A (i.e. VPLMN), and the PLMN that provides edge computing services for the UE is provider#B (i.e. HPLMN), search for the corresponding EAS deployment information, and then you can find the EAS address #B corresponding to provider #B (i.e. HPLMN) in PLMN #A (i.e. VPLMN), and then you can find provider #B (i.e. VPLMN) for the UE HPLMN) corresponding EAS in PLMN#A (i.e. VPLMN).

可以理解,上述两种场景为简单的示例性说明,本申请实施例不限于此。例如,在上述两种场景中,SMF(如场景1中的V-SMF,又如场景2中的H-SMF)可以根据:UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,进而获取该provider#B对应的EAS部署信息。再例如,在上述两种场景中,SMF(如场景1中的V-SMF,又如场景2中的H-SMF)也可以根据UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,并且结合PLMN#A,进而获取该provider#B对应的EAS部署信息。具体的可以参考方法500中的描述,此处不再赘述。It can be understood that the above two scenarios are simple illustrations, and the embodiments of the present application are not limited thereto. For example, in the above two scenarios, the SMF (such as V-SMF in scenario 1, and H-SMF in scenario 2) can be based on: the home network of the UE, the UE or the UE's subscription information, and the information provided by provider #B. The UE list includes any one of the UE or the agreement between provider #B and PLMN #A to determine the provider #B, and then obtain the EAS deployment information corresponding to the provider #B. For another example, in the above two scenarios, SMF (such as V-SMF in scenario 1, and H-SMF in scenario 2) can also be provided based on the UE's home network, the UE or the UE's subscription information, and provider #B The UE list includes any one of the UEs or the agreement between provider #B and PLMN #A to determine provider #B, and combine it with PLMN #A to obtain the EAS deployment information corresponding to provider #B. For details, please refer to the description in method 500, which will not be described again here.

基于上述方法1200,AF提供的EAS部署信息中可以包含不同PLMN或不同ECSP在PLMN#A中对应的EAS IP地址。SMF在会话建立流程中为EASDF配置DNS处理规则时,可以在DNS处理规则中携带provider#B对应的EAS地址,进而可以使得EASDF在DNS响应中过滤(或者选择)出provider#B对应的EAS地址。这样,若provider#B为HPLMN ID,则可以使得UE优先使用HPLMN在PLMN#A中对应的EAS;若provider#B为VPLMN ID,则可以使得UE优先使用VPLMN在PLMN#A中对应的EAS;若provider#B为ECSP ID,则可以使得UE优先使用ECSP在PLMN#A中对应的EAS。Based on the above method 1200, the EAS deployment information provided by the AF may include EAS IP addresses corresponding to different PLMNs or different ECSPs in PLMN#A. When SMF configures DNS processing rules for EASDF during the session establishment process, it can carry the EAS address corresponding to provider#B in the DNS processing rules, which in turn allows EASDF to filter (or select) the EAS address corresponding to provider#B in the DNS response. . In this way, if provider#B is the HPLMN ID, the UE can be made to preferentially use the EAS corresponding to the HPLMN in PLMN#A; if provider#B is the VPLMN ID, the UE can be made to preferentially use the EAS corresponding to the VPLMN in PLMN#A; If provider#B is an ECSP ID, the UE can be made to preferentially use the EAS corresponding to ECSP in PLMN#A.

上面单独介绍了各个示例的应用,可以理解,示例1至示例4可以单独使用,也可以结合使用。下面以示例1和示例2结合使用为例进行示例性说明。The application of each example is introduced separately above. It can be understood that examples 1 to 4 can be used alone or in combination. The following uses Example 1 and Example 2 together as an example for illustrative explanation.

图13是本申请实施例提供的一种通信的方法1300的示意性流程图。该方法1300可以用于实现如方法500的方案(如方法500中的示例5),例如方法1300可用于PLMN#A、provider#B、C-DNS服务器、以及ECS option具有关联的场景。作为示例,方法1300可以通过图6所示的架构实现。方法1300可以包括如下步骤。Figure 13 is a schematic flow chart of a communication method 1300 provided by an embodiment of the present application. This method 1300 can be used to implement a solution such as method 500 (such as Example 5 in method 500). For example, method 1300 can be used in a scenario where PLMN#A, provider#B, C-DNS server, and ECS option are associated. As an example, method 1300 may be implemented through the architecture shown in FIG. 6 . Method 1300 may include the following steps.

1301,AF向NEF发送EAS部署信息。1301. AF sends EAS deployment information to NEF.

步骤1301与步骤901类似,不同之处在于,在步骤1301中,EAS部署信息中包括provider#B ID、C-DNS服务器#B以及ECS option#B。可选地,EAS部署信息还包括PLMN#AID。下面以provider#B为PLMN为例,介绍几种可能的情况。Step 1301 is similar to step 901, except that in step 1301, the EAS deployment information includes provider #B ID, C-DNS server #B and ECS option #B. Optionally, the EAS deployment information also includes PLMN#AID. The following takes provider#B as PLMN as an example to introduce several possible situations.

例如,一个PLMN与一个C-DNS服务器#B对应,且该PLMN对应一套DNAI与ECS option的映射关系。举例来说,可以为一个PLMN配置一个专属的C-DNS服务器#B,同时为该PLMN配置一套专属的DNAI与ECS option的映射关系。For example, a PLMN corresponds to a C-DNS server #B, and the PLMN corresponds to a set of mapping relationships between DNAI and ECS options. For example, a dedicated C-DNS server #B can be configured for a PLMN, and a dedicated set of mapping relationships between DNAI and ECS options can be configured for the PLMN.

再例如,一个PLMN与一个C-DNS服务器#B对应,且所有PLMN对应相同的一套DNAI与ECS option的映射关系。举例来说,可以为一个PLMN配置一个专属的C-DNS服务器#B,同时为所有PLMN配置同一套DNAI与ECS option的映射关系。For another example, one PLMN corresponds to one C-DNS server #B, and all PLMNs correspond to the same set of mapping relationships between DNAI and ECS options. For example, you can configure a dedicated C-DNS server #B for one PLMN, and configure the same set of mapping relationships between DNAI and ECS options for all PLMNs.

再例如,所有PLMN与一个C-DNS服务器#B对应,且每个PLMN对应一套DNAI与ECSoption的映射关系。举例来说,可以为所有PLMN配置同一个C-DNS服务器#B,同时每个PLMN对应一套专属的DNAI与ECS option的映射关系。For another example, all PLMNs correspond to one C-DNS server #B, and each PLMN corresponds to a set of mapping relationships between DNAI and ECSoption. For example, the same C-DNS server #B can be configured for all PLMNs, and each PLMN corresponds to a unique set of mapping relationships between DNAI and ECS options.

可以理解,上述为示例性说明,任何属于上述示例的变形,都适用于本申请实施例。It can be understood that the above is an exemplary description, and any modifications belonging to the above examples are applicable to the embodiments of the present application.

还可以理解,provider#B为ECSP时类似,此处不再赘述。It can also be understood that it is similar when provider#B is ECSP and will not be described again here.

1303,NEF处理EAS部署信息。1303. NEF processes EAS deployment information.

1303,NEF向UDR发送EAS部署信息。1303. NEF sends EAS deployment information to UDR.

1304,UDR向NEF发送存储响应。1304, UDR sends storage response to NEF.

1305,NEF向AF发送EAS部署信息响应。1305. NEF sends an EAS deployment information response to AF.

1306,UE发起会话建立流程。1306. The UE initiates the session establishment process.

1307,SMF向NEF请求EAS部署信息。1307. SMF requests EAS deployment information from NEF.

1308,NEF从UDR获取EAS部署信息。1308, NEF obtains EAS deployment information from UDR.

1309,NEF向SMF发送EAS部署信息。1309. NEF sends EAS deployment information to SMF.

1310,SMF选择EASDF。1310, SMF selects EASDF.

其中,步骤1303-步骤1310与步骤902-步骤910类似,此处不再赘述。Among them, steps 1303 to 1310 are similar to steps 902 to 910, and will not be described again here.

1311,SMF根据EAS部署信息,为EASDF配置DNS处理规则,该DNS处理规则包括ECSoption#B和C-DNS服务器#B。1311. SMF configures DNS processing rules for EASDF based on the EAS deployment information. The DNS processing rules include ECSoption#B and C-DNS Server#B.

SMF可以根据provider#B对应的EAS部署信息,为选择的EASDF配置DNS处理规则。作为示例,步骤1311包括:SMF根据EAS部署信息,生成DNS处理规则,并向EASDF发送该DNS处理规则。举例来说,SMF向EASDF发送Neasdf_context_createrequest,该Neasdf_context_createrequest包括DNS处理规则;EASDF向SMF返回Neasdf_context_create response。SMF can configure DNS processing rules for the selected EASDF based on the EAS deployment information corresponding to provider#B. As an example, step 1311 includes: SMF generates DNS processing rules based on EAS deployment information, and sends the DNS processing rules to EASDF. For example, SMF sends Neasdf_context_createrequest to EASDF, which Neasdf_context_createrequest includes DNS processing rules; EASDF returns Neasdf_context_create response to SMF.

其中,DNS处理规则可用于处理DNS消息,如与UE相关的DNS消息。例如,DNS处理规则可用于处理DNS query消息。Among them, DNS processing rules can be used to process DNS messages, such as DNS messages related to the UE. For example, DNS processing rules can be used to process DNS query messages.

作为示例,DNS处理规则可以包括以下一项或多项信息:FQDN范围、ECS option#B、C-DNS服务器#B地址、DNS转发规则。关于各信息,可以参考步骤911和步骤211中的描述,此处不再赘述。As an example, DNS processing rules may include one or more of the following information: FQDN range, ECS option #B, C-DNS server #B address, and DNS forwarding rules. Regarding each piece of information, please refer to the description in step 911 and step 211, which will not be described again here.

SMF确定的DNS处理规则中可以包括ECS option#B和C-DNS服务器#B地址,这样EASDF可以根据该DNS处理规则,在UE的DNS query中添加该ECS option#B,并且向C-DNS服务器#B地址发送包含ECS option#B的DNS query。从而,可以实现为UE选择特定EAS(即provider#B所对应的EAS)。The DNS processing rules determined by SMF may include ECS option#B and C-DNS server#B addresses, so that EASDF can add the ECS option#B to the UE's DNS query based on the DNS processing rules and send the request to the C-DNS server. Address #B sends a DNS query containing ECS option #B. Therefore, it is possible to select a specific EAS for the UE (that is, the EAS corresponding to provider #B).

经过上述步骤以及其他的步骤(具体可参考现有的会话建立流程),UE可完成会话建立。After the above steps and other steps (for details, please refer to the existing session establishment process), the UE can complete the session establishment.

1312,UE向EASDF发送DNS query。1312. The UE sends a DNS query to EASDF.

步骤1312与步骤912类似,此处不再赘述。Step 1312 is similar to step 912 and will not be described again here.

1313,EASDF根据DNS处理规则,处理DNS query。1313. EASDF processes DNS query according to DNS processing rules.

EASDF收到DNS query之后,可以根据从SMF接收到的DNS处理规则,对DNS query进行处理。EASDF根据DNS处理规则处理DNS query,可以包括:EASDF在DNS query中添加ECSoption#B,并且向C-DNS服务器#B发送包含ECS option#B的DNS query。After EASDF receives the DNS query, it can process the DNS query according to the DNS processing rules received from SMF. EASDF processes DNS query according to DNS processing rules, which may include: EASDF adds ECSoption#B to the DNS query, and sends a DNS query containing ECS option#B to C-DNS server #B.

举例来说,若EASDF根据DNS处理规则检测出UE的DNS query包含的FQDN与DNS处理规则中包含的FQDN可以匹配,则EASDF根据DNS处理规则,在DNS query中添加ECS option#B后,向C-DNS服务器#B发送添加ECS option#B后的DNS query。For example, if EASDF detects that the FQDN contained in the UE's DNS query matches the FQDN contained in the DNS processing rules based on the DNS processing rules, then EASDF adds ECS option#B to the DNS query based on the DNS processing rules, and adds ECS option#B to C. -DNS server #B sends the DNS query after adding ECS option #B.

1314,EASDF向C-DNS服务器#B发送包含ECS option#B的DNS query。1314. EASDF sends a DNS query containing ECS option #B to C-DNS server #B.

1315,C-DNS服务器#B向EASDF返回DNS响应。1315, C-DNS server #B returns a DNS response to EASDF.

C-DNS服务器#B可以向EASDF发送DNS response,该DNS response中可以包含provider#B对应的EAS的信息(如EAS IP地址)。结合三种情形说明。C-DNS server #B can send a DNS response to EASDF, and the DNS response can contain the EAS information (such as EAS IP address) corresponding to provider #B. Combine the three scenarios.

情形1,provider#B为HPLMN ID。在该情形下,provider#B对应的EAS,表示HPLMN对应的EAS。Scenario 1, provider#B is HPLMN ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to HPLMN.

情形2,provider#B为VPLMN ID。在该情形下,provider#B对应的EAS,表示VPLMN对应的EAS。Scenario 2, provider#B is the VPLMN ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to VPLMN.

情形3,provider#B为ECSP ID。在该情形下,provider#B对应的EAS,表示ECSP对应的EAS。Scenario 3, provider#B is the ECSP ID. In this case, the EAS corresponding to provider#B indicates the EAS corresponding to ECSP.

1316,EASDF向UE返回provider#B对应的EAS的信息。1316. EASDF returns the EAS information corresponding to provider #B to the UE.

通过上述步骤,UE可获得provider#B对应的EAS的信息。Through the above steps, the UE can obtain the EAS information corresponding to provider#B.

可以理解,方法1300可以用于HR漫游(如步骤1306中UE的会话为HR会话),也可以用于LBO漫游(如步骤1306中UE的会话为LBO会话),在不同的漫游方式下,可以根据漫游方式的不同进行适应性调整,对此不予限制。It can be understood that method 1300 can be used for HR roaming (for example, the UE's session in step 1306 is an HR session), or for LBO roaming (for example, the UE's session in step 1306 is an LBO session). In different roaming modes, it can Adaptive adjustments are made based on different roaming methods, and there are no restrictions on this.

场景1,UE的会话为LBO会话。Scenario 1, the UE's session is an LBO session.

在该场景下,假设UE从provider#B通过LBO方式漫游至PLMN#A,此处该PLMN#A可认为是UE的VPLMN,provider#B可认为是UE的HPLMN。UE从provider#B通过LBO方式漫游至PLMN#A后,UE可通过PLMN#A对应的UPF(即V-UPF)访问MEC业务。PLMN#A中的SMF(即V-SMF)为该UE配置DNS处理规则时,可根据:UE的接入网络为PLMN#A(即VPLMN),为UE提供边缘计算服务的PLMN为provider#B(即HPLMN),查找对应的EAS部署信息,进而可找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的C-DNS服务器#B和ECS option#B,进而可为该UE查找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS。In this scenario, assume that the UE roams from provider #B to PLMN #A through LBO. Here, PLMN #A can be considered as the VPLMN of the UE, and provider #B can be considered as the HPLMN of the UE. After the UE roams from provider #B to PLMN #A through LBO, the UE can access the MEC service through the UPF (ie V-UPF) corresponding to PLMN #A. When the SMF (i.e. V-SMF) in PLMN#A configures DNS processing rules for the UE, it can be based on: the UE's access network is PLMN#A (i.e. VPLMN), and the PLMN that provides edge computing services for the UE is provider#B (i.e. HPLMN), search for the corresponding EAS deployment information, and then you can find the C-DNS server #B and ECS option #B corresponding to provider #B (i.e. HPLMN) in PLMN #A (i.e. VPLMN), and then you can find the UE Find the EAS corresponding to provider#B (ie HPLMN) in PLMN#A (ie VPLMN).

场景2,UE的会话为HR会话。Scenario 2, the UE's session is an HR session.

在该场景下,假设UE从provider#B通过HR方式漫游至PLMN#A,此处该PLMN#A可认为是UE的VPLMN,provider#B可认为是UE的HPLMN。UE从provider#B通过HR方式漫游至PLMN#A后,UE可通过provider#B对应的UPF(即H-UPF)访问MEC业务。provider#B中的SMF(即H-SMF)为该UE配置DNS处理规则时,可根据:UE的接入网络为PLMN#A(即VPLMN),为UE提供边缘计算服务的PLMN为provider#B(即HPLMN),查找对应的EAS部署信息,进而可找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的C-DNS服务器#B和ECS option#B,进而可为该UE查找到provider#B(即HPLMN)在PLMN#A(即VPLMN)中对应的EAS。In this scenario, assume that the UE roams from provider #B to PLMN #A through HR mode. Here, PLMN #A can be considered as the VPLMN of the UE, and provider #B can be considered as the HPLMN of the UE. After the UE roams from provider #B to PLMN #A through HR mode, the UE can access the MEC service through the UPF (ie H-UPF) corresponding to provider #B. When the SMF (i.e. H-SMF) in provider#B configures DNS processing rules for the UE, it can be based on: the UE's access network is PLMN#A (i.e. VPLMN), and the PLMN that provides edge computing services for the UE is provider#B (i.e. HPLMN), search for the corresponding EAS deployment information, and then you can find the C-DNS server #B and ECS option #B corresponding to provider #B (i.e. HPLMN) in PLMN #A (i.e. VPLMN), and then you can find the UE Find the EAS corresponding to provider#B (ie HPLMN) in PLMN#A (ie VPLMN).

可以理解,上述两种场景为简单的示例性说明,本申请实施例不限于此。例如,在上述两种场景中,SMF(如场景1中的V-SMF,又如场景2中的H-SMF)可以根据:UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,进而获取该provider#B对应的EAS部署信息。再例如,在上述两种场景中,SMF(如场景1中的V-SMF,又如场景2中的H-SMF)也可以根据UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,并且结合PLMN#A,进而获取该provider#B对应的EAS部署信息。具体的可以参考方法500中的描述,此处不再赘述。It can be understood that the above two scenarios are simple illustrations, and the embodiments of the present application are not limited thereto. For example, in the above two scenarios, the SMF (such as V-SMF in scenario 1, and H-SMF in scenario 2) can be based on: the home network of the UE, the UE or the UE's subscription information, and the information provided by provider #B. The UE list includes any one of the UE or the agreement between provider #B and PLMN #A to determine the provider #B, and then obtain the EAS deployment information corresponding to the provider #B. For another example, in the above two scenarios, SMF (such as V-SMF in scenario 1, and H-SMF in scenario 2) can also be provided based on the UE's home network, the UE or the UE's subscription information, and provider #B The UE list includes any one of the UEs or the agreement between provider #B and PLMN #A to determine provider #B, and combine it with PLMN #A to obtain the EAS deployment information corresponding to provider #B. For details, please refer to the description in method 500, which will not be described again here.

基于上述方法1300,AF提供的EAS部署信息中可以包含:不同PLMN或不同ECSP在PLMN#A中对应的C-DNS服务器,以及不同PLMN或不同ECSP在PLMN#A中对应的ECS option。SMF在会话建立流程中为EASDF配置DNS处理规则时,可以在DNS处理规则中携带provider#B对应的C-DNS服务器和ECS option,进而可以使得EASDF将添加该ECS option的DNS query发送给该C-DNS服务器进行处理。这样,若provider#B为HPLMN ID,则可以使得UE优先使用HPLMN在PLMN#A中对应的EAS;若provider#B为VPLMN ID,则可以使得UE优先使用VPLMN在PLMN#A中对应的EAS;若provider#B为ECSP ID,则可以使得UE优先使用ECSP在PLMN#A中对应的EAS。Based on the above method 1300, the EAS deployment information provided by the AF may include: C-DNS servers corresponding to different PLMNs or different ECSPs in PLMN#A, and ECS options corresponding to different PLMNs or different ECSPs in PLMN#A. When SMF configures DNS processing rules for EASDF during the session establishment process, it can carry the C-DNS server and ECS option corresponding to provider#B in the DNS processing rules, which in turn allows EASDF to send the DNS query adding the ECS option to the C -DNS server handles it. In this way, if provider#B is the HPLMN ID, the UE can be made to preferentially use the EAS corresponding to the HPLMN in PLMN#A; if provider#B is the VPLMN ID, the UE can be made to preferentially use the EAS corresponding to the VPLMN in PLMN#A; If provider#B is an ECSP ID, the UE can be made to preferentially use the EAS corresponding to ECSP in PLMN#A.

可以理解,本申请实施例中的图9至图13中的例子仅仅是为了便于本领域技术人员理解本申请实施例,并非要将本申请实施例限于例示的具体场景。本领域技术人员根据图9至图13的例子,显然可以进行各种等价的修改或变化,这样的修改或变化也落入本申请实施例的范围内。例如,上述图9至图13中的会话建立流程也可以替换为会话修改流程。It can be understood that the examples in Figures 9 to 13 in the embodiments of the present application are only to facilitate those skilled in the art to understand the embodiments of the present application, and are not intended to limit the embodiments of the present application to the specific illustrated scenarios. Those skilled in the art can obviously make various equivalent modifications or changes based on the examples in FIGS. 9 to 13 , and such modifications or changes also fall within the scope of the embodiments of the present application. For example, the session establishment process in the above-mentioned Figures 9 to 13 can also be replaced by a session modification process.

还可以理解,在上述一些实施例中,涉及到的消息名称,如Nsmf_PDUSession_Update Request消息、Nsmf_PDUSession_Create Request、查询消息等,仅是一种示例,不对本申请实施例的保护范围造成限定。例如,查询消息,也可以替换为请求消息。It can also be understood that in some of the above embodiments, the message names involved, such as Nsmf_PDUSession_Update Request message, Nsmf_PDUSession_Create Request, query message, etc., are only examples and do not limit the scope of protection of the embodiments of the present application. For example, query messages can also be replaced with request messages.

还可以理解,在上述一些实施例中,主要以SMF根据provider#B(或者,PLMN#A和provider#B)查询对应的EAS部署信息为例进行示例性说明,对此不予限制。例如,SMF向NEF请求EAS部署信息时,可以携带provider#B(或者,PLMN#A和provider#B),进而由NEF向SMF发送provider#B在PLMN#A中对应的EAS的部署信息。It can also be understood that in some of the above embodiments, the SMF querying the corresponding EAS deployment information according to provider #B (or PLMN #A and provider #B) is mainly used as an example for illustrative explanation, and this is not limited. For example, when SMF requests EAS deployment information from NEF, it can carry provider #B (or PLMN #A and provider #B), and then NEF sends the EAS deployment information corresponding to provider #B in PLMN #A to SMF.

还可以理解,在本申请实施例中,SMF可以根据:UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,进而获取该provider#B对应的EAS部署信息;或者也可以根据UE的归属网络、UE或UE的签约信息、provider#B提供的UE列表中包括UE、或provider#B与PLMN#A之间的协议中的任一项确定provider#B,并且结合PLMN#A,进而获取该provider#B对应的EAS部署信息。对此不予限制。It can also be understood that in the embodiment of this application, the SMF can be based on: the home network of the UE, the UE or the UE's subscription information, the UE included in the UE list provided by provider #B, or the agreement between provider #B and PLMN #A. Determine provider #B by any one of them, and then obtain the EAS deployment information corresponding to provider #B; or you can also include the UE according to the UE's home network, the UE or the UE's subscription information, the UE list provided by provider #B, or Any item in the agreement between provider #B and PLMN #A determines provider #B, and combines it with PLMN #A to obtain the EAS deployment information corresponding to provider #B. There are no restrictions on this.

还可以理解,在上述一些实施例中,主要以SMF根据提供商对应的EAS部署信息确定DNS处理规则为例进行示例性说明,对此不予限制。举例来说,SMF可以根据现有的方式确定DNS处理规则,并发送给EASDF;EASDF可以根据该DNS处理规则以及提供商对应的EAS部署信息,处理UE的DNS查询请求。It can also be understood that in some of the above embodiments, the SMF determines the DNS processing rules based on the EAS deployment information corresponding to the provider as an example for illustrative explanation, and this is not limited. For example, SMF can determine DNS processing rules based on existing methods and send them to EASDF; EASDF can process the UE's DNS query request based on the DNS processing rules and the provider's corresponding EAS deployment information.

还可以理解,在上述一些实施例中,多次提及发送消息。以A向B发送消息为例,A向B发送消息,可以包括A直接向B发送消息,也可以包括A通过其他设备或网元向B发送消息,对此不予限制。It can also be understood that in some of the above embodiments, sending messages is mentioned multiple times. Take A sending a message to B as an example. A sending a message to B can include A sending a message directly to B, or it can include A sending a message to B through other devices or network elements. There is no restriction on this.

还可以理解,在上述一些实施例中,多次提及EAS IP或FQDN,EAS IP可替换为EASIP范围(EAS IP range),FQDN可替换为FQDN range。It can also be understood that in some of the above embodiments, EAS IP or FQDN are mentioned multiple times, EAS IP can be replaced by EAS IP range (EAS IP range), and FQDN can be replaced by FQDN range.

还可以理解,在上述一些实施例中,以UE订阅的ECSP为例进行示例性说明,对此不予限制。例如,UE订阅的ECSP也可以替换为VPLMN中对应的全部或部分第三方ECSP。It can also be understood that in some of the above embodiments, the ECSP subscribed by the UE is used as an example for illustrative description, and this is not limited. For example, the ECSP subscribed by the UE can also be replaced with all or part of the corresponding third-party ECSP in the VPLMN.

还可以理解,在上述一些实施例中,各个网元(如SMF、AMF、NEF等)主要以5G系统中的命名为例进行示例性说明。本申请并不排除在6G网络以及未来其它的网络中采用其他命名的可能。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能采用其他名称等。It can also be understood that in some of the above embodiments, each network element (such as SMF, AMF, NEF, etc.) is mainly explained by taking the naming in the 5G system as an example. This application does not rule out the possibility of using other naming in 6G networks and other networks in the future. For example, in a 6G network, some or all of the above network elements may use the terminology used in 5G, or may adopt other names.

还可以理解,本申请的各实施例中的一些可选的特征,在某些场景下,可以不依赖于其他特征,也可以在某些场景下,与其他特征进行结合,不作限定。It can also be understood that some optional features in the embodiments of the present application may not depend on other features in certain scenarios, or may be combined with other features in certain scenarios without limitation.

还可以理解,本申请的各实施例中的方案可以进行合理的组合使用,并且实施例中出现的各个术语的解释或说明可以在各个实施例中互相参考或解释,对此不作限定。It can also be understood that the solutions in the various embodiments of the present application can be used in reasonable combinations, and the explanations or descriptions of various terms appearing in the embodiments can be referred to or interpreted in each embodiment, without limitation.

还可以理解,在本申请的各实施例中的各种数字序号的大小并不意味着执行顺序的先后,仅为描述方便进行的区分,不应对本申请实施例的实施过程构成任何限定。It can also be understood that the sizes of various numerical serial numbers in the embodiments of the present application do not mean the order of execution, but are only distinctions for convenience of description, and should not constitute any limitation on the implementation process of the embodiments of the present application.

还可以理解,上述各个方法实施例中,由设备实现的方法和操作,也可以由可由设备的组成部件(例如芯片或者电路)来实现。It can also be understood that in each of the above method embodiments, the methods and operations implemented by the device can also be implemented by components of the device (such as chips or circuits).

相应于上述各方法实施例给出的方法,本申请实施例还提供了相应的装置,所述装置包括用于执行上述各个方法实施例相应的模块。该模块可以是软件,也可以是硬件,或者是软件和硬件结合。可以理解的是,上述各方法实施例所描述的技术特征同样适用于以下装置实施例。Corresponding to the methods provided in the above method embodiments, embodiments of the present application also provide corresponding devices, and the devices include modules for executing corresponding modules in each of the above method embodiments. The module can be software, hardware, or a combination of software and hardware. It can be understood that the technical features described in the above method embodiments are also applicable to the following device embodiments.

图14是本申请实施例提供的一种通信的装置1400的示意图。该装置1400包括收发单元1410和处理单元1420。收发单元1410可以用于实现相应的通信功能。收发单元1410还可以称为通信接口或通信单元。处理单元1420可以用于实现相应的处理功能,如确定DNS处理规则。Figure 14 is a schematic diagram of a communication device 1400 provided by an embodiment of the present application. The device 1400 includes a transceiver unit 1410 and a processing unit 1420. The transceiver unit 1410 may be used to implement corresponding communication functions. The transceiver unit 1410 may also be called a communication interface or communication unit. The processing unit 1420 may be used to implement corresponding processing functions, such as determining DNS processing rules.

可选地,该装置1400还包括存储单元,该存储单元可以用于存储指令和/或数据,处理单元1420可以读取存储单元中的指令和/或数据,以使得装置实现前述各个方法实施例中设备或网元的动作。Optionally, the device 1400 also includes a storage unit, which can be used to store instructions and/or data, and the processing unit 1420 can read the instructions and/or data in the storage unit, so that the device implements each of the foregoing method embodiments. The actions of the equipment or network elements in the network.

在第一种设计中,该装置1400可以是前述实施例中的会话管理网元(如SMF),也可以是会话管理网元的组成部件(如芯片)。该装置1400可实现对应于上文方法实施例中的会话管理网元执行的步骤或者流程,其中,收发单元1410可用于执行上文方法实施例中会话管理网元的收发相关的操作,处理单元1420可用于执行上文方法实施例中会话管理网元的处理相关的操作。In the first design, the device 1400 may be the session management network element (such as SMF) in the previous embodiment, or may be a component of the session management network element (such as a chip). The device 1400 can implement steps or processes corresponding to the execution of the session management network element in the above method embodiment, wherein the transceiver unit 1410 can be used to perform operations related to the transceiver of the session management network element in the above method embodiment, and the processing unit 1420 may be used to perform operations related to processing of the session management network element in the above method embodiment.

一种可能的实现方式,处理单元1420,用于获取提供商信息,提供商是为终端设备提供边缘计算服务的提供商;处理单元1420,用于根据提供商信息和提供商对应的边缘应用服务器EAS部署信息,配置域名服务DNS处理规则,DNS处理规则用于处理终端设备的DNS消息,EAS部署信息是提供商在终端设备的接入网络中对应的EAS部署信息;收发单元1410,用于向边缘应用服务器发现网元发送DNS处理规则。In one possible implementation, the processing unit 1420 is used to obtain provider information. The provider is a provider that provides edge computing services for terminal devices; the processing unit 1420 is used to obtain provider information and the edge application server corresponding to the provider. EAS deployment information configures domain name service DNS processing rules. DNS processing rules are used to process DNS messages of terminal devices. EAS deployment information is the corresponding EAS deployment information of the provider in the access network of the terminal device; the transceiver unit 1410 is used to send The edge application server discovers the network element and sends DNS processing rules.

可选地,处理单元1420,用于根据提供商信息,获取EAS部署信息;或者根据提供商信息和接入网络的信息,获取EAS部署信息。Optionally, the processing unit 1420 is configured to obtain EAS deployment information based on provider information; or obtain EAS deployment information based on provider information and access network information.

示例地,EAS部署信息中包括以下任一项:DNS服务器、ECS option、提供商在接入网络中对应的EAS的地址;其中,DNS服务器上注册的EAS是提供商在接入网络中对应的EAS,ECS option对应的EAS是提供商在接入网络中对应的EAS。For example, the EAS deployment information includes any of the following: DNS server, ECS option, and the address of the EAS corresponding to the provider in the access network; wherein, the EAS registered on the DNS server is the address corresponding to the provider in the access network. EAS, the EAS corresponding to the ECS option is the EAS corresponding to the provider in the access network.

示例地,DNS服务器为部署在归属网络中的服务器,或者,DNS服务器为部署在接入网络中的服务器。For example, the DNS server is a server deployed in the home network, or the DNS server is a server deployed in the access network.

示例地,DNS处理规则包括包括以下任一项:DNS服务器、ECS option、提供商在接入网络中对应的EAS的地址。For example, the DNS processing rules include any of the following: DNS server, ECS option, and the address of the provider's corresponding EAS in the access network.

可选地,处理单元1420,用于执行以下任一项:根据终端设备的归属网络,确定提供商信息;根据终端设备的签约信息,确定提供商信息,其中,终端设备的签约信息中包括提供商的信息;根据提供商提供的终端设备列表中包括终端设备,确定提供商信息;或者,根据提供商与接入网络之间的协议,确定提供商信息。Optionally, the processing unit 1420 is configured to perform any of the following: determine provider information according to the home network of the terminal device; determine provider information according to the contract information of the terminal device, wherein the contract information of the terminal device includes providing Provider information; determine provider information based on the terminal equipment included in the terminal equipment list provided by the provider; or determine provider information based on the agreement between the provider and the access network.

示例地,接入网络为终端设备的拜访网络,提供商为终端设备的归属网络。For example, the access network is the visited network of the terminal device, and the provider is the home network of the terminal device.

示例地,提供商为以下任一项:EAS的提供者、边缘主机环境EHE的提供者、或边缘数据网络EDN的提供者。For example, the provider is any one of the following: a provider of EAS, a provider of edge host environment EHE, or a provider of edge data network EDN.

在第二种设计中,该装置1400可以是前述实施例中的边缘应用服务器发现网元(如EASDF),也可以是边缘应用服务器发现网元的组成部件(如芯片)。该装置1400可实现对应于上文方法实施例中的边缘应用服务器发现网元执行的步骤或者流程,其中,收发单元1410可用于执行上文方法实施例中边缘应用服务器发现网元的收发相关的操作,处理单元1420可用于执行上文方法实施例中边缘应用服务器发现网元的处理相关的操作。In the second design, the device 1400 may be the edge application server discovery network element (such as EASDF) in the previous embodiment, or may be a component (such as a chip) of the edge application server discovery network element. The device 1400 can implement steps or processes corresponding to the execution of the edge application server discovering the network element in the above method embodiment, wherein the transceiver unit 1410 can be used to perform the transceiver related to the edge application server discovering the network element in the above method embodiment. In operation, the processing unit 1420 may be configured to perform operations related to the processing of the edge application server discovering network elements in the above method embodiment.

一种可能的实现方式,收发单元1410,用于接收来自终端设备的域名服务DNS查询消息;处理单元1420,用于根据DNS处理规则,处理DNS查询消息;其中,DNS处理规则是根据为终端设备提供边缘计算服务的提供商对应的边缘应用服务器EAS部署信息确定的,EAS部署信息是提供商在终端设备的接入网络中的EAS部署信息。In one possible implementation, the transceiver unit 1410 is used to receive the domain name service DNS query message from the terminal device; the processing unit 1420 is used to process the DNS query message according to the DNS processing rules; wherein the DNS processing rules are based on the terminal device. The EAS deployment information of the edge application server corresponding to the provider that provides edge computing services is determined. The EAS deployment information is the EAS deployment information of the provider in the access network of the terminal device.

示例地,EAS部署信息是根据提供商信息确定的;或者,EAS部署信息是根据提供商信息和接入网络的信息确定的。For example, the EAS deployment information is determined based on provider information; or, the EAS deployment information is determined based on provider information and access network information.

示例地,EAS部署信息中包括以下至少一项:DNS服务器、ECS option、提供商在接入网络中对应的EAS的地址;其中,DNS服务器上注册的EAS是提供商在接入网络中对应的EAS,ECS option对应的EAS是提供商在接入网络中对应的EAS。For example, the EAS deployment information includes at least one of the following: DNS server, ECS option, and the address of the EAS corresponding to the provider in the access network; wherein, the EAS registered on the DNS server is the address of the provider's corresponding EAS in the access network. EAS, the EAS corresponding to the ECS option is the EAS corresponding to the provider in the access network.

示例地,DNS服务器为部署在归属网络中的服务器,或者,DNS服务器为部署在接入网络中的服务器。For example, the DNS server is a server deployed in the home network, or the DNS server is a server deployed in the access network.

可选地,EAS部署信息中包括DNS服务器的信息,DNS处理规则包括DNS服务器的信息,收发单元1410,用于向DNS服务器发送DNS查询消息。Optionally, the EAS deployment information includes DNS server information, the DNS processing rules include DNS server information, and the transceiver unit 1410 is configured to send a DNS query message to the DNS server.

可选地,DNS服务器为部署在归属网络中的服务器,处理单元1420,用于根据DNS处理规则,在DNS查询消息中添加ECS option;收发单元1410,用于向DNS服务器发送包含ECSoption的DNS查询消息。Optionally, the DNS server is a server deployed in the home network. The processing unit 1420 is used to add the ECS option to the DNS query message according to the DNS processing rules; the transceiver unit 1410 is used to send a DNS query containing the ECS option to the DNS server. information.

可选地,EAS部署信息中包括提供商在接入网络中对应的EAS的地址,DNS处理规则包括提供商在接入网络中对应的EAS的地址,处理单元1420,用于根据DNS处理规则,获取至少一个EAS的地址;生成DNS查询消息的响应消息,响应消息中包括至少一个EAS的地址中的部分或全部EAS地址,其中,部分或全部EAS地址是根据提供商在接入网络中对应的EAS确定的。Optionally, the EAS deployment information includes the address of the provider's corresponding EAS in the access network, and the DNS processing rules include the address of the provider's corresponding EAS in the access network. The processing unit 1420 is configured to, according to the DNS processing rules, Obtain the address of at least one EAS; generate a response message of the DNS query message, the response message includes part or all of the EAS address in the address of at least one EAS, wherein part or all of the EAS address is corresponding to the provider in the access network EAS determined.

可选地,EAS部署信息中包括ECS option,DNS处理规则包括ECS option的信息,处理单元1420,用于在DNS查询消息中添加ECS option。Optionally, the EAS deployment information includes the ECS option, the DNS processing rules include the ECS option information, and the processing unit 1420 is configured to add the ECS option in the DNS query message.

可选地,收发单元1410,用于从会话管理网元接收DNS处理规则。Optionally, the transceiving unit 1410 is configured to receive DNS processing rules from the session management network element.

示例地,提供商为以下任一项:EAS的提供者、边缘主机环境EHE的提供者、边缘数据网络EDN的提供者。For example, the provider is any one of the following: a provider of EAS, a provider of edge host environment EHE, or a provider of edge data network EDN.

应理解,各单元执行上述相应步骤的具体过程在上述各方法实施例中已经详细说明,为了简洁,在此不再赘述。It should be understood that the specific process of each unit performing the above corresponding steps has been described in detail in each of the above method embodiments, and will not be described again for the sake of brevity.

还应理解,这里的装置1400以功能单元的形式体现。这里的术语“单元”可以指应用特有集成电路(application specific integrated circuit,ASIC)、电子电路、用于执行一个或多个软件或固件程序的处理器(例如共享处理器、专有处理器或组处理器等)和存储器、合并逻辑电路和/或其它支持所描述的功能的合适组件。在一个可选例子中,本领域技术人员可以理解,装置1400可以具体为上述实施例中的会话管理网元,可以用于执行上述各方法实施例中与会话管理网元对应的各个流程和/或步骤;或者,装置1400可以具体为上述实施例中的数据管理网元,可以用于执行上述各方法实施例中与数据管理网元对应的各个流程和/或步骤;或者,装置1400可以具体为上述实施例中的应用网元,可以用于执行上述各方法实施例中与应用网元对应的各个流程和/或步骤;或者,装置1400可以具体为上述实施例中的边缘应用服务器发现网元,可以用于执行上述各方法实施例中与边缘应用服务器发现网元对应的各个流程和/或步骤,为避免重复,在此不再赘述。It should also be understood that the device 1400 here is embodied in the form of a functional unit. The term "unit" as used herein may refer to an application specific integrated circuit (ASIC), an electronic circuit, a processor for executing one or more software or firmware programs (e.g., a shared processor, a dedicated processor, or a group of processors). processor, etc.) and memory, merged logic circuitry, and/or other suitable components to support the described functionality. In an optional example, those skilled in the art can understand that the device 1400 can be specifically the session management network element in the above embodiments, and can be used to execute various processes corresponding to the session management network element in the above method embodiments and/or or steps; or, the device 1400 can be specifically the data management network element in the above embodiments, and can be used to execute various processes and/or steps corresponding to the data management network element in the above method embodiments; or the device 1400 can be specifically It is the application network element in the above embodiment, and can be used to execute various processes and/or steps corresponding to the application network element in the above method embodiments; or, the device 1400 can be specifically the edge application server discovery network in the above embodiment. The element can be used to execute each process and/or step corresponding to the edge application server discovering the network element in each of the above method embodiments. To avoid duplication, the details are not repeated here.

上述各个方案的装置1400具有实现上述方法中网元(如会话管理网元,或数据管理网元,或应用网元,或边缘应用服务器发现网元)所执行的相应步骤的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块;例如收发单元可以由收发机替代(例如,收发单元中的发送单元可以由发送机替代,收发单元中的接收单元可以由接收机替代),其它单元,如处理单元等可以由处理器替代,分别执行各个方法实施例中的收发操作以及相关的处理操作。The device 1400 of each of the above solutions has the function of implementing corresponding steps performed by network elements (such as session management network elements, or data management network elements, or application network elements, or edge application server discovery network elements) in the above methods. The functions described can be implemented by hardware, or can be implemented by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions; for example, the transceiver unit can be replaced by a transceiver (for example, the sending unit in the transceiver unit can be replaced by a transmitter, and the receiving unit in the transceiver unit can be replaced by a receiving unit. (machine replacement), other units, such as processing units, etc., can be replaced by processors to respectively perform the sending and receiving operations and related processing operations in each method embodiment.

此外,上述收发单元1410还可以是收发电路(例如可以包括接收电路和发送电路),处理单元可以是处理电路。In addition, the above-mentioned transceiver unit 1410 may also be a transceiver circuit (for example, it may include a receiving circuit and a transmitting circuit), and the processing unit may be a processing circuit.

需要指出的是,图14中的装置可以是前述实施例中的网元或设备,也可以是芯片或者芯片系统,例如:片上系统(system on chip,SoC)。其中,收发单元可以是输入输出电路、通信接口;处理单元为该芯片上集成的处理器或者微处理器或者集成电路。在此不做限定。It should be noted that the device in Figure 14 may be the network element or device in the aforementioned embodiment, or it may be a chip or a chip system, such as a system on chip (SoC). The transceiver unit may be an input-output circuit or a communication interface; the processing unit may be a processor, microprocessor, or integrated circuit integrated on the chip. No limitation is made here.

图15是本申请实施例提供另一种通信的装置1500的示意图。该装置1500包括处理器1510,处理器1510用于执行存储器1520存储的计算机程序或指令,或读取存储器1520存储的数据/信令,以执行上文各方法实施例中的方法。可选地,处理器1510为一个或多个。Figure 15 is a schematic diagram of a device 1500 that provides another type of communication according to an embodiment of the present application. The device 1500 includes a processor 1510. The processor 1510 is configured to execute computer programs or instructions stored in the memory 1520, or read data/signaling stored in the memory 1520, to perform the methods in each of the above method embodiments. Optionally, there are one or more processors 1510 .

可选地,如图15所示,该装置1500还包括存储器1520,存储器1520用于存储计算机程序或指令和/或数据。该存储器1520可以与处理器1510集成在一起,或者也可以分离设置。可选地,存储器1520为一个或多个。Optionally, as shown in Figure 15, the device 1500 further includes a memory 1520, which is used to store computer programs or instructions and/or data. The memory 1520 may be integrated with the processor 1510, or may be provided separately. Optionally, there are one or more memories 1520.

可选地,如图15所示,该装置1500还包括收发器1530,收发器1530用于信号的接收和/或发送。例如,处理器1510用于控制收发器1530进行信号的接收和/或发送。Optionally, as shown in Figure 15, the device 1500 also includes a transceiver 1530, which is used for receiving and/or transmitting signals. For example, the processor 1510 is used to control the transceiver 1530 to receive and/or transmit signals.

作为一种方案,该装置1500用于实现上文各个方法实施例中由会话管理网元执行的操作。As a solution, the device 1500 is used to implement the operations performed by the session management network element in each of the above method embodiments.

例如,处理器1510用于执行存储器1520存储的计算机程序或指令,以实现上文各个方法实施例中会话管理网元的相关操作。例如,图5所示实施例中的会话管理网元执行的方法,或图9至图13中任意一个所示实施例中的SMF执行的方法。For example, the processor 1510 is configured to execute computer programs or instructions stored in the memory 1520 to implement related operations of the session management network element in each of the above method embodiments. For example, the method executed by the session management network element in the embodiment shown in FIG. 5, or the method executed by the SMF in any one of the embodiments shown in FIGS. 9 to 13.

作为另一种方案,该装置1500用于实现上文各个方法实施例中由应用网元执行的操作。As another solution, the device 1500 is used to implement the operations performed by the application network element in each of the above method embodiments.

例如,处理器1510用于执行存储器1520存储的计算机程序或指令,以实现上文各个方法实施例中应用网元的相关操作。例如,图5所示实施例中的应用网元执行的方法,或图9至图13中任意一个所示实施例中的AF执行的方法。For example, the processor 1510 is used to execute computer programs or instructions stored in the memory 1520 to implement related operations of the application network elements in each of the above method embodiments. For example, the method executed by the application network element in the embodiment shown in FIG. 5, or the method executed by AF in any one of the embodiments shown in FIGS. 9 to 13.

作为另一种方案,该装置1500用于实现上文各个方法实施例中由数据管理网元执行的操作。As another solution, the device 1500 is used to implement the operations performed by the data management network element in each of the above method embodiments.

例如,处理器1510用于执行存储器1520存储的计算机程序或指令,以实现上文各个方法实施例中数据管理网元的相关操作。例如,图5所示实施例中的数据管理网元执行的方法,或图9至图13中任意一个所示实施例中的UDR执行的方法。For example, the processor 1510 is used to execute computer programs or instructions stored in the memory 1520 to implement related operations of the data management network element in each of the above method embodiments. For example, the method performed by the data management network element in the embodiment shown in Figure 5, or the method performed by the UDR in any of the embodiments shown in Figures 9 to 13.

作为另一种方案,该装置1500用于实现上文各个方法实施例中由边缘应用服务器发现网元执行的操作。As another solution, the device 1500 is used to implement the operations performed by the edge application server to discover network elements in each of the above method embodiments.

例如,处理器1510用于执行存储器1520存储的计算机程序或指令,以实现上文各个方法实施例中边缘应用服务器发现网元的相关操作。例如,图5所示实施例中的边缘应用服务器发现网元执行的方法,或图9至图13中任意一个所示实施例中的EASDF执行的方法。For example, the processor 1510 is used to execute computer programs or instructions stored in the memory 1520 to implement related operations of the edge application server discovering network elements in each of the above method embodiments. For example, the method executed by the edge application server in the embodiment shown in FIG. 5 to discover network elements, or the method executed by the EASDF in any one of the embodiments shown in FIGS. 9 to 13 .

应理解,本申请实施例中提及的处理器可以是中央处理单元(centralprocessing unit,CPU),还可以是其他通用处理器、数字信号处理器(digital signalprocessor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that the processor mentioned in the embodiments of this application may be a central processing unit (CPU), or other general-purpose processor, digital signal processor (DSP), application specific integrated circuit (Application Specific Integrated Circuit). integrated circuit (ASIC), ready-made field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

还应理解,本申请实施例中提及的存储器可以是易失性存储器和/或非易失性存储器。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。例如,RAM可以用作外部高速缓存。作为示例而非限定,RAM包括如下多种形式:静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlinkDRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。It should also be understood that the memory mentioned in the embodiments of the present application may be a volatile memory and/or a non-volatile memory. Among them, the non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory. Volatile memory may be random access memory (RAM). For example, RAM can be used as an external cache. By way of example and not limitation, RAM includes the following forms: static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), Double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synchlinkDRAM, SLDRAM) and direct memory Bus random access memory (direct rambus RAM, DR RAM).

需要说明的是,当处理器为通用处理器、DSP、ASIC、FPGA或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件时,存储器(存储模块)可以集成在处理器中。It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) can be integrated in the processor.

还需要说明的是,本文描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should also be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.

图16是本申请实施例提供一种芯片系统1600的示意图。该芯片系统1600(或者也可以称为处理系统)包括逻辑电路1610以及输入/输出接口(input/output interface)1620。FIG. 16 is a schematic diagram of a chip system 1600 provided by an embodiment of the present application. The chip system 1600 (or can also be called a processing system) includes a logic circuit 1610 and an input/output interface 1620.

其中,逻辑电路1610可以为芯片系统1600中的处理电路。逻辑电路1610可以耦合连接存储单元,调用存储单元中的指令,使得芯片系统1600可以实现本申请各实施例的方法和功能。输入/输出接口1620,可以为芯片系统1600中的输入输出电路,将芯片系统1600处理好的信息输出,或将待处理的数据或信令信息输入芯片系统1600进行处理。The logic circuit 1610 may be a processing circuit in the chip system 1600 . The logic circuit 1610 can be coupled to the memory unit and call instructions in the memory unit, so that the chip system 1600 can implement the methods and functions of various embodiments of the present application. The input/output interface 1620 can be an input/output circuit in the chip system 1600, which outputs information processed by the chip system 1600, or inputs data or signaling information to be processed into the chip system 1600 for processing.

具体地,例如,若SMF安装了该芯片系统1600,逻辑电路1610与输入/输出接口1620耦合,逻辑电路1610可通过输入/输出接口1620发送DNS处理规则,该DNS处理规则可以为逻辑电路1610生成;或者输入/输出接口1620可将来自NEF的EAS部署信息输入至逻辑电路1610进行处理。Specifically, for example, if the SMF is installed with the chip system 1600, the logic circuit 1610 is coupled to the input/output interface 1620, the logic circuit 1610 can send a DNS processing rule through the input/output interface 1620, and the DNS processing rule can be generated for the logic circuit 1610 ; Or the input/output interface 1620 can input the EAS deployment information from the NEF to the logic circuit 1610 for processing.

作为一种方案,该芯片系统1600用于实现上文各个方法实施例中由会话管理网元执行的操作。As a solution, the chip system 1600 is used to implement the operations performed by the session management network element in each of the above method embodiments.

例如,逻辑电路1610用于实现上文方法实施例中由会话管理网元执行的处理相关的操作,如,图5所示实施例中的会话管理网元执行的处理相关的操作,或图9至图13中任意一个所示实施例中的SMF执行的处理相关的操作;输入/输出接口1620用于实现上文方法实施例中由会话管理网元执行的发送和/或接收相关的操作,如,图5所示实施例中的会话管理网元执行的发送和/或接收相关的操作,或图9至图13中任意一个所示实施例中的SMF执行的发送和/或接收相关的操作。For example, the logic circuit 1610 is used to implement processing-related operations performed by the session management network element in the above method embodiment, such as processing-related operations performed by the session management network element in the embodiment shown in Figure 5, or Figure 9 To the processing related operations performed by the SMF in any embodiment shown in Figure 13; the input/output interface 1620 is used to implement the sending and/or receiving related operations performed by the session management network element in the above method embodiment, For example, the sending and/or receiving related operations performed by the session management network element in the embodiment shown in Figure 5, or the sending and/or receiving related operations performed by the SMF in any of the embodiments shown in Figures 9 to 13. operate.

作为另一种方案,该芯片系统1600用于实现上文各个方法实施例中由应用网元执行的操作。As another solution, the chip system 1600 is used to implement the operations performed by the application network element in each of the above method embodiments.

例如,逻辑电路1610用于实现上文方法实施例中由应用网元执行的处理相关的操作,如,图5所示实施例中的应用网元执行的处理相关的操作,或图9至图13中任意一个所示实施例中的AF执行的处理相关的操作;输入/输出接口1620用于实现上文方法实施例中由应用网元执行的发送和/或接收相关的操作,如,图5所示实施例中的应用网元执行的发送和/或接收相关的操作,或图9至图13中任意一个所示实施例中的AF执行的发送和/或接收相关的操作。For example, the logic circuit 1610 is used to implement the processing-related operations performed by the application network element in the above method embodiment, such as the processing-related operations performed by the application network element in the embodiment shown in FIG. 5, or FIG. 9 to FIG. Processing-related operations performed by the AF in any of the embodiments shown in 13; the input/output interface 1620 is used to implement sending and/or reception-related operations performed by the application network element in the above method embodiments, such as, Figure The sending and/or receiving related operations performed by the application network element in the embodiment shown in Figure 5, or the sending and/or receiving related operations performed by the AF in any one of the embodiments shown in Figures 9 to 13.

作为另一种方案,该芯片系统1600用于实现上文各个方法实施例中由数据管理网元执行的操作。As another solution, the chip system 1600 is used to implement the operations performed by the data management network element in each of the above method embodiments.

例如,逻辑电路1610用于实现上文方法实施例中由数据管理网元执行的处理相关的操作,如,图5所示实施例中的数据管理网元执行的处理相关的操作,或图9至图13中任意一个所示实施例中的UDR执行的处理相关的操作;输入/输出接口1620用于实现上文方法实施例中由数据管理网元执行的发送和/或接收相关的操作,如,图5所示实施例中的数据管理网元执行的发送和/或接收相关的操作,或图9至图13中任意一个所示实施例中的UDR执行的发送和/或接收相关的操作。For example, the logic circuit 1610 is used to implement processing-related operations performed by the data management network element in the above method embodiment, such as processing-related operations performed by the data management network element in the embodiment shown in Figure 5, or Figure 9 to the processing related operations performed by the UDR in any embodiment shown in Figure 13; the input/output interface 1620 is used to implement the sending and/or receiving related operations performed by the data management network element in the above method embodiment, For example, the sending and/or receiving related operations performed by the data management network element in the embodiment shown in Figure 5, or the sending and/or receiving related operations performed by the UDR in any of the embodiments shown in Figures 9 to 13. operate.

作为另一种方案,该芯片系统1600用于实现上文各个方法实施例中由边缘应用服务器发现网元执行的操作。As another solution, the chip system 1600 is used to implement the operations performed by the edge application server to discover network elements in each of the above method embodiments.

例如,逻辑电路1610用于实现上文方法实施例中由边缘应用服务器发现网元执行的处理相关的操作,如,图5所示实施例中的边缘应用服务器发现网元执行的处理相关的操作,或图9至图13中任意一个所示实施例中的EASDF执行的处理相关的操作;输入/输出接口1620用于实现上文方法实施例中由边缘应用服务器发现网元执行的发送和/或接收相关的操作,如,图5所示实施例中的边缘应用服务器发现网元执行的发送和/或接收相关的操作,或图9至图13中任意一个所示实施例中的EASDF执行的发送和/或接收相关的操作。For example, the logic circuit 1610 is used to implement the processing-related operations performed by the edge application server to discover the network element in the above method embodiment, such as the processing-related operations performed by the edge application server to discover the network element in the embodiment shown in Figure 5 , or processing-related operations performed by the EASDF in any of the embodiments shown in Figures 9 to 13; the input/output interface 1620 is used to implement the sending and/or execution of the discovery network element by the edge application server in the above method embodiment. Or receive related operations, such as the sending and/or receiving related operations performed by the edge application server in the embodiment shown in Figure 5 to discover the network element, or the EASDF performed in any of the embodiments shown in Figures 9 to 13 Send and/or receive related operations.

本申请实施例还提供一种计算机可读存储介质,其上存储有用于实现上述各方法实施例中由网元执行的方法的计算机指令。Embodiments of the present application also provide a computer-readable storage medium on which are stored computer instructions for implementing the methods executed by network elements in each of the above method embodiments.

例如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法各实施例中由会话管理网元执行的方法。For example, when the computer program is executed by a computer, the computer can implement the method executed by the session management network element in each embodiment of the above method.

又如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法各实施例中由应用网元执行的方法。For another example, when the computer program is executed by a computer, the computer can implement the method executed by the application network element in each embodiment of the above method.

又如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法各实施例中由数据管理网元执行的方法。For another example, when the computer program is executed by a computer, the computer can implement the method executed by the data management network element in each embodiment of the above method.

又如,该计算机程序被计算机执行时,使得该计算机可以实现上述方法各实施例中由边缘应用服务器发现网元执行的方法。For another example, when the computer program is executed by a computer, the computer can implement the method executed by the edge application server to discover network elements in each embodiment of the above method.

本申请实施例还提供一种计算机程序产品,包含指令,该指令被计算机执行时以实现上述各方法实施例中由网元(如会话管理网元,或应用网元,或数据管理网元,或边缘应用服务器发现网元)执行的方法。Embodiments of the present application also provide a computer program product, which includes instructions. When the instructions are executed by a computer, the instructions are implemented by a network element (such as a session management network element, or an application network element, or a data management network element, Or the edge application server discovers the network element) execution method.

本申请实施例还提供一种通信的系统,包括前述的会话管理网元、应用网元、数据管理网元、或边缘应用服务器发现网元中的一个或多个。可选地,该系统中还包括与上述一个或多个网元通信的设备。例如,该系统中还可以包括以下至少一项:终端设备、NEF等。An embodiment of the present application also provides a communication system, including one or more of the aforementioned session management network elements, application network elements, data management network elements, or edge application server discovery network elements. Optionally, the system also includes a device that communicates with one or more of the above network elements. For example, the system may also include at least one of the following: terminal equipment, NEF, etc.

上述提供的任一种装置中相关内容的解释及有益效果均可参考上文提供的对应的方法实施例,此处不再赘述。For explanations of relevant content and beneficial effects of any of the devices provided above, please refer to the corresponding method embodiments provided above, and will not be described again here.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。此外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, 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. For example, multiple units or components may be combined or can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, and the indirect coupling or communication connection of the devices or units may be in electrical, mechanical or other forms.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。例如,所述计算机可以是个人计算机,服务器,或者网络设备等。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD)等。例如,前述的可用介质包括但不限于:U盘、移动硬盘、只读存储器(read-onlymemory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. For example, the computer may be a personal computer, a server, or a network device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, e.g., the computer instructions may be transferred from a website, computer, server, or data center Transmission to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains one or more available media integrated. The available media may be magnetic media (such as floppy disks, hard disks, magnetic tapes), optical media (such as DVDs), or semiconductor media (such as solid state disks (SSD)). For example, the aforementioned available media include but Not limited to: U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code.

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

Claims (23)

Translated fromChinese
1.一种通信的方法,其特征在于,包括:1. A communication method, characterized by including:会话管理网元获取提供商信息,所述提供商是为终端设备提供边缘计算服务的提供商;The session management network element obtains provider information, and the provider is a provider that provides edge computing services for terminal devices;所述会话管理网元根据所述提供商信息和所述提供商对应的边缘应用服务器EAS部署信息,配置域名服务DNS处理规则,所述DNS处理规则用于处理所述终端设备的DNS消息,所述EAS部署信息是所述提供商在所述终端设备的接入网络中对应的EAS部署信息;The session management network element configures domain name service DNS processing rules according to the provider information and the edge application server EAS deployment information corresponding to the provider. The DNS processing rules are used to process DNS messages of the terminal device, so The EAS deployment information is the EAS deployment information corresponding to the provider in the access network of the terminal device;所述会话管理网元向边缘应用服务器发现网元发送所述DNS处理规则。The session management network element sends the DNS processing rule to the edge application server discovery network element.2.根据权利要求1所述的方法,其特征在于,所述方法还包括:2. The method according to claim 1, characterized in that, the method further comprises:所述会话管理网元根据所述提供商信息,获取所述EAS部署信息;或者,The session management network element obtains the EAS deployment information according to the provider information; or,所述会话管理网元根据所述提供商信息和所述接入网络的信息,获取所述EAS部署信息。The session management network element obtains the EAS deployment information based on the provider information and the access network information.3.根据权利要求1或2所述的方法,其特征在于,所述EAS部署信息中包括以下任一项:DNS服务器、ECS option、所述提供商在所述接入网络中对应的EAS的地址;3. The method according to claim 1 or 2, characterized in that the EAS deployment information includes any of the following: DNS server, ECS option, EAS corresponding to the provider in the access network. address;其中,所述DNS服务器上注册的EAS是所述提供商在所述接入网络中对应的EAS,所述ECS option对应的EAS是所述提供商在所述接入网络中对应的EAS。The EAS registered on the DNS server is the EAS corresponding to the provider in the access network, and the EAS corresponding to the ECS option is the EAS corresponding to the provider in the access network.4.根据权利要求3所述的方法,其特征在于,所述DNS服务器为部署在归属网络中的服务器,或者,所述DNS服务器为部署在所述接入网络中的服务器。4. The method according to claim 3, wherein the DNS server is a server deployed in the home network, or the DNS server is a server deployed in the access network.5.根据权利要求3或4所述的方法,其特征在于,所述DNS处理规则包括包括以下任一项:DNS服务器、ECS option、所述提供商在所述接入网络中对应的EAS的地址。5. The method according to claim 3 or 4, characterized in that the DNS processing rules include any one of the following: DNS server, ECS option, EAS corresponding to the provider in the access network. address.6.根据权利要求1至5中任一项所述的方法,其特征在于,所述会话管理网元获取提供商信息,包括以下任一项:6. The method according to any one of claims 1 to 5, characterized in that the session management network element obtains provider information, including any of the following:所述会话管理网元根据所述终端设备的归属网络,确定所述提供商信息;The session management network element determines the provider information according to the home network of the terminal device;所述会话管理网元根据所述终端设备的签约信息,确定所述提供商信息,其中,所述终端设备的签约信息中包括所述提供商的信息;The session management network element determines the provider information based on the subscription information of the terminal device, where the subscription information of the terminal device includes the information of the provider;所述会话管理网元根据所述提供商提供的终端设备列表中包括所述终端设备,确定所述提供商信息;或者,The session management network element determines the provider information based on the terminal device included in the terminal device list provided by the provider; or,所述会话管理网元根据所述提供商与所述接入网络之间的协议,确定所述提供商信息。The session management network element determines the provider information according to the agreement between the provider and the access network.7.根据权利要求1至6中任一项所述的方法,其特征在于,所述接入网络为所述终端设备的拜访网络,所述提供商为所述终端设备的归属网络。7. The method according to any one of claims 1 to 6, wherein the access network is a visited network of the terminal device, and the provider is a home network of the terminal device.8.根据权利要求1至7中任一项所述的方法,其特征在于,所述提供商为以下任一项:EAS的提供者、边缘主机环境EHE的提供者、或边缘数据网络EDN的提供者。8. The method according to any one of claims 1 to 7, characterized in that the provider is any one of the following: a provider of EAS, a provider of edge host environment EHE, or an edge data network EDN. provider.9.一种通信的方法,其特征在于,包括:9. A communication method, characterized by including:边缘应用服务器发现网元接收来自终端设备的域名服务DNS查询消息;The edge application server discovers that the network element receives the domain name service DNS query message from the terminal device;所述边缘应用服务器发现网元根据DNS处理规则,处理所述DNS查询消息;The edge application server discovers that the network element processes the DNS query message according to DNS processing rules;其中,所述DNS处理规则是根据为所述终端设备提供边缘计算服务的提供商对应的边缘应用服务器EAS部署信息确定的,所述EAS部署信息是所述提供商在所述终端设备的接入网络中的EAS部署信息。Wherein, the DNS processing rules are determined based on the edge application server EAS deployment information corresponding to the provider that provides edge computing services for the terminal device. The EAS deployment information is the provider's access to the terminal device. EAS deployment information in the network.10.根据权利要求9所述的方法,其特征在于,所述EAS部署信息是根据所述提供商信息确定的;或者,所述EAS部署信息是根据所述提供商信息和所述接入网络的信息确定的。10. The method of claim 9, wherein the EAS deployment information is determined based on the provider information; or, the EAS deployment information is determined based on the provider information and the access network The information is confirmed.11.根据权利要求9或10所述的方法,其特征在于,所述EAS部署信息中包括以下至少一项:11. The method according to claim 9 or 10, characterized in that the EAS deployment information includes at least one of the following:DNS服务器、ECS option、所述提供商在所述接入网络中对应的EAS的地址;DNS server, ECS option, and the address of the EAS corresponding to the provider in the access network;其中,所述DNS服务器上注册的EAS是所述提供商在所述接入网络中对应的EAS,所述ECS option对应的EAS是所述提供商在所述接入网络中对应的EAS。The EAS registered on the DNS server is the EAS corresponding to the provider in the access network, and the EAS corresponding to the ECS option is the EAS corresponding to the provider in the access network.12.根据权利要求10所述的方法,其特征在于,所述DNS服务器为部署在归属网络中的服务器,或者,所述DNS服务器为部署在所述接入网络中的服务器。12. The method according to claim 10, wherein the DNS server is a server deployed in the home network, or the DNS server is a server deployed in the access network.13.根据权利要求11或12所述的方法,其特征在于,所述EAS部署信息中包括所述DNS服务器的信息,所述DNS处理规则包括所述DNS服务器的信息,13. The method according to claim 11 or 12, characterized in that the EAS deployment information includes the information of the DNS server, and the DNS processing rules include the information of the DNS server,所述边缘应用服务器发现网元根据DNS处理规则,处理所述DNS查询消息,包括:The edge application server discovers that the network element processes the DNS query message according to DNS processing rules, including:所述边缘应用服务器发现网元向所述DNS服务器发送所述DNS查询消息。The edge application server discovers that the network element sends the DNS query message to the DNS server.14.根据权利要求13所述的方法,其特征在于,所述DNS服务器为部署在所述归属网络中的服务器,14. The method of claim 13, wherein the DNS server is a server deployed in the home network,所述边缘应用服务器发现网元根据DNS处理规则,处理所述DNS查询消息,还包括:The edge application server discovers that the network element processes the DNS query message according to the DNS processing rules, which also includes:所述边缘应用服务器发现网元根据所述DNS处理规则,在所述DNS查询消息中添加ECSoption;The edge application server discovers that the network element adds ECSoption to the DNS query message according to the DNS processing rules;所述边缘应用服务器发现网元向所述DNS服务器发送所述DNS查询消息,包括:The edge application server discovers that the network element sends the DNS query message to the DNS server, including:所述边缘应用服务器发现网元向所述DNS服务器发送包含所述ECS option的DNS查询消息。The edge application server discovers that the network element sends a DNS query message containing the ECS option to the DNS server.15.根据权利要求11所述的方法,其特征在于,所述EAS部署信息中包括所述提供商在所述接入网络中对应的EAS的地址,所述DNS处理规则包括所述提供商在所述接入网络中对应的EAS的地址,15. The method according to claim 11, characterized in that the EAS deployment information includes the address of the EAS corresponding to the provider in the access network, and the DNS processing rule includes the address of the provider in the access network. The address of the corresponding EAS in the access network,所述边缘应用服务器发现网元根据DNS处理规则,处理所述DNS查询消息,包括:The edge application server discovers that the network element processes the DNS query message according to DNS processing rules, including:所述边缘应用服务器发现网元根据所述DNS处理规则,获取至少一个EAS的地址;The edge application server discovers that the network element obtains the address of at least one EAS according to the DNS processing rules;所述边缘应用服务器发现网元生成所述DNS查询消息的响应消息,所述响应消息中包括所述至少一个EAS的地址中的部分或全部EAS地址,The edge application server discovers that the network element generates a response message for the DNS query message, where the response message includes part or all of the EAS address of the at least one EAS,其中,所述部分或全部EAS地址是根据所述提供商在所述接入网络中对应的EAS确定的。Wherein, some or all of the EAS addresses are determined based on the corresponding EAS of the provider in the access network.16.根据权利要求11至15中任一项所述的方法,其特征在于,所述EAS部署信息中包括所述ECS option,所述DNS处理规则包括所述ECS option的信息,16. The method according to any one of claims 11 to 15, characterized in that the EAS deployment information includes the ECS option, and the DNS processing rules include the information of the ECS option,所述边缘应用服务器发现网元根据DNS处理规则,处理所述DNS查询消息,包括:The edge application server discovers that the network element processes the DNS query message according to DNS processing rules, including:所述边缘应用服务器发现网元在所述DNS查询消息中添加所述ECS option。The edge application server discovers that the network element adds the ECS option in the DNS query message.17.根据权利要求9至16中任一项所述的方法,其特征在于,所述方法还包括:17. The method according to any one of claims 9 to 16, characterized in that the method further comprises:所述边缘应用服务器发现网元从会话管理网元接收所述DNS处理规则。The edge application server discovery network element receives the DNS processing rule from the session management network element.18.根据权利要求9至17中任一项所述的方法,其特征在于,所述提供商为以下任一项:EAS的提供者、边缘主机环境EHE的提供者、边缘数据网络EDN的提供者。18. The method according to any one of claims 9 to 17, characterized in that the provider is any one of the following: a provider of EAS, a provider of edge host environment EHE, or a provider of edge data network EDN. By.19.一种通信的装置,其特征在于,包括:19. A communication device, characterized by comprising:处理器,用于执行存储器中存储的计算机程序,以使得所述装置执行如权利要求1至8中任一项所述的方法,或者以使得所述装置执行如权利要求9至18中任一项所述的方法。A processor, configured to execute a computer program stored in a memory, so that the device performs the method as claimed in any one of claims 1 to 8, or to cause the device to perform the method as claimed in any one of claims 9 to 18. method described in the item.20.根据权利要求19所述的装置,其特征在于,所述装置还包括所述存储器。20. The device of claim 19, further comprising the memory.21.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行如权利要求1至8中任意一项所述的方法,或者以使得所述计算机执行如权利要求9至18中任一项所述的方法。21. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is run on a computer, it causes the computer to execute the instructions in claims 1 to 8 The method according to any one of claims 9 to 18, or to cause the computer to perform the method according to any one of claims 9 to 18.22.一种计算机程序产品,其特征在于,所述计算机程序产品包括用于执行如权利要求1至8中任一项所述的方法的指令,或者,所述计算机程序产品包括用于执行如权利要求9至18中任一项所述的方法的指令。22. A computer program product, characterized in that the computer program product includes instructions for performing the method according to any one of claims 1 to 8, or the computer program product includes instructions for performing Instructions for the method of any one of claims 9 to 18.23.一种通信系统,其特征在于,包括会话管理网元和边缘应用服务器发现网元,23. A communication system, characterized by including a session management network element and an edge application server discovery network element,其中,所述会话管理网元用于执行如权利要求1至8中任一项所述的方法,所述边缘应用服务器发现网元用于执行如权利要求9至18中任一项所述的方法。Wherein, the session management network element is used to perform the method as described in any one of claims 1 to 8, and the edge application server discovery network element is used to perform the method as described in any one of claims 9 to 18. method.
CN202210313165.9A2022-03-282022-03-28 Communication methods and devicesPendingCN116866893A (en)

Priority Applications (2)

Application NumberPriority DateFiling DateTitle
CN202210313165.9ACN116866893A (en)2022-03-282022-03-28 Communication methods and devices
PCT/CN2023/083362WO2023185620A1 (en)2022-03-282023-03-23Communication method and apparatus

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202210313165.9ACN116866893A (en)2022-03-282022-03-28 Communication methods and devices

Publications (1)

Publication NumberPublication Date
CN116866893Atrue CN116866893A (en)2023-10-10

Family

ID=88199220

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202210313165.9APendingCN116866893A (en)2022-03-282022-03-28 Communication methods and devices

Country Status (2)

CountryLink
CN (1)CN116866893A (en)
WO (1)WO2023185620A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2025087067A1 (en)*2023-10-262025-05-01华为技术有限公司Application addressing method, apparatus and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
EP4044557B1 (en)*2019-11-052024-09-25Samsung Electronics Co., Ltd.Device and method for providing information of application server in mobile communication system
CN113572835B (en)*2021-07-212024-02-27腾讯科技(深圳)有限公司Data processing method, network element equipment and readable storage medium
CN113795014B (en)*2021-08-052022-11-18华为技术有限公司Method and device for discovering edge application server
CN114125808B (en)*2021-11-292023-10-27中国联合网络通信集团有限公司 A method and device for discovering edge application servers

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
WO2025087067A1 (en)*2023-10-262025-05-01华为技术有限公司Application addressing method, apparatus and system

Also Published As

Publication numberPublication date
WO2023185620A1 (en)2023-10-05

Similar Documents

PublicationPublication DateTitle
CN112566149B (en)Method for configuring service, communication device and communication system
CN113630749B (en)Method and device for acquiring edge service
CN112584464B (en) Communication method, communication device, and storage medium
CN111465034B (en) Method and communication device for network configuration
CN115884155B (en) Information transmission method and device
WO2023051431A1 (en)Communication method and apparatus
US12425367B2 (en)Communication method and apparatus
EP4401464A1 (en)Communication method and apparatus
WO2022199451A1 (en)Session switching method and apparatus
WO2023160394A1 (en)Communication method and apparatus
CN115707062A (en)Network slice admission control method and device
WO2023116556A1 (en)Session switching method and apparatus
WO2023143212A1 (en)Communication method and apparatus
WO2023124457A1 (en)Method and apparatus for selecting network
WO2023185620A1 (en)Communication method and apparatus
WO2023207958A1 (en)Policy transmission method, and communication apparatus and system
WO2023142717A1 (en)Method and apparatus for determining user equipment route selection policy
WO2023185561A1 (en)Communication method and communication apparatus
WO2024208002A1 (en)Communication method and communication apparatus
WO2023103575A1 (en)Multicast/broadcast communication method and related apparatus
WO2024234190A1 (en)Personal iot network (pin) service rule generation method, and apparatus
WO2023185657A1 (en)Communication method and communication apparatus
WO2023133871A1 (en)Communication method and apparatus
WO2024032041A1 (en)Communication method and communication apparatus
CN117596584A (en) Communication method and communication device

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination

[8]ページ先頭

©2009-2025 Movatter.jp