WO2023151490A1 - 发现边缘服务的方法和装置 - Google Patents

发现边缘服务的方法和装置 Download PDF

Info

Publication number
WO2023151490A1
WO2023151490A1 PCT/CN2023/074060 CN2023074060W WO2023151490A1 WO 2023151490 A1 WO2023151490 A1 WO 2023151490A1 CN 2023074060 W CN2023074060 W CN 2023074060W WO 2023151490 A1 WO2023151490 A1 WO 2023151490A1
Authority
WO
WIPO (PCT)
Prior art keywords
information
network element
application server
terminal device
same
Prior art date
Application number
PCT/CN2023/074060
Other languages
English (en)
French (fr)
Inventor
魏鑫鹏
朱奋勤
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2023151490A1 publication Critical patent/WO2023151490A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/50Service provisioning or reconfiguring
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Definitions

  • the embodiment of the present application relates to the communication field, and more specifically, relates to a method and an apparatus for discovering an edge service.
  • the terminal equipment in order to use edge services, the terminal equipment needs to obtain the edge application server (edge application server, EAS) through the service discovery mechanism based on the domain name system (domain name system, DNS).
  • EASDF edge application server discovery function
  • SMF session management function
  • the SMF network element provides the DNS query request corresponding to the DNS extension mechanism client subnet (EDNS client subnet, ECS) option (ECS option) information to the EASDF network element, EASDF
  • EASDF DNS extension mechanism client subnet
  • ECS DNS extension mechanism client subnet
  • this method can only provide an edge application discovery service for a single terminal device, but for multiple terminal devices accessing the same service, such as multiple terminal devices in an interactive augmented reality (augmented reality, AR) game, this method Unable to meet its low latency requirements.
  • augmented reality augmented reality, AR
  • the embodiment of the present application provides a method and device for discovering edge services, which can connect multiple terminal devices accessing specific services to the same EAS or EAS in the same edge network, so as to reduce the interaction delay between multiple terminal devices .
  • a method for discovering an edge service is provided, and the execution subject of the method may be a first network element or a chip applied to the first network element.
  • the first network element may be a session management network element.
  • the method includes: the first network element receives first information, the first information includes first service information; the first network element receives second information, and the second information includes the first Domain name information, the first domain name information is included in the first domain name system DNS query request information sent by the first terminal device, the first DNS query request information is used to request the application server address information corresponding to the first domain name information; A domain name information corresponds to the first service information, the first network element determines for the first terminal device the same application server as that of the second terminal device, and the second terminal device accesses the same service as the first terminal device; the The first network element sends a first rule, the first rule includes first application server address information, the first application server address information is used to indicate the same application server, and the first rule is
  • the first network element determines the same application server as the second terminal device for the first terminal device, which can be understood as the first network element determines the same application server for the first terminal device as the second terminal device based on the first information.
  • the first application server address credit is used to indicate the same application server, and it can also be understood that the first application server address information is the address corresponding to the same application server, or it can also be understood that the first application server address information is used for Indicates the corresponding address of the same application server.
  • the first rule is used to instruct the second network element to send the first application server address information to the first terminal device. It can also be understood that the first rule is used to control the second network element to send the first application server address information to the first terminal device.
  • the application server address information or it can also be understood that the second network element sends the first application server address information to the first terminal device based on the first rule.
  • the second terminal device may include one or more terminal devices, and it may also be said that the first terminal device and the second terminal device belong to the same terminal group.
  • the first network element receives the first information of the fourth network element, the first information includes first service information, the first service information is service information accessed by terminals in the terminal group, the The terminal group may include multiple terminal devices accessing the service corresponding to the first service information, and the fourth network element may be a network element with a policy control function.
  • the first terminal device sends DNS query request information to the second network element.
  • the second network element can discover the functional network element for the edge application server.
  • the DNS query request information includes the first domain name information, and the second network element sends the first domain name information to the first network element.
  • the network element reports the first domain name information, and the first network element judges whether the service corresponding to the first domain name information matches the first information, that is, the first network element judges whether the first terminal device belongs to a terminal group, and if the first If the terminal device belongs to a terminal group, the first network element selects the same application server address as that of other terminal devices in the terminal group for the first terminal device, and the application server address may be an edge application server address.
  • the same application server address can be selected for terminal devices accessing the same service, thereby reducing the interaction delay between multiple terminal devices.
  • the first information includes first identification information, where the first identification information is used to indicate a terminal device that accesses the same application server as the first terminal device.
  • the first identification information is used to indicate the terminal device that accesses the same application server as the first terminal device, and it can also be understood that the first identification is used to identify the terminal device that accesses the same application server, or it can also be understood as The first identification information is used to identify terminal devices that access the same application server as the first terminal device, or it can also be understood as corresponding to terminal devices with the same first identification information accessing the same application server, or it can also be understood as corresponding to the same Terminal devices with the first identification information access the same application server when accessing the same service, or it can also be understood as determining the same application server for terminal devices corresponding to the same first identification information, or it can also be understood as corresponding to the same first Terminal devices that identify information and access the same service determine the same application server.
  • the first terminal device corresponds to the same first identification information as the second terminal device.
  • the network element with the policy control function may add the first identification information to the terminal group, so that after the first network element receives the DNS query request information of the terminal device, it can, according to the It is determined that the same application server address as that of other terminal devices in the corresponding terminal group needs to be selected for the terminal device.
  • the second terminal device belongs to the terminal device indicated by the first identification information.
  • the first terminal device belongs to the terminal device indicated by the first identification information.
  • the first network element determining for the first terminal device the same application server as that of the second terminal device includes: the first network element being the first network element corresponding to the same first identification information A terminal device and the second terminal device determine the same application server.
  • the second terminal device and the first terminal device correspond to the same first identification information
  • the second terminal device and the first terminal device belong to the same terminal group
  • the first network element can The identification information determines the same application server address for the first terminal device and the second terminal device, so as to reduce the interaction delay between the first terminal device, the second terminal device and other terminal devices in the same terminal group.
  • the first information includes location area information.
  • both the first terminal device and the second terminal device are located in the location area indicated by the location area information, and the first network element can be classified as belonging to the location area and accessing the same service according to the location area information. All terminal devices determine the same application server address, so as to reduce the interaction delay between terminal devices.
  • the first information includes first indication information, and the first indication information is used to indicate that terminal devices accessing the same service are determined to use the same application server.
  • the first indication information is used to indicate that the same application server is determined for terminal devices accessing the same service, and it can also be understood that the first indication information is used to indicate that the same application server is determined for terminal devices, or it can be understood as The first indication information is used to indicate that the same application server is determined for terminal devices that access the same service and correspond to the same first identification information, or it can be understood that the first indication information is used to indicate that the terminal equipment corresponding to the first service information is accessed The terminal equipment of the service determines the same application server.
  • the first network element determining for the first terminal device the same application server as the second terminal device includes: the first network element according to the first indication information The same application server as that of the second terminal device is determined for the first terminal device.
  • the first information sent by the fourth network element may include first indication information, instructing the first network element to select the same application server for terminal devices accessing the same service or terminal devices belonging to a terminal group , thereby reducing the interaction delay between multiple terminal devices.
  • the method before the first network element sends the first rule, the method further includes: the first network element sends a second rule, and the second rule includes the first option information, the first option information is used by the DNS server to determine the address information of the application server, and the second rule is used to instruct the second network element to send the second DNS query request information to the DNS server, the second DNS query request information includes the The first option information and the first domain name information.
  • the first option corresponding to the first option information is used by the DNS server to determine the address information of the application server.
  • the second network element generates the first ECS option based on the first option information, and adds the first ECS option to the second DNS query request information, that is, the second DNS query request information includes the first ECS option corresponding to the first option information option and the first domain name information, the DNS server determines the address information of the application server based on the first ECS option.
  • the first network element may send a second rule to the second network element, instructing the second network element to send a DNS query request to the DNS server, and the DNS server queries the ECS option according to the first ECS option in the query request.
  • the DNS server queries the ECS option according to the first ECS option in the query request.
  • the corresponding address of the application server can be obtained by querying.
  • the method further includes: the first network element receiving third information, where the third information includes the first domain name information and one or more application server address information , the address information of the one or more application servers is determined by the DNS server.
  • the address information of the one or more application servers is requested by the DNS server through a DNS query
  • the DNS query response information corresponding to the information is returned to the second network element, and the second network element sends the one or more application server addresses to the first network element through the third information.
  • the DNS server obtains the application server address corresponding to the service according to the first ECS option query, and sends it to the second network element, and then the second network element sends it to the first network element, which can If the first network element does not store the address of the application server corresponding to the terminal group, the address of the corresponding application server is obtained through DNS query.
  • the method before the first network element sends the first rule, the method further includes: the first network element sends first request information, and the first request information includes Second application server address information, where the second application server address information is used to indicate the application server determined by the first network element.
  • the first network element after the first network element determines the application server for the terminal device, it can send the address of the application server to the third network element.
  • the third network element can be a data storage network element, and the third network element Update the address of the application server to prevent different application servers determined by the first network elements for the terminal devices in the same terminal group when there are multiple first network elements.
  • the method further includes: the first network element sends first request information, where the first request information includes the first Two application server address information, where the second application server address information is used to indicate the application server determined by the first network element.
  • the first network element sends the first option information, and the DNS server queries the corresponding application server address, and can send the third network element
  • the application server address determined by the first network element is sent, and the third network element updates the application server address to prevent different application servers determined by each first network element for the terminal devices in the same terminal group.
  • the method further includes: the first network element receiving first response information in response to the first request information, the first response information including the first application server Address information.
  • the third network element updates the address of the application server selected by the first network element, which can connect to different first network elements when there are multiple first network elements, that is, terminal devices in the terminal group.
  • the same application server address is returned to each first network element, so as to prevent multiple first network elements from selecting different application server addresses for each terminal device in the same terminal group.
  • the second application server address information is the same as the application server indicated by the first application server address information.
  • the application server addresses determined by each first network element for the terminal devices in the terminal group may be the same, and the third network element updates and Confirmation provides a guarantee that the first network element finally returns the same application server address to the terminal device.
  • the method before the first network element sends the first rule, the method further includes: the first network element sends a second rule, and the second rule includes the first option information, the first option information is used by the DNS server to determine the address information of the application server, and the second rule is used to instruct the second network element to send the second DNS query request information to the DNS server, the second DNS query request information includes the The first option information and the first domain name information.
  • the method further includes: the first network element receiving third information, where the third information includes the first domain name information and one or more application server address information , the address information of the one or more application servers is determined by the DNS server.
  • the address information of the first application server is the one or one of multiple application server address information.
  • the first network element in the case where there is only one first network element, that is, the terminal devices in the terminal group are connected to the same first network element, the first network element may be based on one or more of the third information
  • a plurality of application server address information determines the first application server address information, that is, the first network element selects one of the one or more application server address information as the first application server address, and the first network element can be an access All terminal devices of the same service select the first application server address, or, the first network element may select the first application server address for terminal devices accessing the same service and corresponding to the same first identifier. Therefore, the same application server can be selected for terminal devices belonging to the same terminal group, the interaction delay between multiple terminal devices can be reduced, and there is no need for a third party to coordinate application server address information, which can save resource overhead.
  • the method before the first network element sends the first rule, the method further includes: the first network element receives fourth information, and the fourth information includes the first - Application server address information.
  • the third network element may store the application server address information corresponding to the terminal group, and actively send the application server address information to the first network element, that is, the third network element may send the second Four information.
  • the third network element can provide the application server address for the first network element, and the first network element can provide the address for each terminal device in the terminal group, In this way, the interaction delay between the terminal devices in the terminal group is reduced.
  • the method before the first network element receives the fourth information, the method further includes: the first network element sends fifth information, and the fifth information is used to obtain Application server address information corresponding to the first domain name information.
  • the corresponding address can be acquired by sending request information to the third network element.
  • the first information includes address information of the first application server.
  • the fourth network element can directly provide the first network element with the application server address corresponding to the terminal group, and the first network element can select this address for each terminal device in the terminal group without The third party obtains or queries the corresponding address information, saving resource overhead.
  • a method for discovering edge services is provided, and the execution subject of the method may be the fourth network element or a chip applied to the fourth network element.
  • the fourth network element may be a policy control function network element.
  • the method includes: the fourth network element receives application function request information, and the application function request information is used to control service flow routing; the fourth network element receives the application function request information based on the application function request information First information is generated, where the first information includes first service information; and the fourth network element sends the first information.
  • the fourth network element generates the first information according to the application function request information, where the first information includes the first service information.
  • the first network element judges whether the terminal device belongs to the terminal group according to the first information, and if it belongs to the terminal group, selects for the terminal device to be connected with the terminal group.
  • the same application server as other terminal devices to reduce the interaction delay between multiple terminal devices.
  • the first information includes first identification information, where the first identification information is used to indicate a terminal device that accesses the same application server as the first terminal device.
  • the terminal device that accesses the same application server as the first terminal device is indicated by the first identification information, so that after receiving the DNS query request information of the terminal device, the first network element
  • the terminal device has identification information corresponding to the terminal group, and it is determined that the same application server address as that of other terminal devices in the same terminal group needs to be determined for the terminal device.
  • the first information includes location area information.
  • the first network element can determine the same application server address for the terminal devices belonging to the location area and accessing the same service according to the location area information, so as to reduce the interaction delay between the terminal devices.
  • the first information includes first indication information, and the first indication information is used to indicate that terminal devices accessing the same service are determined to use the same application server.
  • the first information sent by the fourth network element may include first indication information, instructing the first network element to determine the same application server address for terminal devices accessing the same service in the same terminal group, so that Reduce the interaction delay between multiple terminal devices.
  • the first information includes first application server address information, and the first application server address information is used to instruct the first network element to determine for the first terminal device application server.
  • the fourth network element can provide the first network element with the application server address corresponding to the terminal group, and the first network element can directly determine the address for each terminal device in the terminal group, thereby reducing Interaction delay between multiple terminal devices, and there is no need to obtain or query the corresponding application server address or edge network information from a third party, saving resource overhead.
  • a method for discovering an edge service is provided, and the execution subject of the method may be the fifth network element or a chip applied to the fifth network element.
  • the fifth network element may be an application function network element.
  • the method includes: the fifth network element sends application function request information, the application function request information is used to control service flow routing, the application function request information includes first service information, The first service information is used to indicate the service accessed by the terminal group, and the application function request information is also used by the fourth network element to generate the first information.
  • the fifth network element sends application function request information to the fourth network element for the fourth network element to generate the first information.
  • the application function request information includes service information, which can make the fourth network element According to the service information, the service information in the first information is generated and sent to the first network element, and the first network element judges whether the terminal device belongs to the terminal group according to the first information, and if it belongs to the terminal group, select
  • the application server is the same as other terminal devices in the terminal group, so as to reduce the interaction delay between multiple terminal devices.
  • the application function request information is used to control service flow routing. It can also be understood that the application function request information is used to control selection of the same application server for the terminal devices in the terminal group.
  • the application function request information includes first identification information.
  • the application function request information includes first identification information, enabling the fourth network element to generate the first identification information in the first information according to the first identification information in the application function request information, and send it to the first network element, so that the first network element can select the same application server for the terminal device as other terminal devices in the terminal group according to the first identification information, so as to reduce the interaction time between multiple terminal devices delay.
  • the application function request information includes location area information.
  • the application function request information includes location area information, which can make the fourth network element generate the location area information in the first information according to the location area information in the application function request information, and send the location area information to The first network element, so that the first network element can determine the same application server address for terminal devices belonging to the location area and accessing the same service according to the location area information, so as to reduce the interaction delay between multiple terminal devices.
  • the application function request information may further include first indication information, and the first indication information is used to indicate that terminal devices belonging to the same terminal group determine the same application server .
  • the application function request information includes first indication information, enabling the fourth network element to generate the first indication information in the first information according to the first indication information in the application function request information, and Send it to the first network element, so that the first network element determines the same application server address for the terminal devices in the same terminal group or the terminal devices accessing the same service in the same terminal group according to the first indication information, so as to reduce multiple Interaction delay between terminal devices.
  • the application function request information includes first application server address information, where the first application server address information is used to indicate the application server determined for the first terminal device.
  • the application function request information includes the address information of the first application server, enabling the fourth network element to generate the first application server address information in the first information according to the first application server address information in the application function request information.
  • the address information of the application server is sent to the first network element, and the first network element directly determines the address for each terminal device in the terminal group, thereby reducing the interaction delay between multiple terminal devices, and does not require third-party Obtain or query the corresponding application server address or edge network information to save resource overhead.
  • the application function request information includes terminal device list information
  • the terminal device list information includes one or more terminal device identifiers.
  • the fourth network element generates first information for the terminal equipment indicated in the terminal equipment list information according to the terminal equipment list information, and sends it to the first network element, and the first network element determines the first information for the terminal equipment indicated in the terminal equipment list information. Same application server.
  • the application function request information includes terminal device list information, enabling the fourth network element to generate first information for the terminal devices indicated in the terminal device list information according to the application function request information, and Send to the first network element, the fourth network element generates the first information for the terminal equipment indicated in the terminal equipment list information and sends it to the first network element, and the first network element generates the first information for the terminal equipment indicated in the terminal equipment list information Identify the same application server.
  • the application function request information includes terminal device list information and the first identification information at the same time.
  • the first identification information corresponds to the terminal devices in the terminal device list information, or may be understood as specifying the first identification information for the terminal devices in the terminal device list information.
  • the application function request information includes terminal device list information and third identification information, which can make the fourth network element respectively identify the terminal device indicated in the terminal list information and the third identification information according to the application function request information.
  • the terminal device indicated by the third identification information generates first information and sends it to the first network element, and the first network element determines the same application server for the terminal device indicated in the terminal device list information.
  • a method for discovering an edge service may be a first network element or a chip applied to the first network element.
  • the first network element may be a session management function network element.
  • the method includes: the first network element receives first information, the first information includes first service information; the first network element receives second information, and the second information includes the first Domain name information, the first domain name information is included in the first DNS query request information sent by the first terminal device, the first DNS query request information is used to request the application server address information corresponding to the first domain name information; the first domain name information corresponding to the first service information, the first network element determines for the first terminal device an application server in the same edge network as that of the second terminal device, and the second terminal device and the The services accessed by the first terminal device are the same, and the application server address information corresponding to the first domain name information is the application server address information in the same edge network; the first network element sends a third rule
  • the first network element determines for the first terminal device the application server in the same edge network as the second terminal device, which can be understood as the first network element determines for the first terminal device the same data network as the second terminal device
  • the application server in the edge network corresponding to the access identifier can also be understood as the application server that the first network element determines for the first terminal device and corresponds to the same data network access identifier as the second terminal device, or can also be understood as An application server in the edge part of the data network corresponding to the same data network access identifier as that of the second terminal device is determined for the first network element for the first terminal device.
  • the first network element determines for the first terminal device an application server in the same edge network as that of the second terminal device based on the first information.
  • the application server in the same edge network may be the application server corresponding to the same edge network, or it may be an application server associated with the same edge network, or it may be an application server in the edge network corresponding to the same data network access identifier.
  • the application server may also be an application server in the local network corresponding to the same data network access identifier, or it may also be an application server in the edge part of the data network corresponding to the same data network access identifier, or it may also be an application server corresponding to the same data network access identifier.
  • the application server corresponding to the network access identifier may be the application server corresponding to the same edge network, or it may be an application server associated with the same edge network, or it may be an application server in the edge network corresponding to the same data network access identifier.
  • the application server may also be an application server in the local network corresponding to the same data network access identifier, or it may also be an application server in the edge part of the data network corresponding to the same data network access identifier, or it
  • the first network element may determine the same second option information for the terminal devices in the terminal group, or may determine different second option information for the terminal devices in the terminal group.
  • the second option information is used by the DNS server to determine the address information of the application server, and may be used by the DNS server to determine the address information of the application server for the second option corresponding to the second option information, that is, the second ECS option.
  • the first network element receives the first information of the fourth network element, the first information includes the first service information, and the first service information may be service information accessed by terminals in the terminal group,
  • the terminal group may include multiple terminal devices accessing the same service, and the fourth network element may be a network element with a policy control function.
  • the first terminal device sends DNS query request information to the second network element.
  • the second network element can discover the functional network element for the edge application server.
  • the DNS query request information includes the first domain name information, and the second network element sends the first domain name information to the first network element.
  • the network element reports the first domain name information, and the first network element judges whether the service corresponding to the first domain name information matches the first information, that is, the first network element judges whether the first terminal device belongs to a terminal group, and if the first The terminal device belongs to the terminal group, then the first network element selects the same application server in the edge network as other terminal devices in the terminal group for the first terminal device, and the second network element generates the second option based on the second option information, that is, the first Second ECS option, the DNS server determines the address information of the application server based on the second ECS option.
  • the address of the application server in the same edge network can be selected for terminal devices accessing the same service, thereby reducing the interaction delay between multiple terminal devices.
  • the second option information is determined by the first network element according to second identification information, where the second identification information is used to indicate the same edge network.
  • the second option information is determined by the first network element according to the second identification information, and it can also be understood that the second option information is associated with the second identification information.
  • the first network element may first determine the second identification information corresponding to the first domain name information, and then determine the second option information related to the second identification information.
  • the second identification information is used to indicate the same edge network. It can be understood that the second identification information is used to indicate the same edge network determined by the first terminal device and other terminal devices in the terminal group. It can also be understood that the second The identification information is the same data network access identification information corresponding to the terminal group, and it can also be understood that the second identification information is the same data network access identification corresponding to the terminal device accessing the application server corresponding to the same data network access identification letter It can also be understood that the second identification information is the same data network access identification information determined by the first terminal device and other terminal devices in the terminal group.
  • the second option information is determined by the first network element according to the first name, and the first name is used to indicate the same edge network.
  • the second option information is determined by the first network element according to the first name, and it can also be understood that the second option information is associated with the first name.
  • the first network element may first determine the first name corresponding to the first domain name information, and then determine the second option information related to the first name.
  • the first name is used to indicate the same edge network, and it can also be understood that the first name may be a name of a local data network.
  • the first network element determines the second identification information or the first name according to the location information of the terminal device, and determines the second identification information or the first name based on the second identification information or the first name. Two option information.
  • the first network element may determine the second identification information or the first name according to the location information of one or more terminals in the terminal group, for example, select the second identification information that is better for each terminal location in the terminal group, where the location information It may be geographical location, anchor user function network element information, etc. After determining the second identification information or the first name, the first network element determines the second option information based on the second identification information or the first name.
  • the first network element determines the second option information corresponding to the data network access identification information corresponding to the location of the terminal device, or it can be understood that the first network element
  • the second option information corresponding to the data network access identification information corresponding to the location of the terminal device is determined for the first domain name information, and the location information of the terminal device may be the location information of one or more terminal devices in the terminal group.
  • the first network element may first determine the second identification information or the first name, and determine the second option information according to the second identification information or the first name, and the first network element sends the second network element Send the second option information, and the second network element sends the second option information and the first domain name information to the DNS server, and the DNS server queries the corresponding application server address information, or it can be understood that the second network element based on the first
  • the second option information generates the second option, namely the second ECS option
  • the DNS server determines the address information of the application server based on the second ECS option.
  • the second option information is determined according to the identifier or name of the edge network, and the application server address can be obtained through DNS server query as the application server address.
  • the first network element may select one of the application server address information obtained from the DNS server query and provide it to the terminal device, so that in the terminal group All terminal devices in the network are connected to the application server in the same edge network, thereby reducing the interaction delay between multiple terminal devices.
  • the first information includes third identification information, and the third identification information is used to indicate a terminal accessing an application server in the same edge network as the first terminal device equipment.
  • the third identification information is used to indicate the terminal device that accesses the application server in the same edge network as the first terminal device, and it can also be understood that the third identification information is used to identify the terminal device that accesses the application server in the same edge network, Or it can also be understood that the third identification information is used to identify the terminal device that accesses the application server in the same edge network as the first terminal device, or it can also be understood that the terminal device corresponding to the same third identification information determines that the terminal device in the same edge network or it can also be understood as terminal devices corresponding to the same third identification information accessing the application server in the same edge network when accessing the same service, or it can also be understood as determining the same
  • the application server in the edge network can also be understood as determining the same edge network for terminal devices corresponding to the same third identification information, or it can also be understood as selecting the same edge network for terminal devices corresponding to the same third identification information and accessing the same service Application servers in the network.
  • the policy control network element can determine the third identification information for the terminal group, so that after the first network element receives the DNS query request information of the terminal device, it can according to the terminal device has the corresponding
  • the third identification information determines that the address of the application server in the same edge network as that of other terminal devices in the corresponding terminal group needs to be selected for the terminal device.
  • the second terminal device belongs to the terminal device indicated by the third identification information.
  • the first terminal device belongs to the terminal device indicated by the third identification information.
  • the first network element determining for the first terminal device an application server in the same edge network as that of the second terminal device includes: the first network element corresponding to the same second terminal device The first terminal device and the second terminal device with three identification information select the application server in the same edge network.
  • the second terminal device and the first terminal device have the same third identification information
  • the second terminal device and the first terminal device belong to the same terminal group
  • the first network element can The third identification information determines the application server in the same edge network for the first terminal device and the second terminal device, so as to reduce the interaction delay between the first terminal device and the second terminal device and other terminal devices in the same terminal group.
  • the first information includes second indication information
  • the second indication information is used to indicate that terminal devices accessing the same service determine the same application server in the edge network .
  • the second indication information is used to indicate that the application server in the same edge network is determined for terminal devices accessing the same service, and it can be understood that the second indication information is used to indicate that the application server in the same edge network is determined for the terminal device, or It can be understood that the second indication information is used to indicate that the terminal device that accesses the same service and corresponds to the same third identification information determines the application server in the same edge network, or it can be understood that the second indication information is used to indicate that the terminal device that accesses the same service The terminal device of the service corresponding to the first service information determines the application server in the same edge network.
  • the first network element determining for the first terminal device the same edge network as the second terminal device includes: the first network element according to the second indication information An application server in the same edge network as the second terminal device is determined for the first terminal device.
  • the first information sent by the fourth network element may include the second indication information, instructing the first network element to select the same edge network for terminal devices accessing the same service or for terminal devices belonging to a terminal group
  • the application server in the network reduces the interaction delay between multiple terminal devices.
  • the method further includes: the first network element sending second request information, where the second request information includes the second identification information.
  • the method further includes: the first network element sending second request information, where the second request information includes the first name.
  • the first network element determines the edge network corresponding to the terminal group, it sends the second identification information or the first name corresponding to the edge network
  • the third network element coordinates the edge networks determined by each first network element, which can ensure that the application server addresses selected by multiple first network elements for each terminal device in the terminal group belong to the same edge network .
  • the method further includes: the first network element receives second response information in response to the second request information, where the second response information includes fourth identification information , the fourth identification information is used to indicate the edge network determined by the third network element.
  • the method further includes: the first network element receives second response information in response to the second request information, where the second response information includes a second name, The second name is used to indicate the edge network determined by the third network element.
  • the first network element determines the edge network corresponding to the terminal group, it sends the identification information of the edge network or the name of the edge network to The third network element is coordinated by the third network element. If the application server addresses selected by the first network elements for the terminal devices in the same terminal group are different, the third network element sends the application server address of the terminal device in the terminal group to the first network element.
  • the ID or name of the edge network to which the address of the application server accessed by the first terminal device belongs so that the first network element reselects the ID or name of the edge network returned by the third network element, so as to ensure that each terminal in the terminal group Devices are connected to application servers in the same edge network to reduce interaction delay.
  • the fourth identification information is the same as the edge network corresponding to the second identification information.
  • the first name is the same as the edge network corresponding to the second name.
  • the first network element may directly select an edge server address in the edge network and provide it to the terminal device. In the case of multiple first network elements, coordination and confirmation can be performed by the third network element, so as to ensure that the application server address finally returned by the first network element to the terminal device is the application server address in the same edge network.
  • the method before the first network element sends the third rule, the method further includes: the first network element receives sixth information, and the sixth information includes the first Second identification information and/or second option information.
  • the method before the first network element sends the third rule, the method further includes: the first network element receives sixth information, and the sixth information includes the first A name and/or second option information.
  • the third network element may store the edge network identification information or edge network name corresponding to the terminal group, and actively send the edge network identification information or name to the first network element, which can If the corresponding application server address is not stored in the network element, directly provide the first network element with the corresponding identification or name of the edge network, and the first network element can select the application server address in the edge network for each terminal device in the terminal group , so as to reduce the interaction delay between the terminal devices in the terminal group; or, the third network element can also store the second option information, which is used by the DNS server to query the corresponding application server address according to the second option information and return it to the first
  • a network element is provided by the first network element to the terminal devices in the terminal group, and the first network element does not need to determine the second option information according to the location of the terminal device or the service accessed, saving resource overhead.
  • the method before the first network element receives the sixth information, the method further includes: the first network element sends seventh information, and the seventh information is used to obtain Edge network information corresponding to the first domain name information.
  • the seventh information is used to acquire edge network information corresponding to the first domain name information, and it can also be understood that the seventh information is used to acquire second identification information corresponding to the first domain name information.
  • the corresponding edge network information is obtained by sending the request information to the third network element.
  • the first information includes the second identification information and/or the second option information.
  • the first information includes the first name and/or second option information.
  • the fourth network element may directly provide the first network element with the edge network information corresponding to the terminal group, and the first network element may select the edge network information in the edge network for each terminal device in the terminal group.
  • the address of the application server does not need to obtain or query the corresponding address information from a third party, saving resource overhead; or, the first information may also include the second option information, which is used by the DNS server to query the corresponding application server address according to the second option information and Returning to the first network element, the first network element provides the terminal device in the terminal group, without the first network element needing to determine the second option information according to the location of the terminal device or the service accessed, saving resource overhead.
  • the method further includes: the first network element sending a fourth rule, where the fourth rule includes first application server address information, and the first application server address information It is used to indicate an application server in the edge network corresponding to the second identification information, or the first application server address information is used to indicate an application server in the edge network corresponding to the first name, the fourth rule It is used to instruct the second network element to send the address information of the first application server to the first terminal device.
  • the first application server address information is used to indicate an application server in the edge network corresponding to the second identification information, and it can be understood that the first application server address information is one of the edge networks corresponding to the second identification information
  • the address of the application server or it can be understood that the first application server address information is the address of an application server associated with the edge network corresponding to the second identification information.
  • the first application server address information is used to indicate an application server in the edge network corresponding to the first name. It can be understood that the first application server address information is an application server in the edge network corresponding to the first name.
  • An address of an application server or it can be understood that the first application server address information is an address of an application server associated with the edge network corresponding to the first name.
  • the first network element selects an application server address from the finally determined edge network, and sends it to the second network element, and the second network element sends the application server address to the terminal device, so as to Each terminal device in the terminal group provides the address of the application server in the same edge network, so as to reduce the interaction delay between each terminal device.
  • a method for discovering an edge service is provided, and the execution subject of the method may be a fourth network element or a chip applied to the fourth network element.
  • the fourth network element may be a policy control function network element.
  • the method includes: the fourth network element receives application function request information, and the application function request information is used to control service flow routing; the fourth network element receives the application function request information based on the application function request information First information is generated, where the first information includes first service information; and the fourth network element sends the first information.
  • the fourth network element generates the first information according to the application function request information, where the first information includes the first service information.
  • the first network element judges whether the terminal device belongs to the terminal group according to the first information, and if it belongs to the terminal group, selects for the terminal device to be connected with the terminal group.
  • the same application server as other terminal devices or the application server in the same edge network, so as to reduce the interaction delay between multiple terminal devices.
  • the first information includes third identification information, and the first The third identification information is used to indicate the terminal device that accesses the application server in the same edge network as the first terminal device.
  • the application function network element can add third identification information to the terminal group, so that after the first network element receives the DNS query request information of the terminal device, it can according to the terminal device has the terminal group corresponding
  • the third identification information determines that the terminal device needs to select the same application server address as other terminal devices in the corresponding terminal group, or an application server address in the same edge network.
  • the first information includes location area information.
  • the first network element can determine the address of the application server in the same edge network for terminal devices belonging to the location area and accessing the same service according to the location area information, so as to reduce the number of terminal devices in the terminal group. Interaction delay between.
  • the first information further includes second indication information, and the second indication information is used to instruct terminal devices accessing the same service to determine applications in the same edge network server.
  • the first information sent by the fourth network element may include second indication information, instructing the first network element to select the same edge network for terminal devices accessing the same service or terminal devices belonging to a terminal group. application server, thereby reducing the interaction delay between multiple terminal devices.
  • the first information further includes second identification information and/or second option information, and the second identification information is used to indicate that the first network element is the first network element.
  • the second option information is used by the DNS server to determine the address information of the application server.
  • the second identification information is used to indicate the edge network determined for the first terminal device. It can be understood that the second identification information is used to indicate the same edge network determined by the first terminal device and other terminal devices in the terminal group. It can also be understood that Because the second identification information is the same data network access identification information corresponding to the terminal group, it can also be understood that the second identification information is the same data corresponding to the terminal equipment accessing the application server corresponding to the same data network access identification.
  • the network access identification information can also be understood as that the second identification information is the same data network access identification information determined by the first terminal device and other terminal devices in the terminal group.
  • the first information includes a first name and/or the second option information, and the first name is used to indicate that the first network element is a first terminal device Defined edge network.
  • the first name is used to indicate that the first network element is the edge network determined by the first terminal device. It can be understood that the first name is used to indicate that the first network element is determined by the first terminal device and other terminal devices in the terminal group It can also be understood that the first name is the same local data network name determined by the first terminal device and other terminal devices in the terminal group, and it can also be understood that the first name is the first terminal device and terminal The same data network name as determined by other end devices in the group.
  • the fourth network element can provide the first network element with the edge network identification information or name corresponding to the terminal group, so that the first network element can directly select the address of the application server in the edge network without having to
  • the third party acquires or queries the corresponding application server address or edge network information to save resource overhead; or, the fourth network element may provide the first network element with second option information for the DNS server to query the corresponding application server according to the second option information. address of the application server and return it to the first network element, and the first network element provides it to the terminal devices in the terminal group. It is not necessary for the first network element to determine the second option information according to the location of the terminal device or the service accessed, saving resource overhead .
  • a method for discovering an edge service is provided, and the execution subject of the method may be the fifth network element or a chip applied to the fifth network element.
  • the fifth network element may be an application function network element.
  • the method includes: the fifth network element sends application function request information, and the application function request information is used for The service flow routing is controlled, and the application function request information includes service information, and the service information is used to indicate the service accessed by the terminal group.
  • the application function request information is also used to generate the first information.
  • the fifth network element sends application function request information to the fourth network element, and the application function request information is used to control service flow routing. It can also be understood that the application function request information is used to control the Terminal devices in the terminal group select application servers in the same edge network.
  • the application function request information is used by the fourth network element to generate the first information
  • the application function request information includes service information, and enables the fourth network element to generate the service information in the first information according to the service information, and send it to the first network element element
  • the first network element judges whether the terminal device belongs to the terminal group according to the first information, and if it belongs to the terminal group, selects the application server in the same edge network as other terminal devices in the terminal group for the terminal device, so as to reduce the Interaction delay between multiple terminal devices.
  • the application function request information includes third identification information.
  • the application function request information includes third identification information, enabling the fourth network element to generate the third identification information in the first information according to the third identification information in the application function request information, and sent to the first network element, so that the first network element can select the same application server in the edge network as other terminal devices in the terminal group for the terminal device according to the third identification information, so as to reduce the Interaction delay.
  • the application function request information includes location area information.
  • the application function request information includes location area information
  • the fourth network element generates the location area information for the terminal device located in the location area indicated by the location area information according to the location area information in the application function request information.
  • the first information may also be understood as that the fourth network element generates the location area information in the first information according to the location area information in the application function request information.
  • the fourth network element generates the first information and sends it to the first network element, so that the first network element can determine an application server in the same edge network for terminal devices belonging to the location area and accessing the same service according to the location area information, In order to reduce the interaction delay between multiple terminal devices.
  • the application function request information may further include second indication information, where the second indication information is used to indicate that terminal devices belonging to the same terminal group determine the same edge network application server in .
  • the application function request information includes second indication information, enabling the fourth network element to generate the second indication information in the first information according to the second indication information in the application function request information, and sending to the first network element, so that the first network element determines the application server address in the same edge network for terminal devices in the same terminal group or terminal devices accessing the same service in the same terminal group according to the second indication information, In order to reduce the interaction delay between multiple terminal devices.
  • the application function request information includes second identification information and/or second option information, where the second identification information is used to indicate the edge determined for the first terminal device network, the second option information is used by the DNS server to determine the address information of the application server.
  • the application function request information includes a first name and/or second option information, where the first name is used to indicate the edge network determined for the first terminal device.
  • the application function request information includes the second identification information or the first name, which can Make the fourth network element generate the second identification information or the first name in the first information according to the second identification information or the first name in the application function request information, and send it to the first network element, and the first network element is
  • Each terminal device in the terminal group determines the address of the application server in the edge network corresponding to the second identification information or the first name, thereby reducing the interaction delay between multiple terminal devices without obtaining or querying from a third party
  • the corresponding application server address or edge network information saves resource overhead;
  • the application function request information includes the second option information, which enables the fourth network element to use the DNS server according to the second option information in the application function request information
  • the second option information queries the corresponding application server address and returns it to the first network element, which is provided to the terminal equipment in the terminal group by the first network element, without the first network element determining the second option according to the location of the terminal equipment or the services accessed.
  • the application function request information includes terminal device list information
  • the terminal device list information includes one or more terminal device identifiers
  • the fourth network element The information generates first information for the terminal devices indicated in the terminal device list information, and sends it to the first network element, and the first network element determines the application server in the same edge network for the terminal devices indicated in the terminal device list information.
  • the application function request information includes terminal device list information, enabling the fourth network element to generate first information for the terminal devices indicated in the terminal device list information according to the application function request information, and It is sent to the first network element, and the first network element determines the application server in the same edge network for the terminal device indicated in the terminal device list.
  • the application function request information includes terminal device list information and the third identification information at the same time.
  • the third identification information corresponds to the terminal devices in the terminal device list, or may be understood as specifying the third identification information for the terminal devices in the terminal device list.
  • the application function request information includes terminal device list information and third identification information, which can make the fourth network element respectively identify the terminal device indicated in the terminal list information and the third identification information according to the application function request information.
  • the terminal device indicated by the third identification information generates the first information and sends it to the first network element, and the first network element determines the application server in the same edge network for the terminal device indicated in the terminal device list information.
  • an apparatus for discovering edge services including: a receiving unit, configured to receive first information, the first information including first service information; a receiving unit, further configured to receive second information, the second information Including first domain name information, the first domain name information is included in the first domain name system DNS query request information sent by the first terminal device, the first DNS query request information is used to request the application server address information corresponding to the first domain name information;
  • the determining unit is configured to determine, for the first terminal device, the same application server as that of the second terminal device when the first domain name information corresponds to the first service information, and the service accessed by the second terminal device and the first terminal device the same; the sending unit is configured to send a first rule, the first rule includes first application server address information, the first application server address information is used to indicate the same application server, and the first rule is used to indicate the second network Sending the address information of the first application server to the first terminal device.
  • the sending unit is further configured to send the second rule, where the second rule includes first option information, and the first option information is used by the DNS server to determine the address of the application server information, the second rule is used to instruct the EASDF network element to send second DNS query request information to the DNS server, and the second DNS query request information includes the first option information and the first domain name information.
  • the receiving unit is further configured to receive third information, where the third information includes the first domain name information and one or more application server address information, and the one or more Multiple application server address information is determined by the DNS server, and the second application server address information is the one or more application server address information One of the server address information.
  • the sending unit is further configured to send first request information, where the first request information includes second application server address information, and the second application server address information is used for Indicate the application server determined by the first network element.
  • the receiving unit is further configured to receive first response information in response to the first request information, where the first response information includes the address information of the first application server.
  • the receiving unit is further configured to receive fourth information, where the fourth information includes address information of the first application server.
  • the sending unit is further configured to send fifth information, where the fifth information is used to acquire application server address information corresponding to the first domain name information.
  • an apparatus for discovering edge services including: a receiving unit configured to receive first information, the first information including first service information; a receiving unit further configured to receive second information, the second The information includes first domain name information, the first domain name information is included in the first DNS query request information sent by the first terminal device, and the first DNS query request information is used to request the application server address information corresponding to the first domain name information; determine A unit, configured to determine for the first terminal device the same edge network as that of the second terminal device when the first domain name information corresponds to the first service information, and the second terminal device accesses the same service as the first terminal device , the application server address information corresponding to the first domain name information is the application server address information in the same edge network; the sending unit is configured to send a third rule, the third rule includes second option information, and the second option information Used by the DNS server to determine the address information of the application server.
  • the sending unit is further configured to send second request information, where the second request information includes the second identification information.
  • the receiving unit is further configured to receive second response information in response to the third request information, where the second response information includes fourth identification information, and the fourth The identification information is used to indicate the edge network determined by the third network element.
  • the receiving unit is further configured to receive sixth information, where the sixth information includes the second identification information.
  • the sending unit is further configured to send seventh information, where the seventh information is used to acquire edge network information corresponding to the first domain name information.
  • the sending unit is further configured to send a fourth rule, where the fourth rule includes first application server address information, and the first application server address information is used to indicate the An application server in the edge network corresponding to the second identification information, the fourth rule is used to instruct the second network element to send the address information of the first application server to the first terminal device.
  • an apparatus for discovering edge services including: a receiving unit, configured to receive application function request information, and the application function request information is used to control service flow routing; a processing unit, configured to The request information generates first information, and the first information includes first service information; and the sending unit is configured to send the first information.
  • a communication system in a tenth aspect, includes the device in the above-mentioned first aspect or any possible implementation manner of the first aspect, and the second aspect or the device in any possible implementation manner of the second aspect.
  • the device and the third aspect or the device in any possible implementation manner of the third aspect.
  • a communication system in an eleventh aspect, includes the device in the fourth aspect or any possible implementation manner of the fourth aspect, and the fifth aspect or any possible implementation manner of the fifth aspect and the device in the sixth aspect or any possible implementation manner of the sixth aspect.
  • a computer program product includes: a computer program or a set of instructions, when the computer program or a set of instructions is run by a computer, the first aspect or any possible implementation thereof , the second aspect or any possible implementation thereof, and the methods in the third aspect or any possible implementation thereof are executed.
  • a thirteenth aspect provides a computer program product, the computer program product includes: a computer program or a set of instructions, when the computer program or a set of instructions is run by a computer, the fourth aspect or any possible implementation thereof , the fifth aspect or any possible implementation thereof, and the methods in the sixth aspect or any possible implementation thereof are executed.
  • a fourteenth aspect there is provided a computer-readable medium for storing a computer program, and the computer program includes any possible implementation manner, the second aspect, or the second aspect for performing the above-mentioned first aspect or the first aspect and instructions for the method in any possible implementation manner of the third aspect or any possible implementation manner of the third aspect.
  • a fifteenth aspect provides a computer-readable medium for storing a computer program, and the computer program includes any possible implementation manner for performing the fourth aspect or the fourth aspect, the fifth aspect or the fifth aspect and instructions for the method in any possible implementation manner of the sixth aspect or any possible implementation manner of the sixth aspect.
  • a chip including a processor, which is used to call and execute instructions stored in the memory from the memory, so that the communication device installed with the chip executes any one of the above-mentioned first aspect or the first aspect possible implementation manner, the second aspect or any possible implementation manner of the second aspect, and the third aspect or a method in any possible implementation manner of the third aspect.
  • processor and the memory are integrated together;
  • the foregoing memory is located outside the communication device.
  • the communication device also includes a communication interface, which is used for the communication device to communicate with other devices, such as sending or receiving data and/or signals.
  • the communication interface may be a transceiver, a circuit, a bus, a module or other types of communication interfaces.
  • a chip including a processor, which is used to call and execute instructions stored in the memory from the memory, so that the communication device installed with the chip executes any one of the fourth aspect or the fourth aspect one possible implementation manner, the fifth aspect or any one possible implementation manner of the fifth aspect, and the sixth aspect or the method in any one possible implementation manner of the sixth aspect.
  • processor and the memory are integrated together;
  • the foregoing memory is located outside the communication device.
  • the communication device also includes a communication interface, which is used for the communication device to communicate with other devices, such as sending or receiving data and/or signals.
  • the communication interface may be a transceiver, a circuit, a bus, a module or other types of communication interfaces.
  • the embodiment of the present application also provides a communication device, the device includes at least one processor and an interface circuit, the interface circuit is used for the at least one processor to obtain programs or instructions in at least one memory, and the at least one The processor is configured to execute the program or instruction to enable the communication device to execute the method in the above first aspect or any possible implementation manner of the first aspect, the fourth aspect or any possible implementation manner of the fourth aspect.
  • the embodiment of the present application also provides a communication device, the device includes at least one processor and an interface circuit, the interface circuit is used for the at least one processor to obtain programs or instructions in at least one memory, and the at least one The processor is configured to execute the program or instruction to enable the communication device to execute the method in the above second aspect or any possible implementation manner of the second aspect, the fifth aspect or any possible implementation manner of the fifth aspect.
  • the embodiment of the present application also provides a communication device, the device includes at least one processor and an interface circuit, the interface circuit is used for the at least one processor to obtain programs or instructions in at least one memory, and the at least one The processor is configured to execute the program or instruction to enable the communication device to execute the above third aspect or any possible implementation manner of the third aspect, the sixth aspect or the method in any possible implementation manner of the sixth aspect.
  • FIG. 1 is a system architecture diagram applicable to the embodiment of the present application.
  • FIG. 2 is an interactive schematic diagram of an existing method for discovering edge services.
  • Fig. 3 is an interactive schematic diagram of a method for discovering edge services provided by an embodiment of the present application.
  • FIG. 4 is an interactive schematic diagram of another method for discovering edge services provided by an embodiment of the present application.
  • FIG. 5 is an interactive schematic diagram of another method for discovering edge services provided by an embodiment of the present application.
  • FIG. 6 is an interactive schematic diagram of another method for discovering edge services provided by an embodiment of the present application.
  • FIG. 7 is an interactive schematic diagram of another method for discovering edge services provided by an embodiment of the present application.
  • FIG. 8 is an interactive schematic diagram of another method for discovering edge services provided by an embodiment of the present application.
  • FIG. 9 is an interactive schematic diagram of another method for discovering edge services provided by an embodiment of the present application.
  • FIG. 10 is an interactive schematic diagram of another method for discovering edge services provided by an embodiment of the present application.
  • FIG. 11 is an interactive schematic diagram of another method for discovering edge services provided by an embodiment of the present application.
  • FIG. 12 is an interactive schematic diagram of a method for rediscovering an edge service provided by an embodiment of the present application.
  • Fig. 13 is a block diagram of an apparatus for discovering edge services provided by an embodiment of the present application.
  • FIG. 14 is a block diagram of another device for discovering edge services provided by an embodiment of the present application.
  • GSM global system of mobile communication
  • CDMA code division multiple access
  • WCDMA broadband code division multiple access
  • general packet radio service general packet radio service, GPRS
  • long term evolution long term evolution
  • LTE long term evolution
  • LTE frequency division duplex frequency division duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunications System
  • WiMAX Worldwide Interoperability for Microwave Access
  • 5G Fifth Generation
  • 6G sixth generation
  • the terminal equipment in the embodiment of the present application may refer to user equipment, access terminal, subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device.
  • the terminal device can also be a cellular phone, a cordless phone, a session initiation protocol (session initiation protocol, SIP) telephone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (PDA), handheld device with wireless communication function, computing device or other processing device connected to a wireless modem, vehicle-mounted device , wearable devices, public land mobile network (public land mobile network, PLMN), 5G network or future 6G and other communication networks or terminal devices, etc., the embodiment of the present application is not limited to this.
  • the network device in the embodiment of the present application may be a device for communicating with a terminal device, and the network device may be a global system of mobile communication (GSM) system or a code division multiple access (CDMA)
  • GSM global system of mobile communication
  • CDMA code division multiple access
  • the base transceiver station (BTS) in the system can also be the base station (nodeB, NB) in the wideband code division multiple access (WCDMA) system, or the evolved base station (evolutionary base station) in the LTE system.
  • NB base station
  • WCDMA wideband code division multiple access
  • evolutionary base station evolved base station
  • the network device can be a relay station, access point, vehicle-mounted device, wearable device, PLMN
  • the embodiments of the present application are not limited to network equipment in communication networks such as network, 5G network and future 6G.
  • "for indicating” may include both for direct indicating and for indirect indicating.
  • the indication information When describing a certain indication information for indicating A, it may include that the indication information directly indicates A or indirectly indicates A, but it does not mean that A must be carried in the indication information.
  • nouns as for the number of nouns, unless otherwise specified, it means “singular noun or plural noun", that is, “one or more”. “At least one” refers to one or more, “multiple” refers to two or more, and “multiple” in “one or more” refers to two or more. "And/or” describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. The character “/" generally indicates that the contextual objects are an "or” relationship. For example, A/B means: A or B.
  • At least one of the following or similar expressions refer to any combination of these items, including any combination of single or plural items.
  • at least one item (piece) of a, b, or c means: a, b, c, a and b, a and c, b and c, or a and b and c, wherein a, b, c can be It can be single or multiple.
  • Edge computing (edge computing, EC) is a new network architecture.
  • computing resources are deployed on the edge side close to users to provide the nearest end services. Its applications are launched on the edge side, which can reduce the network transmission delay between users and computing, and generate faster network service responses.
  • Fig. 1 is a schematic block diagram of a communication system architecture applicable to the present application. As shown in FIG. 1 , each part involved in the network architecture will be described separately below.
  • Terminal equipment the entrance for mobile users to interact with the network, which can provide basic computing power and storage capacity, display business windows to users, and accept user operation input. It can include various handheld devices, vehicle-mounted devices, wearable devices, computing devices or other processing devices connected to wireless modems with wireless communication functions, as well as various forms of terminals, mobile stations (mobile station, MS), terminal (terminal ), user equipment (user equipment, UE), soft terminal and so on. For example, mobile phones, water meters, electricity meters, sensors, etc.
  • wireless access network radio access network, (R)AN) network element: used to provide network access functions for authorized terminal equipment in a specific area, and can use transmission tunnels of different qualities according to the level of terminal equipment and service requirements .
  • (R)AN network elements can manage wireless resources, provide access services for terminal devices, and then complete the forwarding of control signals and terminal device data between terminal devices and the core network.
  • (R)AN network elements can also be understood as traditional networks base station in .
  • User plane function user plane function
  • UPF User plane function
  • QoS quality of service
  • the user plane network element may still be a UPF network element, or may have other names, which are not limited in this application.
  • Data network (data network, DN): a data network that provides business services for users.
  • the client is located in the UE, and the server is located in the data network.
  • the data network can be a private network, such as a local area network, or an external network that is not controlled by the operator, such as the Internet, or a proprietary network jointly deployed by operators, such as a network that provides IMS services.
  • the DN in the 5G communication system can be used, and it is also possible to replace entities with similar functions with other names, which is not limited in this application.
  • Access and mobility management function (access and mobility management function, AMF) network element: mainly used for mobility management and access management, etc., and can be used to implement mobility management entity (mobility management entity, MME) functions except session Functions other than management, for example, functions such as access authorization/authentication.
  • AMF access and mobility management function
  • MME mobility management entity
  • the access management network element may still be an AMF network element, or may have other names, which are not limited in this application.
  • Session management function session management function, SMF
  • SMF session management function
  • IP network interconnection protocol
  • the network element with the session management function may still be an SMF network element, or may have other names, which are not limited in this application.
  • Network exposure function (NEF) network element It is used to open network capabilities to third-party applications, which can realize the friendly connection between network capabilities and business requirements.
  • the open network element may still be an NEF network element, or may have other names, which are not limited in this application.
  • Network repository network repository
  • network element used to maintain real-time information of all network function services in the network.
  • the network storage network element may be a network registry function (network repository function, NRF) network element.
  • NRF network repository function
  • the network storage network element may still be an NRF network element, or may have other names, which are not limited in this application.
  • PCF Policy control function
  • the policy control network element may still be a PCF network element, or may have other names, which are not limited in this application.
  • Data management (data management) network element used to handle terminal device identification, access authentication, registration and mobility management.
  • the data management network element may be a unified data management (unified data management, UDM) network element.
  • UDM unified data management
  • the unified data management may still be a UDM network element, or may have other names, which are not limited in this application.
  • Application function Application function, AF network element: It is used to route the data affected by the application, access the network, and interact with the policy framework for policy control, etc.
  • the application network element may still be an AF network element, or may have other names, which are not limited in this application.
  • Edge application server It is an edge application server deployed on an edge data network (edge data network, EDN), and can also be called an edge application (server), application server, application instance, edge application instance, multi- Access to edge computing (multi-access edge computing, MEC) applications (servers), EAS functions, etc.
  • the edge application may also be referred to as an "application instance”, specifically referring to an instance of a server application (for example, social media software, augmented reality (augmented reality, AR), virtual reality (virtual reality, VR)) deployed and running on the EDN (instance).
  • the EDN may be a local data network (local data network, LDN), and each LDN may be identified by a corresponding data network access identifier (DNAI) or a data network name (data network name, DNN),
  • LDN local data network
  • DNN data network name
  • the network selects a UPF close to the LDN to establish a transmission path for the UE to ensure that the UE can normally access edge services.
  • Edge application server discovery function (edge application server discovery function, EASDF) network element: mainly responsible for discovering EAS, including functions such as registering with NRF for discovery and selection, and processing DNS messages according to SMF instructions (for example, receiving DNS messages sent by SMF) Message processing rules, sending DNS messages to local DNS server or central DNS server, adding ECS option to DNS query message, exchanging DNS messages sent by UE, notifying SMF of EASDF related information, etc.), terminating DNS security, etc.
  • EASDF edge application server discovery function
  • the above-mentioned network element or function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
  • the above-mentioned network elements or functions can be divided into one or more services, and further, there may also be services that exist independently of network functions.
  • the following introduces an existing edge computing service discovery method with reference to FIG. 2 .
  • the SMF network element selects the EASDF network element.
  • the SMF network element sends a DNS context creation request (Neasdf_DNSContext_Create Request) to the selected EASDF network element.
  • the EASDF network element sends a DNS context creation response (Neasdf_DNSContext_Create Response) to the SMF network element.
  • the SMF network element sends a DNS context update request (Neasdf_DNSContext_Update Request) to the EASDF network element.
  • the EASDF network element sends a DNS context update response (Neasdf_DNSContext_Update Response) to the SMF network element.
  • the UE sends a DNS query request (DNS query) to the EASDF network element.
  • DNS query a DNS query request
  • the EASDF network element sends a DNS context notification request (Neasdf_DNSContext_Notify Request) to the SMF network element.
  • the SMF network element sends a DNS context notification response (Neasdf_DNSContext_Notify Response) to the EASDF network element.
  • the SMF network element sends a DNS context update request (Neasdf_DNSContext_Update Request).
  • the update request includes the ECS option information constructed by the SMF network element
  • the ECS option information includes the Internet protocol (internet protocol, IP) address of the user's access network, and is used for the DNS server to select an IP address that is closer to the user according to the IP address.
  • IP Internet protocol
  • the EASDF network element sends a DNS context update response (Neasdf_DNSContext_Update Response) to the SMF network element.
  • the EASDF network element sends a DNS query request to the DNS server.
  • the DNS server sends a DNS query response (DNS response) to the EASDF network element.
  • the EASDF network element sends a DNS context notification request (Neasdf_DNSContext_Notify Request) to the SMF network element.
  • the SMF network element sends a DNS context notification response (Neasdf_DNSContext_Notify Response) to the EASDF network element.
  • the SMF network element inserts an uplink classifier (uplink classifier, UL CL) and an L-PSA.
  • uplink classifier uplink classifier, UL CL
  • L-PSA L-PSA
  • the SMF network element sends a DNS context update request (Neasdf_DNSContext_Notify Request) to the EASDF network element.
  • the EASDF network element sends a DNS context update response (Neasdf_DNSContext_Notify Response) to the SMF network element.
  • the EASDF network element sends a DNS query response to the UE.
  • the DNS query response includes the EAS address.
  • FIG. 2 is only suitable for the discovery of the edge service of a single UE, and cannot be applied to the discovery process of the edge service of multiple UEs using the same service.
  • FIG. 3 is an interactive schematic diagram of an edge service discovery method provided by an embodiment of the present application.
  • the first network element determines the same application server address for each terminal device belonging to the same terminal group.
  • terminal devices that access the same application server, or terminal devices that access the same service, or terminal devices that access the same application server that access the same service may be referred to as a terminal group, and may also be referred to as a terminal set, a terminal device group, or a terminal Device set or UE group.
  • the terminal group may be a real group, and the terminal group includes at least one terminal device, for example, all terminal devices in the terminal group access the same service; the terminal group may also be a virtual group, that is, here
  • the terminal group refers to one or more terminal devices accessing the same service, and there is not a real group, but because these one or more terminal devices all access the same service, they are regarded as a terminal group.
  • the first network element receives first information, and correspondingly, the fourth network element sends first information, where the first information includes first service information.
  • the first network element may be an SMF network element
  • the fourth network element may be a PCF network element
  • the second network element may be an EASDF network.
  • a service may also be called an application or an application service, and correspondingly, the service information may also be called an application information or an application service information, which is not limited in this application.
  • the service information can be a fully qualified domain name (full qualified domain name, FQDN), or an application ID (application ID), or an Internet protocol (internet protocol, IP) five-tuple, that is, source IP address, source The port, destination IP address, destination port and transport layer protocol are not limited in this application.
  • FQDN fully qualified domain name
  • application ID application ID
  • IP Internet protocol
  • the first information may further include first identification information, and the first identification information is used
  • the first identification information is used to indicate the terminal device accessing the same application server, that is, the terminal device accessing the same application server corresponds to the same first identification
  • the terminal devices accessing the same application server of the same service correspond to the same first identifier
  • each terminal device in the terminal group corresponds to the identifier.
  • the fourth network element may set an identifier for the terminal group, that is, each terminal device in the terminal group corresponds to the identifier. Terminal devices corresponding to the same first identification information need to use the same application server when accessing the same service.
  • the application server may be an edge application server, and the address of the application server may be an address of the edge application server.
  • the first identification information may be an ID of a terminal group, or may be a list of terminal devices, which is not limited in this application.
  • a location area may refer to a geographical area, such as an urban area or a geographical shape, and may also refer to a certain range of longitude and latitude, for example, between 31°15" to 31°21" north latitude and 118°22" to 118°22" east longitude Within the range of 118°26", terminal devices accessing the same service shall be connected to the same application server, which is not limited in this application.
  • the first information may also include first indication information, where the first indication information is used to indicate that the same application server is determined for the terminal device, or it can be understood that the first indication information is used to indicate that It can also be understood that the terminal devices accessing the same service determine the same application server, or it can be understood that the first indication information is used to indicate that the terminal device determines the same application server, or it can be understood that the first indication information is used to indicate that the terminal device accesses the same service and Terminal devices corresponding to the same first identification information determine the same application server, or it can be understood that the first indication information is used to indicate that terminal devices accessing the service corresponding to the first service information determine the same application server.
  • first indication information is used to indicate that the same application server is determined for the terminal device, or it can be understood that the first indication information is used to indicate that It can also be understood that the terminal devices accessing the same service determine the same application server, or it can be understood that the first indication information is used to indicate that the terminal device determines the same application server, or it can be understood that the
  • the first indication information may also be implicitly carried in the first information, for example, a message name is used to implicitly indicate that the same application server is determined for terminal devices accessing the same service.
  • the first information may further include first application server address information, and the first network element may select the application server address for each terminal device in the terminal group.
  • the first service information, the first identification information, the first indication information, and the first application server address information may also be sent together without being included in the first information, and may be sent separately by the fourth network element. This is not limited.
  • the first network element receives the second information.
  • the second network element sends the second information.
  • the second information includes the first domain name information contained in the first domain name system information sent by the first terminal device.
  • DNS query request information the first DNS query request information is used to request the application server address information corresponding to the first domain name information.
  • the first domain name information is included in the first domain name system DNS query request information sent by the first terminal device, that is, the first domain name information is the domain name information carried in the first DNS query request information sent by the first terminal device,
  • the first terminal device sends the first DNS query request information to the second network element, the first DNS query request information includes the first domain name information, and the second network element sends the first network element including The second information of the first domain name information.
  • the first domain name information may be the FQDN of the service accessed by the first terminal device.
  • the first domain name information corresponds to the first service information
  • the first network element determines for the first terminal device the same application server as that of the second terminal device, and the second terminal device and the first terminal device access business is the same.
  • the first domain name information corresponding to the first service information may be that the first service information includes the first domain name information, for example, the first domain name information includes FQDN1, and the first service information may include FQDN1 and FQDN2, etc., the first domain name information corresponds to the first service information.
  • the first domain name information corresponding to the first service information may be the first service information is the first domain name information, for example, the first domain name information is FQDN1, and the first service information is FQDN1 , then the first domain name information corresponds to the first service information.
  • the first domain name information corresponding to the first business information may also be that the business corresponding to the first domain name information belongs to the business contained in the first business information, for example, the first domain name information includes FQDN1 , the FQDN1 is the domain name of service 1, the first service information includes application ID-1 and application ID-2, and the application ID-1 is the ID of service 1, then the first domain name information corresponds to the first service information.
  • the first domain name information includes FQDN1
  • the FQDN1 is the domain name of service 1
  • the first service information includes application ID-1 and application ID-2
  • the application ID-1 is the ID of service 1
  • the first domain name information corresponds to the first service information.
  • the first network element determines for the first terminal device the same application server as that of the second terminal device based on the first identification information, and the first terminal device and the second terminal device correspond to the first The identification information, that is, the first terminal device and the second terminal device correspond to the same first identification information, or the first network element may determine the same application server for the terminal devices corresponding to the first identification information. In a possible implementation manner, the first network element determines for the first terminal device the same application server as that of the second terminal device according to the first indication information.
  • the first network element determines for the first terminal device the same application server as the second terminal device according to the first indication information may be: the first network element determines the same application server for the terminal device according to the first indication information, or the first network element According to the first instruction information, determine the same application server for terminal devices accessing the same service, or the first network element determines the same application server for terminal devices accessing the same service and corresponding to the same identification information according to the first instruction information, or the first network element The unit determines the same application server for the terminal device accessing the service corresponding to the first service information according to the first indication information.
  • the second terminal device and the first terminal device belong to the same terminal group, and the second terminal device may be one or more terminal devices.
  • the first network element sends the first rule, and correspondingly, the second network element receives the first rule, the first rule includes the first application server address information, and the first application server address information is used to indicate the same application server , the first rule is used to instruct the second network element to send the first application server address information to the first terminal device, that is, the second network element sends the first application server address information to the first terminal device according to the first rule Address information.
  • the first application server address information is used to indicate the same application server may be: the first application server address information is the address corresponding to the same application server, or the first application server address information is used to indicate the same application server corresponding address.
  • the address information of the first application server is included in the first information sent by the fourth network element to the first network element, and the first network element directly selects the address for each terminal device in the terminal group .
  • the first network element itself stores the address information of the first application server and provides it to each terminal device in the terminal group.
  • the third network element stores the address information of the first application server and provides it to the first network element.
  • the third network element may be a unified data repository (UDR) network element, a UDM network element, or other network elements, which are not limited here.
  • UDR unified data repository
  • the method further includes: the first network element receives fourth information, and correspondingly, the third network element sends fourth information, where the fourth information includes the first Application server address information, the third network element may actively send the first application server address information to the first network element.
  • the method further includes: the first network element sends fifth information, and the fifth information is used to acquire an application server address corresponding to the first domain name information information, the third network element may send the address information of the first application server after receiving the request from the first network element to acquire the information of the address of the application server.
  • the fifth information is used to obtain the application server address information corresponding to the first domain name information may also be: the fifth information is used to obtain the application server address information corresponding to the terminal device accessing the first domain name information, or The fifth information is used to acquire the application server address information corresponding to the group of terminal devices accessing the first domain name information,
  • neither the third network element nor the first network element stores the address information of the first application server, and the address of the application server corresponding to the terminal group is queried by a DNS message:
  • the first network element sends the second rule, and correspondingly, the second network element receives the second rule, the second rule includes first option information, and the first option information is used by the DNS server to determine the address information of the application server, more specifically
  • the DNS server determines the address information of the application server based on the first option corresponding to the first option information, that is, the first ECS option, and the second rule is used to instruct the second network element to send the second DNS query request information to the DNS server, namely
  • the second network element sends the second DNS query request information to the DNS server according to the second rule, the second DNS query request information includes the first option information and the first domain name information, more specifically, the second DNS query request information including the first ECS option and the first domain name information generated based on the first option information, where the first option information includes location information of the terminal device, such as IP address information, or IP address information of the UE access network, or UE IP address information.
  • the DNS server obtains one or more corresponding application server addresses according to the first domain name information and the first option information query, and the more specific DNS server obtains one or more corresponding application server addresses according to the first ECS option query corresponding to the first domain name information and the first option information.
  • Multiple corresponding application server addresses are sent to the second network element.
  • the second network element sends the third information to the first network element, and correspondingly, the first network element receives the third information, where the third information includes the first domain name information and the address information of the one or more application servers.
  • the first option information may be the first ECS option information
  • the second option information may be the second ECS option information
  • each terminal device in the terminal group is connected to the same first network element, and the first network element determines an application server address information for the terminal device from the one or more application server address information, That is, the first application server address information, and provide the first application server address information to each terminal device in the terminal group.
  • each terminal device in the terminal group is connected to a different first network element, and the first network element determines an application server address information for the terminal device from the one or more application server address information, That is, the address information of the second application server, and sends the first request information, and correspondingly, the third network element receives the first request information, where the first request information includes the address information of the second application server.
  • the first network element receives first response information in response to the first request information, and correspondingly, the third network element sends the first response information, where the first response information includes the first application Server address information.
  • the application server addresses selected by each first network element from the application server address information obtained by DNS server query may be different, and the third network element coordinates, so that each first network element The same application server is selected for each terminal device in the terminal group.
  • the second application server address information is the same as the application server indicated by the first application server address information.
  • the application server addresses selected by each first network element from the application server address information obtained from the DNS server query may also be the same, that is, the second application server address is the first application server address,
  • the third network element sends the first application server address information to the first network element, which is equivalent to the confirmation by the third network element
  • the application server addresses determined by the first network element for each terminal device in the terminal group are the same.
  • FIG. 4 is an interactive schematic diagram of another method for discovering edge services provided by an embodiment of the present application.
  • the first network element determines the address of the application server in the same edge network for each terminal device belonging to the same terminal group.
  • the terminal devices that access the application server in the same edge network of the same service, or the terminal devices that access the application server in the same edge network, or the terminal devices that access the same service can also be referred to as a terminal group, or a terminal set, terminal Device group, terminal device set, UE group and other names are not limited in this application.
  • a terminal group can be a real group or a virtual group.
  • all terminal devices in the terminal group access the same service; the terminal group can also be a virtual group, that is, the terminal group here refers to one or more terminal devices accessing the same service, and there is not a real Group, just because these one or more terminal devices all access the same service, they are regarded as a terminal group.
  • the application servers in the same edge network can be understood as application servers corresponding to the same edge network, or as application servers associated with the same data network access identifier DNAI, or as application servers corresponding to the same DNAI, Alternatively, the application servers in the edge network corresponding to the same DNAI can also be understood as application servers associated with the same LDN, or application servers corresponding to the same LDN, or application servers in the edge network corresponding to the same LDN.
  • the address of the application server in the same edge network can be the address of the application server associated with the same DNAI, or the address of the application server corresponding to the same DNAI, or the address of the application server in the edge network corresponding to the same DNAI, or it can be the address of the application server corresponding to the same DNAI.
  • the address of the application server associated with the same LDN, or the address of the application server corresponding to the same LDN, or the address of the application server in the edge network corresponding to the same LDN or be understood as the address of the application server corresponding to the same edge network.
  • the edge network may be the edge network corresponding to the data network access identifier, or the edge part of the data network, or the local network, or the edge part of the data network, or the local part of the data network, or the data network access identifier
  • the corresponding edge part of the data network may also be a data network access identifier.
  • the same edge network may also be the access identifier for the same data network.
  • the determined edge network may also access identification information for the determined data network, or may also access the edge network corresponding to the identification information for the determined data network.
  • the first network element receives first information, and correspondingly, the fourth network element sends first information, where the first information includes first service information.
  • the first information may also include third identification information, where the third identification information is used to indicate a terminal device that accesses an application server in the same edge network as the first terminal device, which may also be understood as The third identification information is used to indicate the terminal devices accessing the application server in the same edge network, that is, the terminal devices accessing the application server in the same edge network correspond to the same third identification information, or it can be understood as the terminal device accessing the same service in the same edge network
  • the terminal devices of the application server correspond to the same third identification information, or it can be understood that each terminal device in the same terminal group corresponds to the third identification information. Terminal devices corresponding to the same third identification information need to use the same application server when accessing the same service.
  • the first information may further include second indication information, and the second indication information uses
  • the second indication information is used to indicate that the application server in the same edge network is determined for the terminal device, or it can be understood that the second The indication information is used to indicate that terminal devices that access the same service and correspond to the same third identification information determine the same application server in the edge network, or it can be understood that the second indication information is used to indicate that the terminal equipment corresponding to the first service information is accessed The terminal equipment of the service determines the application server in the same edge network.
  • the first information may further include second identification information and/or second option information, where the second identification information is used to indicate the same edge network accessed by the terminal group, or the second The identification information is a data network access identifier, and the second option information is used to determine the application server corresponding to the same data network access identifier for terminal devices accessing the same service, or it can also be understood that the second option information is used for accessing Terminal devices of the same service determine application servers in the same edge network.
  • the first information may further include a first name and/or second option information, where the first name is used to indicate the same edge network accessed by the terminal group, or the first name is The name of the local data network.
  • the first network element receives the second information.
  • the second network element sends the second information.
  • the second information includes the first domain name information, and the first domain name information is contained in the first domain name system information sent by the first terminal device.
  • DNS query request information that is, the first domain name information is the domain name information queried by the first terminal device through the first domain name system DNS query request information, and the first DNS query request information is used to request the application corresponding to the first domain name information Server address information.
  • This step is similar to the content described in step S302, and will not be repeated here to avoid repetition.
  • the first domain name information corresponds to the first service information
  • the first network element determines for the first terminal device the same edge network as that of the second terminal device, and the service accessed by the second terminal device and the first terminal device same.
  • the first network element determines for the first terminal device an application server in the same edge network as that of the second terminal device based on the third identification information, where the first terminal device and the second terminal device correspond to The third identification information, or the first network element may determine an application server in the same edge network for terminal devices corresponding to the third identification information.
  • the first network element determines the application server in the same edge network as the second terminal device for the first terminal device according to the second indication information may be: the first network element determines the same edge network for the terminal device according to the second indication information
  • the terminal device determines the application server in the same edge network, or the first network element determines the application server in the same edge network for the terminal device accessing the service corresponding to the first service information according to the second indication information.
  • step S303 For understanding that the first domain name information corresponds to the first business information and other contents, reference may be made to step S303.
  • the first network element sends a third rule, and correspondingly, the second network element receives the third rule, where the third rule includes second option information, and the second option information is used by the DNS server to determine the address information of the application server.
  • the second option information is determined by the first network element according to the second identification information, and the second identification information is used to indicate the same edge network, or the second option information is determined by the first network element
  • the network element is identified according to the first name used to indicate the same edge network.
  • the first network element first determines the same edge network for each terminal device in the terminal group, or it can be understood as determining the same data network access identifier or local data network name for each terminal device in the terminal group, that is, determines the second identification information or The first name, and select the second option information corresponding to the second identification information or the first name, the second option information is related to the location information of the terminal device, for example, the second option information includes IP address information, or UE IP address information , or the IP address information of the network to which the UE is connected, the first network element sends the third rule including the second option information to the second network element, and the second network element sends the second option information and the first The domain name information, more specifically, the second network element sends the second option generated based on the second option information, that is, the second ECS option and the first domain name information, to the DNS server for the DNS server to query the corresponding application server address. It should be understood that the first network element may determine the same second option information or different second option information for the terminal devices in the terminal group
  • the second identification information or the first name is included in the first information sent by the fourth network element to the first network element, and the first network element directly selects the second identification information or the first name. name.
  • the second option information is included in the first information sent by the fourth network element to the first network element, and the first network element directly selects the second option information.
  • the first network element itself stores the second identification information or the first name, and selects the second identification information or the first name.
  • the first network element itself stores the second option information, and selects the second option information.
  • the third network element stores the second identification information or the first name, and provides it to the first network element:
  • the method further includes: the first network element receives sixth information, and correspondingly, the third network element sends sixth information, where the sixth information includes the second identification information.
  • the third network element may actively send the second identification information to the first network element.
  • the method further includes: the first network element receives sixth information, and correspondingly, the third network element sends sixth information, where the sixth information includes the first a name.
  • the third network element may actively send the first name to the first network element.
  • the first network element before the first network element receives the sixth information, the first network element sends seventh information, and correspondingly, the third network element receives the seventh information, and the seventh information is used to obtain information related to the first domain name information Corresponding edge network information.
  • the third network element may send the second identification information or the first name after receiving the request information from the first network element for acquiring edge network information.
  • neither the third network element nor the first network element stores the second identification information and the first name
  • the first network element stores the information based on the location information of the first terminal device or the first domain name information
  • the corresponding service determines the second identification information or the first name.
  • the first network element determines the edge network of the first terminal device, that is, after determining the second identification information or the first name, it needs to report to the third network
  • the first network element sends the second identification information or the first name
  • the third network element coordinates and confirms that the edge network determined by each first network element for each terminal device in the terminal group is the same, or it can also be understood as being coordinated by the third network element And confirm that each first network element determines the same data network access identifier or local data network name for each terminal device in the terminal group.
  • the first network element sends the second request information, and correspondingly, the third network element receives the second request information, where the second request information includes the second identification information.
  • the first network element receives second response information in response to the third request information, where the second response information includes fourth identification information, where the fourth identification information is used to indicate the edge network determined by the third network element. If the fourth identification information returned by the third network element is different from the edge network corresponding to the second identification information determined by the second network element, the first network element needs to reselect the edge network until the edge network selected by the first network element is the same as The edge network returned by the third network element The network is the same, that is, the edge network corresponding to the fourth identification information is the same as the edge network corresponding to the second identification information.
  • the first network element After the first network element finally determines the edge network, the first network element sends the fourth rule, and the second network element receives the fourth rule, the fourth rule includes the address information of the first application server, and the first application server The server address information is used to indicate an application server in the edge network corresponding to the second identification information, and the fourth rule is used to instruct the second network element to send the first application server address information to the first terminal device.
  • the first network element selects an application server address in the same edge network determined for the terminal group, that is, the edge network corresponding to the second identification information, and sends the application server address to the second network element through the fourth rule, and the second network element sends the address of the application server.
  • the second network element sends the address of the application server to the terminal device, so that each terminal device in the same terminal group can connect to the application server in the same edge network, so as to reduce the interaction delay between multiple terminal devices.
  • FIG. 5 is an interactive schematic diagram of another method for discovering edge services provided by the embodiment of the present application.
  • the PCF network element can directly determine the corresponding EAS address for the UE group, and send it to the SMF network element, and the SMF network element provides it to the same UE Each UE in the group, so that each UE in the UE group is connected to the same EAS.
  • the PCF network element receives application function request information from the AF network element.
  • step S500 may include steps S500a, S500b, and S500c, that is, the PCF network element may directly receive the application function request information from the AF network element, or the AF network element may first send the application function request information to the NEF network element. Then the NEF network element sends the application function request information to the PCF network element, or the AF network element first sends the application function request information to the NEF network element, and then the NEF network element sends it to the UDR network element, and then the UDR network element sends it to the PCF network element.
  • the application function request information includes service information, which may also be referred to as first service information, and the service information may be used to indicate the services accessed by the UE group, and the service information may include FQDN or application identification information, the application identification The information may include application ID, identification code or group information, etc., which is not limited in this application.
  • the application function request information can be used to control the routing of the service flow.
  • the application function request information may also include location area information, and the location area information may be used to indicate the location area information corresponding to the UE group, or it may be understood as the location area for accessing the service corresponding to the service information located in the location area.
  • the location area information may be location area information, geographic location area information.
  • the application function request information may also include UE group identification information.
  • Terminal devices belonging to the same UE group correspond to the same UE group identification information.
  • the UE group identification information may also be referred to as first identification information, or UE group identification information. Association ID.
  • the application function request information may also include a UE list, and the UE list may include one or more UE ID information, and the UE ID information is UE identification information used to indicate specific UEs included in the UE group, or the UE The list is called UE information or UE identification information.
  • the application function request information contains UE group identification information and the UE list at the same time, it means that the UE group identification information corresponds to the UEs in the UE list, or it can also be understood as specifying the UE group for the UEs in the UE list Identification information.
  • the application function request information may also include first indication information, where the first indication information is used to indicate that UEs belonging to the same UE group select the same EAS, or it can be understood that the first indication information is used to indicate that The terminal devices determine the same application server, or it can be understood that the first indication information is used to indicate that the terminal devices accessing the same service determine the same application server, or it can be understood that the first indication information is used to indicate that the terminal equipment determines the same application server application server, or it can be understood that the first indication information is used to indicate that the same service is accessed and corresponds to the same second A terminal device with identification information determines the same application server, or it can be understood that the first indication information is used to indicate that the terminal device accessing the service corresponding to the first service information determines the same application server
  • the first indication information or the second indication information may be implicitly carried in the first information.
  • the function of the first indication information is carried implicitly through the message name.
  • the application function request information may also include EAS address information, and the EAS address information is used to determine the EAS address to which the UE group is connected.
  • the SMF network element receives first information from the PCF network element.
  • the PCF network element generates first information based on the application function request information, and sends the first information to the SMF network element.
  • the PCF network element generates the service information in the first information based on the service information in the application function request information, the service information can also be called the first service information, and the service information is used to indicate the service accessed by the UE group, the service
  • the information may include FQDN or identification information of the application.
  • the identification information of the application may include application ID, identification code or group information, etc., which is not limited in this application.
  • the PCF network element when the application function request information includes location area information, the PCF network element generates the first information for the UE located in the location area, and the UE located in the location area that accesses the service corresponding to the service information belongs to
  • the first information includes location area information of the UE group, for example, may be location area information or geographic location area information.
  • the PCF network element when the application function request information includes UE group identification information, the PCF network element generates UE group identification information in the first information based on the UE group identification information in the application function request information, and terminals belonging to the same UE group
  • the devices correspond to the same UE group identifier, and the UE group identifier may be the first identifier information.
  • the PCF when the application function request information includes a UE list, the PCF generates first information for the UEs included in the UE list, where the first information includes a UE list, and the UE list may include one or more UE ID information, The UE list indicates specific UEs included in the UE group.
  • This application only exemplarily shows that UE groups are divided according to geographic location, group identifier, UE list, etc., but the specific manner of dividing UE groups should not be limited.
  • the PCF network element when the application function request information includes the first indication information, the PCF network element generates the first information for the UE in the UE group based on the first indication information, and generates the first information based on the first indication information in the application function request information
  • the first indication information in the first information is used to instruct the SMF network element to select the same EAS address for each UE belonging to the same UE group.
  • the first indication information may be implicitly carried in the first information.
  • the function of the first indication information is carried implicitly through the message name.
  • the PCF network element when the application function request information includes EAS address information, the PCF network element generates the EAS address information in the first information based on the EAS address information in the application function request information, that is, the first information may also include EAS address information , for the SMF network element to directly select the EAS address and provide it to the UE.
  • the service information, identification information of the UE group, UE list, location area information of the UE group, first indication information, and EAS address information may also not be included in the first information, but sent separately.
  • the SMF network element sends the first processing rule to the EASDF network element.
  • the SMF network element sends the first processing rule to the EASDF network element.
  • the first processing rule includes the FQDN of the service accessed by the UE and its processing rule.
  • the EASDF network element judges that the FQDN included in the DNS query request information of the UE
  • the FQDN in a processing rule corresponds, report the corresponding DNS query request information according to the processing rule Content, for example, the FQDN in the DNS query request information.
  • the UE sends DNS query request information to the EASDF network element.
  • the DNS query request information includes the FQDN of the service to be queried by the UE.
  • the EASDF network element sends information corresponding to the DNS query request information to the SMF network element.
  • the EASDF judges that the FQDN carried in the DNS query request information corresponds to the FQDN in the first rule, then the EASDF network element reports the content corresponding to the DNS query request information to the SMF network element according to the first rule, for example, in the DNS query request information The FQDN.
  • the SMF network element judges whether the UE belongs to the UE group.
  • the SMF judges whether the UE belongs to the UE group.
  • the SMF network element judges whether the UE belongs to the UE group according to the FQDN carried in the DNS query request information, and if the FQDN corresponds to the service information in the first information, it is determined that the UE belongs to the UE group.
  • the FQDN corresponds to the service information in the first information. It can be understood that the FQDN is included in the service information, or the FQDN is corresponding to the service information in the first information. It can also be understood that the service corresponding to the FQDN belongs to the service information.
  • the first domain name information includes FQDN1, and the business information may include FQDN1 and FQDN2, etc.
  • the first domain name information corresponds to the business information, or the first domain name information includes FQDN1, and the FQDN1 is the business 1
  • the service information includes application ID-1 and application ID-2
  • the application ID-1 is the ID of service 1
  • the first domain name information corresponds to the service information.
  • the UEs in the UE group all correspond to the same UE group identifier
  • the SMF network element determines for the UE the same EAS as other UEs in the UE group based on the UE group identifier
  • the SMF network element can be the corresponding The UEs identified in the UE group all determine the same EAS.
  • the UEs in the UE group are located in the same location area, and the SMF network element determines for the UE the same EAS as other UEs in the UE group based on the location area information of the UE group.
  • the SMF network element can be UEs corresponding to the same location area all determine the same EAS.
  • the SMF network element determines the EAS address for the UE.
  • the SMF network element determines that the UE belongs to the UE group, it determines for the UE the same EAS address as other UEs in the UE group.
  • the determined EAS address may be the EAS address carried in the first information.
  • the determined EAS address may also be an EAS address corresponding to the UE group pre-stored by the SMF network element.
  • the SMF network element sends the second processing rule to the EASDF network element.
  • the second processing rule includes an EAS address and a processing rule.
  • the second processing rule may also be referred to as a first rule.
  • the EAS address is the EAS address determined by the SMF network element.
  • the processing rule is used to instruct the EASDF network element to send the EAS address.
  • the EASDF network element sends DNS query response information to the UE.
  • the EASDF network element sends the EAS address to the UE according to the second processing rule, and the EAS address may be included in the DNS query response information sent by the EASDF network element.
  • UEs belonging to the same UE group can be connected to the same SMF network element, or can be connected to different SMF network elements. If they are connected to different SMF network elements, each SMF selects the first information for UEs belonging to the same UE group
  • the EAS address carried in the UE group enables each UE in the UE group to connect to the same EAS, thereby reducing the interaction delay between multiple UEs.
  • FIG. 6 is another method for discovering edge services provided by the embodiment of the present application.
  • the UDR network element can store the EAS address corresponding to the UE group and send it to the SMF network element, and the SMF network element will provide it to each UE belonging to the UE group. All UEs in the UE group are connected to the same EAS.
  • the UDR network element stores the EAS address corresponding to the UE group and coordinates multiple SMFs to select the same EAS for the UE group.
  • steps S600 - S605 are similar to steps S500 - S505 described in FIG. 5 , and will not be repeated here to avoid repetition.
  • the EAS address may not be included in the first information.
  • the SMF network element sends acquisition request information to the UDR network element.
  • the SMF network element does not store the EAS address of the service corresponding to the UE group, and the PCF network element does not provide the corresponding EAS address, while the UDR network element stores the EAS address corresponding to the UE group, the SMF network The element may send acquisition request information to the UDR network element, requesting to acquire the EAS address of the service corresponding to the UE group, and the acquisition request information may include UE group information.
  • the UDR network element sends acquisition response information to the SMF network element.
  • the acquisition response information includes the EAS address of the service corresponding to the UE group.
  • the UDR network element may actively send the EAS address to the SMF network element without being triggered to send the EAS address by the acquisition request information, that is, step S606 may not exist, and step S607 may be directly executed.
  • Steps S608-S610 are respectively similar to steps S506-S508 described in FIG. 5, and will not be repeated here to avoid repetition.
  • UEs belonging to the same UE group can be connected to the same SMF network element, or can be connected to different SMF network elements, and the one or more SMFs select the UDR network element for UEs belonging to the same UE group to provide The EAS address of the UE, so that each UE in the UE group is connected to the same EAS, thereby reducing the interaction delay between multiple UEs.
  • Fig. 7 is another method for discovering edge services provided by the embodiment of the present application.
  • the DNS server can query the corresponding EAS address. If There are multiple SMF network elements, which can be coordinated by the UDR network element, so that each SMF network element determines the same EAS for each UE in the UE group.
  • Steps S700 - S707 are similar to steps S600 - S607 described in FIG. 6 , and will not be repeated here to avoid repetition.
  • the acquisition response information may indicate that the UDR network element does not store the EAS address corresponding to the UE group.
  • the SMF network element sends the third processing rule to the EASDF network element.
  • the third processing rule can also be called the first Two rules.
  • the third processing rule includes ECS option information and processing rules.
  • the processing rule is used to instruct the EASDF network element to add the ECS option information to the DNS query request information.
  • the specific processing rule is used to indicate that the EASDF network element will be based on
  • the ECS option generated by the ECS option information, that is, the ECS option, is added to the DNS query request information, and the DNS query request information is sent to the DNS server.
  • the ECS option information includes location information of the UE, and the location information may be an IP address of a network that the UE accesses.
  • the EASDF network element sends DNS query request information to the DNS server.
  • the EASDF network element adds the ECS option information to the In the DNS query request information, the specific processing rules are used to instruct the EASDF network element to add the ECS option generated based on the ECS option information to the DNS query request information, and send the DNS query request information to the DNS server.
  • the DNS query request information Including the FQDN of the UE and the ECS option.
  • the DNS server sends DNS query response information to the EASDF network element.
  • the DNS server queries the EAS address of the corresponding service according to the FQDN and ECS options, adds it to the DNS query response information, and sends it to the EASDF network element.
  • the EASDF network element sends content corresponding to the DNS query response information to the SMF network element.
  • the content corresponding to the DNS query response information may include one or more EAS addresses.
  • the DNS query response information may also include the FQDN of the service.
  • the SMF network element selects an EAS address corresponding to the UE group.
  • the SMF network element selects an EAS address for the UE from the one or more EAS addresses, and if each UE in the UE group is connected to the same SMF network element, the SMF network element selects the EAS address for each UE, And there is no need to execute steps S713-S714.
  • the SMF network element sends update request information to the UDR network element.
  • the SMF network element can send the UDR
  • the network element sends update request information, and the UDR network element coordinates and updates, so that the SMF network element finally determines the same EAS address for each UE in the UE group.
  • the update request information includes the EAS address determined by the SMF network element in step S712.
  • the UDR network element sends update response information to the SMF network element.
  • the UDR network element After receiving the update request information from the SMF network element, the UDR network element determines the EAS accessed by the first UE in the UE group to access the edge service, and sends update response information to the SMF network element that subsequently sends the update request , the update response information includes the EAS address, and each SMF network element determines the EAS address for each UE, and the EAS address determined by the SMF network element in step S712 may be the same as or different from the EAS address sent by the UDR network element.
  • Steps S715 - S716 are similar to steps S609 - S610 described in FIG. 6 , and will not be repeated here to avoid repetition.
  • the method described above in Figure 5 to Figure 7 is that the SMF network element determines the same EAS address for each UE belonging to the same UE group, while the method described in Figure 8 to Figure 11 is that the SMF network element determines the same EAS address for each UE belonging to the same UE group Select the EAS address in the same edge network.
  • the UDR network element only forwards the application function request information without its storage or coordination of DNAI.
  • the PCF network element receives application function request information from the AF network element.
  • the application function request information includes service information.
  • the application function request information may also include location area information, UE group identification information (that is, third identification information, UE list), and its corresponding content is the same as that described in step S500. It is similar, and it may include steps S800a, S800b, and S800c. To avoid repetition, details are not repeated here.
  • the application function request information includes second indication information, where the second indication information is used to select an EAS in the same edge network for UEs belonging to the same UE group.
  • the application function request information may also include ECS option information, the ECS option information is the ECS option corresponding to the UE group, and the ECS option information is used to determine the edge application server accessed by the UE in the UE group.
  • the application function request information may also include DNAI or LDN information corresponding to the UE group, the DNAI It may be the second identification information, the LDN information may be the name of the LDN, and the DNAI or LDN information is used to determine the edge application server to which the UE group in the corresponding edge network is connected.
  • the SMF network element receives first information from the PCF network element.
  • step S801 is similar to step S501, and will not be repeated here to avoid repetition.
  • the PCF network element when the application function request information contains the second indication information, the PCF network element generates the first information for the UE in the UE group based on the second indication information, and generates the first information based on the second indication information in the application function request information.
  • the second indication information in the first information that is, the second information includes the second indication information, and the second indication information is used to instruct the SMF network element to select the EAS address in the same DNAI for each UE belonging to the same UE group, or also It can be understood that the second indication information is used to indicate that the application server in the same edge network is determined for terminal devices accessing the same service, and it can also be understood that the second indication information is used to indicate that the application server in the same edge network is determined for the terminal device server, or it can be understood that the second indication information is used to indicate that terminal devices accessing the same service and corresponding to the same third identification information determine the application server in the same edge network, or it can be understood that the second indication information is used to indicate An application server in the same edge network is
  • the PCF network element when the application function request information includes ECS option information, the PCF network element generates the ECS option information in the first information based on the ECS option information in the application function request information.
  • the PCF network element when the application function request information includes the DNAI, the PCF network element generates the DNAI in the first information based on the DNAI in the application function request information.
  • Steps S802 - S805 are similar to steps S502 - S505 described in FIG. 5 , and will not be repeated here to avoid repetition.
  • the SMF network element determines the DNAI.
  • the first information includes the DNAI corresponding to the UE group, then the determined DNAI is the DNAI in the first information, and the ECS option corresponding to the DNAI is selected.
  • the first information includes the ECS option information corresponding to the UE group, then the SMF network element does not need to determine the DNAI, and the SMF network element selects the ECS option for the DNS server to query the corresponding EAS address.
  • the SMF network element may determine the DNAI based on the position of the UE in the UE group, or determine the DNAI based on the service accessed by the UE, and The SMF network element can select the DNAI for each UE in the same UE group, and select the ECS option corresponding to the DNAI.
  • the SMF network element determines the DNAI for the UEs in the UE group.
  • Steps S807-S813 are respectively similar to steps S708-S712, S715-S716 described in FIG. 7, and will not be repeated here to avoid repetition.
  • the third processing rule may also be called a third rule
  • the second processing rule may also be called a fourth rule
  • the UEs belonging to the same UE group can be connected to the same SMF network element, or can be connected to different SMF network elements, and the one or more SMFs belong to the same
  • the UEs in the UE group select the EAS address in the edge network corresponding to the DNAI provided by the PCF network element.
  • the PCF network element there is no need for the PCF network element to provide DNAI or ECS option information.
  • the SMF network element selects the EAS address in the same DNAI from the EAS address of the DNS query and provides it to the UE, so that each UE in the UE group is connected to the EAS in the edge network corresponding to the same DNAI, thereby reducing the communication between multiple UEs. Interaction delay.
  • the UDR network element can store the DNAI corresponding to the UE group and send it to the SMF network element.
  • the SMF network element selects the EAS address in the DNAI and provides For each UE in the same UE group, so that each UE in the UE group is connected to the EAS in the edge network corresponding to the same DNAI.
  • Steps S900 - S905 are similar to steps S800 - S805 described in FIG. 8 , and will not be repeated here.
  • step S906 the SMF network element sends acquisition request information to the UDR network element.
  • the SMF network element does not store the DNAI of the service corresponding to the UE group, and the UDR network element stores the DNAI corresponding to the UE group, then the SMF network element can send an acquisition request message to the UDR network element, requesting to obtain the service information corresponding to the UE group DNAI, the acquisition request information may also include UE group information.
  • the UDR network element sends acquisition response information to the SMF network element.
  • the acquisition response information includes the DNAI of the service corresponding to the UE group.
  • the UDR network element may actively send the DNAI to the SMF network element without being triggered to send the DNAI by obtaining the request information, that is, step S906 may not exist, and step S907 may be directly executed.
  • the SMF network element determines the DNAI.
  • the SMF network element determines the DNAI provided by the UDR network element for UEs in the UE group.
  • Steps S909-S915 are respectively similar to steps S807-S813 described in FIG. 8, and will not be repeated here.
  • UEs belonging to the same UE group can be connected to the same SMF network element, or can be connected to different SMF network elements. If they are connected to different SMF network elements, each SMF selects the UE in the same UE group.
  • the EAS address in the edge network corresponding to the DNAI provided by the UDR network element enables each UE in the UE group to connect to the EAS in the edge network corresponding to the same DNAI, thereby reducing the interaction delay between multiple UEs.
  • Figure 10 is another method for discovering edge services provided by the embodiment of this application.
  • the SMF network element can select according to the service or location of the UE. DNAI, and coordinated by the UDR network element, so that when there are multiple SMF network elements, each SMF network element determines the EAS address in the same DNAI for each UE in the UE group.
  • Steps S1000 - S1007 are similar to steps S900 - S607 described in FIG. 9 , and will not be repeated here.
  • the acquisition response information may indicate that the UDR network element does not store the DNAI corresponding to the UE group.
  • the SMF network element determines the DNAI.
  • the DNAI is stored in the SMF network element and corresponds to the service accessed by the UE. If each UE in the same UE group is connected to the same SMF network element, then the SMF network element selects the DNAI for each UE in the UE group, and steps S1013-S1014 do not need to be performed.
  • Steps S1009-S1012 are respectively similar to steps S909-S912 described in FIG. 9, and will not be repeated here.
  • the SMF network element sends update request information to the UDR network element.
  • the SMF network element can send the UDR network
  • the element sends update request information, which is coordinated and updated by the UDR network element, so that the SMF network element finally determines the same EAS address for each UE in the UE group.
  • the update request information includes the DNAI determined by the SMF network element in step S1008.
  • the UDR network element sends update response information to the SMF network element.
  • the UDR network element After receiving the update request information from the SMF network element, the UDR network element determines the DNAI corresponding to the EAS accessed by the first UE in the UE group to access the edge service, and sends it to the subsequent SMF network element that sends the update request
  • the update response information includes the DNAI, and each SMF network element determines the EAS address in the edge network corresponding to the DNAI for each UE.
  • step S1008 if the DNAI determined by the SMF network element in step S1008 is different from the DNAI sent by the UDR network element, re-execute steps S1008-S1014 until the SMF network element determines the DNAI and UDR network element for the UE group.
  • the DNAI sent by the meta is the same.
  • Steps S1015-S1017 are respectively similar to steps S913-S915 described in FIG. 9, and will not be repeated here.
  • Fig. 11 is an interactive schematic diagram of another edge service discovery method provided by this application.
  • the SMF network element selects the EAS address in the same LDN for UEs in the same UE group, so that each UE in the UE group connects to the EAS in the same LDN .
  • Steps S1100 - S1105 are similar to steps S800 - S805 described in FIG. 8 , and will not be repeated here.
  • the application function request information may include LDN information and/or ECS option information
  • the first information may include LDN information and/or ECS option information
  • the LDN information may be the name of the LDN
  • steps S1106-S1007 and steps S1113-S1114 do not need to be performed.
  • the first information may further include second indication information, where the second indication information is used to instruct the SMF network element to select an EAS address in the same LDN for UEs in the same UE group.
  • the SMF network element sends acquisition request information to the UDR network element.
  • the first information does not include the LDN information of the service corresponding to the UE group
  • the SMF network element does not store the LDN information of the service corresponding to the UE group
  • the UDR network element stores the LDN information corresponding to the UE group .
  • the SMF network element can send acquisition request information to the UDR network element, requesting to acquire the LDN information of the service corresponding to the UE group.
  • the acquisition request information includes UE group information.
  • the UDR network element sends acquisition response information to the SMF network element.
  • the acquisition response information includes the LDN information of the service corresponding to the UE group.
  • the UDR network element can actively send the LDN information to the SMF network element, without the acquisition request information sent by the SMF network element triggering the UDR network element to send the LDN information, that is, the SMF network element does not need to perform step S1106 , but directly execute step S1107.
  • the SMF network element determines the LDN.
  • the first information includes the LDN information corresponding to the UE group
  • the SMF network element selects the LDN information in the first information for each UE in the terminal group, and selects the ECS corresponding to the LDN option.
  • the UDR network element stores the LDN information corresponding to the UE group, and the SMF network element selects the LDN information sent by the UDR network element for each UE in the terminal group, and selects the ECS corresponding to the LDN option.
  • the SMF network element stores the LDN information corresponding to the UE group, and the SMF network element selects the LDN information for each UE in the terminal group, and selects the ECS option corresponding to the LDN.
  • the SMF network element determines whether the LDN information corresponding to the UE group, and neither the SMF network element nor the UDR network element stores the LDN information of the service corresponding to the UE group, the SMF network element Determine the LDN information of the accessed service or location area, and select the ECS option corresponding to the LDN.
  • Steps S1109-S1112 are respectively similar to steps S807-S810 described in FIG. 8, and will not be repeated here.
  • the SMF network element sends update request information to the UDR network element.
  • each SMF network element determines the LDN information according to the service or location area visited by the UE, in order to prevent each SMF network element from determining the The LDN information is different, and the SMF network element sends update request information to the UDR network element.
  • the update request information includes the LDN information determined by the SMF network element, and is coordinated by the UDR network element.
  • the UDR network element sends update response information to the SMF network element.
  • the update response information includes the LDN information selected by UDR, and the LDN information may be the LDN accessed by the UE served by the first access edge in the UE group, and the UDR network element Maintain the LDN information, and send the LDN information to each SMF network element in the update request information.
  • the SMF network element and so on re-execute steps S1108 to S1114 until the LDN information determined by the SMF network element is the same as the LDN information maintained by the UDR network element .
  • the LDN information determined by the SMF network element may also be the same as the LDN information maintained by the UDR network element, and then the SMF network element and the like directly perform steps S1116-S1117.
  • the SMF network element determines the EAS address.
  • the SMF network element selects an EAS address in the determined LDN, and sends it to the EASDF network element through the second processing rule, and the EASDF network element sends it to the UE, that is, steps S1116-S1117, which will not be repeated here.
  • FIG. 12 is an interactive schematic diagram of a method for rediscovering edge services provided by the present application. After completing the edge service discovery process of the UE group through the methods described in FIG. 4 to FIG. 11 , if the UE group adds a new UE, so that If the load of the core network elements exceeds its preset range, each core network element needs to perform a rediscovery process. Each network element deletes the EAS address information or DNAI and LDN information stored in the edge service discovery process, and re-executes a process of edge service discovery described in Fig. 4 to Fig. 11 .
  • the UDR network element receives application function request information from the AF network element.
  • step S1201 may include steps S1201a and S1201b, that is, the application function request information may be forwarded to the UDR network element via the NEF network element.
  • the application function request information is similar to the content described in step S500 , step S800 and step S1100 , and will not be repeated here.
  • the application function request information may further include third indication information, and the third indication information is used to instruct each network element to delete EAS address information, DNAI information or LDN information stored in the edge service discovery process.
  • the third indication information may be implicitly carried in the application function request information. .
  • the UDR network element deletes EAS address information, DNAI information or LDN information of services corresponding to the UE group.
  • the UDR network element stores the EAS address information, DNAI information or LDN information of the service corresponding to the UE group, and then the UDR network element receives the application function request information from the AF network element, according to the UE group Corresponding service information, identification information or location area information, determine the UE group that needs to perform the rediscovery service and its corresponding service, and delete the EAS address information, DNAI information or LDN information of the service corresponding to the UE group.
  • the UDR network element sends the application function request information to the PCF network element.
  • the SMF network element receives the second information from the PCF network element.
  • the PCF network element generates the second information based on the application function request information, and sends the second information to the SMF network element.
  • the SMF network element deletes EAS address information, DNAI information or LDN information of services corresponding to the UE group.
  • the SMF network element stores the EAS address information, DNAI information or LDN information of the service corresponding to the UE group, and then the SMF network element, after receiving the second information from the PCF network element, according to the UE group corresponding
  • the service information, identification information or location area information determine the UE group that needs to perform rediscovery service and its corresponding service, and delete the EAS address information, DNAI information or LDN information of the service corresponding to the UE group.
  • the SMF network element sends the fourth processing rule to the EASDF network element.
  • the fourth processing rule includes the FQDN of the service corresponding to the UE group and the processing rule.
  • the FQDN is used by the EASDF network element to search for the EAS address corresponding to the FQDN. For the EAS address, delete the EAS address corresponding to the UE group.
  • the EASDF network element deletes the EAS address, DNAI or LDN corresponding to the UE group.
  • the EASDF network element stores the EAS address of the service corresponding to the UE group, then the EASDF network element searches for the corresponding EAS address according to the FQDN carried in the fourth processing rule, and according to the fourth processing rule The rule deletes the EAS address.
  • each network element re-executes an edge service discovery process described in FIG. 4 to FIG. 11, and reselects the corresponding EAS address, DNAI or LDN for the UE in the UE group accessing the specific service.
  • first, second, etc. are only used to indicate that multiple objects are different.
  • first network element and the second network element are only used to represent different network elements. It should not have any impact on the number and number of network elements, and the above-mentioned first, second, etc. should not impose any restrictions on the embodiments of the present application.
  • Fig. 13 is a structural block diagram of a communication device provided according to an embodiment of the present application.
  • the communication device may have the functions of the first network element or the fourth network element in the above method embodiments, and may be used to execute the steps performed by the first network element or the fourth network element in the above method embodiments.
  • the communication device 1300 shown in FIG. 13 may serve as the first network element involved in the foregoing method embodiments, and execute the steps performed by the first network element in the foregoing method embodiments.
  • the communication device 1300 may include a sending module 1310 and a receiving module 1320 .
  • the sending module 1310 can be used to support the communication device 1300 to send information, for example, execute S304, S404, S502, S507, S602, S606, S609, S702, S706, S708, S713, S715, S802, S807, A sending action performed by the first network element in S812, S902, S906, S909, S914, S1002, S1006, S1009, S1013, S1016, S1102, S1106, S1109, S1113, S1116, and S1206.
  • the receiving module 1320 can be used to support the communication device 1300 to receive information, for example, execute S301, S302, S401, S402, S501, S504, S601, S604, S607, S701, S704, S707, S711, S714, Receiving actions performed by the first network element in S801, S804, S810, S901, S904, S907, S912, S1001, S1004, S1007, S1012, S1014, S1101, S1104, S1107, S1112, S1114, and S1204.
  • the communication device 1300 may further include a processing module 1330, which is coupled with the sending module 1310 and the receiving module 1320, and may be used to support the communication device 1300 to perform the processing actions in the above method embodiments, for example, to perform the processing actions in FIG. 3 to FIG. S303, S403, S505, S506, S605, S608, S705, S712, S805, S806, S811, S905, S908, S913, S1005, S1008, S1015, S1105, S1108, S1115 and S1205 in 12 are assigned by the first network element The processing action performed.
  • a processing module 1330 which is coupled with the sending module 1310 and the receiving module 1320, and may be used to support the communication device 1300 to perform the processing actions in the above method embodiments, for example, to perform the processing actions in FIG. 3 to FIG. S303, S403, S505, S506, S605, S608, S705, S712, S805, S806, S811, S905, S908, S913, S100
  • the communication device 1300 shown in FIG. 13 may serve as the fourth network element involved in the above method embodiment, and execute the steps performed by the fourth network element in the above method embodiment.
  • the communication device 1300 may include a sending module 1310 and a receiving module 1320 .
  • the sending module 1310 can be used to support the communication device 1300 to send information, for example, perform the sending performed by the fourth network element in S301, S401, S501, S601, S701, S801, S901, S1001, S1101 and S1204 in FIG. 3 to FIG. action.
  • the receiving module 1320 can be used to support the communication device 1300 to receive information, for example, to perform the receiving action performed by the second network element in S500, S600, S700, S800, S900, S1000, S1100 and S1203 in FIG. 5 to FIG. 12 .
  • the communication device 1300 may further include a processing module 1330, which is coupled with the sending module 1310 and the receiving module 1320, and may be used to support the communication device 1300 to perform the processing actions in the above method embodiments, for example, perform application-based function request Processing actions performed by the fourth network element, such as information generation of the first information.
  • a processing module 1330 which is coupled with the sending module 1310 and the receiving module 1320, and may be used to support the communication device 1300 to perform the processing actions in the above method embodiments, for example, perform application-based function request Processing actions performed by the fourth network element, such as information generation of the first information.
  • the communication device 1300 may further include a storage module 1340 for storing program codes and data of the communication device 1300 .
  • Fig. 14 is a schematic block diagram of a communication device 1400 provided by an embodiment of the present application.
  • the communication device 1400 includes: at least one processor 1410 and a transceiver 1420 .
  • the processor 1410 is coupled with the memory, and is used for executing instructions stored in the memory to control the transceiver 1420 to send signals and/or receive signals.
  • the communications device 1400 further includes a memory 1430 for storing instructions.
  • the processor 1410 and the memory 1430 may be combined into one processing device, and the processor 1410 is configured to execute program codes stored in the memory 1430 to implement the above functions.
  • the memory 1430 may also be integrated in the processor 1410 , or be independent of the processor 1410 .
  • the transceiver 1420 may include a receiver (or called receiver) and a transmitter (or called transmitter).
  • the transceiver 1420 may further include antennas, and the number of antennas may be one or more.
  • the transceiver 1420 may be a communication interface or an interface circuit.
  • the chip When the communication device 1400 is a chip, the chip includes a transceiver unit and a processing unit.
  • the transceiver unit may be an input-output circuit or a communication interface
  • the processing unit may be a processor or a microprocessor or an integrated circuit integrated on the chip.
  • the network equipment chip implements the functions of the network equipment in the above method embodiments.
  • the network device chip receives information from other modules in the network device (such as radio frequency modules or antennas), and the information is sent to the network device by terminals or other network devices; or, the network device chip sends information to other modules in the network device (such as a radio frequency module or an antenna) output information, which is sent by the network device to the terminal or other network devices.
  • the embodiment of the present application also provides a computer-readable storage medium, the computer-readable storage medium stores a computer program or instruction, and the computer program or instruction is executed by a computer (for example, a processor), so as to realize the Some or all steps of any method performed by any device.
  • a computer for example, a processor
  • the embodiment of the present application also provides a computer program product containing instructions, which, when run on a computer, causes some or all steps of any method performed by any device in the embodiments of the present application to be executed.
  • the disclosed systems, devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Abstract

本申请提供了一种发现边缘服务的方法和装置,该方法包括:第一网元接收第一信息,第一信息包括第一业务信息;第一网元接收第二信息,第二信息包括第一域名信息;第一域名信息对应于第一业务信息,第一网元为第一终端设备确定与第二终端设备相同的应用服务器或相同边缘网络中的应用服务器;第一网元发送第一规则,指示第二网元向第一终端设备发送第一应用服务器地址信息,或者,第一网元发送第三规则,第三规则包括第二选项信息,第二选项信息用于DNS服务器确定应用服务器地址信息。本申请提供的方法,能够为属于相同终端组的终端设备确定相同的应用服务器或相同边缘网络中的应用服务器,降低终端组中各终端设备之间的交互时延。

Description

发现边缘服务的方法和装置
本申请要求于2022年02月14日提交中国国家知识产权局、申请号为202210135574.4、申请名称为“发现边缘服务的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及通信领域,更具体地,涉及一种发现边缘服务的方法和装置。
背景技术
在第五代(5th generation,5G)通信系统中,终端设备要使用边缘业务,需要通过基于域名系统(domain name system,DNS)的服务发现机制来获取边缘应用服务器(edge application server,EAS)的地址,例如:终端设备要访问业务时,首先向边缘应用服务器发现功能(edge application server discovery function,EASDF)网元发起DNS查询请求,EASDF网元根据会话管理功能(session manage function,SMF)网元的指示向SMF网元上报该DNS查询请求相关信息,SMF网元向EASDF网元提供该DNS查询请求对应的DNS扩展机制的客户端子网(EDNS client subnet,ECS)选项(ECS option)信息,EASDF网元在该DNS查询请求中添加ECS选项信息,DNS服务器(DNS server)根据该ECS选项信息查询并返回相应的EAS地址。
目前,该方法只能为单个终端设备提供边缘应用发现服务,而对于访问相同业务的多个终端设备,例如交互式增强现实(augmented reality,AR)游戏中的多个终端设备来说,该方法无法满足其低时延的需求。
发明内容
本申请实施例提供一种发现边缘服务的方法和装置,能够将访问特定业务的多个终端设备连接至相同的EAS或相同边缘网络中的EAS,以降低多个终端设备之间的交互时延。
第一方面,提供了一种发现边缘服务的方法,该方法的执行主体既可以是第一网元也可以是应用于第一网元的芯片。示例性地,第一网元可以是会话管理网元。以执行主体为第一网元为例,该方法包括:第一网元接收第一信息,该第一信息包括第一业务信息;该第一网元接收第二信息,该第二信息包括第一域名信息,该第一域名信息包含于第一终端设备发送的第一域名系统DNS查询请求信息,该第一DNS查询请求信息用于请求该第一域名信息对应的应用服务器地址信息;该第一域名信息对应于该第一业务信息,该第一网元为该第一终端设备确定与第二终端设备相同的应用服务器,该第二终端设备与该第一终端设备访问的业务相同;该第一网元发送第一规则,该第一规则包括第一应用服务器地址信息,该第一应用服务器地址信用于指示该相同的应用服务器,该第一规则用于指示第二网元向该第一终端设备发送该第一应用服务器地址信息。
本申请中,该第一网元为该第一终端设备确定与第二终端设备相同的应用服务器,可以理解为该第一网元基于第一信息为该第一终端设备确定与第二终端设备相同的应用服务器。该第一应用服务器地址信用于指示该相同的应用服务器,也可以理解为该第一应用服务器地址信息为该相同的应用服务器对应的地址,或者也可以理解为该第一应用服务器地址信息用于指示该相同的应用服务器对应的地址。该第一规则用于指示第二网元向该第一终端设备发送该第一应用服务器地址信息,也可以理解为第一规则用于控制第二网元向该第一终端设备发送该第一应用服务器地址信息,或者也可以理解为第二网元基于该第一规则向该第一终端设备发送该第一应用服务器地址信息。本申请中,第二终端设备可以包含一个或者多个终端设备,也可以称第一终端设备和第二终端设备属于同一个终端组。
在本申请提供的实施例中,第一网元接收第四网元的第一信息,该第一信息包括第一业务信息,该第一业务信息为终端组中终端所访问的业务信息,该终端组可以包括访问该第一业务信息所对应业务的多个终端设备,该第四网元可以为策略控制功能网元。第一终端设备向第二网元发送DNS查询请求信息,该第二网元可以为边缘应用服务器发现功能网元,该DNS查询请求信息中包括第一域名信息,该第二网元向第一网元上报该第一域名信息,第一网元判断第一域名信息所对应的业务是否与第一信息相匹配,即第一网元判断该第一终端设备是否属于终端组,若该第一终端设备属于终端组,则第一网元为该第一终端设备选择与终端组中的其他终端设备相同的应用服务器地址,该应用服务器地址可以为边缘应用服务器地址。通过本申请提供的实施例,能够为访问相同业务的终端设备选择相同的应用服务器地址,从而降低多个终端设备之间的交互时延。
结合第一方面,在第一方面的某些实现方式中,该第一信息包括第一标识信息,该第一标识信息用于指示与该第一终端设备访问相同应用服务器的终端设备。
本申请中,该第一标识信息用于指示与该第一终端设备访问相同应用服务器的终端设备,也可以理解为该第一标识用于标识访问相同应用服务器的终端设备,或者也可以理解为该第一标识信息用于标识与该第一终端设备访问相同应用服务器的终端设备,或者也可理解为对应相同该第一标识信息的终端设备访问相同的应用服务器,或者也可以理解为对应相同该第一标识信息的终端设备在访问相同业务时访问相同的应用服务器,或者也可以理解为对应相同该第一标识信息的终端设备确定相同的应用服务器,或者也可以理解为对应相同该第一标识信息且访问相同业务的终端设备确定相同的应用服务器。该第一终端设备与该第二终端设备对应相同的该第一标识信息。
在本申请提供的实施例中,策略控制功能网元可以为终端组添加第一标识信息,使得第一网元在接收到终端设备的DNS查询请求信息之后,能够根据该终端设备具有终端组对应的第一标识信息,确定需要为该终端设备选择与对应的终端组中的其他终端设备相同的应用服务器地址。
结合第一方面,在第一方面的某些实现方式中,该第二终端设备属于该第一标识信息所指示的终端设备。
结合第一方面,在第一方面的某些实现方式中,该第一终端设备属于该第一标识信息所指示的终端设备。结合第一方面,在第一方面的某些实现方式中,第一网元为第一终端设备确定与第二终端设备相同的应用服务器包括:第一网元为对应相同第一标识信息的第一终端设备与第二终端设备确定相同的应用服务器。
在本申请提供的实施例中,第二终端设备与第一终端设备对应相同的第一标识信息,则第二终端设备与第一终端设备属于相同的终端组,第一网元能够根据该第一标识信息为第一终端设备与第二终端设备确定相同的应用服务器地址,以降低第一终端设备与第二终端设备及同一终端组中的其他终端设备之间的交互时延。
结合第一方面,在第一方面的某些实现方式中,该第一信息包括位置区域信息。
在本申请提供的实施例中,第一终端设备与第二终端设备都位于该位置区域信息所指示的位置区域内,第一网元能够根据该位置区域信息为属于该位置区域且访问相同业务的终端设备确定相同的应用服务器地址,以降低终端设备之间的交互时延。
结合第一方面,在第一方面的某些实现方式中,该第一信息包括第一指示信息,该第一指示信息用于指示为访问相同业务的终端设备确定相同的应用服务器。
本申请中,该第一指示信息用于指示为访问相同业务的终端设备确定相同的应用服务器,也可以理解为该第一指示信息用于指示为终端设备确定相同的应用服务器,或者可以理解为该第一指示信息用于指示为访问相同业务且对应相同该第一标识信息的终端设备确定相同的应用服务器,或者可以理解为该第一指示信息用于指示为访问该第一业务信息对应的业务的终端设备确定相同的应用服务器。
结合第一方面,在第一方面的某些实现方式中,该第一网元为该第一终端设备确定与第二终端设备相同的应用服务器包括:该第一网元根据该第一指示信息为该第一终端设备确定与该第二终端设备相同的应用服务器。
在本申请提供的实施例中,第四网元发送的第一信息中可以包括第一指示信息,指示第一网元为访问相同业务的终端设备或属于终端组的终端设备选择相同的应用服务器,从而降低多个终端设备之间的交互时延。
结合第一方面,在第一方面的某些实现方式中,在第一网元发送第一规则之前,该方法还包括:该第一网元发送第二规则,该第二规则包括第一选项信息,该第一选项信息用于DNS服务器确定应用服务器地址信息,该第二规则用于指示该第二网元向该DNS服务器发送第二DNS查询请求信息,该第二DNS查询请求信息包括该第一选项信息和该第一域名信息。
具体的,该第一选项信息所对应的第一选项即第一ECS option用于DNS服务器确定应用服务器地址信息。第二网元基于第一选项信息生成第一ECS option,并将第一ECS option添加在第二DNS查询请求信息中,即该第二DNS查询请求信息包括该第一选项信息对应的第一ECS option和该第一域名信息,DNS服务器基于第一ECS option确定应用服务器地址信息。
在本申请提供的实施例中,第一网元可以向第二网元发送第二规则,指示第二网元向DNS服务器发送DNS查询请求,DNS服务器根据该查询请求中的第一ECS option查询与业务相对应的应用服务器地址,能够在第一网元未存储与终端组对应的应用服务器地址的情况下,通过查询的方式获取对应的应用服务器地址。
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一网元接收第三信息,该第三信息包括该第一域名信息以及一个或多个应用服务器地址信息,该一个或多个应用服务器地址信息由该DNS服务器确定。
具体的,所述一个或多个应用服务器地址信息由该DNS服务器通过DNS查询请求信 息对应的DNS查询响应信息返回给第二网元,并由第二网元将该一个或者多个应用服务器地址通过第三信息发送给第一网元。
在本申请提供的实施例中,由DNS服务器根据第一ECS option查询得到与业务相对应的应用服务器地址,并发送至第二网元,再由第二网元发送给第一网元,能够在第一网元未存储与终端组对应的应用服务器地址的情况下,通过DNS查询的方式获取对应的应用服务器地址。结合第一方面,在第一方面的某些实现方式中,在该第一网元发送第一规则之前,该方法还包括:该第一网元发送第一请求信息,该第一请求信息包括第二应用服务器地址信息,该第二应用服务器地址信息用于指示该第一网元确定的应用服务器。
在本申请提供的实施例中,第一网元为终端设备确定应用服务器后,可以向第三网元发送该应用服务器地址,该第三网元可以为数据存储网元,由第三网元进行应用服务器地址的更新,防止在存在多个第一网元的情况下,各个第一网元为同一终端组中的终端设备确定的应用服务器不同。
结合第一方面,在第一方面的某些实现方式中,在第一网元发送第二规则之后,该方法还包括:该第一网元发送第一请求信息,该第一请求信息包括第二应用服务器地址信息,该第二应用服务器地址信息用于指示该第一网元确定的应用服务器。在本申请提供的实施例中,在存在多个第一网元的情况下,各第一网元发送第一选项信息,并由DNS服务器查询对应的应用服务器地址,并可以向第三网元发送第一网元确定的应用服务器地址,由第三网元进行应用服务器地址的更新,防止各个第一网元为同一终端组中的终端设备确定的应用服务器不同。
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一网元接收响应于第一请求信息的第一响应信息,该第一响应信息包括该第一应用服务器地址信息。
在本申请提供的实施例中,由第三网元对第一网元选择的应用服务器地址进行更新,能够在存在多个第一网元即终端组中的终端设备连接至不同的第一网元的情况下,向各个第一网元返回相同的应用服务器地址,防止多个第一网元为同一终端组中的各个终端设备选择的应用服务器地址不同。
结合第一方面,在第一方面的某些实现方式中,该第二应用服务器地址信息与该第一应用服务器地址信息所指示的应用服务器相同。
在本申请提供的实施例中,在存在多个第一网元的情况下,各个第一网元为终端组中的终端设备确定的应用服务器地址有可能相同,由第三网元进行更新和确认,为第一网元最终返回给终端设备相同的应用服务器地址提供保障。
结合第一方面,在第一方面的某些实现方式中,在第一网元发送第一规则之前,该方法还包括:该第一网元发送第二规则,该第二规则包括第一选项信息,该第一选项信息用于DNS服务器确定应用服务器地址信息,该第二规则用于指示该第二网元向该DNS服务器发送第二DNS查询请求信息,该第二DNS查询请求信息包括该第一选项信息和该第一域名信息。
结合第一方面,在第一方面的某些实现方式中,该方法还包括:该第一网元接收第三信息,该第三信息包括该第一域名信息以及一个或多个应用服务器地址信息,该一个或多个应用服务器地址信息由该DNS服务器确定。
结合第一方面,在第一方面的某些实现方式中,该第一应用服务器地址信息为该一个 或多个应用服务器地址信息中的一个。
在本申请提供的实施例中,在只存在一个第一网元即终端组中的终端设备连接至相同的第一网元的情况下,该第一网元可以基于第三信息中的一个或者多个应用服务器地址信息确定该第一应用服务器地址信息,即第一网元从该一个或者多个应用服务器地址信息中选择一个作为该第一应用服务器地址,且该第一网元可以为访问相同业务的终端设备均选择该第一应用服务器地址,或者,该第一网元可以为访问相同业务且对应相同该第一标识的终端设备选择该第一应用服务器地址。从而能够为属于相同终端组的终端设备选择相同的应用服务器,降低多个终端设备之间的交互时延,且无需由第三方进行应用服务器地址信息的协调,能够节约资源开销。
结合第一方面,在第一方面的某些实现方式中,在该第一网元发送第一规则之前,该方法还包括:该第一网元接收第四信息,该第四信息包括该第一应用服务器地址信息。
在本申请提供的实施例中,可以由第三网元存储终端组对应的应用服务器地址信息,并主动向第一网元发送该应用服务器地址信息,即,可以由第三网元发送该第四信息。能够在第一网元未存储对应的应用服务器地址的情况下,由第三网元为第一网元提供应用服务器地址,且第一网元为终端组中的各个终端设备均提供该地址,从而降低终端组中各终端设备之间的交互时延。
结合第一方面,在第一方面的某些实现方式中,在该第一网元接收第四信息之前,该方法还包括:该第一网元发送第五信息,该第五信息用于获取与该第一域名信息相对应的应用服务器地址信息。
在本申请提供的实施例中,能够在第一网元未存储终端组对应的应用服务器地址的情况下,通过向第三网元发送请求信息,以获取对应的地址。
结合第一方面,在第一方面的某些实现方式中,该第一信息包括该第一应用服务器地址信息。
在本申请提供的实施例中,第四网元可以直接为第一网元提供终端组对应的应用服务器地址,且第一网元可以为终端组中的各终端设备均选择该地址,无需从第三方获取或查询对应的地址信息,节约资源开销。
第二方面,提供了一种发现边缘服务的方法,该方法的执行主体既可以是第四网元也可以是应用于第四网元的芯片。示例性地,第四网元可以是策略控制功能网元。以执行主体为第四网元为例,该方法包括:第四网元接收应用功能请求信息,该应用功能请求信息用于对业务流路由进行控制;该第四网元基于该应用功能请求信息生成第一信息,该第一信息包括第一业务信息;该第四网元发送该第一信息。
在本申请提供的实施例中,第四网元根据应用功能请求信息生成第一信息,该第一信息包括第一业务信息。第一网元在接收到终端设备所访问的业务信息如第一域名信息之后,根据第一信息判断该终端设备是否属于终端组,若属于终端组,则为该终端设备选择与该终端组中的其他终端设备相同的应用服务器,以降低多个终端设备之间的交互时延。
结合第二方面,在第二方面的某些实现方式中,该第一信息包括第一标识信息,该第一标识信息用于指示与该第一终端设备访问相同应用服务器的终端设备。
在本申请提供的实施例中,由第一标识信息指示与第一终端设备访问相同应用服务器的终端设备,能够使得第一网元在接收到终端设备的DNS查询请求信息之后,根据该终 端设备具有终端组对应的标识信息,确定需要为该终端设备确定与相同的终端组中的其他终端设备相同的应用服务器地址。
结合第二方面,在第二方面的某些实现方式中,该第一信息包括位置区域信息。
在本申请提供的实施例中,第一网元能够根据该位置区域信息为属于该位置区域且访问相同业务的终端设备确定相同的应用服务器地址,以降低终端设备之间的交互时延。
结合第二方面,在第二方面的某些实现方式中,该第一信息包括第一指示信息,该第一指示信息用于指示为访问相同业务的终端设备确定相同的应用服务器。
在本申请提供的实施例中,第四网元发送的第一信息中可以包括第一指示信息,指示第一网元为相同终端组中访问相同业务的终端设备确定相同的应用服务器地址,从而降低多个终端设备之间的交互时延。
结合第二方面,在第二方面的某些实现方式中,该第一信息包括第一应用服务器地址信息,该第一应用服务器地址信息用于指示该第一网元为该第一终端设备确定的应用服务器。
在本申请提供的实施例中,第四网元可以为第一网元提供终端组对应的应用服务器地址,且第一网元可以直接为终端组中的各终端设备均确定该地址,从而降低多个终端设备之间的交互时延,且无需从第三方获取或查询对应的应用服务器地址或边缘网络信息,节约资源开销。
第三方面,提供一种发现边缘服务的方法,该方法的执行主体既可以是第五网元也可以是应用于第五网元的芯片。示例性地,第五网元可以是应用功能网元。以执行主体为第五网元为例,该方法包括:第五网元发送应用功能请求信息,该应用功能请求信息用于对业务流路由进行控制,该应用功能请求信息包括第一业务信息,该第一业务信息用于指示终端组访问的业务,该应用功能请求信息还用于第四网元生成第一信息。
在本申请提供的实施例中,第五网元向第四网元发送应用功能请求信息,用于第四网元生成第一信息,该应用功能请求信息包括业务信息,能够使得第四网元根据该业务信息生成第一信息中的业务信息,并发送给第一网元,由第一网元根据第一信息判断该终端设备是否属于终端组,若属于终端组,则为该终端设备选择与该终端组中的其他终端设备相同的应用服务器,以降低多个终端设备之间的交互时延。该应用功能请求信息用于对业务流路由进行控制也可以理解为该应用功能请求信息用于控制为终端组中的终端设备选择相同的应用服务器。
结合第三方面,在第三方面的某些实现方式中,该应用功能请求信息包括第一标识信息。
在本申请提供的实施例中,该应用功能请求信息包括第一标识信息,能够使得第四网元根据该应用功能请求信息中的第一标识信息生成第一信息中的第一标识信息,并发送给第一网元,从而使得第一网元能够根据该第一标识信息为该终端设备选择与该终端组中的其他终端设备相同的应用服务器,以降低多个终端设备之间的交互时延。
结合第三方面,在第三方面的某些实现方式中,该应用功能请求信息包括位置区域信息。
在本申请提供的实施例中,该应用功能请求信息包括位置区域信息,可以使得第四网元根据该应用功能请求信息中的位置区域信息生成第一信息中的位置区域信息,并发送给 第一网元,从而使得第一网元能够根据该位置区域信息为属于该位置区域且访问相同业务的终端设备确定相同的应用服务器地址,以降低多个终端设备之间的交互时延。
结合第三方面,在第三方面的某些实现方式中,该应用功能请求信息还可以包括第一指示信息,该第一指示信息用于指示为属于相同终端组的终端设备确定相同的应用服务器。
在本申请提供的实施例中,该应用功能请求信息包括第一指示信息,能够使得第四网元根据该应用功能请求信息中的第一指示信息生成第一信息中的第一指示信息,并发送给第一网元,从而使得第一网元根据该第一指示信息为相同终端组中的终端设备,或者相同终端组中访问相同业务的终端设备确定相同的应用服务器地址,以降低多个终端设备之间的交互时延。
结合第三方面,在第三方面的某些实现方式中,该应用功能请求信息包括第一应用服务器地址信息,该第一应用服务器地址信息用于指示为第一终端设备确定的应用服务器。
在本申请提供的实施例中,该应用功能请求信息包括第一应用服务器地址信息,能够使得第四网元根据该应用功能请求信息中的第一应用服务器地址信息生成第一信息中的第一应用服务器地址信息,并发送给第一网元,由第一网元直接为终端组中的各终端设备均确定该地址,从而降低多个终端设备之间的交互时延,且无需从第三方获取或查询对应的应用服务器地址或边缘网络信息,节约资源开销。
结合第三方面,在第三方面的某些实现方式中,该应用功能请求信息包括终端设备列表信息,该终端设备列表信息包含一个或多个终端设备标识。第四网元根据该终端设备列表信息为终端设备列表信息中所指示的终端设备生成第一信息,并发送给第一网元,由第一网元为终端设备列表中所指示的终端设备确定相同的应用服务器。
在本申请提供的实施例中,该应用功能请求信息包括终端设备列表信息,能够使得第四网元根据该应用功能请求信息中为终端设备列表信息中所指示的终端设备生成第一信息,并发送给第一网元,第四网元分别为终端设备列表信息中所指示的终端设备生成第一信息并发送给第一网元,由第一网元为终端设备列表中所指示的终端设备确定相同的应用服务器。
结合第三方面,在第三方面的某些实现方式中,该应用功能请求信息同时包含终端设备列表信息和该第一标识信息。该第一标识信息与该终端设备列表信息中的终端设备相对应,或者可以理解为为该终端设备列表信息中的终端设备指定该第一标识信息。
在本申请提供的实施例中,该应用功能请求信息包括终端设备列表信息和第三标识信息,能够使得第四网元根据该应用功能请求信息分别为终端列表信息中所指示的终端设备以及第三标识信息所指示的终端设备生成第一信息,并发送给第一网元,由第一网元为终端设备列表信息中所指示的终端设备确定相同的应用服务器。
第四方面,提供了一种发现边缘服务的方法,该方法的执行主体既可以是第一网元也可以是应用于第一网元的芯片。示例性地,第一网元可以是会话管理功能网元。以执行主体为第一网元为例,该方法包括:第一网元接收第一信息,该第一信息包括第一业务信息;该第一网元接收第二信息,该第二信息包括第一域名信息,该第一域名信息包含于第一终端设备发送的第一DNS查询请求信息,该第一DNS查询请求信息用于请求该第一域名信息对应的应用服务器地址信息;该第一域名信息对应于该第一业务信息,该第一网元为该第一终端设备确定与第二终端设备相同的边缘网络中的应用服务器,该第二终端设备与该 第一终端设备访问的业务相同,该第一域名信息对应的应用服务器地址信息为该相同的边缘网络中的应用服务器地址信息;该第一网元发送第三规则,该第三规则包括第二选项信息,该第二选项信息用于DNS服务器确定应用服务器地址信息。
该第一网元为该第一终端设备确定与第二终端设备相同的边缘网络中的应用服务器,可以理解为该第一网元为该第一终端设备确定与第二终端设备相同的数据网络接入标识对应的边缘网络中的应用服务器,或者也可以理解为该第一网元为该第一终端设备确定与第二终端设备相同的数据网络接入标识对应的应用服务器,或者也可以理解为该第一网元为该第一终端设备确定与第二终端设备相同的数据网络接入标识对应的数据网络的边缘部分中的应用服务器。具体的,该第一网元基于第一信息为该第一终端设备确定与第二终端设备相同的边缘网络中的应用服务器。本申请中相同的边缘网络中的应用服务器可以为相同边缘网络对应的应用服务器,或者也可以为与相同边缘网络关联的应用服务器,或者也可以为相同数据网络接入标识对应的边缘网络中的应用服务器,或者也可以为相同数据网络接入标识对应的本地网络中的应用服务器,或者也可以为相同数据网络接入标识对应的数据网络边缘部分中的应用服务器,或者也可以为与相同数据网络接入标识对应的应用服务器。
第一网元可以为终端组中的终端设备确定相同的第二选项信息,也可以为终端组中的终端设备确定不同的第二选项信息。该第二选项信息用于DNS服务器确定应用服务器地址信息,可以为第二选项信息对应的第二选项即第二ECS option用于DNS服务器确定应用服务器地址信息。
在本申请提供的实施例中,第一网元接收第四网元的第一信息,该第一信息包括该第一业务信息,该第一业务信息可以是终端组中终端访问的业务信息,该终端组可以包括访问相同业务的多个终端设备,该第四网元可以为策略控制功能网元。第一终端设备向第二网元发送DNS查询请求信息,该第二网元可以为边缘应用服务器发现功能网元,该DNS查询请求信息中包括第一域名信息,该第二网元向第一网元上报该第一域名信息,第一网元判断第一域名信息所对应的业务是否与第一信息相匹配,即第一网元判断该第一终端设备是否属于终端组,若该第一终端设备属于终端组,则第一网元为该第一终端设备选择与终端组中的其他终端设备相同的边缘网络中的应用服务器,第二网元基于第二选项信息生成第二选项即第二ECS option,DNS服务器基于第二ECS option确定应用服务器地址信息。通过本申请提供的实施例,能够为访问相同业务的终端设备选择相同边缘网络中的应用服务器地址,从而降低多个终端设备之间的交互时延。
结合第四方面,在第四方面的某些实现方式中,该第二选项信息由该第一网元根据第二标识信息确定,该第二标识信息用于指示该相同的边缘网络。
该第二选项信息由该第一网元根据第二标识信息确定,也可以理解为该第二选项信息与第二标识信息相关联。具体的,第一网元可以先确定该第一域名信息对应的第二标识信息,然后确定与第二标识信息相关的第二选项信息。
该第二标识信息用于指示该相同的边缘网络,可以理解为该第二标识信息用于指示第一终端设备及终端组中其他终端设备确定的相同的边缘网络,也可以理解为该第二标识信息为该终端组对应的相同数据网络接入标识信息,也可以理解为该第二标识信息为访问相同数据网络接入标识对应的应用服务器的终端设备所对应的该相同数据网络接入标识信 息,也可以理解为该第二标识信息为第一终端设备及终端组中其他终端设备确定的相同的数据网络接入标识信息。
结合第四方面,在第四方面的某些实现方式中,该第二选项信息由该第一网元根据第一名称确定,该第一名称用于指示该相同的边缘网络。
该第二选项信息由该第一网元根据第一名称确定,也可以理解为该第二选项信息与第一名称相关联。具体的,第一网元可以先确定该第一域名信息对应的第一名称,然后确定与第一名称相关的第二选项信息。该第一名称用于指示该相同的边缘网络,也可以理解为该第一名称可以为本地数据网络的名称。
结合第四方面,在第四方面的某些实现方式中,该第一网元根据终端设备的位置信息确定第二标识信息或第一名称,并基于该第二标识信息或第一名称确定第二选项信息。
第一网元可以根据终端组中一个或多个终端的位置信息确定第二标识信息或第一名称,例如,选择对于终端组中各个终端位置较优的第二标识信息,此处的位置信息可以为地理位置、锚点用户功能网元信息等,确定第二标识信息或第一名称之后,第一网元基于该第二标识信息或第一名称确定第二选项信息。当第二标识信息为数据网络接入标识信息时,可以理解为第一网元确定与终端设备的位置对应的数据网络接入标识信息对应的第二选项信息,或者可以理解为第一网元为该第一域名信息确定与终端设备的位置对应的数据网络接入标识信息对应的第二选项信息,该终端设备的位置信息可以为终端组中一个或多个终端设备的位置信息。
在本申请提供的实施例中,第一网元可以先确定第二标识信息或第一名称,并根据第二标识信息或第一名称确定第二选项信息,第一网元向第二网元发送该第二选项信息,并由第二网元将该第二选项信息和第一域名信息发送给DNS服务器,由DNS服务器查询对应的应用服务器地址信息,或者可以理解为第二网元基于第二选项信息生成第二选项即第二ECS option,DNS服务器基于第二ECS option确定应用服务器地址信息。根据边缘网络的标识或名称确定第二选项信息,能够通过DNS服务器查询得到应用服务器地址为应用服务器地址。此外,在终端组中的所有终端设备连接到相同的第一网元的情况下,第一网元可以从DNS服务器查询得到的应用服务器地址信息中选择一个并提供给终端设备,使得终端组中的所有终端设备连接到相同边缘网络中的应用服务器,从而降低多个终端设备之间的交互时延。
结合第四方面,在第四方面的某些实现方式中,该第一信息包括第三标识信息,该第三标识信息用于指示与该第一终端设备访问相同边缘网络中的应用服务器的终端设备。
该第三标识信息用于指示与该第一终端设备访问相同边缘网络中的应用服务器的终端设备,也可以理解为该第三标识信息用于标识访问相同边缘网络中的应用服务器的终端设备,或者也可以理解为该第三标识信息用于标识与第一终端设备访问相同边缘网络中的应用服务器的终端设备,或者也可以理解为对应相同该第三标识信息的终端设备确定相同边缘网络中的应用服务器,或者也可以理解为对应相同第三标识信息的终端设备在访问相同业务时访问相同边缘网络中的应用服务器,或者也可以理解为为对应相同第三标识信息的终端设备确定相同的边缘网络中的应用服务器,或者也可以理解为为对应相同第三标识信息的终端设备确定相同的边缘网络,或者也可以理解为为对应相同第三标识信息且访问相同业务的终端设备选择相同边缘网络中的应用服务器。
在本申请提供的实施例中,策略控制网元可以为终端组确定第三标识信息,使得第一网元在接收到终端设备的DNS查询请求信息之后,能够根据该终端设备具有终端组对应的第三标识信息,确定需要为该终端设备选择与对应的终端组中的其他终端设备相同边缘网络中的应用服务器地址。
结合第四方面,在第四方面的某些实现方式中,该第二终端设备属于该第三标识信息所指示的终端设备。
结合第四方面,在第四方面的某些实现方式中,该第一终端设备属于该第三标识信息所指示的终端设备。
结合第四方面,在第四方面的某些实现方式中,该第一网元为第一终端设备确定与第二终端设备相同的边缘网络中的应用服务器包括:第一网元为对应相同第三标识信息的第一终端设备与第二终端设备选择相同边缘网络中的的应用服务器。
在本申请提供的实施例中,第二终端设备与第一终端设备具有相同的第三标识信息,则第二终端设备与第一终端设备属于相同的终端组,第一网元能够根据该第三标识信息为第一终端设备与第二终端设备确定相同边缘网络中的应用服务器,以降低第一终端设备与第二终端设备及同一终端组中的其他终端设备之间的交互时延。
结合第四方面,在第四方面的某些实现方式中,该第一信息包括第二指示信息,该第二指示信息用于指示为访问相同业务的终端设备确定相同的边缘网络中的应用服务器。
该第二指示信息用于指示为访问相同业务的终端设备确定相同的边缘网络中的应用服务器,可以理解为该第二指示信息用于指示为终端设备确定相同的边缘网络中的应用服务器,或者可以理解为该第二指示信息用于指示为访问相同业务且对应相同第三标识信息的终端设备确定相同的边缘网络中的应用服务器,或者可以理解为该第二指示信息用于指示为访问该第一业务信息对应的业务的终端设备确定相同的边缘网络中的应用服务器。
结合第四方面,在第四方面的某些实现方式中,该第一网元为该第一终端设备确定与第二终端设备相同的边缘网络包括:该第一网元根据该第二指示信息为该第一终端设备确定与该第二终端设备相同的边缘网络中的应用服务器。
在本申请提供的实施例中,第四网元发送的第一信息中可以包括第二指示信息,指示第一网元为访问相同业务的终端设备或为属于终端组的终端设备选择相同边缘网络中的应用服务器,从而降低多个终端设备之间的交互时延。
结合第四方面,在第四方面的某些实现方式中,该方法还包括:该第一网元发送第二请求信息,该第二请求信息包括该第二标识信息。
结合第四方面,在第四方面的某些实现方式中,该方法还包括:该第一网元发送第二请求信息,该第二请求信息包括该第一名称。
在本申请提供的实施例中,在存在多个第一网元的情况下,第一网元在确定终端组对应的边缘网络后,将该边缘网络对应的第二标识信息或第一名称发送给第三网元,由第三网元对各个第一网元确定的边缘网络进行协调,能够保障多个第一网元为终端组中的各个终端设备选择的应用服务器地址属于相同的边缘网络。
结合第四方面,在第四方面的某些实现方式中,该方法还包括:该第一网元接收响应于该第二请求信息的第二响应信息,该第二响应信息包括第四标识信息,该第四标识信息用于指示第三网元确定的边缘网络。
结合第四方面,在第四方面的某些实现方式中,该方法还包括:该第一网元接收响应于该第二请求信息的第二响应信息,该第二响应信息包括第二名称,该第二名称用于指示第三网元确定的边缘网络。
在本申请提供的实施例中,在存在多个第一网元的情况下,第一网元在确定终端组对应的边缘网络后,将该边缘网络的标识信息或该边缘网络的名称发送给第三网元,由第三网元进行协调,若各个第一网元为相同终端组中的终端设备选择的应用服务器地址不同,则第三网元向第一网元发送该终端组中的第一个终端设备所接入的应用服务器地址所属的边缘网络标识或名称,以使第一网元重新选择该第三网元返回的边缘网络标识或名称,从而保障该终端组中的各个终端设备均接入相同边缘网络中的应用服务器,以降低交互时延。
结合第四方面,在第四方面的某些实现方式中,该第四标识信息与该第二标识信息所对应的边缘网络相同。
结合第四方面,在第四方面的某些实现方式中,该第一名称与该第二名称所对应的边缘网络相同。
在本申请提供的实施例中,若第三网元向第一网元发送的边缘网络标识信息与第一网元确定的边缘网络标识属于相同的边缘网络,或者,第三网元发送的边缘网络名称与第一网元确定的边缘网络名称属于相同的边缘网络,则第一网元可以直接选取该边缘网络中的一个边缘服务器地址,并提供给终端设备。能够在存在多个第一网元的情况下,由第三网元进行协调和确认,从而保障第一网元最终返回给终端设备的应用服务器地址为相同边缘网络中的应用服务器地址。
结合第四方面,在第四方面的某些实现方式中,在该第一网元发送第三规则之前,该方法还包括:该第一网元接收第六信息,该第六信息包括该第二标识信息和/或第二选项信息。
结合第四方面,在第四方面的某些实现方式中,在该第一网元发送第三规则之前,该方法还包括:该第一网元接收第六信息,该第六信息包括该第一名称和/或第二选项信息。
在本申请提供的实施例中,可以由第三网元存储终端组对应的边缘网络标识信息或边缘网络名称,并主动向第一网元发送该边缘网络标识信息或名称,能够在第一网元未存储对应的应用服务器地址的情况下,直接为第一网元提供边缘网络对应的标识或名称,第一网元可以为终端组中的各个终端设备均选择该边缘网络中的应用服务器地址,从而降低终端组中各终端设备之间的交互时延;或者,第三网元也可以存储第二选项信息,用于DNS服务器根据该第二选项信息查询相应的应用服务器地址并返回给第一网元,由第一网元提供给终端组中的终端设备,无需由第一网元根据终端设备的位置或访问的业务确定第二选项信息,节约资源开销。
结合第四方面,在第四方面的某些实现方式中,在该第一网元接收第六信息之前,该方法还包括:该第一网元发送第七信息,该第七信息用于获取与该第一域名信息对应的边缘网络信息。
该第七信息用于获取与该第一域名信息对应的边缘网络信息,也可以理解为该第七信息用于获取与该第一域名信息对应的第二标识信息。
在本申请提供的实施例中,能够在第一网元未存储终端组对应的边缘网络信息的情况 下,通过向第三网元发送请求信息,以获取对应的边缘网络信息。
结合第四方面,在第四方面的某些实现方式中,该第一信息包括该第二标识信息和/或第二选项信息。
结合第四方面,在第四方面的某些实现方式中,该第一信息包括该第一名称和/或第二选项信息。
在本申请提供的实施例中,第四网元可以直接为第一网元提供终端组对应的边缘网络信息,且第一网元可以为终端组中的各终端设备均选择该边缘网络中的应用服务器地址,无需从第三方获取或查询对应的地址信息,节约资源开销;或者,第一信息也可以包括第二选项信息,用于DNS服务器根据该第二选项信息查询相应的应用服务器地址并返回给第一网元,由第一网元提供给终端组中的终端设备,无需由第一网元根据终端设备的位置或访问的业务确定第二选项信息,节约资源开销。
结合第四方面,在第四方面的某些实现方式中,该方法还包括:该第一网元发送第四规则,该第四规则包括第一应用服务器地址信息,该第一应用服务器地址信息用于指示该第二标识信息所对应的边缘网络中的一个应用服务器,或者,该第一应用服务器地址信息用于指示该第一名称所对应的边缘网络中的一个应用服务器,该第四规则用于指示第二网元向该第一终端设备发送该第一应用服务器地址信息。
该第一应用服务器地址信息用于指示该第二标识信息所对应的边缘网络中的一个应用服务器,可以理解为该第一应用服务器地址信息为该第二标识信息所对应的边缘网络中的一个应用服务器的地址,或者可以理解为该第一应用服务器地址信息为与该第二标识信息所对应的边缘网络相关联的一个应用服务器的地址。相似地,该第一应用服务器地址信息用于指示该第一名称所对应的边缘网络中的一个应用服务器,可以理解为该第一应用服务器地址信息为该第一名称所对应的边缘网络中的一个应用服务器的地址,或者可以理解为该第一应用服务器地址信息为与该第一名称所对应的边缘网络相关联的一个应用服务器的地址。
在本申请提供的实施例中,第一网元从最终确定的边缘网络中选择一个应用服务器地址,并发送给第二网元,由第二网元向终端设备发送该应用服务器地址,从而为终端组中的各个终端设备均提供相同边缘网络中的应用服务器地址,以降低各终端设备之间的交互时延。
第五方面,提供一种发现边缘服务的方法,该方法的执行主体既可以是第四网元也可以是应用于第四网元的芯片。示例性地,第四网元可以是策略控制功能网元。以执行主体为第四网元为例,该方法包括:第四网元接收应用功能请求信息,该应用功能请求信息用于对业务流路由进行控制;该第四网元基于该应用功能请求信息生成第一信息,该第一信息包括第一业务信息;该第四网元发送该第一信息。
在本申请提供的实施例中,第四网元根据应用功能请求信息生成第一信息,该第一信息包括第一业务信息。第一网元在接收到终端设备所访问的业务信息如第一域名信息之后,根据第一信息判断该终端设备是否属于终端组,若属于终端组,则为该终端设备选择与该终端组中的其他终端设备相同的应用服务器或相同边缘网络中的应用服务器,以降低多个终端设备之间的交互时延。
结合第五方面,在第五方面的某些实现方式中,该第一信息包括第三标识信息,该第 三标识信息用于指示与该第一终端设备访问相同边缘网络中的应用服务器的终端设备。
在本申请提供的实施例中,应用功能网元可以为终端组添加第三标识信息,使得第一网元在接收到终端设备的DNS查询请求信息之后,能够根据该终端设备具有终端组对应的第三标识信息,确定需要为该终端设备选择与对应的终端组中的其他终端设备相同的应用服务器地址,或者相同边缘网络中的应用服务器地址。
结合第五方面,在第五方面的某些实现方式中,该第一信息包括位置区域信息。
在本申请提供的实施例中,第一网元能够根据该位置区域信息为属于该位置区域且访问相同业务的终端设备确定相同的边缘网络中的应用服务器地址,以降低终端组中各终端设备之间的交互时延。
结合第五方面,在第五方面的某些实现方式中,该第一信息还包括第二指示信息,该第二指示信息用于指示为访问相同业务的终端设备确定相同的边缘网络中的应用服务器。
在本申请提供的实施例中,第四网元发送的第一信息中可以包括第二指示信息,指示第一网元为访问相同业务的终端设备或属于终端组的终端设备选择相同边缘网络中的应用服务器,从而降低多个终端设备之间的交互时延。
结合第五方面,在第五方面的某些实现方式中,该第一信息还包括第二标识信息和/或第二选项信息,该第二标识信息用于指示该第一网元为第一终端设备确定的边缘网络,该第二选项信息用于DNS服务器确定应用服务器地址信息。
该第二标识信息用于指示为第一终端设备确定的边缘网络,可以理解为该第二标识信息用于指示第一终端设备及终端组中其他终端设备确定的相同的边缘网络,也可以理解为该第二标识信息为该终端组对应的相同数据网络接入标识信息,也可以理解为该第二标识信息为访问相同数据网络接入标识对应的应用服务器的终端设备所对应的该相同数据网络接入标识信息,也可以理解为该第二标识信息为第一终端设备及终端组中其他终端设备确定的相同的数据网络接入标识信息。
结合第五方面,在第五方面的某些实现方式中,该第一信息包括第一名称和/或该第二选项信息,该第一名称用于指示该第一网元为第一终端设备确定的边缘网络。
该第一名称用于指示该第一网元为第一终端设备确定的边缘网络,可以理解为该第一名称用于指示该第一网元为第一终端设备及终端组中其他终端设备确定的相同的边缘网络,也可以理解为该第一名称为第一终端设备及终端组中其他终端设备确定的相同的本地数据网络名称,也可以理解为该第一名称为第一终端设备及终端组中其他终端设备确定的相同的数据网络名称。
在本申请提供的实施例中,第四网元可以为第一网元提供终端组对应的边缘网络标识信息或名称,使得第一网元可以直接选择该边缘网络中的应用服务器地址,无需从第三方获取或查询对应的应用服务器地址或边缘网络信息,节约资源开销;或者,该第四网元可以为第一网元提供第二选项信息,用于DNS服务器根据该第二选项信息查询相应的应用服务器地址并返回给第一网元,由第一网元提供给终端组中的终端设备,无需由第一网元根据终端设备的位置或访问的业务确定第二选项信息,节约资源开销。
第六方面,提供一种发现边缘服务的方法,该方法的执行主体既可以是第五网元也可以是应用于第五网元的芯片。示例性地,第五网元可以是应用功能网元。以执行主体为第五网元为例,该方法包括:第五网元发送应用功能请求信息,该应用功能请求信息用于对 业务流路由进行控制,该应用功能请求信息包括业务信息,该业务信息用于指示终端组访问的业务。
结合第六方面,在第六方面的某些实现方式中,该应用功能请求信息还用于生成第一信息。
在本申请提供的实施例中,第五网元向第四网元发送应用功能请求信息,该应用功能请求信息用于对业务流路由进行控制也可以理解为该应用功能请求信息用于控制为终端组中的终端设备选择相同边缘网络中的应用服务器。该应用功能请求信息用于第四网元生成第一信息,该应用功能请求信息包括业务信息,能够使得第四网元根据该业务信息生成第一信息中的业务信息,并发送给第一网元,由第一网元根据第一信息判断该终端设备是否属于终端组,若属于终端组,则为该终端设备选择与该终端组中的其他终端设备相同边缘网络中的应用服务器,以降低多个终端设备之间的交互时延。
结合第六方面,在第六方面的某些实现方式中,该应用功能请求信息包括第三标识信息。
在本申请提供的实施例中,该应用功能请求信息包括第三标识信息,能够使得第四网元根据该应用功能请求信息中的第三标识信息生成第一信息中的第三标识信息,并发送给第一网元,从而使得第一网元能够根据该第三标识信息为该终端设备选择与该终端组中的其他终端设备相同的边缘网络中的应用服务器,以降低多个终端设备之间的交互时延。
结合第六方面,在第六方面的某些实现方式中,该应用功能请求信息包括位置区域信息。
在本申请提供的实施例中,该应用功能请求信息包括位置区域信息,第四网元根据该应用功能请求信息中的位置区域信息为位于该位置区域信息所指示的位置区域内的终端设备生成第一信息,也可以理解为第四网元根据该应用功能请求信息中的位置区域信息生成第一信息中的位置区域信息。第四网元生成第一信息并发送给第一网元,从而使得第一网元能够根据该位置区域信息为属于该位置区域且访问相同业务的终端设备确定相同的边缘网络中的应用服务器,以降低多个终端设备之间的交互时延。
结合第六方面,在第六方面的某些实现方式中,该应用功能请求信息还可以包括第二指示信息,该第二指示信息用于指示为属于相同终端组的终端设备确定相同的边缘网络中的应用服务器。
在本申请提供的实施例中,该应用功能请求信息包括第二指示信息,能够使得第四网元根据该应用功能请求信息中的第二指示信息生成第一信息中的第二指示信息,并发送给第一网元,从而使得第一网元根据该第二指示信息为相同终端组中的终端设备,或者相同终端组中访问相同业务的终端设备确定相同的边缘网络中的应用服务器地址,以降低多个终端设备之间的交互时延。
结合第六方面,在第六方面的某些实现方式中,该应用功能请求信息包括第二标识信息和/或第二选项信息,该第二标识信息用于指示为第一终端设备确定的边缘网络,该第二选项信息用于DNS服务器确定应用服务器地址信息。
结合第六方面,在第六方面的某些实现方式中,该应用功能请求信息包括第一名称和/或第二选项信息,该第一名称用于指示为第一终端设备确定的边缘网络。
在本申请提供的实施例中,该应用功能请求信息包括第二标识信息或第一名称,能够 使得第四网元根据该应用功能请求信息中的第二标识信息或第一名称生成第一信息中的第二标识信息或第一名称,并发送给第一网元,由第一网元为终端组中的各终端设备均确定该第二标识信息或第一名称所对应的边缘网络中的应用服务器地址,从而降低多个终端设备之间的交互时延,且无需从第三方获取或查询对应的应用服务器地址或边缘网络信息,节约资源开销;该应用功能请求信息包括第二选项信息,能够使得第四网元根据该应用功能请求信息中的第二选项信息,用于DNS服务器根据该第二选项信息查询相应的应用服务器地址并返回给第一网元,由第一网元提供给终端组中的终端设备,无需由第一网元根据终端设备的位置或访问的业务确定第二选项信息,节约资源开销。
结合第六方面,在第六方面的某些实现方式中,该应用功能请求信息包括终端设备列表信息,该终端设备列表信息包含一个或多个终端设备标识,第四网元根据该终端设备列表信息为终端设备列表信息中所指示的终端设备生成第一信息,并发送给第一网元,由第一网元为终端设备列表中所指示的终端设备确定相同边缘网络中的应用服务器。
在本申请提供的实施例中,该应用功能请求信息包括终端设备列表信息,能够使得第四网元根据该应用功能请求信息分别为终端设备列表信息中所指示的终端设备生成第一信息,并发送给第一网元,由第一网元为终端设备列表中所指示的终端设备确定相同边缘网络中的应用服务器。
结合第六方面,在第六方面的某些实现方式中,该应用功能请求信息同时包含终端设备列表信息和该第三标识信息。该第三标识信息与该终端设备列表中的终端设备相对应,或者可以理解为为该终端设备列表中的终端设备指定该第三标识信息。在本申请提供的实施例中,该应用功能请求信息包括终端设备列表信息和第三标识信息,能够使得第四网元根据该应用功能请求信息分别为终端列表信息中所指示的终端设备以及第三标识信息所指示的终端设备生成第一信息,并发送给第一网元,由第一网元为终端设备列表信息中所指示的终端设备确定相同边缘网络中的应用服务器。
第七方面,提供一种发现边缘服务的装置,包括:接收单元,用于接收第一信息,该第一信息包括第一业务信息;接收单元,还用于接收第二信息,该第二信息包括第一域名信息,该第一域名信息包含于第一终端设备发送的第一域名系统DNS查询请求信息,该第一DNS查询请求信息用于请求该第一域名信息对应的应用服务器地址信息;确定单元,用于该第一域名信息对应于该第一业务信息时,为该第一终端设备确定与第二终端设备相同的应用服务器,该第二终端设备与该第一终端设备访问的业务相同;发送单元,用于发送第一规则,该第一规则包括第一应用服务器地址信息,该第一应用服务器地址信息用于指示该相同的应用服务器,该第一规则用于指示第二网元向该第一终端设备发送该第一应用服务器地址信息。
结合第七方面,在第七方面的某些实现方式中,发送单元,还用于发送第二规则,该第二规则包括第一选项信息,该第一选项信息用于DNS服务器确定应用服务器地址信息,该第二规则用于指示该EASDF网元向该DNS服务器发送第二DNS查询请求信息,该第二DNS查询请求信息包括该第一选项信息和该第一域名信息。
结合第七方面,在第七方面的某些实现方式中,接收单元,还用于接收第三信息,该第三信息包括该第一域名信息以及一个或多个应用服务器地址信息,该一个或多个应用服务器地址信息由该DNS服务器确定,该第二应用服务器地址信息为该一个或多个应用服 务器地址信息中的一个。
结合第七方面,在第七方面的某些实现方式中,发送单元,还用于发送第一请求信息,该第一请求信息包括第二应用服务器地址信息,该第二应用服务器地址信息用于指示该第一网元确定的应用服务器。
结合第七方面,在第七方面的某些实现方式中,接收单元,还用于接收响应于第一请求信息的第一响应信息,该第一响应信息包括该第一应用服务器地址信息。
结合第七方面,在第七方面的某些实现方式中,接收单元,还用于接收第四信息,该第四信息包括该第一应用服务器地址信息。
结合第七方面,在第七方面的某些实现方式中,发送单元,还用于发送第五信息,该第五信息用于获取与该第一域名信息相对应的应用服务器地址信息。
第八方面,提供了一种发现边缘服务的装置,包括:接收单元,用于接收第一信息,该第一信息包括第一业务信息;接收单元,还用于接收第二信息,该第二信息包括第一域名信息,该第一域名信息包含于第一终端设备发送的第一DNS查询请求信息,该第一DNS查询请求信息用于请求该第一域名信息对应的应用服务器地址信息;确定单元,用于该第一域名信息对应于该第一业务信息时,为该第一终端设备确定与第二终端设备相同的边缘网络,该第二终端设备与该第一终端设备访问的业务相同,该第一域名信息对应的应用服务器地址信息为该相同的边缘网络中的应用服务器地址信息;发送单元,用于发送第三规则,该第三规则包括第二选项信息,该第二选项信息用于DNS服务器确定应用服务器地址信息。
结合第八方面,在第八方面的某些实现方式中,发送单元,还用于发送第二请求信息,该第二请求信息包括该第二标识信息。
结合第八方面,在第八方面的某些实现方式中,接收单元,还用于接收响应于该第三请求信息的第二响应信息,该第二响应信息包括第四标识信息,该第四标识信息用于指示第三网元确定的边缘网络。
结合第八方面,在第八方面的某些实现方式中,接收单元,还用于接收第六信息,该第六信息包括该第二标识信息。
结合第八方面,在第八方面的某些实现方式中,发送单元,还用于发送第七信息,该第七信息用于获取与该第一域名信息对应的边缘网络信息。
结合第八方面,在第八方面的某些实现方式中,发送单元,还用于发送第四规则,该第四规则包括第一应用服务器地址信息,该第一应用服务器地址信息用于指示该第二标识信息所对应的边缘网络中的一个应用服务器,该第四规则用于指示第二网元向该第一终端设备发送该第一应用服务器地址信息。
第九方面,提供了一种发现边缘服务的装置,包括:接收单元,用于接收应用功能请求信息,该应用功能请求信息用于对业务流路由进行控制;处理单元,用于基于该应用功能请求信息生成第一信息,该第一信息包括第一业务信息;发送单元,用于发送该第一信息。
第十方面,提供了一种通信系统,该系统包括上述第一方面或第一方面的任一种可能实现方式中的装置、第二方面或第二方面中的任一种可能实现方式中的装置以及第三方面或第三方面中的任一种可能实现方式中的装置。
第十一方面,提供了一种通信系统,该系统包括上述第四方面或第四方面的任一种可能实现方式中的装置、第五方面或第五方面中的任一种可能实现方式中的装置以及第六方面或第六方面中的任一种可能实现方式中的装置。
第十二方面,提供了一种计算机程序产品,该计算机程序产品包括:计算机程序或一组指令,当该计算机程序或一组指令被计算机运行时,使得第一方面或其任意可能的实现方式、第二方面或其任意可能的实现方式以及第三方面或其任意可能的实现方式中的方法被执行。
第十三方面,提供了一种计算机程序产品,该计算机程序产品包括:计算机程序或一组指令,当该计算机程序或一组指令被计算机运行时,使得第四方面或其任意可能的实现方式、第五方面或其任意可能的实现方式以及第六方面或其任意可能的实现方式中的方法被执行。
第十四方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行上述第一方面或第一方面的任一种可能实现方式、第二方面或第二方面的任一种可能实现方式以及第三方面或第三方面中的任一种可能实现方式中的方法的指令。
第十五方面,提供了一种计算机可读介质,用于存储计算机程序,该计算机程序包括用于执行上述第四方面或第四方面的任一种可能实现方式、第五方面或第五方面的任一种可能实现方式以及第六方面或第六方面中的任一种可能实现方式中的方法的指令。
第十六方面,提供了一种芯片,包括处理器,用于从存储器中调用并运行该存储器中存储的指令,使得安装有该芯片的通信设备执行上述第一方面或第一方面的任一种可能实现方式、第二方面或第二方面的任一种可能实现方式以及第三方面或第三方面中的任一种可能实现方式中的方法。
在一种可能的实现方式中,处理器和存储器集成在一起;
在另一种可能的实现方式中,上述存储器位于该通信装置之外。
该通信装置还包括通信接口,该通信接口用于该通信装置与其他设备进行通信,例如数据和/或信号的发送或接收。示例性的,通信接口可以是收发器、电路、总线、模块或其它类型的通信接口。
第十七方面,提供了一种芯片,包括处理器,用于从存储器中调用并运行该存储器中存储的指令,使得安装有该芯片的通信设备执行上述第四方面或第四方面的任一种可能实现方式、第五方面或第五方面的任一种可能实现方式以及第六方面或第六方面中的任一种可能实现方式中的方法。
在一种可能的实现方式中,处理器和存储器集成在一起;
在另一种可能的实现方式中,上述存储器位于该通信装置之外。
该通信装置还包括通信接口,该通信接口用于该通信装置与其他设备进行通信,例如数据和/或信号的发送或接收。示例性的,通信接口可以是收发器、电路、总线、模块或其它类型的通信接口。
第十八方面,本申请实施例还提供一种通信装置,该装置包括至少一个处理器和接口电路,该接口电路用于该至少一个处理器获取至少一个存储器中的程序或指令,该至少一个处理器用于执行该程序或指令以使该通信装置执行以上第一方面或第一方面的任意可能的实现方式、第四方面或第四方面的任意可能的实现方式中的方法。
第十九方面,本申请实施例还提供一种通信装置,该装置包括至少一个处理器和接口电路,该接口电路用于该至少一个处理器获取至少一个存储器中的程序或指令,该至少一个处理器用于执行该程序或指令以使该通信装置执行以上第二方面或第二方面的任意可能的实现方式、第五方面或第五方面的任意可能的实现方式中的方法。
第二十方面,本申请实施例还提供一种通信装置,该装置包括至少一个处理器和接口电路,该接口电路用于该至少一个处理器获取至少一个存储器中的程序或指令,该至少一个处理器用于执行该程序或指令以使该通信装置执行以上第三方面或第三方面的任意可能的实现方式、第六方面或第六方面的任意可能的实现方式中的方法。
附图说明
图1是本申请实施例适用的系统架构图。
图2是现有的发现边缘服务的方法交互示意图。
图3是本申请实施例提供的一种发现边缘服务的方法的交互示意图。
图4是本申请实施例提供的另一种发现边缘服务的方法的交互示意图。
图5是本申请实施例提供的又一种发现边缘服务的方法的交互示意图。
图6是本申请实施例提供的又一种发现边缘服务的方法的交互示意图。
图7是本申请实施例提供的又一种发现边缘服务的方法的交互示意图。
图8是本申请实施例提供的又一种发现边缘服务的方法的交互示意图。
图9是本申请实施例提供的又一种发现边缘服务的方法的交互示意图。
图10是本申请实施例提供的又一种发现边缘服务的方法的交互示意图。
图11是本申请实施例提供的又一种发现边缘服务的方法的交互示意图。
图12是本申请实施例提供的一种重发现边缘服务的方法的交互示意图。
图13是本申请实施例提供的一种发现边缘服务的装置框图。
图14是本申请实施例提供的另一种发现边缘服务的装置框图。
具体实施方式
下面将结合附图,对本申请实施例中的技术方案进行描述。
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(global system of mobile communication,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、第五代(5th Generation,5G)系统以及未来的第六代(6th Generation,6G)系统等通信系统中。
本申请实施例中的终端设备可以指用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。终端设备还可以是蜂窝电话、无绳电话、会话启动协议(session initiation protocol, SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备,公用陆地移动通信网络(public land mobile network,PLMN),5G网络或者未来的6G等通信网络中的终端设备或者中的终端设备等,本申请实施例对此并不限定。
本申请实施例中的网络设备可以是用于与终端设备通信的设备,该网络设备可以是全球移动通讯(global system of mobile communication,GSM)系统或码分多址(code division multiple access,CDMA)中的基站(base transceiver station,BTS),也可以是宽带码分多址(wideband code division multiple access,WCDMA)系统中的基站(nodeB,NB),还可以是LTE系统中的演进型基站(evolutional nodeB,eNB或eNodeB),还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者该网络设备可以为中继站、接入点、车载设备、可穿戴设备、PLMN网络、5G网络以及未来6G等通信网络中的网络设备等,本申请实施例并不限定。
在本申请中,“用于指示”可以包括用于直接指示和用于间接指示。当描述某一指示信息用于指示A时,可以包括该指示信息直接指示A或间接指示A,而并不代表该指示信息中一定携带有A。在本申请实施例中,“当……时”、“在……的情况下”、“若”以及“如果”等描述均指在某种客观情况下设备会做出相应的处理,并非是限定时间,且也不要求设备在实现时一定要有判断的动作,也不意味着存在其它限定。
本申请实施例中,对于名词的数目,除非特别说明,表示“单数名词或复数名词”,即“一个或多个”。“至少一个”是指一个或者多个,“多个”是指两个或两个以上,“一种或多种”中的“多种”是指也类似两种或两种以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。例如,A/B,表示:A或B。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a、b或c中的至少一项(个),表示:a,b,c,a和b,a和c,b和c,或者a和b和c,其中a,b,c可以是单个,也可以是多个。
边缘计算(edge computing,EC)是一种新的网络架构,在边缘计算的网络架构中,将计算资源部署在靠近用户的边缘侧,就近提供最近端服务。其应用程序在边缘侧发起,能够降低用户与计算之间的网络传输时延,产生更快的网络服务响应。
图1是适用于本申请的通信系统架构的示意性框图。如图1所示,下面对该网络架构中涉及的各个部分分别进行说明。
终端设备(terminal equipment):移动用户与网络交互的入口,能够提供基本的计算能力,存储能力,向用户显示业务窗口,接受用户操作输入。可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备,以及各种形式的终端,移动台(mobile station,MS),终端(terminal),用户设备(user equipment,UE),软终端等等。例如,手机、水表、电表、传感器等。
(无线)接入网络(radio access network,(R)AN)网元:用于为特定区域的授权终端设备提供入网功能,并能够根据终端设备的级别,业务的需求等使用不同质量的传输隧道。
(R)AN网元能够管理无线资源,为终端设备提供接入服务,进而完成控制信号和终端设备数据在终端设备和核心网之间的转发,(R)AN网元也可以理解为传统网络中的基站。
用户面功能(user plane function,UPF)网元:用于分组路由和转发以及用户面数据的服务质量(quality of service,QoS)处理等。
在未来通信系统中,用户面网元仍可以是UPF网元,或者,还可以有其它的名称,本申请不做限定。
数据网络(data network,DN):为用户提供业务服务的数据网络,一般客户端位于UE,服务端位于数据网络。数据网络可以是私有网络,如局域网,也可以是不受运营商管控的外部网络,如Internet,还可以是运营商共同部署的专有网络,如提供IMS服务的网络。
在未来通信系统中,可以沿用5G通信系统中的DN,也有可能将类似功能的实体换成其他的名称,本申请不做限定。
接入和移动性管理功能(access and mobility management function,AMF)网元:主要用于移动性管理和接入管理等,可以用于实现移动性管理实体(mobility management entity,MME)功能中除会话管理之外的其它功能,例如,接入授权/鉴权等功能。
在未来通信系统中,接入管理网元仍可以是AMF网元,或者,还可以有其它的名称,本申请不做限定。
会话管理功能(session management function,SMF)网元:主要用于会话管理、终端设备的网络互连协议(internet protocol,IP)地址分配和管理、选择可管理用户平面功能、策略控制和收费功能接口的终结点以及下行数据通知等。
在未来通信系统中,会话管理功能网元仍可以是SMF网元,或者,还可以有其它的名称,本申请不做限定。
网络开放功能(network exposure function,NEF)网元:用于将网络能力开放给第三方应用,可以实现网络能力与业务需求的友好对接。
在未来通信系统中,网络开放网元仍可以是NEF网元,或者,还可以有其它的名称,本申请不做限定。
网络存储(network repository)网元:用于维护网络中所有网络功能服务的实时信息。
在5G通信系统中,该网络存储网元可以是网络注册功能(network repository function,NRF)网元。在未来通信系统中,网络存储网元仍可以是NRF网元,或者,还可以有其它的名称,本申请不做限定。
策略控制功能(policy control function,PCF)网元:用于指导网络行为的统一策略框架,为控制面功能网元(例如AMF,SMF网元等)提供策略规则信息等。
在未来通信系统中,策略控制网元仍可以是PCF网元,或者,还可以有其它的名称,本申请不做限定。
数据管理(data management)网元:用于处理终端设备标识,接入鉴权,注册以及移动性管理等。
在5G通信系统中,该数据管理网元可以是统一数据管理(unified data management,UDM)网元。在未来通信系统中,统一数据管理仍可以是UDM网元,或者,还可以有其它的名称,本申请不做限定。
应用功能(application function,AF)网元:用于进行应用影响的数据路由,接入网络,与策略框架交互进行策略控制等。
在未来通信系统中,应用网元仍可以是AF网元,或者,还可以有其它的名称,本申请不做限定。
边缘应用服务器(edge application server,EAS):为部署在边缘数据网络(edge data network,EDN)的边缘应用服务器,也可以称为边缘应用(服务器)、应用服务器、应用实例、边缘应用实例、多接入边缘计算(multi-access edge computing,MEC)应用(服务器)、EAS功能等。该边缘应用还可以称为“应用实例”,具体指一个服务器应用程序(例如,社交媒体软件、增强现实(augmented reality,AR))、虚拟现实(virtual reality,VR))部署运行在EDN的实例(instance)。其中,EDN可以为本地数据网络(local data network,LDN),每个LDN可以由相应的数据网络接入标识(data network access identifier,DNAI)或数据网络名称(data network name,DNN)进行标识,网络通过选择距离LDN近的UPF为UE建立传输路径来确保UE可以正常访问边缘业务。
边缘应用服务器发现功能(edge application server discovery function,EASDF)网元:主要负责发现EAS,包含的功能有注册到NRF以供发现和选择、根据SMF的指示处理DNS消息(例如,接收SMF发送的DNS消息处理规则、将DNS消息发送至本地DNS server或中心DNS server、为DNS query message添加ECS option、交换UE发送的DNS消息、向SMF通知EASDF相关信息等)、终止DNS安全等。
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。上述网元或者功能可划分出一个或多个服务,进一步,还可能会出现独立于网络功能存在的服务。
下面结合图2介绍现有的一种边缘计算服务发现方法。
S201,建立PDU会话过程。
建立UE到UPF之间的用户面路径的会话。
S202,SMF网元选择EASDF网元。
S203,SMF网元向选择的EASDF网元发送DNS上下文建立请求(Neasdf_DNSContext_Create Request)。
S204,EASDF网元向SMF网元发送DNS上下文建立响应(Neasdf_DNSContext_Create Response)。
S205,SMF网元向EASDF网元发送DNS上下文更新请求(Neasdf_DNSContext_Update Request)。
S206,EASDF网元向SMF网元发送DNS上下文更新响应(Neasdf_DNSContext_Update Response)。
S207,UE向EASDF网元发送DNS查询请求(DNS query)。
S208,EASDF网元向SMF网元发送DNS上下文通知请求(Neasdf_DNSContext_Notify Request)。
S209,SMF网元向EASDF网元发送DNS上下文通知响应(Neasdf_DNSContext_Notify Response)。
S210,SMF网元向EASDF网元发送DNS上下文更新请求(Neasdf_DNSContext_Update  Request)。
可选地,该更新请求中包括SMF网元构造的ECS选项信息,该ECS选项信息包括用户接入网络的互联网协议(internet protocol,IP)地址,用于DNS服务器根据该IP地址选择距离用户更近的服务器地址,使用户能够就近访问业务。
S211,EASDF网元向SMF网元发送DNS上下文更新响应(Neasdf_DNSContext_Update Response)。
S212,EASDF网元向DNS服务器发送DNS查询请求。
S213,DNS服务器向EASDF网元发送DNS查询响应(DNS response)。
S214,EASDF网元向SMF网元发送DNS上下文通知请求(Neasdf_DNSContext_Notify Request)。
S215,SMF网元向EASDF网元发送DNS上下文通知响应(Neasdf_DNSContext_Notify Response)。
S216,SMF网元插入上行分类器(uplink classifier,UL CL)和L-PSA。
S217,SMF网元向EASDF网元发送DNS上下文更新请求(Neasdf_DNSContext_Notify Request)。
S218,EASDF网元向SMF网元发送DNS上下文更新响应(Neasdf_DNSContext_Notify Response)。
S219,EASDF网元向UE发送DNS查询响应。
该DNS查询响应中包括EAS地址。
图2所描述的发现方法仅适于单个UE的边缘服务发现,无法适用于使用相同业务的多个UE的边缘服务发现过程。图3是本申请实施例提供的一种边缘服务发现方法的交互示意图,第一网元为属于相同终端组中的各个终端设备确定相同的应用服务器地址。
本申请中,可以将访问相同应用服务器的终端设备、或者访问相同业务的终端设备、或者访问相同业务的相同应用服务器的终端设备称为终端组,也可以称为终端集合、终端设备组、终端设备集合或者UE组。可以理解的是,终端组可以是真实的组,终端组中包括至少一个终端设备,例如,终端组内的所有终端设备,均访问相同的业务;终端组也可以是虚拟的组,即,这里的终端组是指访问相同业务的一个或多个终端设备,并不是存在一个真正的组,只是由于这些一个或多个终端设备都访问相同的业务,将它们看作一个终端组。
S301,第一网元接收第一信息,相应地,第四网元发送第一信息,该第一信息包括第一业务信息。
本申请中,第一网元可以是SMF网元,第四网元可以是PCF网元,第二网元可以是EASDF网络。
本申请中,业务也可以称为应用或应用业务等,相应地,该业务信息也可以称为应用信息或应用业务信息等,本申请对此不作限定。
可选地,该业务信息可以为全限定域名(full qualified domain name,FQDN),也可以为应用标识(application ID),或者互联网协议(internet protocol,IP)五元组,即源IP地址、源端口、目的IP地址、目的端口和传输层协议,本申请对此不作限定。
在一种可能的实现方式中,该第一信息还可以包括第一标识信息,该第一标识信息用 于指示与第一终端设备访问相同应用服务器的终端设备,也可理解为第一标识信息用于指示访问相同应用服务器的终端设备,即访问相同应用服务器的终端设备对应于相同的第一标识,或者理解为访问同一业务的相同应用服务器的终端设备对应于相同的第一标识,或者理解为终端组中的每个终端设备都对应于该标识。第四网元可以为终端组设置标识,即终端组中的每个终端设备都对应于该标识。对应相同第一标识信息的终端设备在访问相同的业务时需要使用相同的应用服务器。
可选地,该应用服务器可以为边缘应用服务器,应用服务器地址可以为边缘应用服务器地址。
可选地,该第一标识信息可以为终端组的ID,也可以为终端设备的列表,本申请对此不作限定。
可选地,在相同的位置区域内的终端设备在访问相同业务时需要使用相同的应用服务器。位置区域可以指在一个地理区域内,例如城市区域或地理形状,也可以指在一定经度和纬度范围内,示例性地,在北纬31°15″至31°21″、东经118°22″至118°26″范围内,访问相同业务的终端设备应连接至相同的应用服务器,本申请对此不作限定。
在一种可能的实现方式中,该第一信息还可以包括第一指示信息,该第一指示信息用于指示为终端设备确定相同的应用服务器,或者理解为该第一指示信息用于指示为访问相同业务的终端设备确定相同的应用服务器,也可以理解为该第一指示信息用于指示为终端设备确定相同的应用服务器,或者可以理解为该第一指示信息用于指示为访问相同业务且对应相同该第一标识信息的终端设备确定相同的应用服务器,或者可以理解为该第一指示信息用于指示为访问该第一业务信息对应的业务的终端设备确定相同的应用服务器。
可选地,该第一指示信息还可以隐式携带于该第一信息中,例如,利用消息名称隐式指示为访问相同业务的终端设备确定相同的应用服务器。
在一种可能的实现方式中,该第一信息还可以包括第一应用服务器地址信息,第一网元可以为终端组中的各终端设备均选择该应用服务器地址。
可选地,该第一业务信息、第一标识信息、第一指示信息以及第一应用服务器地址信息也可以不包含于第一信息中一起发送,可以由第四网元分别发送,本申请对此不作限定。
S302,第一网元接收第二信息,相应地,第二网元发送第二信息,该第二信息包括第一域名信息,该第一域名信息包含于第一终端设备发送的第一域名系统DNS查询请求信息,该第一DNS查询请求信息用于请求该第一域名信息对应的应用服务器地址信息。
该第一域名信息包含于第一终端设备发送的第一域名系统DNS查询请求信息,也即该第一域名信息为第一终端设备发送的第一DNS查询请求信息所携带的域名信息,
在一种可能的实现方式中,第一终端设备向第二网元发送第一DNS查询请求信息,该第一DNS查询请求信息包括第一域名信息,第二网元向第一网元发送包括该第一域名信息的第二信息。
可选地,该第一域名信息可以为该第一终端设备所访问业务的FQDN。
S303,该第一域名信息对应于所述第一业务信息,该第一网元为该第一终端设备确定与第二终端设备相同的应用服务器,该第二终端设备与该第一终端设备访问的业务相同。
可选地,该第一域名信息对应于该第一业务信息可以为该第一业务信息包括该第一域名信息,示例性地,该第一域名信息包括FQDN1,该第一业务信息可以包括FQDN1和 FQDN2等,则该第一域名信息对应于该第一业务信息。
可选地,该第一域名信息对应于该第一业务信息可以为该第一业务信息为所述第一域名信息,示例性地,该第一域名信息为FQDN1,该第一业务信息为FQDN1,则该第一域名信息对应于该第一业务信息。
可选地,该第一域名信息对应于该第一业务信息还可以为该第一域名信息所对应的业务属于该第一业务信息所包含的业务,示例性地,该第一域名信息包括FQDN1,该FQDN1为业务1的域名,该第一业务信息包括应用ID-1和应用ID-2,该应用ID-1为业务1的ID,则该第一域名信息对应于该第一业务信息。
在一种可能的实现方式中,第一网元基于第一标识信息为第一终端设备确定与第二终端设备相同的应用服务器,该第一终端设备与该第二终端设备对应于该第一标识信息,即该第一终端设备与该第二终端设备对应于该相同的第一标识信息,或者第一网元可以为对应于该第一标识信息的终端设备确定相同的应用服务器。在一种可能的实现方式中,该第一网元根据第一指示信息为第一终端设备确定与第二终端设备相同的应用服务器。
第一网元根据第一指示信息为第一终端设备确定与第二终端设备相同的应用服务器可以为:第一网元根据第一指示信息为终端设备确定相同的应用服务器,或者第一网元根据第一指示信息为访问相同业务的终端设备确定相同的应用服务器,或者第一网元根据第一指示信息为访问相同业务且对应相同标识信息的终端设备确定相同的应用服务器,或者第一网元根据第一指示信息为访问该第一业务信息对应的业务的终端设备确定相同的应用服务器。
该第二终端设备与第一终端设备属于相同的终端组,且该第二终端设备可以为一个或多个终端设备。
S304,第一网元发送第一规则,相应地,第二网元接收第一规则,该第一规则包括第一应用服务器地址信息,该第一应用服务器地址信息用于指示该相同的应用服务器,该第一规则用于指示第二网元向该第一终端设备发送该第一应用服务器地址信息,即,第二网元根据该第一规则向该第一终端设备发送该第一应用服务器地址信息。
该第一应用服务器地址信息用于指示该相同的应用服务器可以为:该第一应用服务器地址信息为相同的应用服务器对应的地址,或者该第一应用服务器地址信息用于指示该相同的应用服务器对应的地址。
在一种可能的实现方式中,该第一应用服务器地址信息包含于第四网元向第一网元发送的第一信息中,第一网元直接为终端组中的各终端设备选择该地址。
在一种可能的实现方式中,该第一网元自身存储了该第一应用服务器地址信息,并提供给终端组中的各终端设备。
在一种可能的实现方式中,第三网元存储该第一应用服务器地址信息,并提供给第一网元。
本申请中,第三网元可以是统一数据存储功能(unified data repository,UDR)网元、UDM网元,也可以是其他网元,此处不做限定。
可选地,在该第一网元发送第一规则之前,该方法还包括:该第一网元接收第四信息,相应地,第三网元发送第四信息,该第四信息包括该第一应用服务器地址信息,该第三网元可以主动向第一网元发送该第一应用服务器地址信息。
可选地,在该第一网元接收第四信息之前,该方法还包括:该第一网元发送第五信息,该第五信息用于获取与该第一域名信息相对应的应用服务器地址信息,该第三网元可以在接收到第一网元的请求获取应用服务器地址的信息之后,发送第一应用服务器地址信息。
该第五信息用于获取与该第一域名信息相对应的应用服务器地址信息也可以为:该第五信息用于获取与访问该第一域名信息的终端设备相对应的应用服务器地址信息,或者该第五信息用于获取与访问该第一域名信息的终端设备组相对应的应用服务器地址信息,
在一种可能的实现方式中,第三网元与第一网元均未存储该第一应用服务器地址信息,则由DNS消息查询该终端组对应的应用服务器地址:
该第一网元发送第二规则,相应地,第二网元接收该第二规则,该第二规则包括第一选项信息,该第一选项信息用于DNS服务器确定应用服务器地址信息,更具体的DNS服务器基于第一选项信息所对应的第一选项即第一ECS option确定应用服务器地址信息,该第二规则用于指示该第二网元向该DNS服务器发送第二DNS查询请求信息,即第二网元根据第二规则向DNS服务器发送第二DNS查询请求信息,该第二DNS查询请求信息包括该第一选项信息和该第一域名信息,更具体的,该第二DNS查询请求信息包括基于该第一选项信息生成的第一ECS option和该第一域名信息,该第一选项信息包括该终端设备的位置信息,例如或者IP地址信息,或者UE接入网络的IP地址信息,或者UE IP地址信息。DNS服务器根据第一域名信息和第一选项信息查询得到一个或多个相应的应用服务器地址,更具体的DNS服务器根据第一域名信息和第一选项信息所对应的第一ECS option查询得到一个或多个相应的应用服务器地址,并发送给第二网元。第二网元向第一网元发送第三信息,相应地,第一网元接收第三信息,该第三信息包括该第一域名信息以及该一个或多个应用服务器地址信息。
本申请中第一选项信息可以为第一ECS option选项信息,第二选项信息可以为第二ECS option选项信息。
在一种可能的实现方式中,终端组中的各终端设备连接至相同的第一网元,第一网元从该一个或多个应用服务器地址信息中为终端设备确定一个应用服务器地址信息,即第一应用服务器地址信息,并向该终端组中的各终端设备均提供该第一应用服务器地址信息。
在一种可能的实现方式中,终端组中的各终端设备连接至不同的第一网元,第一网元从该一个或多个应用服务器地址信息中为终端设备确定一个应用服务器地址信息,即第二应用服务器地址信息,并发送第一请求信息,相应地,第三网元接收第一请求信息,该第一请求信息包括该第二应用服务器地址信息。
在一种可能的实现方式中,第一网元接收响应于第一请求信息的第一响应信息,相应地,第三网元发送该第一响应信息,该第一响应信息包括该第一应用服务器地址信息。在存在多个第一网元的情况下,各个第一网元从DNS服务器查询得到的应用服务器地址信息中选择的应用服务器地址可能不同,由第三网元进行协调,使得各个第一网元为终端组中的各个终端设备选择的应用服务器相同。
可选地,该第二应用服务器地址信息与该第一应用服务器地址信息所指示的应用服务器相同。在存在多个第一网元的情况下,各个第一网元从DNS服务器查询得到的应用服务器地址信息中选择的应用服务器地址也有可能相同,即第二应用服务器地址为第一应用服务器地址,第三网元向第一网元发送该第一应用服务器地址信息,相当于第三网元确认 第一网元为终端组中的各个终端设备确定的应用服务器地址相同。
多个终端设备访问的业务相同的情况下,各个终端设备连接至相同的应用服务器可以降低多个终端设备之间的交互时延,此外,各个终端设备连接至相同边缘网络中的应用服务器也可以降低交互时延。图4是本申请实施例提供的另一种发现边缘服务的方法的交互示意图,第一网元为属于相同终端组中的各个终端设备确定相同边缘网络中的应用服务器地址。
本申请中,也可以将访问相同业务的相同边缘网络中应用服务器的终端设备,或者访问相同边缘网络中应用服务器的终端设备,或者访问相同业务的终端设备称为终端组,或者终端集合、终端设备组、终端设备集合,UE组等其他名称,本申请对此不作限定。同样地,终端组可以是真实的组,也可以是虚拟的组。例如,终端组内的所有终端设备,均访问相同的业务;终端组也可以是虚拟的组,即,这里的终端组是指访问相同业务的一个或多个终端设备,并不是存在一个真正的组,只是由于这些一个或多个终端设备都访问相同的业务,将它们看作一个终端组。
本申请中,相同边缘网络中的应用服务器可以理解为相同边缘网络对应的应用服务器,也可以理解为与相同数据网络接入标识DNAI相关联的应用服务器,或者为相同DNAI所对应的应用服务器,或者相同DNAI所对应边缘网络中的应用服务器,也可以理解为与相同LDN相关联的应用服务器,或者相同LDN对应的应用服务器,或者相同LDN所对应边缘网络中的应用服务器。同理,相同边缘网络中的应用服务器地址可以为与相同DNAI相关联的应用服务器地址,或者相同DNAI所对应的应用服务器地址,或者相同DNAI所对应边缘网络中的应用服务器地址,也可以为与相同LDN相关联的应用服务器地址,或者相同LDN对应的应用服务器地址,或者相同LDN所对应边缘网络中的应用服务器地址,或者理解为相同边缘网络对应的应用服务器地址。
本申请中,边缘网络可以为数据网络接入标识对应的边缘网络,或者数据网络的边缘部分,或者本地网络,或者数据网络的边缘部分,或者数据网络的本地部分,或者为数据网络接入标识对应的数据网络的边缘部分,也可以为数据网络接入标识。相同边缘网络也可以为相同数据网络接入标识。边缘网络信息可以是边缘网络的名称,也可以是数据网络接入标识信息。确定终端设备的边缘网络也可以为终端设备确定数据网络接入标识信息。确定的边缘网络也可以为确定的数据网络接入标识信息,或者也可以为确定的数据网络接入标识信息对应的边缘网络。
S401,第一网元接收第一信息,相应地,第四网元发送第一信息,该第一信息包括第一业务信息。
在一种可能的实现方式中,该第一信息还可以包括第三标识信息,该第三标识信息用于指示与第一终端设备访问相同边缘网络中的应用服务器的终端设备,也可以理解为第三标识信息用于指示访问相同边缘网络中应用服务器的终端设备,即访问相同边缘网络中应用服务器的终端设备对应于相同的第三标识信息,或者理解为访问同一业务的相同边缘网络中的应用服务器的终端设备对应于相同的第三标识信息,或者理解为同一个终端组中的每个终端设备都对应于该第三标识信息。对应相同第三标识信息的终端设备在访问相同业务时需要使用相同的应用服务器。
在一种可能的实现方式中,该第一信息还可以包括第二指示信息,该第二指示信息用 于指示为访问相同业务的终端设备确定相同边缘网络中的应用服务器,也可以理解为该第二指示信息用于指示为终端设备确定相同的边缘网络中的应用服务器,或者可以理解为该第二指示信息用于指示为访问相同业务且对应相同第三标识信息的终端设备确定相同的边缘网络中的应用服务器,或者可以理解为该第二指示信息用于指示为访问该第一业务信息对应的业务的终端设备确定相同的边缘网络中的应用服务器。
在一种可能的实现方式中,该第一信息还可以包括第二标识信息和/或第二选项信息,该第二标识信息用于指示终端组所访问的相同的边缘网络,或者该第二标识信息为数据网络接入标识,该第二选项信息用于为访问相同业务的终端设备确定相同数据网络接入标识所对应的应用服务器,或者也可以理解为该第二选项信息用于为访问相同业务的终端设备确定相同边缘网络中的应用服务器。
在一种可能的实现方式中,该第一信息还可以包括第一名称和/或第二选项信息,该第一名称用于指示终端组所访问的相同的边缘网络,或者该第一名称为本地数据网络的名称。
S402,第一网元接收第二信息,相应地,第二网元发送第二信息,该第二信息包括第一域名信息,该第一域名信息包含于第一终端设备发送的第一域名系统DNS查询请求信息,也即该第一域名信息为第一终端设备通过第一域名系统DNS查询请求信息所查询的域名信息,该第一DNS查询请求信息用于请求该第一域名信息对应的应用服务器地址信息。
该步骤与步骤S302所描述的内容相似,为避免重复,此处不再赘述。
S403,该第一域名信息对应于该第一业务信息,该第一网元为第一终端设备确定与第二终端设备相同的边缘网络,该第二终端设备与该第一终端设备访问的业务相同。
在一种可能的实现方式中,第一网元基于第三标识信息为第一终端设备确定与第二终端设备相同边缘网络中的应用服务器,该第一终端设备与该第二终端设备对应于该第三标识信息,或者第一网元可以为对应于该第三标识信息的终端设备均确定相同边缘网络中的应用服务器。
该第一网元根据第二指示信息为该第一终端设备确定与该第二终端设备相同的边缘网络中的应用服务器可以为:第一网元根据第二指示信息为终端设备确定相同边缘网络中的应用服务器,或者第一网元根据第二指示信息为访问相同业务的终端设备确定相同边缘网络中的应用服务器,或者第一网元根据第二指示信息为访问相同业务且对应相同标识信息的终端设备确定相同边缘网络中的应用服务器,或者第一网元根据第二指示信息为访问该第一业务信息对应的业务的终端设备确定相同边缘网络中的应用服务器。
该第一域名信息对应于第一业务信息等内容的理解可以参考步骤S303。
S404,第一网元发送第三规则,相应地,第二网元接收第三规则,该第三规则包括第二选项信息,该第二选项信息用于DNS服务器确定应用服务器地址信息。
在一种可能的实现方式中,该第二选项信息由第一网元根据第二标识信息确定,该第二标识信息用于指示该相同的边缘网络,或者,该第二选项信息由第一网元根据第一名称确定,该第一名称用于指示该相同的边缘网络。
第一网元首先为终端组中的各终端设备确定相同边缘网络,或者可以理解为为终端组中的各终端设备确定相同数据网络接入标识或本地数据网络名称,即确定第二标识信息或 第一名称,并选择与第二标识信息或第一名称对应的第二选项信息,该第二选项信息与终端设备的位置信息相关,例如第二选项信息包含IP地址信息,或者UE IP地址信息,或者UE所接入网络的IP地址信息,第一网元向第二网元发送包括第二选项信息的第三规则,并由第二网元向DNS服务器发送该第二选项信息及第一域名信息,更具体的,由第二网元向DNS服务器发送基于该第二选项信息生成的第二选项即第二ECS option及第一域名信息,用于DNS服务器查询相应的应用服务器地址。应理解,第一网元可以为终端组中的终端设备确定相同的第二选项信息也可以确定不同的第二选项信息。
在一种可能的实现方式中,该第二标识信息或第一名称包含于第四网元向第一网元发送的第一信息中,第一网元直接选择该第二标识信息或第一名称。
在一种可能的实现方式中,该第二选项信息包含于第四网元向第一网元发送的第一信息中,第一网元直接选择该第二选项信息。
在一种可能的实现方式中,该第一网元自身存储了该第二标识信息或第一名称,并选择该第二标识信息或第一名称。
在一种可能的实现方式中,该第一网元自身存储了该第二选项信息,并选择该第二选项信息。
在一种可能的实现方式中,第三网元存储该第二标识信息或第一名称,并提供给第一网元:
在该第一网元发送第三规则之前,该方法还包括:该第一网元接收第六信息,相应地,第三网元发送第六信息,该第六信息包括该第二标识信息。该第三网元可以主动向第一网元发送该第二标识信息。
可选地,在该第一网元发送第三规则之前,该方法还包括:该第一网元接收第六信息,相应地,第三网元发送第六信息,该第六信息包括该第一名称。该第三网元可以主动向第一网元发送该第一名称。
可选地,在第一网元接收第六信息之前,该第一网元发送第七信息,相应地,第三网元接收第七信息,该第七信息用于获取与该第一域名信息对应的边缘网络信息。该第三网元可以在接收到第一网元的获取边缘网络信息的请求信息之后,发送该第二标识信息或第一名称。
在一种可能的实现方式中,第三网元与第一网元均未存储该第二标识信息和第一名称,则第一网元根据第一终端设备的位置信息或第一域名信息所对应的业务确定第二标识信息或第一名称。若终端组中的各个终端设备连接至不同的第一网元,则第一网元确定该第一终端设备的边缘网络,即确定该第二标识信息或第一名称后,需向第三网元发送该第二标识信息或第一名称,由第三网元协调和确认各个第一网元为终端组中的各终端设备确定的边缘网络相同,或者也可以理解为由第三网元协调和确认各个第一网元为终端组中的各终端设备确定相同的数据网络接入标识或本地数据网络名称。
具体地,该第一网元发送第二请求信息,相应地,第三网元接收第二请求信息,该第二请求信息包括该第二标识信息。第一网元接收响应于该第三请求信息的第二响应信息,该第二响应信息包括第四标识信息,该第四标识信息用于指示第三网元确定的边缘网络。若第三网元返回的第四标识信息与第二网元确定的第二标识信息所对应的边缘网络不同,则第一网元需重新选择边缘网络,直至第一网元选择的边缘网络与第三网元返回的边缘网 络相同,即第四标识信息与第二标识信息所对应的边缘网络相同。
在第一网元最终确定好边缘网络之后,该第一网元发送第四规则,相应地,第二网元接收第四规则,该第四规则包括第一应用服务器地址信息,该第一应用服务器地址信息用于指示该第二标识信息所对应的边缘网络中的一个应用服务器,该第四规则用于指示第二网元向该第一终端设备发送该第一应用服务器地址信息。
第一网元在为终端组确定的相同的边缘网络,即第二标识信息所对应的边缘网络中选择一个应用服务器地址,并通过第四规则向第二网元发送该应用服务器地址,由第二网元将该应用服务器地址发送给终端设备,使得同一终端组中的各个终端设备可以连接至相同边缘网络中的应用服务器,以降低多个终端设备之间的交互时延。
图5是本申请实施例提供的另一种发现边缘服务的方法的交互示意图,PCF网元可以直接为UE组确定相应的EAS地址,并发送给SMF网元,由SMF网元提供给相同UE组中的各个UE,使得UE组中的各个UE均连接至相同的EAS。
S500,PCF网元接收来自AF网元的应用功能请求信息。
可选地,步骤S500可以包括步骤S500a、S500b和S500c,即,PCF网元可以直接接收来自AF网元的应用功能请求信息,或者也可以先由AF网元将应用功能请求信息发送给NEF网元,再由NEF网元发送给PCF网元,或者也可以先由AF网元将应用功能请求信息发送给NEF网元,再由NEF网元发送给UDR网元,再由UDR网元发送给PCF网元。
该应用功能请求信息包括业务信息,该业务信息也可以称为第一业务信息,该业务信息可以用于指示UE组访问的业务,该业务信息可以包括FQDN或应用的标识信息,该应用的标识信息可以包括应用的ID、识别码或组信息等,本申请对此不作限定。该应用功能请求信息可以用于对业务流的路由进行控制。
可选地,该应用功能请求信息还可以包括位置区域信息,该位置区域信息可以用于指示UE组对应的位置区域信息,或者可以理解为位于该位置区域的访问该业务信息所对应的业务的UE属于相同的UE组。例如,该位置区域信息可以是位置区域信息、地理位置区域信息。
可选地,该应用功能请求信息还可以包括UE组标识信息,属于相同UE组的终端设备对应相同的UE组标识信息,该UE组标识信息也可以称为第一标识信息,或者称为UE关联标识。
可选地,该应用功能请求信息还可以包括UE列表,UE列表可以包含一个或多个UE ID信息,该UE ID信息即为UE标识信息用于指示UE组包括的具体UE,也可以将UE列表称为UE信息或者UE标识信息。当应用功能请求信息中同时包含UE组标识信息与该UE列表时,意为该UE组标识信息与该UE列表中的UE对应,或者也可以理解为为UE列表中的UE指定了该UE组标识信息。
可选地,该应用功能请求信息还可以包括第一指示信息,该第一指示信息用于指示为属于相同UE组的UE选择相同的EAS,或者可以理解为该第一指示信息用于指示为终端设备确定相同的应用服务器,或者理解为该第一指示信息用于指示为访问相同业务的终端设备确定相同的应用服务器,也可以理解为该第一指示信息用于指示为终端设备确定相同的应用服务器,或者可以理解为该第一指示信息用于指示为访问相同业务且对应相同该第 一标识信息的终端设备确定相同的应用服务器,或者可以理解为该第一指示信息用于指示为访问该第一业务信息对应的业务的终端设备确定相同的应用服务器
可选地,该第一指示信息或第二指示信息可以隐式携带于第一信息。示例性地,通过消息名称来隐式携带第一指示信息的功能。
可选地,该应用功能请求信息还可以包括EAS地址信息,该EAS地址信息用于确定UE组所连接的EAS地址。
S501,SMF网元接收来自PCF网元的第一信息。
PCF网元基于应用功能请求信息生成第一信息,并向SMF网元发送该第一信息。
相应地,PCF网元基于应用功能请求信息中的业务信息生成第一信息中的业务信息,该业务信息也可以称为第一业务信息,该业务信息用于指示UE组访问的业务,该业务信息可以包括FQDN或应用的标识信息。该应用的标识信息可以包括应用的ID、识别码或组信息等,本申请对此不作限定。
可选地,在应用功能请求信息中包含位置区域信息的情况下,PCF网元为位于该位置区域内的UE生成第一信息,位于该位置区域的访问该业务信息所对应的业务的UE属于相同的UE组,该第一信息包括该UE组的位置区域信息,例如,可以是位置区域信息,地理位置区域信息。
可选地,在应用功能请求信息中包含UE组标识信息的情况下,PCF网元基于应用功能请求信息中的UE组标识信息生成第一信息中的UE组标识信息,属于相同UE组的终端设备对应相同的UE组标识,UE组标识可以为第一标识信息。
可选地,在应用功能请求信息中包含UE列表时,PCF为该UE列表中所包含的UE生成第一信息,该第一信息包括UE列表,UE列表可以包含一个或多个UE ID信息,UE列表指示UE组包括的具体UE。
本申请仅示例性地示出根据地理位置、组标识和UE列表等方式划分UE组,但不应对UE组的具体划分方式作出限制。
可选地,在应用功能请求信息中包含第一指示信息时,PCF网元基于该第一指示信息为UE组中的UE生成第一信息,并基于应用功能请求信息中的第一指示信息生成第一信息中的第一指示信息,该第一指示信息用于指示SMF网元为属于相同UE组的各个UE选择相同的EAS地址。
可选地,该第一指示信息可以隐式携带于第一信息。示例性地,通过消息名称来隐式携带第一指示信息的功能。
可选地,在应用功能请求信息中包含EAS地址信息时,PCF网元基于应用功能请求信息中的EAS地址信息生成第一信息中的EAS地址信息,即该第一信息还可以包括EAS地址信息,用于SMF网元直接选取该EAS地址并提供给UE。
可选地,该业务信息、UE组的标识信息、UE列表、UE组的位置区域信息、第一指示信息和EAS地址信息也可以不包括于第一信息中,而是分别发送。
S502,SMF网元向EASDF网元发送第一处理规则。
SMF网元向EASDF网元发送第一处理规则,该第一处理规则包括UE所访问业务的FQDN及其处理规则,当EASDF网元在判断出UE的DNS查询请求信息中包括的FQDN与该第一处理规则中的FQDN对应时,根据该处理规则上报该DNS查询请求信息对应的 内容,例如,DNS查询请求信息中的FQDN。
S503,UE向EASDF网元发送DNS查询请求信息。
该DNS查询请求信息中包括该UE所要查询的业务的FQDN。
S504,EASDF网元向SMF网元发送DNS查询请求信息对应的信息。
EASDF判断DNS查询请求信息中所携带的FQDN与第一规则中的FQDN相对应,则EASDF网元根据第一规则向SMF网元上报该DNS查询请求信息对应的内容,例如,DNS查询请求信息中的FQDN。
S505,SMF网元判断UE是否属于UE组。
基于第一信息,SMF判断该UE是否属于UE组。
在一种可能的实现方式中,SMF网元根据DNS查询请求信息中携带的FQDN判断该UE是否属于UE组,若该FQDN与第一信息中的业务信息相对应则确定UE属于UE组,该FQDN与第一信息中的业务信息相对应可以理解为该FQDN包含与业务信息中,或者该FQDN与第一信息中的业务信息相对应也可以理解为FQDN所对应的业务属于该业务信息所包含的业务,示例性地,该第一域名信息包括FQDN1,该业务信息可以包括FQDN1和FQDN2等,则该第一域名信息对应于该业务信息,或者该第一域名信息包括FQDN1,该FQDN1为业务1的域名,该业务信息包括应用ID-1和应用ID-2,该应用ID-1为业务1的ID,则该第一域名信息对应于该业务信息。
在一种可能的实现方式中,该UE组中的UE均对应相同的UE组标识,SMF网元基于UE组标识为UE确定与UE组中的其他UE相同的EAS,SMF网元可以为对应于该UE组标识的UE均确定相同的EAS。
在一种可能的实现方式中,该UE组中的UE均位于相同的位置区域,SMF网元基于UE组的位置区域信息为UE确定与UE组中的其他相同的EAS,SMF网元可以为对应于相同位置区域的UE均确定相同的EAS。
S506,SMF网元为该UE确定EAS地址。
若SMF网元确定该UE属于UE组,则为该UE确定与UE组内其他UE相同的EAS地址。
可选地,该确定的EAS地址可以为第一信息中所携带的EAS地址。
可选地,该确定的EAS地址也可以为SMF网元预先存储的该UE组对应的EAS地址。
S507,SMF网元向EASDF网元发送第二处理规则。
该第二处理规则包括EAS地址和处理规则,该第二处理规则也可以称为第一规则,该EAS地址为SMF网元确定的EAS地址,该处理规则用于指示EASDF网元向UE发送该EAS地址。
S508,EASDF网元向UE发送DNS查询响应信息。
该EASDF网元根据第二处理规则向UE发送EAS地址,该EAS地址可以包含于EASDF网元发送的DNS查询响应信息中。
属于相同UE组中的UE可以连接至相同的SMF网元,也可以连接至不同的SMF网元,若连接至不同SMF网元,各个SMF为属于相同UE组中的UE均选择该第一信息中所携带的EAS地址,使得UE组中的各个UE均连接至该相同的EAS,从而降低多个UE之间的交互时延。
图6是本申请实施例提供的又一种发现边缘服务的方法,可以由UDR网元存储UE组对应的EAS地址并发送给SMF网元,由SMF网元提供给属于UE组的各个UE,使得UE组中的各个UE均连接至相同的EAS。本申请中,由UDR网元存储UE组对应的EAS地址并协调多个SMF为UE组选择相同的EAS只是一个举例,也可以由其他网元代替UDR网元,此处不做限制。
如图6所示,步骤S600~S605分别与图5所描述的步骤S500~S505相类似,为避免重复,此处不再赘述。其中,步骤S601中,第一信息中可以不包括EAS地址。
S606,SMF网元向UDR网元发送获取请求信息。
在一种可能的实现方式中,SMF网元未存储有UE组对应业务的EAS地址,且PCF网元未提供对应的EAS地址,而UDR网元存储有UE组对应的EAS地址,则SMF网元可以向UDR网元发送获取请求信息,请求获取UE组对应业务的EAS地址,该获取请求信息可以包括UE组信息。
S607,UDR网元向SMF网元发送获取响应信息。
该获取响应信息中包括UE组对应业务的EAS地址。
可选地,UDR网元可以主动向SMF网元发送EAS地址,无需由获取请求信息触发其发送EAS地址,即可以不存在步骤S606,直接执行步骤S607。
步骤S608~S610分别与图5所描述的步骤S506~S508相类似,为避免重复,此处不再赘述。
同样地,属于相同UE组中的UE可以连接至相同的SMF网元,也可以连接至不同的SMF网元,该一个或多个SMF为属于相同UE组中的UE均选择该UDR网元提供的EAS地址,使得UE组中的各个UE均连接至该相同的EAS,从而降低多个UE之间的交互时延。
图7是本申请实施例提供的又一种发现边缘服务的方法,在SMF网元和UDR网元均未存储UE组对应的EAS地址的情况下,可以由DNS服务器查询对应的EAS地址,若存在多个SMF网元,可以由UDR网元进行协调,使得各SMF网元为UE组中的各UE确定的EAS相同。
步骤S700~S707与图6所描述的步骤S600~S607相类似,为避免重复,此处不再赘述。其中,步骤S707中,该获取响应信息可以指示UDR网元未存储该UE组对应的EAS地址。
S708,SMF网元向EASDF网元发送第三处理规则。
在一种可能的实现方式中,SMF网元和UDR网元均未存储与UE组对应的EAS地址,SMF网元向EASDF网元发送第三处理规则,该第三处理规则也可以称为第二规则,该第三处理规则包括ECS选项信息及处理规则,该处理规则用于指示EASDF网元将ECS选项信息添加至DNS查询请求信息中,具体的该处理规则用于指示EASDF网元将基于ECS选项信息生成的ECS选项即ECS option添加至DNS查询请求信息中,并向DNS服务器发送该DNS查询请求信息。该ECS选项信息包括UE的位置信息,该位置信息可以为该UE所接入网络的IP地址。
S709,EASDF网元向DNS服务器发送DNS查询请求信息。
在一种可能的实现方式中,EASDF网元根据第三处理规则将ECS选项信息添加至 DNS查询请求信息中,具体的该处理规则用于指示EASDF网元将基于ECS选项信息生成的ECS option添加至DNS查询请求信息中,并向DNS服务器发送该DNS查询请求信息,该DNS查询请求信息包括该UE的FQDN及ECS选项。
S710,DNS服务器向EASDF网元发送DNS查询响应信息。
DNS服务器根据FQDN和ECS选项查询对应业务的EAS地址,并添加在DNS查询响应信息中,发送至EASDF网元。
可选的,该EAS地址可以为一个或多个。
S711,EASDF网元向SMF网元发送DNS查询响应信息所对应的内容。
该DNS查询响应信息所对应的内容可以包括一个或多个EAS地址。
可选地,该DNS查询响应信息还可以包括该业务的FQDN。
S712,SMF网元选择UE组对应的EAS地址。
该SMF网元从该一个或多个EAS地址中为UE选择一个EAS地址,若UE组中的各个UE均连接至相同的SMF网元,则该SMF网元为各个UE均选择该EAS地址,且无需执行步骤S713~S714。
S713,SMF网元向UDR网元发送更新请求信息。
在一种可能的实现方式中,若UE组中的各UE连接至不同的SMF网元,为防止各个SMF网元为相同UE组中的UE选择的EAS地址不同,则SMF网元可以向UDR网元发送更新请求信息,由UDR网元进行协调和更新,使得SMF网元最终为UE组中的各UE确定的EAS地址相同。该更新请求信息中包括SMF网元在步骤S712中确定的EAS地址。
S714,UDR网元向SMF网元发送更新响应信息。
在接收到来自SMF网元的更新请求信息后,UDR网元确定UE组中的第一个接入边缘服务的UE所接入的EAS,并向后续发送更新请求的SMF网元发送更新响应信息,该更新响应信息中包括该EAS地址,各SMF网元为各UE均确定该EAS地址,SMF网元在步骤S712中确定的EAS地址与UDR网元发送的EAS地址可以相同也可以不同。
步骤S715~S716与图6所描述的步骤S609~S610相类似,为避免重复,此处不再赘述。
以上图5至图7所描述的方法为SMF网元为属于相同UE组的各UE确定相同的EAS地址,而图8至图11所描述的方法为SMF网元为属于相同UE组的各UE选择相同边缘网络中的EAS地址。如图8所示,UDR网元仅转发应用功能请求信息,无需其存储或协调DNAI。
S800,PCF网元接收来自AF网元的应用功能请求信息。
该应用功能请求信息包括业务信息,可选地,该应用功能请求信息还可以包括位置区域信息、UE组标识信息即第三标识信息、UE列表,其对应的内容与步骤S500中所描述的内容相类似,且其可以包括步骤S800a、S800b和S800c为避免重复,此处不再赘述。
可选地,该应用功能请求信息包括第二指示信息,该第二指示信息用于为属于相同UE组的UE选择相同边缘网络中的EAS。
可选地,该应用功能请求信息还可以包括ECS option信息,该ECS option信息为UE组对应的ECS option,该ECS option信息用于确定UE组中UE所访问的边缘应用服务器。
可选地,该应用功能请求信息还可以包括UE组对应的DNAI或LDN信息,该DNAI 可以为该第二标识信息,该LDN信息可以为LDN的名称,该DNAI或LDN信息用于确定对应的边缘网络中UE组所连接的边缘应用服务器。
S801,SMF网元接收来自PCF网元的第一信息。
相应地,步骤S801与S501相类似,为避免重复,此处不再赘述。
不同的是,在应用功能请求信息中包含第二指示信息时,PCF网元基于该第二指示信息为UE组中的UE生成第一信息,并基于应用功能请求信息中的第二指示信息生成第一信息中的第二指示信息,即该第二信息包括第二指示信息,该第二指示信息用于指示SMF网元为属于相同UE组的各个UE选择相同DNAI中的EAS地址,或者也可以理解为该第二指示信息用于指示为访问相同业务的终端设备确定相同边缘网络中的应用服务器,也可以理解为该第二指示信息用于指示为终端设备确定相同的边缘网络中的应用服务器,或者可以理解为该第二指示信息用于指示为访问相同业务且对应相同第三标识信息的终端设备确定相同的边缘网络中的应用服务器,或者可以理解为该第二指示信息用于指示为访问该第一业务信息对应的业务的终端设备确定相同的边缘网络中的应用服务器。
可选地,在该应用功能请求信息包括ECS option信息时,PCF网元基于应用功能请求信息中的该ECS option信息生成第一信息中的ECS option信息。
可选地,在应用功能请求信息中包含DNAI时,PCF网元基于应用功能请求信息中的该DNAI生成第一信息中的DNAI。
步骤S802~S805与图5所描述的步骤S502~S505相类似,为避免重复,此处不再赘述。
S806,SMF网元确定DNAI。
在一种可能的实现方式中,该第一信息中包括UE组对应的DNAI,则该确定的DNAI即为第一信息中的DNAI,并选择该DNAI对应的ECS option。
在一种可能的实现方式中,该第一信息中包括UE组对应的ECS option信息,则该SMF网元无需确定DNAI,且该SMF网元选择该ECS option,用于DNS服务器查询对应的EAS地址。
在一种可能的实现方式中,若相同UE组中的UE连接至相同的SMF网元,该SMF网元可以基于UE组中UE的位置确定DNAI,或者基于UE所访问的业务确定DNAI,且该SMF网元可以为相同UE组中的各UE均选择该DNAI,并选择该DNAI对应的ECS option。
在一种可能的实现方式中,若相同UE组中的UE连接至相同的SMF网元,且该SMF存储了UE组对应的DNAI,则该SMF网元为UE组中的UE确定该DNAI。
步骤S807~S813分别与图7所描述的步骤S708~S712、S715~S716相类似,为避免重复,此处不再赘述。
其中,步骤S807中,该第三处理规则也可以称为第三规则,步骤S812中,该第二处理规则也可以称为第四规则。
本申请提供的实施例中,PCF网元提供DNAI时,属于相同UE组中的UE可以连接至相同的SMF网元,也可以连接至不同的SMF网元,该一个或多个SMF为属于相同UE组中的UE选择该PCF网元提供的DNAI对应的边缘网络中的EAS地址。而在相同UE组中的UE连接至相同的SMF网元时,无需PCF网元提供DNAI或ECS option信息,该 SMF网元在DNS查询的EAS地址中选择同一DNAI中的EAS地址并提供给UE,使得UE组中的各个UE均连接至相同DNAI对应的边缘网络中的EAS,从而降低多个UE之间的交互时延。
图9是本申请实施例提供的又一种边缘服务发现方法的交互示意图,可以由UDR网元存储UE组对应的DNAI并发送给SMF网元,SMF网元选择该DNAI中的EAS地址并提供给相同UE组中的各个UE,使得UE组中的各个UE均连接至相同DNAI对应的边缘网络中的EAS。
步骤S900~S905分别与图8所描述的步骤S800~S805相类似,此处不再赘述。
步骤S906,SMF网元向UDR网元发送获取请求信息。
可选地,SMF网元未存储有UE组对应业务的DNAI,而UDR网元存储有UE组对应的DNAI,则SMF网元可以向UDR网元发送获取请求信息,请求获取UE组对应业务的DNAI,该获取请求信息还可以包括UE组信息。
S907,UDR网元向SMF网元发送获取响应信息。
该获取响应信息中包括UE组对应业务的DNAI。
可选地,UDR网元可以主动向SMF网元发送DNAI,无需由获取请求信息触发其发送DNAI,即可以不存在步骤S906,直接执行步骤S907。
S908,SMF网元确定DNAI。
SMF网元为UE组中的UE确定该UDR网元提供的DNAI。
步骤S909~S915分别与图8所描述的步骤S807~S813相类似,此处不再赘述。
同样地,属于相同UE组中的UE可以连接至相同的SMF网元,也可以连接至不同的SMF网元,若连接至不同SMF网元,各个SMF为属于相同UE组中的UE均选择该UDR网元提供的DNAI对应的边缘网络中的EAS地址,使得UE组中的各个UE均连接至该相同DNAI对应的边缘网络中的EAS,从而降低多个UE之间的交互时延。
图10是本申请实施例提供的又一种发现边缘服务的方法,在SMF网元和UDR网元均未存储UE组对应的DNAI的情况下,可以由SMF网元根据UE的业务或位置选择DNAI,并由UDR网元进行协调,使得存在多个SMF网元的情况下,各SMF网元为UE组中的各UE确定相同DNAI中的EAS地址。
步骤S1000~S1007分别与图9所描述的步骤S900~S607相类似,此处不再赘述。其中,步骤S1007中,该获取响应信息可以指示UDR网元未存储该UE组对应的DNAI。
S1008,SMF网元确定DNAI。
该DNAI为SMF网元存储的与该UE所访问的业务相对应的DNAI。若相同UE组中的各个UE均连接至相同的SMF网元,则该SMF网元为UE组中的各UE均选择该DNAI,且无需执行步骤S1013~S1014。
步骤S1009~S1012分别与图9所描述的步骤S909~S912相类似,此处不再赘述。
S1013,SMF网元向UDR网元发送更新请求信息。
在一种可能的实现方式中,若UE组中的各UE连接至不同的SMF网元,为防止各个SMF网元为相同UE组中的UE选择的DNAI不同,则SMF网元可以向UDR网元发送更新请求信息,由UDR网元进行协调和更新,使得SMF网元最终为UE组中的各UE确定的EAS地址相同。该更新请求信息中包括SMF网元在步骤S1008中确定的DNAI。
S1014,UDR网元向SMF网元发送更新响应信息。
在接收到来自SMF网元的更新请求信息后,UDR网元确定UE组中的第一个接入边缘服务的UE所接入的EAS对应的DNAI,并向后续发送更新请求的SMF网元发送更新响应信息,该更新响应信息中包括该DNAI,各SMF网元为各UE均确定该DNAI对应的边缘网络中的EAS地址。
在一种可能的实现方式中,该SMF网元在步骤S1008中确定的DNAI与UDR网元发送的DNAI不同,则重新执行步骤S1008~S1014,直至SMF网元为UE组确定的DNAI与UDR网元发送的DNAI相同。
步骤S1015~S1017分别与图9所描述的步骤S913~S915相类似,此处不再赘述。
图11是本申请提供的又一种边缘服务发现方法的交互示意图,SMF网元为相同UE组中的UE选择相同LDN中的EAS地址,使得UE组中的各UE连接至相同LDN中的EAS。
步骤S1100~S1105分别与图8所描述的步骤S800~S805相类似,此处不再赘述。其中,步骤S1100中,该应用功能请求信息可以包括LDN信息和/或ECS option信息,相应地,该第一信息可以包括LDN信息和/或ECS option信息,该LDN信息可以为该LDN的名称,若该第一信息中包括LDN信息和/或ECS option信息,则无需执行步骤S1106~S1007以及步骤S1113~S1114。此外,该第一信息还可以包括第二指示信息,该第二指示信息用于指示SMF网元为相同UE组中的UE选择相同LDN中的EAS地址。
S1106,SMF网元向UDR网元发送获取请求信息。
在一种可能的实现方式中,第一信息中不包括UE组对应业务的LDN信息,且SMF网元未存储有UE组对应业务的LDN信息,而UDR网元存储有UE组对应的LDN信息。则SMF网元可以向UDR网元发送获取请求信息,请求获取UE组对应业务的LDN信息。
可选地,该获取请求信息包括UE组信息。
S1107,UDR网元向SMF网元发送获取响应信息。
该获取响应信息中包括UE组对应业务的LDN信息。
在一种可能的实现方式中,UDR网元可以主动向SMF网元发送LDN信息,无需由SMF网元发送的获取请求信息触发UDR网元发送LDN信息,即,SMF网元可以无需执行步骤S1106,而是直接执行步骤S1107。
S1108,SMF网元确定LDN。
在一种可能的实现方式中,第一信息中包括UE组对应的LDN信息,则SMF网元为终端组中的各UE均选择该第一信息中的LDN信息,并选择该LDN对应的ECS option。
在一种可能的实现方式中,UDR网元存储了UE组对应的LDN信息,则SMF网元为终端组中的各UE均选择该UDR网元发送的LDN信息,并选择该LDN对应的ECS option。
在一种可能的实现方式中,SMF网元存储了UE组对应的LDN信息,则SMF网元为终端组中的各UE均选择该LDN信息,并选择该LDN对应的ECS option。
在一种可能的实现方式中,第一信息中不包括该UE组对应的LDN信息,且SMF网元与UDR网元均未存储该UE组对应业务的LDN信息时,SMF网元根据UE所访问的业务或位置区域确定LDN信息,并选择该LDN对应的ECS option。
步骤S1109~S1112分别与图8中所描述的步骤S807~S810相类似,此处不再赘述。
S1113,SMF网元向UDR网元发送更新请求信息。
在一种可能的实现方式中,UE组中的各UE连接至不同的SMF网元,且各SMF网元根据UE所访问的业务或位置区域确定LDN信息时,为防止各SMF网元确定的LDN信息不同,SMF网元向UDR网元发送更新请求信息,该更新请求信息中包括SMF网元确定的LDN信息,由UDR网元进行协调。
S1114,UDR网元向SMF网元发送更新响应信息。
在一种可能的实现方式中,该更新响应信息中包括UDR选择的LDN信息,该LDN信息可以为该UE组中的第一个接入边缘服务的UE所接入的LDN,该UDR网元维护该LDN信息,并在更新请求信息中向各SMF网元发送该LDN信息。
若该更新响应信息中的LDN信息与更新请求信息中的LDN信息不同,则SMF网元等重新执行步骤S1108~S1114,直至该SMF网元确定的LDN信息与UDR网元所维护的LDN信息相同。
可选地,该SMF网元确定的LDN信息与UDR网元所维护的LDN信息也可以相同,则SMF网元等直接执行步骤S1116~S1117。
S1115,SMF网元确定EAS地址。
SMF网元在确定的LDN中选择一个EAS地址,并通过第二处理规则发送给EASDF网元,由EASDF网元发送给UE,即步骤S1116~S1117,此处不再赘述。
图12是本申请提供的一种重发现边缘服务的方法的交互示意图,在通过图4至图11所描述的方法完成UE组的边缘服务发现过程后,若UE组加入了新的UE,使得核心网网元的负载超出了其预设范围,则各核心网网元需执行重新发现流程。各网元删除边缘服务发现过程中存储的EAS地址信息或DNAI、LDN信息,并重新执行图4至图11所描述的一种边缘服务发现的流程。
S1201,UDR网元接收来自AF网元的应用功能请求信息。
可选地,步骤S1201可以包括步骤S1201a和S1201b,即可以经由NEF网元将该应用功能请求信息转发给UDR网元。
该应用功能请求信息所包含的内容与步骤S500、步骤S800和步骤S1100中所描述的内容相类似,此处不再赘述。其中,该应用功能请求信息还可以包括第三指示信息,该第三指示信息用于指示各网元删除边缘服务发现过程中存储的EAS地址信息、DNAI信息或LDN信息。
可选地,该第三指示信息可以隐式携带于该应用功能请求信息。。
S1202,UDR网元删除UE组对应业务的EAS地址信息、DNAI信息或LDN信息。
在一种可能的实现方式中,UDR网元存储有UE组对应业务的EAS地址信息、DNAI信息或LDN信息,则UDR网元在接收到来自AF网元的应用功能请求信息后,根据UE组对应的业务信息、标识信息或位置区域信息,确定需要执行重新发现服务的UE组及其对应的业务,并删除该UE组对应业务的EAS地址信息、DNAI信息或LDN信息。
S1203,UDR网元向PCF网元发送该应用功能请求信息。
S1204,SMF网元接收来自PCF网元的第二信息。
PCF网元基于该应用功能请求信息生成该第二信息,并向SMF网元发送该第二信息。
S1205,SMF网元删除UE组对应业务的EAS地址信息、DNAI信息或LDN信息。
在一种可能的实现方式中,SMF网元存储有UE组对应业务的EAS地址信息、DNAI信息或LDN信息,则SMF网元在接收到来自PCF网元的第二信息后,根据UE组对应的业务信息、标识信息或位置区域信息,确定需要执行重新发现服务的UE组及其对应的业务,并删除该UE组对应业务的EAS地址信息、DNAI信息或LDN信息。
S1206,SMF网元向EASDF网元发送第四处理规则。
该第四处理规则包括该UE组对应业务的FQDN及处理规则,该FQDN用于EASDF网元查找与该FQDN对应的EAS地址,该处理规则用于指示EASDF网元在确定存储有UE组对应的EAS地址时,删除该UE组对应的EAS地址。
S1207,EASDF网元删除UE组对应的EAS地址、DNAI或LDN。
在一种可能的实现方式中,该EASDF网元存储有该UE组对应业务的EAS地址,则EASDF网元根据第四处理规则中所携带的FQDN查找对应的EAS地址,并根据该第四处理规则删除该EAS地址。
在步骤S1201~S1206之后,各网元重新执行图4至图11中所描述的一种边缘服务发现过程,为该访问特定业务的UE组中的UE重新选择对应的EAS地址、DNAI或LDN。
在本申请的各个实施例中,第一、第二等只是为了表示多个对象是不同的。例如第一网元和第二网元只是为了表示出不同的网元。而不应该对网元的本身和数量等产生任何影响,上述的第一、第二等不应该对本申请的实施例造成任何限制。
以上结合图1至图11对本申请实施例的发现边缘服务的方法做了详细说明。以下,结合图13和图14对本申请实施例的通信装置进行详细说明。
图13是根据本申请实施例提供的通信装置的结构框图。该通信装置可具备上述方法实施例中的第一网元或第四网元的功能,并可用于执行上述方法实施例中由第一网元或第四网元执行的步骤。
在一种可能的实现方式中,如图13所示的通信装置1300可作为上述方法实施例所涉及的第一网元,并执行上述方法实施例中由第一网元执行的步骤。
如图13所示,该通信装置1300可包括发送模块1310和接收模块1320。
发送模块1310可用于支持通信装置1300进行发送信息,例如执行图3至图12中的S304、S404、S502、S507、S602、S606、S609、S702、S706、S708、S713、S715、S802、S807、S812、S902、S906、S909、S914、S1002、S1006、S1009、S1013、S1016、S1102、S1106、S1109、S1113、S1116和S1206中由第一网元执行的发送动作。
接收模块1320可用于支持通信装置1300进行接收信息,例如执行图3至图12中的S301、S302、S401、S402、S501、S504、S601、S604、S607、S701、S704、S707、S711、S714、S801、S804、S810、S901、S904、S907、S912、S1001、S1004、S1007、S1012、S1014、S1101、S1104、S1107、S1112、S1114和S1204中由第一网元执行的接收动作。
可选地,通信装置1300还可以包括处理模块1330,该处理模块1330与发送模块1310和接收模块1320耦合,可用于支持通信装置1300执行上述方法实施例中的处理动作,例如执行图3至图12中的S303、S403、S505、S506、S605、S608、S705、S712、S805、S806、S811、S905、S908、S913、S1005、S1008、S1015、S1105、S1108、S1115和S1205等由第一网元执行的处理动作。
在另一种可能的实现方式中,如图13所示的通信装置1300可作为上述方法实施例所涉及的第四网元,并执行上述方法实施例中由第四网元执行的步骤。
如图13所示,该通信装置1300可包括发送模块1310和接收模块1320。
发送模块1310可用于支持通信装置1300进行发送信息,例如执行图3至图12中的S301、S401、S501、S601、S701、S801、S901、S1001、S1101和S1204中由第四网元执行的发送动作。
接收模块1320可用于支持通信装置1300进行接收信息,例如执行图5至图12中的S500、S600、S700、S800、S900、S1000、S1100和S1203中由第二网元执行的接收动作。
可选地,通信装置1300还可以包括处理模块1330,该处理模块1330与发送模块1310和接收模块1320耦合,可用于支持通信装置1300执行上述方法实施例中的处理动作,例如执行基于应用功能请求信息生成第一信息等由第四网元执行的处理动作。
可选地,通信装置1300还可以包括存储模块1340,用于存储通信装置1300的程序代码和数据。
图14是本申请实施例提供的通信设备1400的示意性框图。如图所示,该通信设备1400包括:至少一个处理器1410和收发器1420。该处理器1410与存储器耦合,用于执行存储器中存储的指令,以控制收发器1420发送信号和/或接收信号。
可选地,该通信设备1400还包括存储器1430,用于存储指令。
在一些实施例中,上述处理器1410和存储器1430可以合成一个处理装置,处理器1410用于执行存储器1430中存储的程序代码来实现上述功能。具体实现时,该存储器1430也可以集成在处理器1410中,或者独立于处理器1410。
在一些实施例中,收发器1420可以包括接收器(或者称,接收机)和发射器(或者称,发射机)。
收发器1420还可以进一步包括天线,天线的数量可以为一个或多个。收发器1420有可以是通信接口或者接口电路。
当该通信设备1400为芯片时,该芯片包括收发单元和处理单元。其中,收发单元可以是输入输出电路或通信接口;处理单元可以为该芯片上集成的处理器或者微处理器或者集成电路。
当上述通信装置为应用于网络设备的芯片时,该网络设备芯片实现上述方法实施例中网络设备的功能。该网络设备芯片从网络设备中的其它模块(如射频模块或天线)接收信息,该信息是终端或其他网络设备发送给该网络设备的;或者,该网络设备芯片向网络设备中的其它模块(如射频模块或天线)输出信息,该信息是网络设备发送给终端或其他网络设备的。
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质存储有计算机程序或指令,该计算机程序或指令被计算机(例如,处理器)执行,以实现本申请实施例中由任意装置执行的任意一种方法的部分或全部步骤。
本申请实施例还提供一种包含指令的计算机程序产品,当其在计算机上运行时,使得本申请实施例中由任意装置执行的任意一种方法的部分或全部步骤被执行。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以 硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (78)

  1. 一种发现边缘服务的方法,其特征在于,包括:
    第一网元接收第一信息,所述第一信息包括第一业务信息;
    所述第一网元接收第二信息,所述第二信息包括第一域名信息,所述第一域名信息包含于第一终端设备发送的第一域名系统DNS查询请求信息,所述第一DNS查询请求信息用于请求所述第一域名信息对应的应用服务器地址信息;
    所述第一域名信息对应于所述第一业务信息时,所述第一网元为所述第一终端设备确定与第二终端设备相同的应用服务器,所述第二终端设备与所述第一终端设备访问的业务相同;
    所述第一网元发送第一规则,所述第一规则包括第一应用服务器地址信息,所述第一应用服务器地址信息用于指示所述相同的应用服务器,所述第一规则用于指示第二网元向所述第一终端设备发送所述第一应用服务器地址信息。
  2. 根据权利要求1所述的方法,其特征在于,所述第一信息包括第一标识信息,所述第一标识信息用于指示与所述第一终端设备访问相同应用服务器的终端设备。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第二终端设备属于所述第一标识信息所指示的终端设备。
  4. 根据权利要求2或3所述的方法,其特征在于,所述第一网元为所述第一终端设备确定与第二终端设备相同的应用服务器,包括:
    所述第一网元根据所述第一标识信息为所述第一终端设备确定与所述第二终端设备相同的应用服务器。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述第一信息包括第一指示信息,所述第一指示信息用于指示为访问相同业务的终端设备确定相同的应用服务器。
  6. 根据权利要求5所述的方法,其特征在于,所述第一网元为所述第一终端设备确定与第二终端设备相同的应用服务器包括:
    所述第一网元根据所述第一指示信息为所述第一终端设备确定与所述第二终端设备相同的应用服务器。
  7. 根据权利要求1至6中任一项所述的方法,其特征在于,在所述第一网元发送第一规则之前,所述方法还包括:
    所述第一网元发送第二规则,所述第二规则包括第一选项信息,所述第一选项信息用于DNS服务器确定应用服务器地址信息,所述第二规则用于指示所述第二网元向所述DNS服务器发送第二DNS查询请求信息,所述第二DNS查询请求信息包括所述第一选项信息和所述第一域名信息。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    所述第一网元接收第三信息,所述第三信息包括所述第一域名信息以及一个或多个应用服务器地址信息,所述一个或多个应用服务器地址信息由所述DNS服务器确定。
  9. 根据权利要求1至8中任一项所述的方法,其特征在于,在所述第一网元发送第一规则之前,所述方法还包括:
    所述第一网元发送第一请求信息,所述第一请求信息包括第二应用服务器地址信息,所述第二应用服务器地址为所述一个或多个应用服务器地址中的一个。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    所述第一网元接收响应于第一请求信息的第一响应信息,所述第一响应信息包括所述第一应用服务器地址信息。
  11. 根据权利要求9或10所述的方法,其特征在于,所述第二应用服务器地址信息与所述第一应用服务器地址信息所指示的应用服务器相同。
  12. 根据权利要求1至6中任一项所述的方法,其特征在于,在所述第一网元发送第一规则之前,所述方法还包括:
    所述第一网元接收第四信息,所述第四信息包括所述第一应用服务器地址信息。
  13. 根据权利要求12所述的方法,其特征在于,在所述第一网元接收第四信息之前,所述方法还包括:
    所述第一网元发送第五信息,所述第五信息用于获取与所述第一域名信息相对应的应用服务器地址信息。
  14. 根据权利要求1至6中任一项所述的方法,其特征在于,所述第一信息包括所述第一应用服务器地址信息。
  15. 一种发现边缘服务的方法,其特征在于,包括:
    第四网元接收应用功能请求信息,所述应用功能请求信息用于对业务流路由进行控制;
    所述第四网元基于所述应用功能请求信息生成第一信息,所述第一信息包括第一业务信息;
    所述第四网元发送所述第一信息。
  16. 根据权利要求15所述的方法,其特征在于,所述第一信息包括第一标识信息,所述第一标识信息用于指示与所述第一终端设备访问相同应用服务器的终端设备。
  17. 根据权利要求15或16所述的方法,其特征在于,所述第一信息包括第一指示信息,所述第一指示信息用于指示为访问相同业务的终端设备确定相同的应用服务器。
  18. 根据权利要求15至17中任一项所述的方法,其特征在于,所述第一信息包括第一应用服务器地址信息,所述第一应用服务器地址信息用于指示所述第一网元为所述第一终端设备确定的应用服务器。
  19. 一种发现边缘服务的方法,其特征在于,包括:
    第一网元接收第一信息,所述第一信息包括第一业务信息;
    所述第一网元接收第二信息,所述第二信息包括第一域名信息,所述第一域名信息包含于第一终端设备发送的第一DNS查询请求信息,所述第一DNS查询请求信息用于请求所述第一域名信息对应的应用服务器地址信息;
    所述第一域名信息对应于所述第一业务信息时,所述第一网元为所述第一终端设备确定与第二终端设备相同的边缘网络中的应用服务器,所述第二终端设备与所述第一终端设备访问的业务相同;
    所述第一网元发送第三规则,所述第三规则包括第二选项信息,所述第二选项信息用于DNS服务器确定应用服务器地址信息。
  20. 根据权利要求19所述的方法,其特征在于,所述第二选项信息由所述第一网元 根据第二标识信息确定,所述第二标识信息用于指示所述相同的边缘网络。
  21. 根据权利要求19或20所述的方法,其特征在于,所述第一信息包括第三标识信息,所述第三标识信息用于指示与所述第一终端设备访问相同边缘网络中的应用服务器的终端设备。
  22. 根据权利要求21所述的方法,其特征在于,所述第二终端设备属于所述第三标识信息所指示的终端设备。
  23. 根据权利要求21或22所述的方法,其特征在于,所述第一网元为所述第一终端设备确定与第二终端设备相同的边缘网络中的应用服务器,包括:
    所述第一网元根据所述第三标识信息为所述第一终端设备确定与所述第二终端设备相同的边缘网络中的应用服务器。
  24. 根据权利要求19至22中任一项所述的方法,其特征在于,所述第一信息包括第二指示信息,所述第二指示信息用于指示为访问相同业务的终端设备确定相同的边缘网络中的应用服务器。
  25. 根据权利要求24所述的方法,其特征在于,所述第一网元为所述第一终端设备确定与第二终端设备相同的边缘网络中的应用服务器包括:
    所述第一网元根据所述第二指示信息为所述第一终端设备确定与所述第二终端设备相同的边缘网络中的应用服务器。
  26. 根据权利要求19至25中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网元发送第二请求信息,所述第二请求信息包括所述第二标识信息。
  27. 根据权利要求26所述的方法,其特征在于,所述方法还包括:
    所述第一网元接收响应于所述第二请求信息的第二响应信息,所述第二响应信息包括第四标识信息。
  28. 根据权利要求27所述的方法,其特征在于,所述第四标识信息与所述第二标识信息所对应的边缘网络相同。
  29. 根据权利要求19至25中任一项所述的方法,其特征在于,在所述第一网元发送第三规则之前,所述方法还包括:
    所述第一网元接收第六信息,所述第六信息包括所述第二标识信息和/或所述第二选项信息。
  30. 根据权利要求29所述的方法,其特征在于,在所述第一网元接收第六信息之前,所述方法还包括:
    所述第一网元发送第七信息,所述第七信息用于获取与所述第一域名信息对应的边缘网络信息。
  31. 根据权利要求19至25中任一项所述的方法,其特征在于,所述第一信息包括所述第二标识信息和/或所述第二选项信息。
  32. 根据权利要求19至31中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网元发送第四规则,所述第四规则包括第一应用服务器地址信息,所述第一应用服务器地址信息用于指示所述第二标识信息所对应的边缘网络中的一个应用服务器,所述第四规则用于指示第二网元向所述第一终端设备发送所述第一应用服务器地址信息。
  33. 一种发现边缘服务的方法,其特征在于,包括:
    第四网元接收应用功能请求信息,所述应用功能请求信息用于对业务流路由进行控制;
    所述第四网元基于所述应用功能请求信息生成第一信息,所述第一信息包括第一业务信息;
    所述第四网元发送所述第一信息。
  34. 根据权利要求33所述的方法,其特征在于,所述第一信息包括第三标识信息,所述第三标识信息用于指示与所述第一终端设备访问相同边缘网络中的应用服务器的终端设备。
  35. 根据权利要求33或34所述的方法,其特征在于,所述第一信息包括第二指示信息,所述第二指示信息用于指示为访问相同业务的终端设备确定相同的边缘网络中的应用服务器。
  36. 根据权利要求33至35中任一项所述的方法,其特征在于,所述第一信息包括第二标识信息和/或第二选项信息,所述第二标识信息用于指示为第一终端设备确定的边缘网络,所述第二选项信息用于DNS服务器确定应用服务器地址信息。
  37. 一种发现边缘服务的方法,其特征在于,包括:
    第四网元接收来自第五网元的应用功能请求信息,所述应用功能请求信息用于对业务流路由进行控制;
    所述第四网元基于所述应用功能请求信息生成第一信息,所述第一信息包括第一业务信息;
    所述第四网元向第一网元发送所述第一信息;
    所述第一网元接收来自所述第四网元的所述第一信息;
    所述第一网元接收来自第二网元的第二信息,所述第二信息包括第一域名信息,所述第一域名信息包含于第一终端设备发送的第一域名系统DNS查询请求信息,所述第一DNS查询请求信息用于请求所述第一域名信息对应的应用服务器地址信息;
    所述第一域名信息对应于所述第一业务信息时,所述第一网元为所述第一终端设备确定与第二终端设备相同的应用服务器,所述第二终端设备与所述第一终端设备访问的业务相同;
    所述第一网元向所述第二网元发送第一规则,所述第一规则包括第一应用服务器地址信息,所述第一应用服务器地址信息用于指示所述相同的应用服务器,所述第一规则用于指示所述第二网元向所述第一终端设备发送所述第一应用服务器地址信息。
  38. 根据权利要求37所述的方法,其特征在于,所述第一信息包括第一标识信息,所述第一标识信息用于指示与所述第一终端设备访问相同应用服务器的终端设备。
  39. 根据权利要求37或38所述的方法,其特征在于,所述第二终端设备属于所述第一标识信息所指示的终端设备。
  40. 根据权利要求38或39所述的方法,其特征在于,所述第一网元为所述第一终端设备确定与第二终端设备相同的应用服务器,包括:
    所述第一网元根据所述第一标识信息为所述第一终端设备确定与所述第二终端设备相同的应用服务器。
  41. 根据权利要求37至40中任一项所述的方法,其特征在于,所述第一信息包括第一指示信息,所述第一指示信息用于指示为访问相同业务的终端设备确定相同的应用服务 器。
  42. 根据权利要求41所述的方法,其特征在于,所述第一网元为所述第一终端设备确定与第二终端设备相同的应用服务器包括:
    所述第一网元根据所述第一指示信息为所述第一终端设备确定与所述第二终端设备相同的应用服务器。
  43. 根据权利要求37至42中任一项所述的方法,其特征在于,在所述第一网元向所述第二网元发送第一规则之前,所述方法还包括:
    所述第一网元向所述第二网元发送第二规则,所述第二规则包括第一选项信息,所述第一选项信息用于DNS服务器确定应用服务器地址信息,所述第二规则用于指示所述第二网元向所述DNS服务器发送第二DNS查询请求信息,所述第二DNS查询请求信息包括所述第一选项信息和所述第一域名信息。
  44. 根据权利要求43所述的方法,其特征在于,所述方法还包括:
    所述第一网元接收来自第二网元的第三信息,所述第三信息包括所述第一域名信息以及一个或多个应用服务器地址信息,所述一个或多个应用服务器地址信息由所述DNS服务器确定。
  45. 根据权利要求37至44中任一项所述的方法,其特征在于,在所述第一网元向所述第二网元发送第一规则之前,所述方法还包括:
    所述第一网元向第三网元发送第一请求信息,所述第一请求信息包括第二应用服务器地址信息,所述第二应用服务器地址为所述一个或多个应用服务器地址中的一个。
  46. 根据权利要求45所述的方法,其特征在于,所述方法还包括:
    所述第一网元接收来自于所述第三网元的响应于第一请求信息的第一响应信息,所述第一响应信息包括所述第一应用服务器地址信息。
  47. 根据权利要求45或46所述的方法,其特征在于,所述第二应用服务器地址信息与所述第一应用服务器地址信息所指示的应用服务器相同。
  48. 根据权利要求37至42中任一项所述的方法,其特征在于,在所述第一网元向所述第二网元发送第一规则之前,所述方法还包括:
    所述第一网元接收来自第三网元的第四信息,所述第四信息包括所述第一应用服务器地址信息。
  49. 根据权利要求48所述的方法,其特征在于,在所述第一网元接收来自第三网元的第四信息之前,所述方法还包括:
    所述第一网元向所述第三网元发送第五信息,所述第五信息用于获取与所述第一域名信息相对应的应用服务器地址信息。
  50. 根据权利要求37至42中任一项所述的方法,其特征在于,所述第一信息包括所述第一应用服务器地址信息。
  51. 一种发现边缘服务的方法,其特征在于,包括:
    第四网元接收来自第五网元的应用功能请求信息,所述应用功能请求信息用于对业务流路由进行控制;
    所述第四网元基于所述应用功能请求信息生成第一信息,所述第一信息包括第一业务信息;
    所述第四网元向第一网元发送所述第一信息;
    所述第一网元接收来自所述第四网元的所述第一信息;
    所述第一网元接收来自第二网元的第二信息,所述第二信息包括第一域名信息,所述第一域名信息包含于第一终端设备发送的第一DNS查询请求信息,所述第一DNS查询请求信息用于请求所述第一域名信息对应的应用服务器地址信息;
    所述第一域名信息对应于所述第一业务信息时,所述第一网元为所述第一终端设备确定与第二终端设备相同的边缘网络中的应用服务器,所述第二终端设备与所述第一终端设备访问的业务相同;
    所述第一网元向所述第二网元发送第三规则,所述第三规则包括第二选项信息,所述第二选项信息用于DNS服务器确定应用服务器地址信息。
  52. 根据权利要求51所述的方法,其特征在于,所述第二选项信息由所述第一网元根据第二标识信息确定,所述第二标识信息用于指示所述相同的边缘网络。
  53. 根据权利要求51或52所述的方法,其特征在于,所述第一信息包括第三标识信息,所述第三标识信息用于指示与所述第一终端设备访问相同边缘网络中的应用服务器的终端设备。
  54. 根据权利要求53所述的方法,其特征在于,所述第二终端设备属于所述第三标识信息所指示的终端设备。
  55. 根据权利要求53或54所述的方法,其特征在于,所述第一网元为所述第一终端设备确定与第二终端设备相同的边缘网络中的应用服务器,包括:
    所述第一网元根据所述第三标识信息为所述第一终端设备确定与所述第二终端设备相同的边缘网络中的应用服务器。
  56. 根据权利要求51至54中任一项所述的方法,其特征在于,所述第一信息包括第二指示信息,所述第二指示信息用于指示为访问相同业务的终端设备确定相同的边缘网络中的应用服务器。
  57. 根据权利要求56所述的方法,其特征在于,所述第一网元为所述第一终端设备确定与第二终端设备相同的边缘网络中的应用服务器包括:
    所述第一网元根据所述第二指示信息为所述第一终端设备确定与所述第二终端设备相同的边缘网络中的应用服务器。
  58. 根据权利要求51至57中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网元向第三网元发送第二请求信息,所述第二请求信息包括所述第二标识信息。
  59. 根据权利要求58所述的方法,其特征在于,所述方法还包括:
    所述第一网元接收来自所述第三网元的响应于所述第二请求信息的第二响应信息,所述第二响应信息包括第四标识信息。
  60. 根据权利要求59所述的方法,其特征在于,所述第四标识信息与所述第二标识信息所对应的边缘网络相同。
  61. 根据权利要求51至57中任一项所述的方法,其特征在于,在所述第一网元向所述第二网元发送第三规则之前,所述方法还包括:
    所述第一网元接收来自第三网元的第六信息,所述第六信息包括所述第二标识信息和 /或所述第二选项信息。
  62. 根据权利要求61所述的方法,其特征在于,在所述第一网元接收来自第三网元的第六信息之前,所述方法还包括:
    所述第一网元向所述第三网元发送第七信息,所述第七信息用于获取与所述第一域名信息对应的边缘网络信息。
  63. 根据权利要求51至57中任一项所述的方法,其特征在于,所述第一信息包括所述第二标识信息和/或所述第二选项信息。
  64. 根据权利要求51至63中任一项所述的方法,其特征在于,所述方法还包括:
    所述第一网元向所述第二网元发送第四规则,所述第四规则包括第一应用服务器地址信息,所述第一应用服务器地址信息用于指示所述第二标识信息所对应的边缘网络中的一个应用服务器,所述第四规则用于指示第二网元向所述第一终端设备发送所述第一应用服务器地址信息。
  65. 一种发现边缘服务的系统,其特征在于,包括第一网元,所述第一网元用于执行如权利要求1至14中任一项所述的方法。
  66. 根据权利要求65所述的系统,其特征在于,所述系统还包括第四网元,所述第四网元用于执行如权利要求15至18中任一项所述的方法。
  67. 根据权利要求65或66所述的系统,其特征在于,所述系统还包括第三网元,
    所述第三网元用于接收来自所述第一网元的所述第一请求信息;
    所述第三网元还用于向所述第一网元发送所述第一响应信息。
  68. 根据权利要求65或66所述的系统,其特征在于,所述系统还包括第三网元,
    所述第三网元用于接收来自所述第一网元的所述第五信息;
    所述第三网元还用于向所述第一网元发送所述第四信息。
  69. 根据权利要求65至68中任一项所述的系统,其特征在于,所述系统还包括第五网元,所述第五网元用于向第四网元发送应用功能请求信息,所述应用功能请求信息用于对业务流路由进行控制。
  70. 一种发现边缘服务的系统,其特征在于,包括第一网元,所述第一网元用于执行如权利要求19至32中任一项所述的方法。
  71. 根据权利要求69所述的系统,其特征在于,所述系统还包括第四网元,所述第四网元用于执行如权利要求33至36中任一项所述的方法。
  72. 根据权利要求69或70所述的系统,其特征在于,所述系统还包括第三网元,
    所述第三网元用于接收来自所述第一网元的所述第二请求信息;
    所述第三网元还用于向所述第一网元发送所述第二响应信息。
  73. 根据权利要求69或70所述的系统,其特征在于,所述系统还包括第三网元,
    所述第三网元用于接收来自所述第一网元的所述第七信息;
    所述第三网元还用于向所述第一网元发送所述第六信息。
  74. 根据权利要求69至73中任一项所述的系统,其特征在于,所述系统还包括第五网元,所述第五网元用于向第四网元发送应用功能请求信息,所述应用功能请求信息用于对业务流路由进行控制。
  75. 一种发现边缘服务的装置,其特征在于,包括用于执行如权利要求1至14中任 一项所述的方法的模块或单元;或者,包括用于执行如权利要求15至18中任一项所述的方法的模块或单元;或者,包括用于执行如权利要求19至32中任一项所述的方法的模块或单元;或者,包括用于执行如权利要求33至36中任一项所述的方法的模块或单元。
  76. 一种发现边缘服务的装置,其特征在于,包括:
    处理器,所述处理器与存储器耦合,所述存储器用于存储程序或指令,当所述程序或指令被所述处理器执行时,使得所述装置执行如权利要求1至14中任一项所述的方法;或者,使得所述装置执行如权利要求15至18中任一项所述的方法;或者,使得所述装置执行如权利要求19至32中任一项所述的方法;或者,使得所述装置执行如权利要求33至36中任一项所述的方法。
  77. 一种芯片系统,其特征在于,包括:
    存储器,用于存储计算机程序;
    处理器,用于从所述存储器调用并运行所述计算机程序,使得安装有所述芯片系统的设备执行如权利要求1至14中任一项所述的方法,或者权利要求15至18中任一项所述的方法,或者权利要求19至32中任一项所述的方法,或者权利要求33至36中任一项所述的方法。
  78. 一种计算机可读存储介质,其特征在于,包括计算机程序,当其在计算机上运行时,使得所述计算机执行如权利要求1至14中任一项所述的方法,或者权利要求15至18中任一项所述的方法,或者权利要求19至32中任一项所述的方法,或者权利要求33至36中任一项所述的方法。
PCT/CN2023/074060 2022-02-14 2023-02-01 发现边缘服务的方法和装置 WO2023151490A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210135574.4A CN116634004A (zh) 2022-02-14 2022-02-14 发现边缘服务的方法和装置
CN202210135574.4 2022-02-14

Publications (1)

Publication Number Publication Date
WO2023151490A1 true WO2023151490A1 (zh) 2023-08-17

Family

ID=87563578

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/074060 WO2023151490A1 (zh) 2022-02-14 2023-02-01 发现边缘服务的方法和装置

Country Status (2)

Country Link
CN (1) CN116634004A (zh)
WO (1) WO2023151490A1 (zh)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132897A (zh) * 2019-12-31 2021-07-16 华为技术有限公司 应用实例确定的方法、装置及系统
CN113573303A (zh) * 2021-07-20 2021-10-29 中国联合网络通信集团有限公司 一种边缘应用服务器确定方法及装置
US20220030063A1 (en) * 2020-07-23 2022-01-27 Samsung Electronics Co., Ltd. Method and apparatus for selecting a target edge application server in an edge computing environment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113132897A (zh) * 2019-12-31 2021-07-16 华为技术有限公司 应用实例确定的方法、装置及系统
US20220030063A1 (en) * 2020-07-23 2022-01-27 Samsung Electronics Co., Ltd. Method and apparatus for selecting a target edge application server in an edge computing environment
CN113573303A (zh) * 2021-07-20 2021-10-29 中国联合网络通信集团有限公司 一种边缘应用服务器确定方法及装置

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI, HISILICON: "Discovery of Edge Application Server based on AF Influence in Support of Edge Relocation", 3GPP DRAFT; S2-2000653, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Incheon, South Korea; 20200113 - 20200117, 7 January 2020 (2020-01-07), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051842711 *

Also Published As

Publication number Publication date
CN116634004A (zh) 2023-08-22

Similar Documents

Publication Publication Date Title
EP3993347A1 (en) Method and device for application migration
EP3358887A1 (en) User equipment registration method for network slice selection and network controller and network communication system using the same
EP4167625A1 (en) Communication method and apparatus
CN109922472A (zh) 用户策略的获取
EP3923671A1 (en) Session establishment method and device
US20240022541A1 (en) Method and device for edge application server discovery
JP2022544488A (ja) ネットワーク機能サービスディスカバリのための方法および装置
EP4192184A1 (en) Pdu session establishment method, terminal device, and chip system
EP3934368A1 (en) Session processing method, communication device and communication system
WO2021212939A1 (zh) 通信方法、装置及系统
WO2023051287A1 (zh) 一种通信方法及装置
WO2020151614A1 (zh) 用户面安全保护的方法和装置
CN109673008A (zh) 终端设备的状态的确定方法、装置及设备
CN111757340B (zh) 一种确定服务区域的方法、装置及系统
WO2023151490A1 (zh) 发现边缘服务的方法和装置
CN114980074B (zh) 基于虚拟局域网的数据通信方法、装置、设备及介质
WO2022067538A1 (zh) 网元发现方法、装置、设备及存储介质
WO2020200297A1 (zh) 选择会话管理网元的方法和装置
WO2022100197A1 (zh) 获取边缘服务的方法和装置
WO2023151491A1 (zh) 请求应用功能的方法、装置和系统
WO2022270386A1 (en) Method of first access and mobility management function (amf) apparatus, method of user equipment (ue), first access and mobility management function (amf) apparatus, and user equipment (ue)
WO2023142632A1 (zh) 通信方法及通信装置
WO2023179397A1 (zh) 一种授权方法及装置
WO2023151420A1 (zh) 通信方法和通信装置
WO2022259830A1 (en) Method of user equipment (ue) and user equipment (ue)

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23752270

Country of ref document: EP

Kind code of ref document: A1