WO2023185836A1 - Indication method for selection of edge application server, and terminal and network-side device - Google Patents

Indication method for selection of edge application server, and terminal and network-side device Download PDF

Info

Publication number
WO2023185836A1
WO2023185836A1 PCT/CN2023/084380 CN2023084380W WO2023185836A1 WO 2023185836 A1 WO2023185836 A1 WO 2023185836A1 CN 2023084380 W CN2023084380 W CN 2023084380W WO 2023185836 A1 WO2023185836 A1 WO 2023185836A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
terminal
dns
eas
information
Prior art date
Application number
PCT/CN2023/084380
Other languages
French (fr)
Chinese (zh)
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 WO2023185836A1 publication Critical patent/WO2023185836A1/en

Links

Classifications

    • 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
    • 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/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Definitions

  • the present application belongs to the field of wireless communication technology, and specifically relates to an instruction method for selecting an edge application server, a terminal and a network side device.
  • the Edge Application Server Discovery Function is a network element used to process domain name system (Domain Name System, DNS) queries of terminals.
  • the terminal sends a DNS query to EASDF, and then EASDF makes a judgment based on the DNS query to determine whether to send the DNS query to the central DNS (Central DNS, C-DNS) or the local (Local DNS, L-DNS).
  • the EASDF obtains the processing method for DNS query from the session management function (Session Management Function, SMF).
  • SMF Session Management Function
  • EASDF sends the Fully Qualified Domain Name (FQDN) and other information in the DNS query to SMF.
  • SMF provides EASDF with corresponding DNS processing rules to help EASDF determine which DNS service to send the DNS query to.
  • the Internet Protocol (IP) address of the DNS server is C-DNS or L-DNS.
  • C-DNS or L-DNS finds the IP address corresponding to the FQDN, it sends it to EASDF.
  • EASDF saves the query result to SMF and then sends it to the terminal, so that the terminal obtains the server IP address of the requested FQDN.
  • EAS Edge Application Server
  • the same Edge Application Server (EAS) IP address can be selected for DNS queries of multiple terminals, it may be possible to provide terminals with lower latency services.
  • EAS Edge Application Server
  • business processing can be optimized in the same application server.
  • EAS IP address can be selected for these terminals, these terminals can select the same application server. From an application layer perspective, this can avoid the business between servers caused by multiple terminals selecting multiple game servers. Interaction and latency.
  • a formation use case such as a vehicle formation
  • all member units have similar attributes and requirements, such as driving direction and route.
  • driving direction and route For example, in a specific platoon, all units have similar movement characteristics, namely towards Moving in the same direction and speed, close to each other, etc.
  • the delay in command issuance and coordination can be shortened.
  • Embodiments of the present application provide an edge application server selection instruction method, a terminal, and a network side device, which can solve the problem of how to select the same EAS for multiple terminals.
  • a method for instructing edge application server selection including: a first network side device receiving a first request sent by a second network side device, wherein the first request is used to request the first network side device.
  • the side device indicates how to process the DNS query sent by the first terminal; the first network side device sends instruction information to the second network side device according to the target information of the first terminal, wherein the instruction The information is used to instruct the second network side device to use a target processing method to process the DNS query sent by the first terminal, and the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal,
  • the target processing method includes one of the following: using target DNS message processing rules that are the same as the DNS message processing rules corresponding to the at least one second terminal; sending a target edge application carrying the target to the first terminal A target DNS response of a server EAS address that is the same as the EAS address selected for the at least one second terminal.
  • an edge application server selection instructing device includes: a first receiving module configured to receive a first request sent by a second network side device, wherein the first request is used to request the first network The side device indicates how to process the DNS query sent by the first terminal; the first sending module is configured to send indication information to the second network side device according to the target information of the first terminal, wherein the indication The information is used to instruct the second network side device to use a target processing method to process the DNS query sent by the first terminal, and the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal,
  • the target processing method includes one of the following: using target DNS message processing rules that are the same as the DNS message processing rules corresponding to the at least one second terminal; sending a target edge application carrying the target to the first terminal A target DNS response of a server EAS address that is the same as the EAS address selected for the at least one second terminal.
  • a method for responding to a DNS query including: a second network side device receiving a first DNS query sent by a first terminal; and the second network side device sending the first DNS query to the first network side device.
  • Request wherein the first request is used to request the first network side device to indicate a manner of processing the DNS query sent by the first terminal;
  • the second network side device receives the instruction information sent by the first network side device, wherein the instruction information is used to instruct the second network side device to use a target processing method to process the DNS query sent by the first terminal.
  • the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal; the second network side device adopts the target processing method to respond to the first DNS query; wherein,
  • the target processing method includes at least one of the following: using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal; sending a target edge to the first terminal A target DNS response with an EAS address of the application server, the target EAS address being the same as the at least one second The EAS address selected by the terminal is the same.
  • a DNS query response device including: a second receiving module for receiving the first DNS query sent by the first terminal; and a second sending module for sending to the first network side device.
  • a first request wherein the first request is used to request the first network side device to indicate how to process the DNS query sent by the first terminal; the second receiving module is also used to receive the first
  • the network side device sends instruction information, wherein the instruction information is used to instruct the second network side device to use a target processing method to process the DNS query sent by the first terminal, and the target processing method is used to process the DNS query sent by the first terminal.
  • the terminal selects the same EAS as at least one second terminal; a response module is configured to respond to the first DNS query using the target processing method; wherein the target processing method includes at least one of the following: using the target DNS Message processing rules, the target DNS message processing is the same as the DNS message processing rule corresponding to the at least one second terminal; sending a target DNS response carrying the target edge application server EAS address to the first terminal, the target EAS address The same as the EAS address selected for the at least one second terminal.
  • a terminal group configuration method including: a fourth network side device determines EAS deployment information of a target terminal group according to a preset rule, wherein the preset rule indicates that the target terminal group needs to be The terminals in select the same EAS; the fourth network side device sends the EAS deployment information of the target terminal group to the third network side device.
  • a device for configuring a terminal group including: a determination module configured to determine EAS deployment information of a target terminal group according to preset rules, wherein the preset rule indicates that the EAS deployment information of the target terminal group needs to be The terminals in the terminal select the same EAS; the third sending module is configured to send the EAS deployment information of the target terminal group to the third network side device.
  • a DNS query method including: a first terminal receiving a first message sent by a first network side device, wherein the first message carries DNS policy information; According to the DNS policy information, a DNS query is sent to a DNS server; wherein the DNS server includes EASDF.
  • a DNS query device including: a third receiving module, configured to receive a first message sent by a first network side device, wherein the first message carries DNS policy information; a fourth sending module A module configured to send a DNS query to a DNS server according to the DNS policy information; wherein the DNS server includes EASDF.
  • a terminal in a ninth aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions When the program or instructions are executed by the processor, the following implementations are implemented: The steps of the method described in seven aspects.
  • a terminal including a processor and a communication interface, wherein the processor is used to implement the steps of the method described in the seventh aspect, and the communication interface is used to communicate with an external device.
  • a network side device in an eleventh aspect, includes a processor and a memory.
  • the memory stores programs or instructions that can be run on the processor.
  • the program or instructions are used by the processor. When executed, the steps of the method described in the first aspect, or the steps of the method described in the third aspect, or the steps of the method described in the fifth aspect are implemented.
  • a network side device including a processor and a communication interface, wherein the processor is used to implement the steps of the method described in the first aspect, or to implement the method described in the third aspect. Steps, or steps for implementing the method as described in the fifth aspect, the communication interface is used to communicate with an external device.
  • a DNS query system including: a terminal and a network side device.
  • the terminal can be used to perform the steps of the method described in the seventh aspect
  • the network side device can be used to perform the steps of the method described in the first aspect.
  • a readable storage medium is provided.
  • Programs or instructions are stored on the readable storage medium.
  • the steps of the method described in the first aspect are implemented, or the steps of the method are implemented.
  • a chip in a fifteenth aspect, includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the method described in the first aspect.
  • the steps of the method can either implement the steps of the method described in the third aspect, or implement the steps of the method described in the fifth aspect, or implement the steps of the method described in the seventh aspect.
  • a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement as described in the first aspect.
  • the first network side device instructs the second network side device to use a target processing method to process the DNS query sent by the first terminal according to the target information of the first terminal.
  • the target processing method Used to select the same EAS for the first terminal and at least one second terminal, so that the second network side device can select the same EAS for the first terminal and the second terminal, shortening the time between the EAS and the first terminal and the second terminal. Communication delay.
  • Figure 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable
  • Figure 2 shows a schematic flow chart of an instruction method for edge application server selection in an embodiment of the present application
  • FIG. 3 shows a schematic flow chart of the DNS query response method in the embodiment of the present application
  • Figure 4 shows a schematic flow chart of a terminal group configuration method in an embodiment of the present application
  • Figure 5 shows a schematic flow chart of the DNS query method in the embodiment of the present application
  • Figure 6 shows another schematic flow chart of the DNS query response method provided by the embodiment of the present application.
  • Figure 7 shows another schematic flow chart of the DNS query response method provided by the embodiment of the present application.
  • Figure 8 shows another schematic flow chart of the terminal group configuration method in the embodiment of the present application.
  • Figure 9 shows a flow chart of the DNS query method in the application embodiment
  • Figure 10 shows a schematic flow chart of an EAS switching method in an embodiment of the present application
  • Figure 11 shows a schematic structural diagram of an instruction device for edge application server selection provided by an embodiment of the present application
  • Figure 12 shows a schematic structural diagram of a DNS query response device provided by an embodiment of the present application
  • Figure 13 shows a schematic structural diagram of a terminal group configuration method provided by an embodiment of the present application.
  • Figure 14 shows a schematic structural diagram of a DNS query device provided by an embodiment of the present application.
  • Figure 15 shows a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Figure 16 shows a schematic diagram of the hardware structure of a terminal provided by an embodiment of the present application.
  • Figure 17 shows a schematic hardware structure diagram of a network-side device provided by an embodiment of the present application.
  • first, second, etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first" and “second” are distinguished objects It is usually one type, and the number of objects is not limited.
  • the first object can be one or multiple.
  • “and/or” in the description and claims indicates at least one of the connected objects, and the character “/" generally indicates that the related objects are in an "or” relationship.
  • LTE Long Term Evolution
  • LTE-Advanced, LTE-A Long Term Evolution
  • LTE-A Long Term Evolution
  • CDMA Code Division Multiple Access
  • TDMA Time Division Multiple Access
  • FDMA Frequency Division Multiple Access
  • OFDMA Orthogonal Frequency Division Multiple Access
  • SC-FDMA Single-carrier Frequency Division Multiple Access
  • NR New Radio
  • FIG. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable.
  • the wireless communication system includes a terminal 11 and a network side device 12.
  • the terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, or a super mobile personal computer.
  • Tablet Personal Computer Tablet Personal Computer
  • laptop computer laptop computer
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • UMPC ultra-mobile personal computer
  • UMPC mobile Internet device
  • MID mobile Internet Device
  • AR augmented reality/virtual reality Real (virtual reality, VR) equipment
  • robots wearable devices
  • WUE vehicle user equipment
  • PUE pedestrian terminals
  • smart homes home equipment with wireless communication functions , such as refrigerators, TVs, washing machines or furniture, etc.
  • game consoles personal computers (PCs), teller machines or self-service machines and other terminal-side devices.
  • Wearable devices include: smart watches, smart bracelets, smart headphones, smart phones, etc.
  • the network side device 12 may include an access network device and/or a core network device, where the access network device 12 may also be called a radio access network device, a radio access network (Radio Access Network, RAN), or a radio access network. function or radio access network unit.
  • the access network device 12 may include a base station, a Wireless Local Area Network (WLAN) access point or a WiFi node, etc.
  • WLAN Wireless Local Area Network
  • the base station may be called a Node B, an evolved Node B (eNB), an access point, Base Transceiver Station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), home B-node, home evolved B-node , Transmitting Receiving Point (TRP) or some other suitable term in the field, as long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiment of the present application This introduction only takes the base station in the NR system as an example, and does not limit the specific type of base station.
  • eNB evolved Node B
  • BTS Base Transceiver Station
  • BSS Basic Service Set
  • ESS Extended Service Set
  • TRP Transmitting Receiving Point
  • the core network equipment may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Service Discovery function (Edge Application Server Discovery Function, EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), centralized network configuration ( Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (Local NEF, or L-NEF), Binding Support Function (Binding Support Function, BSF), application function (Application Function, AF), etc.
  • MME mobility management entity
  • AMF Access and Mobility Management Function
  • SMF Session Management Function
  • UPF User Plane Function
  • PCF Policy Control Function
  • Figure 2 shows a schematic flowchart of a method for instructing edge application server selection in an embodiment of the present application.
  • the method 200 can be executed by the first network side device.
  • the method may be executed by software or hardware installed on the first network side device.
  • the first network side device may be an SMF in the core network.
  • the method may include the following steps.
  • the first network side device receives the first request sent by the second network side device, where the The first request is used to request the first network side device to indicate a manner of processing the DNS query sent by the first terminal.
  • the second network side device may request the first network side device for a method of processing the DNS query.
  • the second network side device may be EASDF.
  • the first network side device sends instruction information to the second network side device according to the target information of the first terminal, where the instruction information is used to instruct the second network side device to use a target processing method to process
  • the DNS query sent by the first terminal is processed, and the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal.
  • the target processing method may include the following two processing methods (1) or (2).
  • DNS message handling rules which are the same as the DNS message handling rules corresponding to the at least one second terminal.
  • the target DNS message processing rules are used for both the DNS query of the first terminal and the DNS query of the second terminal, so that the same EAS can be selected for the two terminals.
  • EASDF can set the same DNS message processing rules for the DNS queries of the first terminal and the second terminal, that is, send the DNS queries of the first terminal and the second terminal to the same DNS server (server), thereby ensuring that the DNS server feeds back the same DNS response, so that the first terminal and the second terminal obtain the same EAS IP address. Because the same DNS server is used and the same FQDN is queried, the same EAS IP address can be found.
  • the first network side device instructs the second network side device to directly send a target DNS response of the target EAS address (for example, target EAS IP address) to the first terminal, where the target EAS address carried in the target DNS response is the same as the target EAS address carried in the target DNS response to the second terminal.
  • the EAS addresses carried in the sent DNS responses are the same, so it can be determined that the first terminal obtains the same EAS address as the second terminal, and thereby accesses the same EAS as the second terminal.
  • the EAS IP address can be directly provided to the UE by the 5G Core Network (5G Core Network, 5GC), avoiding dynamic changes in the DNS server query results and being directly designated by the 5GC.
  • 5G Core Network 5G Core Network
  • the target DNS response (which can be a DNS response triggered by 5GC or a response sent by a DNS server) can carry one target EAS address or multiple target EAS addresses.
  • the target DNS response can also carry the priority corresponding to each target EAS address.
  • the first terminal can receive the responses in order from high to low priority. In other words, the first terminal can first access the target EAS address with the highest priority, and then access the target EAS address with the second highest priority if the access fails.
  • the second terminal can also access the target EAS address with the second highest priority. Access according to the rules, thereby ensuring that the first terminal and the second terminal access the same EAS.
  • the first network side device can, based on the target information of the first terminal, To determine that the same EAS as the at least one second terminal needs to be selected for the first terminal, the first network side device sends the indication information to the second network side device.
  • the target information of the first terminal includes but is not limited to at least one of the following (1) to (6).
  • the contract information of the first terminal includes: a first indication, the first indication is used to indicate that the first terminal is allowed to use the same EAS with at least one second terminal. That is to say, when the first terminal is authorized to use the same EAS as other terminals, the second network side device can be instructed to use the above target processing method.
  • the operator can configure the same EAS IP address for multiple terminals as a value-added service, and the first terminal and the second terminal have signed and purchased the operator's edge computing optimization service, then the 5GC will be verified first, indicating that These two terminals are eligible to use the operator's value-added services.
  • the location information of the first terminal may include at least one of the following: (a) The identity of the cell accessed by the first terminal, for example, when the first terminal and the second terminal are in the same cell In the case of, instruct the second network side device to use the target processing method; (b) the tracking area where the first terminal is located, for example, when the first terminal and the second terminal are in the same tracking area or a similar area In the case of a tracking area, instruct the second network side device to use the target processing method; (c) the IP address of the first terminal, for example, when the first terminal and the second terminal are in the same IP address segment In this case, instruct the second network side device to use the target processing method; (d) serve the protocol data unit (Protocol Data Unit, PDU) session anchor (PDU Session Anchor, PSA) of the first terminal, for example
  • the identification of the base station accessed by the first terminal For example, when the base station identifiers accessed by the first terminal and the second terminal are the same (that is, the two terminals access the 5GC through one base station), then the same EAS IP address can be selected for them. If the location information of the first terminal is the same as the location information of the second terminal, the scenario described above may be satisfied: the first terminal and the second terminal perform interactive services (for example, interactive games) in the same room or venue. ). Therefore, these two terminals are qualified to use the same EAS IP address.
  • the fully qualified domain name (Fully Qualified Domain Name, FQDN) in the DNS query of the first terminal For example, when the FQDN in the first terminal's DNS query is a specified FQDN, it may be determined that the first terminal selects the same EAS as the second terminal whose query request contains these specified FQDNs, indicating that the second network
  • the side device uses the target processing method.
  • the first FQDN is the same as the second FQDN, wherein the first FQDN is the FQDN in the DNS query of the first terminal, and the second FQDN is the DNS of the at least one second terminal.
  • the FQDN in the DNS query to which the message processing rule applies.
  • the Data Network Name (DNN) accessed by the first terminal For example, when the first terminal accesses specific DNNs, it may be determined that the first terminal selects the same EAS as the second terminal that accesses these specific DNNs, and the second network side device is instructed to use the target processing method.
  • DNN Data Network Name
  • the Data Network (DN) accessed by the first terminal. For example, when the first terminal accesses specific DNs, it may be determined that the same EAS is selected for the first terminal as the second terminal accessing these specific DNs, and the second network side device is instructed to use the target processing method.
  • S-NSSAI Single Network Slice Selection Assistance Information
  • the target DNS message processing rules include one of the following:
  • Target DNS client subnet (EDNS-client-subnet, ECS) option.
  • ECS Target DNS client subnet
  • the ECS option is usually an auxiliary information used by the DNS server to provide the terminal with an EAS IP address closest to the terminal when performing DNS resolution.
  • the closest distance can be the closest geographical location or the closest route.
  • sending the indication information by the first network side device to the second network side device may include the following steps:
  • Step 1 The first network side device determines to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal;
  • Step 2 The first network side device sends the indication information to the second network side device.
  • the first network side device may determine that it is necessary to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal, and then , the first network side device sends the indication information to the second network side device.
  • the first network side device may not save the target information of the first terminal. Therefore, in a possible implementation, the first network side device determines based on the target information of the first terminal. Before selecting the same EAS for the first terminal as the at least one second terminal, the method may further include: the first network side device obtains target information of the first terminal.
  • the first network side device may obtain the subscription data of the first terminal from the UDM.
  • the SMF can send Nudm_SDM_Get) or Nudm_SDM_Subscribe via UDM to restore the terminal's subscription information and input parameters: the first UE's subscription permanent identifier (Subscription Permanent Identifier, SUPI).
  • UDM can send the first UE's subscription information to the SMF.
  • the subscription information of the first UE saved by UDM may be: the current UE is authorized to use the same EAS, for example
  • the session management subscription data of the first UE (data required for PDU session establishment) may include an element whose value is: UE is authorized to select the same EAS authorization to indicate whether the UE is authorized to use the same EAS.
  • the first network side device may obtain the location information of the first UE from the AMF.
  • the location information mainly includes the location of the first terminal in the radio access network (Radio Access Network, RAN).
  • RAN Radio Access Network
  • SMF recovers the location information of the first UE from AMF: Namf_EventExposure_Subscribe.
  • the location information of the first UE includes but is not limited to: cell ID (Cell ID) and tracking area identifier (Tracking Area Identifier, TAI), and may also be the accessed base station ID.
  • the first network side device can also obtain the User Plane Function (UPF) identifier (for example, PSA ID) and DNAI of the first terminal.
  • UPF User Plane Function
  • a target terminal group may be predefined, and the first network side device determines to select the same EAS for terminals in the target terminal group. Therefore, in this possible implementation, the first network side device determines to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal, which may include the following step:
  • Step 1 The first network side device determines that the first terminal belongs to a target terminal group according to the target information of the first terminal, wherein the at least one second terminal belongs to the target terminal group;
  • Step 2 The first network side device determines to select the same EAS as the at least one second terminal for the first terminal.
  • the configuration description information of the target terminal group may be predefined.
  • the configuration description information may include at least one cell identifier, indicating that terminals located in at least one cell corresponding to the at least one cell identifier form a target terminal group.
  • the configuration description information may include at least one target FQDN, indicating that terminals querying the at least one target FQDN form a target terminal group.
  • the configuration description information may include a target IP address segment, indicating that terminals located in the target IP address segment form a target terminal group. Therefore, in a possible implementation, the first network side device determines that the first terminal belongs to the target terminal group based on the target information of the first terminal, including the following steps:
  • Step 1 The first network side device compares the target information of the first terminal with the configuration description information of the target terminal group;
  • Step 2 When it is determined that the target information of the first terminal satisfies at least one item of the configuration description information of the target terminal group, determine that the first terminal belongs to the target terminal group.
  • the target information of the first terminal satisfies at least one item of the configuration description information of the target terminal group including at least one of the following:
  • the target information of the first terminal is the same as at least one item in the configuration description information of the target terminal group; for example, the configuration description information of the target terminal group includes multiple FQDNs, and the DNS query of the first terminal The FQDN is the same as one of multiple FQDNs.
  • the target terminal The configuration description information of the group includes a target cell identity, and the cell identity of the first terminal is the same as the target cell identity.
  • the target information of the first terminal is within the scope of at least one item of the configuration description information of the target terminal group.
  • the configuration description information of the target terminal group may include a target IP address segment, and the IP address of the first terminal is within the target IP address segment.
  • the configuration description information of the target terminal group includes but is not limited to at least one of the following:
  • Target subscription information for example, allowing to use the same EAS with other terminals.
  • Target location information includes but is not limited to at least one of the following: at least one target cell identifier; at least one target tracking area identifier; at least one IP address segment; at least one target PSA; at least one target DNAI; at least one target base station identifier.
  • At least one target FQDN the FQDN carried in the DNS query of the terminals in the target terminal group.
  • At least one target S-NSSAI At least one target S-NSSAI.
  • the configuration description information of the target terminal group may also include analysis information of the first terminal's Network Data Analysis Function (NWDAF).
  • NWDAAF Network Data Analysis Function
  • a target terminal group is determined.
  • the terminals in this group all use the same EAS IP address. Then as long as a new terminal is determined to meet the configuration description information of the target terminal group, the new terminal can be confirmed. , you also need to configure the same EAS IP address for it.
  • the method may further include: The side device obtains EAS deployment information of the target terminal group, where the EAS deployment information includes the configuration description information.
  • the EAS deployment information may also include a processing method corresponding to the target terminal group, and the processing method corresponding to the target terminal group includes one of the following:
  • the target DNS message processing rules adopted by terminals in the target terminal group are used for DNS queries of terminals in the target terminal group.
  • the first network side device determines that the first terminal belongs to the target terminal group based on the EAS deployment information.
  • the first terminal's DNS query adopts the target DNS message processing rule. For example, use the same ECS option (that is, the target ECS option), or use the same local DNS server (that is, the target local DNS server).
  • the target EAS address carried in the DNS response sent to the terminal in the target terminal group is to say, all DNS queries for terminals in the target terminal group are processed by sending a DNS response carrying the target EAS address to the terminal.
  • the first network side device determines that the first terminal belongs to the target based on the EAS deployment information. In the case of a terminal group, it is determined to adopt a processing method of sending a DNS response carrying the target EAS address to the first terminal.
  • the first network side device may obtain the EAS deployment information of the target terminal group from the third network side device.
  • the first network side device can, when idle, from The third network side device obtains the EAS deployment information of the target terminal group, or the first network side device may also obtain the EAS deployment information of the target terminal group from the third network side device after receiving the first request.
  • the first network side device obtains the EAS deployment information of the target terminal group from the third network side device, including: the first network side device uses the target information of the first terminal , obtain the EAS deployment information of the target terminal group from the third network side device.
  • the first network side device may obtain the EAS deployment information of the target terminal group from the third network side device based on the target information of the first terminal. For example, the first network side device may obtain the EAS deployment information of the target terminal group in the area (such as a cell or tracking area) where the first terminal is located from the third network side device.
  • the EAS deployment information of the target terminal group can be saved in the UDR, and the first network side device (for example, SMF) can restore this information from the UDR.
  • the SMF can send signaling to NEF: Nnef_EASDeployment_Subscribe, and NEF can obtain the target from the UDR.
  • the EAS deployment information of the terminal group is notified to SMF.
  • the method may further include: The first network side device sends a first message to the first terminal according to the EAS deployment information, where the first message carries DNS policy information, and the DNS policy information includes at least one of the following:
  • the DNS server includes at least one of the following: EASDF; that is, it is hoped that all terminals in the target terminal group will use EASDF. as the DNS server IP address without using other DNS server IP addresses.
  • Condition information which includes at least one of the following: location condition information and at least one target FQDN.
  • the DNS policy information includes the above (1) and (2), it instructs the first terminal to send the DNS query to the DNS server corresponding to the address information in (1) if the information in the condition information is satisfied. .
  • the location condition information may include at least one of the following:
  • At least one target cell identifier (1) At least one target cell identifier
  • At least one target base station identifier At least one target base station identifier.
  • the condition information is sent to the terminal, so that the terminal determines which DNS server the DNS query should be sent to based on the terminal location, the FQDN in the DNS query sent by the terminal, and the IP address segment where the UE's IP address is located. If the conditions are met, it should be sent to the EASDF corresponding to the address information in the DNS policy information, because sending to the same EASDF can ensure that the same EAS IP address is used.
  • the first network side device when the first network side device receives a request from the second network side device to indicate how to process the DNS query sent by the first terminal, the first network side device sends a request to the third network side device according to the target information of the first terminal.
  • the second network side device instructs to use a target processing method to process the DNS query sent by the first terminal.
  • the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal, so that the second network side device can The first terminal and the second terminal select the same EAS to shorten the communication delay between the EAS and the first terminal and the second terminal.
  • FIG 3 shows a schematic flowchart of a DNS query response method in an embodiment of the present application.
  • the method 300 can be executed by the second network side device.
  • the method may be executed by software or hardware installed on the second network side device.
  • the second network side device may be EASDF.
  • the method may include the following steps.
  • the second network side device receives the first DNS query sent by the first terminal.
  • the second network side device sends a first request to the first network side device, where the first request is used to request the first network side device to instruct the first network side device to process the DNS query sent by the first terminal. The way.
  • the second network side device receives the instruction information sent by the first network side device, where the instruction information is used to instruct the second network side device to use a target processing method to process the DNS sent by the first terminal.
  • the query is processed, and the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal.
  • the first network side device may use the description in method 200 to send the indication information to the second network side device.
  • the description in method 300 please refer to the description in method 300, which will not be described again here.
  • S316 The second network side device responds to the first DNS query using the target processing method.
  • the target processing method includes at least one of the following:
  • the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal;
  • a target DNS response carrying a target edge application server EAS address is sent to the first terminal, where the target EAS address is the same as the EAS address selected for the at least one second terminal.
  • the second network side device adopts the target processing method to respond to the first DNS query, which may include:
  • the second network side device uses the target DNS message processing rule to send a second DNS query to a target DNS server, where the target DNS server is the same as the DNS server corresponding to the at least one second terminal;
  • the second network side device receives the first DNS response returned by the target DNS server, wherein the first DNS response carries at least one EAS address;
  • the second network side device returns the first DNS response to the first terminal.
  • the second network side device may carry a target ECS option in the second DNS query, and the target ECS option is the same as the ECS option corresponding to the at least one second terminal, or the second network side device may carry the target ECS option in the second DNS query.
  • the second DNS query carries a target local DNS server address, and the target local DNS server is a local DNS service corresponding to the at least one second terminal. server address, allowing a secondary DNS query to be sent to the target DNS server.
  • the DNS query of the first terminal is sent to the same DNS server as the second terminal, so that the same DNS server can respond to the DNS query of the first terminal and the DNS query of the second terminal,
  • the EAS address carried in the first DNS response sent to the first terminal is likely to be the same as the EAS address carried in the DNS response sent to the second terminal.
  • the first DNS response may carry one EAS address or multiple EAS addresses.
  • the first DNS response may also carry The priority corresponding to each EAS address.
  • the second network side device adopts the target processing mode, and responding to the first DNS query may include: the second network side device sends a second DNS response, wherein the second DNS response carries the target EAS address. That is, in this possible implementation, the second network side device directly sends a second DNS response to the first terminal, and the second DNS response carries the above-mentioned target EAS address.
  • the second DNS response may carry one target EAS address or multiple target EAS addresses.
  • the second DNS response may also carry the priority corresponding to each target EAS address.
  • the first terminal may respond in order from high to low priority. Access in sequence, that is to say, the first terminal can access the target EAS address with the highest priority first, and then access the target EAS address with the second highest priority if the access fails.
  • the second terminal can also access Access is performed according to the same rules, thereby ensuring that the first terminal and the second terminal access the same EAS.
  • the second network side device can respond to the DNS query of the first terminal using the same target processing method as the second terminal, thereby making it possible for the first terminal to connect with the second terminal. into the same EAS.
  • Figure 4 shows a schematic flowchart of a terminal group configuration method in an embodiment of the present application.
  • the method 400 can be executed by a fourth network side device.
  • the method may be executed by software or hardware installed on the fourth network side device.
  • the fourth network side device may be an application function (Application Function, AF) network element.
  • the method may include the following steps.
  • the fourth network side device determines the EAS deployment information of the target terminal group according to the preset rules, where the preset rules indicate that the same EAS needs to be selected for the terminals in the target terminal group.
  • its service provider can set preset rules to select the same EAS for terminals in the target terminal group.
  • the fourth network side device sends the EAS deployment information of the target terminal group to the third network side device.
  • AF can save the EAS deployment information of the target terminal group into the UDR.
  • the preset rules include but are not limited to at least one of the following:
  • the EAS deployment information of the target terminal group is the same as the EAS deployment information of the target terminal group in the above method 200.
  • the description in the method 200 please refer to the description in the method 200.
  • the EAS deployment information may include configuration description information of the target terminal group, and the configuration description information includes at least one of the following:
  • Target subscription information may include: allowing to use the same EAS with other terminals.
  • At least one target FQDN At least one target FQDN.
  • At least one target S-NSSAI At least one target S-NSSAI.
  • the target location information includes at least one of the following:
  • At least one target cell identifier (1) At least one target cell identifier
  • At least one target base station identifier At least one target base station identifier.
  • the EAS deployment information also includes a processing method corresponding to the target terminal group, and the processing method corresponding to the target terminal group includes one of the following:
  • the target DNS message processing rules include one of the following: target ECS options, target local DNS server address.
  • the method further includes:
  • the fourth network side device determines to update the target EAS address of the target terminal group, and/or the fourth network side device determines to update the target local DNS server address of the target terminal group;
  • the fourth network side device notifies the terminals in the target terminal group to re-initiate DNS query.
  • the fourth network side device may determine to update the target EAS address of the target terminal group. For example, in order to achieve EAS load balancing, the fourth network side device determines to update the target EAS address of the target terminal group, and/ Or after determining to update the target local DNS server address of the target terminal group, notify the terminals in the target terminal group to re-initiate a DNS query to relocate the EAS accessed by the terminals in the target terminal group.
  • the fourth network side device can determine the EAS deployment information of the target terminal group, and send the EAS deployment information of the target terminal group to the third network side device, so that multiple terminals can be configured to access
  • the conditions and processing methods of the same EAS facilitate processing of the terminal's DNS query when it receives the terminal's DNS query later.
  • the EAS deployment information provided by the AF can guide the SMF and EASDF to select the same EAS for the target terminal.
  • the information provided by AF is not decisive. That is, if AF does not decide to select the same EAS IP address A for a certain FQDN of a terminal in a certain location, SMF must follow this configuration.
  • FIG. 5 shows a schematic flowchart of the DNS query method in this embodiment of the present application.
  • the method 500 can be executed by the first terminal.
  • the method may be performed by software or hardware installed on the first terminal.
  • the method may include the following steps.
  • the first terminal receives the first message sent by the first network side device, where the first message carries DNS policy information.
  • the DNS policy information is the same as the DNS policy information in method 200.
  • the manner in which the first network side device sends the first message please refer to the description in method 200, which will not be described again here.
  • the DNS policy information includes at least one of the following:
  • Condition information which includes at least one of the following: location condition information and at least one target FQDN.
  • the DNS policy information includes the address information of the DNS server, it is equivalent to the first terminal saving multiple DNS server addresses.
  • the first terminal uses the DNS server, that is, A DNS query is sent to the DNS server. If the condition is not met, a local DNS server is used, that is, a DNS query is sent to the local DNS server.
  • the location condition information includes at least one of the following:
  • At least one target cell identifier At least one target cell identifier
  • At least one target PSA At least one target PSA
  • At least one target base station identifier At least one target base station identifier.
  • the first terminal sends a DNS query to a DNS server according to the DNS policy information; wherein the DNS server includes EASDF.
  • the first terminal sends a request to the DNS server based on the DNS policy information.
  • a DNS server sending a DNS query can include the following steps:
  • Step 1 The first terminal compares the target information of the first terminal with the condition information
  • Step 2 When it is determined that the target information of the first terminal satisfies at least one of the condition information, the first terminal sends a DNS query to the second network side device;
  • the target information of the first terminal satisfying at least one of the condition information includes at least one of the following:
  • the target information of the first terminal is the same as at least one item of the condition information; for example,
  • the target information of the first terminal is within the scope of at least one item of the condition information.
  • the target information of the first terminal includes at least one of the following:
  • the location information of the first terminal is the location information of the first terminal.
  • the location information of the first terminal includes at least one of the following: a cell identity accessed by the first terminal, a tracking area where the first terminal is located, and an IP address of the first terminal. Address, PDU session anchor PSA serving the first terminal, data network access identifier DNAI of the first terminal, and base station identifier accessed by the first terminal.
  • the target information of the first terminal when the target information of the first terminal is compared with the condition information, it can be determined whether the target information of the first terminal satisfies the condition information. For example, if the condition information includes multiple FQDNs, and if the FQDN in the DNS query of the first terminal is the same as one of the multiple FQDNs, it is determined that the target information of the first terminal satisfies the condition information. For another example, if the configuration description information of the target terminal group includes a target cell identifier, and the cell identifier of the first terminal is the same as the target cell identifier, it is determined that the target information of the first terminal satisfies the condition information. For another example, the condition information may include an IP address segment. If the IP address of the first terminal is within the IP address segment, it is determined that the target information of the first terminal satisfies the condition information.
  • the method may further include the following steps:
  • Step 1 The first terminal receives a DNS response returned by the second network side device, where the DNS response carries at least one EAS address;
  • the second network side device may send a DNS response to the first terminal in the manner described in the above method 300.
  • the DNS response may include the first DNS response or the second DNS response in the method 300.
  • Step 2 The first terminal accesses the EAS corresponding to one of the at least one EAS address.
  • the DNS response may carry an EAS address. Then, after receiving the DNS response, the first terminal directly accesses the EAS corresponding to the EAS address.
  • the DNS response may also carry multiple EAS addresses and priorities corresponding to each of the EAS addresses.
  • the first terminal may access any one of the EASs, or the first terminal may The terminal accessing the EAS corresponding to one of the at least one EAS address may also include: the first terminal first accesses the one with a higher priority according to the priorities corresponding to the multiple EAS addresses. The EAS corresponding to the EAS address.
  • the method further includes: when the target information of the first terminal is changed.
  • the first terminal re-sends the DNS query to the DNS server according to the DNS policy information. For example, if the location of the first terminal changes, the first terminal can re-send a DNS query to the DNS server according to the DNS policy information.
  • SMF considers that the same EAS should be selected for the DNS query of a group of UEs or the same DNS message handling rule (DNS message handling rule) should be selected.
  • DNS message handling rule The conditions and indicators of UEs considered by SMF are as follows:
  • UE location When the UE location is close, it is deemed to have selected the same EAS service. Among them, the UEs can be considered to be in close proximity under the following conditions:
  • UE accesses from a group of RAN (for example, TAI list, cell ID, NR Node B Identifier, gNB ID), especially venue services, which are accessed through several nearby base stations. Coming in, it can be regarded as a set of terminals.
  • RAN for example, TAI list, cell ID, NR Node B Identifier, gNB ID
  • the PDU Session Anchor (PSA) serving the UE is the same. Because if the UPF serving multiple UEs is the same UPF, multiple UEs are considered to access the same DN.
  • PSA PDU Session Anchor
  • NWDAF Network Data Analytics Function
  • the SMF should configure the DNS queries of these UEs as follows:
  • Figure 6 shows another schematic flowchart of the DNS query response method provided by the embodiment of the present application. As shown in Figure 6, the method 600 mainly includes the following steps.
  • S601a Select EASDF for the UE. In this step, you can select the same EASDF for multiple terminals to ensure that the same EAS IP address can be used.
  • S601b The terminal sends a DNS query, which includes: UE IP address and FQDN.
  • EASDF After EASDF receives the DNS query from the terminal, it sends Neasdf_DNSContext_Notify Request to SMF to notify SMF of the FQDN to be queried, and also requests SMF to issue DNS message handling rules.
  • the processing rule described is mainly that SMF instructs EASDF to which DNS server the DNS query should be sent.
  • S603 SMF sends a response indicating receipt of the EASDF request.
  • S604 starts to S611 and collects the target information of the UE for the SMF. Through this information, the SMF can determine that the DNS query for this terminal needs to use the same set of DNS message handling rules as for other UEs.
  • SMF obtains the UE's subscription data from UDM.
  • S604 SMF sends Nudm_SDM_Get or Nudm_SDM_Subscribe to restore the terminal's subscription information, where the input parameters include: UE SUPI.
  • the contract information means that the current terminal can use the value-added services provided by the operator, that is, the same EAS IP address can be selected for the terminal.
  • the UDM can send the UE's subscription information to the SMF.
  • the subscription information of the UE saved by UDM is: Only when the current UE is authorized to use the same EAS can SMF optimize it.
  • SMF obtains the location of the UE from the AMF.
  • the location of this UE is mainly the location of the UE on the RAN side. If several terminals access 5GC or EASDF from a RAN or a set of specified RANs, SMF can regard these terminals as being within a location range and configure the same DNS message handling rule for them.
  • S609 AMF sends the UE's location to SMF.
  • the most important location information is: Cell ID and TAI.
  • the UE's location can be sent to SMF through signaling Namf_EventExposure_Notify.
  • SMF can set a rule. For example, when the UE location of the UE, such as cell ID or TAI, etc., is within a range, these UEs are deemed to be able to use the same EAS.
  • the identifier of the base station accessed by the terminal for example, gNB ID, can also be provided as location information.
  • the SMF determines the UPF ID (for example, PSA ID) and DNAI of the serving UE.
  • SMF can directly obtain this information without searching for other network elements.
  • S611 After the SMF collects the target information of the UE, the SMF executes the decision rules to determine whether the same DNS message processing rules need to be configured for the terminal or the same DNS response needs to be sent.
  • S612 When the SMF determines that it is necessary to select the same DNS message handling rule for the UE's DNS query as that of other terminals, the SMF sends an update to the EASDF to update the The rules for this DNS query of the UE: use the same ECS option or the same local DNS server IP address.
  • SMF can use signaling: Neasdf_DNSContext_Update Request (DNS message handling rules), which can carry:
  • the baseline DNS handling actions ID (Baseline DNS handling actions ID) can include:
  • Using the same DNS message processing rules is an implementation method for selecting the same EAS.
  • EASDF sends the UE's DNS query to the DNS server in a rule.
  • these DNS queries of all UEs that meet the conditions are sent to the same DNS server with the same DNS message handling rule.
  • the DNS server returns a DNS response to the EASDF, where the EAS IP addresses carried in the DNS responses returned by the DNS server to all UEs that meet the conditions are the same.
  • the DNS response can carry multiple EAS IP addresses, each IP address corresponds to a priority, and the UE can access one by one according to the priority.
  • EASDF sends a Neasdf_DNSContext_Notify request to SMF. This request is used to notify SMF of the DNS query for the terminal and the returned DNS response. The main purpose is to report the EAS IP address to SMF.
  • SMF returns Neasdf_DNSContext_Notify response to EASDF.
  • SMF when the EAS IP address is determined, SMF selects PSA.
  • EASDF sends a DNS response to the UE.
  • the SMF can indicate DNS message processing rules to multiple EASDFs. Then, multiple EASDFs share this processing rule to ensure that the same EAS is selected or used for multiple terminals.
  • Figure 7 shows another schematic flow chart of the DNS query response method provided by the embodiment of the present application. As shown in Figure 7, the method 700 mainly includes the following steps.
  • S701a-S710 the same as S601a-S610.
  • the SMF determines based on the conditions that the UE's DNS query directly feeds back the EAS IP address and directly feeds back the DNS response, that is, there is no need to query the DNS server.
  • SMF sends an update to EASDF, instructing EASDF to directly send a DNS response to the UE, and at the same time, sends the EAS IP address to EASDF. At this time, SMF needs to specify which EAS IP address to send to the terminal in the DNS response. The specific EAS IP address to choose can be decided by SMF.
  • SMF instructs EASDF how to handle the UE's DNS query. Since the UE is different from other The UE needs to use an EAS, so just send the IP address directly to the UE, which is regarded as querying the same EAS.
  • EASDF sends a DNS response to the UE, and the DNS response carries the EAS IP address indicated by SMF.
  • the SMF can instruct multiple EASDFs on the processing method of sending DNS responses.
  • Figure 8 shows another schematic flowchart of the terminal group configuration method in the embodiment of the present application. As shown in Figure 8, the method 800 mainly includes the following steps.
  • S801 AF provides information such as the location or FQDN of a specific UE, indicating the DNS message handling rule (DNS message handling rule) or EAS IP address.
  • DNS message handling rule DNS message handling rule
  • EAS IP address EAS IP address
  • AF considers that DNS queries for a group of UEs should select the same EAS or use the same DNS message handling rule.
  • the DNS queries include the same FQDN, or the terminals are in the same location.
  • AF provides target DNS message handling rules (DNS message handling rules) or target EAS IP addresses. Specifically, AF can set the following conditions:
  • UE location When the UE location is close, it is deemed to have selected the same EAS service. Among them, the UEs can be considered to be in close proximity under the following conditions:
  • UE accesses from a group of RAN (for example, TAI list, cell ID), especially venue services. It accesses through several nearby base stations and can be regarded as a group of terminals.
  • a group of RAN for example, TAI list, cell ID
  • the PDU Session Anchor (PSA) serving the UE is the same. Because if the UPF serving multiple UEs is the same UPF, multiple UEs are considered to access the same DN.
  • PSA PDU Session Anchor
  • NWDAF Network Data Analytics Function
  • AF provides the corresponding configuration as follows:
  • -Target DNS message processing rules (mainly the mechanism for forwarding DNS queries, including: using the same ECS option; or forwarding DNS queries to the same local DNS server IP)
  • the DNS response includes the same EAS that these endpoints should use.
  • NEF saves the information sent by AF (called the EAS deployment information of the terminal group in this application, and may also be called other information names) to the UDR.
  • EAS deployment information of the terminal group in this application and may also be called other information names
  • NEF can save this information to UDR through signaling: Nudr_DM_Create or Nudr_DM_Update.
  • the storage format is as shown in Table 1. Of course, it is not limited to this, as long as the storage location can be clearly defined.
  • NEF sends a response to AF.
  • SMF can recover this information from the UDR, and then decide based on this information whether the same EAS or the same DNS message processing rules need to be selected for DNS queries of some UEs.
  • S806 SMF restores the information in the UDR, that is, obtains the above saved information from the UDR.
  • SMF can use the signaling: Nnef_EASDeployment_Subscribe to NEF to obtain the above information from the UDR.
  • SMF can restore the information in the UDR when receiving a request for a processing method for a DNS query sent by EASDF. For example, SMF can obtain the EAS IP address or processing rules in the area where the terminal that sends the DNS query is located.
  • SMF can also restore the information in the UDR when it is idle.
  • NEF notifies SMF of the above information.
  • NEF notifies SMF of the above information through Nnef_EASDeployment_Notify. That is, after SMF subscribes to NEF, let NEF obtain the above information from UDR.
  • S809 SMF sends a notification response to AF.
  • SMF obtains the target DNS message processing rule or target EAS IP address corresponding to specific conditions (for example, specific region, specific FQDN).
  • Figure 9 shows a flow chart of the DNS query method in the embodiment of the application.
  • the execution process of the UE is optimized, so that the UE can distinguish the DNS query that needs to be sent to the EASDF based on FQDN, etc., And DNS queries that need to be sent directly to the local DNS server.
  • the method 900 mainly includes the following steps.
  • S901a Optionally, establish a PDU session of the UE.
  • the uplink classifier (UL CL)/branching point (Branching point, BP) is inserted into the local DNS server that the UE can access locally.
  • SMF sends the following content to the UE (or UE operating system (OS), UE EDC, edge discovery function (edge discovery function)) through the NAS message: condition information, for example, at least one target FQDN, UE location condition Information and EASDF IP address, etc.
  • condition information for example, at least one target FQDN, UE location condition Information and EASDF IP address, etc.
  • SMF tells the UE that when the UE is in this location and the DNS sent by the UE
  • the UE (or EDC) needs to send the DNS query to EASDF instead of the local DNS server.
  • EASDF is used
  • the local DNS server is used.
  • the local DNS server is used. This ensures that all qualified terminals send DNS queries to the same server.
  • a local DNS server is used.
  • the SMF needs to be configured with an N4 rule for the UL CL before S902 is given to the UE: when the UE sends a DNS query with the destination IP address to EASDF, the UL CL routes the DNS query to EASDF (via C-PSA routing, that is, central user plane routing).
  • the UE returns a response to the SMF.
  • the UE's DNS query is sent to the L-PSA through UL CL/BP, and then sent to the local DNS server, and the local DNS server provides feedback.
  • the UE's DNS query is sent to C-PSA through UL CL/BP, and then sent to EASDF, and EASDF provides feedback according to the method described in the above method 600 or method 700 embodiment. .
  • FIG. 10 shows a schematic flow chart of an EAS switching method in an embodiment of the present application. As shown in Figure 10, the method mainly includes the following steps.
  • an EAS IP address can be discovered for the UE through the method described in the above method 600 or method 700 embodiment.
  • the UE and the EAS previously performed uplink transmission (the source IP address is the IP address of the UE, and the target IP address is the source EAS IP address) and downlink transmission (the source IP address is the source EAS IP address, and the target IP address is the UE) through the remote PSA. IP address).
  • AF or 5G core network (5GC) triggers the EAS IP address replacement process.
  • UPF replaces the source EAS IP address in the uplink transmission sent by the UE with the new EAS IP address, and replaces the new EAS IP address in the downlink transmission with the source EAS IP address.
  • EAS relocation can also be performed. For example, if AF triggers relocation (relocation), for example, EAS load balancing, you can AF update the IP address of EAS to 5GC; then, let the UE perform a DNS query again, and then The description of the method 600 or the method 700 embodiment may be used to select an EAS for the UE. For another example, if the UE moves and triggers relocation, the UE can query DNS after arriving at the new location, and then use method 600 or 700 to use new DNS message processing rules or EAS IP addresses.
  • relocation for example, EAS load balancing
  • the description of the method 600 or the method 700 embodiment may be used to select an EAS for the UE.
  • the UE can query DNS after arriving at the new location, and then use method 600 or 700 to use new DNS message processing rules or EAS IP addresses.
  • This method illustrates that AF provides an EAS IP address to replace the destination EAS IP addresses of multiple terminals. This also enables the selection of the same EAS for multiple terminals to a certain extent.
  • the execution subject may be an instructing device for edge application server selection.
  • the instruction device for edge application server selection is used as an example to illustrate the instruction method for edge application server selection.
  • Figure 11 shows a schematic structural diagram of an edge application server selection instructing device provided by an embodiment of the present application.
  • the device mainly includes: a first receiving module 1101 and a first sending module 1102.
  • the first receiving module 1101 is used to receive a first request sent by a second network side device, wherein the first request is used to request the first network side device to instruct the first terminal to send The way to process DNS queries of the domain name system; the first sending module 1102 is configured to send indication information to the second network side device according to the target information of the first terminal, wherein the indication information is used to indicate the
  • the second network side device uses a target processing method to process the DNS query sent by the first terminal.
  • the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal.
  • the target processing method Including one of the following: using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal; sending a target carrying the EAS address of the target edge application server to the first terminal DNS response, the target EAS address is the same as the EAS address selected for the at least one second terminal.
  • the target information of the first terminal includes at least one of the following:
  • the location information of the first terminal is the location information of the first terminal.
  • the data network name DNN accessed by the first terminal
  • the data network DN accessed by the first terminal
  • the subscription information of the first terminal includes: a first indication, the first indication is used to indicate that the first terminal is allowed to use the same EAS with at least one second terminal.
  • the location information of the first terminal includes at least one of the following: a cell identity accessed by the first terminal, a tracking area where the first terminal is located, and an IP address of the first terminal. Address, PDU session anchor PSA serving the first terminal, data network access identifier DNAI of the first terminal, and base station identifier accessed by the first terminal.
  • the first FQDN and the second FQDN are the same, wherein the first FQDN is the FQDN in the DNS query of the first terminal, and the second FQDN is the at least one first FQDN. 2.
  • the target DNS message processing rules include one of the following:
  • the target DNS response carries at least one of the following: at least one target EAS address and a priority corresponding to each target EAS address.
  • the first sending module 1102 sends indication information to the second network side device, including:
  • the first receiving module 1101 is further configured to: the first network side device obtains the target information of the first terminal.
  • the first sending module 1102 determines to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal, including:
  • the first sending module 1102 determines that the first terminal belongs to the target terminal group according to the target information of the first terminal, including:
  • the target information of the first terminal satisfies at least one item of the configuration description information of the target terminal group including at least one of the following:
  • the target information of the first terminal is the same as at least one item of the configuration description information of the target terminal group;
  • the target information of the first terminal is located within the scope of at least one item of configuration description information of the target terminal group.
  • the configuration description information of the target terminal group includes at least one of the following:
  • At least one target FQDN At least one target FQDN
  • At least one target DNN At least one target DNN
  • At least one target S-NSSAI At least one target S-NSSAI.
  • the target subscription information includes: allowing the user to use the same EAS with other terminals.
  • the target location information includes at least one of the following:
  • At least one target cell identifier At least one target cell identifier
  • At least one target PSA At least one target PSA
  • At least one target base station identifier At least one target base station identifier.
  • the first receiving module 1101 is also configured to obtain EAS deployment information of the target terminal group, where the EAS deployment information includes the configuration description information.
  • the EAS deployment information also includes a processing method corresponding to the target terminal group, and the processing method corresponding to the target terminal group includes one of the following:
  • the first receiving module 1101 obtains the EAS deployment information of the target terminal group, including:
  • the first receiving module 1101 obtains the EAS deployment information of the target terminal group from the third network side device, including:
  • the first sending module 1102 is also used to:
  • a first message is sent to the first terminal, wherein the first message carries DNS policy information, and the DNS policy information includes at least one of the following:
  • Address information of the DNS server instructing the first terminal to send a DNS query to the DNS server, where the DNS server includes at least one of the following: EASDF;
  • Condition information includes at least one of the following: location condition information, at least one target FQDN.
  • the location condition information includes at least one of the following:
  • At least one target cell identifier At least one target cell identifier
  • At least one target PSA At least one target PSA
  • At least one target base station identifier At least one target base station identifier.
  • Figure 12 shows a schematic structural diagram of a DNS query response device provided by an embodiment of the present application.
  • the device 1200 mainly includes: a second receiving module 1201, a second sending module 1202 and a response module 1203.
  • the second receiving module 1201 is used to receive the first DNS query sent by the first terminal; the second sending module is used to send the first request to the first network side device, wherein the The first request is used to request the first network side device to instruct the DNS query sent by the first terminal.
  • the second receiving module 1201 is also used to receive the instruction information sent by the first network side device, wherein the instruction information is used to instruct the second network side device to use the target processing method to process the query.
  • the DNS query sent by the first terminal is processed, and the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal; the response module 1203 is used to use the target processing method to process the Respond to the first DNS query; wherein the target processing method includes at least one of the following: using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal;
  • the first terminal sends a target DNS response carrying a target edge application server EAS address, where the target EAS address is the same as the EAS address selected for the at least one second terminal.
  • the response module 1203 adopts the target processing method to respond to the first DNS query, including:
  • target DNS message processing rules send a second DNS query to a target DNS server, where the target DNS server is the same as the DNS server corresponding to the at least one second terminal;
  • the second network side device returns the first DNS response to the first terminal.
  • the second DNS query carries a target ECS option, and the target ECS option is the same as the ECS option corresponding to the at least one second terminal, or the second DNS query carries There is a target local DNS server address, and the target local DNS server is the same as the local DNS server address corresponding to the at least one second terminal.
  • the first DNS response carries multiple EAS addresses and priorities corresponding to each of the EAS addresses.
  • the response module 1203 uses the target processing method to respond to the first DNS query, including: sending a second DNS response to the first terminal, where the second DNS response contains the target EAS address.
  • Figure 13 shows a schematic structural diagram of a terminal group configuration method provided by an embodiment of the present application.
  • the device 1300 mainly includes: a determination module 1301 and a third sending module 1302.
  • the determination module 1301 is configured to determine the EAS deployment information of the target terminal group according to preset rules, wherein the preset rules indicate that the same EAS needs to be selected for the terminals in the target terminal group;
  • the third sending module 1302 is configured to send the EAS deployment information of the target terminal group to the third network side device.
  • the preset rules include at least one of the following:
  • the EAS deployment information includes configuration description information of the target terminal group, and the configuration description information includes at least one of the following:
  • At least one target FQDN At least one target FQDN
  • At least one target DNN At least one target DNN
  • At least one target S-NSSAI At least one target S-NSSAI.
  • the target location information includes at least one of the following:
  • At least one target cell identifier At least one target cell identifier
  • At least one target PSA At least one target PSA
  • At least one target base station identifier At least one target base station identifier.
  • the target subscription information includes: allowing the user to use the same EAS with other terminals.
  • the EAS deployment information also includes a processing method corresponding to the target terminal group, and the processing method corresponding to the target terminal group includes one of the following:
  • the target DNS message processing rules include one of the following: target ECS options, target local DNS server address.
  • the determination module 1301 is also used to:
  • Figure 14 shows a schematic structural diagram of a DNS query device provided by an embodiment of the present application.
  • the device is applied to a first terminal.
  • the device 1400 mainly includes: a third receiving module 1401, used to receive the first The first message sent by the network side device, wherein the first message carries DNS policy information; the fourth sending module 1402 is used to send a DNS query to the DNS server according to the DNS policy information; wherein the DNS The server includes EASDF.
  • the DNS policy information includes at least one of the following:
  • the address information of the DNS server is the address information of the DNS server.
  • Condition information includes at least one of the following: location condition information, at least one target FQDN.
  • the fourth sending module 1402 sends a DNS query to the DNS server according to the DNS policy information, including:
  • the target information of the first terminal satisfying at least one of the condition information includes at least one of the following:
  • the target information of the first terminal is the same as at least one item of the condition information
  • the target information of the first terminal is within the scope of at least one item of the condition information.
  • the location condition information includes at least one of the following:
  • At least one target cell identifier At least one target cell identifier
  • At least one target PSA At least one target PSA
  • At least one target base station identifier At least one target base station identifier.
  • the target information of the first terminal includes at least one of the following:
  • the location information of the first terminal is the location information of the first terminal.
  • the location information of the first terminal includes at least one of the following: a cell identity accessed by the first terminal, a tracking area where the first terminal is located, and an IP address of the first terminal. Address, PDU session anchor PSA serving the first terminal, data network access identifier DNAI of the first terminal, and base station identifier accessed by the first terminal.
  • the third receiving module 1401 is also configured to receive a DNS response returned by the second network side device, wherein the DNS response carries at least one EAS address; access and the at least one The EAS corresponding to one of the EAS addresses.
  • the DNS response carries multiple EAS addresses and priorities corresponding to each of the EAS addresses.
  • the third receiving module 1401 accesses the EAS corresponding to one of the at least one EAS address, including: priority access according to the priorities corresponding to the multiple EAS addresses.
  • the fourth sending module 1402 is also configured to re-send the first terminal to the DNS server according to the DNS policy information when the target information of the first terminal changes. DNS query.
  • this embodiment of the present application also provides a communication device 1500, which includes a processor 1501 and a memory 1502.
  • the memory 1502 stores programs or instructions that can be run on the processor 1501, such as , when the communication device 1500 is a network-side device, when the program or instruction is executed by the processor 1501, it implements each step of the above-mentioned edge application server selection instruction method embodiment, or implements each step of the above-mentioned DNS query response method embodiment, Or implement each step of the above terminal group configuration method embodiment, and achieve the same technical effect.
  • the communication device 1500 is a terminal, when the program or instruction is executed by the processor 1501, each step of the above DNS query method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, it will not be repeated here. Repeat.
  • An embodiment of the present application also provides a terminal, including a processor and a communication interface.
  • the processor is used to implement each step of the above DNS query method embodiment, and the communication interface is used to communicate with external devices.
  • This terminal embodiment corresponds to the above-mentioned terminal-side method embodiment.
  • Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect.
  • FIG. 16 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.
  • the terminal 1600 includes but is not limited to: a radio frequency unit 1601, a network module 1602, an audio output unit 1603, an input unit 1604, a sensor 1605, a display unit 1606, a user input unit 1607, an interface unit 1608, a memory 1609, a processor 1610, etc. At least some parts.
  • the terminal 1600 may also include a power supply (such as a battery) that supplies power to various components.
  • the power supply may be logically connected to the processor 1610 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions.
  • the terminal structure shown in FIG. 16 does not constitute a limitation on the terminal.
  • the terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
  • the input unit 1604 may include a graphics processing unit (Graphics Processing Unit, GPU) 16041 and a microphone 16042.
  • the graphics processor 16041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras).
  • the display unit 1606 may include a display panel 16061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1607 includes a touch panel 16071 and at least one of other input devices 16072. Touch panel 16071, also known as touch screen.
  • the touch panel 16071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 16072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
  • the radio frequency unit 1601 after receiving downlink data from the network side device, the radio frequency unit 1601 can transmit it to the processor 1610 for processing; in addition, the radio frequency unit 1601 can send uplink data to the network side device.
  • the radio frequency unit 1601 includes, but is not limited to, an antenna, amplifier, transceiver, coupler, low noise amplifier, duplexer, etc.
  • Memory 1609 may be used to store software programs or instructions as well as various data.
  • the memory 1609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc.
  • memory 1609 may include volatile memory or nonvolatile memory, or memory 1609 may include both volatile and nonvolatile memory.
  • the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
  • Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM).
  • RAM Random Access Memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double Data Rate SDRAM Double Data Rate SDRAM
  • DDRSDRAM double data rate synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM enhanced synchronous dynamic random access memory
  • Synch link DRAM synchronous link dynamic random access memory
  • SLDRAM direct memory bus
  • the processor 1610 may include one or more processing units; optionally, the processor 1610 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1610.
  • the radio frequency unit 1601 is configured to receive the first message sent by the first network side device, where the first message carries DNS policy information;
  • the processor 1610 is configured to send a DNS query to a DNS server according to the DNS policy information; wherein the DNS server includes EASDF.
  • Embodiments of the present application also provide a network-side device, including a processor and a communication interface.
  • the processor is used to implement each step of the above-mentioned edge application server selection instruction method embodiment, or to implement each step of the above-mentioned DNS query response method embodiment. , or implement each step of the above terminal group configuration method embodiment, and the communication interface is used to communicate with external devices.
  • This network-side device embodiment corresponds to the above-mentioned network-side device method embodiment.
  • Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this network-side device embodiment, and can achieve the same technical effect.
  • the embodiment of the present application also provides a network side device.
  • the network side device 1700 includes: a processor 1701, a network interface 1702, and a memory 1703.
  • the network interface 1702 is, for example, a common public radio interface (CPRI).
  • CPRI common public radio interface
  • the network side device 1700 in this embodiment of the present invention also includes: instructions or programs stored in the memory 1703 and executable on the processor 1701.
  • the processor 1701 calls the instructions or programs in the memory 1703 to execute the instructions shown in Figures 11-13. It shows the execution method of each module and achieves the same technical effect. To avoid duplication, it will not be repeated here.
  • Embodiments of the present application also provide a readable storage medium, the readable storage medium stores a program or instructions, and when the program or instructions are executed by the processor, each process of the above edge application server selection instruction method embodiment is implemented. Either implement each process of the above DNS query response method embodiment, or implement each process of the above terminal group configuration method embodiment, or implement each process of the above DNS query method embodiment, and achieve the same technical effect. In order to avoid Repeat, I won’t go into details here.
  • the processor is the processor in the terminal described in the above embodiment.
  • the readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
  • An embodiment of the present application further provides a chip.
  • the chip includes a processor and a communication interface.
  • the communication interface is coupled to the processor.
  • the processor is used to run programs or instructions to implement the above instructions for edge application server selection.
  • Each process of the method embodiment, or implementing the above DNS query Each process of the response method embodiment, or each process of the above terminal group configuration method embodiment, or each process of the above DNS query method embodiment, and can achieve the same technical effect, to avoid duplication, will not be repeated here. Repeat.
  • chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
  • Embodiments of the present application further provide a computer program/program product.
  • the computer program/program product is stored in a storage medium.
  • the computer program/program product is executed by at least one processor to implement the above-mentioned selection of the edge application server.
  • Embodiments of the present application also provide a DNS query system, including: a terminal and a network-side device.
  • the terminal can be used to execute the steps of the DNS query method as described above.
  • the network-side device can be used to execute the above-mentioned edge application server.
  • the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation.
  • the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology.
  • the computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network-side device, etc.) to execute the method described in various embodiments of this application.

Abstract

The present application belongs to the field of wireless communications. Disclosed are an indication method for the selection of an edge application server (EAS), and a terminal and a network-side device. The indication method for the selection of an EAS in the embodiments of the present application comprises: a first network-side device receiving a first request which is sent by a second network-side device, wherein the first request is used for requesting for the first network-side device to indicate a mode for processing a DNS query which is sent by a first terminal; and the first network-side device sending indication information to the second network-side device according to target information of the first terminal, wherein the indication information is used for instructing the second network-side device to process, in a target processing mode, the DNS query which is sent by the first terminal, and the target processing mode is used for selecting, for the first terminal, an EAS that is the same as that of at least one second terminal.

Description

边缘应用服务器选择的指示方法、终端及网络侧设备Instruction method, terminal and network side equipment for edge application server selection
交叉引用cross reference
本发明要求在2022年03月28日提交中国专利局、申请号为202210313740.5、发明名称为“边缘应用服务器选择的指示方法、终端及网络侧设备”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。This invention requires the priority of the Chinese patent application submitted to the China Patent Office on March 28, 2022, with the application number 202210313740.5 and the invention name "Instruction method, terminal and network side device for edge application server selection". All the applications The contents are incorporated herein by reference.
技术领域Technical field
本申请属于无线通信技术领域,具体涉及一种边缘应用服务器选择的指示方法、终端及网络侧设备。The present application belongs to the field of wireless communication technology, and specifically relates to an instruction method for selecting an edge application server, a terminal and a network side device.
背景技术Background technique
边缘应用服务器发现功能(Edge Application Server Discovery Function,EASDF)是用于处理终端的域名系统(Domain Name System,DNS)查询的网元。在相关技术中,终端将DNS查询发至EASDF,然后EASDF根据DNS查询进行判断,确定将DNS查询发给中心DNS(Central DNS,C-DNS)还是本地(Local DNS,L-DNS)。其中,所述EASDF从会话管理功能(Session Management Function,SMF)获得对DNS查询的处理方法。EASDF将DNS查询中的全域名(Fully Qualified Domain Name,FQDN)等信息发给SMF,SMF为EASDF提供对应的DNS处理规则,帮助EASDF确定将DNS查询发给哪个DNS服务。其中,所述DNS服务器的互联网协议(Internet Protocol,IP)地址为C-DNS或L-DNS。C-DNS或L-DNS查到FQDN对应的IP地址后,发给EASDF,EASDF将查询结果保存至SMF后,再发给终端,从而终端使得获得了所请求的FQDN的服务器IP地址。The Edge Application Server Discovery Function (EASDF) is a network element used to process domain name system (Domain Name System, DNS) queries of terminals. In related technologies, the terminal sends a DNS query to EASDF, and then EASDF makes a judgment based on the DNS query to determine whether to send the DNS query to the central DNS (Central DNS, C-DNS) or the local (Local DNS, L-DNS). Wherein, the EASDF obtains the processing method for DNS query from the session management function (Session Management Function, SMF). EASDF sends the Fully Qualified Domain Name (FQDN) and other information in the DNS query to SMF. SMF provides EASDF with corresponding DNS processing rules to help EASDF determine which DNS service to send the DNS query to. Wherein, the Internet Protocol (IP) address of the DNS server is C-DNS or L-DNS. After C-DNS or L-DNS finds the IP address corresponding to the FQDN, it sends it to EASDF. EASDF saves the query result to SMF and then sends it to the terminal, so that the terminal obtains the server IP address of the requested FQDN.
对于实际的场景下,在某些情况下,如果能为多个终端的DNS查询选择同一个边缘应用服务器(Edge Application Server,EAS)IP地址,可能为给终端提供更低时延的服务。例如,在一个场馆内或者宿舍内,如果多个用户使用多个终端登录同一个应用服务器进行交互业务,那么,在同一个应用服务器内进行业务处理可以实现业务处理的优化。如果能够为这些终端选择相同的EAS IP地址,则可以使得这些终端选择同一个应用服务器,从应用层角度来看,这样可以避免由于多个终端选择多个游戏服务器所导致的服务器之间的业务交互和时延。又例如,在编队用例中,例如车辆编队,所有成员单位都有相似的属性和要求,比如行驶方向和路线,例如,在一个特定的排中,所有单位都有相似的移动特征,即朝着相同的方向和速度移动,彼此靠近等。这种场景下,如果能使用同一个应用服务器,则可以缩短指令的下发和协同的时延。For actual scenarios, in some cases, if the same Edge Application Server (EAS) IP address can be selected for DNS queries of multiple terminals, it may be possible to provide terminals with lower latency services. For example, in a venue or dormitory, if multiple users use multiple terminals to log in to the same application server for interactive services, then business processing can be optimized in the same application server. If the same EAS IP address can be selected for these terminals, these terminals can select the same application server. From an application layer perspective, this can avoid the business between servers caused by multiple terminals selecting multiple game servers. Interaction and latency. As another example, in a formation use case, such as a vehicle formation, all member units have similar attributes and requirements, such as driving direction and route. For example, in a specific platoon, all units have similar movement characteristics, namely towards Moving in the same direction and speed, close to each other, etc. In this scenario, if the same application server can be used, the delay in command issuance and coordination can be shortened.
然而,在相关技术中并没有给出如何为多个终端选择同一个EAS的技术 方案。However, the relevant technology does not provide the technology of how to select the same EAS for multiple terminals. plan.
发明内容Contents of the invention
本申请实施例提供一种边缘应用服务器选择的指示方法、终端及网络侧设备,能够解决如何为多个终端选择同一个EAS的问题。Embodiments of the present application provide an edge application server selection instruction method, a terminal, and a network side device, which can solve the problem of how to select the same EAS for multiple terminals.
第一方面,提供了一种边缘应用服务器选择的指示方法,包括:第一网络侧设备接收第二网络侧设备发送的第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的DNS查询进行处理的方式;所述第一网络侧设备根据所述第一终端的目标信息,向所述第二网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS,所述目标处理方式包括以下之一:使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。In a first aspect, a method for instructing edge application server selection is provided, including: a first network side device receiving a first request sent by a second network side device, wherein the first request is used to request the first network side device. The side device indicates how to process the DNS query sent by the first terminal; the first network side device sends instruction information to the second network side device according to the target information of the first terminal, wherein the instruction The information is used to instruct the second network side device to use a target processing method to process the DNS query sent by the first terminal, and the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal, The target processing method includes one of the following: using target DNS message processing rules that are the same as the DNS message processing rules corresponding to the at least one second terminal; sending a target edge application carrying the target to the first terminal A target DNS response of a server EAS address that is the same as the EAS address selected for the at least one second terminal.
第二方面,一种边缘应用服务器选择的指示装置,包括:第一接收模块,用于接收第二网络侧设备发送的第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的DNS查询进行处理的方式;第一发送模块,用于根据所述第一终端的目标信息,向所述第二网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS,所述目标处理方式包括以下之一:使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。In a second aspect, an edge application server selection instructing device includes: a first receiving module configured to receive a first request sent by a second network side device, wherein the first request is used to request the first network The side device indicates how to process the DNS query sent by the first terminal; the first sending module is configured to send indication information to the second network side device according to the target information of the first terminal, wherein the indication The information is used to instruct the second network side device to use a target processing method to process the DNS query sent by the first terminal, and the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal, The target processing method includes one of the following: using target DNS message processing rules that are the same as the DNS message processing rules corresponding to the at least one second terminal; sending a target edge application carrying the target to the first terminal A target DNS response of a server EAS address that is the same as the EAS address selected for the at least one second terminal.
第三方面,提供了一种DNS查询的响应方法,包括:第二网络侧设备接收第一终端发送的第一DNS查询;所述第二网络侧设备向所述第一网络侧设备发送第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的DNS查询进行处理的方式;In a third aspect, a method for responding to a DNS query is provided, including: a second network side device receiving a first DNS query sent by a first terminal; and the second network side device sending the first DNS query to the first network side device. Request, wherein the first request is used to request the first network side device to indicate a manner of processing the DNS query sent by the first terminal;
所述第二网络侧设备接收所述第一网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS;所述第二网络侧设备采用所述目标处理方式,对所述第一DNS查询进行响应;其中,所述目标处理方式包括以下至少一项:使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二 终端选择的EAS地址相同。The second network side device receives the instruction information sent by the first network side device, wherein the instruction information is used to instruct the second network side device to use a target processing method to process the DNS query sent by the first terminal. Processing, the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal; the second network side device adopts the target processing method to respond to the first DNS query; wherein, The target processing method includes at least one of the following: using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal; sending a target edge to the first terminal A target DNS response with an EAS address of the application server, the target EAS address being the same as the at least one second The EAS address selected by the terminal is the same.
第四方面,提供了一种DNS查询的响应装置,包括:第二接收模块,用于接收第一终端发送的第一DNS查询;第二发送模块,用于向所述第一网络侧设备发送第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的DNS查询进行处理的方式;所述第二接收模块,还用于接收所述第一网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS;响应模块,用于采用所述目标处理方式,对所述第一DNS查询进行响应;其中,所述目标处理方式包括以下至少一项:使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。In a fourth aspect, a DNS query response device is provided, including: a second receiving module for receiving the first DNS query sent by the first terminal; and a second sending module for sending to the first network side device. A first request, wherein the first request is used to request the first network side device to indicate how to process the DNS query sent by the first terminal; the second receiving module is also used to receive the first The network side device sends instruction information, wherein the instruction information is used to instruct the second network side device to use a target processing method to process the DNS query sent by the first terminal, and the target processing method is used to process the DNS query sent by the first terminal. The terminal selects the same EAS as at least one second terminal; a response module is configured to respond to the first DNS query using the target processing method; wherein the target processing method includes at least one of the following: using the target DNS Message processing rules, the target DNS message processing is the same as the DNS message processing rule corresponding to the at least one second terminal; sending a target DNS response carrying the target edge application server EAS address to the first terminal, the target EAS address The same as the EAS address selected for the at least one second terminal.
第五方面,提供了一种终端组的配置方法,包括:第四网络侧设备根据预设规则,确定目标终端组的EAS部署信息,其中,所述预设规则指示需要为所述目标终端组中的终端选择相同的EAS;所述第四网络侧设备向第三网络侧设备发送所述目标终端组的EAS部署信息。In a fifth aspect, a terminal group configuration method is provided, including: a fourth network side device determines EAS deployment information of a target terminal group according to a preset rule, wherein the preset rule indicates that the target terminal group needs to be The terminals in select the same EAS; the fourth network side device sends the EAS deployment information of the target terminal group to the third network side device.
第六方面,提供了一种终端组的配置装置,包括:确定模块,用于根据预设规则,确定目标终端组的EAS部署信息,其中,所述预设规则指示需要为所述目标终端组中的终端选择相同的EAS;第三发送模块,用于向第三网络侧设备发送所述目标终端组的EAS部署信息。In a sixth aspect, a device for configuring a terminal group is provided, including: a determination module configured to determine EAS deployment information of a target terminal group according to preset rules, wherein the preset rule indicates that the EAS deployment information of the target terminal group needs to be The terminals in the terminal select the same EAS; the third sending module is configured to send the EAS deployment information of the target terminal group to the third network side device.
第七方面,提供了一种DNS查询方法,包括:第一终端接收第一网络侧设备发送的第一消息,其中,所述第一消息中携带有DNS策略信息;所述第一终端根据所述DNS策略信息,向DNS服务器发送DNS查询;其中,所述DNS服务器包括EASDF。In a seventh aspect, a DNS query method is provided, including: a first terminal receiving a first message sent by a first network side device, wherein the first message carries DNS policy information; According to the DNS policy information, a DNS query is sent to a DNS server; wherein the DNS server includes EASDF.
第八方面,提供了一种DNS查询装置,包括:第三接收模块,用于接收第一网络侧设备发送的第一消息,其中,所述第一消息中携带有DNS策略信息;第四发送模块,用于根据所述DNS策略信息,向DNS服务器发送DNS查询;其中,所述DNS服务器包括EASDF。In an eighth aspect, a DNS query device is provided, including: a third receiving module, configured to receive a first message sent by a first network side device, wherein the first message carries DNS policy information; a fourth sending module A module configured to send a DNS query to a DNS server according to the DNS policy information; wherein the DNS server includes EASDF.
第九方面,提供了一种终端,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第七方面所述的方法的步骤。In a ninth aspect, a terminal is provided. The terminal includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. When the program or instructions are executed by the processor, the following implementations are implemented: The steps of the method described in seven aspects.
第十方面,提供了一种终端,包括处理器及通信接口,其中,所述处理器用于实现如第七方面所述的方法的步骤,所述通信接口用于与外部设备进行通信。In a tenth aspect, a terminal is provided, including a processor and a communication interface, wherein the processor is used to implement the steps of the method described in the seventh aspect, and the communication interface is used to communicate with an external device.
第十一方面,提供了一种网络侧设备,该网络侧设备包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤。 In an eleventh aspect, a network side device is provided. The network side device includes a processor and a memory. The memory stores programs or instructions that can be run on the processor. The program or instructions are used by the processor. When executed, the steps of the method described in the first aspect, or the steps of the method described in the third aspect, or the steps of the method described in the fifth aspect are implemented.
第十二方面,提供了一种网络侧设备,包括处理器及通信接口,其中,所述处理器用于实现如第一方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤,所述通信接口用于与外部设备进行通信。In a twelfth aspect, a network side device is provided, including a processor and a communication interface, wherein the processor is used to implement the steps of the method described in the first aspect, or to implement the method described in the third aspect. Steps, or steps for implementing the method as described in the fifth aspect, the communication interface is used to communicate with an external device.
第十三方面,提供了一种DNS查询系统,包括:终端及网络侧设备,所述终端可用于执行如第七方面所述的方法的步骤,所述网络侧设备可用于执行如第一方面所述的方法的步骤,或者如第三方面所述的方法的步骤,或者如第五方面所述的方法的步骤。In a thirteenth aspect, a DNS query system is provided, including: a terminal and a network side device. The terminal can be used to perform the steps of the method described in the seventh aspect, and the network side device can be used to perform the steps of the method described in the first aspect. The steps of the method, or the steps of the method described in the third aspect, or the steps of the method described in the fifth aspect.
第十四方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤,或者实现如第七方面所述的方法的步骤。In a fourteenth aspect, a readable storage medium is provided. Programs or instructions are stored on the readable storage medium. When the programs or instructions are executed by a processor, the steps of the method described in the first aspect are implemented, or the steps of the method are implemented. The steps of the method described in the third aspect, or the steps of implementing the method described in the fifth aspect, or the steps of the method described in the seventh aspect.
第十五方面,提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤,或者实现如第七方面所述的方法的步骤。In a fifteenth aspect, a chip is provided. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the method described in the first aspect. The steps of the method can either implement the steps of the method described in the third aspect, or implement the steps of the method described in the fifth aspect, or implement the steps of the method described in the seventh aspect.
第十六方面,提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤,或者实现如第三方面所述的方法的步骤,或者实现如第五方面所述的方法的步骤,或者实现如第七方面所述的方法的步骤。In a sixteenth aspect, a computer program/program product is provided, the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement as described in the first aspect The steps of the method, or the steps of the method described in the third aspect, or the steps of the method described in the fifth aspect, or the steps of the method described in the seventh aspect.
在本申请实施例中,第一网络侧设备根据所述第一终端的目标信息,向所述第二网络侧设备指示采用目标处理方式对第一终端发送的DNS查询进行处理,该目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS,从而使得第二网络侧设备可以为第一终端和第二终端选择相同的EAS,缩短EAS与第一终端和第二终端之间通信的时延。In this embodiment of the present application, the first network side device instructs the second network side device to use a target processing method to process the DNS query sent by the first terminal according to the target information of the first terminal. The target processing method Used to select the same EAS for the first terminal and at least one second terminal, so that the second network side device can select the same EAS for the first terminal and the second terminal, shortening the time between the EAS and the first terminal and the second terminal. Communication delay.
附图说明Description of drawings
图1示出本申请实施例可应用的一种无线通信系统的框图;Figure 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable;
图2示出本申请实施例中的边缘应用服务器选择的指示方法的一种流程示意图;Figure 2 shows a schematic flow chart of an instruction method for edge application server selection in an embodiment of the present application;
图3示出本申请实施例中的DNS查询的响应方法的一种流程示意图;Figure 3 shows a schematic flow chart of the DNS query response method in the embodiment of the present application;
图4示出本申请实施例中的终端组的配置方法的一种流程示意图;Figure 4 shows a schematic flow chart of a terminal group configuration method in an embodiment of the present application;
图5示出本申请实施例中的DNS查询方法的一种流程示意图;Figure 5 shows a schematic flow chart of the DNS query method in the embodiment of the present application;
图6示出本申请实施例提供的DNS查询响应方法的另一种流程示意图;Figure 6 shows another schematic flow chart of the DNS query response method provided by the embodiment of the present application;
图7示出本申请实施例提供的DNS查询响应方法的又一种流程示意图;Figure 7 shows another schematic flow chart of the DNS query response method provided by the embodiment of the present application;
图8示出本申请实施例中的终端组的配置方法的另一种流程示意图;Figure 8 shows another schematic flow chart of the terminal group configuration method in the embodiment of the present application;
图9示出申请实施例中的DNS查询方法的一种流程图;Figure 9 shows a flow chart of the DNS query method in the application embodiment;
图10示出本申请实施例中一种EAS切换方法的流程示意图; Figure 10 shows a schematic flow chart of an EAS switching method in an embodiment of the present application;
图11示出本申请实施例提供的边缘应用服务器选择的指示装置的一种结构示意图;Figure 11 shows a schematic structural diagram of an instruction device for edge application server selection provided by an embodiment of the present application;
图12示出本申请实施例提供的DNS查询的响应装置的一种结构示意图;Figure 12 shows a schematic structural diagram of a DNS query response device provided by an embodiment of the present application;
图13示出本申请实施例提供的终端组的配置方法的一种结构示意图;Figure 13 shows a schematic structural diagram of a terminal group configuration method provided by an embodiment of the present application;
图14示出本申请实施例提供的DNS查询装置的一种结构示意图;Figure 14 shows a schematic structural diagram of a DNS query device provided by an embodiment of the present application;
图15示出本申请实施例提供的一种通信设备的结构示意图;Figure 15 shows a schematic structural diagram of a communication device provided by an embodiment of the present application;
图16示出本申请实施例提供的一种终端的硬件结构示意图;Figure 16 shows a schematic diagram of the hardware structure of a terminal provided by an embodiment of the present application;
图17示出本申请实施例提供的一种网络侧设备的硬件结构示意图。Figure 17 shows a schematic hardware structure diagram of a network-side device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art fall within the scope of protection of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”所区别的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”一般表示前后关联对象是一种“或”的关系。The terms "first", "second", etc. in the description and claims of this application are used to distinguish similar objects and are not used to describe a specific order or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances so that the embodiments of the present application can be practiced in sequences other than those illustrated or described herein, and that "first" and "second" are distinguished objects It is usually one type, and the number of objects is not limited. For example, the first object can be one or multiple. In addition, "and/or" in the description and claims indicates at least one of the connected objects, and the character "/" generally indicates that the related objects are in an "or" relationship.
值得指出的是,本申请实施例所描述的技术不限于长期演进型(Long Term Evolution,LTE)/LTE的演进(LTE-Advanced,LTE-A)系统,还可用于其他无线通信系统,诸如码分多址(Code Division Multiple Access,CDMA)、时分多址(Time Division Multiple Access,TDMA)、频分多址(Frequency Division Multiple Access,FDMA)、正交频分多址(Orthogonal Frequency Division Multiple Access,OFDMA)、单载波频分多址(Single-carrier Frequency Division Multiple Access,SC-FDMA)和其他系统。本申请实施例中的术语“系统”和“网络”常被可互换地使用,所描述的技术既可用于以上提及的系统和无线电技术,也可用于其他系统和无线电技术。以下描述出于示例目的描述了新空口(New Radio,NR)系统,并且在以下大部分描述中使用NR术语,但是这些技术也可应用于NR系统应用以外的应用,如第6代(6th Generation,6G)通信系统。It is worth pointing out that the technology described in the embodiments of this application is not limited to Long Term Evolution (LTE)/LTE Evolution (LTE-Advanced, LTE-A) systems, and can also be used in other wireless communication systems, such as code Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access, OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of this application are often used interchangeably, and the described technology can be used not only for the above-mentioned systems and radio technologies, but also for other systems and radio technologies. The following description describes a New Radio (NR) system for example purposes, and NR terminology is used in much of the following description, but these techniques can also be applied to applications other than NR system applications, such as 6th generation Generation, 6G) communication system.
图1示出本申请实施例可应用的一种无线通信系统的框图。无线通信系统包括终端11和网络侧设备12。其中,终端11可以是手机、平板电脑(Tablet Personal Computer)、膝上型电脑(Laptop Computer)或称为笔记本电脑、个人数字助理(Personal Digital Assistant,PDA)、掌上电脑、上网本、超级移动个人计算机(ultra-mobile personal computer,UMPC)、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现 实(virtual reality,VR)设备、机器人、可穿戴式设备(Wearable Device)、车载设备(Vehicle User Equipment,VUE)、行人终端(Pedestrian User Equipment,PUE)、智能家居(具有无线通信功能的家居设备,如冰箱、电视、洗衣机或者家具等)、游戏机、个人计算机(personal computer,PC)、柜员机或者自助机等终端侧设备,可穿戴式设备包括:智能手表、智能手环、智能耳机、智能眼镜、智能首饰(智能手镯、智能手链、智能戒指、智能项链、智能脚镯、智能脚链等)、智能腕带、智能服装等。需要说明的是,在本申请实施例并不限定终端11的具体类型。网络侧设备12可以包括接入网设备和/或核心网设备,其中,接入网设备12也可以称为无线接入网设备、无线接入网(Radio Access Network,RAN)、无线接入网功能或无线接入网单元。接入网设备12可以包括基站、无线局域网(Wireless Local Area Network,WLAN)接入点或WiFi节点等,基站可被称为节点B、演进节点B(evolved Node B,eNB)、接入点、基收发机站(Base Transceiver Station,BTS)、无线电基站、无线电收发机、基本服务集(Basic Service Set,BSS)、扩展服务集(Extended Service Set,ESS)、家用B节点、家用演进型B节点、发送接收点(Transmitting Receiving Point,TRP)或所述领域中其他某个合适的术语,只要达到相同的技术效果,所述基站不限于特定技术词汇,需要说明的是,在本申请实施例中仅以NR系统中的基站为例进行介绍,并不限定基站的具体类型。核心网设备可以包含但不限于如下至少一项:核心网节点、核心网功能、移动管理实体(Mobility Management Entity,MME)、接入移动管理功能(Access and Mobility Management Function,AMF)、会话管理功能(Session Management Function,SMF)、用户平面功能(User Plane Function,UPF)、策略控制功能(Policy Control Function,PCF)、策略与计费规则功能单元(Policy and Charging Rules Function,PCRF)、边缘应用服务发现功能(Edge Application Server Discovery Function,EASDF)、统一数据管理(Unified Data Management,UDM),统一数据仓储(Unified Data Repository,UDR)、归属用户服务器(Home Subscriber Server,HSS)、集中式网络配置(Centralized network configuration,CNC)、网络存储功能(Network Repository Function,NRF),网络开放功能(Network Exposure Function,NEF)、本地NEF(Local NEF,或L-NEF)、绑定支持功能(Binding Support Function,BSF)、应用功能(Application Function,AF)等。需要说明的是,在本申请实施例中仅以NR系统中的核心网设备为例进行介绍,并不限定核心网设备的具体类型。Figure 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable. The wireless communication system includes a terminal 11 and a network side device 12. The terminal 11 may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, or a super mobile personal computer. (ultra-mobile personal computer, UMPC), mobile Internet device (Mobile Internet Device, MID), augmented reality (AR)/virtual reality Real (virtual reality, VR) equipment, robots, wearable devices (Wearable Devices), vehicle user equipment (VUE), pedestrian terminals (Pedestrian User Equipment, PUE), smart homes (home equipment with wireless communication functions , such as refrigerators, TVs, washing machines or furniture, etc.), game consoles, personal computers (PCs), teller machines or self-service machines and other terminal-side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart phones, etc. Glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. It should be noted that the embodiment of the present application does not limit the specific type of the terminal 11. The network side device 12 may include an access network device and/or a core network device, where the access network device 12 may also be called a radio access network device, a radio access network (Radio Access Network, RAN), or a radio access network. function or radio access network unit. The access network device 12 may include a base station, a Wireless Local Area Network (WLAN) access point or a WiFi node, etc. The base station may be called a Node B, an evolved Node B (eNB), an access point, Base Transceiver Station (BTS), radio base station, radio transceiver, Basic Service Set (BSS), Extended Service Set (ESS), home B-node, home evolved B-node , Transmitting Receiving Point (TRP) or some other suitable term in the field, as long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiment of the present application This introduction only takes the base station in the NR system as an example, and does not limit the specific type of base station. The core network equipment may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), User Plane Function (UPF), Policy Control Function (PCF), Policy and Charging Rules Function (PCRF), Edge Application Service Discovery function (Edge Application Server Discovery Function, EASDF), Unified Data Management (UDM), Unified Data Repository (UDR), Home Subscriber Server (HSS), centralized network configuration ( Centralized network configuration (CNC), Network Repository Function (NRF), Network Exposure Function (NEF), Local NEF (Local NEF, or L-NEF), Binding Support Function (Binding Support Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiment of this application, only the core network equipment in the NR system is used as an example for introduction, and the specific type of the core network equipment is not limited.
下面结合附图,通过一些实施例及其应用场景对本申请实施例提供的技术方案进行详细地说明。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings through some embodiments and their application scenarios.
图2示出本申请实施例中的边缘应用服务器选择的指示方法的一种流程示意图,该方法200可以由第一网络侧设备执行。换言之,所述方法可以由安装在第一网络侧设备上的软件或硬件来执行,在本申请实施例中,第一网络侧设备可以为核心网中的SMF。如图2所示,该方法可以包括以下步骤。Figure 2 shows a schematic flowchart of a method for instructing edge application server selection in an embodiment of the present application. The method 200 can be executed by the first network side device. In other words, the method may be executed by software or hardware installed on the first network side device. In this embodiment of the present application, the first network side device may be an SMF in the core network. As shown in Figure 2, the method may include the following steps.
S210,第一网络侧设备接收第二网络侧设备发送的第一请求,其中,所 述第一请求用于请求所述第一网络侧设备指示对第一终端发送的DNS查询进行处理的方式。S210. The first network side device receives the first request sent by the second network side device, where the The first request is used to request the first network side device to indicate a manner of processing the DNS query sent by the first terminal.
例如,第二网络侧设备可以在接收到第一终端发送的DNS查询(也可以称为DNS请求,或DNS查询请求)后,向第一网络侧设备请求对该DNS查询进行处理的方式。For example, after receiving a DNS query (which may also be called a DNS request, or a DNS query request) sent by the first terminal, the second network side device may request the first network side device for a method of processing the DNS query.
在本申请实施例中,第二网络侧设备可以为EASDF。In this embodiment of the present application, the second network side device may be EASDF.
S212,第一网络侧设备根据所述第一终端的目标信息,向所述第二网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS。S212: The first network side device sends instruction information to the second network side device according to the target information of the first terminal, where the instruction information is used to instruct the second network side device to use a target processing method to process The DNS query sent by the first terminal is processed, and the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal.
在本申请实施例中,所述目标处理方式可以包括以下(1)或(2)两种处理方式。In this embodiment of the present application, the target processing method may include the following two processing methods (1) or (2).
(1)使用目标DNS消息处理规则(DNS message handling rules),所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同。对所述第一终端的DNS查询和所述第二终端的DNS查询,均使用目标DNS消息处理规则,能够实现为两个终端选择相同的EAS。例如,EASDF在接收到SMF的上述指示后,可以为第一终端和第二终端的DNS查询设置相同的DNS消息处理规则,即,将第一终端和第二终端的DNS查询,发送给相同的DNS服务器(server),从而能够确保DNS服务器反馈出相同的DNS响应,进而使得第一终端和第二终端得到相同的EAS IP地址。因为使用相同的DNS服务器,查询相同的FQDN,能够实现查找到相同的EAS IP地址。(1) Use target DNS message handling rules (DNS message handling rules), which are the same as the DNS message handling rules corresponding to the at least one second terminal. The target DNS message processing rules are used for both the DNS query of the first terminal and the DNS query of the second terminal, so that the same EAS can be selected for the two terminals. For example, after receiving the above instruction from the SMF, EASDF can set the same DNS message processing rules for the DNS queries of the first terminal and the second terminal, that is, send the DNS queries of the first terminal and the second terminal to the same DNS server (server), thereby ensuring that the DNS server feeds back the same DNS response, so that the first terminal and the second terminal obtain the same EAS IP address. Because the same DNS server is used and the same FQDN is queried, the same EAS IP address can be found.
(2)向所述第一终端发送携带目标EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。即第一网络侧设备指示第二网络侧设备直接向第一终端发送目标EAS地址(例如,目标EAS IP地址)的目标DNS响应,其中,目标DNS响应中携带的目标EAS地址与向第二终端发送的DNS响应中携带的EAS地址相同,从而可以确定第一终端获取与第二终端相同的EAS地址,从而接入到与第二终端相同的EAS。这种方式,可以实现直接由5G核心网(5G Core Network,5GC)提供EAS IP地址给UE,避免了DNS服务器查询结果的动态变化,直接由5GC指定。(2) Send a target DNS response carrying a target EAS address to the first terminal, where the target EAS address is the same as the EAS address selected for the at least one second terminal. That is, the first network side device instructs the second network side device to directly send a target DNS response of the target EAS address (for example, target EAS IP address) to the first terminal, where the target EAS address carried in the target DNS response is the same as the target EAS address carried in the target DNS response to the second terminal. The EAS addresses carried in the sent DNS responses are the same, so it can be determined that the first terminal obtains the same EAS address as the second terminal, and thereby accesses the same EAS as the second terminal. In this way, the EAS IP address can be directly provided to the UE by the 5G Core Network (5G Core Network, 5GC), avoiding dynamic changes in the DNS server query results and being directly designated by the 5GC.
可选地,目标DNS响应中(可以是5GC触发的DNS响应,也可以是DNS服务器发送的响应)可以携带一个目标EAS地址,也可以携带多个目标EAS地址。在携带多个目标EAS地址的情况下,目标DNS响应中还可以携带各个目标EAS地址对应的优先级,第一终端在接收到目标DNS响应后,可以按照优先级从高到低的顺序依次接入,也就是说,第一终端可以先接入优先级最高的目标EAS地址,在接入失败的情况下,再接入优先级次高的目标EAS地址,同样,第二终端也可以按照相同的规则进行接入,从而可以确保第一终端和第二终端接入相同的EAS。Optionally, the target DNS response (which can be a DNS response triggered by 5GC or a response sent by a DNS server) can carry one target EAS address or multiple target EAS addresses. In the case of carrying multiple target EAS addresses, the target DNS response can also carry the priority corresponding to each target EAS address. After receiving the target DNS response, the first terminal can receive the responses in order from high to low priority. In other words, the first terminal can first access the target EAS address with the highest priority, and then access the target EAS address with the second highest priority if the access fails. Similarly, the second terminal can also access the target EAS address with the second highest priority. Access according to the rules, thereby ensuring that the first terminal and the second terminal access the same EAS.
在本申请实施例中,第一网络侧设备根据所述第一终端的目标信息,可 以确定需要为所述第一终端选择与所述至少一个第二终端相同的EAS,然后,第一网络侧设备向所述第二网络侧设备发送所述指示信息。In this embodiment of the present application, the first network side device can, based on the target information of the first terminal, To determine that the same EAS as the at least one second terminal needs to be selected for the first terminal, the first network side device sends the indication information to the second network side device.
在一个可能的实现方式中,所述第一终端的目标信息包括但不限于以下(1)至(6)中的至少之一。In a possible implementation, the target information of the first terminal includes but is not limited to at least one of the following (1) to (6).
(1)所述第一终端的签约信息。例如,第一终端的签约信息包括:第一指示,所述第一指示用于指示所述第一终端允许与至少一个第二终端使用同一个EAS。也就是说,可以在第一终端授权与其它终端使用同一个EAS的情况下,指示第二网络侧设备使用上述目标处理方式。比如,运营商可以将为多个终端配置相同EAS IP地址作为增值服务,而所述第一终端和第二终端,都签约并购买了运营商的边缘计算优化服务,则5GC先验证通过,表明这两个终端具备使用运营商增值服务的资格。(1) The contract information of the first terminal. For example, the subscription information of the first terminal includes: a first indication, the first indication is used to indicate that the first terminal is allowed to use the same EAS with at least one second terminal. That is to say, when the first terminal is authorized to use the same EAS as other terminals, the second network side device can be instructed to use the above target processing method. For example, the operator can configure the same EAS IP address for multiple terminals as a value-added service, and the first terminal and the second terminal have signed and purchased the operator's edge computing optimization service, then the 5GC will be verified first, indicating that These two terminals are eligible to use the operator's value-added services.
(2)所述第一终端的位置信息。例如,可以在第一终端与第二终端的位置相近的情况下,指示第二网络侧设备使用上述目标处理方式。在本申请实施例中,所述第一终端的位置信息可以包括以下至少之一:(a)所述第一终端接入的小区标识,例如,在第一终端与第二终端处于同一个小区的情况下,指示所述第二网络侧设备使用所述目标处理方式;(b)所述第一终端所在的跟踪区域,例如,在第一终端与第二终端处于同一个跟踪区域或相近的跟踪区域的情况下,指示所述第二网络侧设备使用所述目标处理方式;(c)所述第一终端的IP地址,例如,在第一终端与第二终端处于同一个IP地址段的情况下,指示所述第二网络侧设备使用所述目标处理方式;(d)服务所述第一终端的协议数据单元(Protocol Data Unit,PDU)会话锚点(PDU Session Anchor,PSA),例如,在服务第一终端与第二终端的PSA为同一个的情况下,指示所述第二网络侧设备使用所述目标处理方式;(e)所述第一终端的数据网络接入标识(Data Network Access Identifier,DNAI),例如,在第一终端与第二终端的DNAI相同的情况下,指示所述第二网络侧设备使用所述目标处理方式。(f)所述第一终端接入的基站标识。例如,第一终端和第二终端所接入的基站标识相同时(即,两个终端通过一个基站接入5GC),那么也可以为其选择相同的EAS IP地址。如果所述第一终端的位置信息跟第二终端的位置信息相同,则可能满足上面描述的场景:所述第一终端和第二终端在相同的室内或场馆内进行交互业务(比如,交互游戏)。因此,这两个终端具备使用相同EAS IP地址的条件。(2) Location information of the first terminal. For example, when the first terminal and the second terminal are close in location, the second network side device may be instructed to use the above target processing method. In this embodiment of the present application, the location information of the first terminal may include at least one of the following: (a) The identity of the cell accessed by the first terminal, for example, when the first terminal and the second terminal are in the same cell In the case of, instruct the second network side device to use the target processing method; (b) the tracking area where the first terminal is located, for example, when the first terminal and the second terminal are in the same tracking area or a similar area In the case of a tracking area, instruct the second network side device to use the target processing method; (c) the IP address of the first terminal, for example, when the first terminal and the second terminal are in the same IP address segment In this case, instruct the second network side device to use the target processing method; (d) serve the protocol data unit (Protocol Data Unit, PDU) session anchor (PDU Session Anchor, PSA) of the first terminal, for example , when the PSA serving the first terminal and the second terminal is the same, instruct the second network side device to use the target processing method; (e) the data network access identifier (Data) of the first terminal Network Access Identifier (DNAI), for example, when the DNAI of the first terminal and the second terminal are the same, instruct the second network side device to use the target processing method. (f) The identification of the base station accessed by the first terminal. For example, when the base station identifiers accessed by the first terminal and the second terminal are the same (that is, the two terminals access the 5GC through one base station), then the same EAS IP address can be selected for them. If the location information of the first terminal is the same as the location information of the second terminal, the scenario described above may be satisfied: the first terminal and the second terminal perform interactive services (for example, interactive games) in the same room or venue. ). Therefore, these two terminals are qualified to use the same EAS IP address.
(3)所述第一终端的DNS查询中的全限定域名(Fully Qualified Domain Name,FQDN)。例如,可以在第一终端的DNS查询中的FQDN为指定的FQDN的情况下,确定为第一终端选择与查询请求中包含这些指定的FQDN的第二终端相同的EAS,指示所述第二网络侧设备使用所述目标处理方式。可选地,第一FQDN与第二FQDN相同,其中,所述第一FQDN为所述第一终端的DNS查询中的FQDN,所述第二FQDN为所述至少一个所述第二终端的DNS消息处理规则所应用于的DNS查询中的FQDN。通过该可选的方案,当第一终端和第二终端各自的DNS查询中的FQDN相同时,才可以 使用这一服务。比如,第一终端和第二终端都请求访问FQDN=aaaa.com,则说明两个终端请求的是同一个第三方业务提供方的业务,因此,为其选择同一个EAS IP地址是合理的。(3) The fully qualified domain name (Fully Qualified Domain Name, FQDN) in the DNS query of the first terminal. For example, when the FQDN in the first terminal's DNS query is a specified FQDN, it may be determined that the first terminal selects the same EAS as the second terminal whose query request contains these specified FQDNs, indicating that the second network The side device uses the target processing method. Optionally, the first FQDN is the same as the second FQDN, wherein the first FQDN is the FQDN in the DNS query of the first terminal, and the second FQDN is the DNS of the at least one second terminal. The FQDN in the DNS query to which the message processing rule applies. Through this optional solution, only when the FQDNs in the respective DNS queries of the first terminal and the second terminal are the same, Use this service. For example, if both the first terminal and the second terminal request access to FQDN=aaaa.com, it means that the two terminals are requesting services from the same third-party service provider. Therefore, it is reasonable to select the same EAS IP address for them.
(4)所述第一终端所访问的数据网络名(Data Network Name,DNN)。例如,可以在第一终端访问特定的DNN时,确定为第一终端选择与访问这些特定的DNN的第二终端相同的EAS,指示所述第二网络侧设备使用所述目标处理方式。(4) The Data Network Name (DNN) accessed by the first terminal. For example, when the first terminal accesses specific DNNs, it may be determined that the first terminal selects the same EAS as the second terminal that accesses these specific DNNs, and the second network side device is instructed to use the target processing method.
(5)所述第一终端所访问的数据网(Data Network,DN)。例如,可以在第一终端访问特定的DN时,确定为第一终端选择与访问这些特定的DN的第二终端相同的EAS,指示所述第二网络侧设备使用所述目标处理方式。(5) The Data Network (DN) accessed by the first terminal. For example, when the first terminal accesses specific DNs, it may be determined that the same EAS is selected for the first terminal as the second terminal accessing these specific DNs, and the second network side device is instructed to use the target processing method.
(6)所述第一终端的单一网络切片选择辅助信息(Single Network Slice Selection Assistance Information,S-NSSAI)。例如,可以在第一终端的S-NSSAI为特定的DN时,指示所述第二网络侧设备使用所述目标处理方式。(6) Single Network Slice Selection Assistance Information (S-NSSAI) of the first terminal. For example, when the S-NSSAI of the first terminal is a specific DN, the second network side device may be instructed to use the target processing method.
在本申请实施例的一个可能的实现方式中,目标DNS消息处理规则包括以下之一:In a possible implementation of the embodiment of this application, the target DNS message processing rules include one of the following:
(1)目标DNS客户端子网(EDNS-client-subnet,ECS)选项(option)。例如,对第一终端和第二终端采用目标DNS消息处理规则是指对第一终端和第二终端使用相同的ESC选项。其中,ECS option,通常是一个辅助信息,用于DNS服务器进行DNS解析的时候,为该终端提供一个距离终端最近的EAS IP地址。这个距离最近可以是地理位置最近,也可以是路由最近。(1) Target DNS client subnet (EDNS-client-subnet, ECS) option. For example, using the target DNS message processing rule for the first terminal and the second terminal means using the same ESC option for the first terminal and the second terminal. Among them, the ECS option is usually an auxiliary information used by the DNS server to provide the terminal with an EAS IP address closest to the terminal when performing DNS resolution. The closest distance can be the closest geographical location or the closest route.
(2)目标本地DNS服务器地址。(2) Target local DNS server address.
在一个可能的实现方式中,所述第一网络侧设备向所述第二网络侧设备发送指示信息可以包括以下步骤:In a possible implementation, sending the indication information by the first network side device to the second network side device may include the following steps:
步骤1,所述第一网络侧设备根据所述第一终端的目标信息,确定为所述第一终端选择与所述至少一个第二终端相同的EAS;Step 1: The first network side device determines to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal;
步骤2,所述第一网络侧设备向所述第二网络侧设备发送所述指示信息。Step 2: The first network side device sends the indication information to the second network side device.
也就是说,在该可能的实现方式中,第一网络侧设备根据所述第一终端的目标信息,可以确定需要为所述第一终端选择与所述至少一个第二终端相同的EAS,然后,第一网络侧设备向所述第二网络侧设备发送所述指示信息。That is to say, in this possible implementation, the first network side device may determine that it is necessary to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal, and then , the first network side device sends the indication information to the second network side device.
在具体应用中,第一网络侧设备可能未保存有第一终端的目标信息,因此,在一个可能的实现方式中,在所述第一网络侧设备根据所述第一终端的目标信息,确定为所述第一终端选择与所述至少一个第二终端相同的EAS之前,所述方法还可以包括:所述第一网络侧设备获取所述第一终端的目标信息。In a specific application, the first network side device may not save the target information of the first terminal. Therefore, in a possible implementation, the first network side device determines based on the target information of the first terminal. Before selecting the same EAS for the first terminal as the at least one second terminal, the method may further include: the first network side device obtains target information of the first terminal.
例如,第一网络侧设备可以从UDM获得第一终端的签约数据。例如,SMF可以UDM发送Nudm_SDM_Get)或Nudm_SDM_Subscribe,恢复终端的签约信息,输入参数:第一UE的签约永久标识(Subscription Permanent Identifier,SUPI),UDM可以发送第一UE的签约信息给SMF。UDM保存的该第一UE的签约信息可以为:当前UE被授权可以使用同一个EAS,例 如,第一UE的会话管理签约数据(PDU会话建立所需的数据)中可以包括一个元素,其值为:UE授权选择相同EAS授权,以指示UE是否授权使用相同的EAS。For example, the first network side device may obtain the subscription data of the first terminal from the UDM. For example, the SMF can send Nudm_SDM_Get) or Nudm_SDM_Subscribe via UDM to restore the terminal's subscription information and input parameters: the first UE's subscription permanent identifier (Subscription Permanent Identifier, SUPI). UDM can send the first UE's subscription information to the SMF. The subscription information of the first UE saved by UDM may be: the current UE is authorized to use the same EAS, for example For example, the session management subscription data of the first UE (data required for PDU session establishment) may include an element whose value is: UE is authorized to select the same EAS authorization to indicate whether the UE is authorized to use the same EAS.
又例如,第一网络侧设备可以从AMF获取第一UE的位置信息。该位置信息主要包括第一终端在无线接入网(Radio Access Network,RAN)的位置。例如,如果第一终端和第二终端都从一个RAN或者一组规定的RAN接入到5GC,则可以视为第一终端和第二终端在一个位置范围内。例如,SMF从AMF恢复第一UE的位置信息:Namf_EventExposure_Subscribe,输出参数中,Event ID=Location Report,AMF可以发送第一UE的位置信息给SMF。其中,第一UE的位置信息包括但不限于:小区标识(Cell ID)和跟踪区域标识(Tracking Area Identifier,TAI),也可以是接入的基站标识。For another example, the first network side device may obtain the location information of the first UE from the AMF. The location information mainly includes the location of the first terminal in the radio access network (Radio Access Network, RAN). For example, if the first terminal and the second terminal both access the 5GC from a RAN or a set of specified RANs, the first terminal and the second terminal can be regarded as being within the same location range. For example, SMF recovers the location information of the first UE from AMF: Namf_EventExposure_Subscribe. In the output parameter, Event ID=Location Report, AMF can send the location information of the first UE to SMF. Among them, the location information of the first UE includes but is not limited to: cell ID (Cell ID) and tracking area identifier (Tracking Area Identifier, TAI), and may also be the accessed base station ID.
又例如,第一网络侧设备还可以获取服务第一终端的用户面功能(User Plane Function,UPF)标识(例如,PSA ID)以及DNAI。For another example, the first network side device can also obtain the User Plane Function (UPF) identifier (for example, PSA ID) and DNAI of the first terminal.
在一个可能的实现方式中,可以预先定义一个目标终端组,第一网络侧设备确定为该目标终端组中的终端选择相同的EAS。因此,在该可能的实现方式中,所述第一网络侧设备根据所述第一终端的目标信息,确定为所述第一终端选择与所述至少一个第二终端相同的EAS,可以包括以下步骤:In a possible implementation, a target terminal group may be predefined, and the first network side device determines to select the same EAS for terminals in the target terminal group. Therefore, in this possible implementation, the first network side device determines to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal, which may include the following step:
步骤1,所述第一网络侧设备根据所述第一终端的目标信息,确定所述第一终端属于目标终端组,其中,所述至少一个第二终端属于所述目标终端组;Step 1: The first network side device determines that the first terminal belongs to a target terminal group according to the target information of the first terminal, wherein the at least one second terminal belongs to the target terminal group;
步骤2,所述第一网络侧设备确定为所述第一终端选择与所述至少一个第二终端相同的EAS。Step 2: The first network side device determines to select the same EAS as the at least one second terminal for the first terminal.
可选地,可以预先定义目标终端组的配置描述信息,例如,配置描述信息中可以包括至少一个小区标识,指示位于该至少一个小区标识对应的至少一个小区的终端组成一个目标终端组。又例如,配置描述信息中可以包括至少一个目标FQDN,指示查询该至少一个目标FQDN的终端组成一个目标终端组。又例如,配置描述信息中可以包括目标IP地址段,指示位于该目标IP地址段的终端组成一个目标终端组。因此,在一个可能的实现方式中,所述第一网络侧设备根据所述第一终端的目标信息,确定所述第一终端属于目标终端组,包括以下步骤:Optionally, the configuration description information of the target terminal group may be predefined. For example, the configuration description information may include at least one cell identifier, indicating that terminals located in at least one cell corresponding to the at least one cell identifier form a target terminal group. For another example, the configuration description information may include at least one target FQDN, indicating that terminals querying the at least one target FQDN form a target terminal group. For another example, the configuration description information may include a target IP address segment, indicating that terminals located in the target IP address segment form a target terminal group. Therefore, in a possible implementation, the first network side device determines that the first terminal belongs to the target terminal group based on the target information of the first terminal, including the following steps:
步骤1,所述第一网络侧设备将所述第一终端的目标信息与所述目标终端组的配置描述信息进行比较;Step 1: The first network side device compares the target information of the first terminal with the configuration description information of the target terminal group;
步骤2,在确定所述第一终端的目标信息满足所述目标终端组的配置描述信息中至少一项的情况下,确定所述第一终端属于目标终端组。Step 2: When it is determined that the target information of the first terminal satisfies at least one item of the configuration description information of the target terminal group, determine that the first terminal belongs to the target terminal group.
其中,所述第一终端的目标信息满足所述目标终端组的配置描述信息中至少一项包括以下至少之一:Wherein, the target information of the first terminal satisfies at least one item of the configuration description information of the target terminal group including at least one of the following:
(1)所述第一终端的目标信息与所述目标终端组的配置描述信息中的至少一项相同;例如,目标终端组的配置描述信息中包括多个FQDN,第一终端的DNS查询中的FQDN与多个FQDN中的一个相同。又例如,目标终端 组的配置描述信息中包括一个目标小区标识,第一终端的小区标识与该目标小区标识相同。(1) The target information of the first terminal is the same as at least one item in the configuration description information of the target terminal group; for example, the configuration description information of the target terminal group includes multiple FQDNs, and the DNS query of the first terminal The FQDN is the same as one of multiple FQDNs. For another example, the target terminal The configuration description information of the group includes a target cell identity, and the cell identity of the first terminal is the same as the target cell identity.
(2)所述第一终端的目标信息位于所述目标终端组的配置描述信息中的至少一项的范围内。例如,所述目标终端组的配置描述信息中可以包括目标IP地址段,所述第一终端的IP地址在该目标IP地址段内。(2) The target information of the first terminal is within the scope of at least one item of the configuration description information of the target terminal group. For example, the configuration description information of the target terminal group may include a target IP address segment, and the IP address of the first terminal is within the target IP address segment.
在一个可能的实现方式中,所述目标终端组的配置描述信息包括但不限于以下至少之一:In a possible implementation, the configuration description information of the target terminal group includes but is not limited to at least one of the following:
(1)目标签约信息;例如,允许与其它终端使用同一个EAS。(1) Target subscription information; for example, allowing to use the same EAS with other terminals.
(2)目标位置信息;例如,所述目标位置信息包括但不限于以下至少之一:至少一个目标小区标识;至少一个目标跟踪区域标识;至少一个IP地址段;至少一个目标PSA;至少一个目标DNAI;至少一个目标基站标识。(2) Target location information; for example, the target location information includes but is not limited to at least one of the following: at least one target cell identifier; at least one target tracking area identifier; at least one IP address segment; at least one target PSA; at least one target DNAI; at least one target base station identifier.
(3)至少一个目标FQDN;所述目标终端组内的终端的DNS查询中携带的FQDN。(3) At least one target FQDN; the FQDN carried in the DNS query of the terminals in the target terminal group.
(4)至少一个目标DNN。(4) At least one target DNN.
(5)至少一个目标S-NSSAI。(5) At least one target S-NSSAI.
可选地,所述目标终端组的配置描述信息还可以包括第一终端的网络数据分析功能(Network Data Analytics Function,NWDAF)的分析信息。Optionally, the configuration description information of the target terminal group may also include analysis information of the first terminal's Network Data Analysis Function (NWDAF).
采用上述可能的实现方式,确定一个目标终端组,位于该组内的终端都使用一个相同的EAS IP地址,则只要确定一个新的终端满足目标终端组的配置描述信息,即可确认新的终端,也需要为其配置相同的EAS IP地址。Using the above possible implementation methods, a target terminal group is determined. The terminals in this group all use the same EAS IP address. Then as long as a new terminal is determined to meet the configuration description information of the target terminal group, the new terminal can be confirmed. , you also need to configure the same EAS IP address for it.
在一个可能的实现方式中,在所述第一网络侧设备根据所述第一终端的目标信息,确定所述第一终端属于目标终端组之前,所述方法还可以包括:所述第一网络侧设备获取所述目标终端组的EAS部署信息,其中,所述EAS部署信息包括所述配置描述信息。In a possible implementation, before the first network side device determines that the first terminal belongs to the target terminal group according to the target information of the first terminal, the method may further include: The side device obtains EAS deployment information of the target terminal group, where the EAS deployment information includes the configuration description information.
可选地,所述EAS部署信息还可以包括与所述目标终端组对应的处理方式,所述目标终端组对应的处理方式包括以下之一:Optionally, the EAS deployment information may also include a processing method corresponding to the target terminal group, and the processing method corresponding to the target terminal group includes one of the following:
(1)所述目标终端组中的终端采用的所述目标DNS消息处理规则。也就是说,对于目标终端组中的终端的DNS查询均采用所述目标DNS消息处理规则,第一网络侧设备根据该EAS部署信息,在确定第一终端属于目标终端组的情况下,确定对第一终端的DNS查询采用所述目标DNS消息处理规则。例如,采用相同的ECS选项(即目标ECS选项),或者,使用相同的本地DNS服务器(即目标本地DNS服务器)。(1) The target DNS message processing rules adopted by terminals in the target terminal group. That is to say, the target DNS message processing rules are used for DNS queries of terminals in the target terminal group. The first network side device determines that the first terminal belongs to the target terminal group based on the EAS deployment information. The first terminal's DNS query adopts the target DNS message processing rule. For example, use the same ECS option (that is, the target ECS option), or use the same local DNS server (that is, the target local DNS server).
(2)向所述目标终端组中的终端发送的DNS响应中携带的所述目标EAS地址。也就是说,对于目标终端组中的终端的DNS查询均采用向终端发送携带所述目标EAS地址的DNS响应的处理方式,第一网络侧设备根据该EAS部署信息,在确定第一终端属于目标终端组的情况下,确定采用向第一终端发送携带所述目标EAS地址的DNS响应的处理方式。(2) The target EAS address carried in the DNS response sent to the terminal in the target terminal group. That is to say, all DNS queries for terminals in the target terminal group are processed by sending a DNS response carrying the target EAS address to the terminal. The first network side device determines that the first terminal belongs to the target based on the EAS deployment information. In the case of a terminal group, it is determined to adopt a processing method of sending a DNS response carrying the target EAS address to the first terminal.
在一个可能的实现方式中,第一网络侧设备可以从第三网络侧设备获取所述目标终端组的EAS部署信息。例如,第一网络侧设备可以在空闲时,从 第三网络侧设备获取目标终端组的EAS部署信息,或者,第一网络侧设备也可以在接收到第一请求后,从第三网络侧设备获取目标终端组的EAS部署信息。在一个可能的实现方式中,所述第一网络侧设备从第三网络侧设备获取所述目标终端组的EAS部署信息,包括:所述第一网络侧设备使用所述第一终端的目标信息,从所述第三网络侧设备获取所述目标终端组的EAS部署信息。例如,第一网络侧设备可以在接收到第一请求后,基于第一终端的目标信息,从第三网络侧设备获取目标终端组的EAS部署信息。例如,第一网络侧设备可以从第三网络侧设备获取第一终端所在的区域(例如小区或跟踪区域)的目标终端组的EAS部署信息。In a possible implementation, the first network side device may obtain the EAS deployment information of the target terminal group from the third network side device. For example, the first network side device can, when idle, from The third network side device obtains the EAS deployment information of the target terminal group, or the first network side device may also obtain the EAS deployment information of the target terminal group from the third network side device after receiving the first request. In a possible implementation, the first network side device obtains the EAS deployment information of the target terminal group from the third network side device, including: the first network side device uses the target information of the first terminal , obtain the EAS deployment information of the target terminal group from the third network side device. For example, after receiving the first request, the first network side device may obtain the EAS deployment information of the target terminal group from the third network side device based on the target information of the first terminal. For example, the first network side device may obtain the EAS deployment information of the target terminal group in the area (such as a cell or tracking area) where the first terminal is located from the third network side device.
例如,目标终端组的EAS部署信息可以保存在UDR中,第一网络侧设备(例如,SMF)可以UDR恢复这些信息,例如,SMF可以向NEF发送信令:Nnef_EASDeployment_Subscribe,NEF再从UDR中获取目标终端组的EAS部署信息后通知给SMF。For example, the EAS deployment information of the target terminal group can be saved in the UDR, and the first network side device (for example, SMF) can restore this information from the UDR. For example, the SMF can send signaling to NEF: Nnef_EASDeployment_Subscribe, and NEF can obtain the target from the UDR. The EAS deployment information of the terminal group is notified to SMF.
在一个可能的实现方式中,为了使得目标终端组中的终端可以接入相同的EAS,在所述第一网络侧设备获取所述目标终端组的EAS部署信息之后,所述方法还可以包括:所述第一网络侧设备根据所述EAS部署信息,向所述第一终端发送第一消息,其中,所述第一消息中携带有DNS策略信息,所述DNS策略信息包括以下至少之一:In a possible implementation, in order to enable terminals in the target terminal group to access the same EAS, after the first network side device obtains the EAS deployment information of the target terminal group, the method may further include: The first network side device sends a first message to the first terminal according to the EAS deployment information, where the first message carries DNS policy information, and the DNS policy information includes at least one of the following:
(1)DNS服务器的地址信息,指示所述第一终端将DNS查询发送到所述DNS服务器,所述DNS服务器包括以下至少一项:EASDF;即,希望目标终端组内的终端,都使用EASDF作为DNS服务器IP地址,而不使用其他DNS服务器IP地址。(1) Address information of the DNS server, instructing the first terminal to send a DNS query to the DNS server. The DNS server includes at least one of the following: EASDF; that is, it is hoped that all terminals in the target terminal group will use EASDF. as the DNS server IP address without using other DNS server IP addresses.
(2)条件信息,所述条件信息包括以下至少之一:位置条件信息、至少一个目标FQDN。(2) Condition information, which includes at least one of the following: location condition information and at least one target FQDN.
例如,DNS策略信息如果包括上述(1)和(2),则指示第一终端在满足所述条件信息的信息的情况下,将DNS查询送到(1)中的地址信息所对应的DNS服务器。For example, if the DNS policy information includes the above (1) and (2), it instructs the first terminal to send the DNS query to the DNS server corresponding to the address information in (1) if the information in the condition information is satisfied. .
在一个可能的实现方式中,所述位置条件信息可以包括以下至少之一:In a possible implementation, the location condition information may include at least one of the following:
(1)至少一个目标小区标识;(1) At least one target cell identifier;
(2)至少一个目标跟踪区域标识;(2) At least one target tracking area identifier;
(3)至少一个IP地址段;;(3) At least one IP address segment;;
(4)至少一个目标PSA;(4) At least one target PSA;
(5)至少一个目标DNAI;(5) At least one target DNAI;
(6)至少一个目标基站标识。(6) At least one target base station identifier.
所述条件信息发送给终端,使终端基于终端位置、终端发送的DNS查询中的FQDN、以及UE的IP地址所在的IP地址段判断,应该将DNS查询发送给哪个DNS服务器。如果满足条件,则应该发给DNS策略信息中的地址信息对应的EASDF,因为发送给同一个EASDF可以保证使用同一个EAS IP地址。 The condition information is sent to the terminal, so that the terminal determines which DNS server the DNS query should be sent to based on the terminal location, the FQDN in the DNS query sent by the terminal, and the IP address segment where the UE's IP address is located. If the conditions are met, it should be sent to the EASDF corresponding to the address information in the DNS policy information, because sending to the same EASDF can ensure that the same EAS IP address is used.
在本申请实施例中,第一网络侧设备在接收到第二网络侧设备请求指示对第一终端发送的DNS查询进行处理的方式时,根据所述第一终端的目标信息,向所述第二网络侧设备指示采用目标处理方式对第一终端发送的DNS查询进行处理,该目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS,从而使得第二网络侧设备可以为第一终端和第二终端选择相同的EAS,缩短EAS与第一终端和第二终端之间通信的时延。In this embodiment of the present application, when the first network side device receives a request from the second network side device to indicate how to process the DNS query sent by the first terminal, the first network side device sends a request to the third network side device according to the target information of the first terminal. The second network side device instructs to use a target processing method to process the DNS query sent by the first terminal. The target processing method is used to select the same EAS for the first terminal as that of at least one second terminal, so that the second network side device can The first terminal and the second terminal select the same EAS to shorten the communication delay between the EAS and the first terminal and the second terminal.
图3示出本申请实施例中的DNS查询的响应方法的一种流程示意图,该方法300可以由第二网络侧设备执行。换言之,所述方法可以由安装在第二网络侧设备上的软件或硬件来执行,在本申请实施例中,第二网络侧设备可以为EASDF。如图3所示,该方法可以包括以下步骤。Figure 3 shows a schematic flowchart of a DNS query response method in an embodiment of the present application. The method 300 can be executed by the second network side device. In other words, the method may be executed by software or hardware installed on the second network side device. In this embodiment of the present application, the second network side device may be EASDF. As shown in Figure 3, the method may include the following steps.
S310,第二网络侧设备接收第一终端发送的第一DNS查询。S310. The second network side device receives the first DNS query sent by the first terminal.
S312,所述第二网络侧设备向所述第一网络侧设备发送第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的DNS查询进行处理的方式。S312. The second network side device sends a first request to the first network side device, where the first request is used to request the first network side device to instruct the first network side device to process the DNS query sent by the first terminal. The way.
S314,所述第二网络侧设备接收所述第一网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS。S314: The second network side device receives the instruction information sent by the first network side device, where the instruction information is used to instruct the second network side device to use a target processing method to process the DNS sent by the first terminal. The query is processed, and the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal.
其中,第一网络侧设备可以采用方法200中的描述,向第二网络侧设备发送所述指示信息,具体可以参见方法300中的描述,在此不再赘述。The first network side device may use the description in method 200 to send the indication information to the second network side device. For details, please refer to the description in method 300, which will not be described again here.
S316,所述第二网络侧设备采用所述目标处理方式,对所述第一DNS查询进行响应。S316: The second network side device responds to the first DNS query using the target processing method.
其中,所述目标处理方式包括以下至少一项:Wherein, the target processing method includes at least one of the following:
使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;Using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal;
向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。A target DNS response carrying a target edge application server EAS address is sent to the first terminal, where the target EAS address is the same as the EAS address selected for the at least one second terminal.
在一个可能的实现方式中,所述第二网络侧设备采用所述目标处理方式,对所述第一DNS查询进行响应,可以包括:In a possible implementation, the second network side device adopts the target processing method to respond to the first DNS query, which may include:
所述第二网络侧设备使用所述目标DNS消息处理规则,向目标DNS服务器发送第二DNS查询,其中,所述目标DNS服务器与所述至少一个第二终端对应的DNS服务器相同;The second network side device uses the target DNS message processing rule to send a second DNS query to a target DNS server, where the target DNS server is the same as the DNS server corresponding to the at least one second terminal;
所述第二网络侧设备接收所述目标DNS服务器返回的第一DNS响应,其中,所述第一DNS响应中携带有至少一个EAS地址;The second network side device receives the first DNS response returned by the target DNS server, wherein the first DNS response carries at least one EAS address;
所述第二网络侧设备向所述第一终端返回所述第一DNS响应。The second network side device returns the first DNS response to the first terminal.
例如,第二网络侧设备可以在所述第二DNS查询中携带目标ECS选项,所述目标ECS选项与所述至少一个第二终端对应的ECS选项相同,或者,第二网络侧设备可以在所述第二DNS查询中携带有目标本地DNS服务器地址,所述目标本地DNS服务器与所述至少一个第二终端对应的本地DNS服 务器地址相同,从而可以将第二DNS查询发送到目标DNS服务器。For example, the second network side device may carry a target ECS option in the second DNS query, and the target ECS option is the same as the ECS option corresponding to the at least one second terminal, or the second network side device may carry the target ECS option in the second DNS query. The second DNS query carries a target local DNS server address, and the target local DNS server is a local DNS service corresponding to the at least one second terminal. server address, allowing a secondary DNS query to be sent to the target DNS server.
在本申请实施例中,将第一终端的DNS查询发送到与第二终端相同的DNS服务器,从而使得可以由同一个DNS服务器对第一终端的DNS查询和第二终端的DNS查询进行响应,从而可以使得向第一终端发送的第一DNS响应中携带的EAS地址大概率与向第二终端发送的DNS响应中携带的EAS地址相同。In this embodiment of the present application, the DNS query of the first terminal is sent to the same DNS server as the second terminal, so that the same DNS server can respond to the DNS query of the first terminal and the DNS query of the second terminal, As a result, the EAS address carried in the first DNS response sent to the first terminal is likely to be the same as the EAS address carried in the DNS response sent to the second terminal.
在一个可能的实现方式中,第一DNS响应中可以携带一个EAS地址,也可以携带多个EAS地址,在第一DNS响应中携带多个EAS地址的情况,该第一DNS响应中还可以携带各个所述EAS地址对应的优先级。In a possible implementation, the first DNS response may carry one EAS address or multiple EAS addresses. When the first DNS response carries multiple EAS addresses, the first DNS response may also carry The priority corresponding to each EAS address.
在一个可能的实现方式中,所述第二网络侧设备采用所述目标处理方式,对所述第一DNS查询进行响应可以包括:所述第二网络侧设备向所述第一终端发送第二DNS响应,其中,所述第二DNS响应中携带有所述目标EAS地址。即在该可能的实现方式中,第二网络侧设备直接向第一终端发送第二DNS响应,该第二DNS响应中携带有上述的目标EAS地址。In a possible implementation, the second network side device adopts the target processing mode, and responding to the first DNS query may include: the second network side device sends a second DNS response, wherein the second DNS response carries the target EAS address. That is, in this possible implementation, the second network side device directly sends a second DNS response to the first terminal, and the second DNS response carries the above-mentioned target EAS address.
可选地,第二DNS响应中可以携带一个目标EAS地址,也可以携带多个目标EAS地址。在携带多个目标EAS地址的情况下,第二DNS响应中还可以携带各个目标EAS地址对应的优先级,第一终端在接收到第二DNS响应后,可以按照优先级从高到低的顺序依次接入,也就是说,第一终端可以先接入优先级最高的目标EAS地址,在接入失败的情况下,再接入优先级次高的目标EAS地址,同样,第二终端也可以按照相同的规则进行接入,从而可以确保第一终端和第二终端接入相同的EAS。Optionally, the second DNS response may carry one target EAS address or multiple target EAS addresses. In the case of carrying multiple target EAS addresses, the second DNS response may also carry the priority corresponding to each target EAS address. After receiving the second DNS response, the first terminal may respond in order from high to low priority. Access in sequence, that is to say, the first terminal can access the target EAS address with the highest priority first, and then access the target EAS address with the second highest priority if the access fails. Similarly, the second terminal can also access Access is performed according to the same rules, thereby ensuring that the first terminal and the second terminal access the same EAS.
通过本申请实施例提供的技术方案,第二网络侧设备可以采用与第二终端相同的目标处理方式,对第一终端的DNS查询进行响应,从而可以使得第一终端与第二终端很可能接入到相同的EAS。Through the technical solutions provided by the embodiments of this application, the second network side device can respond to the DNS query of the first terminal using the same target processing method as the second terminal, thereby making it possible for the first terminal to connect with the second terminal. into the same EAS.
图4示出本申请实施例中的终端组的配置方法的一种流程示意图,该方法400可以由第四网络侧设备执行。换言之,所述方法可以由安装在第四网络侧设备上的软件或硬件来执行,在本申请实施例中,第四网络侧设备可以为应用功能(Application Function,AF)网元。如图4所示,该方法可以包括以下步骤。Figure 4 shows a schematic flowchart of a terminal group configuration method in an embodiment of the present application. The method 400 can be executed by a fourth network side device. In other words, the method may be executed by software or hardware installed on the fourth network side device. In this embodiment of the present application, the fourth network side device may be an application function (Application Function, AF) network element. As shown in Figure 4, the method may include the following steps.
S410,第四网络侧设备根据预设规则,确定目标终端组的EAS部署信息,其中,所述预设规则指示需要为所述目标终端组中的终端选择相同的EAS。S410: The fourth network side device determines the EAS deployment information of the target terminal group according to the preset rules, where the preset rules indicate that the same EAS needs to be selected for the terminals in the target terminal group.
例如,对于某个应用,其服务提供商可以设置在预设规则下,为目标终端组中的终端选择相同的EAS。For example, for a certain application, its service provider can set preset rules to select the same EAS for terminals in the target terminal group.
S412,所述第四网络侧设备向第三网络侧设备发送所述目标终端组的EAS部署信息。S412: The fourth network side device sends the EAS deployment information of the target terminal group to the third network side device.
例如,AF可以将目标终端组的EAS部署信息保存到UDR中。For example, AF can save the EAS deployment information of the target terminal group into the UDR.
在一个可能的实现方式中,所述预设规则包括但不限于以下至少之一:In a possible implementation, the preset rules include but are not limited to at least one of the following:
(1)为具有目标签约信息的终端选择相同的EAS;例如,为签约为授权与其它终端使用一个EAS的终端选择相同的EAS。 (1) Select the same EAS for terminals with target subscription information; for example, select the same EAS for a terminal that is authorized to use an EAS with other terminals for subscription.
(2)为位置相近的终端选择相同的EAS;例如,为处于相同位置区域的终端选择相同的EAS,其中,位置相近(或相同位置区域)可以通过至少一个小区、至少一个跟踪区域、至少一个基站、IP地址段、服务终端的PSA、DNAI等来定义,具体本申请实施例中不作限定。(2) Select the same EAS for terminals in close locations; for example, select the same EAS for terminals in the same location area, where the proximity (or the same location area) can be achieved through at least one cell, at least one tracking area, at least one It is defined by the base station, IP address segment, PSA, DNAI, etc. of the service terminal, which are not specifically limited in the embodiments of this application.
(3)为访问相同的DNN的终端选择相同的EAS;(3) Select the same EAS for terminals accessing the same DNN;
(4)为访问相同的DN的终端选择相同的EAS;(4) Select the same EAS for terminals accessing the same DN;
(5)为查询目标FQDN的终端选择相同的EAS;(5) Select the same EAS for the terminal querying the target FQDN;
(6)为具有目标S-NSSAI的终端选择相同的EAS。(6) Select the same EAS for the terminal with target S-NSSAI.
在本申请实施例中,目标终端组的EAS部署信息与上述方法200中的目标终端组的EAS部署信息相同,具体可以参见方法200中的描述。In this embodiment of the present application, the EAS deployment information of the target terminal group is the same as the EAS deployment information of the target terminal group in the above method 200. For details, please refer to the description in the method 200.
在一个可能的实现方式中,所述EAS部署信息可以包括所述目标终端组的配置描述信息,所述配置描述信息包括以下至少之一:In a possible implementation, the EAS deployment information may include configuration description information of the target terminal group, and the configuration description information includes at least one of the following:
(1)目标签约信息;可选地,所述目标签约信息可以包括:允许与其它终端使用同一个EAS。(1) Target subscription information; optionally, the target subscription information may include: allowing to use the same EAS with other terminals.
(2)目标位置信息。(2) Target location information.
(3)至少一个目标FQDN。所述目标终端组内的终端的DNS查询中携带的FQDN。(3) At least one target FQDN. The FQDN carried in the DNS query of the terminals in the target terminal group.
(4)至少一个目标DNN。(4) At least one target DNN.
(5)至少一个目标S-NSSAI。(5) At least one target S-NSSAI.
在一个可能的实现方式中,所述目标位置信息包括以下至少之一:In a possible implementation, the target location information includes at least one of the following:
(1)至少一个目标小区标识;(1) At least one target cell identifier;
(2)至少一个目标跟踪区域标识;(2) At least one target tracking area identifier;
(3)至少一个IP地址段;(3) At least one IP address segment;
(4)至少一个目标PSA;(4) At least one target PSA;
(5)至少一个目标DNAI;(5) At least one target DNAI;
(6)至少一个目标基站标识。(6) At least one target base station identifier.
在一个可能的实现方式中,所述EAS部署信息还包括与所述目标终端组对应的处理方式,所述目标终端组对应的处理方式包括以下之一:In a possible implementation, the EAS deployment information also includes a processing method corresponding to the target terminal group, and the processing method corresponding to the target terminal group includes one of the following:
(1)所述目标终端组中的终端采用的所述目标DNS消息处理规则;(1) The target DNS message processing rules adopted by the terminals in the target terminal group;
(2)向所述目标终端组中的终端发送的DNS响应中携带的所述目标EAS地址。(2) The target EAS address carried in the DNS response sent to the terminal in the target terminal group.
在一个可能的实现方式中,所述目标DNS消息处理规则包括以下之一:目标ECS选项、目标本地DNS服务器地址。In a possible implementation, the target DNS message processing rules include one of the following: target ECS options, target local DNS server address.
在一个可能实现方式中,在所述第四网络侧设备向第三网络侧设备发送所述目标终端组的EAS部署信息之后,所述方法还包括:In a possible implementation, after the fourth network side device sends the EAS deployment information of the target terminal group to the third network side device, the method further includes:
所述第四网络侧设备确定更新所述目标终端组的所述目标EAS地址,和/或,所述第四网络侧设备确定更新所述目标终端组的所述目标本地DNS服务器地址;The fourth network side device determines to update the target EAS address of the target terminal group, and/or the fourth network side device determines to update the target local DNS server address of the target terminal group;
所述第四网络侧设备通知所述目标终端组中的终端重新发起DNS查询。 The fourth network side device notifies the terminals in the target terminal group to re-initiate DNS query.
在上述可能的实现方式中,第四网络侧设备可以在确定更新目标终端组的目标EAS地址,例如,为了使得EAS负载均衡,第四网络侧设备确定更新目标终端组的目标EAS地址,和/或确定更新目标终端组的所述目标本地DNS服务器地址之后,通知目标终端组中的终端重新发起DNS查询,以重新定位目标终端组中的终端接入的EAS。In the above possible implementation manner, the fourth network side device may determine to update the target EAS address of the target terminal group. For example, in order to achieve EAS load balancing, the fourth network side device determines to update the target EAS address of the target terminal group, and/ Or after determining to update the target local DNS server address of the target terminal group, notify the terminals in the target terminal group to re-initiate a DNS query to relocate the EAS accessed by the terminals in the target terminal group.
通过本申请实施例提供的技术方案,第四网络侧设备可以确定目标终端组的EAS部署信息,将目标终端组的EAS部署信息发送给第三网络侧设备,从而可以配置将多个终端接入同一个EAS的条件和处理方式,便于后续在接收到终端的DNS查询时,对终端的DNS查询进行处理。Through the technical solutions provided by the embodiments of this application, the fourth network side device can determine the EAS deployment information of the target terminal group, and send the EAS deployment information of the target terminal group to the third network side device, so that multiple terminals can be configured to access The conditions and processing methods of the same EAS facilitate processing of the terminal's DNS query when it receives the terminal's DNS query later.
所述AF提供的EAS部署信息,可以指导所述SMF和EASDF为目标终端选择相同的EAS。但是,AF所提供的信息并不具备决定性作用,即,并非AF决定对某个位置下的终端的某个FQDN选择同一个EAS IP地址A,SMF就一定要听从该配置。The EAS deployment information provided by the AF can guide the SMF and EASDF to select the same EAS for the target terminal. However, the information provided by AF is not decisive. That is, if AF does not decide to select the same EAS IP address A for a certain FQDN of a terminal in a certain location, SMF must follow this configuration.
图5示出本申请实施例中的DNS查询方法的一种流程示意图,该方法500可以由第一终端执行。换言之,所述方法可以由安装在第一终端上的软件或硬件来执行。如图5所示,该方法可以包括以下步骤。Figure 5 shows a schematic flowchart of the DNS query method in this embodiment of the present application. The method 500 can be executed by the first terminal. In other words, the method may be performed by software or hardware installed on the first terminal. As shown in Figure 5, the method may include the following steps.
S510,第一终端接收第一网络侧设备发送的第一消息,其中,所述第一消息中携带有DNS策略信息。S510: The first terminal receives the first message sent by the first network side device, where the first message carries DNS policy information.
在本申请实施例中,DNS策略信息与方法200中的DNS策略信息相同,第一网络侧设备发送第一消息的方式可以参见方法200中的描述,在此不再赘述。In this embodiment of the present application, the DNS policy information is the same as the DNS policy information in method 200. For the manner in which the first network side device sends the first message, please refer to the description in method 200, which will not be described again here.
在一个可能的实现方式中,所述DNS策略信息包括以下至少之一:In a possible implementation, the DNS policy information includes at least one of the following:
(1)所述DNS服务器的地址信息;(1) The address information of the DNS server;
(2)条件信息,所述条件信息包括以下至少之一:位置条件信息、至少一个目标FQDN。(2) Condition information, which includes at least one of the following: location condition information and at least one target FQDN.
在DNS策略信息包括所述DNS服务器的地址信息的情况下,相当于第一终端保存了多个DNS服务器地址,第一终端在满足所述条件信息的情况下,则使用所述DNS服务器,即向所述DNS服务器发送DNS查询,如果不满足所述条件,则使用本地DNS服务器,即向本地DNS服务器发送DNS查询。When the DNS policy information includes the address information of the DNS server, it is equivalent to the first terminal saving multiple DNS server addresses. When the first terminal meets the condition information, the first terminal uses the DNS server, that is, A DNS query is sent to the DNS server. If the condition is not met, a local DNS server is used, that is, a DNS query is sent to the local DNS server.
在一个可能的实现方式中,所述位置条件信息包括以下至少之一:In a possible implementation, the location condition information includes at least one of the following:
至少一个目标小区标识;At least one target cell identifier;
至少一个目标跟踪区域标识;At least one target tracking area identifier;
至少一个IP地址段;At least one IP address range;
至少一个目标PSA;At least one target PSA;
至少一个目标DNAI;at least one target DNAI;
至少一个目标基站标识。At least one target base station identifier.
S512,所述第一终端根据所述DNS策略信息,向DNS服务器发送DNS查询;其中,所述DNS服务器包括EASDF。S512: The first terminal sends a DNS query to a DNS server according to the DNS policy information; wherein the DNS server includes EASDF.
在一个可能的实现方式中,所述第一终端根据所述DNS策略信息,向 DNS服务器发送DNS查询可以包括以下步骤:In a possible implementation, the first terminal sends a request to the DNS server based on the DNS policy information. A DNS server sending a DNS query can include the following steps:
步骤1,所述第一终端将所述第一终端的目标信息与所述条件信息进行比较;Step 1: The first terminal compares the target information of the first terminal with the condition information;
步骤2,在确定所述第一终端的目标信息满足所述条件信息中至少一项的情况下,所述第一终端向第二网络侧设备发送DNS查询;Step 2: When it is determined that the target information of the first terminal satisfies at least one of the condition information, the first terminal sends a DNS query to the second network side device;
其中,所述第一终端的目标信息满足所述条件信息中至少一项包括以下至少之一:Wherein, the target information of the first terminal satisfying at least one of the condition information includes at least one of the following:
所述第一终端的目标信息与所述条件信息中的至少一项相同;例如,The target information of the first terminal is the same as at least one item of the condition information; for example,
所述第一终端的目标信息位于所述条件信息中的至少一项的范围内。The target information of the first terminal is within the scope of at least one item of the condition information.
在一个可能的实现方式中,所述第一终端的目标信息包括以下至少之一:In a possible implementation, the target information of the first terminal includes at least one of the following:
所述第一终端的位置信息;The location information of the first terminal;
所述第一终端的DNS查询中的FQDN;The FQDN in the DNS query of the first terminal;
在一个可能的实现方式中,所述第一终端的位置信息包括以下至少之一:所述第一终端接入的小区标识、所述第一终端所在的跟踪区域、所述第一终端的IP地址、服务所述第一终端的PDU会话锚点PSA、所述第一终端的数据网络接入标识DNAI、所述第一终端接入的基站标识。In a possible implementation, the location information of the first terminal includes at least one of the following: a cell identity accessed by the first terminal, a tracking area where the first terminal is located, and an IP address of the first terminal. Address, PDU session anchor PSA serving the first terminal, data network access identifier DNAI of the first terminal, and base station identifier accessed by the first terminal.
在S512中,将第一终端的目标信息与条件信息进行比较时,可以判断第一终端的目标信息是否满足所述条件信息。例如,如果所述条件信息中包括多个FQDN,若第一终端的DNS查询中的FQDN与多个FQDN中的一个相同,则确定第一终端的目标信息满足所述条件信息。又例如,目标终端组的配置描述信息中包括一个目标小区标识,第一终端的小区标识与该目标小区标识相同,则确定第一终端的目标信息满足所述条件信息。又例如,所述条件信息可以包括一个IP地址段,若所述第一终端的IP地址在该IP地址段内,则确定第一终端的目标信息满足所述条件信息。In S512, when the target information of the first terminal is compared with the condition information, it can be determined whether the target information of the first terminal satisfies the condition information. For example, if the condition information includes multiple FQDNs, and if the FQDN in the DNS query of the first terminal is the same as one of the multiple FQDNs, it is determined that the target information of the first terminal satisfies the condition information. For another example, if the configuration description information of the target terminal group includes a target cell identifier, and the cell identifier of the first terminal is the same as the target cell identifier, it is determined that the target information of the first terminal satisfies the condition information. For another example, the condition information may include an IP address segment. If the IP address of the first terminal is within the IP address segment, it is determined that the target information of the first terminal satisfies the condition information.
在一个可能的实现方式中,在所述第一终端向第二网络侧设备发送DNS查询之后,所述方法还可以包括以下步骤:In a possible implementation, after the first terminal sends a DNS query to the second network side device, the method may further include the following steps:
步骤1,所述第一终端接收所述第二网络侧设备返回的DNS响应,其中,所述DNS响应中携带有至少一个EAS地址;Step 1: The first terminal receives a DNS response returned by the second network side device, where the DNS response carries at least one EAS address;
其中,第二网络侧设备可以按照上述方法300中所描述的方式向第一终端发送DNS响应,该DNS响应可以包括方法300中的第一DNS响应或第二DNS响应,具体可以参见方法300中的描述,在此不再赘述。The second network side device may send a DNS response to the first terminal in the manner described in the above method 300. The DNS response may include the first DNS response or the second DNS response in the method 300. For details, please refer to the method 300. The description will not be repeated here.
步骤2,所述第一终端接入与所述至少一个EAS地址中的一个EAS地址对应的EAS。Step 2: The first terminal accesses the EAS corresponding to one of the at least one EAS address.
在本申请实施例中,DNS响应中可以携带一个EAS地址,则第一终端接收到该DNS响应后,直接接入该EAS地址对应的EAS。或者,所述DNS响应中也可以携带有多个EAS地址以及各个所述EAS地址对应的优先级,在这种情况下,第一终端可以接入其中的任一个EAS,或者,所述第一终端接入与所述至少一个EAS地址中的一个EAS地址对应的EAS也可以包括:所述第一终端按照所述多个EAS地址对应的优先级,优先接入优先级高的 EAS地址对应的EAS。In this embodiment of the present application, the DNS response may carry an EAS address. Then, after receiving the DNS response, the first terminal directly accesses the EAS corresponding to the EAS address. Alternatively, the DNS response may also carry multiple EAS addresses and priorities corresponding to each of the EAS addresses. In this case, the first terminal may access any one of the EASs, or the first terminal may The terminal accessing the EAS corresponding to one of the at least one EAS address may also include: the first terminal first accesses the one with a higher priority according to the priorities corresponding to the multiple EAS addresses. The EAS corresponding to the EAS address.
在一个可能的实现方式中,在所述第一终端接入与所述至少一个EAS地址中的一个EAS地址对应的EAS之后,所述方法还包括:在所述第一终端的目标信息发生更改的情况下,所述第一终端根据所述DNS策略信息,重新向DNS服务器发送所述DNS查询。例如,第一终端的位置发生变化,则第一终端可以根据DNS策略信息重新向DNS服务器发送DNS查询。In a possible implementation, after the first terminal accesses the EAS corresponding to one of the at least one EAS address, the method further includes: when the target information of the first terminal is changed. In the case of , the first terminal re-sends the DNS query to the DNS server according to the DNS policy information. For example, if the location of the first terminal changes, the first terminal can re-send a DNS query to the DNS server according to the DNS policy information.
下面以第一网络侧设备为SMF,第二网络侧设备为EASDF为例,对本申请实施例提供的技术方案进行说明。Taking the first network side device as SMF and the second network side device as EASDF as an example, the technical solution provided by the embodiment of the present application will be described below.
在本申请实施列中,SMF考虑应该为一组UE的DNS查询选择同一个EAS或者使用相同的DNS消息处理规则(DNS message handling rule),SMF所考虑的UE的条件和指标如下:In the implementation column of this application, SMF considers that the same EAS should be selected for the DNS query of a group of UEs or the same DNS message handling rule (DNS message handling rule) should be selected. The conditions and indicators of UEs considered by SMF are as follows:
(一)UE的位置:当UE位置相近的时候,视为选同一个EAS服务。其中,在以下条件下,可以认为UE位置相近:(1) UE location: When the UE location is close, it is deemed to have selected the same EAS service. Among them, the UEs can be considered to be in close proximity under the following conditions:
(1)相同的DNAI。(1) Same DNAI.
(2)相同UE IP地址段。(2) The same UE IP address segment.
(3)UE从一组RAN接入进来(比如,TAI列表(list),cell ID,NR节点标识(NR Node B Identifier,gNB ID)),尤其是场馆业务,通过附近几个相近的基站接进来,可以视为是一组终端。(3) UE accesses from a group of RAN (for example, TAI list, cell ID, NR Node B Identifier, gNB ID), especially venue services, which are accessed through several nearby base stations. Coming in, it can be regarded as a set of terminals.
(4)服务UE的PDU会话锚点(PDU Session Anchor,PSA)为同一个。因为如果服务多个UE的UPF为同一个UPF,则认为多个UE接入到同一个DN。(4) The PDU Session Anchor (PSA) serving the UE is the same. Because if the UPF serving multiple UEs is the same UPF, multiple UEs are considered to access the same DN.
(5)相同的数据网络名(Data Network Name,DNN)。(5) The same data network name (Data Network Name, DNN).
(6)相同的单一网络切片选择辅助信息(Single Network Slice Selection Assistance Information,S-NSSAI)。(6) The same single network slice selection assistance information (Single Network Slice Selection Assistance Information, S-NSSAI).
(二)FQDN,只有预设的FQDN可以享受这个服务。(2) FQDN, only the default FQDN can enjoy this service.
(三)UE签约信息。(3) UE contract information.
(四)网络数据分析功能(Network Data Analytics Function,NWDAF)的分析。(4) Analysis of Network Data Analytics Function (NWDAF).
如果上述条件至少一项满足,则SMF应该给这些UE的DNS查询作如下配置:If at least one of the above conditions is met, the SMF should configure the DNS queries of these UEs as follows:
-配置相同的DNS message handling rules(主要是DNS查询转发的机制,包括:使用相同的ECS option;或者,把DNS查询转发至相同的local DNS server IP);-Configure the same DNS message handling rules (mainly the DNS query forwarding mechanism, including: using the same ECS option; or forwarding DNS queries to the same local DNS server IP);
-指示EASDF发送相同的DNS响应给这些终端。所述DNS响应就包括这些终端应该使用的相同EAS。- Instruct EASDF to send the same DNS response to these endpoints. The DNS response includes the same EAS that these endpoints should use.
图6示出本申请实施例提供的DNS查询响应方法的另一种流程示意图,如图6所示,该方法600主要包括以下步骤。Figure 6 shows another schematic flowchart of the DNS query response method provided by the embodiment of the present application. As shown in Figure 6, the method 600 mainly includes the following steps.
S601a:为UE选择EASDF。这一步中,可以为多个终端选择相同EASDF,以保证能够使用同一个EAS IP地址。 S601a: Select EASDF for the UE. In this step, you can select the same EASDF for multiple terminals to ensure that the same EAS IP address can be used.
S601b:终端发送DNS查询,所述DNS查询包括:UE IP地址和FQDN。S601b: The terminal sends a DNS query, which includes: UE IP address and FQDN.
S602:EASDF收到终端的DNS查询以后,发送Neasdf_DNSContext_Notify Request到SMF,用于通知SMF待查询的FQDN,同时请求SMF下发DNS message handling rule。所述的这个处理规则,主要是SMF指示EASDF应该将这个DNS查询发送至哪个DNS server。S602: After EASDF receives the DNS query from the terminal, it sends Neasdf_DNSContext_Notify Request to SMF to notify SMF of the FQDN to be queried, and also requests SMF to issue DNS message handling rules. The processing rule described is mainly that SMF instructs EASDF to which DNS server the DNS query should be sent.
S603:SMF发送一个响应(response),表明收到EASDF的请求。S603: SMF sends a response indicating receipt of the EASDF request.
以下,S604开始到S611为SMF采集UE的目标信息的过程,通过这些信息,SMF可以确定需要给这个终端的DNS查询使用与其它UE同一套DNS message handling rules。Next, S604 starts to S611 and collects the target information of the UE for the SMF. Through this information, the SMF can determine that the DNS query for this terminal needs to use the same set of DNS message handling rules as for other UEs.
S604到S606:SMF从UDM获得UE的签约数据。S604 to S606: SMF obtains the UE's subscription data from UDM.
S604:SMF发送Nudm_SDM_Get或Nudm_SDM_Subscribe以恢复终端的签约信息,其中输入参数包括:UE SUPI。所述签约信息是指,当前终端可以使用运营商提供的增值服务,即:可以为所述终端选择相同的EAS IP地址。S604: SMF sends Nudm_SDM_Get or Nudm_SDM_Subscribe to restore the terminal's subscription information, where the input parameters include: UE SUPI. The contract information means that the current terminal can use the value-added services provided by the operator, that is, the same EAS IP address can be selected for the terminal.
S605:UDM返回响应,指示接收到请求。S605: UDM returns a response indicating that the request was received.
S606:UDM可以发送UE的签约信息给SMF。UDM保存的该UE的签约信息为:只有当前UE被授权可以使用同一个EAS,SMF才能给其进行优化。S606: The UDM can send the UE's subscription information to the SMF. The subscription information of the UE saved by UDM is: Only when the current UE is authorized to use the same EAS can SMF optimize it.
S607到S609:SMF从AMF获取UE的位置。这个UE的位置,主要是UE在RAN侧的位置。如果几个终端都从一个RAN或者一组规定的RAN接入到5GC或者EASDF,则SMF是可以视为这几个终端在一个位置范围内,为他们配置相同的DNS message handling rule。S607 to S609: SMF obtains the location of the UE from the AMF. The location of this UE is mainly the location of the UE on the RAN side. If several terminals access 5GC or EASDF from a RAN or a set of specified RANs, SMF can regard these terminals as being within a location range and configure the same DNS message handling rule for them.
S607:SMF从AMF恢复UE的位置信息:Namf_EventExposure_Subscribe,输出参数中,Event ID=Location Report.S607: SMF restores the UE's location information from AMF: Namf_EventExposure_Subscribe, in the output parameter, Event ID=Location Report.
S608:AMF发送响应。S608: AMF sends response.
S609:AMF发送UE的位置给SMF,其中最主要的位置信息为:Cell ID和TAI,例如,可以通过信令Namf_EventExposure_Notify将UE的位置发送给SMF。S609: AMF sends the UE's location to SMF. The most important location information is: Cell ID and TAI. For example, the UE's location can be sent to SMF through signaling Namf_EventExposure_Notify.
SMF可以设定一个规则,比如,当UE所在的UE位置,比如,cell ID或TAI等,在一个范围内的时候,都视为这些UE可以使用同一个EAS。SMF can set a rule. For example, when the UE location of the UE, such as cell ID or TAI, etc., is within a range, these UEs are deemed to be able to use the same EAS.
比如说,对于Cell ID=1到10、TAI=1到10的终端,均视为在相近的位置,可以使用同一个EAS或者相同的DNS message handling rule。For example, terminals with Cell ID=1 to 10 and TAI=1 to 10 are considered to be in similar locations and can use the same EAS or the same DNS message handling rule.
也可以提供终端所接入的基站的标识符,例如,gNB ID作为位置信息。The identifier of the base station accessed by the terminal, for example, gNB ID, can also be provided as location information.
S610:SMF确定服务UE的UPF ID(比如,PSA ID),以及DNAI。S610: The SMF determines the UPF ID (for example, PSA ID) and DNAI of the serving UE.
SMF可以直接获取到这些信息,无需查找其他网元。SMF can directly obtain this information without searching for other network elements.
S611:SMF采集完UE的目标信息后,SMF执行判决规则,判断是否需要给终端配置相同的DNS消息处理规则或发送相同的DNS响应。S611: After the SMF collects the target information of the UE, the SMF executes the decision rules to determine whether the same DNS message processing rules need to be configured for the terminal or the same DNS response needs to be sent.
S612:在SMF认定需要给该UE的DNS查询选择与其它终端相同的DNS message handling rule,则SMF则发送一个更新(update)到EASDF,更新该 UE的本次DNS查询的规则:使用相同的ECS option或相同的local DNS server IP地址。S612: When the SMF determines that it is necessary to select the same DNS message handling rule for the UE's DNS query as that of other terminals, the SMF sends an update to the EASDF to update the The rules for this DNS query of the UE: use the same ECS option or the same local DNS server IP address.
例如,SMF可以使用信令:Neasdf_DNSContext_Update Request(DNS message handling rules),该信令中可以携带:For example, SMF can use signaling: Neasdf_DNSContext_Update Request (DNS message handling rules), which can carry:
基线DNS处理操作信息(Baseline DNS handling actions information):Baseline DNS handling actions information:
其中的基线DNS处理操作ID(Baseline DNS handling actions ID)可以包括:The baseline DNS handling actions ID (Baseline DNS handling actions ID) can include:
-ECS option;-ECS option;
-Local DNS server IP address。-Local DNS server IP address.
这里发送的就是指示EASDF如何处理该UE的DNS查询。由于这些UE都要使用一个EAS,则按照完全相同的处理规则即可实现查询到同一个EAS。What is sent here is to instruct EASDF how to handle the DNS query of the UE. Since these UEs all use one EAS, the same EAS can be queried according to exactly the same processing rules.
使用相同的DNS消息处理规则,是实现选择同一个EAS的实现方法。Using the same DNS message processing rules is an implementation method for selecting the same EAS.
S613:EASDF返回响应。S613: EASDF returns a response.
S614:EASDF将UE的DNS查询以一个规则发给DNS server。其中,满足条件的所有UE的这些DNS查询都被以相同的DNS message handling rule发给相同的DNS服务器。S614: EASDF sends the UE's DNS query to the DNS server in a rule. Among them, these DNS queries of all UEs that meet the conditions are sent to the same DNS server with the same DNS message handling rule.
S615:DNS服务器向EASDF返回DNS响应,其中,DNS服务器向满足条件的所有UE返回的DNS响应中携带的EAS IP地址相同。S615: The DNS server returns a DNS response to the EASDF, where the EAS IP addresses carried in the DNS responses returned by the DNS server to all UEs that meet the conditions are the same.
可选地,DNS响应中可以携带多个EAS IP地址,每个IP地址对应一个优先级,UE可以根据优先级逐个接入。Optionally, the DNS response can carry multiple EAS IP addresses, each IP address corresponds to a priority, and the UE can access one by one according to the priority.
S616,EASDF向SMF发送Neasdf_DNSContext_Notify请求。该请求用于通知SMF为该终端的DNS查询,所返回的DNS响应。主要是上报EAS IP地址给SMF。S616, EASDF sends a Neasdf_DNSContext_Notify request to SMF. This request is used to notify SMF of the DNS query for the terminal and the returned DNS response. The main purpose is to report the EAS IP address to SMF.
S617,SMF向EASDF返回Neasdf_DNSContext_Notify响应。S617, SMF returns Neasdf_DNSContext_Notify response to EASDF.
S618,在EAS IP地址确定的情况下,SMF选择PSA。S618, when the EAS IP address is determined, SMF selects PSA.
S619,EASDF向UE发送DNS响应。S619, EASDF sends a DNS response to the UE.
在本申请实施例中,SMF可以将DNS消息处理规则指示给多个EASDF。然后,多个EASDF共享这个处理规则,用于为多个终端,保证选择或使用同一个EAS。In this embodiment of the present application, the SMF can indicate DNS message processing rules to multiple EASDFs. Then, multiple EASDFs share this processing rule to ensure that the same EAS is selected or used for multiple terminals.
图7示出本申请实施例提供的DNS查询响应方法的又一种流程示意图,如图7所示,该方法700主要包括以下步骤。Figure 7 shows another schematic flow chart of the DNS query response method provided by the embodiment of the present application. As shown in Figure 7, the method 700 mainly includes the following steps.
S701a-S710,与S601a-S610相同。S701a-S710, the same as S601a-S610.
S711:SMF根据条件判断为UE的DNS查询直接反馈EAS IP地址,直接反馈DNS响应,即不需要再查询DNS server。S711: The SMF determines based on the conditions that the UE's DNS query directly feeds back the EAS IP address and directly feeds back the DNS response, that is, there is no need to query the DNS server.
S712:SMF发送一个update到EASDF,指示EASDF直接发送DNS response给这个UE,同时,给EASDF发送EAS IP地址。这时候,SMF需要指定,在DNS响应中,发送哪个EAS IP地址给终端。具体选择哪个EAS IP地址,可以由SMF进行决定。S712: SMF sends an update to EASDF, instructing EASDF to directly send a DNS response to the UE, and at the same time, sends the EAS IP address to EASDF. At this time, SMF needs to specify which EAS IP address to send to the terminal in the DNS response. The specific EAS IP address to choose can be decided by SMF.
即SMF指示EASDF如何处理该UE的DNS查询。由于该UE与其它 UE需要使用一个EAS,因此,直接向UE发送IP地址即可,视为查询到同一个EAS。That is, SMF instructs EASDF how to handle the UE's DNS query. Since the UE is different from other The UE needs to use an EAS, so just send the IP address directly to the UE, which is regarded as querying the same EAS.
S713:EASDF返回响应。S713: EASDF returns a response.
S717:EASDF向UE发送DNS响应,该DNS响应携带有SMF指示的EAS IP地址。S717: EASDF sends a DNS response to the UE, and the DNS response carries the EAS IP address indicated by SMF.
在本申请实施例中,SMF可以将发送DNS response的处理方式指示给多个EASDF。In the embodiment of this application, the SMF can instruct multiple EASDFs on the processing method of sending DNS responses.
图8示出本申请实施例中的终端组的配置方法的另一种流程示意图,如图8所示,该方法800主要包括以下步骤。Figure 8 shows another schematic flowchart of the terminal group configuration method in the embodiment of the present application. As shown in Figure 8, the method 800 mainly includes the following steps.
S801:AF提供针对特定的UE的位置或FQDN等信息,指示DNS消息处理规则(DNS message handling rule)或EAS IP地址。S801: AF provides information such as the location or FQDN of a specific UE, indicating the DNS message handling rule (DNS message handling rule) or EAS IP address.
具体地,AF考虑应该为一组UE的DNS查询,选择同一个EAS或者使用相同的DNS message handling rule,比如,所述DNS查询包括相同的FQDN,或所述终端在相同的位置下。AF提供目标DNS消息处理规则(DNS message handling rule)或目标EAS IP地址,具体地,AF可以设置对应的以下条件:Specifically, AF considers that DNS queries for a group of UEs should select the same EAS or use the same DNS message handling rule. For example, the DNS queries include the same FQDN, or the terminals are in the same location. AF provides target DNS message handling rules (DNS message handling rules) or target EAS IP addresses. Specifically, AF can set the following conditions:
(一)UE的位置:当UE位置相近的时候,视为选同一个EAS服务。其中,在以下条件下,可以认为UE位置相近:(1) UE location: When the UE location is close, it is deemed to have selected the same EAS service. Among them, the UEs can be considered to be in close proximity under the following conditions:
(1)相同的DNAI。(1) Same DNAI.
(2)相同UE IP地址段。(2) The same UE IP address segment.
(3)UE从一组RAN接入进来(比如,TAI列表(list),cell ID),尤其是场馆业务,通过附近几个相近的基站接进来,可以视为是一组终端。(3) UE accesses from a group of RAN (for example, TAI list, cell ID), especially venue services. It accesses through several nearby base stations and can be regarded as a group of terminals.
(4)服务UE的PDU会话锚点(PDU Session Anchor,PSA)为同一个。因为如果服务多个UE的UPF为同一个UPF,则认为多个UE接入到同一个DN。(4) The PDU Session Anchor (PSA) serving the UE is the same. Because if the UPF serving multiple UEs is the same UPF, multiple UEs are considered to access the same DN.
(二)相同的数据网络名(Data Network Name,DNN)(2) The same Data Network Name (DNN)
(三)相同的单一网络切片选择辅助信息(Single Network Slice Selection Assistance Information,S-NSSAI)。(3) The same single network slice selection assistance information (Single Network Slice Selection Assistance Information, S-NSSAI).
(四)FQDN,只有预设的FQDN可以享受这个服务。(4) FQDN, only the default FQDN can enjoy this service.
(五)UE签约信息。(5) UE contract information.
(六)网络数据分析功能(Network Data Analytics Function,NWDAF)的分析。(6) Analysis of Network Data Analytics Function (NWDAF).
如果上述条件至少一项满足,则AF提供对应的配置如下:If at least one of the above conditions is met, AF provides the corresponding configuration as follows:
-目标DNS消息处理规则(主要是DNS查询转发的机制,包括:使用相同的ECS option;或者,把DNS查询转发至相同的local DNS server IP)-Target DNS message processing rules (mainly the mechanism for forwarding DNS queries, including: using the same ECS option; or forwarding DNS queries to the same local DNS server IP)
-目标EAS IP地址,即,发送相同的EAS IP地址给这些终端。所述DNS响应就包括这些终端应该使用的相同EAS。- Target EAS IP address, i.e., send the same EAS IP address to these terminals. The DNS response includes the same EAS that these endpoints should use.
S802:NEF验证本次AF的请求是否合法。S802: NEF verifies whether this AF request is legal.
S803:以验证合法的情况下,NEF将AF发来的这些信息(在本申请中称为终端组的EAS部署信息,也可以称之为其它信息名称)保存到UDR。 例如,NEF可以通过信令:Nudr_DM_Create或Nudr_DM_Update将这些信息保存到UDR。其中,保存形式如表1所示,当然,并不限于此,只要可以明确保存的位置即可。S803: Under the condition of verification that it is legal, NEF saves the information sent by AF (called the EAS deployment information of the terminal group in this application, and may also be called other information names) to the UDR. For example, NEF can save this information to UDR through signaling: Nudr_DM_Create or Nudr_DM_Update. The storage format is as shown in Table 1. Of course, it is not limited to this, as long as the storage location can be clearly defined.
表1
Table 1
S804:UDR向NEF发送响应。S804: UDR sends response to NEF.
S805:NEF向AF发送响应。S805: NEF sends a response to AF.
SMF可以从UDR中恢复这些信息,进而可以基于这些信息判决对于一些UE的DNS查询是否需要选择同一个EAS或者相同的DNS消息处理规则。SMF can recover this information from the UDR, and then decide based on this information whether the same EAS or the same DNS message processing rules need to be selected for DNS queries of some UEs.
S806:SMF恢复UDR中的信息,即从UDR中获取保存的上述信息。例如,SMF可以使用的信令:Nnef_EASDeployment_Subscribe到NEF从UDR中获取上述信息。S806: SMF restores the information in the UDR, that is, obtains the above saved information from the UDR. For example, SMF can use the signaling: Nnef_EASDeployment_Subscribe to NEF to obtain the above information from the UDR.
SMF可以在接收EASDF发送的DNS查询进行处理方式的请求时,恢复UDR中的信息,例如,SMF可以获取发送DNS查询的终端所在区域的EAS IP地址或处理规则。SMF can restore the information in the UDR when receiving a request for a processing method for a DNS query sent by EASDF. For example, SMF can obtain the EAS IP address or processing rules in the area where the terminal that sends the DNS query is located.
或者,SMF也可以在空闲的时候,恢复UDR中的信息。Alternatively, SMF can also restore the information in the UDR when it is idle.
S807:NEF向SMF发送响应。S807: NEF sends response to SMF.
S808:NEF向SMF通知上述的信息,例如,通过Nnef_EASDeployment_Notify向SMF通知上述的信息。即SMF订阅NEF以后,让NEF从UDR里获取上述的信息。S808: NEF notifies SMF of the above information. For example, NEF notifies SMF of the above information through Nnef_EASDeployment_Notify. That is, after SMF subscribes to NEF, let NEF obtain the above information from UDR.
S809:SMF向AF发送通知响应。S809: SMF sends a notification response to AF.
S810:SMF获得特定条件(例如,特定区域、特定FQDN)对应的目标DNS消息处理规则或目标EAS IP地址。S810: SMF obtains the target DNS message processing rule or target EAS IP address corresponding to specific conditions (for example, specific region, specific FQDN).
图9示出申请实施例中的DNS查询方法的一种流程图,在本申请实施例中,对UE的执行流程进行优化,从而使得UE能够根据FQDN等区分出需要发送给EASDF的DNS查询,以及需要直接发给local DNS server的DNS查询。如图9所示,该方法900主要包括以下步骤。Figure 9 shows a flow chart of the DNS query method in the embodiment of the application. In the embodiment of the application, the execution process of the UE is optimized, so that the UE can distinguish the DNS query that needs to be sent to the EASDF based on FQDN, etc., And DNS queries that need to be sent directly to the local DNS server. As shown in Figure 9, the method 900 mainly includes the following steps.
S901a,可选地,为建立UE的PDU会话。S901a: Optionally, establish a PDU session of the UE.
S901b,上行分类器(Uplink Classifier,UL CL)/分支点(Branching point,BP)插入了UE可以访问本地的本地DNS服务器。S901b, the uplink classifier (UL CL)/branching point (Branching point, BP) is inserted into the local DNS server that the UE can access locally.
S902,SMF通过NAS消息向UE(或者UE操作系统(Operating System,OS),UE EDC,边缘发现功能(edge discovery function))发送以如下内容:条件信息,例如,至少一个目标FQDN、UE位置条件信息以及EASDF IP地址等。S902, SMF sends the following content to the UE (or UE operating system (OS), UE EDC, edge discovery function (edge discovery function)) through the NAS message: condition information, for example, at least one target FQDN, UE location condition Information and EASDF IP address, etc.
也就是说,SMF告诉UE,当UE位于这一个位置下,且UE发送的DNS 查询中是规定的FQDN的时候,则UE(或者EDC)需要把DNS查询发给EASDF,而不是local DNS server。In other words, SMF tells the UE that when the UE is in this location and the DNS sent by the UE When the query contains the specified FQDN, the UE (or EDC) needs to send the DNS query to EASDF instead of the local DNS server.
这相当于,UE内部保存了多套DNS server IP地址。This is equivalent to storing multiple sets of DNS server IP addresses inside the UE.
-当UE在特定区域,且发送的DNS查询中的FQDN为列表中的域名,则使用EASDF;-When the UE is in a specific area and the FQDN in the DNS query sent is a domain name in the list, EASDF is used;
-如果不是,则使用local DNS server。-If not, the local DNS server is used.
或者,另一种场景,所述当UE在特定区域,且发送的DNS查询中的FQDN为列表中的域名,则使用local DNS server,这种保证了符合条件的终端,都发送DNS查询给同一个local DNS服务器。Or, in another scenario, when the UE is in a specific area and the FQDN in the DNS query sent is a domain name in the list, the local DNS server is used. This ensures that all qualified terminals send DNS queries to the same server. A local DNS server.
所述SMF,在S902给UE之前,还需要给UL CL配置一个N4规则:当UE发的DNS查询,目的IP地址是到EASDF的时候,UL CL把这个DNS查询路由给EASDF(通过C-PSA路由,即,中心用户面路由)。The SMF needs to be configured with an N4 rule for the UL CL before S902 is given to the UE: when the UE sends a DNS query with the destination IP address to EASDF, the UL CL routes the DNS query to EASDF (via C-PSA routing, that is, central user plane routing).
S903,UE向SMF返回响应。S903. The UE returns a response to the SMF.
S904a和S905a,在不满足条件的FQDN和UE位置下,UE的DNS查询通过UL CL/BP到L-PSA,再发送到本地DNS服务器,本地DNS服务器进行反馈。S904a and S905a, when the FQDN and UE location do not meet the conditions, the UE's DNS query is sent to the L-PSA through UL CL/BP, and then sent to the local DNS server, and the local DNS server provides feedback.
S904b和S905b,在满足条件的FQDN和UE位置下,UE的DNS查询通过UL CL/BP到C-PSA,再发送到EASDF,由EASDF按照上述方法600或方法700实施例所述的方法进行反馈。S904b and S905b, under the FQDN and UE location that meet the conditions, the UE's DNS query is sent to C-PSA through UL CL/BP, and then sent to EASDF, and EASDF provides feedback according to the method described in the above method 600 or method 700 embodiment. .
在本申请实施例中,在网络侧为多终端选择同一个EAS之后,如果发生了EAS切换,则网络侧也要进行相应的措施保障。图10示出本申请实施例中一种EAS切换方法的流程示意图,如图10所示,该方法主要包括以下步骤。In the embodiment of this application, after the network side selects the same EAS for multiple terminals, if an EAS switch occurs, the network side must also take corresponding measures to ensure it. Figure 10 shows a schematic flow chart of an EAS switching method in an embodiment of the present application. As shown in Figure 10, the method mainly includes the following steps.
S1001,为UE建立一个PDU会话。S1001. Establish a PDU session for the UE.
S1002,发现一个EAS IP地址(源EAS IP地址)。S1002, discover an EAS IP address (source EAS IP address).
具体地,可以通过上述方法600或方法700实施例中所述的方法,为UE发现一个EAS IP地址。Specifically, an EAS IP address can be discovered for the UE through the method described in the above method 600 or method 700 embodiment.
S1003,UE与EAS之前通过远端PSA进行上行传输(源IP地址为UE的IP地址,目标IP地址为源EAS IP地址)和下行传输(源IP地址为源EAS IP地址,目标IP地址为UE的IP地址)。S1003, the UE and the EAS previously performed uplink transmission (the source IP address is the IP address of the UE, and the target IP address is the source EAS IP address) and downlink transmission (the source IP address is the source EAS IP address, and the target IP address is the UE) through the remote PSA. IP address).
S1004,AF或5G核心网(5GC)触发EAS IP地址替换过程。S1004, AF or 5G core network (5GC) triggers the EAS IP address replacement process.
S1005,UPF将UE发送的上行传输中的源EAS IP地址替换为新的EAS IP地址,将下行传输中的新的EAS IP地址替换为源EAS IP地址。S1005, UPF replaces the source EAS IP address in the uplink transmission sent by the UE with the new EAS IP address, and replaces the new EAS IP address in the downlink transmission with the source EAS IP address.
或者,也可以执行EAS重定位,例如,如果AF触发重定位(relocation),比如,EAS负载均衡,则可以AF更新EAS的IP地址到5GC;然后,让UE重新进行一次DNS查询即可,然后可以采用方法600或方法700实施例的描述,为UE选择EAS。又例如,如果UE移动触发重定位,则UE可以到新的位置以后,再查询DNS,然后采用方法600或700使用新的DNS消息处理规则或EAS IP地址。 Alternatively, EAS relocation can also be performed. For example, if AF triggers relocation (relocation), for example, EAS load balancing, you can AF update the IP address of EAS to 5GC; then, let the UE perform a DNS query again, and then The description of the method 600 or the method 700 embodiment may be used to select an EAS for the UE. For another example, if the UE moves and triggers relocation, the UE can query DNS after arriving at the new location, and then use method 600 or 700 to use new DNS message processing rules or EAS IP addresses.
这种方法说明,AF提供一个EAS IP地址,用于替换多个终端的目的EAS IP地址。这样也一定程度实现了为多个终端,选择同一个EAS。This method illustrates that AF provides an EAS IP address to replace the destination EAS IP addresses of multiple terminals. This also enables the selection of the same EAS for multiple terminals to a certain extent.
本申请实施例提供的边缘应用服务器选择的指示方法,执行主体可以为边缘应用服务器选择的指示装置。本申请实施例中以边缘应用服务器选择的指示装置执行边缘应用服务器选择的指示方法为例,说明本申请实施例提供的边缘应用服务器选择的指示装置。For the instructing method for edge application server selection provided by the embodiment of the present application, the execution subject may be an instructing device for edge application server selection. In this embodiment of the present application, the instruction device for edge application server selection is used as an example to illustrate the instruction method for edge application server selection.
图11示出本申请实施例提供的边缘应用服务器选择的指示装置的一种结构示意图,如图11所示,该装置主要包括:第一接收模块1101和第一发送模块1102。Figure 11 shows a schematic structural diagram of an edge application server selection instructing device provided by an embodiment of the present application. As shown in Figure 11, the device mainly includes: a first receiving module 1101 and a first sending module 1102.
在本申请实施例中,第一接收模块1101,用于接收第二网络侧设备发送的第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的域名系统DNS查询进行处理的方式;第一发送模块1102,用于根据所述第一终端的目标信息,向所述第二网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS,所述目标处理方式包括以下之一:使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。In this embodiment of the present application, the first receiving module 1101 is used to receive a first request sent by a second network side device, wherein the first request is used to request the first network side device to instruct the first terminal to send The way to process DNS queries of the domain name system; the first sending module 1102 is configured to send indication information to the second network side device according to the target information of the first terminal, wherein the indication information is used to indicate the The second network side device uses a target processing method to process the DNS query sent by the first terminal. The target processing method is used to select the same EAS for the first terminal as that of at least one second terminal. The target processing method Including one of the following: using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal; sending a target carrying the EAS address of the target edge application server to the first terminal DNS response, the target EAS address is the same as the EAS address selected for the at least one second terminal.
在一个可能的实现方式中,所述第一终端的目标信息包括以下至少之一:In a possible implementation, the target information of the first terminal includes at least one of the following:
所述第一终端的签约信息;The contract information of the first terminal;
所述第一终端的位置信息;The location information of the first terminal;
所述第一终端的DNS查询中的全限定域名FQDN;The fully qualified domain name FQDN in the DNS query of the first terminal;
所述第一终端所访问的数据网络名DNN;The data network name DNN accessed by the first terminal;
所述第一终端所访问的数据网DN;The data network DN accessed by the first terminal;
所述第一终端的单一网络切片选择辅助信息S-NSSAI。Single network slice selection assistance information S-NSSAI of the first terminal.
在一个可能的实现方式中,所述第一终端的签约信息包括:第一指示,所述第一指示用于指示所述第一终端允许与至少一个第二终端使用同一个EAS。In a possible implementation, the subscription information of the first terminal includes: a first indication, the first indication is used to indicate that the first terminal is allowed to use the same EAS with at least one second terminal.
在一个可能的实现方式中,所述第一终端的位置信息包括以下至少之一:所述第一终端接入的小区标识、所述第一终端所在的跟踪区域、所述第一终端的IP地址、服务所述第一终端的PDU会话锚点PSA、所述第一终端的数据网络接入标识DNAI、第一终端接入的基站标识。In a possible implementation, the location information of the first terminal includes at least one of the following: a cell identity accessed by the first terminal, a tracking area where the first terminal is located, and an IP address of the first terminal. Address, PDU session anchor PSA serving the first terminal, data network access identifier DNAI of the first terminal, and base station identifier accessed by the first terminal.
在一个可能的实现方式中,第一FQDN与第二FQDN相同,其中,所述第一FQDN为所述第一终端的DNS查询中的FQDN,所述第二FQDN为所述至少一个所述第二终端的DNS消息处理规则所应用于的DNS查询中的FQDN。In a possible implementation, the first FQDN and the second FQDN are the same, wherein the first FQDN is the FQDN in the DNS query of the first terminal, and the second FQDN is the at least one first FQDN. 2. The FQDN in the DNS query to which the terminal's DNS message processing rules apply.
在一个可能的实现方式中,所述目标DNS消息处理规则包括以下之一: In a possible implementation, the target DNS message processing rules include one of the following:
目标DNS客户端子网ECS选项;Target DNS client subnet ECS options;
目标本地DNS服务器地址。Target local DNS server address.
在一个可能的实现方式中,所述目标DNS响应中携带有以下至少之一:至少一个目标EAS地址、各个所述目标EAS地址对应的优先级。In a possible implementation, the target DNS response carries at least one of the following: at least one target EAS address and a priority corresponding to each target EAS address.
在一个可能的实现方式中,第一发送模块1102向所述第二网络侧设备发送指示信息,包括:In a possible implementation, the first sending module 1102 sends indication information to the second network side device, including:
根据所述第一终端的目标信息,确定为所述第一终端选择与所述至少一个第二终端相同的EAS;Determine to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal;
向所述第二网络侧设备发送所述指示信息。Send the indication information to the second network side device.
在一个可能的实现方式中,在所述第一接收模块1101还用于包括:所述第一网络侧设备获取所述第一终端的目标信息。In a possible implementation, the first receiving module 1101 is further configured to: the first network side device obtains the target information of the first terminal.
在一个可能的实现方式中,所述第一发送模块1102根据所述第一终端的目标信息,确定为所述第一终端选择与所述至少一个第二终端相同的EAS,包括:In a possible implementation, the first sending module 1102 determines to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal, including:
根据所述第一终端的目标信息,确定所述第一终端属于目标终端组,其中,所述至少一个第二终端属于所述目标终端组;Determine that the first terminal belongs to a target terminal group according to the target information of the first terminal, wherein the at least one second terminal belongs to the target terminal group;
确定为所述第一终端选择与所述至少一个第二终端相同的EAS。It is determined that the same EAS as that of the at least one second terminal is selected for the first terminal.
在一个可能的实现方式中,所述第一发送模块1102根据所述第一终端的目标信息,确定所述第一终端属于目标终端组,包括:In a possible implementation, the first sending module 1102 determines that the first terminal belongs to the target terminal group according to the target information of the first terminal, including:
将所述第一终端的目标信息与所述目标终端组的配置描述信息进行比较;Compare the target information of the first terminal with the configuration description information of the target terminal group;
在确定所述第一终端的目标信息满足所述目标终端组的配置描述信息中至少一项的情况下,确定所述第一终端属于目标终端组;When it is determined that the target information of the first terminal satisfies at least one item of the configuration description information of the target terminal group, determine that the first terminal belongs to the target terminal group;
其中,所述第一终端的目标信息满足所述目标终端组的配置描述信息中至少一项包括以下至少之一:Wherein, the target information of the first terminal satisfies at least one item of the configuration description information of the target terminal group including at least one of the following:
所述第一终端的目标信息与所述目标终端组的配置描述信息中的至少一项相同;The target information of the first terminal is the same as at least one item of the configuration description information of the target terminal group;
所述第一终端的目标信息位于所述目标终端组的配置描述信息中的至少一项的范围内。The target information of the first terminal is located within the scope of at least one item of configuration description information of the target terminal group.
在一个可能的实现方式中,所述目标终端组的配置描述信息包括以下至少之一:In a possible implementation, the configuration description information of the target terminal group includes at least one of the following:
目标签约信息;Target contract information;
目标位置信息;Target location information;
至少一个目标FQDN;At least one target FQDN;
至少一个目标DNN;At least one target DNN;
至少一个目标S-NSSAI。At least one target S-NSSAI.
在一个可能的实现方式中,所述目标签约信息包括:允许与其它终端使用同一个EAS。In a possible implementation, the target subscription information includes: allowing the user to use the same EAS with other terminals.
在一个可能的实现方式中,所述目标位置信息包括以下至少之一:In a possible implementation, the target location information includes at least one of the following:
至少一个目标小区标识; At least one target cell identifier;
至少一个目标跟踪区域标识;At least one target tracking area identifier;
至少一个IP地址段;At least one IP address range;
至少一个目标PSA;At least one target PSA;
至少一个目标DNAI;at least one target DNAI;
至少一个目标基站标识。At least one target base station identifier.
在一个可能的实现方式中,第一接收模块1101还用于获取所述目标终端组的EAS部署信息,其中,所述EAS部署信息包括所述配置描述信息。In a possible implementation, the first receiving module 1101 is also configured to obtain EAS deployment information of the target terminal group, where the EAS deployment information includes the configuration description information.
在一个可能的实现方式中,所述EAS部署信息还包括与所述目标终端组对应的处理方式,所述目标终端组对应的处理方式包括以下之一:In a possible implementation, the EAS deployment information also includes a processing method corresponding to the target terminal group, and the processing method corresponding to the target terminal group includes one of the following:
所述目标终端组中的终端采用的所述目标DNS消息处理规则;The target DNS message processing rules adopted by terminals in the target terminal group;
向所述目标终端组中的终端发送的DNS响应中携带的所述目标EAS地址。The target EAS address carried in the DNS response sent to the terminal in the target terminal group.
在一个可能的实现方式中,所述第一接收模块1101获取所述目标终端组的EAS部署信息,包括:In a possible implementation, the first receiving module 1101 obtains the EAS deployment information of the target terminal group, including:
从第三网络侧设备获取所述目标终端组的EAS部署信息。Obtain EAS deployment information of the target terminal group from the third network side device.
在一个可能的实现方式中,所述第一接收模块1101从第三网络侧设备获取所述目标终端组的EAS部署信息,包括:In a possible implementation, the first receiving module 1101 obtains the EAS deployment information of the target terminal group from the third network side device, including:
使用所述第一终端的目标信息,从所述第三网络侧设备获取所述目标终端组的EAS部署信息。Using the target information of the first terminal, obtain the EAS deployment information of the target terminal group from the third network side device.
在一个可能的实现方式中,第一发送模块1102还用于:In a possible implementation, the first sending module 1102 is also used to:
根据所述EAS部署信息,向所述第一终端发送第一消息,其中,所述第一消息中携带有DNS策略信息,所述DNS策略信息包括以下至少之一:According to the EAS deployment information, a first message is sent to the first terminal, wherein the first message carries DNS policy information, and the DNS policy information includes at least one of the following:
DNS服务器的地址信息,指示所述第一终端将DNS查询发送到所述DNS服务器,所述DNS服务器包括以下至少一项:EASDF;Address information of the DNS server, instructing the first terminal to send a DNS query to the DNS server, where the DNS server includes at least one of the following: EASDF;
条件信息,所述条件信息包括以下至少之一:位置条件信息、至少一个目标FQDN。Condition information, the condition information includes at least one of the following: location condition information, at least one target FQDN.
在一个可能的实现方式中,所述位置条件信息包括以下至少之一:In a possible implementation, the location condition information includes at least one of the following:
至少一个目标小区标识;At least one target cell identifier;
至少一个目标跟踪区域标识;At least one target tracking area identifier;
至少一个IP地址段;At least one IP address range;
至少一个目标PSA;At least one target PSA;
至少一个目标DNAI;at least one target DNAI;
至少一个目标基站标识。At least one target base station identifier.
图12示出本申请实施例提供的DNS查询的响应装置的一种结构示意图,如图12所述,该装置1200主要包括:第二接收模块1201、第二发送模块1202和响应模块1203。Figure 12 shows a schematic structural diagram of a DNS query response device provided by an embodiment of the present application. As shown in Figure 12, the device 1200 mainly includes: a second receiving module 1201, a second sending module 1202 and a response module 1203.
在本申请实施例中,第二接收模块1201,用于接收第一终端发送的第一DNS查询;第二发送模块,用于向所述第一网络侧设备发送第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的DNS查 询进行处理的方式;所述第二接收模块1201,还用于接收所述第一网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS;响应模块1203,用于采用所述目标处理方式,对所述第一DNS查询进行响应;其中,所述目标处理方式包括以下至少一项:使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。In this embodiment of the present application, the second receiving module 1201 is used to receive the first DNS query sent by the first terminal; the second sending module is used to send the first request to the first network side device, wherein the The first request is used to request the first network side device to instruct the DNS query sent by the first terminal. The second receiving module 1201 is also used to receive the instruction information sent by the first network side device, wherein the instruction information is used to instruct the second network side device to use the target processing method to process the query. The DNS query sent by the first terminal is processed, and the target processing method is used to select the same EAS for the first terminal as that of at least one second terminal; the response module 1203 is used to use the target processing method to process the Respond to the first DNS query; wherein the target processing method includes at least one of the following: using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal; The first terminal sends a target DNS response carrying a target edge application server EAS address, where the target EAS address is the same as the EAS address selected for the at least one second terminal.
在一个可能的实现方式中,所述响应模块1203采用所述目标处理方式,对所述第一DNS查询进行响应,包括:In a possible implementation, the response module 1203 adopts the target processing method to respond to the first DNS query, including:
使用所述目标DNS消息处理规则,向目标DNS服务器发送第二DNS查询,其中,所述目标DNS服务器与所述至少一个第二终端对应的DNS服务器相同;Using the target DNS message processing rules, send a second DNS query to a target DNS server, where the target DNS server is the same as the DNS server corresponding to the at least one second terminal;
接收所述目标DNS服务器返回的第一DNS响应,其中,所述第一DNS响应中携带有至少一个EAS地址;Receive the first DNS response returned by the target DNS server, wherein the first DNS response carries at least one EAS address;
所述第二网络侧设备向所述第一终端返回所述第一DNS响应。The second network side device returns the first DNS response to the first terminal.
在一个可能的实现方式中,所述第二DNS查询中携带有目标ECS选项,所述目标ECS选项与所述至少一个第二终端对应的ECS选项相同,或者,所述第二DNS查询中携带有目标本地DNS服务器地址,所述目标本地DNS服务器与所述至少一个第二终端对应的本地DNS服务器地址相同。In a possible implementation, the second DNS query carries a target ECS option, and the target ECS option is the same as the ECS option corresponding to the at least one second terminal, or the second DNS query carries There is a target local DNS server address, and the target local DNS server is the same as the local DNS server address corresponding to the at least one second terminal.
在一个可能的实现方式中,所述第一DNS响应中携带有多个EAS地址以及各个所述EAS地址对应的优先级。In a possible implementation, the first DNS response carries multiple EAS addresses and priorities corresponding to each of the EAS addresses.
在一个可能的实现方式中,响应模块1203采用所述目标处理方式,对所述第一DNS查询进行响应,包括:向所述第一终端发送第二DNS响应,其中,所述第二DNS响应中携带有所述目标EAS地址。In a possible implementation, the response module 1203 uses the target processing method to respond to the first DNS query, including: sending a second DNS response to the first terminal, where the second DNS response contains the target EAS address.
图13示出本申请实施例提供的终端组的配置方法的一种结构示意图,如图13所示,该装置1300主要包括:确定模块1301和第三发送模块1302。Figure 13 shows a schematic structural diagram of a terminal group configuration method provided by an embodiment of the present application. As shown in Figure 13, the device 1300 mainly includes: a determination module 1301 and a third sending module 1302.
在本申请实施例中,确定模块1301,用于根据预设规则,确定目标终端组的EAS部署信息,其中,所述预设规则指示需要为所述目标终端组中的终端选择相同的EAS;第三发送模块1302,用于向第三网络侧设备发送所述目标终端组的EAS部署信息。In this embodiment of the present application, the determination module 1301 is configured to determine the EAS deployment information of the target terminal group according to preset rules, wherein the preset rules indicate that the same EAS needs to be selected for the terminals in the target terminal group; The third sending module 1302 is configured to send the EAS deployment information of the target terminal group to the third network side device.
在一个可能的实现方式中,所述预设规则包括以下至少之一:In a possible implementation, the preset rules include at least one of the following:
为具有目标签约信息的终端选择相同的EAS;Select the same EAS for terminals with target subscription information;
为位置相近的终端选择相同的EAS;Select the same EAS for terminals located in close proximity;
为访问相同的DNN的终端选择相同的EAS;Select the same EAS for terminals accessing the same DNN;
为访问相同的DN的终端选择相同的EAS;Select the same EAS for terminals accessing the same DN;
为查询目标FQDN的终端选择相同的EAS;Select the same EAS for the terminal querying the target FQDN;
为具有目标S-NSSAI的终端选择相同的EAS。 Select the same EAS for the terminal with target S-NSSAI.
在一个可能的实现方式中,所述EAS部署信息包括所述目标终端组的配置描述信息,所述配置描述信息包括以下至少之一:In a possible implementation, the EAS deployment information includes configuration description information of the target terminal group, and the configuration description information includes at least one of the following:
目标签约信息;Target contract information;
目标位置信息;Target location information;
至少一个目标FQDN;At least one target FQDN;
至少一个目标DNN;At least one target DNN;
至少一个目标S-NSSAI。At least one target S-NSSAI.
在一个可能的实现方式中,所述目标位置信息包括以下至少之一:In a possible implementation, the target location information includes at least one of the following:
至少一个目标小区标识;At least one target cell identifier;
至少一个目标跟踪区域标识;At least one target tracking area identifier;
至少一个IP地址段;At least one IP address range;
至少一个目标PSA;At least one target PSA;
至少一个目标DNAI;at least one target DNAI;
至少一个目标基站标识。At least one target base station identifier.
在一个可能的实现方式中,所述目标签约信息包括:允许与其它终端使用同一个EAS。In a possible implementation, the target subscription information includes: allowing the user to use the same EAS with other terminals.
在一个可能的实现方式中,所述EAS部署信息还包括与所述目标终端组对应的处理方式,所述目标终端组对应的处理方式包括以下之一:In a possible implementation, the EAS deployment information also includes a processing method corresponding to the target terminal group, and the processing method corresponding to the target terminal group includes one of the following:
所述目标终端组中的终端采用的所述目标DNS消息处理规则;The target DNS message processing rules adopted by terminals in the target terminal group;
向所述目标终端组中的终端发送的DNS响应中携带的所述目标EAS地址。The target EAS address carried in the DNS response sent to the terminal in the target terminal group.
在一个可能的实现方式中,所述目标DNS消息处理规则包括以下之一:目标ECS选项、目标本地DNS服务器地址。In a possible implementation, the target DNS message processing rules include one of the following: target ECS options, target local DNS server address.
在一个可能的实现方式中,确定模块1301还用于:In a possible implementation, the determination module 1301 is also used to:
确定更新所述目标终端组的所述目标EAS地址,和/或,确定更新所述目标终端组的所述目标本地DNS服务器地址;Determine to update the target EAS address of the target terminal group, and/or determine to update the target local DNS server address of the target terminal group;
通知所述目标终端组中的终端重新发起DNS查询。Notify the terminals in the target terminal group to re-initiate DNS query.
图14示出本申请实施例提供的DNS查询装置的一种结构示意图,该装置应用于第一终端,如图14所示,该装置1400主要包括:第三接收模块1401,用于接收第一网络侧设备发送的第一消息,其中,所述第一消息中携带有DNS策略信息;第四发送模块1402,用于根据所述DNS策略信息,向DNS服务器发送DNS查询;其中,所述DNS服务器包括EASDF。Figure 14 shows a schematic structural diagram of a DNS query device provided by an embodiment of the present application. The device is applied to a first terminal. As shown in Figure 14, the device 1400 mainly includes: a third receiving module 1401, used to receive the first The first message sent by the network side device, wherein the first message carries DNS policy information; the fourth sending module 1402 is used to send a DNS query to the DNS server according to the DNS policy information; wherein the DNS The server includes EASDF.
在一个可能的实现方式中,所述DNS策略信息包括以下至少之一:In a possible implementation, the DNS policy information includes at least one of the following:
所述DNS服务器的地址信息;The address information of the DNS server;
条件信息,所述条件信息包括以下至少之一:位置条件信息、至少一个目标FQDN。Condition information, the condition information includes at least one of the following: location condition information, at least one target FQDN.
在一个可能的实现方式中,第四发送模块1402根据所述DNS策略信息,向DNS服务器发送DNS查询,包括:In a possible implementation, the fourth sending module 1402 sends a DNS query to the DNS server according to the DNS policy information, including:
将所述第一终端的目标信息与所述条件信息进行比较; Compare the target information of the first terminal with the condition information;
在确定所述第一终端的目标信息满足所述条件信息中至少一项的情况下,向第二网络侧设备发送DNS查询;When it is determined that the target information of the first terminal satisfies at least one of the condition information, send a DNS query to the second network side device;
其中,所述第一终端的目标信息满足所述条件信息中至少一项包括以下至少之一:Wherein, the target information of the first terminal satisfying at least one of the condition information includes at least one of the following:
所述第一终端的目标信息与所述条件信息中的至少一项相同;The target information of the first terminal is the same as at least one item of the condition information;
所述第一终端的目标信息位于所述条件信息中的至少一项的范围内。The target information of the first terminal is within the scope of at least one item of the condition information.
在一个可能的实现方式中,所述位置条件信息包括以下至少之一:In a possible implementation, the location condition information includes at least one of the following:
至少一个目标小区标识;At least one target cell identifier;
至少一个目标跟踪区域标识;At least one target tracking area identifier;
至少一个IP地址段;At least one IP address range;
至少一个目标PSA;At least one target PSA;
至少一个目标DNAI;at least one target DNAI;
至少一个目标基站标识。At least one target base station identifier.
在一个可能的实现方式中,所述第一终端的目标信息包括以下至少之一:In a possible implementation, the target information of the first terminal includes at least one of the following:
所述第一终端的位置信息;The location information of the first terminal;
所述第一终端的DNS查询中的FQDN;The FQDN in the DNS query of the first terminal;
在一个可能的实现方式中,所述第一终端的位置信息包括以下至少之一:所述第一终端接入的小区标识、所述第一终端所在的跟踪区域、所述第一终端的IP地址、服务所述第一终端的PDU会话锚点PSA、所述第一终端的数据网络接入标识DNAI、所述第一终端接入的基站标识。In a possible implementation, the location information of the first terminal includes at least one of the following: a cell identity accessed by the first terminal, a tracking area where the first terminal is located, and an IP address of the first terminal. Address, PDU session anchor PSA serving the first terminal, data network access identifier DNAI of the first terminal, and base station identifier accessed by the first terminal.
在一个可能的实现方式中,第三接收模块1401还用于接收所述第二网络侧设备返回的DNS响应,其中,所述DNS响应中携带有至少一个EAS地址;接入与所述至少一个EAS地址中的一个EAS地址对应的EAS。In a possible implementation, the third receiving module 1401 is also configured to receive a DNS response returned by the second network side device, wherein the DNS response carries at least one EAS address; access and the at least one The EAS corresponding to one of the EAS addresses.
在一个可能的实现方式中,所述DNS响应中携带有多个EAS地址以及各个所述EAS地址对应的优先级。In a possible implementation, the DNS response carries multiple EAS addresses and priorities corresponding to each of the EAS addresses.
在一个可能的实现方式中,所述第三接收模块1401接入与所述至少一个EAS地址中的一个EAS地址对应的EAS,包括:按照所述多个EAS地址对应的优先级,优先接入优先级高的EAS地址对应的EAS。In a possible implementation, the third receiving module 1401 accesses the EAS corresponding to one of the at least one EAS address, including: priority access according to the priorities corresponding to the multiple EAS addresses. The EAS corresponding to the EAS address with high priority.
在一个可能的实现方式中,第四发送模块1402还用于在所述第一终端的目标信息发生更改的情况下,所述第一终端根据所述DNS策略信息,重新向DNS服务器发送所述DNS查询。In a possible implementation, the fourth sending module 1402 is also configured to re-send the first terminal to the DNS server according to the DNS policy information when the target information of the first terminal changes. DNS query.
可选的,如图15所示,本申请实施例还提供一种通信设备1500,包括处理器1501和存储器1502,存储器1502上存储有可在所述处理器1501上运行的程序或指令,例如,该通信设备1500为网络侧设备时,该程序或指令被处理器1501执行时实现上述边缘应用服务器选择的指示方法实施例的各个步骤,或者实现上述DNS查询的响应方法实施例的各个步骤,或者实现上述终端组的配置方法实施例的各个步骤,且能达到相同的技术效果。该通信设备1500为终端时,该程序或指令被处理器1501执行时实现上述DNS查询方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再 赘述。Optionally, as shown in Figure 15, this embodiment of the present application also provides a communication device 1500, which includes a processor 1501 and a memory 1502. The memory 1502 stores programs or instructions that can be run on the processor 1501, such as , when the communication device 1500 is a network-side device, when the program or instruction is executed by the processor 1501, it implements each step of the above-mentioned edge application server selection instruction method embodiment, or implements each step of the above-mentioned DNS query response method embodiment, Or implement each step of the above terminal group configuration method embodiment, and achieve the same technical effect. When the communication device 1500 is a terminal, when the program or instruction is executed by the processor 1501, each step of the above DNS query method embodiment is implemented, and the same technical effect can be achieved. To avoid duplication, it will not be repeated here. Repeat.
本申请实施例还提供一种终端,包括处理器和通信接口,处理器用于实现上述DNS查询方法实施例的各个步骤,通信接口用于与外部设备进行通信。该终端实施例与上述终端侧方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该终端实施例中,且能达到相同的技术效果。具体地,图16为实现本申请实施例的一种终端的硬件结构示意图。An embodiment of the present application also provides a terminal, including a processor and a communication interface. The processor is used to implement each step of the above DNS query method embodiment, and the communication interface is used to communicate with external devices. This terminal embodiment corresponds to the above-mentioned terminal-side method embodiment. Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this terminal embodiment, and can achieve the same technical effect. Specifically, FIG. 16 is a schematic diagram of the hardware structure of a terminal that implements an embodiment of the present application.
该终端1600包括但不限于:射频单元1601、网络模块1602、音频输出单元1603、输入单元1604、传感器1605、显示单元1606、用户输入单元1607、接口单元1608、存储器1609以及处理器1610等中的至少部分部件。The terminal 1600 includes but is not limited to: a radio frequency unit 1601, a network module 1602, an audio output unit 1603, an input unit 1604, a sensor 1605, a display unit 1606, a user input unit 1607, an interface unit 1608, a memory 1609, a processor 1610, etc. At least some parts.
本领域技术人员可以理解,终端1600还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图16中示出的终端结构并不构成对终端的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the terminal 1600 may also include a power supply (such as a battery) that supplies power to various components. The power supply may be logically connected to the processor 1610 through a power management system, thereby managing charging, discharging, and power consumption through the power management system. Management and other functions. The terminal structure shown in FIG. 16 does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or some components may be combined or arranged differently, which will not be described again here.
应理解的是,本申请实施例中,输入单元1604可以包括图形处理单元(Graphics Processing Unit,GPU)16041和麦克风16042,图形处理器16041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1606可包括显示面板16061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板16061。用户输入单元1607包括触控面板16071以及其他输入设备16072中的至少一种。触控面板16071,也称为触摸屏。触控面板16071可包括触摸检测装置和触摸控制器两个部分。其他输入设备16072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。It should be understood that in the embodiment of the present application, the input unit 1604 may include a graphics processing unit (Graphics Processing Unit, GPU) 16041 and a microphone 16042. The graphics processor 16041 is responsible for the image capture device (GPU) in the video capture mode or the image capture mode. Process the image data of still pictures or videos obtained by cameras (such as cameras). The display unit 1606 may include a display panel 16061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1607 includes a touch panel 16071 and at least one of other input devices 16072. Touch panel 16071, also known as touch screen. The touch panel 16071 may include two parts: a touch detection device and a touch controller. Other input devices 16072 may include but are not limited to physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be described again here.
本申请实施例中,射频单元1601接收来自网络侧设备的下行数据后,可以传输给处理器1610进行处理;另外,射频单元1601可以向网络侧设备发送上行数据。通常,射频单元1601包括但不限于天线、放大器、收发信机、耦合器、低噪声放大器、双工器等。In this embodiment of the present application, after receiving downlink data from the network side device, the radio frequency unit 1601 can transmit it to the processor 1610 for processing; in addition, the radio frequency unit 1601 can send uplink data to the network side device. Generally, the radio frequency unit 1601 includes, but is not limited to, an antenna, amplifier, transceiver, coupler, low noise amplifier, duplexer, etc.
存储器1609可用于存储软件程序或指令以及各种数据。存储器1609可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1609可以包括易失性存储器或非易失性存储器,或者,存储器1609可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous  DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1609包括但不限于这些和任意其它适合类型的存储器。Memory 1609 may be used to store software programs or instructions as well as various data. The memory 1609 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, Image playback function, etc.) etc. Additionally, memory 1609 may include volatile memory or nonvolatile memory, or memory 1609 may include both volatile and nonvolatile memory. Among them, the non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically removable memory. Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (Random Access Memory, RAM), static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDRSDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (Synch link DRAM) , SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DRRAM). Memory 1609 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
处理器1610可包括一个或多个处理单元;可选的,处理器1610集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1610中。The processor 1610 may include one or more processing units; optionally, the processor 1610 integrates an application processor and a modem processor, where the application processor mainly handles operations related to the operating system, user interface, application programs, etc., Modem processors mainly process wireless communication signals, such as baseband processors. It can be understood that the above modem processor may not be integrated into the processor 1610.
其中,射频单元1601,用于接收第一网络侧设备发送的第一消息,其中,所述第一消息中携带有DNS策略信息;The radio frequency unit 1601 is configured to receive the first message sent by the first network side device, where the first message carries DNS policy information;
处理器1610,用于根据所述DNS策略信息,向DNS服务器发送DNS查询;其中,所述DNS服务器包括EASDF。The processor 1610 is configured to send a DNS query to a DNS server according to the DNS policy information; wherein the DNS server includes EASDF.
本申请实施例还提供一种网络侧设备,包括处理器和通信接口,处理器用于实现上述边缘应用服务器选择的指示方法实施例的各个步骤,或者实现上述DNS查询的响应方法实施例的各个步骤,或者实现上述终端组的配置方法实施例的各个步骤,通信接口用于与外部通信设备。该网络侧设备实施例与上述网络侧设备方法实施例对应,上述方法实施例的各个实施过程和实现方式均可适用于该网络侧设备实施例中,且能达到相同的技术效果。Embodiments of the present application also provide a network-side device, including a processor and a communication interface. The processor is used to implement each step of the above-mentioned edge application server selection instruction method embodiment, or to implement each step of the above-mentioned DNS query response method embodiment. , or implement each step of the above terminal group configuration method embodiment, and the communication interface is used to communicate with external devices. This network-side device embodiment corresponds to the above-mentioned network-side device method embodiment. Each implementation process and implementation manner of the above-mentioned method embodiment can be applied to this network-side device embodiment, and can achieve the same technical effect.
具体地,本申请实施例还提供了一种网络侧设备。如图17所示,该网络侧设备1700包括:处理器1701、网络接口1702和存储器1703。其中,网络接口1702例如为通用公共无线接口(common public radio interface,CPRI)。Specifically, the embodiment of the present application also provides a network side device. As shown in Figure 17, the network side device 1700 includes: a processor 1701, a network interface 1702, and a memory 1703. Among them, the network interface 1702 is, for example, a common public radio interface (CPRI).
具体地,本发明实施例的网络侧设备1700还包括:存储在存储器1703上并可在处理器1701上运行的指令或程序,处理器1701调用存储器1703中的指令或程序执行图11-13所示各模块执行的方法,并达到相同的技术效果,为避免重复,故不在此赘述。Specifically, the network side device 1700 in this embodiment of the present invention also includes: instructions or programs stored in the memory 1703 and executable on the processor 1701. The processor 1701 calls the instructions or programs in the memory 1703 to execute the instructions shown in Figures 11-13. It shows the execution method of each module and achieves the same technical effect. To avoid duplication, it will not be repeated here.
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述边缘应用服务器选择的指示方法实施例的各个过程,或者实现上述DNS查询的响应方法实施例的各个过程,或者实现上述终端组的配置方法实施例的各个过程,或者实现上述DNS查询方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a readable storage medium, the readable storage medium stores a program or instructions, and when the program or instructions are executed by the processor, each process of the above edge application server selection instruction method embodiment is implemented. Either implement each process of the above DNS query response method embodiment, or implement each process of the above terminal group configuration method embodiment, or implement each process of the above DNS query method embodiment, and achieve the same technical effect. In order to avoid Repeat, I won’t go into details here.
其中,所述处理器为上述实施例中所述的终端中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。Wherein, the processor is the processor in the terminal described in the above embodiment. The readable storage medium includes computer readable storage media, such as computer read-only memory ROM, random access memory RAM, magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述边缘应用服务器选择的指示方法实施例的各个过程,或者实现上述DNS查询 的响应方法实施例的各个过程,或者实现上述终端组的配置方法实施例的各个过程,或者实现上述DNS查询方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。An embodiment of the present application further provides a chip. The chip includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the above instructions for edge application server selection. Each process of the method embodiment, or implementing the above DNS query Each process of the response method embodiment, or each process of the above terminal group configuration method embodiment, or each process of the above DNS query method embodiment, and can achieve the same technical effect, to avoid duplication, will not be repeated here. Repeat.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
本申请实施例另提供了一种计算机程序/程序产品,所述计算机程序/程序产品被存储在存储介质中,所述计算机程序/程序产品被至少一个处理器执行以实现上述边缘应用服务器选择的指示方法实施例的各个过程,或者实现上述DNS查询的响应方法实施例的各个过程,或者实现上述终端组的配置方法实施例的各个过程,或者实现上述DNS查询方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application further provide a computer program/program product. The computer program/program product is stored in a storage medium. The computer program/program product is executed by at least one processor to implement the above-mentioned selection of the edge application server. Indicates each process of the method embodiment, or implements each process of the above DNS query response method embodiment, or implements each process of the above terminal group configuration method embodiment, or implements each process of the above DNS query method embodiment, and can To achieve the same technical effect, to avoid repetition, we will not repeat them here.
本申请实施例还提供了一种DNS查询系统,包括:终端及网络侧设备,所述终端可用于执行如上所述的DNS查询方法的步骤,所述网络侧设备可用于执行如上述边缘应用服务器选择的指示方法实施例的各个步骤,或者执行如上所述的DNS查询的响应方法的步骤,或者实现上述终端组的配置方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present application also provide a DNS query system, including: a terminal and a network-side device. The terminal can be used to execute the steps of the DNS query method as described above. The network-side device can be used to execute the above-mentioned edge application server. Each step of the selected instruction method embodiment, or the steps of the response method of the DNS query as described above, or the various processes of the above terminal group configuration method embodiment, and can achieve the same technical effect, in order to avoid duplication, I won’t go into details here.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, but may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions may be performed, for example, the methods described may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络侧设备等)执行本申请各个实施例所述的方法。Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus the necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases the former is better. implementation. Based on this understanding, the technical solution of the present application can be embodied in the form of a computer software product that is essentially or contributes to the existing technology. The computer software product is stored in a storage medium (such as ROM/RAM, disk , optical disk), including several instructions to cause a terminal (which can be a mobile phone, computer, server, air conditioner, or network-side device, etc.) to execute the method described in various embodiments of this application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。 The embodiments of the present application have been described above in conjunction with the accompanying drawings. However, the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Inspired by this application, many forms can be made without departing from the purpose of this application and the scope protected by the claims, all of which fall within the protection of this application.

Claims (54)

  1. 一种边缘应用服务器选择的指示方法,包括:An instruction method for edge application server selection, including:
    第一网络侧设备根据第一终端的目标信息,向所述第二网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的边缘应用服务器EAS,所述目标处理方式包括以下之一:The first network side device sends indication information to the second network side device according to the target information of the first terminal, wherein the indication information is used to instruct the second network side device to use a target processing method to process the first The DNS query sent by the terminal is processed. The target processing method is used to select the same edge application server EAS for the first terminal as the at least one second terminal. The target processing method includes one of the following:
    使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;Using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal;
    向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。A target DNS response carrying a target edge application server EAS address is sent to the first terminal, where the target EAS address is the same as the EAS address selected for the at least one second terminal.
  2. 根据权利要求1所述的方法,其中,所述方法还包括:The method of claim 1, further comprising:
    第一网络侧设备接收第二网络侧设备发送的第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的域名系统DNS查询进行处理的方式。The first network side device receives a first request sent by the second network side device, where the first request is used to request the first network side device to indicate a manner of processing the domain name system DNS query sent by the first terminal.
  3. 根据权利要求1或2所述的方法,其中,所述第一终端的目标信息包括以下至少之一:The method according to claim 1 or 2, wherein the target information of the first terminal includes at least one of the following:
    所述第一终端的签约信息;The contract information of the first terminal;
    所述第一终端的位置信息;The location information of the first terminal;
    所述第一终端的DNS查询中的全限定域名FQDN;The fully qualified domain name FQDN in the DNS query of the first terminal;
    所述第一终端所访问的数据网络名DNN;The data network name DNN accessed by the first terminal;
    所述第一终端所访问的数据网DN;The data network DN accessed by the first terminal;
    所述第一终端的单一网络切片选择辅助信息S-NSSAI。Single network slice selection assistance information S-NSSAI of the first terminal.
  4. 根据权利要求3所述的方法,其中,所述第一终端的签约信息包括:第一指示,所述第一指示用于指示所述第一终端允许与至少一个第二终端使用同一个EAS。The method according to claim 3, wherein the subscription information of the first terminal includes: a first indication, the first indication is used to indicate that the first terminal is allowed to use the same EAS with at least one second terminal.
  5. 根据权利要求3所述的方法,其中,所述第一终端的位置信息包括以下至少之一:所述第一终端接入的小区标识、所述第一终端所在的跟踪区域、所述第一终端的IP地址、服务所述第一终端的PDU会话锚点PSA、所述第一终端的数据网络接入标识DNAI、所述第一终端接入的基站标识。The method according to claim 3, wherein the location information of the first terminal includes at least one of the following: a cell identifier accessed by the first terminal, a tracking area where the first terminal is located, the first The IP address of the terminal, the PDU session anchor PSA serving the first terminal, the data network access identifier DNAI of the first terminal, and the base station identifier accessed by the first terminal.
  6. 根据权利要求1或2所述的方法,其中,第一FQDN与第二FQDN相同,其中,所述第一FQDN为所述第一终端的DNS查询中的FQDN,所述第二FQDN为所述至少一个所述第二终端的DNS消息处理规则所应用于的DNS查询中的FQDN。The method according to claim 1 or 2, wherein the first FQDN is the same as the second FQDN, wherein the first FQDN is the FQDN in the DNS query of the first terminal, and the second FQDN is the At least one FQDN in the DNS query to which the DNS message processing rule of the second terminal is applied.
  7. 根据权利要求1或2所述的方法,其中,所述目标DNS消息处理规则包括以下之一:The method according to claim 1 or 2, wherein the target DNS message processing rules include one of the following:
    目标DNS客户端子网ECS选项;Target DNS client subnet ECS options;
    目标本地DNS服务器地址。 Target local DNS server address.
  8. 根据权利要求1或2所述的方法,其中,所述目标DNS响应中携带有以下至少之一:至少一个目标EAS地址、各个所述目标EAS地址对应的优先级。The method according to claim 1 or 2, wherein the target DNS response carries at least one of the following: at least one target EAS address and a priority corresponding to each target EAS address.
  9. 根据权利要求1至8任一项所述的方法,其中,所述第一网络侧设备向所述第二网络侧设备发送指示信息,包括:The method according to any one of claims 1 to 8, wherein the first network side device sends indication information to the second network side device, including:
    所述第一网络侧设备根据所述第一终端的目标信息,确定为所述第一终端选择与所述至少一个第二终端相同的EAS;The first network side device determines to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal;
    所述第一网络侧设备向所述第二网络侧设备发送所述指示信息。The first network side device sends the indication information to the second network side device.
  10. 根据权利要求9所述的方法,其中,在所述第一网络侧设备根据所述第一终端的目标信息,确定为所述第一终端选择与所述至少一个第二终端相同的EAS之前,所述方法还包括:The method according to claim 9, wherein before the first network side device determines to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal, The method also includes:
    所述第一网络侧设备获取所述第一终端的目标信息。The first network side device obtains target information of the first terminal.
  11. 根据权利要求9所述的方法,其中,所述第一网络侧设备根据所述第一终端的目标信息,确定为所述第一终端选择与所述至少一个第二终端相同的EAS,包括:The method according to claim 9, wherein the first network side device determines to select the same EAS for the first terminal as the at least one second terminal according to the target information of the first terminal, including:
    所述第一网络侧设备根据所述第一终端的目标信息,确定所述第一终端属于目标终端组,其中,所述至少一个第二终端属于所述目标终端组;The first network side device determines that the first terminal belongs to a target terminal group based on the target information of the first terminal, wherein the at least one second terminal belongs to the target terminal group;
    所述第一网络侧设备确定为所述第一终端选择与所述至少一个第二终端相同的EAS。The first network side device determines to select the same EAS as the at least one second terminal for the first terminal.
  12. 根据权利要求11所述的方法,其中,所述第一网络侧设备根据所述第一终端的目标信息,确定所述第一终端属于目标终端组,包括:The method according to claim 11, wherein the first network side device determines that the first terminal belongs to the target terminal group according to the target information of the first terminal, including:
    所述第一网络侧设备将所述第一终端的目标信息与所述目标终端组的配置描述信息进行比较;The first network side device compares the target information of the first terminal with the configuration description information of the target terminal group;
    在确定所述第一终端的目标信息满足所述目标终端组的配置描述信息中至少一项的情况下,确定所述第一终端属于目标终端组;When it is determined that the target information of the first terminal satisfies at least one item of the configuration description information of the target terminal group, determine that the first terminal belongs to the target terminal group;
    其中,所述第一终端的目标信息满足所述目标终端组的配置描述信息中至少一项包括以下至少之一:Wherein, the target information of the first terminal satisfies at least one item of the configuration description information of the target terminal group including at least one of the following:
    所述第一终端的目标信息与所述目标终端组的配置描述信息中的至少一项相同;The target information of the first terminal is the same as at least one item of the configuration description information of the target terminal group;
    所述第一终端的目标信息位于所述目标终端组的配置描述信息中的至少一项的范围内。The target information of the first terminal is located within the scope of at least one item of configuration description information of the target terminal group.
  13. 根据权利要求12所述的方法,其中,所述目标终端组的配置描述信息包括以下至少之一:The method according to claim 12, wherein the configuration description information of the target terminal group includes at least one of the following:
    目标签约信息;Target contract information;
    目标位置信息;Target location information;
    至少一个目标FQDN;At least one target FQDN;
    至少一个目标DNN;At least one target DNN;
    至少一个目标S-NSSAI。At least one target S-NSSAI.
  14. 根据权利要求13所述的方法,其中,所述目标签约信息包括:允许 与其它终端使用同一个EAS。The method of claim 13, wherein the target subscription information includes: allow Use the same EAS as other terminals.
  15. 根据权利要求13所述的方法,其中,所述目标位置信息包括以下至少之一:The method of claim 13, wherein the target location information includes at least one of the following:
    至少一个目标小区标识;At least one target cell identifier;
    至少一个目标跟踪区域标识;At least one target tracking area identifier;
    至少一个IP地址段;At least one IP address range;
    至少一个目标PSA;At least one target PSA;
    至少一个目标DNAI;at least one target DNAI;
    至少一个目标基站标识。At least one target base station identifier.
  16. 根据权利要求12所述的方法,其中,在所述第一网络侧设备根据所述第一终端的目标信息,确定所述第一终端属于目标终端组之前,所述方法还包括:The method according to claim 12, wherein before the first network side device determines that the first terminal belongs to the target terminal group according to the target information of the first terminal, the method further includes:
    所述第一网络侧设备获取所述目标终端组的EAS部署信息,其中,所述EAS部署信息包括所述配置描述信息。The first network side device obtains EAS deployment information of the target terminal group, where the EAS deployment information includes the configuration description information.
  17. 根据权利要求16所述的方法,其中,所述EAS部署信息还包括与所述目标终端组对应的处理方式,所述目标终端组对应的处理方式包括以下之一:The method according to claim 16, wherein the EAS deployment information further includes a processing method corresponding to the target terminal group, and the processing method corresponding to the target terminal group includes one of the following:
    所述目标终端组中的终端采用的所述目标DNS消息处理规则;The target DNS message processing rules adopted by terminals in the target terminal group;
    向所述目标终端组中的终端发送的DNS响应中携带的所述目标EAS地址。The target EAS address carried in the DNS response sent to the terminal in the target terminal group.
  18. 根据权利要求16或17所述的方法,其中,所述第一网络侧设备获取所述目标终端组的EAS部署信息,包括:The method according to claim 16 or 17, wherein the first network side device obtains the EAS deployment information of the target terminal group, including:
    所述第一网络侧设备从第三网络侧设备获取所述目标终端组的EAS部署信息。The first network side device obtains the EAS deployment information of the target terminal group from the third network side device.
  19. 根据权利要求18所述的方法,其中,所述第一网络侧设备从第三网络侧设备获取所述目标终端组的EAS部署信息,包括:The method according to claim 18, wherein the first network side device obtains the EAS deployment information of the target terminal group from the third network side device, including:
    所述第一网络侧设备使用所述第一终端的目标信息,从所述第三网络侧设备获取所述目标终端组的EAS部署信息。The first network side device uses the target information of the first terminal to obtain the EAS deployment information of the target terminal group from the third network side device.
  20. 根据权利要求16或17所述的方法,其中,在所述第一网络侧设备获取所述目标终端组的EAS部署信息之后,所述方法还包括:The method according to claim 16 or 17, wherein after the first network side device obtains the EAS deployment information of the target terminal group, the method further includes:
    所述第一网络侧设备根据所述EAS部署信息,向所述第一终端发送第一消息,其中,所述第一消息中携带有DNS策略信息,所述DNS策略信息包括以下至少之一:The first network side device sends a first message to the first terminal according to the EAS deployment information, where the first message carries DNS policy information, and the DNS policy information includes at least one of the following:
    DNS服务器的地址信息,指示所述第一终端将DNS查询发送到所述DNS服务器,所述DNS服务器包括以下至少一项:EASDF;Address information of the DNS server, instructing the first terminal to send a DNS query to the DNS server, where the DNS server includes at least one of the following: EASDF;
    条件信息,所述条件信息包括以下至少之一:位置条件信息、至少一个目标FQDN。Condition information, the condition information includes at least one of the following: location condition information, at least one target FQDN.
  21. 根据权利要求20所述的方法,其中,所述位置条件信息包括以下至少之一: The method according to claim 20, wherein the location condition information includes at least one of the following:
    至少一个目标小区标识;At least one target cell identifier;
    至少一个目标跟踪区域标识;At least one target tracking area identifier;
    至少一个IP地址段;At least one IP address range;
    至少一个目标PSA;At least one target PSA;
    至少一个目标DNAI;at least one target DNAI;
    至少一个目标基站标识。At least one target base station identifier.
  22. 一种DNS查询的响应方法,包括:A response method to a DNS query, including:
    第二网络侧设备接收第一终端发送的第一DNS查询;The second network side device receives the first DNS query sent by the first terminal;
    所述第二网络侧设备接收第一网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS;The second network side device receives instruction information sent by the first network side device, wherein the instruction information is used to instruct the second network side device to process the DNS query sent by the first terminal in a target processing manner, The target processing method is used to select the same EAS for the first terminal as that of at least one second terminal;
    所述第二网络侧设备采用所述目标处理方式,对所述第一DNS查询进行响应;The second network side device adopts the target processing method to respond to the first DNS query;
    其中,所述目标处理方式包括以下至少一项:Wherein, the target processing method includes at least one of the following:
    使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;Using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal;
    向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。A target DNS response carrying a target edge application server EAS address is sent to the first terminal, where the target EAS address is the same as the EAS address selected for the at least one second terminal.
  23. 根据权利要求22所述的方法,其中,所述方法还包括:The method of claim 22, wherein the method further includes:
    所述第二网络侧设备向所述第一网络侧设备发送第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的DNS查询进行处理的方式。The second network side device sends a first request to the first network side device, where the first request is used to request the first network side device to indicate a manner of processing the DNS query sent by the first terminal. .
  24. 根据权利要求22或23所述的方法,其中,所述第二网络侧设备采用所述目标处理方式,对所述第一DNS查询进行响应,包括:The method according to claim 22 or 23, wherein the second network side device adopts the target processing method to respond to the first DNS query, including:
    所述第二网络侧设备使用所述目标DNS消息处理规则,向目标DNS服务器发送第二DNS查询,其中,所述目标DNS服务器与所述至少一个第二终端对应的DNS服务器相同;The second network side device uses the target DNS message processing rule to send a second DNS query to a target DNS server, where the target DNS server is the same as the DNS server corresponding to the at least one second terminal;
    所述第二网络侧设备接收所述目标DNS服务器返回的第一DNS响应,其中,所述第一DNS响应中携带有至少一个EAS地址;The second network side device receives the first DNS response returned by the target DNS server, wherein the first DNS response carries at least one EAS address;
    所述第二网络侧设备向所述第一终端返回所述第一DNS响应。The second network side device returns the first DNS response to the first terminal.
  25. 根据权利要求24所述的方法,其中,The method of claim 24, wherein:
    所述第二DNS查询中携带有目标ECS选项,所述目标ECS选项与所述至少一个第二终端对应的ECS选项相同,或者,The second DNS query carries a target ECS option, and the target ECS option is the same as the ECS option corresponding to the at least one second terminal, or,
    所述第二DNS查询中携带有目标本地DNS服务器地址,所述目标本地DNS服务器与所述至少一个第二终端对应的本地DNS服务器地址相同。The second DNS query carries a target local DNS server address, and the target local DNS server is the same as the local DNS server address corresponding to the at least one second terminal.
  26. 根据权利要求24所述的方法,其中,所述第一DNS响应中携带有多个EAS地址以及各个所述EAS地址对应的优先级。The method according to claim 24, wherein the first DNS response carries multiple EAS addresses and priorities corresponding to each of the EAS addresses.
  27. 根据权利要求22或23所述的方法,其中,所述第二网络侧设备采 用所述目标处理方式,对所述第一DNS查询进行响应,包括:The method according to claim 22 or 23, wherein the second network side device adopts Using the target processing method to respond to the first DNS query includes:
    所述第二网络侧设备向所述第一终端发送第二DNS响应,其中,所述第二DNS响应中携带有所述目标EAS地址。The second network side device sends a second DNS response to the first terminal, where the second DNS response carries the target EAS address.
  28. 一种终端组的配置方法,包括:A terminal group configuration method, including:
    第四网络侧设备根据预设规则,确定目标终端组的EAS部署信息,其中,所述预设规则指示需要为所述目标终端组中的终端选择相同的EAS;The fourth network side device determines the EAS deployment information of the target terminal group according to the preset rules, wherein the preset rules indicate that the same EAS needs to be selected for the terminals in the target terminal group;
    所述第四网络侧设备向第三网络侧设备发送所述目标终端组的EAS部署信息。The fourth network side device sends the EAS deployment information of the target terminal group to the third network side device.
  29. 根据权利要求28所述的方法,其中,所述预设规则包括以下至少之一:The method of claim 28, wherein the preset rules include at least one of the following:
    为具有目标签约信息的终端选择相同的EAS;Select the same EAS for terminals with target subscription information;
    为位置相近的终端选择相同的EAS;Select the same EAS for terminals located in close proximity;
    为访问相同的DNN的终端选择相同的EAS;Select the same EAS for terminals accessing the same DNN;
    为访问相同的DN的终端选择相同的EAS;Select the same EAS for terminals accessing the same DN;
    为查询目标FQDN的终端选择相同的EAS;Select the same EAS for the terminal querying the target FQDN;
    为具有目标S-NSSAI的终端选择相同的EAS。Select the same EAS for the terminal with target S-NSSAI.
  30. 根据权利要求28所述的方法,其中,所述EAS部署信息包括所述目标终端组的配置描述信息,所述配置描述信息包括以下至少之一:The method according to claim 28, wherein the EAS deployment information includes configuration description information of the target terminal group, and the configuration description information includes at least one of the following:
    目标签约信息;Target contract information;
    目标位置信息;Target location information;
    至少一个目标FQDN;At least one target FQDN;
    至少一个目标DNN;At least one target DNN;
    至少一个目标S-NSSAI。At least one target S-NSSAI.
  31. 根据权利要求30所述的方法,其中,所述目标位置信息包括以下至少之一:The method of claim 30, wherein the target location information includes at least one of the following:
    至少一个目标小区标识;At least one target cell identifier;
    至少一个目标跟踪区域标识;At least one target tracking area identifier;
    至少一个IP地址段;At least one IP address range;
    至少一个目标PSA;At least one target PSA;
    至少一个目标DNAI;at least one target DNAI;
    至少一个目标基站标识。At least one target base station identifier.
  32. 根据权利要求30或31所述的方法,其中,所述目标签约信息包括:允许与其它终端使用同一个EAS。The method according to claim 30 or 31, wherein the target subscription information includes: allowing to use the same EAS with other terminals.
  33. 根据权利要求28所述的方法,其中,所述EAS部署信息还包括与所述目标终端组对应的处理方式,所述目标终端组对应的处理方式包括以下之一:The method according to claim 28, wherein the EAS deployment information further includes a processing method corresponding to the target terminal group, and the processing method corresponding to the target terminal group includes one of the following:
    所述目标终端组中的终端采用的所述目标DNS消息处理规则;The target DNS message processing rules adopted by terminals in the target terminal group;
    向所述目标终端组中的终端发送的DNS响应中携带的所述目标EAS地址。 The target EAS address carried in the DNS response sent to the terminal in the target terminal group.
  34. 根据权利要求33所述的方法,其中,所述目标DNS消息处理规则包括以下之一:目标ECS选项、目标本地DNS服务器地址。The method of claim 33, wherein the target DNS message processing rules include one of the following: target ECS options, target local DNS server address.
  35. 根据权利要求34所述的方法,其中,在所述第四网络侧设备向第三网络侧设备发送所述目标终端组的EAS部署信息之后,所述方法还包括:The method according to claim 34, wherein after the fourth network side device sends the EAS deployment information of the target terminal group to the third network side device, the method further includes:
    所述第四网络侧设备确定更新所述目标终端组的所述目标EAS地址,和/或,所述第四网络侧设备确定更新所述目标终端组的所述目标本地DNS服务器地址;The fourth network side device determines to update the target EAS address of the target terminal group, and/or the fourth network side device determines to update the target local DNS server address of the target terminal group;
    所述第四网络侧设备通知所述目标终端组中的终端重新发起DNS查询。The fourth network side device notifies the terminals in the target terminal group to re-initiate DNS query.
  36. 一种DNS查询方法,包括:A DNS query method, including:
    第一终端接收第一网络侧设备发送的第一消息,其中,所述第一消息中携带有DNS策略信息;The first terminal receives the first message sent by the first network side device, where the first message carries DNS policy information;
    所述第一终端根据所述DNS策略信息,向DNS服务器发送DNS查询;其中,所述DNS服务器包括EASDF。The first terminal sends a DNS query to a DNS server according to the DNS policy information; wherein the DNS server includes EASDF.
  37. 根据权利要求36所述的方法,其中,所述DNS策略信息包括以下至少之一:The method according to claim 36, wherein the DNS policy information includes at least one of the following:
    所述DNS服务器的地址信息;The address information of the DNS server;
    条件信息,所述条件信息包括以下至少之一:位置条件信息、至少一个目标FQDN。Condition information, the condition information includes at least one of the following: location condition information, at least one target FQDN.
  38. 根据权利要求37所述的方法,其中,所述第一终端根据所述DNS策略信息,向DNS服务器发送DNS查询,包括:The method according to claim 37, wherein the first terminal sends a DNS query to the DNS server according to the DNS policy information, including:
    所述第一终端将所述第一终端的目标信息与所述条件信息进行比较;The first terminal compares the target information of the first terminal with the condition information;
    在确定所述第一终端的目标信息满足所述条件信息中至少一项的情况下,所述第一终端向第二网络侧设备发送DNS查询;When it is determined that the target information of the first terminal satisfies at least one of the condition information, the first terminal sends a DNS query to the second network side device;
    其中,所述第一终端的目标信息满足所述条件信息中至少一项包括以下至少之一:Wherein, the target information of the first terminal satisfying at least one of the condition information includes at least one of the following:
    所述第一终端的目标信息与所述条件信息中的至少一项相同;The target information of the first terminal is the same as at least one item of the condition information;
    所述第一终端的目标信息位于所述条件信息中的至少一项的范围内。The target information of the first terminal is within the scope of at least one item of the condition information.
  39. 根据权利要求37所述的方法,其中,所述位置条件信息包括以下至少之一:The method according to claim 37, wherein the location condition information includes at least one of the following:
    至少一个目标小区标识;At least one target cell identifier;
    至少一个目标跟踪区域标识;At least one target tracking area identifier;
    至少一个IP地址段;At least one IP address range;
    至少一个目标PSA;At least one target PSA;
    至少一个目标DNAI;at least one target DNAI;
    至少一个目标基站标识。At least one target base station identifier.
  40. 根据权利要求38所述的方法,其中,所述第一终端的目标信息包括以下至少之一:The method according to claim 38, wherein the target information of the first terminal includes at least one of the following:
    所述第一终端的位置信息;The location information of the first terminal;
    所述第一终端的DNS查询中的全限定域名FQDN。 The fully qualified domain name FQDN in the DNS query of the first terminal.
  41. 根据权利要求40所述的方法,其中,所述第一终端的位置信息包括以下至少之一:所述第一终端接入的小区标识、所述第一终端所在的跟踪区域、所述第一终端的IP地址、服务所述第一终端的PDU会话锚点PSA、所述第一终端的数据网络接入标识DNAI、所述第一终端接入的基站标识。The method according to claim 40, wherein the location information of the first terminal includes at least one of the following: a cell identifier accessed by the first terminal, a tracking area where the first terminal is located, the first The IP address of the terminal, the PDU session anchor PSA serving the first terminal, the data network access identifier DNAI of the first terminal, and the base station identifier accessed by the first terminal.
  42. 根据权利要求36至41任一项所述的方法,其中,在所述第一终端向第二网络侧设备发送DNS查询之后,所述方法还包括:The method according to any one of claims 36 to 41, wherein after the first terminal sends a DNS query to the second network side device, the method further includes:
    所述第一终端接收所述第二网络侧设备返回的DNS响应,其中,所述DNS响应中携带有至少一个EAS地址;The first terminal receives a DNS response returned by the second network side device, wherein the DNS response carries at least one EAS address;
    所述第一终端接入与所述至少一个EAS地址中的一个EAS地址对应的EAS。The first terminal accesses the EAS corresponding to one of the at least one EAS address.
  43. 根据权利要求42所述的方法,其中,所述DNS响应中携带有多个EAS地址以及各个所述EAS地址对应的优先级。The method according to claim 42, wherein the DNS response carries multiple EAS addresses and priorities corresponding to each of the EAS addresses.
  44. 根据权利要求43所述的方法,其中,所述第一终端接入与所述至少一个EAS地址中的一个EAS地址对应的EAS,包括:The method of claim 43, wherein the first terminal accesses the EAS corresponding to one of the at least one EAS address, including:
    所述第一终端按照所述多个EAS地址对应的优先级,优先接入优先级高的EAS地址对应的EAS。The first terminal preferentially accesses the EAS corresponding to the EAS address with a higher priority according to the priorities corresponding to the multiple EAS addresses.
  45. 根据权利要求42所述的方法,其中,在所述第一终端接入与所述至少一个EAS地址中的一个EAS地址对应的EAS之后,所述方法还包括:The method of claim 42, wherein after the first terminal accesses the EAS corresponding to one of the at least one EAS address, the method further includes:
    在所述第一终端的目标信息发生更改的情况下,所述第一终端根据所述DNS策略信息,重新向DNS服务器发送所述DNS查询。When the target information of the first terminal is changed, the first terminal resends the DNS query to the DNS server according to the DNS policy information.
  46. 一种边缘应用服务器选择的指示装置,包括:An indication device for edge application server selection, including:
    第一发送模块,用于根据所述第一终端的目标信息,向第二网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少一个第二终端相同的EAS,所述目标处理方式包括以下之一:The first sending module is configured to send indication information to the second network side device according to the target information of the first terminal, wherein the indication information is used to instruct the second network side device to use a target processing method to process the The DNS query sent by the first terminal is processed. The target processing method is used to select the same EAS for the first terminal as that of at least one second terminal. The target processing method includes one of the following:
    使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;Using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal;
    向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。A target DNS response carrying a target edge application server EAS address is sent to the first terminal, where the target EAS address is the same as the EAS address selected for the at least one second terminal.
  47. 根据权利要求46所述的装置,其中,所述装置还包括:The device of claim 46, wherein the device further comprises:
    第一接收模块,用于接收所述第二网络侧设备发送的第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的域名系统DNS查询进行处理的方式。A first receiving module configured to receive a first request sent by the second network side device, wherein the first request is used to request the first network side device to instruct the domain name system DNS query sent by the first terminal. The way to deal with it.
  48. 一种DNS查询的响应装置,包括:A DNS query response device, including:
    第二接收模块,用于接收第一终端发送的第一DNS查询;a second receiving module, configured to receive the first DNS query sent by the first terminal;
    所述第二接收模块,还用于接收第一网络侧设备发送指示信息,其中,所述指示信息用于指示所述第二网络侧设备采用目标处理方式对所述第一终端发送的DNS查询进行处理,所述目标处理方式用于为第一终端选择与至少 一个第二终端相同的EAS;The second receiving module is also configured to receive indication information sent by the first network side device, wherein the indication information is used to instruct the second network side device to adopt a target processing method for the DNS query sent by the first terminal. Perform processing, and the target processing method is used to select the first terminal with at least A second terminal with the same EAS;
    响应模块,用于采用所述目标处理方式,对所述第一DNS查询进行响应;A response module, configured to respond to the first DNS query using the target processing method;
    其中,所述目标处理方式包括以下至少一项:Wherein, the target processing method includes at least one of the following:
    使用目标DNS消息处理规则,所述目标DNS消息处理与所述至少一个第二终端对应的DNS消息处理规则相同;Using target DNS message processing rules, the target DNS message processing rules are the same as the DNS message processing rules corresponding to the at least one second terminal;
    向所述第一终端发送携带目标边缘应用服务器EAS地址的目标DNS响应,所述目标EAS地址与为所述至少一个第二终端选择的EAS地址相同。A target DNS response carrying a target edge application server EAS address is sent to the first terminal, where the target EAS address is the same as the EAS address selected for the at least one second terminal.
  49. 根据权利要求48所述的装置,其中,所述装置还包括:The device of claim 48, wherein the device further comprises:
    第二发送模块,用于向所述第一网络侧设备发送第一请求,其中,所述第一请求用于请求所述第一网络侧设备指示对第一终端发送的DNS查询进行处理的方式。The second sending module is configured to send a first request to the first network side device, where the first request is used to request the first network side device to indicate a manner of processing the DNS query sent by the first terminal. .
  50. 一种终端组的配置装置,包括:A terminal group configuration device, including:
    确定模块,用于根据预设规则,确定目标终端组的EAS部署信息,其中,所述预设规则指示需要为所述目标终端组中的终端选择相同的EAS;A determination module configured to determine the EAS deployment information of the target terminal group according to preset rules, wherein the preset rules indicate that the same EAS needs to be selected for the terminals in the target terminal group;
    第三发送模块,用于向第三网络侧设备发送所述目标终端组的EAS部署信息。The third sending module is configured to send the EAS deployment information of the target terminal group to the third network side device.
  51. 一种DNS查询装置,包括:A DNS query device, including:
    第三接收模块,用于接收第一网络侧设备发送的第一消息,其中,所述第一消息中携带有DNS策略信息;The third receiving module is configured to receive the first message sent by the first network side device, wherein the first message carries DNS policy information;
    第四发送模块,用于根据所述DNS策略信息,向DNS服务器发送DNS查询;其中,所述DNS服务器包括EASDF。The fourth sending module is configured to send a DNS query to a DNS server according to the DNS policy information; wherein the DNS server includes EASDF.
  52. 一种网络侧设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至21任一项所述边缘应用服务器选择的指示方法的步骤,或者实现如权利要求22至27任一项所述DNS查询的响应方法的步骤,或者实现如权利要求28至35任一项所述的终端组的配置方法的步骤。A network side device, including a processor and a memory. The memory stores programs or instructions that can be run on the processor. When the program or instructions are executed by the processor, any one of claims 1 to 21 is implemented. The step of indicating the edge application server selection method described in the item, or the step of implementing the response method of the DNS query as described in any one of claims 22 to 27, or implementing the terminal group as described in any one of claims 28 to 35. The steps of the configuration method.
  53. 一种终端,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求36至45任一项所述的DNS查询方法的步骤。A terminal, including a processor and a memory, the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the implementation as claimed in any one of claims 36 to 45 is provided. Follow the steps of the DNS query method described above.
  54. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至21任一项所述边缘应用服务器选择的指示方法的步骤,或者实现如权利要求22至27任一项所述DNS查询的响应方法的步骤,或者实现如权利要求28至35任一项所述的终端组的配置方法的步骤,或者实现如权利要求36至45任一项所述的DNS查询方法的步骤。 A readable storage medium on which programs or instructions are stored. When the programs or instructions are executed by a processor, the steps of the instruction method selected by the edge application server according to any one of claims 1 to 21 are implemented. , or implement the steps of the DNS query response method as described in any one of claims 22 to 27, or implement the steps of the terminal group configuration method as described in any one of claims 28 to 35, or implement the steps of claim 36 Go to the steps of the DNS query method described in any one of 45.
PCT/CN2023/084380 2022-03-28 2023-03-28 Indication method for selection of edge application server, and terminal and network-side device WO2023185836A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210313740.5 2022-03-28
CN202210313740.5A CN116866884A (en) 2022-03-28 2022-03-28 Indication method, terminal and network side equipment for edge application server selection

Publications (1)

Publication Number Publication Date
WO2023185836A1 true WO2023185836A1 (en) 2023-10-05

Family

ID=88199201

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/084380 WO2023185836A1 (en) 2022-03-28 2023-03-28 Indication method for selection of edge application server, and terminal and network-side device

Country Status (2)

Country Link
CN (1) CN116866884A (en)
WO (1) WO2023185836A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473569A (en) * 2020-03-31 2021-10-01 华为技术有限公司 Discovery method of application server and related device
CN113573303A (en) * 2021-07-20 2021-10-29 中国联合网络通信集团有限公司 Method and device for determining edge application server
CN113794784A (en) * 2021-08-06 2021-12-14 华为技术有限公司 Method and device for acquiring edge service
WO2022022322A1 (en) * 2020-07-31 2022-02-03 华为技术有限公司 Method and device for accessing local network
CN114125808A (en) * 2021-11-29 2022-03-01 中国联合网络通信集团有限公司 Discovery method and device of edge application server

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113473569A (en) * 2020-03-31 2021-10-01 华为技术有限公司 Discovery method of application server and related device
WO2022022322A1 (en) * 2020-07-31 2022-02-03 华为技术有限公司 Method and device for accessing local network
CN113573303A (en) * 2021-07-20 2021-10-29 中国联合网络通信集团有限公司 Method and device for determining edge application server
CN113794784A (en) * 2021-08-06 2021-12-14 华为技术有限公司 Method and device for acquiring edge service
CN114125808A (en) * 2021-11-29 2022-03-01 中国联合网络通信集团有限公司 Discovery method and device of edge application server

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NOKIA, NOKIA SHANGHAI BELL: "KI 1: (new) Solution #22’: LDNSR as a (pseudo) DNS Resolver to support low latency applications", 3GPP DRAFT; S2-2006935, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Elbonia; 20201012 - 20201023, 2 October 2020 (2020-10-02), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051938034 *

Also Published As

Publication number Publication date
CN116866884A (en) 2023-10-10

Similar Documents

Publication Publication Date Title
JP7097894B2 (en) Load relocation methods, equipment, and systems
US20210168055A1 (en) A method, apparatus, and computer program
US20120290643A1 (en) Client-server system
CN105027596A (en) Exchanging a contact profile between client devices during a communication session
EP3780804A1 (en) Session establishment method, relay device selection method and registration method and device
US11258708B2 (en) Communication method and communications apparatus
KR102472916B1 (en) System and method for providing conversational contents
US20150358885A1 (en) Balancing Access Point Workloads
WO2019091174A1 (en) Short message sending method and device
TW201914353A (en) Control method and edge computing device for network communication system with base station network management server
WO2023185836A1 (en) Indication method for selection of edge application server, and terminal and network-side device
WO2023020431A1 (en) Computing power resource determination method and device
CN107273125B (en) Method and system for remotely switching screen modes
US20230262558A1 (en) Ue route selection method and related products
KR20210048836A (en) Method and Apparatus for Integrating Network Function
WO2024032499A1 (en) Dns query method and communication device
WO2024022370A1 (en) Information acquisition and transmission methods, server access and session establishment methods, and device
WO2024022397A1 (en) Network selection method and terminal
WO2023185810A1 (en) Ue route selection policy (ursp) determination method, user equipment, and network-side device
WO2024017191A1 (en) Interaction method and apparatus, and device and storage medium
WO2024022267A1 (en) Computing power task migration method and communication device
EP4024824B1 (en) Systems and methods for call session control function registration
WO2023179595A1 (en) Session channel establishment method and apparatus for non-3gpp device, and device
WO2024067437A1 (en) Model deactivation method and apparatus, information sending method and apparatus, and device
WO2024032537A1 (en) Communication method, device, and readable storage medium

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: 23778201

Country of ref document: EP

Kind code of ref document: A1