WO2021244622A1 - Communication method and apparatus, and computer-readable storage medium - Google Patents

Communication method and apparatus, and computer-readable storage medium Download PDF

Info

Publication number
WO2021244622A1
WO2021244622A1 PCT/CN2021/098195 CN2021098195W WO2021244622A1 WO 2021244622 A1 WO2021244622 A1 WO 2021244622A1 CN 2021098195 W CN2021098195 W CN 2021098195W WO 2021244622 A1 WO2021244622 A1 WO 2021244622A1
Authority
WO
WIPO (PCT)
Prior art keywords
data network
application server
application
identifier
request information
Prior art date
Application number
PCT/CN2021/098195
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 WO2021244622A1 publication Critical patent/WO2021244622A1/en

Links

Images

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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Definitions

  • the embodiments of the present invention relate to the field of communication technologies, and in particular, to a communication method, device, and computer-readable storage medium.
  • the user plane function network element After the user plane function network element receives the request information including the identification of the application from the terminal device, it sends the domain name system ( domain name system, DNS) request information.
  • domain name system domain name system, DNS
  • the user plane function network element once the user plane function network element receives the request information including the identification of the application from the terminal device, it needs to send DNS request information to the session management function network element. The amount of information that needs to be transmitted is large, resulting in communication Waste of resources.
  • the embodiment of the invention discloses a communication method, a device and a computer-readable storage medium, which are used to save communication resources.
  • the first aspect discloses a communication method, which can be applied to a user-plane functional network element, and can also be applied to a module (for example, a chip) in a user-plane functional network element.
  • the following takes the application to a user-plane functional network element as an example. describe.
  • the method may include: receiving the first request information including the identification of the application from the first terminal device, and when there is an application server corresponding to the identification of the application deployed on the data network in the data network list, sending DNS to the session management function network element Request information, the data network list includes the identification of the data network supporting the first terminal device at the current location, and the DNS request information includes the identification of the application.
  • the session management functional network element sends the DNS request information including the identification of the application, and when there is no application server corresponding to the identification of the application deployed on the data network in the data network list, it does not send the information that includes the identification of the application to the session management functional network element.
  • the DNS request information can reduce the amount of information transmitted between the user plane function network element and the session management function network element, thereby saving communication resources.
  • the method may further include: receiving indication information from the session management function network element, the indication information is used to indicate the user plane function network element when there is an identifier of the data network deployed with the application in the data network list
  • the corresponding application server sends the DNS request information to the session management function network element.
  • the user plane function network element after the user plane function network element receives the request information from the terminal device that includes the identification of the application, it can follow the instructions sent by the session management function network element.
  • the DNS request information including the identification of the application is sent to the session management function network element only when the corresponding application server.
  • the session management function is not sent
  • the network element sending the DNS request information including the identifier of the application can reduce the amount of information transmitted between the user plane function network element and the session management function network element, thereby saving communication resources.
  • the method may further include: receiving a data network list from a session management function network element; or determining a data network list.
  • the data network list may be sent by the session management function network element to the user plane function network element, or it may be determined by the user plane function network element, so that the user plane function network element can determine the data network according to the data network list Whether there is an application server corresponding to the identifier of the application deployed on the data network in the list, so that it can be determined whether to send the DNS request information including the identifier of the application to the session management function network element.
  • the method may further include: sending second request information to the session management function network element, where the second request information includes the identification of the first terminal device , The second request information enables the determination of the data network list.
  • the data network list may be sent by the session management function network element to the user plane function network element based on the request of the user plane function network element.
  • the management function network element requests the data network list, which can prevent the session management function network element from sending the data network list to the user plane function network element when the user plane function network element does not need it, which can reduce unnecessary information transmission.
  • the method may further include: determining that there is a data network deployed with the application in the data network list according to the application identifier, the data network list, and the identifier of the application server deployed on the data network in the data network list. Identifies the corresponding application server.
  • the method may further include: receiving an identifier of an application server deployed on a data network in a data network list of a session management function network element; or determining an identifier of an application server deployed on a data network in the data network list.
  • the identification of the application server deployed on the data network in the data network list may be sent by the session management function network element to the user plane function network element, or may be determined by the user plane function network element so that the user plane function network
  • the element can determine whether there is an application server corresponding to the identifier of the application deployed on the data network in the data network list according to the identifier of the application server deployed on the data network in the data network list, so as to determine whether to send the application including the application to the session management function network element ID of the DNS request information.
  • the method may further include: sending third request information to the session management function network element, and third The request information enables the identification of the application server deployed on the data network in the data network list to be determined.
  • the identification of the application server deployed by the data network in the data network list may be that the session management function network element sends to the user plane function network element based on the request of the user plane function network element. It can be seen that the user plane function network element is in If necessary, the ID of the application server deployed on the data network in the data network list can be requested from the session management function network element. This can avoid the need for the session management function network element to list the data network when the user plane function network element does not need it. The identification of the application server deployed in the data network is sent to the user plane function network element, which can reduce the transmission of unnecessary information.
  • the DNS request information may enable the first terminal device to determine the address information of the first application server, the first application server being the application server corresponding to the identification of the application deployed in the first data network ,
  • the data network list includes the identification of the first data network.
  • the DNS request information can be enabled, or used, or so as to determine the address information of the application server for the terminal device, so that the terminal device can access the application server according to the address information.
  • the DNS request information enabling the first terminal device to determine the address information of the first application server may include: the DNS request information may enable the first terminal device to be selected from the data network list according to the identification of the application.
  • the identification of the data network determines the address information of the first application server for the first terminal device according to the identification of the first data network.
  • the identification of a data network that the terminal device can currently use can be determined first, and then the address information of the application server can be determined for the terminal device according to the identification of the data network , Can reduce the number of data networks, reduce the scope of determination, reduce the number of DNS requests sent, thereby improving the efficiency of determining the address information of the application server.
  • the DNS request information enabling the determination of the address information of the first application server for the first terminal device according to the identifier of the first data network may include: the DNS request information may enable the session management function network element to forward The DNS server corresponding to the identifier of the first data network sends the DNS request information, and receives the address information of the first application server from the DNS server corresponding to the identifier of the first data network.
  • the resolution result may be returned to the session management function network element.
  • the DNS request information enabling the determination of the address information of the first application server for the first terminal device according to the identifier of the first data network may include: the DNS request information may enable the session management function network element to forward The DNS server corresponding to the identifier of the first data network sends the DNS request information, and the DNS request information enables the DNS server corresponding to the identifier of the first data network to send to the first terminal device through the user plane function network element corresponding to the first data network Address information of the first application server.
  • the resolution result can be directly sent to the terminal device through the user plane function network element corresponding to the determined data network identifier, instead of Return to the session management function network element.
  • the session management function network element sending the DNS request information to the DNS server corresponding to the identifier of the first data network may include: the session management function network element may use the user plane function corresponding to the identifier of the first data network The network element sends the DNS request information to the DNS server corresponding to the identifier of the first data network.
  • the session management function network element when there is no direct interface between the session management function network element and the DNS server, the session management function network element can send information to the DNS server through the local user plane function network element, thereby realizing DNS request information Analysis.
  • the DNS request information enabling the first terminal device to determine the address information of the first application server may include: the DNS request information may enable the session management function network element to obtain the identification of the application from the DNS server The address information of the corresponding application server selects the address information of the first application server for the first terminal device from the acquired address information.
  • the DNS request information may be parsed by the DNS server first, and then the address information of the application server corresponding to the application identifier returned by the DNS server is the terminal device Determining the address information of the application server can ensure that the determined application server can be used by the terminal device.
  • the session management function network element acquiring the address information of the application server corresponding to the application identifier from the DNS server may include: the session management function network element may send the DNS request information and the first terminal device to the DNS server The address information of the application server receives the address information of the application server corresponding to the identification of the application from the DNS server.
  • the DNS request information can be resolved by a centralized DNS server.
  • the session management function network element acquiring the address information of the application server corresponding to the application identifier from the DNS server may include: the session management function network element may send to the DNS server corresponding to the address information of the first terminal device
  • the DNS request information receives the address information of the application server corresponding to the identifier of the application from the DNS server corresponding to the address information of the first terminal device.
  • the DNS request information may be resolved by the DNS server (ie, the local DNS server) corresponding to the address information of the terminal device.
  • the session management function network element determining the address information of the first application server for the first terminal device from the acquired address information may include: when the number of acquired address information is greater than 1, the session management The functional network element may select the address information of the first application server for the first terminal device from the acquired address information according to one or more of the priority, time delay, and load condition of the application server or the data network.
  • the address information of the application server determined for the terminal device is the address information of the optimal application server currently available to the terminal device.
  • the DNS request information may enable the establishment of a data path between the offload node and the user plane function network element corresponding to the first data network.
  • the session management function network element when the terminal device has service requirements, for example, some applications deploy corresponding application servers in the local data network, and the session management function network element can establish the user plane function corresponding to the offload node and the data network.
  • the data path between network elements instead of using the data path determined during the initial establishment of the session.
  • the session management function network element establishes a data path between the shunt node and the user plane function network element corresponding to the data network. Therefore, the communication path between the terminal device and the data network can be optimized.
  • the method may further include: selecting the identifier of the first data network from the data network list according to the identifier of the application, and sending the identifier of the first data network to the session management function network element.
  • the DNS request information enabling the first terminal device to determine the address information of the first application server may include: the DNS request information and the identification of the first data network may enable the first terminal device to determine the address information of the first application server.
  • the user plane function network element may determine a data network currently available to the terminal device and then send the identification of the data network to the session management function network element, and the session management function network element may request information based on the DNS and the data
  • the identification of the network is for the terminal device to determine the address information of the application server, which can reduce the number of data networks and the determination range, thereby improving the efficiency of determining the address information of the application server.
  • the DNS request information and the identification of the first data network enable the first terminal device to determine the address information of the first application server may include: the DNS request information and the identification of the first data network may enable The network element capable of session management sends the DNS request information to the DNS server corresponding to the identifier of the first data network, and receives address information of the first application server from the DNS server corresponding to the identifier of the first data network.
  • the DNS server corresponding to this data network may return the resolution result to the session management function network element.
  • the DNS request information and the identification of the first data network enable the first terminal device to determine the address information of the first application server may include: the DNS request information and the identification of the first data network may enable
  • the network element capable of the session management function sends the DNS request information to the DNS server corresponding to the identifier of the first data network, and the DNS request information can enable the DNS server corresponding to the identifier of the first data network to pass the user plane function corresponding to the first data network
  • the network element sends the address information of the first application server to the first terminal device.
  • the analysis result can be directly sent to the terminal device through the user plane function network element corresponding to the determined data network, without returning to the session management function Network element.
  • the identification of the first data network may enable the establishment of a data path between the offload node and the user plane function network element corresponding to the first data network.
  • the session management function network element when the terminal device has service requirements, for example, some applications deploy corresponding application servers in the local data network, and the session management function network element can establish the user plane function corresponding to the offload node and the data network.
  • the data path between network elements instead of using the data path determined during the initial establishment of the session.
  • the user plane function network element can notify the session management function network element to establish the user plane function network element corresponding to the shunt node and the data network Data path between. Therefore, the communication path between the terminal device and the data network can be optimized.
  • the DNS request information may enable the session management network element to send the address information of the first application server to the first terminal device.
  • the address information of the application server can be sent to the terminal device, so that the terminal device can access the application server according to the address information.
  • the second aspect discloses a communication method, which can be applied to a network element with a session management function, and can also be applied to a module (for example, a chip) in a network element with a session management function.
  • the following uses a network element with a session management function as an example. describe.
  • the method may include: receiving DNS request information, and determining address information of the first application server for the first terminal device according to the DNS request information, and the DNS request information is a user plane function network element.
  • the data network list includes the identification of the data network that supports the service of the first terminal device at the current location
  • the DNS request information may include the identification of the application
  • the identification of the application is from the first terminal device
  • the request information includes the identification of the application
  • the first application server is an application server corresponding to the identification of the application deployed in the first data network
  • the data network list may include the identification of the first data network.
  • the session management function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, the session management function network element can receive the DNS request information sent by the user plane function network element, and when the data network list is When there is no application server corresponding to the application identifier deployed on the data network, the session management function network element will not receive the DNS request information sent by the user plane function network element, which can reduce the communication between the user plane function network element and the session management function network element. The amount of information transmitted, which can save communication resources.
  • the address information of the application server can be determined for the first terminal device according to the DNS request information, so that the terminal device can access the application server according to the address information.
  • the method may further include: sending instruction information to the user plane function network element, and the instruction information may be used to indicate the user plane function network element when the data network list has the identifier of the data network deployed with the application
  • the corresponding application server sends the DNS request information to the session management function network element.
  • the session management function network element may send instruction information to the user plane function network element, so that after the user plane function network element receives the request information including the identification of the application from the terminal device, it can manage the function network element according to the session management function.
  • the method may further include: sending a data network list to the user plane function network element, and the data network list enable determines that there is an application server corresponding to the identifier of the data network deployed with the application in the data network list.
  • the session management function network element may send the data network list to the user plane function network element, so that after the user plane function network element receives the request information including the application identifier from the terminal device, it can be based on the data network list It is determined whether there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, so that it can be determined whether to send the DNS request information including the identifier of the application to the session management function network element.
  • the method may further include: receiving second request information from the user plane function network element that includes the identifier of the first terminal device, and according to the first The identification of the terminal device and the identification of the data network corresponding to the location of the terminal device determine the data network list.
  • the session management function network element may send the data network list to the user plane function network element after receiving the request information from the user plane function network element. It can be seen that the session management function network element can send the data network list to the user plane function network element according to the needs of the user plane function network element, which can avoid sending the data network list to the user plane function when the user plane function network element does not need it. Network elements can reduce the transmission of unnecessary information.
  • the method may further include: sending the identification of the application server deployed on the data network in the data network list to the user plane function network element, and the identification of the application server deployed on the data network in the data network list may be enabled to determine There is an application server corresponding to the identifier of the application deployed on the data network in the data network list.
  • the session management function network element may send the identification of the application server deployed on the data network in the data network list to the user plane function network element, so that the user plane function network element receives the information including the identification of the application from the terminal device After requesting the information, you can determine whether there is an application server corresponding to the application identifier deployed on the data network in the data network list according to the identifier of the application server deployed on the data network in the data network list, so as to determine whether to send to the session management function network element DNS request information including the identification of the application.
  • the method may further include: receiving third request information from the user plane function network element, and according to the first The third request information determines the identification of the application server deployed by the data network in the data network list.
  • the session management network element may send the identification of the application server deployed on the data network in the data network list to the user plane function network element after receiving the request information from the user plane function network element. It can be seen that the session management function network element can send the identification of the application server deployed on the data network in the data network list to the user plane function network element according to the needs of the user plane function network element, which can avoid the situation where the user plane function network element does not need it. Sending the identification of the application server deployed on the data network in the data network list to the user plane function network element can reduce the transmission of unnecessary information.
  • determining the address information of the first application server for the first terminal device according to the DNS request information may include: selecting the identity of the first data network from the data network list according to the identity of the application, and according to the first The identification of the data network determines the address information of the first application server for the first terminal device.
  • the session management function network element when determining the address information of the application server for the terminal device, may first determine the identification of a data network that the terminal device can currently use, and then may determine for the terminal device according to the identification of the data network
  • the address information of the application server can reduce the number of data networks, reduce the determination range, and reduce the number of DNS requests sent, thereby improving the efficiency of determining the address information of the application server.
  • determining the address information of the first application server for the first terminal device according to the identifier of the first data network may include: sending the DNS request information to the DNS server corresponding to the identifier of the first data network, and receiving information from Address information of the first application server of the DNS server corresponding to the identifier of the first data network.
  • the resolution result may be returned to the session management function network element.
  • determining the address information of the first application server for the first terminal device according to the identifier of the first data network may include: sending the DNS request information to the DNS server corresponding to the identifier of the first data network, and the DNS The request information may enable the DNS server corresponding to the identifier of the first data network to send the address information of the first application server to the first terminal device through the user plane function network element corresponding to the identifier of the first data network.
  • the resolution result can be directly sent to the terminal device through the user plane function network element corresponding to the determined data network identifier, instead of Return to the session management function network element.
  • sending the DNS request information to the DNS server corresponding to the identifier of the first data network includes: sending the DNS corresponding to the identifier of the first data network from the user plane function network element corresponding to the identifier of the first data network to the DNS corresponding to the identifier of the first data network.
  • the server sends the DNS request information.
  • the session management function network element when there is no direct interface between the session management function network element and the DNS server, the session management function network element can send information to the DNS server through the local user plane function network element, thereby realizing DNS request information Analysis.
  • determining the address information of the first application server for the first terminal device according to the DNS request information includes: obtaining the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information, and The acquired address information determines the address information of the first application server for the first terminal device.
  • the DNS request information may be parsed by the DNS server first, and then the address information of the application server corresponding to the application identifier returned by the DNS server is the terminal device Determining the address information of the application server can ensure that the determined application server can be used by the terminal device.
  • obtaining the address information of the application server corresponding to the identification of the application from the DNS server according to the DNS request information may include: sending the DNS request information and the address information of the first terminal device to the DNS server, and receiving information from Address information of the application server corresponding to the application identifier of the DNS server.
  • the DNS request information can be resolved by a centralized DNS server.
  • obtaining the address information of the application server corresponding to the identification of the application from the DNS server according to the DNS request information may include: sending the DNS request information to the DNS server corresponding to the address information of the first terminal device, and receiving Address information of the application server corresponding to the identification of the application from the DNS server corresponding to the address information of the first terminal device.
  • the DNS request information may be resolved by the DNS server (ie, the local DNS server) corresponding to the address information of the terminal device.
  • determining the address information of the first application server for the first terminal device from the acquired address information may include: in the case where the number of acquired address information is greater than 1, according to the application server or data network One or more of priority, time delay, and load condition, select the address information of the first application server for the first terminal device from the acquired address information.
  • the application server determined for the terminal device is the optimal application server currently available to the terminal device.
  • determining the address information of the first application server for the first terminal device according to the DNS request information may include: receiving an identifier of the first data network from the user plane function network element, and according to the DNS request information and The identifier of the first data network determines the address information of the first application server for the first terminal device.
  • the session management function network element may receive the identification of a data network determined and sent by the user plane function network element, and then may determine the address information of the application server for the terminal device according to the DNS request information and the identification of the data network , Can reduce the number of data networks, reduce the scope of determination, which can improve the efficiency of determining the address information of the application server.
  • determining the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network may include: sending the DNS to the DNS server corresponding to the identifier of the first data network The request information is received from the address information of the first application server of the DNS server corresponding to the identifier of the first data network.
  • the DNS server corresponding to this data network may return the resolution result to the session management function network element.
  • determining the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network may include: sending the DNS to the DNS server corresponding to the identifier of the first data network Request information.
  • the DNS request information may enable the DNS server corresponding to the identifier of the first data network to send the address information of the first application server to the first terminal device through the user plane function network element corresponding to the first data network.
  • the analysis result can be directly sent to the terminal device through the user plane function network element corresponding to the determined data network, without returning to the session management function Network element.
  • the method may further include: establishing a data path between the offload node and the user plane function network element corresponding to the first data network.
  • the session management function network element when the terminal device has service requirements, for example, some applications deploy corresponding application servers in the local data network, and the session management function network element can establish the user plane function corresponding to the offload node and the data network.
  • the data path between network elements instead of using the data path determined during the initial establishment of the session.
  • the user plane function network element can notify the session management function network element to establish the user plane function network element corresponding to the shunt node and the data network Data path between. Therefore, the communication path between the terminal device and the data network can be optimized.
  • the method may further include: sending address information of the first application server to the first terminal device.
  • the session management function network element may send the address information of the application server to the terminal device, so that the terminal device can access the application server according to the address information.
  • a third aspect discloses a communication device, which may be a user plane function network element, or a module (for example, a chip) in a user plane function network element.
  • the apparatus may include: a receiving unit, configured to receive first request information from a first terminal device, where the first request information includes an identification of the application; and a sending unit, configured to: When the application server corresponds to the application identifier, the DNS request information of the domain name system is sent to the session management function network element, the data network list includes the identifier of the data network that supports the service of the first terminal device at the current position, and the DNS request The information includes the identification of the application.
  • the receiving unit is further configured to receive indication information from the session management function network element, where the indication information is used to indicate the user plane function network element when data exists in the data network list.
  • the DNS request information is sent to the session management function network element.
  • the receiving unit is further configured to receive the data network list from the session management function network element; or the communication device may further include: a first determining unit, configured to determine the Data network list.
  • the sending unit is further configured to send second request information to the session management function network element before the receiving unit receives the data network list from the session management function network element
  • the second request information includes the identifier of the first terminal device, and the second request information enables the data network list to be determined.
  • the device further includes: a second determining unit, configured to determine according to the identification of the application, the list of data networks, and the identification of the application server deployed by the data network in the list of data networks , Determining that there is an application server corresponding to the identifier of the application deployed on the data network in the data network list.
  • a second determining unit configured to determine according to the identification of the application, the list of data networks, and the identification of the application server deployed by the data network in the list of data networks , Determining that there is an application server corresponding to the identifier of the application deployed on the data network in the data network list.
  • the receiving unit is further configured to receive the identifier of the application server deployed by the data network in the data network list of the session management function network element.
  • the sending unit is further configured to send the receiving unit to the data network deployment application server before the receiving unit receives the identifier of the application server deployed on the data network in the data network list of the session management function network element.
  • the session management function network element sends third request information, and the third request information enables the identification of the application server deployed on the data network in the data network list to be determined.
  • the DNS request information enables the first terminal device to determine the address information of the first application server, and the first application server is the application server deployed in the first data network. Identify the corresponding application server, and the data network list includes the identifier of the first data network.
  • the enabling of the DNS request information to determine the address information of the first application server for the first terminal device includes: the enabling of the DNS request information from the data network according to the identification of the application The identification of the first data network is selected from the list, and the address information of the first application server is determined for the first terminal device according to the identification of the first data network.
  • the enabling of the DNS request information to determine the address information of the first application server for the first terminal device according to the identifier of the first data network includes: the DNS request information enabling the The session management function network element sends the DNS request information to the DNS server corresponding to the identifier of the first data network, and receives address information of the first application server from the DNS server corresponding to the identifier of the first data network.
  • the enabling of the DNS request information to determine the address information of the first application server for the first terminal device according to the identifier of the first data network includes: the DNS request information enabling the The session management function network element sends the DNS request information to the DNS server corresponding to the identifier of the first data network, and the DNS request information enables the DNS server corresponding to the identifier of the first data network to pass the first data
  • the user plane function network element corresponding to the network sends the address information of the first application server to the first terminal device.
  • the sending of the DNS request information by the session management function network element to the DNS server corresponding to the identifier of the first data network includes: the session management function network element passes through the first data network The user plane function network element corresponding to the identifier of the first data network sends the DNS request information to the DNS server corresponding to the identifier of the first data network.
  • the DNS request information enabling the first terminal device to determine the address information of the first application server includes: the DNS request information enabling the session management function network element to obtain from a DNS server The address information of the application server corresponding to the identifier of the application determines the address information of the first application server for the first terminal device from the acquired address information.
  • the acquiring, by the session management function network element, the address information of the application server corresponding to the application identifier from the DNS server includes: the session management function network element sending the DNS request information to the DNS server and The address information of the first terminal device receives the address information of the application server corresponding to the identification of the application from the DNS server.
  • the acquisition of the address information of the application server corresponding to the application identifier by the session management function network element from the DNS server includes: address information of the session management function network element to the first terminal device
  • the corresponding DNS server sends the DNS request information, and receives the address information of the application server corresponding to the application identifier of the DNS server corresponding to the address information of the first terminal device.
  • the determination by the session management function network element of the address information of the first application server for the first terminal device from the acquired address information includes: when the number of acquired address information is greater than one , The session management function network element selects the first application server for the first terminal device from the acquired address information according to one or more of the priority, delay, and load of the application server or the data network Address information.
  • the DNS request information enables the establishment of a data path between a shunt node and a user plane function network element corresponding to the first data network.
  • the device further includes: a selecting unit, configured to select the identifier of the first data network from the data network list according to the identifier of the application; the sending unit is further configured to The identification of the first data network is sent to the session management function network element; the DNS request information enables the first terminal device to determine the address information of the first application server including: the DNS request information and the The identification of the first data network enables the first terminal device to determine the address information of the first application server.
  • the DNS request information and the identification of the first data network enable the first terminal device to determine that the address information of the first application server includes: the DNS request information and the first application server.
  • the identity of a data network enables the session management function network element to send the DNS request information to the DNS server corresponding to the identity of the first data network, and to receive the first data from the DNS server corresponding to the identity of the first data network Address information of an application server.
  • the DNS request information and the identification of the first data network enable the first terminal device to determine that the address information of the first application server includes: the DNS request information and the first application server.
  • the identity of a data network enables the session management function network element to send the DNS request information to the DNS server corresponding to the identity of the first data network, and the DNS request information enables the identity of the first data network to correspond to
  • the DNS server sends the address information of the first application server to the first terminal device through the user plane function network element corresponding to the first data network.
  • the identification of the first data network enables the establishment of a data path between a shunt node and a user plane function network element corresponding to the first data network.
  • the DNS request information enables the session management network element to send the address information of the first application server to the first terminal device.
  • a fourth aspect discloses a communication device, which may be a session management function network element, or a module (for example, a chip) in a session management function network element.
  • the device may include: a receiving unit for receiving DNS request information, the DNS request information being sent by the user plane function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, the data
  • the network list includes the identification of the data network that supports the service of the first terminal device at the current location, the DNS request information includes the identification of the application, and the identification of the application is the application included in the request information from the first terminal device
  • the identification; the determining unit is configured to determine the address information of the first application server for the first terminal device according to the DNS request information, the first application server being the identification of the application deployed in the first data network
  • the data network list includes the identification of the first data network.
  • the device further includes: a sending unit, configured to send instruction information to the user plane function network element, where the instruction information is used to instruct the user plane function network element to act as the data network element
  • the DNS request information is sent to the session management function network element.
  • the sending unit is further configured to send the data network list to the user plane function network element, and the data network list is enabled to determine that there are data networks deployed in the data network list.
  • the application server corresponding to the identifier of the application.
  • the receiving unit is further configured to receive the second request information from the user plane function network element before the sending unit sends the data network list to the user plane function network element ,
  • the second request information includes the identity of the first terminal device;
  • the determining unit is further configured to determine the data network according to the identity of the first terminal device and the identity of the data network corresponding to the location of the terminal device List.
  • the sending unit is further configured to send the identifier of the application server deployed by the data network in the data network list to the user plane function network element, and the data network list
  • the identification of the application server deployed on the data network enables it to be determined that there is an application server corresponding to the identification of the application deployed on the data network in the data network list.
  • the receiving unit is further configured to receive the identifier of the application server deployed on the data network in the data network list to the user plane function network element.
  • the determining unit is further configured to determine the identifier of the application server deployed by the data network in the data network list according to the third request information.
  • the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information includes: selecting the address information of the first application server from the data network list according to the identifier of the application. The identifier of the first data network; the address information of the first application server is determined for the first terminal device according to the identifier of the first data network.
  • the determining unit determining the address information of the first application server for the first terminal device according to the identifier of the first data network includes: reporting the DNS corresponding to the identifier of the first data network
  • the server sends the DNS request information; receives the address information of the first application server from the DNS server corresponding to the identifier of the first data network.
  • the determining unit determining the address information of the first application server for the first terminal device according to the identifier of the first data network includes: reporting the DNS corresponding to the identifier of the first data network
  • the server sends the DNS request information, and the DNS request information enables the DNS server corresponding to the identifier of the first data network to send the user plane function network element corresponding to the identifier of the first data network to the first terminal device.
  • the sending of the DNS request information by the determining unit to the DNS server corresponding to the identifier of the first data network includes: sending the user plane function network element corresponding to the identifier of the first data network to the The DNS server corresponding to the identifier of the first data network sends the DNS request information.
  • the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information includes: obtaining the identification of the application from a DNS server according to the DNS request information The address information of the corresponding application server; the address information of the first application server is determined for the first terminal device from the acquired address information.
  • the determining unit obtaining the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information includes: sending the DNS request information and the first address information to the DNS server. Address information of the terminal device; receiving the address information of the application server corresponding to the application identifier from the DNS server.
  • the determining unit acquiring the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information includes: sending the address information to the DNS server corresponding to the address information of the first terminal device Sending the DNS request information; receiving the address information of the application server corresponding to the application identifier of the DNS server corresponding to the address information of the first terminal device.
  • the determining unit determining the address information of the first application server for the first terminal device from the acquired address information includes: when the number of acquired address information is greater than 1, according to the application One or more of the priority, delay, and load of the server or the data network, select the address information of the first application server for the first terminal device from the acquired address information.
  • the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information includes: receiving the first data from the user plane function network element The identifier of the network; according to the DNS request information and the identifier of the first data network, the address information of the first application server is determined for the first terminal device.
  • the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network includes: The DNS server corresponding to the identifier of the network sends the DNS request information; and receives the address information of the first application server from the DNS server corresponding to the identifier of the first data network.
  • the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network includes: The DNS server corresponding to the identity of the network sends the DNS request information, and the DNS request information enables the DNS server corresponding to the identity of the first data network to send the DNS server to the user plane function network element corresponding to the first data network.
  • the first terminal device sends the address information of the first application server.
  • the device further includes: an establishment unit configured to establish a data path between the offload node and the user plane function network element corresponding to the first data network.
  • the sending unit is further configured to send the address information of the first application server to the first terminal device.
  • a fifth aspect discloses a communication device, which may be a user plane function network element or a module (for example, a chip) in the user plane function network element.
  • the communication device may include a processor, a memory, an input interface, and an output interface.
  • the input interface is used to receive information from other communication devices other than the communication device, and the output interface is used to send information to outside the communication device.
  • the processor executes the computer program stored in the memory, the processor executes the communication method disclosed in the first aspect or any embodiment of the first aspect.
  • a sixth aspect discloses a communication device, which may be a session management function network element or a module (for example, a chip) in a session management function network element.
  • the communication device may include a processor, a memory, an input interface, and an output interface.
  • the input interface is used to receive information from other communication devices other than the communication device, and the output interface is used to send information to outside the communication device.
  • the other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor is caused to execute the communication method disclosed in the second aspect or any embodiment of the second aspect.
  • a seventh aspect discloses a communication system including the communication device of the fifth aspect and the communication device of the sixth aspect.
  • An eighth aspect discloses a computer-readable storage medium with a computer program or computer instruction stored on the computer-readable storage medium, and when the computer program or computer instruction runs, the communication method disclosed in the above aspects is implemented.
  • FIG. 1 is a schematic diagram of a 5G network architecture disclosed in an embodiment of the present invention
  • Figure 2 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention.
  • Figure 3 is a schematic diagram of another network architecture disclosed in an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a UPF sending DNS request information to SMF according to an embodiment of the present invention
  • FIG. 5 is a schematic flowchart of a communication method disclosed in an embodiment of the present invention.
  • Fig. 6 is a schematic flowchart of another communication method disclosed in an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a communication device disclosed in an embodiment of the present invention.
  • Fig. 8 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention.
  • the embodiment of the invention discloses a communication method, a device and a computer-readable storage medium, which are used to save communication resources. Detailed descriptions are given below.
  • FIG. 1 is a schematic diagram of a 5G network architecture disclosed in an embodiment of the present invention.
  • the 5G network architecture may include user equipment (UE), (radio access network, (R)AN) equipment, and user plane function (UPF).
  • UE user equipment
  • R radio access network
  • UPF user plane function
  • DN data network
  • AMF access and mobility management function
  • SMF session management function
  • policy control function policy control function
  • PCF policy control function
  • application function network element application function, AF
  • unified data management network element unified data management, UDM
  • authentication server function network element authentication server function, AUSF
  • network slice selection network element network slice selection function, NSSF.
  • Different network elements or devices can communicate through interfaces.
  • the interface name shown in FIG. 1 is only an example for illustration, and the embodiment of the present invention does not specifically limit this.
  • the UE which may also be called a terminal device, a mobile station (MS), a mobile terminal (MT), etc., is a device that provides voice and/or data connectivity to users.
  • the terminal equipment can be a handheld terminal, a notebook computer, a subscriber unit, a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA) computer, a tablet computer , Wireless modem (modem), handheld device (handheld), laptop computer (laptop computer), cordless phone (wireless local loop, WLL), machine type communication, MTC) terminal or other devices that can access the network.
  • the terminal device in FIG. 1 is shown as a UE, which is only used as an example and does not limit the terminal device.
  • the UE can access the DN by establishing a session between the UE-(R)AN device-UPF-DN, that is, a protocol data unit (protocol data unit, PDU) session.
  • PDU protocol data unit
  • the (R) AN device is a device that provides wireless access for the UE, and is mainly responsible for functions such as radio resource management on the air interface side, quality of service (QoS) flow management, data compression, and encryption.
  • (R)AN equipment may include various forms of base stations, such as: macro base stations, micro base stations (also called small stations), relay stations, access points, and so on.
  • the (R) AN device may also include a wireless fidelity (WiFi) access point (AP).
  • WiMax worldwide interoperability for microwave access
  • UPF is mainly responsible for processing user messages, such as forwarding and charging.
  • User messages can be received from the DN and transmitted to the UE through the RAN equipment; user messages can also be received from the UE through the RAN equipment and forwarded to the DN.
  • the transmission resources and scheduling functions provided by UPF for UE are managed and controlled by SMF.
  • DN can be the Internet, Internet protocol (IP) multimedia service (IP multi-media service, IMS) network, regional network, that is, local network, such as multi-access edge computing (MEC) Network, etc.
  • IP Internet protocol
  • IMS IP multi-media service
  • MEC multi-access edge computing
  • the DN is the destination of the UE's PDU session access.
  • An application server is included or deployed in the DN, and the application server can perform data transmission with the UE and provide business services for the UE.
  • AMF can access the UE's non-access stratum (NAS) signaling (including session management (SM) signaling) and N2 interface access RAN signaling through the N1 interface to complete the UE registration process And SM signaling forwarding and mobility management.
  • NAS non-access stratum
  • SM session management
  • SMF is mainly responsible for session management in the mobile network, such as session establishment, modification, release, and update processes. Specific functions such as assigning IP addresses to users, selecting UPF that provides message forwarding functions, and so on.
  • the PCF can be responsible for terminal equipment policy management, including both mobility-related policies and PDU session-related policies, such as QoS policies, charging policies, and so on.
  • AF mainly supports interaction with the 3rd generation partnership project (3rd generation partnership project, 3GPP) core network to provide services to influence service flow routing, access network capability opening, policy control, etc.
  • 3rd generation partnership project 3rd generation partnership project, 3GPP
  • UDM is responsible for user key management, user identification processing, access authorization of subscription data, UE network function entity management, session and business continuity management, short message push, legal monitoring, contract management, short message management, used to control user data , Such as the management of contract information.
  • the AUSF can be responsible for authenticating and authorizing the access of the UE.
  • the above network elements in the core network can also be called functional entities. They can be network elements implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualized functions on an appropriate platform.
  • the aforementioned virtualization platform may be a cloud platform.
  • FIG. 1 is not limited to only including the network elements shown in the figure, and may also include other devices not shown in the figure. The specific present invention will not be listed here.
  • the embodiment of the present invention does not limit the distribution form of each network element in the core network.
  • the distribution form shown in FIG. 1 is only exemplary, and the present invention does not limit it.
  • the 5G network architecture shown in Figure 1 does not constitute a limitation on the 5G network.
  • the method in the embodiment of the present invention is also applicable to various future communication systems, such as 6G or other communication networks.
  • the 5G network architecture shown in Figure 1 has only one UPF.
  • 5G can also support the insertion of multiple session anchor UPFs on the user plane path (ie data path) of a PDU session to support The connection to the local DN, so that the UE can access the application server in the local DN nearby.
  • FIG. 2 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention.
  • multiple UPFs are introduced into the network architecture of the communication system. These multiple UPFs can be respectively uplink classifier (ULCL)/branching point (BP), and UPFPDU session anchor (PDU). session anchor, PSA)1 and UPF PSA2.
  • ULCL uplink classifier
  • BP branching point
  • PDU UPFPDU session anchor
  • ULCL/BP can distribute uplink data packets from the UE to PSA1 or PSA2 according to the distribution rules, and can also send downlink data packets from PSA1 or PSA2 to the UE.
  • the DN may be a DN located in a central data center (DC).
  • the local DN may be located in the local DC or MEC node.
  • the local DN can also be understood as the DN in which the application server is deployed in an edge hosting environment (EHE) closer to the UE, and can also be referred to as an edge data network (EDN).
  • EHE edge hosting environment
  • the SMF can insert the UPF (ie, local (local, L)-PSA) corresponding to the local DN, so that the UE can access the application server in the local DN nearby.
  • UPF local (local, L)-PSA
  • PAS2 in Figure 2 is an L-PSA. It should be noted that the number of UPFs in FIG. 2 is only an example, and more or fewer UPFs may also be included, which is not limited in the present invention.
  • FIG. 3 is a schematic diagram of another network architecture disclosed in an embodiment of the present invention.
  • L-PSA1 and L-PSA2 in Figure 3.
  • ULCL/BP can connect multiple L-PSAs.
  • ULCL/BP can be combined with L-PSA1 and connected to MEC1; L-PSA2 can be connected to MEC2, and PSA can be connected to the central DC.
  • ULCL/BP and L-PSA1 may also be two independent network elements or devices.
  • FIG. 4 is a schematic diagram of a UPF sending DNS request information to an SMF according to an embodiment of the present invention.
  • the UE may send request information to the UPF, and the request information may carry or include the identification of the application.
  • the UPF receives the request information from the UE, it can send DNS request information to the SMF.
  • the DNS request information includes the identification of the application.
  • the SMF receives the DNS request information from the UPF, it can send the DNS request information to the centralized DNS server or the local DNS server.
  • the DNS server or the local DNS server can determine the address information of the application server corresponding to the application identifier, and send the address information of the application server corresponding to the application identifier to the SMF.
  • the SMF After the SMF receives the address information of the application server corresponding to the identification of the application from the DNS server or the local DNS server, it may send the address information of the application server to the UE.
  • terminal devices can be connected to the DN through UPF. Which UPF and which DN the terminal device uses to communicate is determined during the session establishment process. After the session is established, the location of the terminal device is not fixed. Therefore, when the location of the terminal device changes, if the terminal device also uses the UPF and DN during the session establishment process, it may cause the terminal device to communicate with each other. The communication path between DNs is long.
  • FIG. 5 is a schematic flowchart of a communication method disclosed in an embodiment of the present invention.
  • the functions performed by the terminal device in the present invention can also be performed by a module (for example, a chip) in the terminal device, and the functions performed by a UPF in the present invention can also be performed by a module (for example, a chip) in the UPF.
  • the function performed by the SMF in the present invention can also be performed by a module (for example, a chip) in the SMF, and the function performed by the DNS server in the present invention can also be performed by a module (for example, a chip) in the DNS server.
  • the communication method may include the following steps.
  • the first terminal device sends the first request information including the identifier of the application to the UPF.
  • the UPF may receive the first request information including or carrying the identification of the application from the first terminal device.
  • the first terminal device may send the first request information including the identifier of the application to the UPF.
  • the identification of the application may be a fully qualified domain name (FQDN), an identification number (identity document, ID) of the application, or other information that can uniquely identify the application.
  • the first request information may be DNS request information or DNS query (query) message, or other request information, which is not limited here.
  • the UPF When there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, the UPF sends DNS request information including the identifier of the application to the SMF.
  • the SMF receives the DNS request information including the identification of the application from the UPF.
  • the DNS request information sent by UPF to SMF may be the first request information, that is, the DNS request information sent by UPF to SMF and the first request information are the same DNS request information, UPF
  • the DNS request information sent to the SMF may also be DNS request information generated by UPF according to the first request information.
  • the application server corresponding to the identifier of the application is the application server of the application identified by the identifier.
  • the UPF After the UPF receives the first request information from the first terminal device, when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, it may send the DNS request information including the identifier of the application to the SMF.
  • the data network list includes the identification of the data network that supports the service of the first terminal device at the current location. Specifically, UPF can first determine whether there is an application server corresponding to the identifier of the application deployed on the data network in the data network list.
  • the application server corresponding to the identification of the application that can be accessed by the terminal device may send DNS request information including the identification of the application to the SMF.
  • DNS request information the first request information can be discarded.
  • the data network list in the present invention may include the identities of all the data networks that support the service of the first terminal device at the current location, and may also include the identities of some data networks that support the service of the first terminal device at the current location.
  • the number of data network identities included in the data network list is greater than or equal to 1, which can be the identities of one data network, or the identities of two or more data networks.
  • all data networks are deployed with the same application server.
  • determining whether there is an application server corresponding to the application identifier deployed on the data network in the data network list only one data in the data network list needs to be determined Whether the application server corresponding to the identification of the application is deployed on the network.
  • the application servers deployed in different data networks may be different.
  • the SMF may send instruction information to the UPF.
  • the instruction information is used to instruct the UPF to send DNS request information to the SMF when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list.
  • the UPF After the UPF receives the first request information from the first terminal device, it can determine whether there is an application server corresponding to the identification of the application deployed on the data network in the data network list according to the instruction information, and when there is a data network deployed on the data network list When the application server corresponds to the identification of the application, the DNS request information including the identification of the application may be sent to the SMF.
  • a rule is configured in the UPF, and the rule may be: when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, the DNS request information is sent to the SMF.
  • the UPF receives the first request information from the first terminal device, it can determine whether there is an application server corresponding to the identification of the application deployed on the data network in the data network list according to the rule.
  • the DNS request information including the identifier of the application can be sent to the SMF.
  • SMF can send a list of data networks to UPF, and accordingly, UPF can receive a list of data networks from SMF.
  • the data network list can be sent by SMF to UPF.
  • the UPF may send the second request information including the identification of the first terminal device to the SMF.
  • the SMF receives the second request information from the UPF, and corresponds to the identification of the first terminal device and the location of the terminal device included in the second request information.
  • the identification of the data network determines the data network list. It can be seen that the data network list can be sent to the UPF by the SMF based on the UPF request.
  • the data network list can also be determined by UPF.
  • the identification of the data network may be the identification of the data network itself.
  • the identification of the data network may be a data network name (data network name, DNN), or an identification number (identity document, ID) of other data networks.
  • the identification of the data network may also be an access identification of the data network.
  • a data network access identifier (DN access identifier, DNAI) can be used to identify the user plane path from the UPF to the data network, and can also be regarded as a data network identifier.
  • the identifier of the data network may also be the identifier of the MEC node or DC, which may be used to indicate the location of the MEC node or DC.
  • the identification of the data network may also be the subnet information of the data network, and the corresponding data network may be determined according to the subnet information.
  • the identification of the data network may also be the address information of the application server included in the data network, and the corresponding data network may be determined according to the address information.
  • the identity of the data network corresponding to the location can be expressed as the correspondence between the location information and the identity of the data network that supports the location corresponding to the location information. It can be stored in a data table, key-value pair, context, or other forms. Make a limit.
  • the identification of the data network corresponding to the location may be as shown in Table 1 or Table 2.
  • the SMF can configure or obtain the service range of the data network.
  • the service range of the data network can be a specific collection of locations. For example, a collection of one or more of tracking area (tracking area, TA) 1, TA2, ..., RAN_1, RAN_2, or cell (Cell)_1, Cell_2, etc.
  • the service range of the data network can also be a collection of geographic location information, such as latitude and longitude or administrative area.
  • the service range of the data network may also be a collection of one or more UPF service ranges corresponding to the data network. Among them, the one or more UPFs can serve the data network.
  • the service scope of UPF can be a specific location collection or a collection of geographic location information.
  • the service scope of the data network can also be identified by the service scope of the application server (AS) and/or the enabler server (ES) deployed in the data network. Among them, the performance of the service scope of the AS or ES The format is the same as that described above, and will not be repeated here.
  • AS application server
  • ES enabler server
  • the format is the same as that described above, and will not be repeated here.
  • SMF can also subscribe to AMF the location information of the first terminal device or events related to location changes. SMF can also subscribe to AMF for the service of the first terminal device moving into or out of the data network. For events such as range, after the AMF detects the movement of the first terminal device, it can notify the SMF of the current location of the first terminal device in real time. After the SMF obtains the current location of the first terminal device, SMF can first determine whether the current location of the first terminal device is within the service range of the data network, and if the current location of the first terminal device is within the service range of the data network, then determine The data network supports the service of the first terminal device at the current location.
  • N data networks of the M data networks support the service of the first terminal device in the current location.
  • other network elements or functional entities may also determine the data network list and then send it to the SMF.
  • the process of determining the data network is similar to that of the SMF and will not be repeated here.
  • SMF can then send a list of data networks to UPF.
  • M is an integer greater than 1
  • N is an integer less than or equal to M.
  • the SMF may determine that a data network adjacent to the current location of the first terminal device is a data network supporting and serving the first terminal device in the current location. For example, the distance between the current location of the first terminal device and the location of the data network does not exceed X kilometers.
  • the SMF or other network elements may calculate the distance between the current location of the first terminal device and the location of the data network and notify the SMF. SMF can then send a list of data networks to UPF.
  • the SMF may configure a supported data network, and the SMF may determine all or part of the supported data network as a data network supporting and serving the first terminal device at the current location.
  • SMF can also obtain the data network of the first terminal device that supports the service at the current location from other network elements or devices.
  • SMF can determine all the data networks that support the first terminal device at the current location of the service as the data network in the data network list. , Or determine a subset of all data networks supporting the first terminal device at the current location as the data network in the data network list according to the configuration or policy.
  • SMF can then send a list of data networks to UPF.
  • the data network in the data network list may be a data network that supports L-PSA connected to ULCL/BP.
  • Figure 3 shows the data network corresponding to L-PSA1 and L-PSA2.
  • SMF can determine the data network corresponding to M L-PSA as the data network in the data network list, or SMF can also combine M L-PSA according to configuration or strategy.
  • the N data networks in the data network corresponding to the PSA are determined to be the data networks in the data network list.
  • SMF can then send a list of data networks to UPF.
  • the UPF may receive the data network list from the SMF before, after, or at the same time when the UPF receives the first request information from the first terminal device.
  • the UPF can determine that there is an application server corresponding to the application ID deployed on the data network in the data network list according to the ID of the application, the data network list, and the ID of the application server deployed on the data network in the data network list.
  • the identification of the application server deployed in the data network can be stored in a data table, key-value pair, context, or other forms, and the storage form is not limited.
  • the identification of the application server deployed in the data network may be as shown in Table 3 or Table 4.
  • the SMF may send the identifier of the application server deployed on the data network in the data network list to the UPF.
  • the UPF may receive the identifier of the application server deployed on the data network in the data network list of the SMF before, after, or at the same time when receiving the first request information from the first terminal device. It can be seen that the identification of the application server deployed on the data network in the data network list can be sent to the UPF by the SMF.
  • the SMF may be configured with the identification of the application server deployed on the data network, or it may obtain the identification of the application server deployed on the data network from other devices or network elements.
  • the SMF may determine the identification of the application server deployed by the data network in the data network list after determining or obtaining the data network list.
  • the SMF can send the data network list and the identification of the application server deployed on the data network in the data network list to the UPF at the same time or sequentially.
  • the SMF sends the data network list and the identification of the application server deployed in the data network list to the UPF at the same time, it can be sent through the same message, instruction or signaling, or through two different There are no restrictions on what is sent by messages, instructions, or signaling.
  • the UPF may send third request information to the SMF.
  • the SMF may determine the identification of the application server deployed on the data network in the data network list according to the third request information. It can be seen that the identification of the application server deployed on the data network in the data network list may be sent by the SMF to the UPF based on the UPF request.
  • the third request information may include the identification of the first terminal device.
  • the SMF may determine the data network list according to the identification of the first terminal device, the identification of the data network corresponding to the location of the terminal device, and the identification of the application server deployed by the data network The ID of the application server deployed on the data network.
  • the third request information may include or carry the identification of the data network in the data network list.
  • the SMF may be based on the identification of the data network in the data network list and the status of the application server deployed by the data network.
  • the identifier determines the identifier of the application server deployed by the data network in the data network list.
  • the UPF may be configured with the identifier of the application server deployed on the data network, or it may obtain the identifier of the application server deployed on the data network from other devices or network elements. After the UPF receives the data network list from the SMF, or determines the data network list, it can determine the identification of the data network deployed application server in the data network list according to the data network list and the identification of the application server deployed on the data network.
  • the SMF determines the address information of the first application server for the first terminal device according to the DNS request information.
  • the first application server is an application server corresponding to the identifier of the application deployed in the first data network, and the data network list includes the identifier of the first data network.
  • the SMF may first select the identification of the first data network from the data network list according to the identification of the application. Specifically, the identification of the data network where the application server corresponding to the identification of the application is deployed may be selected first from the list of data networks. In one case, the identification of the first data network may be selected from the identifications of the selected data network according to one or more of the priority, delay, and load of the application server or the data network. In another case, when the number of selected data network identifiers is greater than 1, any data network can be selected as the identifier of the first data network from the selected data network identifiers. The SMF may then determine the address information of the first application server for the first terminal device according to the identifier of the first data network.
  • the SMF can send the DNS request information to the DNS server corresponding to the identity of the first data network; after receiving the DNS request information from the SMF, the DNS server corresponding to the identity of the first data network can send the DNS request information according to the application’s
  • the identifier determines the address information of the first application server, that is, determines the address information of the application server corresponding to the identifier of the application, and sends the address information of the first application server to the SMF; the SMF receives the first data network identifier from the DNS server corresponding to the first data network. Address information of an application server.
  • the SMF can send the DNS request information to the DNS server corresponding to the identity of the first data network; after receiving the DNS request information from the SMF, the DNS server corresponding to the identity of the first data network can send the DNS request information according to the application
  • the identifier determines the address information of the first application server, that is, determines the address information of the application server corresponding to the identifier of the application, and sends the address information of the first application server to the UPF corresponding to the identifier of the first data network; the identifier of the first data network After receiving the address information of the first application server from the DNS server corresponding to the identifier of the first data network, the corresponding UPF may send the address information of the first application server to the first terminal device.
  • the SMF can send the DNS request information to the DNS server corresponding to the identifier of the first data network through the UPF corresponding to the identifier of the first data network, that is, the SMF first sends the first data to the DNS server corresponding to the identifier of the first data network.
  • the UPF corresponding to the network identifier sends the DNS request information
  • the UPF corresponding to the first data network identifier receives the DNS request information from the SMF, and sends the DNS request information to the DNS server corresponding to the first data network identifier.
  • the SMF may obtain the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information, and determine the address information of the first application server for the first terminal device from the obtained address information .
  • the SMF may send the DNS request information and the address information of the first terminal device to the DNS server.
  • the DNS server After the DNS server receives the DNS request information from the SMF and the address information of the first terminal device, it can determine the address information of the application server corresponding to the application identifier according to the DNS request information and the address information of the first terminal device, and then Send the address information of the application server corresponding to the application identifier to the SMF.
  • the SMF may receive the address information of the application server corresponding to the identification of the application from the DNS server.
  • the SMF can carry the address information of the first terminal device in the DNS request information at one time and send it to the DNS server, and the SMF can also send multiple DNSs to the DSN.
  • Request information each of the DNS request information may carry one piece of address information in the address information of the first terminal device.
  • the DNS server here is a centralized DNS server, also called a central DSN server.
  • the address information of the first terminal device may be the address information corresponding to the data network in the data network list, for example, one DNAI may correspond to one subnet information.
  • the address information of the first terminal device may also be the identification of the data network supporting the current location of the first terminal device in the service range, or the IP address of the data network supporting the current location of the first terminal device in the service range, or the service The range supports the subnet information of the data network serving the current location of the first terminal device.
  • the IP address of the data network or the subnet information of the data network can be converted from the identification of the data network.
  • the DNS server may return the address information of the application server corresponding to the identification of the application, or may not return the address information of the application server corresponding to the identification of the application.
  • the SMF may send the DNS request information to the DNS server corresponding to the address information of the first terminal device, that is, send the DNS request information to the local DNS server corresponding to the address information of the first terminal device.
  • the local DSN server corresponding to the address information of the first terminal device can also be understood as a local DNS server corresponding to the data network supporting the current location of the first terminal device. If there are multiple address information of the first terminal device, for example, there are multiple data networks that support the current location of the first terminal device, and multiple data networks correspond to different subnet information, you can send the corresponding local DNS server to the data network. Send the DNS request information.
  • the DNS server corresponding to the address information of the first terminal device After the DNS server corresponding to the address information of the first terminal device receives the DNS request from the SMF, it can determine the address information of the application server corresponding to the application identifier, and then can send the address information of the application server corresponding to the application identifier to the SMF .
  • the SMF receives the address information of the application server corresponding to the identifier of the application from the DNS server corresponding to the address information of the first terminal device.
  • the address information of the first terminal device may be the subnet information corresponding to the data network, and the DNS server corresponding to the address information of the first terminal device can understand the DNS server corresponding to the data network, for example, the local DNS resolution for the local data network DNS server.
  • the address information of the application server corresponding to the identification of the application may be returned, or the address information of the application server corresponding to the identification of the application may not be returned.
  • the non-return may be because there is no application server corresponding to the identifier of the deployed application, or it may be because the load of the application server corresponding to the identifier of the deployed application is relatively large, or it may be due to other reasons, which is not limited here.
  • the SMF After the SMF obtains the address information of the application server corresponding to the identification of the application from the DNS server, if the number of the obtained address information is 1, the address information can be determined as the address information of the first application server. In the case that the number of acquired address information is greater than 1, the address information of the first application server can be selected from the acquired address information according to one or more of the priority, delay and load of the application server or DN , So that you can select a suitable application server.
  • the UPF may select the identification of the first data network from the data network list according to the identification of the application, and then send the identification of the first data network to the SMF.
  • the SMF receives the identifier of the first data network from the UPF, and can determine the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network.
  • the SMF may send the DNS request information to the DNS server corresponding to the identifier of the first data network.
  • the DNS server corresponding to the identifier of the first data network may determine the address information of the first application server according to the identifier of the application, and send the address information of the first application server to the SMF.
  • the SMF receives the address information of the first application server from the DNS server corresponding to the identifier of the first data network.
  • the SMF can send the DNS request information to the DNS server corresponding to the identity of the first data network; after receiving the DNS request information from the SMF, the DNS server corresponding to the identity of the first data network can send the DNS request information according to the application
  • the identifier determines the address information of the first application server, and sends the address information of the first application server to the UPF corresponding to the identifier of the first data network; the UPF corresponding to the identifier of the first data network receives the identifier corresponding to the first data network After the address information of the first application server of the DNS server, the address information of the first application server may be sent to the first terminal device.
  • the address information of the first terminal device may be determined by SMF, or sent by UPF to SMF. It may be sent by the UPF on its own initiative, or it may be sent after the UPF receives the fourth request information from the SMF. Before the UPF sends the address information of the first terminal device to the SMF, it may also determine the address information of the first terminal device according to the identifier of the data network corresponding to the location of the terminal device. It can be seen that the address information of the first terminal device may be actively sent by UPF to SMF, or it may be sent by UPF based on SMF's request.
  • the SMF can establish a data path between the shunt node and the UPF corresponding to the first data network.
  • the data path between the offload node and the UPF corresponding to the first data network can be established, as shown in ULCL in Figure 3
  • the data path between /BP and L-PSA1, or the data path of the session of the first terminal device can be reconfigured, including: adding or inserting the UPF and shunt node corresponding to the first data network.
  • the data path may be established by the SMF according to the identity of the first data network sent by the UPF network element, or may be established by the SMF according to the DNS request information sent by the UPF network element.
  • the shunt node can be ULCL, BP, or other network elements or devices with equivalent functions.
  • the data path can also be referred to as the user plane path. In the case where no offload node is inserted in the data path of the session of the first terminal, that is, there is no offload node, the offload node may be inserted first, and then the data path between the offload node and the UPF corresponding to the first data network is established.
  • the offload node already exists, that is, the offload node has been inserted, a path between the offload node and the UPF corresponding to the identifier of the first data network can be established.
  • the split node and the UPF corresponding to the first data network may be co-located or independent.
  • the SMF After the SMF establishes the data path between the offload node and the UPF corresponding to the first data network, it can be determined whether the data network between the offload node and the UPF corresponding to the first data network is established successfully. If the data path between UPFs is successfully established, the address information of the first application server may be sent to the first terminal device. After receiving the address information of the first application server, the first terminal device can communicate with the first application server according to the address information of the first application server, that is, can access the first application server according to the address information of the first application server. In one case, the SMF may send the address information of the first application server to the first terminal device through a NAS message.
  • the SMF may send the address information of the first application server to the first terminal device through the user plane path.
  • the user plane path can be SMF ⁇ distribution node ⁇ first terminal device.
  • the address information of the first application server may be carried in a DNS response message and sent to the first terminal device.
  • FIG. 6 is a schematic flowchart of another communication method disclosed in an embodiment of the present invention. As shown in FIG. 6, the communication method may include the following steps.
  • the first terminal device establishes a session.
  • the first terminal device sends the first request information including the identifier of the application to the UPF.
  • the UPF receives the first request information including the identification of the application from the first terminal device.
  • the UPF sends the DNS request information including the identifier of the application to the SMF.
  • the SMF can configure the identification of the application server corresponding to the data network.
  • UPF can configure the identity of the application server corresponding to the data network.
  • the SMF or UPF may also be configured with subnet information corresponding to the identifier of the data network.
  • the SMF can determine the network segment information of the MEC or the network segment information of the data network according to the identifier of the network segment corresponding to the data network.
  • the SMF can be configured with the identifier of the network segment corresponding to the data network.
  • the identification of the network segment corresponding to the data network can also be configured in UPF.
  • the SMF can configure the identification of the data network corresponding to the location of the terminal device.
  • the UPF can configure the identification of the data network corresponding to the location of the terminal device.
  • the SMF or UPF can configure the service range corresponding to the data network, and the SMF or UPF can determine the data network that the current location of the terminal device can access according to the corresponding relationship.
  • Step 603 may be executed by the UPF based on the instruction information of the SMF, or executed by the UPF based on the configured rules.
  • the SMF determines the address information of the first application server for the first terminal device according to the DNS request information.
  • the SMF determines the address information of the first application server for the first terminal device according to the DNS request information.
  • the relevant description above please refer to the relevant description above.
  • the SMF reconfigures the data path of the first terminal device session.
  • the SMF sends the address information of the first application server to the first terminal device.
  • the first terminal device accesses the first application server according to the address information.
  • steps 601 to 607 For detailed descriptions of steps 601 to 607, reference may be made to the above related descriptions, and details are not repeated here.
  • FIG. 7 is a schematic structural diagram of a communication device disclosed in an embodiment of the present invention. As shown in Figure 7, the communication device may include:
  • the receiving unit 701 is configured to receive first request information from a first terminal device, where the first request information includes an application identifier;
  • the sending unit 702 is configured to send DNS request information to the session management function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, and the data network list includes the first terminal supporting the service at the current position The identification of the data network of the device, and the DNS request information includes the identification of the application.
  • the receiving unit 701 is further configured to receive indication information from the session management function network element, where the indication information is used to indicate the user plane function network element when there is a data network deployed in the data network list that corresponds to the identification of the application.
  • the DNS request information is sent to the session management function network element.
  • the receiving unit 701 is further configured to receive a data network list from a network element with a session management function; or
  • the communication device may also include:
  • the determining unit 703 is configured to determine the data network list.
  • the sending unit 702 is further configured to send the second request information to the session management function network element before the receiving unit 701 receives the data network list from the session management function network element, where the second request information includes the first terminal device.
  • the identification of the second request information enables the determination of the data network list.
  • the determining unit 703 is further configured to determine that there is an identifier of the application deployed on the data network in the data network list according to the identifier of the application, the data network list, and the identifier of the application server deployed on the data network in the data network list. Corresponding application server.
  • the receiving unit 701 is further configured to receive the identifier of the application server deployed on the data network in the data network list of the session management function network element.
  • the sending unit 702 is further configured to send the third request information to the session management function network element before the receiving unit 701 receives the identifier of the application server deployed on the data network in the data network list of the session management function network element,
  • the third request information enables the identification of the application server deployed on the data network in the data network list to be determined.
  • the DNS request information enables the first terminal device to determine the address information of the first application server.
  • the first application server is the application server corresponding to the identification of the application deployed in the first data network.
  • the list includes the identification of the first data network.
  • enabling the DNS request information to determine the address information of the first application server for the first terminal device includes:
  • the DNS request information enables the identification of the first data network to be selected from the data network list according to the identification of the application, and the address information of the first application server is determined for the first terminal device according to the identification of the first data network.
  • the DNS request information enabling to determine the address information of the first application server for the first terminal device according to the identifier of the first data network includes:
  • the DNS request information enabling session management function network element sends the DNS request information to the DNS server corresponding to the identifier of the first data network, and receives address information of the first application server from the DNS server corresponding to the identifier of the first data network.
  • the DNS request information enabling to determine the address information of the first application server for the first terminal device according to the identifier of the first data network includes:
  • the DNS request information enabling session management function network element sends the DNS request information to the DNS server corresponding to the first data network identifier, and the DNS request information enables the DNS server corresponding to the device of the first data network to pass the device of the first data network.
  • the corresponding user plane function network element sends the address information of the first application server to the first terminal device.
  • the session management function network element sending the DNS request information to the DNS server corresponding to the identifier of the first data network includes:
  • the session management function network element sends the DNS request information to the DNS server corresponding to the identifier of the first data network through the user plane function network element corresponding to the identifier of the first data network.
  • enabling the DNS request information to determine the address information of the first application server for the first terminal device includes:
  • the DNS request information enabling session management function network element obtains the address information of the application server corresponding to the identification of the application from the DNS server, and determines the address information of the first application server for the first terminal device from the obtained address information.
  • the session management function network element acquiring the address information of the application server corresponding to the application identifier from the DNS server includes:
  • the session management function network element sends the DNS request information and the address information of the first terminal device to the DNS server, and receives the address information of the application server corresponding to the identification of the application from the DNS server.
  • the session management function network element acquiring the address information of the application server corresponding to the application identifier from the DNS server includes:
  • the session management function network element sends the DNS request information to the DNS server corresponding to the address information of the first terminal device, and receives the address information of the application server corresponding to the identifier of the application from the DNS server corresponding to the address information of the first terminal device.
  • the session management function network element determining the address information of the first application server for the first terminal device from the acquired address information includes:
  • the session management function network element is the first one from the acquired address information according to one or more of the priority, delay, and load of the application server or data network
  • the terminal device selects the address information of the first application server.
  • the DNS request information enables the establishment of a data path between the shunt node and the user plane function network element corresponding to the first data network.
  • the communication device may further include:
  • the selecting unit 704 is configured to select the identifier of the first data network from the data network list according to the identifier of the application;
  • the sending unit 702 is further configured to send the identity of the first data network to the session management function network element;
  • the DNS request information enabling to determine the address information of the first application server for the first terminal device includes:
  • the DNS request information and the identification of the first data network enable the first terminal device to determine the address information of the first application server.
  • the DNS request information and the identification of the first data network to enable the first terminal device to determine the address information of the first application server includes:
  • the DNS request information and the identity of the first data network enable the session management function network element to send DNS request information to the DNS server corresponding to the identity of the first data network, and receive the first application from the DNS server corresponding to the identity of the first data network The address information of the server.
  • the DNS request information and the identification of the first data network to enable the first terminal device to determine the address information of the first application server includes:
  • the DNS request information and the identity of the first data network enable the session management function network element to send the DNS request information to the DNS server corresponding to the identity of the first data network, and the DNS request information enables the DNS corresponding to the identity of the first data network
  • the server sends the address information of the first application server to the first terminal device through the user plane function network element corresponding to the first data network.
  • the identification of the first data network enables the establishment of a data path between the offload node and the user plane function network element corresponding to the first data network.
  • the DNS request information enables the session management network element to send the address information of the first application server to the first terminal device.
  • receiving unit 701, the sending unit 702, the determining unit 703, and the selecting unit 704 can be obtained directly by referring to the relevant description of the UPF in the method embodiments shown in FIG. 5 and FIG. 6, and will not be repeated here.
  • FIG. 8 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention. As shown in Figure 8, the communication device may include:
  • the receiving unit 801 is configured to receive DNS request information.
  • the DNS request information is sent by the user plane function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, and the data network list includes the current support service
  • the identification of the data network of the first terminal device at the location, the DNS request information includes the identification of the application, and the identification of the application is the identification of the application included in the request information from the first terminal device;
  • the determining unit 802 is configured to determine the address information of the first application server for the first terminal device according to the DNS request information.
  • the first application server is the application server corresponding to the identifier of the application deployed in the first data network, and the data network list Including the identification of the first data network.
  • the communication device may further include:
  • the sending unit 803 is configured to send instruction information to the user plane function network element, and the instruction information is used to instruct the user plane function network element to report to the session management when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list
  • the functional network element sends the DNS request information.
  • the sending unit 803 is further configured to send a data network list to the user plane function network element, and the data network list enable determines that there is an application server corresponding to the identifier of the data network deployed with the application in the data network list.
  • the receiving unit 801 is further configured to receive the second request information from the user plane function network element before the sending unit 803 sends the data network list to the user plane function network element, where the second request information includes the first terminal device The logo;
  • the determining unit 802 is further configured to determine the data network list according to the identifier of the first terminal device and the identifier of the data network corresponding to the location of the terminal device.
  • the sending unit 803 is further configured to send the identification of the application server deployed on the data network in the data network list to the user plane function network element, and the identification of the application server deployed on the data network in the data network list enables the determination of the data network There is an application server corresponding to the identifier of the application deployed on the data network in the list.
  • the receiving unit 801 is further configured to receive the third request information from the user plane function network element before the sending unit 803 sends the identification of the application server deployed on the data network in the data network list to the user plane function network element;
  • the determining unit 802 is further configured to determine the identifier of the application server deployed by the data network in the data network list according to the third request information.
  • the determining unit 802 determines the address information of the first application server for the first terminal device according to the DNS request information, including:
  • the determining unit 802 determining the address information of the first application server for the first terminal device according to the identifier of the first data network includes:
  • the determining unit 802 determining the address information of the first application server for the first terminal device according to the identifier of the first data network includes:
  • the DNS request information is sent to the DNS server corresponding to the identifier of the first data network, and the DNS request information enables the DNS server corresponding to the identifier of the first data network to send the DNS server corresponding to the identifier of the first data network to the first
  • the terminal device sends the address information of the first application server.
  • the determining unit 802 sending the DNS request information to the DNS server corresponding to the identifier of the first data network includes:
  • the user plane function network element corresponding to the identifier of the first data network sends the DNS request information to the DNS server corresponding to the identifier of the first data network.
  • the determining unit 802 determining the address information of the first application server for the first terminal device according to the DNS request information includes:
  • the determining unit 802 obtains the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information, including:
  • the determining unit 802 obtains the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information, including:
  • the determining unit 802 determining the address information of the first application server for the first terminal device from the acquired address information includes:
  • the number of acquired address information is greater than 1, according to one or more of the priority, delay and load of the application server or data network, select the first terminal device from the acquired address information. Address information of the application server.
  • the determining unit 802 determines the address information of the first application server for the first terminal device according to the DNS request information, including:
  • the determining unit 802 determines the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network, including:
  • the determining unit 802 determines the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network, including:
  • the communication device may further include:
  • the establishing unit 804 is configured to establish a data path between the shunt node and the user plane function network element corresponding to the first data network.
  • the sending unit 803 is further configured to send the address information of the first application server to the first terminal device.
  • FIG. 9 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention.
  • the communication device may include a processor 901, a memory 902, an input interface 903, an output interface 904, and a bus 905.
  • the memory 902 may exist independently, and may be connected to the processor 901 through the bus 905.
  • the memory 902 may also be integrated with the processor 901. Among them, the bus 905 is used to realize the connection between these components.
  • the communication device may be a UPF or a module (for example, a chip) in the UPF.
  • the processor 901 is used to control the receiving unit 701 and the sending unit 702 to execute
  • the processor 901 is also used to perform the operations performed by the determining unit 703 and the selecting unit 704 in the foregoing embodiments
  • the input interface 903 is used to perform the operations performed by the receiving unit 701 in the foregoing embodiment
  • the output interface 904 is used to perform operations performed by the sending unit 702 in the foregoing embodiment.
  • the foregoing UPF or the modules in the UPF may also be used to execute various methods executed by the UPF in the foregoing method embodiments in FIG. 5 and FIG. 6, and details are not described herein again.
  • the communication device may be an SMF or a module (for example, a chip) in the SMF.
  • the processor 901 is used to control the receiving unit 801 and the sending unit 803 to execute
  • the processor 901 is also used to perform the operations performed by the determining unit 802 and the establishing unit 804 in the foregoing embodiment
  • the input interface 903 is used to perform the operations performed by the receiving unit 801 in the foregoing embodiment
  • the output interface 904 is used to perform operations performed by the sending unit 803 in the foregoing embodiment.
  • the foregoing SMF or the modules in the SMF can also be used to execute various methods executed by the SMF in the foregoing method embodiments of FIG. 5 and FIG. 6, and details are not described herein again.
  • FIG. 10 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention.
  • the communication device may include an input interface 1001, a logic circuit 1002, and an output interface 1003.
  • the input interface 1001 and the output interface 1003 are connected through a logic circuit 1002.
  • the input interface 1001 is used to receive information from other communication devices, and the output interface 1003 is used to output, schedule, or send information to other communication devices.
  • the logic circuit 1002 is used to perform operations other than the operations of the input interface 1001 and the output interface 1003, for example, to implement the functions implemented by the processor 901 in the foregoing embodiment.
  • the communication device may be a UPF or UPF module, or may be an SMF or a module within the SMF.
  • the input interface 1001, the logic circuit 1002, and the output interface 1003 can be obtained directly by referring to the relevant description of the SMF or UPF in the foregoing method embodiment, and will not be repeated here.
  • the embodiment of the present invention also discloses a computer-readable storage medium on which an instruction is stored, and the method in the foregoing method embodiment is executed when the instruction is executed.
  • the embodiment of the present invention also discloses a computer program product including instructions, which execute the method in the foregoing method embodiment when the instruction is executed.
  • the embodiment of the present invention also discloses a communication system.
  • the communication system includes UPF and SMF.
  • UPF User Plane Function
  • SMF Session Management Function

Landscapes

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

Abstract

Disclosed are a communication method and apparatus, and a computer-readable storage medium. The method comprises: receiving first request information from a first terminal device, wherein the first request information comprises an identifier of an application; and when there is a data network in which an application server corresponding to the identifier of the application is deployed in a data network list, sending domain name system (DNS) request information to a session management function network element, wherein the data network list comprises an identifier of a data network that supports and serves the first terminal device located at the current position, and the DNS request information comprises the identifier of the application. By means of the embodiments of the present invention, when there is a data network in which an application server corresponding to an identifier of an application is deployed in a data network list, a user plane function network element sends domain name system DNS request information to a session management function network element, so that the quantity of transmitted information can be reduced, and communication resources can be saved on.

Description

一种通信方法、装置及计算机可读存储介质Communication method, device and computer readable storage medium
本申请要求于2020年06月05日提交中国专利局、申请号为202010508119.5、申请名称为“一种通信方法、装置及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 202010508119.5, and the application name is "a communication method, device and computer-readable storage medium" on June 5, 2020, the entire content of which is incorporated by reference Incorporated in this application.
技术领域Technical field
本发明实施例涉及通信技术领域,尤其涉及一种通信方法、装置及计算机可读存储介质。The embodiments of the present invention relate to the field of communication technologies, and in particular, to a communication method, device, and computer-readable storage medium.
背景技术Background technique
在第五代(5th generation,5G)通信系统中,用户面功能网元接收到来自终端设备的包括应用的标识的请求信息之后,向会话管理功能网元发送包括该应用的标识的域名系统(domain name system,DNS)请求信息。上述过程中,一旦用户面功能网元接收到来自终端设备的包括应用的标识的请求信息,均需要向会话管理功能网元发送DNS请求信息,需要传输的信息的数量较多,以致造成了通信资源的浪费。In the 5th generation (5G) communication system, after the user plane function network element receives the request information including the identification of the application from the terminal device, it sends the domain name system ( domain name system, DNS) request information. In the above process, once the user plane function network element receives the request information including the identification of the application from the terminal device, it needs to send DNS request information to the session management function network element. The amount of information that needs to be transmitted is large, resulting in communication Waste of resources.
发明内容Summary of the invention
本发明实施例公开了一种通信方法、装置及计算机可读存储介质,用于节约通信资源。The embodiment of the invention discloses a communication method, a device and a computer-readable storage medium, which are used to save communication resources.
第一方面公开一种通信方法,该方法可以应用于用户面功能网元,也可以应用于用户面功能网元中的模块(例如,芯片),下面以应用于用户面功能网元为例进行描述。该方法可以包括:接收来自第一终端设备的包括应用的标识的第一请求信息,当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,向会话管理功能网元发送DNS请求信息,数据网络列表包括支持服务处于当前位置的第一终端设备的数据网络的标识,该DNS请求信息包括该应用的标识。The first aspect discloses a communication method, which can be applied to a user-plane functional network element, and can also be applied to a module (for example, a chip) in a user-plane functional network element. The following takes the application to a user-plane functional network element as an example. describe. The method may include: receiving the first request information including the identification of the application from the first terminal device, and when there is an application server corresponding to the identification of the application deployed on the data network in the data network list, sending DNS to the session management function network element Request information, the data network list includes the identification of the data network supporting the first terminal device at the current location, and the DNS request information includes the identification of the application.
本发明实施例中,用户面功能网元接收到来自终端设备的包括应用的标识的请求信息之后,当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,才向会话管理功能网元发送包括该应用的标识的DNS请求信息,而当数据网络列表中不存在数据网络部署有该应用的标识对应的应用服务器时,不向会话管理功能网元发送包括该应用的标识的DNS请求信息,可以减少用户面功能网元与会话管理功能网元之间传输的信息的数量,从而可以节约通信资源。In the embodiment of the present invention, after the user plane function network element receives the request information from the terminal device that includes the identification of the application, only when there is an application server corresponding to the identification of the application deployed on the data network in the data network list, the session management The functional network element sends the DNS request information including the identification of the application, and when there is no application server corresponding to the identification of the application deployed on the data network in the data network list, it does not send the information that includes the identification of the application to the session management functional network element. The DNS request information can reduce the amount of information transmitted between the user plane function network element and the session management function network element, thereby saving communication resources.
作为一种可能的实施方式,该方法还可以包括:接收来自会话管理功能网元的指示信息,该指示信息用于指示用户面功能网元当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,向会话管理功能网元发送该DNS请求信息。As a possible implementation manner, the method may further include: receiving indication information from the session management function network element, the indication information is used to indicate the user plane function network element when there is an identifier of the data network deployed with the application in the data network list The corresponding application server sends the DNS request information to the session management function network element.
本发明实施例中,用户面功能网元接收到来自终端设备的包括应用的标识的请求信息之后,可以根据会话管理功能网元发送的指示当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,才向会话管理功能网元发送包括该应用的标识的DNS请求信息,当数据网络列表中不存在数据网络部署有该应用的标识对应的应用服务器时,不向 会话管理功能网元发送包括该应用的标识的DNS请求信息,可以减少用户面功能网元与会话管理功能网元之间传输的信息的数量,从而可以节约通信资源。In the embodiment of the present invention, after the user plane function network element receives the request information from the terminal device that includes the identification of the application, it can follow the instructions sent by the session management function network element. The DNS request information including the identification of the application is sent to the session management function network element only when the corresponding application server. When the data network does not have the application server corresponding to the application identification deployed on the data network, the session management function is not sent The network element sending the DNS request information including the identifier of the application can reduce the amount of information transmitted between the user plane function network element and the session management function network element, thereby saving communication resources.
作为一种可能的实施方式,该方法还可以包括:接收来自会话管理功能网元的数据网络列表;或者确定数据网络列表。As a possible implementation manner, the method may further include: receiving a data network list from a session management function network element; or determining a data network list.
本发明实施例中,数据网络列表可以是会话管理功能网元发送给用户面功能网元的,也可以是用户面功能网元确定的,以便用户面功能网元可以根据数据网络列表确定数据网络列表中是否存在数据网络部署有该应用的标识对应的应用服务器,从而可以确定要不要给会话管理功能网元发送包括该应用的标识的DNS请求信息。In the embodiment of the present invention, the data network list may be sent by the session management function network element to the user plane function network element, or it may be determined by the user plane function network element, so that the user plane function network element can determine the data network according to the data network list Whether there is an application server corresponding to the identifier of the application deployed on the data network in the list, so that it can be determined whether to send the DNS request information including the identifier of the application to the session management function network element.
作为一种可能的实施方式,接收来自会话管理功能网元的数据网络列表之前,该方法还可以包括:向会话管理功能网元发送第二请求信息,第二请求信息包括第一终端设备的标识,第二请求信息使能确定数据网络列表。As a possible implementation manner, before receiving the data network list from the session management function network element, the method may further include: sending second request information to the session management function network element, where the second request information includes the identification of the first terminal device , The second request information enables the determination of the data network list.
本发明实施例中,数据网络列表可以是会话管理功能网元基于用户面功能网元的请求发送给用户面功能网元的,可见,用户面功能网元在有需要的情况下,可以向会话管理功能网元请求数据网络列表,可以避免在用户面功能网元不需要的情况下,会话管理功能网元将数据网络列表发送给用户面功能网元,可以减少不必要信息的传输。In the embodiment of the present invention, the data network list may be sent by the session management function network element to the user plane function network element based on the request of the user plane function network element. The management function network element requests the data network list, which can prevent the session management function network element from sending the data network list to the user plane function network element when the user plane function network element does not need it, which can reduce unnecessary information transmission.
作为一种可能的实施方式,该方法还可以包括:根据该应用的标识、数据网络列表以及数据网络列表中数据网络部署的应用服务器的标识,确定数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器。As a possible implementation, the method may further include: determining that there is a data network deployed with the application in the data network list according to the application identifier, the data network list, and the identifier of the application server deployed on the data network in the data network list. Identifies the corresponding application server.
作为一种可能的实施方式,该方法还可以包括:接收来自会话管理功能网元的数据网络列表中数据网络部署的应用服务器的标识;或者确定数据网络列表中数据网络部署的应用服务器的标识。As a possible implementation manner, the method may further include: receiving an identifier of an application server deployed on a data network in a data network list of a session management function network element; or determining an identifier of an application server deployed on a data network in the data network list.
本发明实施例中,数据网络列表中数据网络部署的应用服务器的标识可以是会话管理功能网元发送给用户面功能网元的,也可以是用户面功能网元确定的,以便用户面功能网元可以根据数据网络列表中数据网络部署的应用服务器的标识确定数据网络列表中是否存在数据网络部署有该应用的标识对应的应用服务器,从而可以确定要不要给会话管理功能网元发送包括该应用的标识的DNS请求信息。In the embodiment of the present invention, the identification of the application server deployed on the data network in the data network list may be sent by the session management function network element to the user plane function network element, or may be determined by the user plane function network element so that the user plane function network The element can determine whether there is an application server corresponding to the identifier of the application deployed on the data network in the data network list according to the identifier of the application server deployed on the data network in the data network list, so as to determine whether to send the application including the application to the session management function network element ID of the DNS request information.
作为一种可能的实施方式,接收来自会话管理功能网元的数据网络列表中数据网络部署的应用服务器的标识之前,该方法还可以包括:向会话管理功能网元发送第三请求信息,第三请求信息使能确定数据网络列表中数据网络部署的应用服务器的标识。As a possible implementation manner, before receiving the identifier of the application server deployed on the data network in the data network list of the session management function network element, the method may further include: sending third request information to the session management function network element, and third The request information enables the identification of the application server deployed on the data network in the data network list to be determined.
本发明实施例中,数据网络列表中数据网络部署的应用服务器的标识可以是会话管理功能网元基于用户面功能网元的请求发送给用户面功能网元的,可见,用户面功能网元在有需要的情况下,可以向会话管理功能网元请求数据网络列表中数据网络部署的应用服务器的标识,可以避免在用户面功能网元不需要的情况下,会话管理功能网元将数据网络列表中数据网络部署的应用服务器的标识发送给用户面功能网元,可以减少不必要信息的传输。In the embodiment of the present invention, the identification of the application server deployed by the data network in the data network list may be that the session management function network element sends to the user plane function network element based on the request of the user plane function network element. It can be seen that the user plane function network element is in If necessary, the ID of the application server deployed on the data network in the data network list can be requested from the session management function network element. This can avoid the need for the session management function network element to list the data network when the user plane function network element does not need it. The identification of the application server deployed in the data network is sent to the user plane function network element, which can reduce the transmission of unnecessary information.
作为一种可能的实施方式,该DNS请求信息可以使能为第一终端设备确定第一应用服务器的地址信息,第一应用服务器为部署在第一数据网络中的该应用的标识对应的应用服务器,数据网络列表包括第一数据网络的标识。As a possible implementation manner, the DNS request information may enable the first terminal device to determine the address information of the first application server, the first application server being the application server corresponding to the identification of the application deployed in the first data network , The data network list includes the identification of the first data network.
本发明实施例中,DNS请求信息可以使能,或用于,或以使得,为终端设备确定应用服务器的地址信息,以便终端设备可以根据该地址信息访问应用服务器。In the embodiment of the present invention, the DNS request information can be enabled, or used, or so as to determine the address information of the application server for the terminal device, so that the terminal device can access the application server according to the address information.
作为一种可能的实施方式,该DNS请求信息使能为第一终端设备确定第一应用服务器的地址信息可以包括:该DNS请求信息可以使能根据该应用的标识从数据网络列表中选取第一数据网络的标识,根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息。As a possible implementation manner, the DNS request information enabling the first terminal device to determine the address information of the first application server may include: the DNS request information may enable the first terminal device to be selected from the data network list according to the identification of the application. The identification of the data network determines the address information of the first application server for the first terminal device according to the identification of the first data network.
本发明实施例中,在为终端设备确定应用服务器的地址信息时,可以先确定一个终端设备当前可以使用的数据网络的标识,之后可以根据这个数据网络的标识为终端设备确定应用服务器的地址信息,可以减少数据网络的数量,减少了确定范围,减少发送的DNS请求的数量,从而可以提高应用服务器的地址信息的确定效率。In the embodiment of the present invention, when determining the address information of the application server for the terminal device, the identification of a data network that the terminal device can currently use can be determined first, and then the address information of the application server can be determined for the terminal device according to the identification of the data network , Can reduce the number of data networks, reduce the scope of determination, reduce the number of DNS requests sent, thereby improving the efficiency of determining the address information of the application server.
作为一种可能的实施方式,该DNS请求信息使能根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息可以包括:该DNS请求信息可以使能会话管理功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,接收来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。As a possible implementation manner, the DNS request information enabling the determination of the address information of the first application server for the first terminal device according to the identifier of the first data network may include: the DNS request information may enable the session management function network element to forward The DNS server corresponding to the identifier of the first data network sends the DNS request information, and receives the address information of the first application server from the DNS server corresponding to the identifier of the first data network.
本发明实施例中,确定的数据网络的标识对应的DNS服务器在解析完DNS请求信息之后,可以将解析结果返回给会话管理功能网元。In the embodiment of the present invention, after the DNS server corresponding to the determined data network identifier has resolved the DNS request information, the resolution result may be returned to the session management function network element.
作为一种可能的实施方式,该DNS请求信息使能根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息可以包括:该DNS请求信息可以使能会话管理功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,该DNS请求信息使能第一数据网络的标识对应的DNS服务器通过第一数据网络对应的用户面功能网元向第一终端设备发送第一应用服务器的地址信息。As a possible implementation manner, the DNS request information enabling the determination of the address information of the first application server for the first terminal device according to the identifier of the first data network may include: the DNS request information may enable the session management function network element to forward The DNS server corresponding to the identifier of the first data network sends the DNS request information, and the DNS request information enables the DNS server corresponding to the identifier of the first data network to send to the first terminal device through the user plane function network element corresponding to the first data network Address information of the first application server.
本发明实施例中,确定的数据网络的标识对应的DNS服务器在解析完DNS请求信息之后,可以将解析结果直接通过确定的数据网络的标识对应的用户面功能网元发送给终端设备,而不返回给会话管理功能网元。In the embodiment of the present invention, after the DNS server corresponding to the determined data network identifier has resolved the DNS request information, the resolution result can be directly sent to the terminal device through the user plane function network element corresponding to the determined data network identifier, instead of Return to the session management function network element.
作为一种可能的实施方式,会话管理功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息可以包括:会话管理功能网元可以通过第一数据网络的标识对应的用户面功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息。As a possible implementation manner, the session management function network element sending the DNS request information to the DNS server corresponding to the identifier of the first data network may include: the session management function network element may use the user plane function corresponding to the identifier of the first data network The network element sends the DNS request information to the DNS server corresponding to the identifier of the first data network.
本发明实施例中,在会话管理功能网元与DNS服务器之间没有直接接口的情况下,会话管理功能网元可以通过本地用户面功能网元将信息发送给DNS服务器,从而可以实现DNS请求信息的解析。In the embodiment of the present invention, when there is no direct interface between the session management function network element and the DNS server, the session management function network element can send information to the DNS server through the local user plane function network element, thereby realizing DNS request information Analysis.
作为一种可能的实施方式,该DNS请求信息使能为第一终端设备确定第一应用服务器的地址信息可以包括:该DNS请求信息可以使能会话管理功能网元从DNS服务器获取该应用的标识对应的应用服务器的地址信息,从获取的地址信息中为第一终端设备选取第一应用服务器的地址信息。As a possible implementation manner, the DNS request information enabling the first terminal device to determine the address information of the first application server may include: the DNS request information may enable the session management function network element to obtain the identification of the application from the DNS server The address information of the corresponding application server selects the address information of the first application server for the first terminal device from the acquired address information.
本发明实施例中,在为终端设备确定应用服务器的地址信息时,可以先由DNS服务器对DNS请求信息进行解析,之后基于DNS服务器返回的该应用的标识对应的应用服务器的地址信息为终端设备确定应用服务器的地址信息,可以保证确定的应用服务器是终端设备可以使用的。In the embodiment of the present invention, when determining the address information of the application server for the terminal device, the DNS request information may be parsed by the DNS server first, and then the address information of the application server corresponding to the application identifier returned by the DNS server is the terminal device Determining the address information of the application server can ensure that the determined application server can be used by the terminal device.
作为一种可能的实施方式,会话管理功能网元从DNS服务器获取该应用的标识对应的应用服务器的地址信息可以包括:会话管理功能网元可以向DNS服务器发送该DNS请求信息和第一终端设备的地址信息,接收来自DNS服务器的该应用的标识对应的应用服务器的地址信息。As a possible implementation manner, the session management function network element acquiring the address information of the application server corresponding to the application identifier from the DNS server may include: the session management function network element may send the DNS request information and the first terminal device to the DNS server The address information of the application server receives the address information of the application server corresponding to the identification of the application from the DNS server.
本发明实施例中,DNS请求信息可以由集中DNS服务器进行解析。In the embodiment of the present invention, the DNS request information can be resolved by a centralized DNS server.
作为一种可能的实施方式,会话管理功能网元从DNS服务器获取该应用的标识对应的应用服务器的地址信息可以包括:会话管理功能网元可以向第一终端设备的地址信息对应的DNS服务器发送该DNS请求信息,接收来自第一终端设备的地址信息对应的DNS服务器的该应用的标识对应的应用服务器的地址信息。As a possible implementation manner, the session management function network element acquiring the address information of the application server corresponding to the application identifier from the DNS server may include: the session management function network element may send to the DNS server corresponding to the address information of the first terminal device The DNS request information receives the address information of the application server corresponding to the identifier of the application from the DNS server corresponding to the address information of the first terminal device.
本发明实施例中,DNS请求信息可以由终端设备的地址信息对应的DNS服务器(即本地DNS服务器)进行解析。作为一种可能的实施方式,会话管理功能网元从获取的地址信息中为第一终端设备确定第一应用服务器的地址信息可以包括:在获取的地址信息的数量大于1的情况下,会话管理功能网元可以根据应用服务器或数据网络的优先级、时延和负载情况中的一项或多项,从获取的地址信息中中为第一终端设备选取第一应用服务器的地址信息。In the embodiment of the present invention, the DNS request information may be resolved by the DNS server (ie, the local DNS server) corresponding to the address information of the terminal device. As a possible implementation manner, the session management function network element determining the address information of the first application server for the first terminal device from the acquired address information may include: when the number of acquired address information is greater than 1, the session management The functional network element may select the address information of the first application server for the first terminal device from the acquired address information according to one or more of the priority, time delay, and load condition of the application server or the data network.
本发明实施例中,可以保证为终端设备确定的应用服务器的地址信息为终端设备当前可以使用且最优的应用服务器的地址信息。In the embodiment of the present invention, it can be ensured that the address information of the application server determined for the terminal device is the address information of the optimal application server currently available to the terminal device.
作为一种可能的实施方式,该DNS请求信息可以使能分流节点与第一数据网络对应的用户面功能网元之间的数据路径的建立。As a possible implementation manner, the DNS request information may enable the establishment of a data path between the offload node and the user plane function network element corresponding to the first data network.
本发明实施例中,在终端设备存在业务需求的情况下,例如,某些应用在本地数据网络中部署了对应的应用服务器,会话管理功能网元可以建立分流节点与数据网络对应的用户面功能网元之间的数据路径,而不是使用会话初始建立过程中确定的数据路径。或者终端设备移动后,之前访问某个应用对应的应用服务器的用户面路径不再最优时,会话管理功能网元建立分流节点与数据网络对应的用户面功能网元之间的数据路径。因此,可以优化终端设备与数据网络之间的通信路径。In the embodiment of the present invention, when the terminal device has service requirements, for example, some applications deploy corresponding application servers in the local data network, and the session management function network element can establish the user plane function corresponding to the offload node and the data network. The data path between network elements, instead of using the data path determined during the initial establishment of the session. Or after the terminal device is moved, when the user plane path for accessing the application server corresponding to a certain application is no longer optimal, the session management function network element establishes a data path between the shunt node and the user plane function network element corresponding to the data network. Therefore, the communication path between the terminal device and the data network can be optimized.
作为一种可能的实施方式,该方法还可以包括:根据该应用的标识从数据网络列表中选取第一数据网络的标识,向会话管理功能网元发送第一数据网络的标识。该DNS请求信息使能为第一终端设备确定第一应用服务器的地址信息可以包括:该DNS请求信息和第一数据网络的标识可以使能为第一终端设备确定第一应用服务器的地址信息。As a possible implementation manner, the method may further include: selecting the identifier of the first data network from the data network list according to the identifier of the application, and sending the identifier of the first data network to the session management function network element. The DNS request information enabling the first terminal device to determine the address information of the first application server may include: the DNS request information and the identification of the first data network may enable the first terminal device to determine the address information of the first application server.
本发明实施例中,用户面功能网元可以确定一个终端设备当前可用的数据网络之后将这个数据网络的标识发送给会话管理功能网元,会话管理功能网元可以根据该DNS请求信息和这个数据网络的标识为终端设备确定应用服务器的地址信息,可以减少数据网络的数量,减少了确定范围,从而可以提高应用服务器的地址信息的确定效率。In the embodiment of the present invention, the user plane function network element may determine a data network currently available to the terminal device and then send the identification of the data network to the session management function network element, and the session management function network element may request information based on the DNS and the data The identification of the network is for the terminal device to determine the address information of the application server, which can reduce the number of data networks and the determination range, thereby improving the efficiency of determining the address information of the application server.
作为一种可能的实施方式,该DNS请求信息和第一数据网络的标识使能为第一终端设备确定第一应用服务器的地址信息可以包括:该DNS请求信息和第一数据网络的标识可以使能会话管理功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,接收来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。As a possible implementation manner, the DNS request information and the identification of the first data network enable the first terminal device to determine the address information of the first application server may include: the DNS request information and the identification of the first data network may enable The network element capable of session management sends the DNS request information to the DNS server corresponding to the identifier of the first data network, and receives address information of the first application server from the DNS server corresponding to the identifier of the first data network.
本发明实施例中,这个数据网络对应的DNS服务器在解析完DNS请求信息之后,可以 将解析结果返回给会话管理功能网元。In the embodiment of the present invention, after the DNS server corresponding to this data network has resolved the DNS request information, it may return the resolution result to the session management function network element.
作为一种可能的实施方式,该DNS请求信息和第一数据网络的标识使能为第一终端设备确定第一应用服务器的地址信息可以包括:该DNS请求信息和第一数据网络的标识可以使能会话管理功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,该DNS请求信息可以使能第一数据网络的标识对应的DNS服务器通过第一数据网络对应的用户面功能网元向第一终端设备发送第一应用服务器的地址信息。As a possible implementation manner, the DNS request information and the identification of the first data network enable the first terminal device to determine the address information of the first application server may include: the DNS request information and the identification of the first data network may enable The network element capable of the session management function sends the DNS request information to the DNS server corresponding to the identifier of the first data network, and the DNS request information can enable the DNS server corresponding to the identifier of the first data network to pass the user plane function corresponding to the first data network The network element sends the address information of the first application server to the first terminal device.
本发明实施例中,这个数据网络对应的DNS服务器在解析完DNS请求信息之后,可以将解析结果直接通过确定的数据网络对应的用户面功能网元发送给终端设备,而不返回给会话管理功能网元。In the embodiment of the present invention, after the DNS server corresponding to this data network has resolved the DNS request information, the analysis result can be directly sent to the terminal device through the user plane function network element corresponding to the determined data network, without returning to the session management function Network element.
作为一种可能的实施方式,第一数据网络的标识可以使能分流节点与第一数据网络对应的用户面功能网元之间的数据路径的建立。As a possible implementation manner, the identification of the first data network may enable the establishment of a data path between the offload node and the user plane function network element corresponding to the first data network.
本发明实施例中,在终端设备存在业务需求的情况下,例如,某些应用在本地数据网络中部署了对应的应用服务器,会话管理功能网元可以建立分流节点与数据网络对应的用户面功能网元之间的数据路径,而不是使用会话初始建立过程中确定的数据路径。或者终端设备移动后,之前访问某个应用对应的应用服务器的用户面路径不再最优时,用户面功能网元可以通知会话管理功能网元建立分流节点与数据网络对应的用户面功能网元之间的数据路径。因此,可以优化终端设备与数据网络之间的通信路径。In the embodiment of the present invention, when the terminal device has service requirements, for example, some applications deploy corresponding application servers in the local data network, and the session management function network element can establish the user plane function corresponding to the offload node and the data network. The data path between network elements, instead of using the data path determined during the initial establishment of the session. Or after the terminal device moves, when the user plane path for accessing the application server corresponding to an application is no longer optimal, the user plane function network element can notify the session management function network element to establish the user plane function network element corresponding to the shunt node and the data network Data path between. Therefore, the communication path between the terminal device and the data network can be optimized.
作为一种可能的实施方式,该DNS请求信息可以使能会话管理网元向第一终端设备发送第一应用服务器的地址信息。As a possible implementation manner, the DNS request information may enable the session management network element to send the address information of the first application server to the first terminal device.
本发明实施例中,可以将应用服务器的地址信息发送给终端设备,以便终端设备可以根据该地址信息访问应用服务器。In the embodiment of the present invention, the address information of the application server can be sent to the terminal device, so that the terminal device can access the application server according to the address information.
第二方面公开一种通信方法,该方法可以应用于会话管理功能网元,也可以应用于会话管理功能网元中的模块(例如,芯片),下面以应用于会话管理功能网元为例进行描述。该方法可以包括:接收DNS请求信息,根据该DNS请求信息为第一终端设备确定第一应用服务器的地址信息,DNS请求信息为用户面功能网元当数据网络列表中存在数据网络部署有应用的标识对应的应用服务器时所发送,数据网络列表包括支持服务处于当前位置的第一终端设备的数据网络的标识,该DNS请求信息可以包括该应用的标识,该应用的标识为来自第一终端设备的请求信息包括的应用的标识,第一应用服务器为部署在第一数据网络中的该应用的标识对应的应用服务器,数据网络列表可以包括第一数据网络的标识。The second aspect discloses a communication method, which can be applied to a network element with a session management function, and can also be applied to a module (for example, a chip) in a network element with a session management function. The following uses a network element with a session management function as an example. describe. The method may include: receiving DNS request information, and determining address information of the first application server for the first terminal device according to the DNS request information, and the DNS request information is a user plane function network element. Sent when the corresponding application server is identified, the data network list includes the identification of the data network that supports the service of the first terminal device at the current location, the DNS request information may include the identification of the application, and the identification of the application is from the first terminal device The request information includes the identification of the application, the first application server is an application server corresponding to the identification of the application deployed in the first data network, and the data network list may include the identification of the first data network.
本发明实施例中,当数据网络列表中存在数据网络部署有应用的标识对应的应用服务器时,会话管理功能网元才能接收到用户面功能网元发送的DNS请求信息,而当数据网络列表中不存在数据网络部署有应用的标识对应的应用服务器时,会话管理功能网元不会接收到用户面功能网元发送的DNS请求信息,可以减少用户面功能网元与会话管理功能网元之间传输的信息的数量,从而可以节约通信资源。此外,可以根据DNS请求信息为第一终端设备确定应用服务器的地址信息,以便终端设备可以根据该地址信息访问应用服务器。In the embodiment of the present invention, when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, the session management function network element can receive the DNS request information sent by the user plane function network element, and when the data network list is When there is no application server corresponding to the application identifier deployed on the data network, the session management function network element will not receive the DNS request information sent by the user plane function network element, which can reduce the communication between the user plane function network element and the session management function network element. The amount of information transmitted, which can save communication resources. In addition, the address information of the application server can be determined for the first terminal device according to the DNS request information, so that the terminal device can access the application server according to the address information.
作为一种可能的实施方式,该方法还可以包括:向用户面功能网元发送指示信息,该指示信息可以用于指示用户面功能网元当数据网络列表中存在数据网络部署有该应用的标 识对应的应用服务器时,向会话管理功能网元发送该DNS请求信息。As a possible implementation manner, the method may further include: sending instruction information to the user plane function network element, and the instruction information may be used to indicate the user plane function network element when the data network list has the identifier of the data network deployed with the application The corresponding application server sends the DNS request information to the session management function network element.
本发明实施例中,会话管理功能网元可以向用户面功能网元发送指示信息,以便用户面功能网元接收到来自终端设备的包括应用的标识的请求信息之后,可以根据会话管理功能网元发送的指示当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,才向会话管理功能网元发送包括该应用的标识的DNS请求信息,当数据网络列表中不存在数据网络部署有该应用的标识对应的应用服务器时,不向会话管理功能网元发送包括该应用的标识的DNS请求信息,可以减少用户面功能网元与会话管理功能网元之间传输的信息的数量,从而可以节约通信资源。In the embodiment of the present invention, the session management function network element may send instruction information to the user plane function network element, so that after the user plane function network element receives the request information including the identification of the application from the terminal device, it can manage the function network element according to the session management function. Sending instructions: When there is an application server corresponding to the identification of the application deployed on the data network in the data network list, the DNS request information including the identification of the application is sent to the session management function network element. When there is no data network in the data network list When the application server corresponding to the identification of the application is deployed, the DNS request information including the identification of the application is not sent to the session management function network element, which can reduce the amount of information transmitted between the user plane function network element and the session management function network element , Which can save communication resources.
作为一种可能的实施方式,该方法还可以包括:向用户面功能网元发送数据网络列表,数据网络列表使能确定数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器。As a possible implementation manner, the method may further include: sending a data network list to the user plane function network element, and the data network list enable determines that there is an application server corresponding to the identifier of the data network deployed with the application in the data network list.
本发明实施例中,会话管理功能网元可以将数据网络列表发送给用户面功能网元,以便用户面功能网元接收到来自终端设备的包括应用的标识的请求信息之后,可以根据数据网络列表确定数据网络列表中是否存在数据网络部署有该应用的标识对应的应用服务器,从而可以确定要不要给会话管理功能网元发送包括该应用的标识的DNS请求信息。In the embodiment of the present invention, the session management function network element may send the data network list to the user plane function network element, so that after the user plane function network element receives the request information including the application identifier from the terminal device, it can be based on the data network list It is determined whether there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, so that it can be determined whether to send the DNS request information including the identifier of the application to the session management function network element.
作为一种可能的实施方式,向用户面功能网元发送数据网络列表之前,该方法还可以包括:接收来自用户面功能网元的包括第一终端设备的标识的第二请求信息,根据第一终端设备的标识以及终端设备的位置对应的数据网络的标识确定数据网络列表。As a possible implementation manner, before sending the data network list to the user plane function network element, the method may further include: receiving second request information from the user plane function network element that includes the identifier of the first terminal device, and according to the first The identification of the terminal device and the identification of the data network corresponding to the location of the terminal device determine the data network list.
本发明实施例中,会话管理功能网元可以在接收到来自用户面功能网元的请求信息之后,才将数据网络列表发送给用户面功能网元。可见,会话管理功能网元可以根据用户面功能网元的需要向用户面功能网元发送数据网络列表,可以避免在用户面功能网元不需要的情况下,将数据网络列表发送给用户面功能网元,可以减少不必要信息的传输。In the embodiment of the present invention, the session management function network element may send the data network list to the user plane function network element after receiving the request information from the user plane function network element. It can be seen that the session management function network element can send the data network list to the user plane function network element according to the needs of the user plane function network element, which can avoid sending the data network list to the user plane function when the user plane function network element does not need it. Network elements can reduce the transmission of unnecessary information.
作为一种可能的实施方式,该方法还可以包括:向用户面功能网元发送数据网络列表中数据网络部署的应用服务器的标识,数据网络列表中数据网络部署的应用服务器的标识可以使能确定数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器。As a possible implementation manner, the method may further include: sending the identification of the application server deployed on the data network in the data network list to the user plane function network element, and the identification of the application server deployed on the data network in the data network list may be enabled to determine There is an application server corresponding to the identifier of the application deployed on the data network in the data network list.
本发明实施例中,会话管理功能网元可以将数据网络列表中数据网络部署的应用服务器的标识发送给用户面功能网元,以便用户面功能网元接收到来自终端设备的包括应用的标识的请求信息之后,可以根据数据网络列表中数据网络部署的应用服务器的标识确定数据网络列表中是否存在数据网络部署有该应用的标识对应的应用服务器,从而可以确定要不要给会话管理功能网元发送包括该应用的标识的DNS请求信息。In the embodiment of the present invention, the session management function network element may send the identification of the application server deployed on the data network in the data network list to the user plane function network element, so that the user plane function network element receives the information including the identification of the application from the terminal device After requesting the information, you can determine whether there is an application server corresponding to the application identifier deployed on the data network in the data network list according to the identifier of the application server deployed on the data network in the data network list, so as to determine whether to send to the session management function network element DNS request information including the identification of the application.
作为一种可能的实施方式,向用户面功能网元发送数据网络列表中数据网络部署的应用服务器的标识之前,该方法还可以包括:接收来自用户面功能网元的第三请求信息,根据第三请求信息确定数据网络列表中数据网络部署的应用服务器的标识。As a possible implementation manner, before sending the identification of the application server deployed on the data network in the data network list to the user plane function network element, the method may further include: receiving third request information from the user plane function network element, and according to the first The third request information determines the identification of the application server deployed by the data network in the data network list.
本发明实施例中,会话管理网元可以在接收到来自用户面功能网元的请求信息之后,才将数据网络列表中数据网络部署的应用服务器的标识发送给用户面功能网元。可见,会话管理功能网元可以根据用户面功能网元的需要向用户面功能网元发送数据网络列表中数据网络部署的应用服务器的标识,可以避免在用户面功能网元不需要的情况下,将数据网络列表中数据网络部署的应用服务器的标识发送给用户面功能网元,可以减少不必要信息 的传输。In the embodiment of the present invention, the session management network element may send the identification of the application server deployed on the data network in the data network list to the user plane function network element after receiving the request information from the user plane function network element. It can be seen that the session management function network element can send the identification of the application server deployed on the data network in the data network list to the user plane function network element according to the needs of the user plane function network element, which can avoid the situation where the user plane function network element does not need it. Sending the identification of the application server deployed on the data network in the data network list to the user plane function network element can reduce the transmission of unnecessary information.
作为一种可能的实施方式,根据该DNS请求信息为第一终端设备确定第一应用服务器的地址信息可以包括:根据该应用的标识从数据网络列表中选取第一数据网络的标识,根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息。As a possible implementation manner, determining the address information of the first application server for the first terminal device according to the DNS request information may include: selecting the identity of the first data network from the data network list according to the identity of the application, and according to the first The identification of the data network determines the address information of the first application server for the first terminal device.
本发明实施例中,在为终端设备确定应用服务器的地址信息时,会话管理功能网元可以先确定一个终端设备当前可以使用的数据网络的标识,之后可以根据这个数据网络的标识为终端设备确定应用服务器的地址信息,可以减少数据网络的数量,减少了确定范围,减少发送的DNS请求的数量,从而可以提高应用服务器的地址信息的确定效率。In the embodiment of the present invention, when determining the address information of the application server for the terminal device, the session management function network element may first determine the identification of a data network that the terminal device can currently use, and then may determine for the terminal device according to the identification of the data network The address information of the application server can reduce the number of data networks, reduce the determination range, and reduce the number of DNS requests sent, thereby improving the efficiency of determining the address information of the application server.
作为一种可能的实施方式,根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息可以包括:向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,接收来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。As a possible implementation manner, determining the address information of the first application server for the first terminal device according to the identifier of the first data network may include: sending the DNS request information to the DNS server corresponding to the identifier of the first data network, and receiving information from Address information of the first application server of the DNS server corresponding to the identifier of the first data network.
本发明实施例中,确定的数据网络的标识对应的DNS服务器在解析完DNS请求信息之后,可以将解析结果返回给会话管理功能网元。In the embodiment of the present invention, after the DNS server corresponding to the determined data network identifier has resolved the DNS request information, the resolution result may be returned to the session management function network element.
作为一种可能的实施方式,根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息可以包括:向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,该DNS请求信息可以使能第一数据网络的标识对应的DNS服务器通过第一数据网络的标识对应的用户面功能网元向第一终端设备发送第一应用服务器的地址信息。As a possible implementation manner, determining the address information of the first application server for the first terminal device according to the identifier of the first data network may include: sending the DNS request information to the DNS server corresponding to the identifier of the first data network, and the DNS The request information may enable the DNS server corresponding to the identifier of the first data network to send the address information of the first application server to the first terminal device through the user plane function network element corresponding to the identifier of the first data network.
本发明实施例中,确定的数据网络的标识对应的DNS服务器在解析完DNS请求信息之后,可以将解析结果直接通过确定的数据网络的标识对应的用户面功能网元发送给终端设备,而不返回给会话管理功能网元。In the embodiment of the present invention, after the DNS server corresponding to the determined data network identifier has resolved the DNS request information, the resolution result can be directly sent to the terminal device through the user plane function network element corresponding to the determined data network identifier, instead of Return to the session management function network element.
作为一种可能的实施方式,向第一数据网络的标识对应的DNS服务器发送该DNS请求信息包括:通过第一数据网络的标识对应的用户面功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息。As a possible implementation manner, sending the DNS request information to the DNS server corresponding to the identifier of the first data network includes: sending the DNS corresponding to the identifier of the first data network from the user plane function network element corresponding to the identifier of the first data network to the DNS corresponding to the identifier of the first data network. The server sends the DNS request information.
本发明实施例中,在会话管理功能网元与DNS服务器之间没有直接接口的情况下,会话管理功能网元可以通过本地用户面功能网元将信息发送给DNS服务器,从而可以实现DNS请求信息的解析。In the embodiment of the present invention, when there is no direct interface between the session management function network element and the DNS server, the session management function network element can send information to the DNS server through the local user plane function network element, thereby realizing DNS request information Analysis.
作为一种可能的实施方式,根据该DNS请求信息为第一终端设备确定第一应用服务器的地址信息包括:根据该DNS请求信息从DNS服务器获取该应用的标识对应的应用服务器的地址信息,从获取的地址信息中为第一终端设备确定第一应用服务器的地址信息。As a possible implementation manner, determining the address information of the first application server for the first terminal device according to the DNS request information includes: obtaining the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information, and The acquired address information determines the address information of the first application server for the first terminal device.
本发明实施例中,在为终端设备确定应用服务器的地址信息时,可以先由DNS服务器对DNS请求信息进行解析,之后基于DNS服务器返回的该应用的标识对应的应用服务器的地址信息为终端设备确定应用服务器的地址信息,可以保证确定的应用服务器是终端设备可以使用的。In the embodiment of the present invention, when determining the address information of the application server for the terminal device, the DNS request information may be parsed by the DNS server first, and then the address information of the application server corresponding to the application identifier returned by the DNS server is the terminal device Determining the address information of the application server can ensure that the determined application server can be used by the terminal device.
作为一种可能的实施方式,根据该DNS请求信息从DNS服务器获取该应用的标识对应的应用服务器的地址信息可以包括:向DNS服务器发送该DNS请求信息和第一终端设备的地址信息,接收来自DNS服务器的该应用的标识对应的应用服务器的地址信息。As a possible implementation manner, obtaining the address information of the application server corresponding to the identification of the application from the DNS server according to the DNS request information may include: sending the DNS request information and the address information of the first terminal device to the DNS server, and receiving information from Address information of the application server corresponding to the application identifier of the DNS server.
本发明实施例中,DNS请求信息可以由集中DNS服务器进行解析。In the embodiment of the present invention, the DNS request information can be resolved by a centralized DNS server.
作为一种可能的实施方式,根据该DNS请求信息从DNS服务器获取该应用的标识对应 的应用服务器的地址信息可以包括:向第一终端设备的地址信息对应的DNS服务器发送该DNS请求信息,接收来自第一终端设备的地址信息对应的DNS服务器的该应用的标识对应的应用服务器的地址信息。As a possible implementation manner, obtaining the address information of the application server corresponding to the identification of the application from the DNS server according to the DNS request information may include: sending the DNS request information to the DNS server corresponding to the address information of the first terminal device, and receiving Address information of the application server corresponding to the identification of the application from the DNS server corresponding to the address information of the first terminal device.
本发明实施例中,DNS请求信息可以由终端设备的地址信息对应的DNS服务器(即本地DNS服务器)进行解析。In the embodiment of the present invention, the DNS request information may be resolved by the DNS server (ie, the local DNS server) corresponding to the address information of the terminal device.
作为一种可能的实施方式,从获取的地址信息中为第一终端设备确定第一应用服务器的地址信息可以包括:在获取的地址信息的数量大于1的情况下,根据应用服务器或数据网络的优先级、时延和负载情况中的一项或多项,从获取的地址信息中为第一终端设备选取第一应用服务器的地址信息。As a possible implementation manner, determining the address information of the first application server for the first terminal device from the acquired address information may include: in the case where the number of acquired address information is greater than 1, according to the application server or data network One or more of priority, time delay, and load condition, select the address information of the first application server for the first terminal device from the acquired address information.
本发明实施例中,可以保证为终端设备确定的应用服务器为终端设备当前可以使用且最优的应用服务器。In the embodiment of the present invention, it can be guaranteed that the application server determined for the terminal device is the optimal application server currently available to the terminal device.
作为一种可能的实施方式,根据该DNS请求信息为第一终端设备确定第一应用服务器的地址信息可以包括:接收来自用户面功能网元的第一数据网络的标识,根据该DNS请求信息和第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息。As a possible implementation manner, determining the address information of the first application server for the first terminal device according to the DNS request information may include: receiving an identifier of the first data network from the user plane function network element, and according to the DNS request information and The identifier of the first data network determines the address information of the first application server for the first terminal device.
本发明实施例中,会话管理功能网元可以接收到用户面功能网元确定并发送的一个数据网络的标识,之后可以根据DNS请求信息和这个数据网络的标识为终端设备确定应用服务器的地址信息,可以减少数据网络的数量,减少了确定范围,从而可以提高应用服务器的地址信息的确定效率。In the embodiment of the present invention, the session management function network element may receive the identification of a data network determined and sent by the user plane function network element, and then may determine the address information of the application server for the terminal device according to the DNS request information and the identification of the data network , Can reduce the number of data networks, reduce the scope of determination, which can improve the efficiency of determining the address information of the application server.
作为一种可能的实施方式,根据该DNS请求信息和第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息可以包括:向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,接收来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。As a possible implementation manner, determining the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network may include: sending the DNS to the DNS server corresponding to the identifier of the first data network The request information is received from the address information of the first application server of the DNS server corresponding to the identifier of the first data network.
本发明实施例中,这个数据网络对应的DNS服务器在解析完DNS请求信息之后,可以将解析结果返回给会话管理功能网元。In the embodiment of the present invention, after the DNS server corresponding to this data network has resolved the DNS request information, it may return the resolution result to the session management function network element.
作为一种可能的实施方式,根据该DNS请求信息和第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息可以包括:向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,该DNS请求信息可以使能第一数据网络的标识对应的DNS服务器通过第一数据网络对应的用户面功能网元向第一终端设备发送第一应用服务器的地址信息。As a possible implementation manner, determining the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network may include: sending the DNS to the DNS server corresponding to the identifier of the first data network Request information. The DNS request information may enable the DNS server corresponding to the identifier of the first data network to send the address information of the first application server to the first terminal device through the user plane function network element corresponding to the first data network.
本发明实施例中,这个数据网络对应的DNS服务器在解析完DNS请求信息之后,可以将解析结果直接通过确定的数据网络对应的用户面功能网元发送给终端设备,而不返回给会话管理功能网元。In the embodiment of the present invention, after the DNS server corresponding to this data network has resolved the DNS request information, the analysis result can be directly sent to the terminal device through the user plane function network element corresponding to the determined data network, without returning to the session management function Network element.
作为一种可能的实施方式,该方法还可以包括:建立分流节点与第一数据网络对应的用户面功能网元之间的数据路径。As a possible implementation manner, the method may further include: establishing a data path between the offload node and the user plane function network element corresponding to the first data network.
本发明实施例中,在终端设备存在业务需求的情况下,例如,某些应用在本地数据网络中部署了对应的应用服务器,会话管理功能网元可以建立分流节点与数据网络对应的用户面功能网元之间的数据路径,而不是使用会话初始建立过程中确定的数据路径。或者终端设备移动后,之前访问某个应用对应的应用服务器的用户面路径不再最优时,用户面功能网元可以通知会话管理功能网元建立分流节点与数据网络对应的用户面功能网元之间的 数据路径。因此,可以优化终端设备与数据网络之间的通信路径。In the embodiment of the present invention, when the terminal device has service requirements, for example, some applications deploy corresponding application servers in the local data network, and the session management function network element can establish the user plane function corresponding to the offload node and the data network. The data path between network elements, instead of using the data path determined during the initial establishment of the session. Or after the terminal device moves, when the user plane path for accessing the application server corresponding to an application is no longer optimal, the user plane function network element can notify the session management function network element to establish the user plane function network element corresponding to the shunt node and the data network Data path between. Therefore, the communication path between the terminal device and the data network can be optimized.
作为一种可能的实施方式,该方法还可以包括:向第一终端设备发送第一应用服务器的地址信息。As a possible implementation manner, the method may further include: sending address information of the first application server to the first terminal device.
本发明实施例中,会话管理功能网元可以将应用服务器的地址信息发送给终端设备,以便终端设备可以根据该地址信息访问应用服务器。In the embodiment of the present invention, the session management function network element may send the address information of the application server to the terminal device, so that the terminal device can access the application server according to the address information.
第三方面公开一种通信装置,该装置可以为用户面功能网元,也可以为用户面功能网元中的模块(例如,芯片)。该装置可以包括:接收单元,用于接收来自第一终端设备的第一请求信息,所述第一请求信息包括应用的标识;发送单元,用于当数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器时,向会话管理功能网元发送域名系统DNS请求信息,所述数据网络列表包括支持服务处于当前位置的所述第一终端设备的数据网络的标识,所述DNS请求信息包括所述应用的标识。A third aspect discloses a communication device, which may be a user plane function network element, or a module (for example, a chip) in a user plane function network element. The apparatus may include: a receiving unit, configured to receive first request information from a first terminal device, where the first request information includes an identification of the application; and a sending unit, configured to: When the application server corresponds to the application identifier, the DNS request information of the domain name system is sent to the session management function network element, the data network list includes the identifier of the data network that supports the service of the first terminal device at the current position, and the DNS request The information includes the identification of the application.
作为一种可能的实施方式,所述接收单元,还用于接收来自所述会话管理功能网元的指示信息,所述指示信息用于指示用户面功能网元当所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器时,向所述会话管理功能网元发送所述DNS请求信息。As a possible implementation manner, the receiving unit is further configured to receive indication information from the session management function network element, where the indication information is used to indicate the user plane function network element when data exists in the data network list. When the application server corresponding to the identifier of the application is deployed on the network, the DNS request information is sent to the session management function network element.
作为一种可能的实施方式,所述接收单元,还用于接收来自所述会话管理功能网元的所述数据网络列表;或者该通信装置还可以包括:第一确定单元,用于确定所述数据网络列表。As a possible implementation manner, the receiving unit is further configured to receive the data network list from the session management function network element; or the communication device may further include: a first determining unit, configured to determine the Data network list.
作为一种可能的实施方式,所述发送单元,还用于所述接收单元接收来自所述会话管理功能网元的所述数据网络列表之前,向所述会话管理功能网元发送第二请求信息,所述第二请求信息包括所述第一终端设备的标识,所述第二请求信息使能确定所述数据网络列表。As a possible implementation manner, the sending unit is further configured to send second request information to the session management function network element before the receiving unit receives the data network list from the session management function network element The second request information includes the identifier of the first terminal device, and the second request information enables the data network list to be determined.
作为一种可能的实施方式,所述装置还包括:第二确定单元,用于根据所述应用的标识、所述数据网络列表以及所述数据网络列表中所述数据网络部署的应用服务器的标识,确定所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器。As a possible implementation manner, the device further includes: a second determining unit, configured to determine according to the identification of the application, the list of data networks, and the identification of the application server deployed by the data network in the list of data networks , Determining that there is an application server corresponding to the identifier of the application deployed on the data network in the data network list.
作为一种可能的实施方式,所述接收单元,还用于接收来自所述会话管理功能网元的所述数据网络列表中所述数据网络部署的应用服务器的标识。As a possible implementation manner, the receiving unit is further configured to receive the identifier of the application server deployed by the data network in the data network list of the session management function network element.
作为一种可能的实施方式,所述发送单元,还用于所述接收单元接收来自所述会话管理功能网元的所述数据网络列表中所述数据网络部署的应用服务器的标识之前,向所述会话管理功能网元发送第三请求信息,所述第三请求信息使能确定所述数据网络列表中数据网络部署的应用服务器的标识。As a possible implementation manner, the sending unit is further configured to send the receiving unit to the data network deployment application server before the receiving unit receives the identifier of the application server deployed on the data network in the data network list of the session management function network element. The session management function network element sends third request information, and the third request information enables the identification of the application server deployed on the data network in the data network list to be determined.
作为一种可能的实施方式,所述DNS请求信息使能为所述第一终端设备确定第一应用服务器的地址信息,所述第一应用服务器为部署在第一数据网络中的所述应用的标识对应的应用服务器,所述数据网络列表包括所述第一数据网络的标识。As a possible implementation manner, the DNS request information enables the first terminal device to determine the address information of the first application server, and the first application server is the application server deployed in the first data network. Identify the corresponding application server, and the data network list includes the identifier of the first data network.
作为一种可能的实施方式,所述DNS请求信息使能为所述第一终端设备确定第一应用服务器的地址信息包括:所述DNS请求信息使能根据所述应用的标识从所述数据网络列表中选取所述第一数据网络的标识,根据所述第一数据网络的标识为所述第一终端设备确定 第一应用服务器的地址信息。As a possible implementation manner, the enabling of the DNS request information to determine the address information of the first application server for the first terminal device includes: the enabling of the DNS request information from the data network according to the identification of the application The identification of the first data network is selected from the list, and the address information of the first application server is determined for the first terminal device according to the identification of the first data network.
作为一种可能的实施方式,所述DNS请求信息使能根据所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息包括:所述DNS请求信息使能所述会话管理功能网元向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息,接收来自所述第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。As a possible implementation manner, the enabling of the DNS request information to determine the address information of the first application server for the first terminal device according to the identifier of the first data network includes: the DNS request information enabling the The session management function network element sends the DNS request information to the DNS server corresponding to the identifier of the first data network, and receives address information of the first application server from the DNS server corresponding to the identifier of the first data network.
作为一种可能的实施方式,所述DNS请求信息使能根据所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息包括:所述DNS请求信息使能所述会话管理功能网元向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息,所述DNS请求信息使能所述第一数据网络的标识对应的DNS服务器通过所述第一数据网络对应的用户面功能网元向所述第一终端设备发送第一应用服务器的地址信息。As a possible implementation manner, the enabling of the DNS request information to determine the address information of the first application server for the first terminal device according to the identifier of the first data network includes: the DNS request information enabling the The session management function network element sends the DNS request information to the DNS server corresponding to the identifier of the first data network, and the DNS request information enables the DNS server corresponding to the identifier of the first data network to pass the first data The user plane function network element corresponding to the network sends the address information of the first application server to the first terminal device.
作为一种可能的实施方式,所述会话管理功能网元向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息包括:所述会话管理功能网元通过所述第一数据网络的标识对应的用户面功能网元向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息。As a possible implementation manner, the sending of the DNS request information by the session management function network element to the DNS server corresponding to the identifier of the first data network includes: the session management function network element passes through the first data network The user plane function network element corresponding to the identifier of the first data network sends the DNS request information to the DNS server corresponding to the identifier of the first data network.
作为一种可能的实施方式,所述DNS请求信息使能为所述第一终端设备确定第一应用服务器的地址信息包括:所述DNS请求信息使能所述会话管理功能网元从DNS服务器获取所述应用的标识对应的应用服务器的地址信息,从获取的地址信息中为所述第一终端设备确定第一应用服务器的地址信息。As a possible implementation manner, the DNS request information enabling the first terminal device to determine the address information of the first application server includes: the DNS request information enabling the session management function network element to obtain from a DNS server The address information of the application server corresponding to the identifier of the application determines the address information of the first application server for the first terminal device from the acquired address information.
作为一种可能的实施方式,所述会话管理功能网元从DNS服务器获取所述应用的标识对应的应用服务器的地址信息包括:所述会话管理功能网元向DNS服务器发送所述DNS请求信息和所述第一终端设备的地址信息,接收来自所述DNS服务器的所述应用的标识对应的应用服务器的地址信息。As a possible implementation manner, the acquiring, by the session management function network element, the address information of the application server corresponding to the application identifier from the DNS server includes: the session management function network element sending the DNS request information to the DNS server and The address information of the first terminal device receives the address information of the application server corresponding to the identification of the application from the DNS server.
作为一种可能的实施方式,所述会话管理功能网元从DNS服务器获取所述应用的标识对应的应用服务器的地址信息包括:所述会话管理功能网元向所述第一终端设备的地址信息对应的DNS服务器发送所述DNS请求信息,接收来自所述第一终端设备的地址信息对应的DNS服务器的所述应用的标识对应的应用服务器的地址信息。As a possible implementation manner, the acquisition of the address information of the application server corresponding to the application identifier by the session management function network element from the DNS server includes: address information of the session management function network element to the first terminal device The corresponding DNS server sends the DNS request information, and receives the address information of the application server corresponding to the application identifier of the DNS server corresponding to the address information of the first terminal device.
作为一种可能的实施方式,所述会话管理功能网元从获取的地址信息中为所述第一终端设备确定第一应用服务器的地址信息包括:在获取的地址信息的数量大于1的情况下,所述会话管理功能网元根据应用服务器或数据网络的优先级、时延和负载情况中的一项或多项,从获取的地址信息中为所述第一终端设备选取第一应用服务器的地址信息。As a possible implementation manner, the determination by the session management function network element of the address information of the first application server for the first terminal device from the acquired address information includes: when the number of acquired address information is greater than one , The session management function network element selects the first application server for the first terminal device from the acquired address information according to one or more of the priority, delay, and load of the application server or the data network Address information.
作为一种可能的实施方式,所述DNS请求信息使能分流节点与所述第一数据网络对应的用户面功能网元之间的数据路径的建立。As a possible implementation manner, the DNS request information enables the establishment of a data path between a shunt node and a user plane function network element corresponding to the first data network.
作为一种可能的实施方式,所述装置还包括:选取单元,用于根据所述应用的标识从所述数据网络列表中选取所述第一数据网络的标识;所述发送单元,还用于向所述会话管理功能网元发送所述第一数据网络的标识;所述DNS请求信息使能为所述第一终端设备确定第一应用服务器的地址信息包括:所述DNS请求信息和所述第一数据网络的标识使能为所述第一终端设备确定第一应用服务器的地址信息。As a possible implementation manner, the device further includes: a selecting unit, configured to select the identifier of the first data network from the data network list according to the identifier of the application; the sending unit is further configured to The identification of the first data network is sent to the session management function network element; the DNS request information enables the first terminal device to determine the address information of the first application server including: the DNS request information and the The identification of the first data network enables the first terminal device to determine the address information of the first application server.
作为一种可能的实施方式,所述DNS请求信息和所述第一数据网络的标识使能为所述 第一终端设备确定第一应用服务器的地址信息包括:所述DNS请求信息和所述第一数据网络的标识使能所述会话管理功能网元向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息,接收来自所述第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。As a possible implementation manner, the DNS request information and the identification of the first data network enable the first terminal device to determine that the address information of the first application server includes: the DNS request information and the first application server. The identity of a data network enables the session management function network element to send the DNS request information to the DNS server corresponding to the identity of the first data network, and to receive the first data from the DNS server corresponding to the identity of the first data network Address information of an application server.
作为一种可能的实施方式,所述DNS请求信息和所述第一数据网络的标识使能为所述第一终端设备确定第一应用服务器的地址信息包括:所述DNS请求信息和所述第一数据网络的标识使能所述会话管理功能网元向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息,所述DNS请求信息使能所述第一数据网络的标识对应的DNS服务器通过所述第一数据网络对应的用户面功能网元向所述第一终端设备发送第一应用服务器的地址信息。As a possible implementation manner, the DNS request information and the identification of the first data network enable the first terminal device to determine that the address information of the first application server includes: the DNS request information and the first application server. The identity of a data network enables the session management function network element to send the DNS request information to the DNS server corresponding to the identity of the first data network, and the DNS request information enables the identity of the first data network to correspond to The DNS server sends the address information of the first application server to the first terminal device through the user plane function network element corresponding to the first data network.
作为一种可能的实施方式,所述第一数据网络的标识使能分流节点与所述第一数据网络对应的用户面功能网元之间的数据路径的建立。As a possible implementation manner, the identification of the first data network enables the establishment of a data path between a shunt node and a user plane function network element corresponding to the first data network.
作为一种可能的实施方式,所述DNS请求信息使能所述会话管理网元向所述第一终端设备发送所述第一应用服务器的地址信息。As a possible implementation manner, the DNS request information enables the session management network element to send the address information of the first application server to the first terminal device.
第四方面公开一种通信装置,该装置可以为会话管理功能网元,也可以为会话管理功能网元中的模块(例如,芯片)。该装置可以包括:接收单元,用于接收DNS请求信息,所述DNS请求信息为用户面功能网元当数据网络列表中存在数据网络部署有应用的标识对应的应用服务器时所发送,所述数据网络列表包括支持服务处于当前位置的第一终端设备的数据网络的标识,所述DNS请求信息包括所述应用的标识,所述应用的标识为来自所述第一终端设备的请求信息包括的应用的标识;确定单元,用于根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息,所述第一应用服务器为部署在第一数据网络中的所述应用的标识对应的应用服务器,所述数据网络列表包括所述第一数据网络的标识。A fourth aspect discloses a communication device, which may be a session management function network element, or a module (for example, a chip) in a session management function network element. The device may include: a receiving unit for receiving DNS request information, the DNS request information being sent by the user plane function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, the data The network list includes the identification of the data network that supports the service of the first terminal device at the current location, the DNS request information includes the identification of the application, and the identification of the application is the application included in the request information from the first terminal device The identification; the determining unit is configured to determine the address information of the first application server for the first terminal device according to the DNS request information, the first application server being the identification of the application deployed in the first data network For the corresponding application server, the data network list includes the identification of the first data network.
作为一种可能的实施方式,所述装置还包括:发送单元,用于向所述用户面功能网元发送指示信息,所述指示信息用于指示所述用户面功能网元当所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器时,向所述会话管理功能网元发送所述DNS请求信息。As a possible implementation manner, the device further includes: a sending unit, configured to send instruction information to the user plane function network element, where the instruction information is used to instruct the user plane function network element to act as the data network element When there is an application server corresponding to the identifier of the application deployed on the data network in the list, the DNS request information is sent to the session management function network element.
作为一种可能的实施方式,所述发送单元,还用于向所述用户面功能网元发送所述数据网络列表,所述数据网络列表使能确定所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器。As a possible implementation manner, the sending unit is further configured to send the data network list to the user plane function network element, and the data network list is enabled to determine that there are data networks deployed in the data network list. The application server corresponding to the identifier of the application.
作为一种可能的实施方式,所述接收单元,还用于所述发送单元向所述用户面功能网元发送所述数据网络列表之前,接收来自所述用户面功能网元的第二请求信息,所述第二请求信息包括所述第一终端设备的标识;所述确定单元,还用于根据所述第一终端设备的标识以及终端设备的位置对应的数据网络的标识确定所述数据网络列表。As a possible implementation manner, the receiving unit is further configured to receive the second request information from the user plane function network element before the sending unit sends the data network list to the user plane function network element , The second request information includes the identity of the first terminal device; the determining unit is further configured to determine the data network according to the identity of the first terminal device and the identity of the data network corresponding to the location of the terminal device List.
作为一种可能的实施方式,所述发送单元,还用于向所述用户面功能网元发送所述数据网络列表中所述数据网络部署的应用服务器的标识,所述数据网络列表中所述数据网络部署的应用服务器的标识使能确定所述数据网络列表中存在数据网络部署有所述应用的标 识对应的应用服务器。As a possible implementation manner, the sending unit is further configured to send the identifier of the application server deployed by the data network in the data network list to the user plane function network element, and the data network list The identification of the application server deployed on the data network enables it to be determined that there is an application server corresponding to the identification of the application deployed on the data network in the data network list.
作为一种可能的实施方式,所述接收单元,还用于所述发送单元向所述用户面功能网元发送所述数据网络列表中所述数据网络部署的应用服务器的标识之前,接收来自所述用户面功能网元的第三请求信息,所述确定单元,还用于根据所述第三请求信息确定所述数据网络列表中数据网络部署的应用服务器的标识。As a possible implementation manner, the receiving unit is further configured to receive the identifier of the application server deployed on the data network in the data network list to the user plane function network element. For the third request information of the user plane function network element, the determining unit is further configured to determine the identifier of the application server deployed by the data network in the data network list according to the third request information.
作为一种可能的实施方式,所述确定单元根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息包括:根据所述应用的标识从所述数据网络列表中选取所述第一数据网络的标识;根据所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息。As a possible implementation manner, the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information includes: selecting the address information of the first application server from the data network list according to the identifier of the application. The identifier of the first data network; the address information of the first application server is determined for the first terminal device according to the identifier of the first data network.
作为一种可能的实施方式,所述确定单元根据所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息包括:向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息;接收来自所述第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。As a possible implementation manner, the determining unit determining the address information of the first application server for the first terminal device according to the identifier of the first data network includes: reporting the DNS corresponding to the identifier of the first data network The server sends the DNS request information; receives the address information of the first application server from the DNS server corresponding to the identifier of the first data network.
作为一种可能的实施方式,所述确定单元根据所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息包括:向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息,所述DNS请求信息使能所述第一数据网络的标识对应的DNS服务器通过所述第一数据网络的标识对应的用户面功能网元向所述第一终端设备发送第一应用服务器的地址信息。As a possible implementation manner, the determining unit determining the address information of the first application server for the first terminal device according to the identifier of the first data network includes: reporting the DNS corresponding to the identifier of the first data network The server sends the DNS request information, and the DNS request information enables the DNS server corresponding to the identifier of the first data network to send the user plane function network element corresponding to the identifier of the first data network to the first terminal device. Send the address information of the first application server.
作为一种可能的实施方式,所述确定单元向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息包括:通过所述第一数据网络的标识对应的用户面功能网元向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息。As a possible implementation manner, the sending of the DNS request information by the determining unit to the DNS server corresponding to the identifier of the first data network includes: sending the user plane function network element corresponding to the identifier of the first data network to the The DNS server corresponding to the identifier of the first data network sends the DNS request information.
作为一种可能的实施方式,所述确定单元根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息包括:根据所述DNS请求信息从DNS服务器获取所述应用的标识对应的应用服务器的地址信息;从获取的地址信息中为所述第一终端设备确定第一应用服务器的地址信息。As a possible implementation manner, the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information includes: obtaining the identification of the application from a DNS server according to the DNS request information The address information of the corresponding application server; the address information of the first application server is determined for the first terminal device from the acquired address information.
作为一种可能的实施方式,所述确定单元根据所述DNS请求信息从DNS服务器获取所述应用的标识对应的应用服务器的地址信息包括:向DNS服务器发送所述DNS请求信息和所述第一终端设备的地址信息;接收来自所述DNS服务器的所述应用的标识对应的应用服务器的地址信息。As a possible implementation manner, the determining unit obtaining the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information includes: sending the DNS request information and the first address information to the DNS server. Address information of the terminal device; receiving the address information of the application server corresponding to the application identifier from the DNS server.
作为一种可能的实施方式,所述确定单元根据所述DNS请求信息从DNS服务器获取所述应用的标识对应的应用服务器的地址信息包括:向所述第一终端设备的地址信息对应的DNS服务器发送所述DNS请求信息;接收来自所述第一终端设备的地址信息对应的DNS服务器的所述应用的标识对应的应用服务器的地址信息。As a possible implementation manner, the determining unit acquiring the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information includes: sending the address information to the DNS server corresponding to the address information of the first terminal device Sending the DNS request information; receiving the address information of the application server corresponding to the application identifier of the DNS server corresponding to the address information of the first terminal device.
作为一种可能的实施方式,所述确定单元从获取的地址信息中为所述第一终端设备确定第一应用服务器的地址信息包括:在获取的地址信息的数量大于1的情况下,根据应用服务器或数据网络的优先级、时延和负载情况中的一项或多项,从获取的地址信息中为所述第一终端设备选取第一应用服务器的地址信息。As a possible implementation manner, the determining unit determining the address information of the first application server for the first terminal device from the acquired address information includes: when the number of acquired address information is greater than 1, according to the application One or more of the priority, delay, and load of the server or the data network, select the address information of the first application server for the first terminal device from the acquired address information.
作为一种可能的实施方式,所述确定单元根据所述DNS请求信息为所述第一终端设备 确定第一应用服务器的地址信息包括:接收来自所述用户面功能网元的所述第一数据网络的标识;根据所述DNS请求信息和所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息。As a possible implementation manner, the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information includes: receiving the first data from the user plane function network element The identifier of the network; according to the DNS request information and the identifier of the first data network, the address information of the first application server is determined for the first terminal device.
作为一种可能的实施方式,所述确定单元根据所述DNS请求信息和所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息包括:向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息;接收来自所述第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。As a possible implementation manner, the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network includes: The DNS server corresponding to the identifier of the network sends the DNS request information; and receives the address information of the first application server from the DNS server corresponding to the identifier of the first data network.
作为一种可能的实施方式,所述确定单元根据所述DNS请求信息和所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息包括:向所述第一数据网络的标识对应的DNS服务器发送所述DNS请求信息,所述DNS请求信息使能所述第一数据网络的标识对应的DNS服务器通过所述第一数据网络对应的用户面功能网元向所述第一终端设备发送第一应用服务器的地址信息。As a possible implementation manner, the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network includes: The DNS server corresponding to the identity of the network sends the DNS request information, and the DNS request information enables the DNS server corresponding to the identity of the first data network to send the DNS server to the user plane function network element corresponding to the first data network. The first terminal device sends the address information of the first application server.
作为一种可能的实施方式,所述装置还包括:建立单元,用于建立分流节点与所述第一数据网络对应的用户面功能网元之间的数据路径。As a possible implementation manner, the device further includes: an establishment unit configured to establish a data path between the offload node and the user plane function network element corresponding to the first data network.
作为一种可能的实施方式,所述发送单元,还用于向所述第一终端设备发送所述第一应用服务器的地址信息。As a possible implementation manner, the sending unit is further configured to send the address information of the first application server to the first terminal device.
第五方面公开一种通信装置,该通信装置可以为用户面功能网元或者用户面功能网元内的模块(例如,芯片)。该通信装置可以包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,当所述处理器执行所述存储器存储的计算机程序时,使得所述处理器执行第一方面或第一方面的任一实施方式公开的通信方法。A fifth aspect discloses a communication device, which may be a user plane function network element or a module (for example, a chip) in the user plane function network element. The communication device may include a processor, a memory, an input interface, and an output interface. The input interface is used to receive information from other communication devices other than the communication device, and the output interface is used to send information to outside the communication device. When the processor executes the computer program stored in the memory, the processor executes the communication method disclosed in the first aspect or any embodiment of the first aspect.
第六方面公开一种通信装置,该通信装置可以为会话管理功能网元或者会话管理功能网元内的模块(例如,芯片)。该通信装置可以包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,当所述处理器执行所述存储器存储的计算机程序时,使得所述处理器执行第二方面或第二方面的任一实施方式公开的通信方法。A sixth aspect discloses a communication device, which may be a session management function network element or a module (for example, a chip) in a session management function network element. The communication device may include a processor, a memory, an input interface, and an output interface. The input interface is used to receive information from other communication devices other than the communication device, and the output interface is used to send information to outside the communication device. The other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor is caused to execute the communication method disclosed in the second aspect or any embodiment of the second aspect.
第七方面公开一种通信系统,该通信系统包括第五方面的通信装置和第六方面的通信装置。A seventh aspect discloses a communication system including the communication device of the fifth aspect and the communication device of the sixth aspect.
第八方面公开一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序或计算机指令,当该计算机程序或计算机指令运行时,实现如上述各方面公开的通信方法。An eighth aspect discloses a computer-readable storage medium with a computer program or computer instruction stored on the computer-readable storage medium, and when the computer program or computer instruction runs, the communication method disclosed in the above aspects is implemented.
附图说明Description of the drawings
图1是本发明实施例公开的一种5G网络架构示意图;FIG. 1 is a schematic diagram of a 5G network architecture disclosed in an embodiment of the present invention;
图2是本发明实施例公开的一种网络架构示意图;Figure 2 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention;
图3是本发明实施例公开的另一种网络架构示意图;Figure 3 is a schematic diagram of another network architecture disclosed in an embodiment of the present invention;
图4是本发明实施例公开的一种UPF向SMF发送DNS请求信息的示意图;4 is a schematic diagram of a UPF sending DNS request information to SMF according to an embodiment of the present invention;
图5是本发明实施例公开的一种通信方法的流程示意图;FIG. 5 is a schematic flowchart of a communication method disclosed in an embodiment of the present invention;
图6是本发明实施例公开的另一种通信方法的流程示意图;Fig. 6 is a schematic flowchart of another communication method disclosed in an embodiment of the present invention;
图7是本发明实施例公开的一种通信装置的结构示意图;FIG. 7 is a schematic structural diagram of a communication device disclosed in an embodiment of the present invention;
图8是本发明实施例公开的另一种通信装置的结构示意图;Fig. 8 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention;
图9是本发明实施例公开的又一种通信装置的结构示意图;FIG. 9 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention;
图10是本发明实施例公开的又一种通信装置的结构示意图。FIG. 10 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention.
具体实施方式detailed description
本发明实施例公开了一种通信方法、装置及计算机可读存储介质,用于节约通信资源。以下分别进行详细说明。The embodiment of the invention discloses a communication method, a device and a computer-readable storage medium, which are used to save communication resources. Detailed descriptions are given below.
为了更好地理解本发明实施例公开的一种通信方法、装置及计算机可读存储介质,下面先对本发明实施例使用的网络架构进行描述。请参阅图1,图1是本发明实施例公开的一种5G网络架构示意图。如图1所示,该5G网络架构可以包括用户设备(user equipment,UE)、(无线)接入网(radio access network,(R)AN)设备、用户面功能网元(user plane function,UPF)、数据网络(data network,DN)、接入和移动性管理功能网元(access and mobility management function,AMF)、会话管理功能网元(session management function,SMF)、策略控制功能网元(policy control function,PCF)、应用功能网元(application function,AF)、统一数据管理网元(unified data management,UDM)、鉴权服务器功能网元(authentication server function,AUSF)和网络切片选择网元(network slice selection function,NSSF)。不同网元或设备之间可以通过接口进行通信,图1所示的接口名称只是一个示例说明,本发明实施例对此不作具体限定。In order to better understand the communication method, device, and computer-readable storage medium disclosed in the embodiments of the present invention, the following describes the network architecture used in the embodiments of the present invention. Please refer to FIG. 1. FIG. 1 is a schematic diagram of a 5G network architecture disclosed in an embodiment of the present invention. As shown in Figure 1, the 5G network architecture may include user equipment (UE), (radio access network, (R)AN) equipment, and user plane function (UPF). ), data network (DN), access and mobility management function (AMF), session management function (SMF), policy control function (policy) control function, PCF), application function network element (application function, AF), unified data management network element (unified data management, UDM), authentication server function network element (authentication server function, AUSF), and network slice selection network element ( network slice selection function, NSSF). Different network elements or devices can communicate through interfaces. The interface name shown in FIG. 1 is only an example for illustration, and the embodiment of the present invention does not specifically limit this.
UE,又可以称之为终端设备、移动台(mobile station,MS)、移动终端(mobile terminal,MT)等,是一种向用户提供语音和/或数据连通性的设备。终端设备可以为手持终端、笔记本电脑、用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(wireless local loop,WLL)台、机器类型通信(machine type communication,MTC)终端或其他可以接入网络的设备。图1中终端设备以UE示出,仅作为示例,并不对终端设备进行限定。UE可以通过建立UE-(R)AN设备-UPF-DN之间的会话,即协议数据单元(protocol data unit,PDU)会话,来访问DN。The UE, which may also be called a terminal device, a mobile station (MS), a mobile terminal (MT), etc., is a device that provides voice and/or data connectivity to users. The terminal equipment can be a handheld terminal, a notebook computer, a subscriber unit, a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA) computer, a tablet computer , Wireless modem (modem), handheld device (handheld), laptop computer (laptop computer), cordless phone (wireless local loop, WLL), machine type communication, MTC) terminal or other devices that can access the network. The terminal device in FIG. 1 is shown as a UE, which is only used as an example and does not limit the terminal device. The UE can access the DN by establishing a session between the UE-(R)AN device-UPF-DN, that is, a protocol data unit (protocol data unit, PDU) session.
(R)AN设备是为UE提供无线接入的设备,主要负责空口侧的无线资源管理、服务质量(quality of service,QoS)流管理、数据压缩和加密等功能。(R)AN设备可以包括各种形式的基站,例如:宏基站,微基站(也称为小站),中继站,接入点等。(R)AN设备还可以包括无线上网(wireless fidelity,WiFi)接入节点(access point,AP)。(R)AN设备还可以包括全球微波互联接入(worldwide interoperability for microwave access,WiMax)基站(base station,BS)。The (R) AN device is a device that provides wireless access for the UE, and is mainly responsible for functions such as radio resource management on the air interface side, quality of service (QoS) flow management, data compression, and encryption. (R)AN equipment may include various forms of base stations, such as: macro base stations, micro base stations (also called small stations), relay stations, access points, and so on. The (R) AN device may also include a wireless fidelity (WiFi) access point (AP). (R) AN equipment may also include a worldwide interoperability for microwave access (WiMax) base station (BS).
UPF主要负责对用户报文进行处理,如转发、计费等。可以从DN接收用户报文,并通过RAN设备传输给UE;也可以通过RAN设备从UE接收用户报文,并转发到DN。UPF为UE 提供服务的传输资源和调度功能由SMF管理控制。UPF is mainly responsible for processing user messages, such as forwarding and charging. User messages can be received from the DN and transmitted to the UE through the RAN equipment; user messages can also be received from the UE through the RAN equipment and forwarded to the DN. The transmission resources and scheduling functions provided by UPF for UE are managed and controlled by SMF.
DN可以是因特网(internet)、网络协议(internet protocol,IP)多媒体业务(IP multi-media service,IMS)网络、区域网络,即本地网络,例如多接入边缘计算(multi access edge computing,MEC)网络,等。DN是UE的PDU会话访问的目的地。DN中包括或部署有应用服务器,应用服务器可以与UE进行数据传输,为UE提供业务服务。DN can be the Internet, Internet protocol (IP) multimedia service (IP multi-media service, IMS) network, regional network, that is, local network, such as multi-access edge computing (MEC) Network, etc. The DN is the destination of the UE's PDU session access. An application server is included or deployed in the DN, and the application server can perform data transmission with the UE and provide business services for the UE.
AMF可以通过N1接口接入UE的非接入层(non access stratum,NAS)信令(包括会话管理(session management,SM)信令)和N2接口接入RAN的信令,完成UE的注册流程和SM信令的转发以及移动性管理。AMF can access the UE's non-access stratum (NAS) signaling (including session management (SM) signaling) and N2 interface access RAN signaling through the N1 interface to complete the UE registration process And SM signaling forwarding and mobility management.
SMF主要负责移动网络中的会话管理,如会话的建立、修改、释放、更新等流程。具体功能如为用户分配IP地址、选择提供报文转发功能的UPF等。SMF is mainly responsible for session management in the mobile network, such as session establishment, modification, release, and update processes. Specific functions such as assigning IP addresses to users, selecting UPF that provides message forwarding functions, and so on.
PCF可以负责终端设备策略管理,既包括移动性相关策略,也包括PDU会话相关策略,如QoS策略、计费策略等。The PCF can be responsible for terminal equipment policy management, including both mobility-related policies and PDU session-related policies, such as QoS policies, charging policies, and so on.
AF主要支持与第三代合作伙伴计划(3rd generation partnership project,3GPP)核心网交互来提供服务,来影响业务流路由、接入网能力开放、策略控制等。AF mainly supports interaction with the 3rd generation partnership project (3rd generation partnership project, 3GPP) core network to provide services to influence service flow routing, access network capability opening, policy control, etc.
UDM负责用户密钥管理、用户标识处理、订阅数据的访问授权、UE的网络功能实体管理、会话和业务连续性管理、短消息推送、合法监听、签约管理、短消息管理、用于管控用户数据,如签约信息的管理。UDM is responsible for user key management, user identification processing, access authorization of subscription data, UE network function entity management, session and business continuity management, short message push, legal monitoring, contract management, short message management, used to control user data , Such as the management of contract information.
AUSF可以负责对UE的接入进行认证授权。The AUSF can be responsible for authenticating and authorizing the access of the UE.
核心网中的以上各个网元也可以称为功能实体,既可以是在专用硬件上实现的网络元件,也可以是在专用硬件上运行的软件实例,或者是在适当平台上虚拟化功能的实例,例如,上述虚拟化平台可以为云平台。The above network elements in the core network can also be called functional entities. They can be network elements implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualized functions on an appropriate platform. For example, the aforementioned virtualization platform may be a cloud platform.
需要说明的是,图1所示的系统架构中不限于仅包括图中所示的网元,还可以包括其它未在图中表示的设备,具体本发明在此处不再一一列举。It should be noted that the system architecture shown in FIG. 1 is not limited to only including the network elements shown in the figure, and may also include other devices not shown in the figure. The specific present invention will not be listed here.
需要说明的是,本发明实施例并不限定核心网中各个网元的分布形式,图1所示的分布形式只是示例性的,本发明不作限定。It should be noted that the embodiment of the present invention does not limit the distribution form of each network element in the core network. The distribution form shown in FIG. 1 is only exemplary, and the present invention does not limit it.
应理解,本发明中所有网元的名称仅仅作为示例,在未来通信中,如6G中,还可以称为其它名称,或者在未来通信中,如6G中,本发明涉及的网元还可以通过其它具有相同功能的实体或者设备等来替代,本发明对此均不作限定。这里做统一说明,后续不再赘述。It should be understood that the names of all network elements in the present invention are merely examples. In future communications, such as 6G, they can also be referred to as other names, or in future communications, such as 6G, the network elements involved in the present invention can also be Other entities or devices with the same function are substituted, and the present invention does not limit this. Here is a unified explanation, and I won’t repeat it in the follow-up.
需要说明的是,图1所示的5G网络架构,并不构成对5G网络的限定。可选地,本发明实施例的方法还适用于未来的各种通信系统,例如6G或者其他通信网络等。It should be noted that the 5G network architecture shown in Figure 1 does not constitute a limitation on the 5G network. Optionally, the method in the embodiment of the present invention is also applicable to various future communication systems, such as 6G or other communication networks.
图1所示的5G网络架构中只有一个UPF,在以上基本网络架构的基础上,5G还可以支持在一个PDU会话的用户面路径(即数据路径)上插入多个会话锚点UPF,以支持到本地(local)DN的连接,从而使得UE可以就近访问本地DN中的应用服务器。请参阅图2,图2是本发明实施例公开的一种网络架构示意图。如图2所示,在通信系统的网络架构中引入了多个UPF,这多个UPF可以分别为上行分类(uplink classifier,ULCL)/分支点(branching point,BP)、UPFPDU会话锚点(PDU session anchor,PSA)1和UPF PSA2。其中,ULCL/BP可以将来自UE的上行数据包根据分发规则分发给PSA1或PSA2,也可以 将来自PSA1或PSA2的下行数据包发送给UE。PSA1与DN间存在N6接口,例如,该DN可以是位于中心数据中心(data central,DC)的DN。PSA2与本地DN间存在N6接口,例如,该本地DN可以位于本地DC或MEC节点中。其中,本地DN还可以理解为将应用服务器部署到距离UE更近的边缘托管环境(edge hosting environment,EHE)中的DN,也可以被称为边缘网络(edge data network,EDN)。当UE存在业务需求的情况下,SMF可以插入与本地DN对应的UPF(即本地(local,L)-PSA),以便UE可以就近访问本地DN中的应用服务器。例如,图2中的PAS2为一个L-PSA。需要说明的是,图2中的UPF的数量仅仅为示例,还可以包括更多或者更少的UPF,本发明对此不作限定。The 5G network architecture shown in Figure 1 has only one UPF. On the basis of the above basic network architecture, 5G can also support the insertion of multiple session anchor UPFs on the user plane path (ie data path) of a PDU session to support The connection to the local DN, so that the UE can access the application server in the local DN nearby. Please refer to FIG. 2. FIG. 2 is a schematic diagram of a network architecture disclosed in an embodiment of the present invention. As shown in Figure 2, multiple UPFs are introduced into the network architecture of the communication system. These multiple UPFs can be respectively uplink classifier (ULCL)/branching point (BP), and UPFPDU session anchor (PDU). session anchor, PSA)1 and UPF PSA2. Among them, ULCL/BP can distribute uplink data packets from the UE to PSA1 or PSA2 according to the distribution rules, and can also send downlink data packets from PSA1 or PSA2 to the UE. There is an N6 interface between the PSA1 and the DN. For example, the DN may be a DN located in a central data center (DC). There is an N6 interface between PSA2 and the local DN. For example, the local DN may be located in the local DC or MEC node. Among them, the local DN can also be understood as the DN in which the application server is deployed in an edge hosting environment (EHE) closer to the UE, and can also be referred to as an edge data network (EDN). When the UE has service requirements, the SMF can insert the UPF (ie, local (local, L)-PSA) corresponding to the local DN, so that the UE can access the application server in the local DN nearby. For example, PAS2 in Figure 2 is an L-PSA. It should be noted that the number of UPFs in FIG. 2 is only an example, and more or fewer UPFs may also be included, which is not limited in the present invention.
需要说明的是在图2中仅以一个L-PSA示出,应理解也可以包括多个L-PSA,本发明对此不作限定。请参阅图3,图3是本发明实施例公开的另一种网络架构示意图。如图3所示,网络架构可以存在多个L-PSA,例如图3中的L-PSA1和L-PSA2。在该网络架构中,ULCL/BP可以连接多个L-PSA。在该示例中,ULCL/BP可以与L-PSA1合设,连接MEC1;L-PSA2可以连接MEC2,PSA可以连接中心DC。应理解,ULCL/BP与L-PSA1也可以为独立的两个网元或设备。It should be noted that only one L-PSA is shown in FIG. 2, and it should be understood that multiple L-PSAs may also be included, which is not limited in the present invention. Please refer to FIG. 3, which is a schematic diagram of another network architecture disclosed in an embodiment of the present invention. As shown in Figure 3, there may be multiple L-PSAs in the network architecture, such as L-PSA1 and L-PSA2 in Figure 3. In this network architecture, ULCL/BP can connect multiple L-PSAs. In this example, ULCL/BP can be combined with L-PSA1 and connected to MEC1; L-PSA2 can be connected to MEC2, and PSA can be connected to the central DC. It should be understood that ULCL/BP and L-PSA1 may also be two independent network elements or devices.
为了更好地理解本发明实施例,下面先对本发明实施例的应用场景进行描述。请参阅图4,图4是本发明实施例公开的一种UPF向SMF发送DNS请求信息的示意图。如图4所示,UE可以向UPF发送请求信息,该请求信息可以携带或包括应用的标识。UPF接收到来自UE的请求信息之后,可以向SMF发送DNS请求信息,该DNS请求信息包括该应用的标识。SMF接收到来自UPF的DNS请求信息之后,可以向集中DNS服务器或本地DNS服务器发送DNS请求信息。DNS服务器或本地DNS服务器接收到来自SMF的DNS请求信息之后,可以确定该应用的标识对应的应用服务器的地址信息,向SMF发送该应用的标识对应的应用服务器的地址信息。SMF接收到来自DNS服务器或本地DNS服务器的该应用的标识对应的应用服务器的地址信息之后,可以将该应用服务器的地址信息发送给UE。In order to better understand the embodiments of the present invention, the following describes the application scenarios of the embodiments of the present invention. Please refer to FIG. 4, which is a schematic diagram of a UPF sending DNS request information to an SMF according to an embodiment of the present invention. As shown in FIG. 4, the UE may send request information to the UPF, and the request information may carry or include the identification of the application. After the UPF receives the request information from the UE, it can send DNS request information to the SMF. The DNS request information includes the identification of the application. After the SMF receives the DNS request information from the UPF, it can send the DNS request information to the centralized DNS server or the local DNS server. After receiving the DNS request information from the SMF, the DNS server or the local DNS server can determine the address information of the application server corresponding to the application identifier, and send the address information of the application server corresponding to the application identifier to the SMF. After the SMF receives the address information of the application server corresponding to the identification of the application from the DNS server or the local DNS server, it may send the address information of the application server to the UE.
在上述过程中,UPF接收到来自终端设备的包括应用的标识的请求信息之后,不管能不能获取该应用的标识对应的应用服务器的地址信息,均需要向SMF发送包括该应用的标识的DNS请求信息。然而,在无法获取到该应用的标识对应的应用服务器的地址信息的情况下,不需要向SMF发送DNS请求信息,以致造成了资源的浪费。而且由于DNS请求信息的数量较多,可能会对UPF与SMF之间的接口以及SMF网元造成冲击。此外,由于SMF和DNS服务器之间可能没有直接接口,因此,SMF无法将DNS请求信息发送给DNS服务器。In the above process, after UPF receives the request information from the terminal device that includes the identification of the application, regardless of whether it can obtain the address information of the application server corresponding to the identification of the application, it needs to send a DNS request including the identification of the application to the SMF. information. However, in the case that the address information of the application server corresponding to the identification of the application cannot be obtained, there is no need to send DNS request information to the SMF, which causes a waste of resources. Moreover, due to the large amount of DNS request information, it may impact the interface between UPF and SMF and SMF network elements. In addition, since there may not be a direct interface between the SMF and the DNS server, the SMF cannot send the DNS request information to the DNS server.
此外,在5G通信系统中,终端设备可以通过UPF连接到DN。终端设备使用哪个UPF和哪个DN进行通信是在会话建立过程中确定的。在会话建立完成之后,由于终端设备的位置并不是固定不变的,因此,在终端设备的位置发生变换的情况下,若终端设备还使用会话建立过程中的UPF和DN可能会导致终端设备与DN之间的通信路径较长。In addition, in the 5G communication system, terminal devices can be connected to the DN through UPF. Which UPF and which DN the terminal device uses to communicate is determined during the session establishment process. After the session is established, the location of the terminal device is not fixed. Therefore, when the location of the terminal device changes, if the terminal device also uses the UPF and DN during the session establishment process, it may cause the terminal device to communicate with each other. The communication path between DNs is long.
基于上述网络架构,请参阅图5,图5是本发明实施例公开的一种通信方法的流程示意图。其中,本发明中由终端设备执行的功能也可以由终端设备中的模块(例如,芯片)来执行,本发明中由UPF执行的功能也可以由UPF中的模块(例如,芯片)来执行,本发明中 由SMF执行的功能也可以由SMF中的模块(例如,芯片)来执行,本发明中由DNS服务器执行的功能也可以由DNS服务器中的模块(例如,芯片)来执行。如图5所示,该通信方法可以包括以下步骤。Based on the foregoing network architecture, please refer to FIG. 5, which is a schematic flowchart of a communication method disclosed in an embodiment of the present invention. Among them, the functions performed by the terminal device in the present invention can also be performed by a module (for example, a chip) in the terminal device, and the functions performed by a UPF in the present invention can also be performed by a module (for example, a chip) in the UPF. The function performed by the SMF in the present invention can also be performed by a module (for example, a chip) in the SMF, and the function performed by the DNS server in the present invention can also be performed by a module (for example, a chip) in the DNS server. As shown in Fig. 5, the communication method may include the following steps.
501、第一终端设备向UPF发送包括应用的标识的第一请求信息。501. The first terminal device sends the first request information including the identifier of the application to the UPF.
相应地,UPF可以接收来自第一终端设备的包括或携带应用的标识的第一请求信息。Correspondingly, the UPF may receive the first request information including or carrying the identification of the application from the first terminal device.
在第一终端设备有业务需求的情况下,第一终端设备可以向UPF发送包括应用的标识的第一请求信息。应用的标识可以为全限定域名(fully qualified domain name,FQDN),也可以为应用的标识号(identity document,ID),还可以为其它可以唯一标识应用的信息。其中,第一请求信息可以为DNS请求信息或DNS查询(query)消息,也可以为其它请求信息,在此不加限定。In the case that the first terminal device has a service requirement, the first terminal device may send the first request information including the identifier of the application to the UPF. The identification of the application may be a fully qualified domain name (FQDN), an identification number (identity document, ID) of the application, or other information that can uniquely identify the application. The first request information may be DNS request information or DNS query (query) message, or other request information, which is not limited here.
502、当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,UPF向SMF发送包括该应用的标识的DNS请求信息。502. When there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, the UPF sends DNS request information including the identifier of the application to the SMF.
相应地,SMF接收来自UPF的包括该应用的标识的DNS请求信息。在第一请求信息为DNS请求信息的情况下,UPF向SMF发送的DNS请求信息可以为第一请求信息,即UPF向SMF发送的DNS请求信息与第一请求信息为同一个DNS请求信息,UPF向SMF发送的DNS请求信息也可以为UPF根据第一请求信息生成的DNS请求信息。应用的标识对应的应用服务器即该标识所标识的应用的应用服务器。Correspondingly, the SMF receives the DNS request information including the identification of the application from the UPF. In the case where the first request information is DNS request information, the DNS request information sent by UPF to SMF may be the first request information, that is, the DNS request information sent by UPF to SMF and the first request information are the same DNS request information, UPF The DNS request information sent to the SMF may also be DNS request information generated by UPF according to the first request information. The application server corresponding to the identifier of the application is the application server of the application identified by the identifier.
UPF接收到来自第一终端设备的第一请求信息之后,当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,可以向SMF发送包括该应用的标识的DNS请求信息。数据网络列表包括支持服务处于当前位置的第一终端设备的数据网络的标识。具体地,UPF可以先确定数据网络列表中是否存在数据网络部署有该应用的标识对应的应用服务器,当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,表明存在第一终端设备可以访问的该应用的标识对应的应用服务器,可以向SMF发送包括该应用的标识的DNS请求信息。当数据网络列表中不存在数据网络部署有该应用的标识对应的应用服务器时,表明不存在第一终端设备可以访问的该应用的标识对应的应用服务器,UPF不向SMF发送包括该应用的标识的DNS请求信息,可以丢弃第一请求信息。After the UPF receives the first request information from the first terminal device, when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, it may send the DNS request information including the identifier of the application to the SMF. The data network list includes the identification of the data network that supports the service of the first terminal device at the current location. Specifically, UPF can first determine whether there is an application server corresponding to the identifier of the application deployed on the data network in the data network list. When there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, it indicates that there is the first The application server corresponding to the identification of the application that can be accessed by the terminal device may send DNS request information including the identification of the application to the SMF. When there is no application server corresponding to the identification of the application deployed on the data network in the data network list, it indicates that there is no application server corresponding to the identification of the application that can be accessed by the first terminal device, and UPF does not send the identification of the application to the SMF. DNS request information, the first request information can be discarded.
需要说明的是,本发明中的数据网络列表可以包括支持服务处于当前位置的第一终端设备的所有数据网络的标识,也可以包括支持服务处于当前位置的第一终端设备的部分数据网络的标识。数据网络列表包括的数据网络的标识的数量大于或等于1,即可以为1个数据网络的标识,也可以为两个或两个以上数据网络的标识。It should be noted that the data network list in the present invention may include the identities of all the data networks that support the service of the first terminal device at the current location, and may also include the identities of some data networks that support the service of the first terminal device at the current location. . The number of data network identities included in the data network list is greater than or equal to 1, which can be the identities of one data network, or the identities of two or more data networks.
在一种实现方式中,所有数据网络均部署有相同的应用服务器,在确定数据网络列表中是否存在数据网络部署有该应用的标识对应的应用服务器时,只需要确定数据网络列表中的一个数据网络是否部署有该应用的标识对应的应用服务器。在另一种实现方式中,不同数据网络部署的应用服务器可能不同,在确定数据网络列表中是否存在数据网络部署有该应用的标识对应的应用服务器时,需要对数据网络列表中的数据网络一个一个进行确定,直到确定出有一个数据网络部署有该应用的标识对应的应用服务器时才停止,或者直到确定完数据网络列表中所有数据网络才停止。In one implementation, all data networks are deployed with the same application server. When determining whether there is an application server corresponding to the application identifier deployed on the data network in the data network list, only one data in the data network list needs to be determined Whether the application server corresponding to the identification of the application is deployed on the network. In another implementation manner, the application servers deployed in different data networks may be different. When determining whether there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, it is necessary to check the data network in the data network list. One is determined, and it is not stopped until it is determined that a data network is deployed with an application server corresponding to the identification of the application, or until all data networks in the data network list are determined.
在一种实现方式中,SMF可以向UPF发送指示信息,该指示信息用于指示UPF当数据网 络列表中存在数据网络部署有应用的标识对应的应用服务器时,向SMF发送DNS请求信息。UPF接收到来自第一终端设备的第一请求信息之后,可以根据该指示信息确定数据网络列表中是否存在数据网络部署有该应用的标识对应的应用服务器,当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,可以向SMF发送包括该应用的标识的DNS请求信息。在另一种实现方式中,UPF中配置有规则,该规则可以为:当数据网络列表中存在数据网络部署有应用的标识对应的应用服务器时,向SMF发送DNS请求信息。UPF接收到来自第一终端设备的第一请求信息之后,可以根据该规则确定数据网络列表中是否存在数据网络部署有该应用的标识对应的应用服务器,当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器数据时,可以向SMF发送包括该应用的标识的DNS请求信息。In an implementation manner, the SMF may send instruction information to the UPF. The instruction information is used to instruct the UPF to send DNS request information to the SMF when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list. After the UPF receives the first request information from the first terminal device, it can determine whether there is an application server corresponding to the identification of the application deployed on the data network in the data network list according to the instruction information, and when there is a data network deployed on the data network list When the application server corresponds to the identification of the application, the DNS request information including the identification of the application may be sent to the SMF. In another implementation manner, a rule is configured in the UPF, and the rule may be: when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, the DNS request information is sent to the SMF. After the UPF receives the first request information from the first terminal device, it can determine whether there is an application server corresponding to the identification of the application deployed on the data network in the data network list according to the rule. When the application server data corresponds to the identifier of the application, the DNS request information including the identifier of the application can be sent to the SMF.
SMF可以向UPF发送数据网络列表,相应地,UPF可以接收来自SMF的数据网络列表。可见,数据网络列表可以是SMF发送给UPF的。UPF可以向SMF发送包括第一终端设备的标识的第二请求信息,相应地,SMF接收来自UPF的第二请求信息,根据第二请求信息包括的第一终端设备的标识以及终端设备的位置对应的数据网络的标识确定数据网络列表。可见,数据网络列表可以是SMF基于UPF的请求发送给UPF的。数据网络列表也可以是UPF确定的。数据网络的标识可以为数据网络本身的标识。例如,数据网络的标识可以为数据网络名称(data network name,DNN),或者其它数据网络的标识号(identity document,ID)。数据网络的标识也可以为数据网络的接入标识。例如,数据网络接入标识符(DN access identifier,DNAI),可用于标识UPF到数据网络之间的用户面路径,也可以视为一种数据网络的标识。数据网络的标识还可以为MEC节点或DC的标识,可用于表示MEC节点或DC所在的位置。数据网络的标识还可以为数据网络的子网信息,可以根据该子网信息确定对应的数据网络。数据网络的标识还可以为数据网络包含的应用服务器的地址信息,可以根据该地址信息确定对应的数据网络。位置对应的数据网络的标识,可以表示为位置信息与支持服务该位置信息对应的位置的数据网络的标识的对应关系,可以以数据表、键值对、上下文或其他形式存储,对存储形式不做限定。例如,位置对应的数据网络的标识可以如表1或表2所示。SMF can send a list of data networks to UPF, and accordingly, UPF can receive a list of data networks from SMF. It can be seen that the data network list can be sent by SMF to UPF. The UPF may send the second request information including the identification of the first terminal device to the SMF. Correspondingly, the SMF receives the second request information from the UPF, and corresponds to the identification of the first terminal device and the location of the terminal device included in the second request information. The identification of the data network determines the data network list. It can be seen that the data network list can be sent to the UPF by the SMF based on the UPF request. The data network list can also be determined by UPF. The identification of the data network may be the identification of the data network itself. For example, the identification of the data network may be a data network name (data network name, DNN), or an identification number (identity document, ID) of other data networks. The identification of the data network may also be an access identification of the data network. For example, a data network access identifier (DN access identifier, DNAI) can be used to identify the user plane path from the UPF to the data network, and can also be regarded as a data network identifier. The identifier of the data network may also be the identifier of the MEC node or DC, which may be used to indicate the location of the MEC node or DC. The identification of the data network may also be the subnet information of the data network, and the corresponding data network may be determined according to the subnet information. The identification of the data network may also be the address information of the application server included in the data network, and the corresponding data network may be determined according to the address information. The identity of the data network corresponding to the location can be expressed as the correspondence between the location information and the identity of the data network that supports the location corresponding to the location information. It can be stored in a data table, key-value pair, context, or other forms. Make a limit. For example, the identification of the data network corresponding to the location may be as shown in Table 1 or Table 2.
数据网络的标识Identification of the data network 位置信息 location information
DN 1DN 1 位置2、…、位置X Position 2,..., Position X
DN 2DN 2 位置1,位置3、…、位置Y Position 1, position 3, ..., position Y
DN KDN K 位置3、…、位置ZPosition 3,..., position Z
表1Table 1
位置信息location information 数据网络的标识Identification of the data network
位置1Position 1 DN 1、…、DN X DN 1,..., DN X
位置2Position 2 DN 2、…、DN Y DN 2,..., DN Y
位置K Location K DN 1、…、DN ZDN 1,..., DN Z
表2Table 2
在一种实现方式中,SMF可以配置或获取数据网络的服务范围。数据网络的服务范围可以是具体的位置集合。例如,跟踪区(tracking area,TA)1、TA2,…,RAN_1、RAN_2或者小区(Cell)_1、Cell_2等中的一个或多个的集合。数据网络的服务范围也可以是地理位置信息的集合,如经纬度或行政区域等。数据网络的服务范围也可以是与数据网络对应的一个或多个UPF的服务范围的集合。其中,这一个或多个UPF可以服务该数据网络。UPF的服务范围可以是具体的位置集合或地理位置信息的集合。数据网络的服务范围还可以由部署在数据网络中的应用服务器(application server,AS)和/或使能服务器(enabler server,ES)的服务范围来标识,其中,AS或ES的服务范围的表现形式同上所述,不再赘述。在第一终端设备的PDU会话建立过程中,或者第一终端设备的位置发生变化时,或者检测到相关的业务或事件等情况下,如SMF接收到来自UPF的包括应用的标识的第二请求信息,SMF可以获取第一终端设备的当前位置,如TA1或Cell_1等。SMF可以从AMF获取第一终端设备的当前位置,SMF也可以向AMF订阅第一终端设备的位置信息或者位置变化相关的事件,SMF也可以向AMF订阅第一终端设备移入或移出数据网络的服务范围等事件,AMF检测到第一终端设备移动后,可以实时向SMF通知第一终端设备的当前位置。SMF获取到第一终端设备的当前位置之后,SMF可以先确定第一终端设备的当前位置是否在数据网络的服务范围内,若第一终端设备的当前位置在数据网络的服务范围内,则确定该数据网络支持服务处于当前位置的第一终端设备。假定SMF配置或者获取到M个数据网络的服务范围,SMF获取到第一终端设备的当前位置之后,可能确定M个数据网络中的N个数据网络支持服务处于当前位置的第一终端设备。其中,也可以由其他网元或功能实体确定数据网络列表后发送给SMF,确定数据网络的过程与SMF类似,不再赘述。之后SMF可以向UPF发送数据网络列表。其中,M为大于1的整数,N为小于或等于M的整数。In one implementation, the SMF can configure or obtain the service range of the data network. The service range of the data network can be a specific collection of locations. For example, a collection of one or more of tracking area (tracking area, TA) 1, TA2, ..., RAN_1, RAN_2, or cell (Cell)_1, Cell_2, etc. The service range of the data network can also be a collection of geographic location information, such as latitude and longitude or administrative area. The service range of the data network may also be a collection of one or more UPF service ranges corresponding to the data network. Among them, the one or more UPFs can serve the data network. The service scope of UPF can be a specific location collection or a collection of geographic location information. The service scope of the data network can also be identified by the service scope of the application server (AS) and/or the enabler server (ES) deployed in the data network. Among them, the performance of the service scope of the AS or ES The format is the same as that described above, and will not be repeated here. During the establishment of the PDU session of the first terminal device, or when the location of the first terminal device changes, or when a related service or event is detected, for example, the SMF receives a second request from the UPF that includes the identification of the application Information, SMF can obtain the current location of the first terminal device, such as TA1 or Cell_1. SMF can obtain the current location of the first terminal device from AMF. SMF can also subscribe to AMF the location information of the first terminal device or events related to location changes. SMF can also subscribe to AMF for the service of the first terminal device moving into or out of the data network. For events such as range, after the AMF detects the movement of the first terminal device, it can notify the SMF of the current location of the first terminal device in real time. After the SMF obtains the current location of the first terminal device, SMF can first determine whether the current location of the first terminal device is within the service range of the data network, and if the current location of the first terminal device is within the service range of the data network, then determine The data network supports the service of the first terminal device at the current location. Assuming that the SMF is configured or acquired the service range of M data networks, after the SMF acquires the current location of the first terminal device, it may be determined that N data networks of the M data networks support the service of the first terminal device in the current location. Among them, other network elements or functional entities may also determine the data network list and then send it to the SMF. The process of determining the data network is similar to that of the SMF and will not be repeated here. SMF can then send a list of data networks to UPF. Among them, M is an integer greater than 1, and N is an integer less than or equal to M.
在另一种实现方式中,SMF可以确定与第一终端设备的当前位置邻近的数据网络为支持服务处于当前位置的第一终端设备的数据网络。例如,第一终端设备的当前位置与数据网络所在位置之间的距离不超过X千米。其中,可以由SMF或其他网元计算第一终端设备的当前位置与数据网络所在位置之间的距离后通知给SMF。之后SMF可以向UPF发送数据网络列表。In another implementation manner, the SMF may determine that a data network adjacent to the current location of the first terminal device is a data network supporting and serving the first terminal device in the current location. For example, the distance between the current location of the first terminal device and the location of the data network does not exceed X kilometers. Wherein, the SMF or other network elements may calculate the distance between the current location of the first terminal device and the location of the data network and notify the SMF. SMF can then send a list of data networks to UPF.
在又一种实现方式中,SMF可以配置支持的数据网络,SMF可以将支持的数据网络中的所有或部分数据网络确定为支持服务处于当前位置的第一终端设备的数据网络。SMF也可以从其它网元或设备获取支持服务处于当前位置的第一终端设备的数据网络,SMF可以将支持服务处于当前位置的第一终端设备的所有数据网络确定为数据网络列表中的数据网络,或者根据配置或策略将支持服务处于当前位置的第一终端设备的所有数据网络的子集确定为数据网络列表中的数据网络。之后SMF可以向UPF发送数据网络列表。In yet another implementation manner, the SMF may configure a supported data network, and the SMF may determine all or part of the supported data network as a data network supporting and serving the first terminal device at the current location. SMF can also obtain the data network of the first terminal device that supports the service at the current location from other network elements or devices. SMF can determine all the data networks that support the first terminal device at the current location of the service as the data network in the data network list. , Or determine a subset of all data networks supporting the first terminal device at the current location as the data network in the data network list according to the configuration or policy. SMF can then send a list of data networks to UPF.
在又一种实现方式中,在第一终端设备在会话建立过程中已经插入ULCL/BP的情况下,数据网络列表中的数据网络可以为支持与ULCL/BP连通的L-PSA对应的数据网络,如图3所示的L-PSA1和L-PSA2对应的数据网络。其中,假定ULCL/BP可以与M个L-PSA连通,SMF可以将M个L-PSA对应的数据网络确定为数据网络列表中的数据网络,或者SMF也可以根据配置或策略将M个L-PSA对应的数据网络中的N个数据网络确定为数据网络列表中的数据网络。之后SMF可以向UPF发送数据网络列表。In yet another implementation manner, in the case that the first terminal device has inserted ULCL/BP during the session establishment process, the data network in the data network list may be a data network that supports L-PSA connected to ULCL/BP. , As shown in Figure 3 shows the data network corresponding to L-PSA1 and L-PSA2. Among them, assuming that ULCL/BP can be connected with M L-PSAs, SMF can determine the data network corresponding to M L-PSA as the data network in the data network list, or SMF can also combine M L-PSA according to configuration or strategy. The N data networks in the data network corresponding to the PSA are determined to be the data networks in the data network list. SMF can then send a list of data networks to UPF.
UPF确定数据网络列表的方式与上述类似,在此不加赘述。The way the UPF determines the data network list is similar to the above, and will not be repeated here.
UPF可以在UPF接收来自第一终端设备的第一请求信息之前、之后或同时,接收来自SMF的数据网络列表。The UPF may receive the data network list from the SMF before, after, or at the same time when the UPF receives the first request information from the first terminal device.
UPF可以根据该应用的标识、数据网络列表以及数据网络列表中数据网络部署的应用服务器的标识,确定数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器。数据网络部署的应用服务器的标识可以以数据表、键值对、上下文或其他形式存储,对存储形式不做限定。例如,数据网络部署的应用服务器的标识可以如表3或表4所示。The UPF can determine that there is an application server corresponding to the application ID deployed on the data network in the data network list according to the ID of the application, the data network list, and the ID of the application server deployed on the data network in the data network list. The identification of the application server deployed in the data network can be stored in a data table, key-value pair, context, or other forms, and the storage form is not limited. For example, the identification of the application server deployed in the data network may be as shown in Table 3 or Table 4.
数据网络的标识Identification of the data network 应用服务器的标识ID of the application server
DN 1DN 1 应用服务器2、…、应用服务器X Application Server 2,..., Application Server X
DN 2DN 2 应用服务器1,应用服务器3、…、应用服务器Y Application server 1, application server 3,..., application server Y
DN KDN K 应用服务器3、…、应用服务器ZApplication server 3,..., application server Z
表3table 3
应用服务器的标识ID of the application server 数据网络的标识Identification of the data network
应用服务器1Application Server 1 DN 1、…、DN X DN 1,..., DN X
应用服务器2Application server 2 DN 2、…、DN Y DN 2,..., DN Y
应用服务器KApplication Server K DN 1、…、DN ZDN 1,..., DN Z
表4Table 4
在一种实现方式中,SMF可以向UPF发送数据网络列表中数据网络部署的应用服务器的标识。UPF可以在接收来自第一终端设备的第一请求信息之前、之后或同时,接收来自SMF的数据网络列表中数据网络部署的应用服务器的标识。可见,数据网络列表中数据网络部署的应用服务器的标识可以是SMF发送给UPF的。SMF可以配置有数据网络部署的应用服务器的标识,也可以从其它设备或网元获取数据网络部署的应用服务器的标识。在数据网络列表为SMF发送给UPF的情况下,SMF可以在确定出或获取到数据网络列表之后,确定数据网络列表中数据网络部署的应用服务器的标识。SMF将数据网络列表与数据网络列表中数据网络部署的应用服务器的标识可以同时发送给UPF,也可以先后发送给UPF。在SMF将数据网络列表与数据网络列表中数据网络部署的应用服务器的标识同时发送给UPF的情况下,可以是通过同一个消息、指令或信令等发送的,也可以是通过两个不同的消息、指令或信令等发送的,在此不加限定。UPF可以向SMF发送第三请求信息,SMF接收到来自UPF的第三请求信息之后,可以根据第三请求信息确定数据网络列表中数据网络部署的应用服务器的标识。可见,数据网络列表中数据网络部署的应用服务器的标识可以是SMF基于UPF的请求发送给UPF的。第三请求信息可以包括第一终端设备的标识,此时,SMF可以根据第一终端设备的标识、终端设备的位置对应的数据网络的标识以及数据网络部署的应用服务器的标识确定数据网络列表中数据网络部署的应用服务器的标识。在数据网络列表为UPF确定的情况下,第三请求信息可以包括或携带数据网络列表中数据网络的标识,此时,SMF可以根据数据网络列表中数据网络的标识以及数据网络部署的应用服务器的标 识确定数据网络列表中数据网络部署的应用服务器的标识。In an implementation manner, the SMF may send the identifier of the application server deployed on the data network in the data network list to the UPF. The UPF may receive the identifier of the application server deployed on the data network in the data network list of the SMF before, after, or at the same time when receiving the first request information from the first terminal device. It can be seen that the identification of the application server deployed on the data network in the data network list can be sent to the UPF by the SMF. The SMF may be configured with the identification of the application server deployed on the data network, or it may obtain the identification of the application server deployed on the data network from other devices or network elements. In the case where the data network list is sent to the UPF by SMF, the SMF may determine the identification of the application server deployed by the data network in the data network list after determining or obtaining the data network list. The SMF can send the data network list and the identification of the application server deployed on the data network in the data network list to the UPF at the same time or sequentially. When the SMF sends the data network list and the identification of the application server deployed in the data network list to the UPF at the same time, it can be sent through the same message, instruction or signaling, or through two different There are no restrictions on what is sent by messages, instructions, or signaling. The UPF may send third request information to the SMF. After receiving the third request information from the UPF, the SMF may determine the identification of the application server deployed on the data network in the data network list according to the third request information. It can be seen that the identification of the application server deployed on the data network in the data network list may be sent by the SMF to the UPF based on the UPF request. The third request information may include the identification of the first terminal device. In this case, the SMF may determine the data network list according to the identification of the first terminal device, the identification of the data network corresponding to the location of the terminal device, and the identification of the application server deployed by the data network The ID of the application server deployed on the data network. In the case where the data network list is determined by the UPF, the third request information may include or carry the identification of the data network in the data network list. In this case, the SMF may be based on the identification of the data network in the data network list and the status of the application server deployed by the data network. The identifier determines the identifier of the application server deployed by the data network in the data network list.
在另一种实现方式中,UPF可以配置有数据网络部署的应用服务器的标识,也可以从其它设备或网元获取数据网络部署的应用服务器的标识。UPF接收到来自SMF的数据网络列表之后,或者确定出数据网络列表之后,可以根据数据网络列表以及数据网络部署的应用服务器的标识,确定数据网络列表中数据网络部署的应用服务器的标识。In another implementation manner, the UPF may be configured with the identifier of the application server deployed on the data network, or it may obtain the identifier of the application server deployed on the data network from other devices or network elements. After the UPF receives the data network list from the SMF, or determines the data network list, it can determine the identification of the data network deployed application server in the data network list according to the data network list and the identification of the application server deployed on the data network.
503、SMF根据该DNS请求信息为第一终端设备确定第一应用服务器的地址信息。503. The SMF determines the address information of the first application server for the first terminal device according to the DNS request information.
第一应用服务器为部署在第一数据网络中的该应用的标识对应的应用服务器,数据网络列表包括第一数据网络的标识。The first application server is an application server corresponding to the identifier of the application deployed in the first data network, and the data network list includes the identifier of the first data network.
在一种实现方式中,SMF可以先根据该应用的标识从数据网络列表中选取第一数据网络的标识。具体地,可以先从数据网络列表中选取部署有该应用的标识对应的应用服务器的数据网络的标识。一种情况下,可以根据应用服务器或数据网络的优先级、时延和负载情况中的一项或多项从选取的数据网络的标识中选取第一数据网络的标识。另一种情况下,在选取的数据网络的标识的数量大于1的情况下,可以从选取的数据网络的标识中选取任一数据网络为第一数据网络的标识。之后SMF可以根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息。在一种情况下,SMF可以向第一数据网络的标识对应的DNS服务器发送该DNS请求信息;第一数据网络的标识对应的DNS服务器接收来自SMF的该DNS请求信息之后,可以根据该应用的标识确定第一应用服务器的地址信息,即确定该应用的标识对应的应用服务器的地址信息,向SMF发送第一应用服务器的地址信息;SMF接收来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。在另一种情况下,SMF可以向第一数据网络的标识对应的DNS服务器发送该DNS请求信息;第一数据网络的标识对应的DNS服务器接收来自SMF的该DNS请求信息之后,可以根据该应用的标识确定第一应用服务器的地址信息,即确定该应用的标识对应的应用服务器的地址信息,向第一数据网络的标识对应的UPF发送第一应用服务器的地址信息;第一数据网络的标识对应的UPF接收到来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息之后,可以向第一终端设备发送第一应用服务器的地址信息。由于SMF与DNS服务器之间可能没有直接接口,因此,SMF可以通过第一数据网络的标识对应的UPF向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,即SMF先向第一数据网络的标识对应的UPF发送该DNS请求信息,第一数据网络的标识对应的UPF接收来自SMF的该DNS请求信息,向第一数据网络的标识对应的DNS服务器发送该DNS请求信息。In an implementation manner, the SMF may first select the identification of the first data network from the data network list according to the identification of the application. Specifically, the identification of the data network where the application server corresponding to the identification of the application is deployed may be selected first from the list of data networks. In one case, the identification of the first data network may be selected from the identifications of the selected data network according to one or more of the priority, delay, and load of the application server or the data network. In another case, when the number of selected data network identifiers is greater than 1, any data network can be selected as the identifier of the first data network from the selected data network identifiers. The SMF may then determine the address information of the first application server for the first terminal device according to the identifier of the first data network. In one case, the SMF can send the DNS request information to the DNS server corresponding to the identity of the first data network; after receiving the DNS request information from the SMF, the DNS server corresponding to the identity of the first data network can send the DNS request information according to the application’s The identifier determines the address information of the first application server, that is, determines the address information of the application server corresponding to the identifier of the application, and sends the address information of the first application server to the SMF; the SMF receives the first data network identifier from the DNS server corresponding to the first data network. Address information of an application server. In another case, the SMF can send the DNS request information to the DNS server corresponding to the identity of the first data network; after receiving the DNS request information from the SMF, the DNS server corresponding to the identity of the first data network can send the DNS request information according to the application The identifier determines the address information of the first application server, that is, determines the address information of the application server corresponding to the identifier of the application, and sends the address information of the first application server to the UPF corresponding to the identifier of the first data network; the identifier of the first data network After receiving the address information of the first application server from the DNS server corresponding to the identifier of the first data network, the corresponding UPF may send the address information of the first application server to the first terminal device. Since there may not be a direct interface between the SMF and the DNS server, the SMF can send the DNS request information to the DNS server corresponding to the identifier of the first data network through the UPF corresponding to the identifier of the first data network, that is, the SMF first sends the first data to the DNS server corresponding to the identifier of the first data network. The UPF corresponding to the network identifier sends the DNS request information, and the UPF corresponding to the first data network identifier receives the DNS request information from the SMF, and sends the DNS request information to the DNS server corresponding to the first data network identifier.
在另一种实现方式中,SMF可以根据该DNS请求信息从DNS服务器获取该应用的标识对应的应用服务器的地址信息,从获取的地址信息中为第一终端设备确定第一应用服务器的地址信息。在一种情况下,SMF可以向DNS服务器发送该DNS请求信息和第一终端设备的地址信息。DNS服务器接收到来自SMF的该DNS请求信息和第一终端设备的地址信息之后,可以根据该DNS请求信息和第一终端设备的地址信息确定该应用的标识对应的应用服务器的地址信息,之后可以向SMF发送该应用的标识对应的应用服务器的地址信息。SMF可以接收来自DNS服务器的该应用的标识对应的应用服务器的地址信息。在第一终端设备的地址信息的数量大于1的情况下,SMF可以一次性将第一终端设备的地址信息携带在该DNS请求信息中发送给DNS服务器,SMF也可以向DSN发送多个该DNS请求信息,每个该 DNS请求信息可以携带第一终端设备的地址信息中的一个地址信息。其中,此处的DNS服务器为集中DNS服务器,也称为中心DSN服务器。第一终端设备的地址信息可以为数据网络列表中数据网络对应的地址信息,比如一个DNAI可以对应一个子网信息。第一终端设备的地址信息也可以为服务范围支持服务第一终端设备当前位置的数据网络的标识,还可以为服务范围支持服务第一终端设备当前位置的数据网络的IP地址,还可以为服务范围支持服务第一终端设备当前位置的数据网络的子网信息。数据网络的IP地址或数据网络的子网信息可以由数据网络的标识转换得到。DNS服务器针对第一终端设备的地址信息中一个地址信息可能返回该应用的标识对应的应用服务器的地址信息,也可能不返回该应用的标识对应的应用服务器的地址信息。In another implementation manner, the SMF may obtain the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information, and determine the address information of the first application server for the first terminal device from the obtained address information . In one case, the SMF may send the DNS request information and the address information of the first terminal device to the DNS server. After the DNS server receives the DNS request information from the SMF and the address information of the first terminal device, it can determine the address information of the application server corresponding to the application identifier according to the DNS request information and the address information of the first terminal device, and then Send the address information of the application server corresponding to the application identifier to the SMF. The SMF may receive the address information of the application server corresponding to the identification of the application from the DNS server. In the case that the number of address information of the first terminal device is greater than 1, the SMF can carry the address information of the first terminal device in the DNS request information at one time and send it to the DNS server, and the SMF can also send multiple DNSs to the DSN. Request information, each of the DNS request information may carry one piece of address information in the address information of the first terminal device. Among them, the DNS server here is a centralized DNS server, also called a central DSN server. The address information of the first terminal device may be the address information corresponding to the data network in the data network list, for example, one DNAI may correspond to one subnet information. The address information of the first terminal device may also be the identification of the data network supporting the current location of the first terminal device in the service range, or the IP address of the data network supporting the current location of the first terminal device in the service range, or the service The range supports the subnet information of the data network serving the current location of the first terminal device. The IP address of the data network or the subnet information of the data network can be converted from the identification of the data network. For one piece of address information in the address information of the first terminal device, the DNS server may return the address information of the application server corresponding to the identification of the application, or may not return the address information of the application server corresponding to the identification of the application.
在另一种情况下,SMF可以向第一终端设备的地址信息对应的DNS服务器发送该DNS请求信息,即向第一终端设备的地址信息对应的本地DNS服务器发送该DNS请求信息。其中,第一终端设备的地址信息对应的本地DSN服务器也可以理解为支持服务第一终端设备当前位置的数据网络对应的本地DNS服务器。若第一终端设备的地址信息有多个,比如支持服务第一终端设备当前位置的数据网络有多个,多个数据网络对应不同的子网信息,则可以分别向数据网络对应的本地DNS服务器发送该DNS请求信息。第一终端设备的地址信息对应的DNS服务器接收到来自SMF的该DNS请求之后,可以确定该应用的标识对应的应用服务器的地址信息,之后可以向SMF发送应用的标识对应的应用服务器的地址信息。SMF接收来自第一终端设备的地址信息对应的DNS服务器的该应用的标识对应的应用服务器的地址信息。其中,第一终端设备的地址信息可以为数据网络对应的子网信息,第一终端设备的地址信息对应的DNS服务器可以理解数据网络对应的DNS服务器,比如,为本地数据网络做DNS解析的本地DNS服务器。其中,针对第一终端设备的地址信息中一个地址信息对应的DSN服务器,可能返回该应用的标识对应的应用服务器的地址信息,也可能不返回该应用的标识对应的应用服务器的地址信息。不返回可能是由于没有部署该应用的标识对应的应用服务器,也可能是由于部署的该应用的标识对应的应用服务器的负载较大,还可能是其它原因,在此不加限定。In another case, the SMF may send the DNS request information to the DNS server corresponding to the address information of the first terminal device, that is, send the DNS request information to the local DNS server corresponding to the address information of the first terminal device. The local DSN server corresponding to the address information of the first terminal device can also be understood as a local DNS server corresponding to the data network supporting the current location of the first terminal device. If there are multiple address information of the first terminal device, for example, there are multiple data networks that support the current location of the first terminal device, and multiple data networks correspond to different subnet information, you can send the corresponding local DNS server to the data network. Send the DNS request information. After the DNS server corresponding to the address information of the first terminal device receives the DNS request from the SMF, it can determine the address information of the application server corresponding to the application identifier, and then can send the address information of the application server corresponding to the application identifier to the SMF . The SMF receives the address information of the application server corresponding to the identifier of the application from the DNS server corresponding to the address information of the first terminal device. Among them, the address information of the first terminal device may be the subnet information corresponding to the data network, and the DNS server corresponding to the address information of the first terminal device can understand the DNS server corresponding to the data network, for example, the local DNS resolution for the local data network DNS server. Wherein, for the DSN server corresponding to one piece of address information in the address information of the first terminal device, the address information of the application server corresponding to the identification of the application may be returned, or the address information of the application server corresponding to the identification of the application may not be returned. The non-return may be because there is no application server corresponding to the identifier of the deployed application, or it may be because the load of the application server corresponding to the identifier of the deployed application is relatively large, or it may be due to other reasons, which is not limited here.
SMF从DNS服务器获取到该应用的标识对应的应用服务器的地址信息之后,在获取的地址信息的数量为1的情况下,可以将这个地址信息确定为第一应用服务器的地址信息。在获取的地址信息的数量大于1的情况下,可以根据应用服务器或DN的优先级、时延和负载情况中的一项或多项,从获取的地址信息中选取第一应用服务器的地址信息,以便可以选取到适合的应用服务器。After the SMF obtains the address information of the application server corresponding to the identification of the application from the DNS server, if the number of the obtained address information is 1, the address information can be determined as the address information of the first application server. In the case that the number of acquired address information is greater than 1, the address information of the first application server can be selected from the acquired address information according to one or more of the priority, delay and load of the application server or DN , So that you can select a suitable application server.
在又一种实现方式中,UPF可以根据该应用的标识从数据网络列表中选取第一数据网络的标识,之后向SMF发送第一数据网络的标识。SMF接收来自UPF的第一数据网络的标识,可以根据该DNS请求信息和第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息。一种情况下,SMF可以向第一数据网络的标识对应的DNS服务器发送该DNS请求信息。第一数据网络的标识对应的DNS服务器接收来自SMF的该DNS请求信息之后,可以根据该应用的标识确定第一应用服务器的地址信息,向SMF发送第一应用服务器的地址信息。SMF接收来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。在另一种情况下,SMF可以向第一数据网络的标识对应的DNS服务器发送该DNS请求 信息;第一数据网络的标识对应的DNS服务器接收来自SMF的该DNS请求信息之后,可以根据该应用的标识确定第一应用服务器的地址信息,向第一数据网络的标识对应的UPF发送第一应用服务器的地址信息;第一数据网络的标识对应的UPF接收到来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息之后,可以向第一终端设备发送第一应用服务器的地址信息。In yet another implementation manner, the UPF may select the identification of the first data network from the data network list according to the identification of the application, and then send the identification of the first data network to the SMF. The SMF receives the identifier of the first data network from the UPF, and can determine the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network. In one case, the SMF may send the DNS request information to the DNS server corresponding to the identifier of the first data network. After receiving the DNS request information from the SMF, the DNS server corresponding to the identifier of the first data network may determine the address information of the first application server according to the identifier of the application, and send the address information of the first application server to the SMF. The SMF receives the address information of the first application server from the DNS server corresponding to the identifier of the first data network. In another case, the SMF can send the DNS request information to the DNS server corresponding to the identity of the first data network; after receiving the DNS request information from the SMF, the DNS server corresponding to the identity of the first data network can send the DNS request information according to the application The identifier determines the address information of the first application server, and sends the address information of the first application server to the UPF corresponding to the identifier of the first data network; the UPF corresponding to the identifier of the first data network receives the identifier corresponding to the first data network After the address information of the first application server of the DNS server, the address information of the first application server may be sent to the first terminal device.
第一终端设备的地址信息可以是SMF确定的,也可以是UPF发送给SMF的。可以是UPF主动发送的,也可以是UPF接收到来自SMF的第四请求信息之后发送的。UPF向SMF发送第一终端设备的地址信息之前,还可以根据终端设备的位置对应的数据网络的标识确定第一终端设备的地址信息。可见,第一终端设备的地址信息可以是UPF主动发送给SMF的,也可以是UPF基于SMF的请求发送的。The address information of the first terminal device may be determined by SMF, or sent by UPF to SMF. It may be sent by the UPF on its own initiative, or it may be sent after the UPF receives the fourth request information from the SMF. Before the UPF sends the address information of the first terminal device to the SMF, it may also determine the address information of the first terminal device according to the identifier of the data network corresponding to the location of the terminal device. It can be seen that the address information of the first terminal device may be actively sent by UPF to SMF, or it may be sent by UPF based on SMF's request.
此外,SMF可以建立分流节点与第一数据网络对应的UPF之间的数据路径。SMF接收到来自UPF的第一数据网络的标识之后,或者SMF确定出第一数据网络的标识之后,可以建立分流节点与第一数据网络对应的UPF之间的数据路径,如图3所示ULCL/BP与L-PSA1之间的数据路径,或者,可以重新配置第一终端设备的会话的数据路径,包括:增加或者插入第一数据网络对应的UPF和分流节点。数据路径可以是SMF根据UPF网元发送的第一数据网络的标识建立的,也可以是SMF根据UPF网元发送的该DNS请求信息建立的。分流节点可以为ULCL,也可以为BP,还可以为具有同等功能的其它网元或设备。数据路径也可以称为用户面路径。在第一终端的会话的数据路径未插入分流节点,即不存在分流节点的情况下,可以先插入分流节点,之后建立该分流节点与第一数据网络对应的UPF之间的数据路径。在已经存在分流节点,即已经插入分流节点的情况下,可以建立该分流节点与第一数据网络的标识对应的UPF之间的路径。其中,分流节点与第一数据网络对应的UPF可以是合设的,也可以是独立的。In addition, the SMF can establish a data path between the shunt node and the UPF corresponding to the first data network. After the SMF receives the identifier of the first data network from the UPF, or after the SMF determines the identifier of the first data network, the data path between the offload node and the UPF corresponding to the first data network can be established, as shown in ULCL in Figure 3 The data path between /BP and L-PSA1, or the data path of the session of the first terminal device can be reconfigured, including: adding or inserting the UPF and shunt node corresponding to the first data network. The data path may be established by the SMF according to the identity of the first data network sent by the UPF network element, or may be established by the SMF according to the DNS request information sent by the UPF network element. The shunt node can be ULCL, BP, or other network elements or devices with equivalent functions. The data path can also be referred to as the user plane path. In the case where no offload node is inserted in the data path of the session of the first terminal, that is, there is no offload node, the offload node may be inserted first, and then the data path between the offload node and the UPF corresponding to the first data network is established. In the case where the offload node already exists, that is, the offload node has been inserted, a path between the offload node and the UPF corresponding to the identifier of the first data network can be established. Wherein, the split node and the UPF corresponding to the first data network may be co-located or independent.
SMF建立分流节点与第一数据网络对应的UPF之间的数据路径之后,可以确定分流节点与第一数据网络对应的UPF之间的数据网络是否建立成功,在分流节点与第一数据网络对应的UPF之间的数据路径建立成功的情况下,可以向第一终端设备发送第一应用服务器的地址信息。第一终端设备接收到第一应用服务器的地址信息之后,可以根据第一应用服务器的地址信息与第一应用服务器进行通信,即可以根据第一应用服务器的地址信息访问第一应用服务器。一种情况下,SMF可以通过NAS消息向第一终端设备发送第一应用服务器的地址信息。另一种情况下,SMF可以通过用户面路径向第一终端设备发送第一应用服务器的地址信息。用户面路径可以为SMF→分流节点→第一终端设备。第一应用服务器的地址信息可以携带在DNS响应消息中发送给第一终端设备。After the SMF establishes the data path between the offload node and the UPF corresponding to the first data network, it can be determined whether the data network between the offload node and the UPF corresponding to the first data network is established successfully. If the data path between UPFs is successfully established, the address information of the first application server may be sent to the first terminal device. After receiving the address information of the first application server, the first terminal device can communicate with the first application server according to the address information of the first application server, that is, can access the first application server according to the address information of the first application server. In one case, the SMF may send the address information of the first application server to the first terminal device through a NAS message. In another case, the SMF may send the address information of the first application server to the first terminal device through the user plane path. The user plane path can be SMF→distribution node→first terminal device. The address information of the first application server may be carried in a DNS response message and sent to the first terminal device.
基于上述网络架构,请参阅图6,图6是本发明实施例公开的另一种通信方法的流程示意图。如图6所示,该通信方法可以包括以下步骤。Based on the foregoing network architecture, please refer to FIG. 6, which is a schematic flowchart of another communication method disclosed in an embodiment of the present invention. As shown in FIG. 6, the communication method may include the following steps.
601、第一终端设备建立会话。601. The first terminal device establishes a session.
602、第一终端设备向UPF发送包括应用的标识的第一请求信息。602. The first terminal device sends the first request information including the identifier of the application to the UPF.
对应地,UPF接收来自第一终端设备的包括应用的标识的第一请求信息。Correspondingly, the UPF receives the first request information including the identification of the application from the first terminal device.
603、当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,UPF 向SMF发送包括该应用的标识的DNS请求信息。603. When there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, the UPF sends the DNS request information including the identifier of the application to the SMF.
在一种情况下,SMF可以配置数据网络对应的应用服务器的标识。在另一种情况下,UPF可以配置数据网络对应的应用服务器的标识。此外,SMF或UPF还可以配置有数据网络的标识对应的子网信息。In one case, the SMF can configure the identification of the application server corresponding to the data network. In another case, UPF can configure the identity of the application server corresponding to the data network. In addition, the SMF or UPF may also be configured with subnet information corresponding to the identifier of the data network.
此外,SMF可以根据数据网络对应的网段的标识确定MEC的网段信息或数据网络的网段信息。SMF可以配置有数据网络对应的网段的标识。数据网络对应的网段的标识也可以配置在UPF。In addition, the SMF can determine the network segment information of the MEC or the network segment information of the data network according to the identifier of the network segment corresponding to the data network. The SMF can be configured with the identifier of the network segment corresponding to the data network. The identification of the network segment corresponding to the data network can also be configured in UPF.
在一种情况下,SMF可以配置终端设备的位置对应的数据网络的标识。在另一种情况下,UPF可以配置终端设备的位置对应的数据网络的标识。In one case, the SMF can configure the identification of the data network corresponding to the location of the terminal device. In another case, the UPF can configure the identification of the data network corresponding to the location of the terminal device.
在另一种情况下,SMF或UPF可以配置数据网络对应的服务范围,SMF或UPF可以根据该对应关系确定终端设备当前位置可以接入的数据网络。In another case, the SMF or UPF can configure the service range corresponding to the data network, and the SMF or UPF can determine the data network that the current location of the terminal device can access according to the corresponding relationship.
步骤603可以是UPF基于SMF的指示信息执行的,也可以是UPF基于配置的规则执行的。Step 603 may be executed by the UPF based on the instruction information of the SMF, or executed by the UPF based on the configured rules.
604、SMF根据该DNS请求信息为第一终端设备确定第一应用服务器的地址信息。604. The SMF determines the address information of the first application server for the first terminal device according to the DNS request information.
SMF根据该DNS请求信息为第一终端设备确定第一应用服务器的地址信息的方式有三种,详细描述可以参考上面相关的描述。There are three ways for the SMF to determine the address information of the first application server for the first terminal device according to the DNS request information. For detailed description, please refer to the relevant description above.
605、SMF重新配置第一终端设备会话的数据路径。605. The SMF reconfigures the data path of the first terminal device session.
606、SMF向第一终端设备发送第一应用服务器的地址信息。606. The SMF sends the address information of the first application server to the first terminal device.
607、第一终端设备根据该地址信息访问第一应用服务器。607. The first terminal device accesses the first application server according to the address information.
其中,步骤601-步骤607的详细描述可以参考上面的相关描述,在此不加赘述。For detailed descriptions of steps 601 to 607, reference may be made to the above related descriptions, and details are not repeated here.
基于上述网络架构,请参阅图7,图7是本发明实施例公开的一种通信装置的结构示意图。如图7所示,该通信装置可以包括:Based on the foregoing network architecture, please refer to FIG. 7. FIG. 7 is a schematic structural diagram of a communication device disclosed in an embodiment of the present invention. As shown in Figure 7, the communication device may include:
接收单元701,用于接收来自第一终端设备的第一请求信息,第一请求信息包括应用的标识;The receiving unit 701 is configured to receive first request information from a first terminal device, where the first request information includes an application identifier;
发送单元702,用于当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,向会话管理功能网元发送DNS请求信息,数据网络列表包括支持服务处于当前位置的第一终端设备的数据网络的标识,DNS请求信息包括该应用的标识。The sending unit 702 is configured to send DNS request information to the session management function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, and the data network list includes the first terminal supporting the service at the current position The identification of the data network of the device, and the DNS request information includes the identification of the application.
在一个实施例中,接收单元701,还用于接收来自会话管理功能网元的指示信息,该指示信息用于指示用户面功能网元当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,向会话管理功能网元发送该DNS请求信息。In one embodiment, the receiving unit 701 is further configured to receive indication information from the session management function network element, where the indication information is used to indicate the user plane function network element when there is a data network deployed in the data network list that corresponds to the identification of the application. The DNS request information is sent to the session management function network element.
在一个实施例中,接收单元701,还用于接收来自会话管理功能网元的数据网络列表;或者In an embodiment, the receiving unit 701 is further configured to receive a data network list from a network element with a session management function; or
该通信装置还可以包括:The communication device may also include:
确定单元703,用于确定所述数据网络列表。The determining unit 703 is configured to determine the data network list.
在一个实施例中,发送单元702,还用于接收单元701接收来自会话管理功能网元的数据网络列表之前,向会话管理功能网元发送第二请求信息,第二请求信息包括第一终端设备的标识,第二请求信息使能确定数据网络列表。In one embodiment, the sending unit 702 is further configured to send the second request information to the session management function network element before the receiving unit 701 receives the data network list from the session management function network element, where the second request information includes the first terminal device The identification of the second request information enables the determination of the data network list.
在一个实施例中,确定单元703,还用于根据该应用的标识、数据网络列表以及数据网 络列表中数据网络部署的应用服务器的标识,确定数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器。In one embodiment, the determining unit 703 is further configured to determine that there is an identifier of the application deployed on the data network in the data network list according to the identifier of the application, the data network list, and the identifier of the application server deployed on the data network in the data network list. Corresponding application server.
在一个实施例中,接收单元701,还用于接收来自会话管理功能网元的数据网络列表中数据网络部署的应用服务器的标识。In one embodiment, the receiving unit 701 is further configured to receive the identifier of the application server deployed on the data network in the data network list of the session management function network element.
在一个实施例中,发送单元702,还用于接收单元701接收来自会话管理功能网元的数据网络列表中数据网络部署的应用服务器的标识之前,向会话管理功能网元发送第三请求信息,第三请求信息使能确定数据网络列表中数据网络部署的应用服务器的标识。In one embodiment, the sending unit 702 is further configured to send the third request information to the session management function network element before the receiving unit 701 receives the identifier of the application server deployed on the data network in the data network list of the session management function network element, The third request information enables the identification of the application server deployed on the data network in the data network list to be determined.
在一个实施例中,该DNS请求信息使能为第一终端设备确定第一应用服务器的地址信息,第一应用服务器为部署在第一数据网络中的该应用的标识对应的应用服务器,数据网络列表包括第一数据网络的标识。In one embodiment, the DNS request information enables the first terminal device to determine the address information of the first application server. The first application server is the application server corresponding to the identification of the application deployed in the first data network. The list includes the identification of the first data network.
在一个实施例中,该DNS请求信息使能为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, enabling the DNS request information to determine the address information of the first application server for the first terminal device includes:
该DNS请求信息使能根据该应用的标识从数据网络列表中选取第一数据网络的标识,根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息。The DNS request information enables the identification of the first data network to be selected from the data network list according to the identification of the application, and the address information of the first application server is determined for the first terminal device according to the identification of the first data network.
在一个实施例中,该DNS请求信息使能根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the DNS request information enabling to determine the address information of the first application server for the first terminal device according to the identifier of the first data network includes:
该DNS请求信息使能会话管理功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,接收来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。The DNS request information enabling session management function network element sends the DNS request information to the DNS server corresponding to the identifier of the first data network, and receives address information of the first application server from the DNS server corresponding to the identifier of the first data network.
在一个实施例中,该DNS请求信息使能根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the DNS request information enabling to determine the address information of the first application server for the first terminal device according to the identifier of the first data network includes:
该DNS请求信息使能会话管理功能网元向第一数据网络标识对应的DNS服务器发送该DNS请求信息,该DNS请求信息使能第一数据网络的设备对应的DNS服务器通过第一数据网络的设备对应的用户面功能网元向第一终端设备发送第一应用服务器的地址信息。The DNS request information enabling session management function network element sends the DNS request information to the DNS server corresponding to the first data network identifier, and the DNS request information enables the DNS server corresponding to the device of the first data network to pass the device of the first data network. The corresponding user plane function network element sends the address information of the first application server to the first terminal device.
在一个实施例中,会话管理功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息包括:In an embodiment, the session management function network element sending the DNS request information to the DNS server corresponding to the identifier of the first data network includes:
会话管理功能网元通过第一数据网络的标识对应的用户面功能网元向第一数据网络的标识对应的DNS服务器发送所述DNS请求信息。The session management function network element sends the DNS request information to the DNS server corresponding to the identifier of the first data network through the user plane function network element corresponding to the identifier of the first data network.
在一个实施例中,该DNS请求信息使能为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, enabling the DNS request information to determine the address information of the first application server for the first terminal device includes:
该DNS请求信息使能会话管理功能网元从DNS服务器获取该应用的标识对应的应用服务器的地址信息,从获取的地址信息中为第一终端设备确定第一应用服务器的地址信息。The DNS request information enabling session management function network element obtains the address information of the application server corresponding to the identification of the application from the DNS server, and determines the address information of the first application server for the first terminal device from the obtained address information.
在一个实施例中,会话管理功能网元从DNS服务器获取该应用的标识对应的应用服务器的地址信息包括:In an embodiment, the session management function network element acquiring the address information of the application server corresponding to the application identifier from the DNS server includes:
会话管理功能网元向DNS服务器发送该DNS请求信息和第一终端设备的地址信息,接收来自DNS服务器的该应用的标识对应的应用服务器的地址信息。The session management function network element sends the DNS request information and the address information of the first terminal device to the DNS server, and receives the address information of the application server corresponding to the identification of the application from the DNS server.
在一个实施例中,会话管理功能网元从DNS服务器获取该应用的标识对应的应用服务器的地址信息包括:In an embodiment, the session management function network element acquiring the address information of the application server corresponding to the application identifier from the DNS server includes:
会话管理功能网元向第一终端设备的地址信息对应的DNS服务器发送该DNS请求信息,接收来自第一终端设备的地址信息对应的DNS服务器的该应用的标识对应的应用服务器的地址信息。The session management function network element sends the DNS request information to the DNS server corresponding to the address information of the first terminal device, and receives the address information of the application server corresponding to the identifier of the application from the DNS server corresponding to the address information of the first terminal device.
在一个实施例中,会话管理功能网元从获取的地址信息中为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the session management function network element determining the address information of the first application server for the first terminal device from the acquired address information includes:
在获取的地址信息的数量大于1的情况下,会话管理功能网元根据应用服务器或数据网络的优先级、时延和负载情况中的一项或多项,从获取的地址信息中为第一终端设备选取第一应用服务器的地址信息。In the case that the number of acquired address information is greater than 1, the session management function network element is the first one from the acquired address information according to one or more of the priority, delay, and load of the application server or data network The terminal device selects the address information of the first application server.
在一个实施例中,该DNS请求信息使能分流节点与第一数据网络对应的用户面功能网元之间的数据路径的建立。In an embodiment, the DNS request information enables the establishment of a data path between the shunt node and the user plane function network element corresponding to the first data network.
在一个实施例中,该通信装置还可以包括:In an embodiment, the communication device may further include:
选取单元704,用于根据该应用的标识从数据网络列表中选取第一数据网络的标识;The selecting unit 704 is configured to select the identifier of the first data network from the data network list according to the identifier of the application;
发送单元702,还用于向会话管理功能网元发送第一数据网络的标识;The sending unit 702 is further configured to send the identity of the first data network to the session management function network element;
该DNS请求信息使能为第一终端设备确定第一应用服务器的地址信息包括:The DNS request information enabling to determine the address information of the first application server for the first terminal device includes:
该DNS请求信息和第一数据网络的标识使能为第一终端设备确定第一应用服务器的地址信息。The DNS request information and the identification of the first data network enable the first terminal device to determine the address information of the first application server.
在一个实施例中,该DNS请求信息和第一数据网络的标识使能为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the DNS request information and the identification of the first data network to enable the first terminal device to determine the address information of the first application server includes:
该DNS请求信息和第一数据网络的标识使能会话管理功能网元向第一数据网络的标识对应的DNS服务器发送DNS请求信息,接收来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。The DNS request information and the identity of the first data network enable the session management function network element to send DNS request information to the DNS server corresponding to the identity of the first data network, and receive the first application from the DNS server corresponding to the identity of the first data network The address information of the server.
在一个实施例中,该DNS请求信息和第一数据网络的标识使能为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the DNS request information and the identification of the first data network to enable the first terminal device to determine the address information of the first application server includes:
该DNS请求信息和第一数据网络的标识使能会话管理功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,该DNS请求信息使能第一数据网络的标识对应的DNS服务器通过第一数据网络对应的用户面功能网元向第一终端设备发送第一应用服务器的地址信息。The DNS request information and the identity of the first data network enable the session management function network element to send the DNS request information to the DNS server corresponding to the identity of the first data network, and the DNS request information enables the DNS corresponding to the identity of the first data network The server sends the address information of the first application server to the first terminal device through the user plane function network element corresponding to the first data network.
在一个实施例中,第一数据网络的标识使能分流节点与第一数据网络对应的用户面功能网元之间的数据路径的建立。In one embodiment, the identification of the first data network enables the establishment of a data path between the offload node and the user plane function network element corresponding to the first data network.
在一个实施例中,该DNS请求信息使能会话管理网元向第一终端设备发送第一应用服务器的地址信息。In an embodiment, the DNS request information enables the session management network element to send the address information of the first application server to the first terminal device.
有关上述接收单元701、发送单元702、确定单元703和选取单元704更详细的描述可以直接参考上述图5和图6所示的方法实施例中UPF的相关描述直接得到,这里不加赘述。More detailed descriptions of the receiving unit 701, the sending unit 702, the determining unit 703, and the selecting unit 704 can be obtained directly by referring to the relevant description of the UPF in the method embodiments shown in FIG. 5 and FIG. 6, and will not be repeated here.
基于上述网络架构,请参阅图8,图8是本发明实施例公开的另一种通信装置的结构示意图。如图8所示,该通信装置可以包括:Based on the foregoing network architecture, please refer to FIG. 8. FIG. 8 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention. As shown in Figure 8, the communication device may include:
接收单元801,用于接收DNS请求信息,该DNS请求信息为用户面功能网元当数据网络列表中存在数据网络部署有应用的标识对应的应用服务器时所发送,数据网络列表包括支 持服务处于当前位置的第一终端设备的数据网络的标识,该DNS请求信息包括该应用的标识,该应用的标识为来自第一终端设备的请求信息包括的应用的标识;The receiving unit 801 is configured to receive DNS request information. The DNS request information is sent by the user plane function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, and the data network list includes the current support service The identification of the data network of the first terminal device at the location, the DNS request information includes the identification of the application, and the identification of the application is the identification of the application included in the request information from the first terminal device;
确定单元802,用于根据该DNS请求信息为第一终端设备确定第一应用服务器的地址信息,第一应用服务器为部署在第一数据网络中的该应用的标识对应的应用服务器,数据网络列表包括第一数据网络的标识。The determining unit 802 is configured to determine the address information of the first application server for the first terminal device according to the DNS request information. The first application server is the application server corresponding to the identifier of the application deployed in the first data network, and the data network list Including the identification of the first data network.
在一个实施例中,该通信装置还可以包括:In an embodiment, the communication device may further include:
发送单元803,用于向用户面功能网元发送指示信息,该指示信息用于指示用户面功能网元当数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器时,向会话管理功能网元发送该DNS请求信息。The sending unit 803 is configured to send instruction information to the user plane function network element, and the instruction information is used to instruct the user plane function network element to report to the session management when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list The functional network element sends the DNS request information.
在一个实施例中,发送单元803,还用于向用户面功能网元发送数据网络列表,数据网络列表使能确定数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器。In one embodiment, the sending unit 803 is further configured to send a data network list to the user plane function network element, and the data network list enable determines that there is an application server corresponding to the identifier of the data network deployed with the application in the data network list.
在一个实施例中,接收单元801,还用于发送单元803向用户面功能网元发送数据网络列表之前,接收来自用户面功能网元的第二请求信息,第二请求信息包括第一终端设备的标识;In one embodiment, the receiving unit 801 is further configured to receive the second request information from the user plane function network element before the sending unit 803 sends the data network list to the user plane function network element, where the second request information includes the first terminal device The logo;
确定单元802,还用于根据第一终端设备的标识以及终端设备的位置对应的数据网络的标识确定数据网络列表。The determining unit 802 is further configured to determine the data network list according to the identifier of the first terminal device and the identifier of the data network corresponding to the location of the terminal device.
在一个实施例中,发送单元803,还用于向用户面功能网元发送数据网络列表中数据网络部署的应用服务器的标识,数据网络列表中数据网络部署的应用服务器的标识使能确定数据网络列表中存在数据网络部署有该应用的标识对应的应用服务器。In one embodiment, the sending unit 803 is further configured to send the identification of the application server deployed on the data network in the data network list to the user plane function network element, and the identification of the application server deployed on the data network in the data network list enables the determination of the data network There is an application server corresponding to the identifier of the application deployed on the data network in the list.
在一个实施例中,接收单元801,还用于发送单元803向用户面功能网元发送数据网络列表中数据网络部署的应用服务器的标识之前,接收来自用户面功能网元的第三请求信息;In one embodiment, the receiving unit 801 is further configured to receive the third request information from the user plane function network element before the sending unit 803 sends the identification of the application server deployed on the data network in the data network list to the user plane function network element;
确定单元802,还用于根据第三请求信息确定数据网络列表中数据网络部署的应用服务器的标识。The determining unit 802 is further configured to determine the identifier of the application server deployed by the data network in the data network list according to the third request information.
在一个实施例中,确定单元802根据该DNS请求信息为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the determining unit 802 determines the address information of the first application server for the first terminal device according to the DNS request information, including:
根据该应用的标识从数据网络列表中选取第一数据网络的标识;Selecting the identifier of the first data network from the data network list according to the identifier of the application;
根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息。Determine the address information of the first application server for the first terminal device according to the identifier of the first data network.
在一个实施例中,确定单元802根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the determining unit 802 determining the address information of the first application server for the first terminal device according to the identifier of the first data network includes:
向第一数据网络的标识对应的DNS服务器发送该DNS请求信息;Sending the DNS request information to the DNS server corresponding to the identifier of the first data network;
接收来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。Receive the address information of the first application server from the DNS server corresponding to the identifier of the first data network.
在一个实施例中,确定单元802根据第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the determining unit 802 determining the address information of the first application server for the first terminal device according to the identifier of the first data network includes:
向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,该DNS请求信息使能第一数据网络的标识对应的DNS服务器通过第一数据网络的标识对应的用户面功能网元向第一终端设备发送第一应用服务器的地址信息。The DNS request information is sent to the DNS server corresponding to the identifier of the first data network, and the DNS request information enables the DNS server corresponding to the identifier of the first data network to send the DNS server corresponding to the identifier of the first data network to the first The terminal device sends the address information of the first application server.
在一个实施例中,确定单元802向第一数据网络的标识对应的DNS服务器发送该DNS请求信息包括:In an embodiment, the determining unit 802 sending the DNS request information to the DNS server corresponding to the identifier of the first data network includes:
通过第一数据网络的标识对应的用户面功能网元向第一数据网络的标识对应的DNS服务器发送该DNS请求信息。The user plane function network element corresponding to the identifier of the first data network sends the DNS request information to the DNS server corresponding to the identifier of the first data network.
在一个实施例中,确定单元802根据DNS请求信息为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the determining unit 802 determining the address information of the first application server for the first terminal device according to the DNS request information includes:
根据该DNS请求信息从DNS服务器获取该应用的标识对应的应用服务器的地址信息;Obtain the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information;
从获取的地址信息中为第一终端设备确定第一应用服务器的地址信息。Determine the address information of the first application server for the first terminal device from the acquired address information.
在一个实施例中,确定单元802根据该DNS请求信息从DNS服务器获取该应用的标识对应的应用服务器的地址信息包括:In one embodiment, the determining unit 802 obtains the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information, including:
向DNS服务器发送该DNS请求信息和第一终端设备的地址信息;Sending the DNS request information and the address information of the first terminal device to the DNS server;
接收来自DNS服务器的该应用的标识对应的应用服务器的地址信息。Receive the address information of the application server corresponding to the identification of the application from the DNS server.
在一个实施例中,确定单元802根据该DNS请求信息从DNS服务器获取该应用的标识对应的应用服务器的地址信息包括:In one embodiment, the determining unit 802 obtains the address information of the application server corresponding to the application identifier from the DNS server according to the DNS request information, including:
向第一终端设备的地址信息对应的DNS服务器发送该DNS请求信息;Sending the DNS request information to the DNS server corresponding to the address information of the first terminal device;
接收来自第一终端设备的地址信息对应的DNS服务器的该应用的标识对应的应用服务器的地址信息。Receive the address information of the application server corresponding to the identifier of the application from the DNS server corresponding to the address information of the first terminal device.
在一个实施例中,确定单元802从获取的地址信息中为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the determining unit 802 determining the address information of the first application server for the first terminal device from the acquired address information includes:
在获取的地址信息的数量大于1的情况下,根据应用服务器或数据网络的优先级、时延和负载情况中的一项或多项,从获取的地址信息中为第一终端设备选取第一应用服务器的地址信息。In the case that the number of acquired address information is greater than 1, according to one or more of the priority, delay and load of the application server or data network, select the first terminal device from the acquired address information. Address information of the application server.
在一个实施例中,确定单元802根据该DNS请求信息为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the determining unit 802 determines the address information of the first application server for the first terminal device according to the DNS request information, including:
接收来自用户面功能网元的第一数据网络的标识;Receiving the identifier of the first data network from the user plane function network element;
根据该DNS请求信息和第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息。Determine the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network.
在一个实施例中,确定单元802根据该DNS请求信息和第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the determining unit 802 determines the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network, including:
向第一数据网络的标识对应的DNS服务器发送该DNS请求信息;Sending the DNS request information to the DNS server corresponding to the identifier of the first data network;
接收来自第一数据网络的标识对应的DNS服务器的第一应用服务器的地址信息。Receive the address information of the first application server from the DNS server corresponding to the identifier of the first data network.
在一个实施例中,确定单元802根据该DNS请求信息和第一数据网络的标识为第一终端设备确定第一应用服务器的地址信息包括:In an embodiment, the determining unit 802 determines the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network, including:
向第一数据网络的标识对应的DNS服务器发送该DNS请求信息,该DNS请求信息使能第一数据网络的标识对应的DNS服务器通过第一数据网络对应的用户面功能网元向第一终端设备发送第一应用服务器的地址信息。Send the DNS request information to the DNS server corresponding to the identifier of the first data network, and the DNS request information enables the DNS server corresponding to the identifier of the first data network to send the DNS server corresponding to the user plane function network element corresponding to the first data network to the first terminal device. Send the address information of the first application server.
在一个实施例中,该通信装置还可以包括:In an embodiment, the communication device may further include:
建立单元804,用于建立分流节点与第一数据网络对应的用户面功能网元之间的数据路径。The establishing unit 804 is configured to establish a data path between the shunt node and the user plane function network element corresponding to the first data network.
在一个实施例中,发送单元803,还用于向第一终端设备发送第一应用服务器的地址信 息。In an embodiment, the sending unit 803 is further configured to send the address information of the first application server to the first terminal device.
有关上述接收单元801、确定单元802、发送单元803和建立单元804更详细的描述可以直接参考上述图5和图6所示的方法实施例中SMF的相关描述直接得到,这里不加赘述。More detailed descriptions about the receiving unit 801, the determining unit 802, the sending unit 803, and the establishing unit 804 can be obtained directly by referring to the relevant description of the SMF in the method embodiments shown in FIG. 5 and FIG. 6, and will not be repeated here.
基于上述网络架构,请参阅图9,图9是本发明实施例公开的又一种通信装置的结构示意图。如图9所示,该通信装置可以包括处理器901、存储器902、输入接口903、输出接口904和总线905。存储器902可以是独立存在的,可以通过总线905与处理器901相连接。存储器902也可以和处理器901集成在一起。其中,总线905用于实现这些组件之间的连接。Based on the foregoing network architecture, please refer to FIG. 9. FIG. 9 is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention. As shown in FIG. 9, the communication device may include a processor 901, a memory 902, an input interface 903, an output interface 904, and a bus 905. The memory 902 may exist independently, and may be connected to the processor 901 through the bus 905. The memory 902 may also be integrated with the processor 901. Among them, the bus 905 is used to realize the connection between these components.
在一个实施例中,该通信装置可以为UPF或者UPF内的模块(例如,芯片),存储器902中存储的计算机程序指令被执行时,该处理器901用于控制接收单元701和发送单元702执行上述实施例中执行的操作,该处理器901还用于执行确定单元703和选取单元704上述实施例中执行的操作,输入接口903用于执行上述实施例中接收单元701执行的操作,输出接口904用于执行上述实施例中发送单元702执行的操作。上述UPF或者UPF内的模块还可以用于执行上述图5和图6方法实施例中UPF执行的各种方法,不再赘述。In an embodiment, the communication device may be a UPF or a module (for example, a chip) in the UPF. When the computer program instructions stored in the memory 902 are executed, the processor 901 is used to control the receiving unit 701 and the sending unit 702 to execute For the operations performed in the foregoing embodiment, the processor 901 is also used to perform the operations performed by the determining unit 703 and the selecting unit 704 in the foregoing embodiments, the input interface 903 is used to perform the operations performed by the receiving unit 701 in the foregoing embodiment, and the output interface 904 is used to perform operations performed by the sending unit 702 in the foregoing embodiment. The foregoing UPF or the modules in the UPF may also be used to execute various methods executed by the UPF in the foregoing method embodiments in FIG. 5 and FIG. 6, and details are not described herein again.
在一个实施例中,该通信装置可以为SMF或者SMF内的模块(例如,芯片),存储器902中存储的计算机程序指令被执行时,该处理器901用于控制接收单元801和发送单元803执行上述实施例中执行的操作,该处理器901还用于执行确定单元802和建立单元804上述实施例中执行的操作,输入接口903用于执行上述实施例中接收单元801执行的操作,输出接口904用于执行上述实施例中发送单元803执行的操作。上述SMF或者SMF内的模块还可以用于执行上述图5和图6方法实施例中SMF执行的各种方法,不再赘述。In one embodiment, the communication device may be an SMF or a module (for example, a chip) in the SMF. When the computer program instructions stored in the memory 902 are executed, the processor 901 is used to control the receiving unit 801 and the sending unit 803 to execute For the operations performed in the foregoing embodiment, the processor 901 is also used to perform the operations performed by the determining unit 802 and the establishing unit 804 in the foregoing embodiment, the input interface 903 is used to perform the operations performed by the receiving unit 801 in the foregoing embodiment, and the output interface 904 is used to perform operations performed by the sending unit 803 in the foregoing embodiment. The foregoing SMF or the modules in the SMF can also be used to execute various methods executed by the SMF in the foregoing method embodiments of FIG. 5 and FIG. 6, and details are not described herein again.
基于上述网络架构,请参阅图10,图10是本发明实施例公开的又一种通信装置的结构示意图。如图10所示,该通信装置可以包括输入接口1001、逻辑电路1002和输出接口1003。输入接口1001与输出接口1003通过逻辑电路1002相连接。其中,输入接口1001用于接收来自其它通信装置的信息,输出接口1003用于向其它通信装置输出、调度或者发送信息。逻辑电路1002用于执行除输入接口1001与输出接口1003的操作之外的操作,例如实现上述实施例中处理器901实现的功能。其中,该通信装置可以为UPF或者UPF的模块,也可以为SMF或者SMF内的模块。其中,有关输入接口1001、逻辑电路1002和输出接口1003更详细的描述可以直接参考上述方法实施例中SMF或UPF的相关描述直接得到,这里不加赘述。Based on the foregoing network architecture, please refer to FIG. 10, which is a schematic structural diagram of another communication device disclosed in an embodiment of the present invention. As shown in FIG. 10, the communication device may include an input interface 1001, a logic circuit 1002, and an output interface 1003. The input interface 1001 and the output interface 1003 are connected through a logic circuit 1002. The input interface 1001 is used to receive information from other communication devices, and the output interface 1003 is used to output, schedule, or send information to other communication devices. The logic circuit 1002 is used to perform operations other than the operations of the input interface 1001 and the output interface 1003, for example, to implement the functions implemented by the processor 901 in the foregoing embodiment. Wherein, the communication device may be a UPF or UPF module, or may be an SMF or a module within the SMF. Among them, more detailed descriptions of the input interface 1001, the logic circuit 1002, and the output interface 1003 can be obtained directly by referring to the relevant description of the SMF or UPF in the foregoing method embodiment, and will not be repeated here.
本发明实施例还公开一种计算机可读存储介质,其上存储有指令,该指令被执行时执行上述方法实施例中的方法。The embodiment of the present invention also discloses a computer-readable storage medium on which an instruction is stored, and the method in the foregoing method embodiment is executed when the instruction is executed.
本发明实施例还公开一种包括指令的计算机程序产品,该指令被执行时执行上述方法实施例中的方法。The embodiment of the present invention also discloses a computer program product including instructions, which execute the method in the foregoing method embodiment when the instruction is executed.
本发明实施例还公开一种通信系统,该通信系统包括UPF和SMF,具体描述可以参考图5和图6所示的通信方法。The embodiment of the present invention also discloses a communication system. The communication system includes UPF and SMF. For specific description, reference may be made to the communication methods shown in FIG. 5 and FIG. 6.
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The specific implementations described above further describe the purpose, technical solutions, and beneficial effects of the application. It should be understood that the foregoing are only specific implementations of the application and are not intended to limit the scope of the application. The scope of protection, any modification, equivalent replacement, improvement, etc. made on the basis of the technical solution of this application shall be included in the scope of protection of this application.

Claims (42)

  1. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    接收来自第一终端设备的第一请求信息,所述第一请求信息包括应用的标识;Receiving first request information from a first terminal device, where the first request information includes an application identifier;
    当数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器时,向会话管理功能网元发送域名系统DNS请求信息,所述数据网络列表包括支持服务处于当前位置的所述第一终端设备的数据网络的标识,所述DNS请求信息包括所述应用的标识。When there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, the domain name system DNS request information is sent to the session management function network element, and the data network list includes the first supporting service at the current location. The identification of the data network of the terminal device, and the DNS request information includes the identification of the application.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    接收来自所述会话管理功能网元的指示信息,所述指示信息用于指示用户面功能网元当所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器时,向所述会话管理功能网元发送所述DNS请求信息。Receive instruction information from the session management function network element, where the instruction information is used to instruct the user plane function network element to send to the user plane function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list The session management function network element sends the DNS request information.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, wherein the method further comprises:
    接收来自所述会话管理功能网元的所述数据网络列表;或者Receive the data network list from the session management function network element; or
    确定所述数据网络列表。Determine the data network list.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:
    根据所述应用的标识、所述数据网络列表以及所述数据网络列表中所述数据网络部署的应用服务器的标识,确定所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器。According to the identification of the application, the data network list, and the identification of the application server deployed by the data network in the data network list, it is determined that there is an application corresponding to the identification of the application deployed on the data network in the data network list server.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, wherein the method further comprises:
    接收来自所述会话管理功能网元的所述数据网络列表中所述数据网络部署的应用服务器的标识。Receiving the identifier of the application server deployed by the data network in the data network list from the session management function network element.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,所述DNS请求信息使能为所述第一终端设备确定第一应用服务器的地址信息,所述第一应用服务器为部署在第一数据网络中的所述应用的标识对应的应用服务器,所述数据网络列表包括所述第一数据网络的标识。The method according to any one of claims 1-5, wherein the DNS request information enables the first terminal device to determine the address information of the first application server, and the first application server is deployed in The application server corresponding to the identifier of the application in the first data network, and the data network list includes the identifier of the first data network.
  7. 根据权利要求6所述的方法,其特征在于,所述DNS请求信息使能分流节点与所述第一数据网络对应的用户面功能网元之间的数据路径的建立。The method according to claim 6, wherein the DNS request information enables the establishment of a data path between a shunt node and a user plane function network element corresponding to the first data network.
  8. 根据权利要求6所述的方法,其特征在于,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    根据所述应用的标识从所述数据网络列表中选取所述第一数据网络的标识;Selecting the identifier of the first data network from the data network list according to the identifier of the application;
    向所述会话管理功能网元发送所述第一数据网络的标识,所述第一数据网络的标识使能确定所述第一应用服务器的地址信息。Sending the identifier of the first data network to the session management function network element, where the identifier of the first data network enables the address information of the first application server to be determined.
  9. 根据权利要求8所述的方法,其特征在于,所述第一数据网络的标识使能分流节点与所述第一数据网络对应的用户面功能网元之间的数据路径的建立。The method according to claim 8, wherein the identification of the first data network enables the establishment of a data path between a shunt node and a user plane function network element corresponding to the first data network.
  10. 根据权利要求6-9任一项所述的方法,其特征在于,所述DNS请求信息使能向所述第一终端设备发送所述第一应用服务器的地址信息。The method according to any one of claims 6-9, wherein the DNS request information enables sending the address information of the first application server to the first terminal device.
  11. 一种通信方法,其特征在于,包括:A communication method, characterized in that it comprises:
    接收域名系统DNS请求信息,所述DNS请求信息为用户面功能网元当数据网络列表中 存在数据网络部署有应用的标识对应的应用服务器时所发送,所述数据网络列表包括支持服务处于当前位置的第一终端设备的数据网络的标识,所述DNS请求信息包括所述应用的标识,所述应用的标识为来自所述第一终端设备的请求信息包括的应用的标识;Receive domain name system DNS request information, the DNS request information is sent by the user plane function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, and the data network list includes the current location of the support service The identifier of the data network of the first terminal device, the DNS request information includes the identifier of the application, and the identifier of the application is the identifier of the application included in the request information from the first terminal device;
    根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息,所述第一应用服务器为部署在第一数据网络中的所述应用的标识对应的应用服务器,所述数据网络列表包括所述第一数据网络的标识。Determine the address information of the first application server for the first terminal device according to the DNS request information, where the first application server is the application server corresponding to the identifier of the application deployed in the first data network, and the data The network list includes the identification of the first data network.
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, wherein the method further comprises:
    向所述用户面功能网元发送指示信息,所述指示信息用于指示所述用户面功能网元当所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器时,向所述会话管理功能网元发送所述DNS请求信息。Send instruction information to the user plane function network element, where the instruction information is used to instruct the user plane function network element to send to the user plane function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list The session management function network element sends the DNS request information.
  13. 根据权利要求11或12所述的方法,其特征在于,所述方法还包括:The method according to claim 11 or 12, wherein the method further comprises:
    向所述用户面功能网元发送所述数据网络列表,所述数据网络列表使能确定所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器。The data network list is sent to the user plane function network element, and the data network list enables to determine that there is an application server corresponding to the identifier of the data network deployed with the application in the data network list.
  14. 根据权利要求11或12所述的方法,所述方法还包括:The method according to claim 11 or 12, further comprising:
    向所述用户面功能网元发送所述数据网络列表中所述数据网络部署的应用服务器的标识,所述数据网络列表中所述数据网络部署的应用服务器的标识使能确定所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器。Sending the identification of the application server deployed by the data network in the data network list to the user plane function network element, and the identification of the application server deployed by the data network in the data network list enables the determination of the data network list There is an application server corresponding to the identifier of the application deployed on the data network.
  15. 根据权利要求11-14任一项所述的方法,其特征在于,所述根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息包括:The method according to any one of claims 11-14, wherein the determining the address information of the first application server for the first terminal device according to the DNS request information comprises:
    根据所述应用的标识从所述数据网络列表中选取所述第一数据网络的标识;Selecting the identifier of the first data network from the data network list according to the identifier of the application;
    根据所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息。Determine the address information of the first application server for the first terminal device according to the identifier of the first data network.
  16. 根据权利要求11-14任一项所述的方法,其特征在于,所述根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息包括:The method according to any one of claims 11-14, wherein the determining the address information of the first application server for the first terminal device according to the DNS request information comprises:
    根据所述DNS请求信息从DNS服务器获取所述应用的标识对应的应用服务器的地址信息;Obtaining the address information of the application server corresponding to the identification of the application from the DNS server according to the DNS request information;
    从获取的地址信息中为所述第一终端设备确定第一应用服务器的地址信息。Determine the address information of the first application server for the first terminal device from the acquired address information.
  17. 根据权利要求11-14任一项所述的方法,其特征在于,所述根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息包括:The method according to any one of claims 11-14, wherein the determining the address information of the first application server for the first terminal device according to the DNS request information comprises:
    接收来自所述用户面功能网元的所述第一数据网络的标识;Receiving the identifier of the first data network from the user plane function network element;
    根据所述DNS请求信息和所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息。Determine the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network.
  18. 根据权利要求11-17任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 11-17, wherein the method further comprises:
    建立分流节点与所述第一数据网络对应的用户面功能网元之间的数据路径。Establish a data path between the shunt node and the user plane function network element corresponding to the first data network.
  19. 根据权利要求11-18任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 11-18, wherein the method further comprises:
    向所述第一终端设备发送所述第一应用服务器的地址信息。Sending the address information of the first application server to the first terminal device.
  20. 一种通信装置,其特征在于,包括:A communication device, characterized in that it comprises:
    接收单元,用于接收来自第一终端设备的第一请求信息,所述第一请求信息包括应用 的标识;A receiving unit, configured to receive first request information from a first terminal device, where the first request information includes an application identifier;
    发送单元,用于当数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器时,向会话管理功能网元发送域名系统DNS请求信息,所述数据网络列表包括支持服务处于当前位置的所述第一终端设备的数据网络的标识,所述DNS请求信息包括所述应用的标识。The sending unit is configured to send domain name system DNS request information to the session management function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, where the data network list includes the current location of the support service The identification of the data network of the first terminal device, and the DNS request information includes the identification of the application.
  21. 根据权利要求20所述的装置,其特征在于,所述接收单元,还用于接收来自所述会话管理功能网元的指示信息,所述指示信息用于指示用户面功能网元当所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器时,向所述会话管理功能网元发送所述DNS请求信息。The apparatus according to claim 20, wherein the receiving unit is further configured to receive instruction information from the session management function network element, and the instruction information is used to instruct the user plane function network element as the data When there is an application server corresponding to the identifier of the application deployed on the data network in the network list, the DNS request information is sent to the session management function network element.
  22. 根据权利要求20或21所述的装置,其特征在于,所述接收单元,还用于接收来自所述会话管理功能网元的所述数据网络列表;或者The device according to claim 20 or 21, wherein the receiving unit is further configured to receive the data network list from the session management function network element; or
    所述装置还包括:The device also includes:
    第一确定单元,用于确定所述数据网络列表。The first determining unit is used to determine the data network list.
  23. 根据权利要求20-22任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 20-22, wherein the device further comprises:
    第二确定单元,用于根据所述应用的标识、所述数据网络列表以及所述数据网络列表中所述数据网络部署的应用服务器的标识,确定所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器。The second determining unit is configured to determine, according to the identification of the application, the data network list, and the identification of the application server deployed by the data network in the data network list, that there are data network deployments in the data network list. The application server corresponding to the application identifier.
  24. 根据权利要求23所述的装置,其特征在于,所述接收单元,还用于接收来自所述会话管理功能网元的所述数据网络列表中所述数据网络部署的应用服务器的标识。The apparatus according to claim 23, wherein the receiving unit is further configured to receive an identification of the application server deployed by the data network in the data network list of the session management function network element.
  25. 根据权利要求20-24任一项所述的装置,其特征在于,所述DNS请求信息使能为所述第一终端设备确定第一应用服务器的地址信息,所述第一应用服务器为部署在第一数据网络中的所述应用的标识对应的应用服务器,所述数据网络列表包括所述第一数据网络的标识。The apparatus according to any one of claims 20-24, wherein the DNS request information enables the first terminal device to determine the address information of the first application server, and the first application server is deployed in The application server corresponding to the identifier of the application in the first data network, and the data network list includes the identifier of the first data network.
  26. 根据权利要求25所述的装置,其特征在于,所述DNS请求信息使能分流节点与所述第一数据网络对应的用户面功能网元之间的数据路径的建立。The apparatus according to claim 25, wherein the DNS request information enables the establishment of a data path between a shunt node and a user plane function network element corresponding to the first data network.
  27. 根据权利要求25所述的装置,其特征在于,所述装置还包括:The device according to claim 25, wherein the device further comprises:
    选取单元,用于根据所述应用的标识从所述数据网络列表中选取所述第一数据网络的标识;A selecting unit, configured to select the identifier of the first data network from the data network list according to the identifier of the application;
    所述发送单元,还用于向所述会话管理功能网元发送所述第一数据网络的标识,所述第一数据网络的标识使能确定所述第一应用服务器的地址信息。The sending unit is further configured to send the identification of the first data network to the session management function network element, and the identification of the first data network enables the determination of the address information of the first application server.
  28. 根据权利要求27所述的装置,其特征在于,所述第一数据网络的标识使能分流节点与所述第一数据网络对应的用户面功能网元之间的数据路径的建立。The apparatus according to claim 27, wherein the identification of the first data network enables the establishment of a data path between a shunt node and a user plane function network element corresponding to the first data network.
  29. 根据权利要求25-28任一项所述的装置,其特征在于,所述DNS请求信息使能所述会话管理网元向所述第一终端设备发送所述第一应用服务器的地址信息。The apparatus according to any one of claims 25-28, wherein the DNS request information enables the session management network element to send the address information of the first application server to the first terminal device.
  30. 一种通信装置,其特征在于,包括:A communication device, characterized in that it comprises:
    接收单元,用于接收域名系统DNS请求信息,所述DNS请求信息为用户面功能网元当数据网络列表中存在数据网络部署有应用的标识对应的应用服务器时所发送,所述数据网 络列表包括支持服务处于当前位置的第一终端设备的数据网络的标识,所述DNS请求信息包括所述应用的标识,所述应用的标识为来自所述第一终端设备的请求信息包括的应用的标识;The receiving unit is configured to receive domain name system DNS request information, which is sent by the user plane function network element when there is an application server corresponding to the identifier of the application deployed on the data network in the data network list, and the data network list includes The identification of the data network supporting the first terminal device at the current location, the DNS request information includes the identification of the application, and the identification of the application is the identification of the application included in the request information from the first terminal device;
    确定单元,用于根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息,所述第一应用服务器为部署在第一数据网络中的所述应用的标识对应的应用服务器,所述数据网络列表包括所述第一数据网络的标识。The determining unit is configured to determine address information of a first application server for the first terminal device according to the DNS request information, where the first application server is an application corresponding to the identifier of the application deployed in the first data network Server, the data network list includes the identification of the first data network.
  31. 根据权利要求30所述的装置,其特征在于,所述装置还包括:The device according to claim 30, wherein the device further comprises:
    发送单元,用于向所述用户面功能网元发送指示信息,所述指示信息用于指示所述用户面功能网元当所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器时,向所述会话管理功能网元发送所述DNS请求信息。The sending unit is configured to send instruction information to the user plane function network element, where the instruction information is used to instruct the user plane function network element when there is an identifier corresponding to the data network deployed with the application in the data network list When the server is applied, the DNS request information is sent to the session management function network element.
  32. 根据权利要求30或31所述的装置,其特征在于,所述发送单元,还用于向所述用户面功能网元发送所述数据网络列表,所述数据网络列表使能确定所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器。The device according to claim 30 or 31, wherein the sending unit is further configured to send the data network list to the user plane function network element, and the data network list enables the determination of the data network There is an application server corresponding to the identifier of the application deployed on the data network in the list.
  33. 根据权利要求30或31所述的装置,所述发送单元,还用于向所述用户面功能网元发送所述数据网络列表中所述数据网络部署的应用服务器的标识,所述数据网络列表中所述数据网络部署的应用服务器的标识使能确定所述数据网络列表中存在数据网络部署有所述应用的标识对应的应用服务器。The device according to claim 30 or 31, the sending unit is further configured to send the identification of the application server deployed by the data network in the data network list to the user plane function network element, and the data network list The identifier of the application server deployed by the data network enables it to be determined that there is an application server corresponding to the identifier of the application deployed on the data network in the data network list.
  34. 根据权利要求30-33任一项所述的装置,其特征在于,所述确定单元根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息包括:The apparatus according to any one of claims 30-33, wherein the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information comprises:
    根据所述应用的标识从所述数据网络列表中选取所述第一数据网络的标识;Selecting the identifier of the first data network from the data network list according to the identifier of the application;
    根据所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息。Determine the address information of the first application server for the first terminal device according to the identifier of the first data network.
  35. 根据权利要求30-33任一项所述的装置,其特征在于,所述确定单元根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息包括:The apparatus according to any one of claims 30-33, wherein the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information comprises:
    根据所述DNS请求信息从DNS服务器获取所述应用的标识对应的应用服务器的地址信息;Obtaining the address information of the application server corresponding to the identification of the application from the DNS server according to the DNS request information;
    从获取的地址信息中为所述第一终端设备确定第一应用服务器的地址信息。Determine the address information of the first application server for the first terminal device from the acquired address information.
  36. 根据权利要求30-33任一项所述的装置,其特征在于,所述确定单元根据所述DNS请求信息为所述第一终端设备确定第一应用服务器的地址信息包括:The apparatus according to any one of claims 30-33, wherein the determining unit determining the address information of the first application server for the first terminal device according to the DNS request information comprises:
    接收来自所述用户面功能网元的所述第一数据网络的标识;Receiving the identifier of the first data network from the user plane function network element;
    根据所述DNS请求信息和所述第一数据网络的标识为所述第一终端设备确定第一应用服务器的地址信息。Determine the address information of the first application server for the first terminal device according to the DNS request information and the identifier of the first data network.
  37. 根据权利要求30-36任一项所述的装置,其特征在于,所述装置还包括:The device according to any one of claims 30-36, wherein the device further comprises:
    建立单元,用于建立分流节点与所述第一数据网络对应的用户面功能网元之间的数据路径。The establishment unit is configured to establish a data path between the shunt node and the user plane function network element corresponding to the first data network.
  38. 根据权利要求30-37任一项所述的装置,其特征在于,所述发送单元,还用于向所述第一终端设备发送所述第一应用服务器的地址信息。The apparatus according to any one of claims 30-37, wherein the sending unit is further configured to send the address information of the first application server to the first terminal device.
  39. 一种通信装置,其特征在于,包括处理器、存储器、输入接口和输出接口,所述 输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,所述处理器调用所述存储器中存储的计算机程序实现如权利要求1-10任一项所述的方法。A communication device, which is characterized by comprising a processor, a memory, an input interface and an output interface, the input interface is used to receive information from other communication devices other than the communication device, and the output interface is used to send When other communication devices other than the communication device output information, the processor invokes the computer program stored in the memory to implement the method according to any one of claims 1-10.
  40. 一种通信装置,其特征在于,包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,所述处理器调用所述存储器中存储的计算机程序实现如权利要求11-19任一项所述的方法。A communication device, characterized by comprising a processor, a memory, an input interface and an output interface, the input interface is used to receive information from other communication devices other than the communication device, and the output interface is used to send When other communication devices other than the communication device output information, the processor invokes the computer program stored in the memory to implement the method according to any one of claims 11-19.
  41. 一种通信系统,其特征在于,包括如权利要求39所述的装置以及如权利要求40所述的装置。A communication system, characterized by comprising the device according to claim 39 and the device according to claim 40.
  42. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序或计算机指令,当所述计算机程序或计算机指令被运行时,实现如权利要求1-19任一项所述的方法。A computer-readable storage medium, characterized in that, a computer program or computer instruction is stored in the computer-readable storage medium, and when the computer program or computer instruction is executed, it realizes any one of claims 1-19 The method described.
PCT/CN2021/098195 2020-06-05 2021-06-03 Communication method and apparatus, and computer-readable storage medium WO2021244622A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010508119.5A CN113766040B (en) 2020-06-05 2020-06-05 Communication method, device and computer readable storage medium
CN202010508119.5 2020-06-05

Publications (1)

Publication Number Publication Date
WO2021244622A1 true WO2021244622A1 (en) 2021-12-09

Family

ID=78785304

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/098195 WO2021244622A1 (en) 2020-06-05 2021-06-03 Communication method and apparatus, and computer-readable storage medium

Country Status (2)

Country Link
CN (1) CN113766040B (en)
WO (1) WO2021244622A1 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729181A (en) * 2017-10-27 2019-05-07 华为技术有限公司 A kind of method for accessing domain name and equipment
US20200120446A1 (en) * 2018-10-16 2020-04-16 Cisco Technology, Inc. Methods and apparatus for selecting network resources for ue sessions based on locations of multi-access edge computing (mec) resources and applications

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110383762B (en) * 2017-04-14 2021-08-03 华为技术有限公司 Method, device and system for realizing policy control
CN112202842A (en) * 2017-08-29 2021-01-08 华为技术有限公司 Data transmission method, equipment and system
CN116017772A (en) * 2018-02-13 2023-04-25 华为技术有限公司 Communication method and communication device
CN110351777B (en) * 2018-04-03 2022-12-06 华为技术有限公司 Method and device for indicating service distribution
CN110519171B (en) * 2018-05-21 2021-02-12 华为技术有限公司 Method and apparatus for communication

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729181A (en) * 2017-10-27 2019-05-07 华为技术有限公司 A kind of method for accessing domain name and equipment
US20200120446A1 (en) * 2018-10-16 2020-04-16 Cisco Technology, Inc. Methods and apparatus for selecting network resources for ue sessions based on locations of multi-access edge computing (mec) resources and applications

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
HUAWEI, HISILICON, CAICT: "Solution for the KI#1: Discovery of EAS based on DNS mechanism", 3GPP SA WG2 MEETING #136AH; S2-2000359, 3RD GENERATION PARTNERSHIP PROJECT (3GPP); F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, 7 January 2020 (2020-01-07), Incheon, South Korea; 20200113 - 20200117, XP051842432 *

Also Published As

Publication number Publication date
CN113766040B (en) 2023-06-06
CN113766040A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
US11917498B2 (en) Communication method and communications apparatus
US11381956B2 (en) Obtaining of UE policy
US10798761B2 (en) Method for establishing protocol data unit session in communication system
EP4167625A1 (en) Communication method and apparatus
WO2021031562A1 (en) Information obtaining method and device
WO2023280121A1 (en) Method and apparatus for obtaining edge service
US20220217611A1 (en) Service Configuration Method, Communication Apparatus, and Communication System
WO2020224622A1 (en) Information configuration method and device
CN111615844B (en) Method and apparatus for selecting a session management entity serving a wireless communication device
CN113573326B (en) Address acquisition method and device
US20230091077A1 (en) Communication method and apparatus, and computer-readable storage medium
WO2019024650A1 (en) Resource configuration method and device
US20230275872A1 (en) Communication method and apparatus, and computer-readable storage medium
WO2021051420A1 (en) Dns cache record determination method and apparatus
US11863519B2 (en) Communication method and apparatus for handling DNS messages
WO2022222817A1 (en) Method and apparatus for selecting edge application server
WO2022022322A1 (en) Method and device for accessing local network
WO2020200057A1 (en) Communication method and apparatus
WO2021244622A1 (en) Communication method and apparatus, and computer-readable storage medium
WO2023143212A1 (en) Communication method and apparatus
US20230319677A1 (en) Shared cu up address management
WO2023197789A1 (en) Communication method and communication device
WO2023185620A1 (en) Communication method and apparatus
GB2621184A (en) Apparatus, method and computer program
WO2022214395A1 (en) Enhancement on upf selection via nrf

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21816630

Country of ref document: EP

Kind code of ref document: A1