WO2022095048A1 - Communication method and apparatus and computer readable storage medium - Google Patents
Communication method and apparatus and computer readable storage medium Download PDFInfo
- Publication number
- WO2022095048A1 WO2022095048A1 PCT/CN2020/127592 CN2020127592W WO2022095048A1 WO 2022095048 A1 WO2022095048 A1 WO 2022095048A1 CN 2020127592 W CN2020127592 W CN 2020127592W WO 2022095048 A1 WO2022095048 A1 WO 2022095048A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- information
- identifier
- dns
- entity
- application
- Prior art date
Links
- 238000004891 communication Methods 0.000 title claims abstract description 182
- 238000000034 method Methods 0.000 title claims abstract description 133
- 230000007246 mechanism Effects 0.000 claims abstract description 51
- 230000006870 function Effects 0.000 claims description 199
- 238000004590 computer program Methods 0.000 claims description 19
- 238000012217 deletion Methods 0.000 claims description 16
- 230000037430 deletion Effects 0.000 claims description 16
- 230000005540 biological transmission Effects 0.000 abstract description 25
- 230000002452 interceptive effect Effects 0.000 abstract 1
- 238000007726 management method Methods 0.000 description 124
- 102100033595 Dynein axonemal intermediate chain 1 Human genes 0.000 description 33
- 101000872267 Homo sapiens Dynein axonemal intermediate chain 1 Proteins 0.000 description 33
- 238000010586 diagram Methods 0.000 description 22
- 102100029688 Dynein axonemal intermediate chain 3 Human genes 0.000 description 19
- 101000865953 Homo sapiens Dynein axonemal intermediate chain 3 Proteins 0.000 description 19
- 238000012545 processing Methods 0.000 description 19
- 230000011664 signaling Effects 0.000 description 17
- 230000003993 interaction Effects 0.000 description 16
- 102100033596 Dynein axonemal intermediate chain 2 Human genes 0.000 description 11
- 101000872272 Homo sapiens Dynein axonemal intermediate chain 2 Proteins 0.000 description 11
- 101150107050 PSA2 gene Proteins 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 230000004048 modification Effects 0.000 description 4
- 229940102240 option 2 Drugs 0.000 description 4
- 239000004820 Pressure-sensitive adhesive Substances 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 238000013523 data management Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 101100016388 Arabidopsis thaliana PAS2 gene Proteins 0.000 description 1
- 101100087393 Caenorhabditis elegans ran-2 gene Proteins 0.000 description 1
- 101000904787 Homo sapiens Serine/threonine-protein kinase ATR Proteins 0.000 description 1
- 101100297150 Komagataella pastoris PEX3 gene Proteins 0.000 description 1
- 101150069124 RAN1 gene Proteins 0.000 description 1
- 101100315760 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) PEX4 gene Proteins 0.000 description 1
- 101100355601 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) RAD53 gene Proteins 0.000 description 1
- 102100023921 Serine/threonine-protein kinase ATR Human genes 0.000 description 1
- 230000003190 augmentative effect Effects 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000013144 data compression Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000001356 surgical procedure Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/45—Network directories; Name-to-address mapping
- H04L61/4505—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
- H04L61/4511—Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/02—Traffic management, e.g. flow control or congestion control
- H04W28/0205—Traffic management, e.g. flow control or congestion control at the air interface
Definitions
- the embodiments of the present application relate to the field of communication technologies, and in particular, to a communication method, an apparatus, and a computer-readable storage medium.
- Edge computing can realize local processing of distributed service traffic by moving user plane function (UPF) network elements and service processing capabilities down to the network edge.
- Multiple edge application servers (EAS) deployed at the network edge may provide services for the same business.
- IP internet protocol
- IP internet protocol
- the terminal device needs to access the service, it is required to access the available EAS closest to the terminal device. Therefore, when the terminal device has service requirements, if the address information of the EAS needs to be determined, it is necessary to obtain the information of the current location of the associated terminal device from the session management function (session management function, SMF) network element. Since different SMF network elements need to serve a large number of terminal devices, and each terminal device will have different service requirements, there is a lot of communication with SMF network elements, and a large amount of information needs to be transmitted, resulting in communication resources. of waste.
- SMF session management function
- the embodiments of the present application disclose a communication method, an apparatus, and a computer-readable storage medium, which are used to save transmission resources.
- a first aspect discloses a communication method, and the communication method can be applied to a first entity, and can also be applied to a module (eg, a chip) in the first entity.
- the first entity is used as an example for description below.
- the communication method may include: receiving first request information from a terminal device, where the first request information includes first application identification information; determining the second information according to the first application identification information and the first information obtained from the session network function network element, The second information is the client subnet option DNS extension mechanism (extended mechanisms for DNS, EDNS) client subnet option (EDNS clientsubnet option, ECS option) or the address information of the local domain name system (domain name system, DNS) resolver; according to the second The information sends DNS request information to a centralized DNS server or a local DNS resolver, where the DNS request information includes first application identification information, and the DNS request information is used to obtain address information of the application server.
- DNS extension mechanism extended mechanisms for DNS, EDNS client subnet option
- ECS option extended mechanisms for DNS, ED
- the first entity may determine the second information according to the first application identification information and the first information obtained from the session network function network element, and determine the second information according to the The second information sends DNS request information to the centralized DNS server or to the local DNS resolver. If the first entity has acquired the first information from the session management function network element before receiving the request information, after receiving the request information, it does not need to acquire the second information from the session management function network element. Therefore, it is not necessary to obtain the second information from the session management function network element every time after receiving the request information including the application identification information from the terminal device, which can reduce the number of communications between the first entity and the session management function network element. Thereby, transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
- the communication method may further include: receiving first information from a session management function network element, where the first information includes first application identification information and second information corresponding to the first application identification information.
- the first information may be actively sent by the session management function network element to the first entity. Therefore, the first entity may not send a request for acquiring the first information to the session management function network element, which can further reduce The number of communications between the first entity and the session network function network element, so that transmission resources can be saved.
- the first information includes at least first application identification information and second information corresponding to the first application identification information, so that the second information can be determined according to the first information and the first application identification information.
- the communication method may further include: receiving first information from a session management function network element, where the first information includes first application identification information, a first identification, and a combination of the first application identification information and the first identification information.
- the corresponding second information is identified, and the first identification is at least one data network access identifier (data network access identifier, DNAI).
- the first information may be actively sent by the session management function network element to the first entity. Therefore, the first entity may not send a request for acquiring the first information to the session management function network element, which can further reduce The number of communications between the first entity and the session network function network element, so that transmission resources can be saved.
- the first information includes at least first application identification information, at least one data network access identification, and second information corresponding to the first application identification information and the data network access identification, so that the first information and the first application identification can be The information determines the second information.
- the communication method may further include: receiving a second identifier from the session management function network element, where the second identifier is a data network access identifier corresponding to the current location of the terminal device; Determining the second information according to the application identification information and the first information obtained from the session network function network element includes: determining the second information according to the first application identification information, the second identification and the first information obtained from the session network function network element.
- the session network function network element may actively send the data network access identifier corresponding to the current location of the terminal device to the first entity, so that the first entity can correspond to the current location of the terminal device according to the first application identifier information and the current location of the terminal device.
- the data network access identifier and the first information determine the second information.
- the communication method may further include: sending first application identification information and/or first indication information to the session management function network element , the first application identification information is used to obtain the first information, and the first indication information is used to instruct the session management function network element to send the first information.
- the first entity may first send information for acquiring the first information to the session management function network element, so that the session network function network element may send the first information to the first entity according to the information. It can be seen that the first information is only sent to the first entity by the session management function network element when the first entity needs it.
- the first information may further include a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier
- the third identifier is a data network deployed in the data network corresponding to the first identifier.
- the application identification information of the application, and the third information is the DNS extension mechanism client subnet option corresponding to the third identification or the address information of the local DNS resolver.
- the first information may include, in addition to the first application identification information, at least one data network access identification, and second information corresponding to the first application identification information and the data network access identification, a third The identifier, the first identifier, and the third information corresponding to the first identifier and the third identifier, so that when the first entity receives other request information including the application identifier information from the terminal device, it can reduce the amount of information obtained from the session management function network element.
- the number of times of the first information reduces the number of times of communication between the first entity and the session network function network element, thereby saving transmission resources.
- the first entity after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
- the first information may further include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the first identifier, and the third identifier is The information is the client subnet option of the DNS extension mechanism corresponding to the third identifier or the address information of the local DNS resolver.
- the first information may include, in addition to the first application identification information and the second information corresponding to the first application identification information, a third identification and third information corresponding to the third identification, so that the first
- the entity subsequently receives other request information including application identification information from the terminal device, the number of times of acquiring the first information from the session management function network element can be reduced, and the number of times of communication between the first entity and the session network function network element can be reduced, Thereby, transmission resources can be saved.
- the first entity after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
- the communication method may further include: receiving second indication information and a fourth identification from the session management function network element, where the fourth identification is data network access of a data network that no longer serves the terminal device identification, the first identification includes a fourth identification; according to the second indication information, the information corresponding to the fourth identification in the first information is deleted.
- the first entity may delete part or all of the first information according to the instruction of the session management function network element, which may reduce the stored information, thereby saving storage space and reducing the time required for the first entity to determine the second information , thereby reducing the processing delay of the DNS request information.
- the first entity receiving the second indication information and the fourth identification from the session management function network element includes: receiving the second indication information, the fourth identification and the fifth identification from the session management function network element,
- the fifth identifier is the application identifier information of the application deployed in the data network corresponding to the fourth identifier;
- the first entity deleting the information corresponding to the fourth identifier in the first information includes: deleting the information corresponding to the fourth identifier and the fifth identifier in the first information Information.
- the first entity sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes: when the second information is the client subnet option of the DNS extension mechanism, sending the DNS to the centralized DNS server request information, the DNS request further includes second information; when the second information is the address information of the local DNS resolver, the DNS request information is sent to the local DNS resolver.
- a second aspect discloses a communication method.
- the communication method can be applied to a session management function network element, and can also be applied to a module (for example, a chip) in a session management function network element.
- the following describes the session management function network element as an example.
- the communication method may include: sending first information to a first entity, where the first information includes first application identification information and second information corresponding to the first application identification information, or the first application identification information, the first identification and the Application identification information and second information corresponding to the first identification, the first identification is at least one data network access identification, the second information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver, the first information is used The second information is determined from the first entity.
- the session management function network element may actively send the first information to the first entity, so that after the first entity receives the request information including the application identification information from the terminal device, it can A piece of information determines the second information, and sends DNS request information to the centralized DNS server or to the local DNS resolver according to the second information. It can be avoided that the first entity obtains the second information from the session management function network element every time after receiving the request information including the application identification information from the terminal device, and the number of communication between the first entity and the session management function network element can be reduced, Thereby, transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information without interacting with the network element of the session network function.
- the communication method may further include: sending a second identifier to the first entity, where the second identifier is a data network access identifier corresponding to the current location of the terminal device; the first information is used to determine the second information It includes: the first information and the second identifier are used to determine the second information.
- the network element of the session management function may actively send the data network access identifier corresponding to the current location of the terminal device to the first entity, so that the first entity can correspond to the current location of the terminal device according to the first application identifier information and the current location of the terminal device.
- the data network access identifier and the first information determine the second information.
- the communication method may further include: receiving first application identification information and/or first indication information from the first entity; sending the first information by the session management function network element to the first entity includes: according to The first application identification information and/or the first indication information send the first information to the first entity.
- the session management function network element may send the first information to the first entity after receiving the information for acquiring the first information from the first entity. It can be seen that the first information may be sent by the session management function network element to the first entity according to the needs of the first entity.
- the first information may further include a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier
- the third identifier is a data network deployed in the data network corresponding to the first identifier.
- the application identification information of the application, and the third information is the DNS extension mechanism client subnet option corresponding to the third identification or the address information of the local DNS resolver.
- the first information may include, in addition to the first application identification information, at least one data network access identification, and second information corresponding to the first application identification information and the data network access identification, a third The identifier, the first identifier, and the third information corresponding to the first identifier and the third identifier, so that when the first entity receives the request information including the identifier information of other applications from the terminal device, it can reduce the amount of information obtained from the session management function network element.
- the number of times of the first information can reduce the number of times of communication between the session management function network element and the first entity, thereby saving transmission resources.
- the first entity after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
- the first information may further include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the first identifier, and the third identifier is The information is the client subnet option of the DNS extension mechanism corresponding to the third identifier or the address information of the local DNS resolver.
- the first information may include, in addition to the first application identification information and the second information corresponding to the first application identification information, a third identification and third information corresponding to the third identification, so that the first
- the entity subsequently receives other request information including application identification information from the terminal device, the number of times of acquiring the first information from the session management function network element can be reduced, and the number of times of communication between the session management function network element and the first entity can be reduced, Thereby, transmission resources can be saved.
- the first entity after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
- the communication method may further include: sending second indication information and a fourth identifier to the first entity, where the fourth identifier is a data network access identifier of a data network that no longer serves the terminal device; An identifier includes a fourth identifier, and the second indication information is used to delete the information corresponding to the fourth identifier in the first information.
- the session management function network element may send instruction information for deleting information to the first entity, so that the first entity may delete part or all of the first information according to the instruction of the session management function network element, which can reduce the number of first information.
- the information stored by the entity can save the storage space of the first entity, and reduce the time required for the first entity to determine the second information, thereby reducing the processing delay of the DNS request information.
- the session management function network element sending the second indication information and the fourth identification to the first entity includes: sending the second indication information, the fourth identification and the fifth identification to the first entity, and the fifth identification is The application identification information of the application deployed in the data network corresponding to the fourth identification; the second indication information used to delete the information corresponding to the fourth identification in the first information includes: the second indication information is used to delete the information corresponding to the fourth identification in the first information Information corresponding to the fifth identifier.
- a third aspect discloses a communication method.
- the communication method can be applied to a first entity or a module (eg, a chip) in the first entity.
- the first entity is used as an example for description below.
- the communication method may include: receiving first request information from a terminal device, where the first request information includes first application identification information; and determining second information according to the first information obtained from the session management function network element, where the second information is the first Identifies the corresponding DNS extension mechanism client subnet option or address information of the local DNS resolver, the first identifier is the data network connection of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier.
- the second identifier is at least one data network access identifier corresponding to the current location of the terminal device; the DNS request information is sent to the centralized DNS server or the local DNS resolver according to the second information, and the DNS request information includes the first application identifier information, The DNS request information is used to obtain the address information of the application server.
- the first entity after receiving the request information including the application identification information from the terminal device, the first entity can determine the second information according to the first information obtained from the session network function network element, and send the centralized DNS to the centralized DNS according to the second information.
- the communication method may further include: receiving first information from the session management function network element, where the first information may include second information.
- the first information may be actively sent by the session management function network element to the first entity. Therefore, the first entity may not send a request for acquiring the first information to the session management function network element, which can further reduce The number of communications between the first entity and the session network function network element, so that transmission resources can be saved. Furthermore, the first information includes at least the second information, so that the second information can be determined from the first information.
- the communication method may further include: receiving first information from the session management function network element, where the first information may include first application identification information and second information corresponding to the first application identification information.
- the first information may be actively sent by the session management function network element to the first entity. Therefore, the first entity may not send a request for acquiring the first information to the session management function network element, which can further reduce The number of communications between the first entity and the session network function network element, so that transmission resources can be saved.
- the first information includes at least first application identification information and second information corresponding to the first application identification information, so that the second information can be determined according to the first information.
- the first information may further include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third identifier is The information is the client subnet option of the DNS extension mechanism corresponding to the third identifier or the address information of the local DNS resolver.
- the first information may include, in addition to the first application identification information and the second information corresponding to the first application identification information, a third identification and third information corresponding to the third identification, so that the first
- the number of times of acquiring the first information from the session management function network element can be reduced, and the number of communications between the first entity and the session network function network element can be reduced. , so that transmission resources can be saved.
- the first entity after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
- the communication method may further include: sending first application identification information and/or first indication information to the session management function network element, where the first application identification information is used to obtain the first information, and the first indication The information is used to instruct the session management function network element to send the first information.
- the first entity may first send information for acquiring the first information to the session management function network element, so that the session network function network element may send the first information to the first entity according to the information. It can be seen that the first information is only sent to the first entity by the session management function network element when the first entity needs it.
- the communication method may further include: receiving second indication information from the session management function network element, where the second indication information is used to instruct deletion of the first information; and deleting the first information according to the second indication information.
- the first entity may delete the first information according to the instruction of the session management function network element, which may reduce the stored information, thereby saving storage space.
- the first entity sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes: when the second information is the client subnet option of the DNS extension mechanism, sending the DNS to the centralized DNS server request information, the DNS request may further include second information; when the second information is the address information of the local DNS resolver, the DNS request information is sent to the local DNS resolver.
- a fourth aspect discloses a communication method, the communication method can be applied to a session management function network element, and can also be applied to a module (for example, a chip) in a session management function network element.
- the session management function network element is used as an example for description below. .
- the communication method may include: sending first information to a first entity, the first information may include second information, or first application identification information and second information corresponding to the first application identification information, the second information being the first identification
- the corresponding DNS extension mechanism client subnet option or address information of the local DNS resolver the first identifier is the data network access of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier identifier
- the second identifier is at least one data network access identifier corresponding to the current location of the terminal device
- the first information is used to determine the second information.
- the session management function network element may actively send the first information to the first entity, so that the first entity may determine the second information according to the first information after receiving the request information including the application identification information from the terminal device , and send DNS request information to the centralized DNS server or to the local DNS resolver according to the second information. It can be avoided that the first entity obtains the second information from the session management function network element every time after receiving the request information including the application identification information from the terminal device, and the number of communication between the first entity and the session management function network element can be reduced, Thereby, transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
- the first information may further include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third identifier is The information is the client subnet option of the DNS extension mechanism corresponding to the third identifier or the address information of the local DNS resolver.
- the first information may include, in addition to the first application identification information and the second information corresponding to the first application identification information, a third identification and third information corresponding to the third identification, so that the first
- the number of times of acquiring the first information from the session management function network element can be reduced, and the number of times of communication between the session management function network element and the first entity can be reduced , so that transmission resources can be saved.
- the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
- the communication method may further include: receiving the first application identification information and/or the first indication information from the first entity; the session management function network element sending the first information to the first entity: according to the first entity An application identification information and/or first indication information sends the first information to the first entity.
- the session management function network element may send the first information to the first entity after receiving the information for acquiring the first information from the first entity. It can be seen that the first information may be sent by the session management function network element to the first entity according to the needs of the first entity.
- the communication method may further include: sending second indication information to the first entity, where the second indication information is used to instruct deletion of the first information.
- the session management function network element may send instruction information for deleting the first information to the first entity, so that the first entity may delete the first information according to the instruction of the session management function network element, which can reduce the number of first entities stored information, thereby saving the storage space of the first entity.
- a fifth aspect discloses a communication apparatus, the apparatus may be a first entity or a module (eg, a chip) in the first entity, the apparatus may include: a receiving unit, configured to receive a first request from a terminal device information, the first request information includes first application identification information; a determining unit is configured to determine second information according to the first application identification information and the first information obtained from the session network function network element, the second information is the address information of the DNS extension mechanism client subnet option or the local DNS resolver; the sending unit is configured to send DNS request information to the centralized DNS server or the local DNS resolver according to the second information, and the DNS request information includes the The first application identification information, where the DNS request information is used to obtain the address information of the application server.
- a receiving unit configured to receive a first request from a terminal device information, the first request information includes first application identification information
- a determining unit is configured to determine second information according to the first application identification information and the first information obtained from the session network function network element, the second information is the address information of the DNS extension
- the receiving unit is further configured to receive the first information from the session management function network element, where the first information includes the first application identification information and the A second information corresponding to the application identification information.
- the receiving unit is further configured to receive the first information from the session management function network element, where the first information includes the first application identification information, the first identification and second information corresponding to the first application identification information and the first identification, where the first identification is at least one data network access identification.
- the receiving unit is further configured to receive a second identifier from the session management function network element, where the second identifier is a data network access identifier corresponding to the current location of the terminal device ; the determining unit is specifically configured to determine the second information according to the first application identification information, the second identification and the first information obtained from the session network function network element.
- the sending unit is further configured to send the first information to the session management function network element before the receiving unit receives the first information from the session management function network element Application identification information and/or first indication information, where the first application identification information is used to obtain the first information, and the first indication information is used to instruct the session management function network element to send the first information.
- the first information further includes a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier, and the third identifier is the first identifier.
- Application identification information that identifies an application deployed in the corresponding data network
- the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- the first information further includes a third identifier and third information corresponding to the third identifier, where the third identifier is an application deployed in the data network corresponding to the first identifier application identification information, the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- the receiving unit is further configured to receive second indication information and a fourth identifier from the session management function network element, where the fourth identifier is no longer serving the terminal device a data network access identifier of a data network, the first identifier includes the fourth identifier; the apparatus further includes: a deletion unit, configured to delete the first identifier in the first information according to the second indication information Four identifies the corresponding information.
- the receiving unit receiving the second indication information and the fourth identifier from the session management function network element includes: receiving the second indication information and the fourth identifier from the session management function network element and a fifth identifier, where the fifth identifier is the application identifier information of the application deployed in the data network corresponding to the fourth identifier; the deletion unit is specifically configured to delete the first information with the fourth identifier information corresponding to the fifth identifier.
- the sending unit sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes: when the second information is the client subnet option of the DNS extension mechanism , send DNS request information to the centralized DNS server, and the DNS request also includes the second information; when the second information is the address information of the local DNS resolver, send the DNS request to the local DNS resolver information.
- a sixth aspect discloses a communication apparatus
- the apparatus may be a session management function network element, or a module (for example, a chip) in the session management function network element
- the apparatus may include: a sending unit for sending a message to a first entity Send first information, where the first information includes first application identification information and second information corresponding to the first application identification information, or the first application identification information, the first identification and the first application identification information
- the second information corresponding to the first identifier, the first identifier is at least one data network access identifier, the second information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver, the The first information is used by the first entity to determine the second information.
- the sending unit is further configured to send a second identifier to the first entity, where the second identifier is a data network access identifier corresponding to the current location of the terminal device; the first The information used to determine the second information includes: the first information and the second identifier are used to determine the second information.
- the apparatus further includes: a receiving unit, configured to receive the first application identification information and/or the first indication information from the first entity; the sending unit sends a message to the first entity.
- Sending the first information includes: sending the first information to the first entity according to the first application identification information and/or the first indication information.
- the first information further includes a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier, and the third identifier is the first identifier.
- Application identification information that identifies an application deployed in the corresponding data network
- the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- the first information further includes a third identifier and third information corresponding to the third identifier, where the third identifier is an application deployed in the data network corresponding to the first identifier application identification information, the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- the sending unit is further configured to send the second indication information and a fourth identifier to the first entity, where the fourth identifier is an identifier of a data network that no longer serves the terminal device.
- the fourth identifier is an identifier of a data network that no longer serves the terminal device.
- a data network access identifier the first identifier includes the fourth identifier, and the second indication information is used to delete the information corresponding to the fourth identifier in the first information.
- the sending unit sending the second indication information and the fourth identifier to the first entity includes: sending the second indication information, the fourth identifier and the fifth identifier to the first entity, where The fifth identifier is the application identifier information of the application deployed in the data network corresponding to the fourth identifier; the second indication information is used to delete the information corresponding to the fourth identifier in the first information, including: the The second indication information is used to delete the information corresponding to the fourth identifier and the fifth identifier in the first information.
- a seventh aspect discloses a communication apparatus, the apparatus may be a first entity or a module (eg, a chip) in the first entity, the apparatus may include: a receiving unit, configured to receive a first request from a terminal device information, the first request information includes first application identification information; the determining unit is configured to determine second information according to the first information obtained from the session management function network element, where the second information is the DNS extension corresponding to the first identification Mechanism client subnet option or address information of the local DNS resolver, the first identifier is the data network access of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier an identifier, where the second identifier is at least one data network access identifier corresponding to the current location of the terminal device; a sending unit, configured to send DNS request information to a centralized DNS server or a local DNS resolver according to the second information,
- the DNS request information includes the first application identification information, and the DNS request information is used to obtain address information of an application server.
- the receiving unit is further configured to receive the first information from the session management function network element, where the first information includes the second information.
- the receiving unit is further configured to receive the first information from the session management function network element, where the first information includes the first application identification information and the first information related to the first information. A second information corresponding to the application identification information.
- the first information further includes a third identifier and third information corresponding to the third identifier, where the third identifier is an application deployed in the data network corresponding to the second identifier application identification information, the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- the sending unit is further configured to send the first application identification information and/or the first indication information to the session management function network element, where the first application identification information is used to obtain The first information, the first indication information is used to instruct the session management function network element to send the first information.
- the receiving unit is further configured to receive second indication information from the session management function network element, where the second indication information is used to instruct to delete the first information; the apparatus It also includes: a deletion unit, configured to delete the first information according to the second indication information.
- the sending unit sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes: when the second information is the client subnet option of the DNS extension mechanism , send DNS request information to the centralized DNS server, and the DNS request also includes the second information; when the second information is the address information of the local DNS resolver, send the DNS request to the local DNS resolver information.
- An eighth aspect discloses a communication apparatus
- the apparatus may be a session management function network element, or a module (for example, a chip) in the session management function network element
- the apparatus may include: a sending unit for sending a message to a first entity Send first information, where the first information includes second information, or first application identification information and second information corresponding to the first application identification information, where the second information is a DNS extension mechanism corresponding to the first identification
- the first identifier is the data network access identifier of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier
- the second identifier is at least one data network access identifier corresponding to the current location of the terminal device, and the first information is used to determine the second information.
- the first information further includes a third identifier and third information corresponding to the third identifier, where the third identifier is an application deployed in the data network corresponding to the second identifier application identification information, the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- the apparatus further includes: a receiving unit, configured to receive the first application identification information and/or the first indication information from the first entity; the sending unit, specifically configured to The first information is sent to the first entity according to the first application identification information and/or the first indication information.
- the sending unit is further configured to send second indication information to the first entity, where the second indication information is used to indicate deletion of the first information.
- a ninth aspect discloses a communication device, which may be a first entity or a module (eg, a chip) within the first entity.
- the communication device may include a processor, a memory, an input interface for receiving information from other communication devices other than the communication device, and an output interface for sending information outside the communication device.
- the other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor causes the processor to execute the communication method disclosed in the first aspect or any embodiment of the first aspect.
- a tenth aspect discloses a communication apparatus, which may be a session network function network element or a module (eg, a chip) within the session network function network element.
- the communication device may include a processor, a memory, an input interface for receiving information from other communication devices other than the communication device, and an output interface for sending information outside the communication device.
- the other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor causes the processor to execute the communication method disclosed in the second aspect or any embodiment of the second aspect.
- An eleventh aspect discloses a communication device, which may be a first entity or a module (eg, a chip) within the first entity.
- the communication device may include a processor, a memory, an input interface for receiving information from other communication devices other than the communication device, and an output interface for sending information outside the communication device.
- the other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor causes the processor to execute the communication method disclosed in the third aspect or any embodiment of the third aspect.
- a twelfth aspect discloses a communication apparatus, which may be a session network function network element or a module (eg, a chip) within the session network function network element.
- the communication device may include a processor, a memory, an input interface for receiving information from other communication devices other than the communication device, and an output interface for sending information outside the communication device.
- the other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor causes the processor to execute the communication method disclosed in the fourth aspect or any embodiment of the fourth aspect.
- a thirteenth aspect discloses a communication system including the communication device of the ninth aspect and the communication device of the tenth aspect.
- a fourteenth aspect discloses a communication system including the communication device of the eleventh aspect and the communication device of the twelfth aspect.
- a fifteenth aspect discloses a computer-readable storage medium, where a computer program or computer instruction is stored thereon, and when the computer program or computer instruction is executed, the communication method disclosed in the above aspects is implemented.
- a sixteenth aspect discloses a chip including a processor for executing a program stored in a memory, and when the program is executed, the chip executes the above method.
- the memory is located off-chip.
- a seventeenth aspect discloses a computer program product comprising computer program code which, when executed, causes the above communication method to be performed.
- FIG. 1 is a schematic diagram of a 5G network architecture disclosed in an embodiment of the present application.
- FIG. 2 is a schematic diagram of a network architecture disclosed in an embodiment of the present application.
- FIG. 3 is a schematic diagram of another network architecture disclosed in an embodiment of the present application.
- FIG. 4 is a schematic diagram of a local service discovery disclosed in an embodiment of the present application.
- FIG. 5 is a schematic flowchart of a communication method disclosed in an embodiment of the present application.
- FIG. 6 is a schematic diagram of a DNAI deployment disclosed in an embodiment of the present application.
- FIG. 7 is a schematic flowchart of another communication method disclosed in an embodiment of the present application.
- FIG. 8 is a schematic flowchart of another communication method disclosed by an embodiment of the present application.
- FIG. 9 is a schematic flowchart of another communication method disclosed by an embodiment of the present application.
- FIG. 10 is a schematic flowchart of another communication method disclosed by an embodiment of the present application.
- FIG. 11 is a schematic flowchart of another communication method disclosed by an embodiment of the present application.
- FIG. 12 is a schematic structural diagram of a communication device disclosed in an embodiment of the present application.
- FIG. 13 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
- FIG. 14 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
- FIG. 15 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
- FIG. 16 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
- FIG. 17 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
- the embodiments of the present application disclose a communication method, an apparatus, and a computer-readable storage medium, which are used to save communication resources. Each of them will be described in detail below.
- FIG. 1 is a schematic diagram of a 5G network architecture disclosed in an embodiment of the present application.
- the 5G network architecture may include user equipment (UE), (radio access network, (R)AN) equipment, and user plane function (UPF) network Element, data network (DN), access and mobility management function (AMF) network element, session management function (session management function, SMF) network element, policy control function (policy control function) , PCF) network element, application function (AF) network element, unified data management (unified data management, UDM) network element, authentication server function (authentication server function, AUSF) network element and network slice selection (network slice selection) selection function, NSSF) network element.
- 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
- AF application function
- UDM authentication server function
- AUSF authentication server function
- network slice selection network slice selection
- the terminal device also known as terminal equipment, mobile station (mobile station, MS), mobile terminal (mobile terminal, MT), etc., is a device that provides voice and/or data connectivity to users.
- the terminal device 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 (cordless phone) or wireless local loop (wireless local loop, WLL) station, machine type communication (machine type communication, MTC) terminals, wearable devices (such as smart watches, smart bracelets, pedometers, etc.), in-vehicle devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed rail, etc.), virtual reality (virtual reality, VR) equipment, augmented reality (AR) equipment, wireless terminals in industrial control (industrial control), smart home equipment (for example, refrigerators, TV
- the terminal device in FIG. 1 is shown as a UE, which is only 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 (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, quality of service (QoS) flow management, data compression, and encryption on the air interface side.
- (R)AN devices may include various forms of base stations, such as: macro base stations, micro base stations (also called small stations), relay stations, access points, and the like.
- the (R)AN device may also include a wireless fidelity (WiFi) access point (AP).
- WiMax worldwide interoperability for microwave access
- the UPF network element is mainly responsible for processing user packets, such as forwarding and charging.
- the user packet can be received from the DN and transmitted to the UE through the RAN device; the user packet can also be received from the UE through the RAN device and forwarded to the DN.
- the transmission resources and scheduling functions provided by the UPF network element to serve the UE are managed and controlled by the SMF network element.
- the DN may be the Internet, an IP multi-media service (IMS) network, a regional network, i.e. a local network, such as a multi access edge computing (MEC) network, etc.
- 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.
- the AMF network element can access the UE's non-access stratum (NAS) signaling (including session management (SM) signaling) through the N1 interface and the N2 interface to access the RAN signaling to complete the UE's non-access stratum (NAS) signaling. Registration process and forwarding of SM signaling and mobility management.
- NAS non-access stratum
- SM session management
- the SMF network element is mainly responsible for session management in the mobile network, such as session establishment, modification, release, update and other procedures. Specific functions include assigning IP addresses to users and selecting UPF network elements that provide packet forwarding functions.
- the PCF network element can be responsible for terminal device policy management, including both mobility-related policies and PDU session-related policies, such as QoS policies, charging policies, and the like.
- the AF network element mainly supports interaction with the 3rd generation partnership project (3GPP) core network to provide services to affect service flow routing, access network capability opening, and policy control.
- 3GPP 3rd generation partnership project
- the UDM network element is responsible for user key management, user identification processing, access authorization for subscription data, UE network function entity management, session and service continuity management, short message push, legal interception, subscription management, short message management, and management and control. Management of user data, such as subscription information.
- the AUSF network element may be responsible for authenticating and authorizing the access of the UE.
- Each of the above network elements in the core network can also be referred to as functional entities, which can be either network elements implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualized functions on an appropriate platform
- the above-mentioned virtualization platform may be a cloud platform.
- system architecture shown in FIG. 1 is not limited to including only the network elements shown in the figure, but may also include other devices not shown in the figure, which are not listed one by one in this application.
- the 5G network architecture shown in FIG. 1 does not constitute a limitation on the 5G network.
- the methods in the embodiments of the present application are also applicable to various future communication systems, such as 6G or other communication networks.
- FIG. 2 is a schematic diagram of a network architecture disclosed in an embodiment of the present application.
- multiple UPF network elements are introduced into the network architecture of the communication system, and these multiple UPF network elements can be respectively uplink classifier (ULCL)/branching point (BP), UPFPDU session Anchor point (PDU session anchor, PSA) 1 and UPF PSA2.
- the ULCL/BP can distribute the uplink data packets from the UE to PSA1 or PSA2 according to the distribution rules, and can also send the downlink data packets from PSA1 or PSA2 to the UE.
- An N6 interface exists between the PSA1 and the DN.
- the DN may be a DN located in a central data center (data central, 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 to the edge hosting environment (EHE) closer to the UE, which can also be called EAS.
- EHE edge hosting environment
- the SMF network element can be inserted into the UPF network element corresponding to the local DN (ie local (local, L)-PSA), so that the UE can access the application server in the local DN nearby.
- the local DN ie local (local, L)-PSA
- PAS2 in Figure 2 is an L-PSA. It should be noted that the number of UPF network elements in FIG. 2 is only an example, and may also include more or less UPFs, which is not limited in this application.
- FIG. 3 is a schematic diagram of another network architecture disclosed in an embodiment of the present application.
- there may be multiple L-PSAs in the network architecture such as L-PSA1 and L-PSA2 in FIG. 3 .
- ULCL/BP can connect multiple L-PSAs.
- ULCL/BP can be co-located with L-PSA1 to connect to MEC1; L-PSA2 can be connected to MEC2, and PSA can be connected to the center DC.
- the ULCL/BP and the L-PSA1 may also be two independent network elements or devices.
- user plane devices are basically deployed in a tree topology.
- the uplink user packets pass through the base station and the backhaul network, and finally access the data network through the centrally deployed anchor gateway.
- These anchor gateways are generally deployed in higher locations in the data network, such as the central computer room in a large area.
- This topology is relatively simple, and it is convenient for operators to perform centralized service management and control and packet processing at the anchor gateway.
- EC can realize local processing of distributed service traffic by moving UPF network elements and service processing capabilities down to the network edge, which can avoid excessive concentration of traffic, thus greatly reducing the specification requirements for core equipment rooms and centralized gateways.
- the distance of the backhaul network is shortened, the delay and jitter of user packets can be reduced, and the deployment of ultra-low delay services is possible.
- the EAS corresponding to some services may be distributed and deployed at multiple network edges. These EASs provide the same services and content, but with different IP addresses.
- the EC scenario requires it to access the available EAS closest to the UE. Therefore, the UE needs to obtain the proper IP address of the EAS.
- FIG. 4 is a schematic diagram of a local service discovery disclosed in an embodiment of the present application.
- the UE may send first request information to the first entity, and the first request information may carry or include application identification information.
- the first entity may send the second request information to the SMF network element, where the second request information includes the application identification information.
- the SMF network element can send information related to the current location of the UE to the first entity, such as the extended mechanisms for DNS (EDNS) client subnet option (EDNS client subnet). option, ECS option), the address information of the local DNS resolver (resolver), etc.
- EDNS extended mechanisms for DNS
- client subnet EDNS client subnet
- option ECS option
- the first entity After the first entity receives the above-mentioned information from the SMF network element, when the above-mentioned information is the ECS option, it can send the first DNS request information to the centralized (central) DNS server, where the first DNS request information includes the above-mentioned application identification information and the above-mentioned information. .
- the centralized DNS server After receiving the first DNS request information from the first prompt, the centralized DNS server can determine the application identification information and the address information of the application server corresponding to the above information, and send the address information of the application server to the UE through the first entity.
- the first entity may send second request information to the local DNS resolver, where the second request information includes the above application identification information.
- the local DNS resolver can send the address information of the application server to the UE when the application identification information and the address information of the application server corresponding to the above information can be determined;
- the application identification information and the address information of the application server corresponding to the above information may send the third request information to the centralized DNS server or the local DNS server.
- the second request information and the third request information may be DNS request information, or may be other request information, which are not limited herein.
- ECS option can be the address information of the local UPF network element, the address information of the MEC platform subnet corresponding to the current location of the terminal device, the address information of the network segment where the terminal device is located, or the location of other associated terminal devices. location information.
- the address information may be an IP address, or may be other information that can uniquely identify an address.
- the first entity needs to perform two signaling interactions with the SMF network element.
- both the first entity and the SMF network element serve a large number of UEs, and each UE will generate a large amount of request information, which leads to too frequent signaling interactions between the first entity and the SMF network element, resulting in a large number of Signaling overhead and resource constraints.
- the delay for the UE to acquire the address information of the application server is increased.
- first entity may be an independent device or network element, or may be a function or model deployed on other devices or network elements.
- FIG. 5 is a schematic flowchart of a communication method disclosed in an embodiment of the present application. As shown in FIG. 5 , the communication method may include the following steps.
- a terminal device sends first request information including first application identification information to a first entity.
- the first entity may receive the first request information including the first application identification information from the terminal device.
- the terminal device may send the first request information to the first entity.
- the terminal device may send the first request information to the first entity through ULCL/BP and PSA, or may send the first request information to the first entity through other devices or network elements, which is not limited herein.
- the first request information may be DNS request information, may also be a DNS query (query) message, or may be other request information, which is not limited herein.
- the application identification information is the information used to identify the application, which can be a fully qualified domain name (FQDN), an application identity (AppID), a business identifier, or other applications that can uniquely identify Information.
- the first request information may not include the identifier of the terminal device, but the SMF network element may determine which terminal device sent the first request information through the PDU session that transmits the first request information.
- the first request information may further include the identification of the terminal device.
- the first entity may determine, according to the identifier of the terminal device, which terminal device sends the first request information.
- the first entity determines the second information according to the first application identification information and the first information obtained from the SMF network element.
- the first entity may determine the second information according to the first application identification information and the first information obtained from the SMF network element.
- the first entity may first search for or match the first information including the first application identification information from the first information obtained by the SMF network element, and then obtain the first information corresponding to the first application identification information from the searched or matched first information.
- the second information may be information associated with the current location of the terminal device, that is, information associated with the current location of the terminal device.
- the second information may be the ECS option, the address information of the local DNS resolver, or the information of the location of other associated terminal devices.
- the first information may include first application identification information and second information corresponding to the first application identification information.
- the first information may also include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the first identifier, and the third information corresponds to the third identifier
- the ECS option or address information of the local DNS resolver may include first application identification information and second information corresponding to the first application identification information.
- the first information can be understood as including two parts: application identification information and fourth information.
- the fourth information is information about the current location of the associated terminal device, including the second information, and may also include the third information. There may be a one-to-one correspondence between the application identification information included in the first information and the fourth information, that is, one application identification information corresponds to only one fourth information, and correspondingly, one fourth information corresponds to only one application identification information.
- the application identification information included in the first information and the fourth information may also be in a many-to-one relationship, that is, one application identification information may correspond to one fourth information, and multiple application identification information may also correspond to one fourth information.
- the relationship between the application identification information and the fourth information can be expressed as the corresponding relationship between the application identification information and the fourth information, and can be stored in a data table, key-value pair, context or other forms, and the storage form is not limited.
- the corresponding relationship between the application identification information and the fourth information may be as shown in Table 1 or Table 2:
- K and M are integers greater than or equal to 1.
- the application 1-application K in the above table is the application identifier, and the information 1-information K is the information of the current location of the associated terminal device corresponding to the application identifier.
- the first information may further include a data network access identifier (data network access identifier, DNAI) corresponding to the first application identification information and the second information.
- the first information may further include DNAI corresponding to the third identification and the third information.
- DNAI is the identifier of a user plane access to one or more DN(s) where applications are deployed) connected to the data network deployed by the application.
- DNAI can be an identifier of an access point for edge computing, or an identifier of access (or location) of a server deployed at the edge of the network.
- the first information may include first application identification information, a first identification, and second information corresponding to the first application identification information and the first identification, and the first identification is at least one DNAI.
- the first information may further include a third identification, a first identification, and third information corresponding to the first identification and the third identification.
- a DNAI and an application identification information included in the first information can uniquely determine a fourth information, and the relationship between the DNAI and the application identification information and the fourth information can be expressed as the correspondence between the DNAI and the application identification information and the fourth information. Relationships can be stored in data tables, key-value pairs, contexts, or other forms, and the storage form is not limited. For example, the corresponding relationship between the DNAI and the application identification information and the fourth information may be as shown in Table 3:
- DNAI application identification information Fourth message DNAI 1 Application 1 Information 1 DNAI 2 Application 2 Information 2 ... ... ... ... DNAK Application K Information K
- the information 1-information K in Table 3 corresponds to K different information, the same application can exist in the application corresponding to the application 1-application K, and the same application can also exist in the DNAI 1-DNAIK, but the DNAI+ application identification information cannot exist the same of.
- the first information may include not only the information currently required to determine the second information, but also the information that is not currently required to determine the second information, and these information may be included after the first entity receives other request information including the application identification information. will be used, so that the interaction between the first entity and the SMF network element can be reduced, so that transmission resources can be saved.
- the SMF network element may send the first information to the first entity.
- the SMF network element may actively send the first information to the first entity. For example, when the SMF network element detects that the terminal device establishes a PDU session, or the DNAI corresponding to the current location of the terminal device changes, the SMF network element may send the first information to the first entity.
- the SMF network element may also send the first information to the first entity after receiving the information for acquiring the first information from the first entity.
- the first entity may receive the first information from the SMF network element.
- the first information may be received by the first entity before or at the same time as the first request information, or may be received by the first entity after receiving the first request information.
- the first information may be actively sent by the SMF to the first entity, or may be received by the first entity before other requests including application identification information
- the information is obtained from the SMF network element later. Therefore, after the first entity receives the first request information, it does not need to obtain the first information from the SMF network element, which can reduce the interaction between the first entity and the SMF network element, thereby saving transfer resources.
- the first entity After the first entity receives the first request information from the terminal device, it can first determine whether there is first information that can determine the second information, and when it is determined that there is first information that can determine the second information, it can determine whether there is first information based on the first information. and the first application identification information to determine the second information. When it is determined that there is no first information capable of determining the second information, the first application identification information and/or the first indication information may be sent to the SMF network element first. After receiving the first application identification information and/or the first indication information from the first entity, the SMF network element may send the first information to the first entity according to the first application identification information and/or the first indication information. In addition, the SMF network element may also send the second information to the first entity together with the first information. When the SMF network element does not send the second information to the first entity, after receiving the first information from the SMF network element, the first entity may determine the second information according to the first application identification information and the first information.
- the SMF network element may determine the first information according to the current location of the terminal device, that is, the first information may be determined according to the DNAI corresponding to the current location of the terminal device, that is The first information may be determined according to the DNAI where the corresponding area in the DNAI includes the current location of the terminal device.
- the SMF network element may determine the first information according to the first application identification information, or may determine the first information according to the first application identification information and the current location of the terminal device. information.
- the SMF network element may determine the first information according to the first application identification information and the current location of the terminal device.
- the SMF network element may also consider the service subscription information of the terminal device, and may determine the first information according to the edge service subscribed by the terminal device in the service subscription information, that is, according to the application identification information and the first application identification in the service subscription information of the terminal device. The information determines the first information.
- the first information may include the first application identification information.
- the first information may also include other application identification information except the first application identification information, the DNAI of the data network in which the application corresponding to the application identification information is deployed, and the ECS option or the corresponding application identification information and DNAI. Local DNS resolver address.
- These application identification information can include one or more of the following:
- the first data network is a data network corresponding to the current location of the terminal device where the application corresponding to the first application identification information is deployed;
- the third data network has application identification information of some or all applications deployed but not deployed in the first data network and the second data network, and the third data network is a set of data networks whose service scope includes the first data network.
- FIG. 6 is a schematic diagram of a DNAI deployment disclosed in an embodiment of the present application.
- the service range of DNAI3 is larger than that of DNAI1 and DNAI2, the service range of DNAI3 includes the service range of DNAI1 and the service range of DNAI2, but there is no overlap between the service range of DNAI1 and the service range of DNAI2 .
- the following description is given by taking the application identification information as FQDN and the information of the current location of the associated terminal device as ECS option as an example.
- DNAI1 is deployed with service S1 and service S3.
- Service S1 corresponds to FQDN1 and ECS option1
- service 3 corresponds to FQDN3 and ECS option3.
- DNAI2 is deployed with service S2, which corresponds to FQDN2 and ECS option2.
- DNAI3 is deployed with service S3, service S4 and service S5.
- Service S3 corresponds to FQDN3 and ECS option3'
- service S4 corresponds to FQDN4 and ECS option4
- service S5 corresponds to FQDN5 and ECS option5.
- the SMF network element can send FQDN4 and the ECS option4 (or ECS option4 corresponding to FQDN4) to the first entity.
- FQDN4, DNAI3, and ECS option4 corresponding to FQDN4 and DNAI3).
- the SMF network element may also send one or more of the following information to the first entity.
- FQDN3 and ECS option3' corresponding to FQDN3 or FQDN3, DNAI3 and ECS option3' corresponding to FQDN3 and DNAI3
- FQDN5 and ECS option5 corresponding to FQDN5 or FQDN5, DNAI3 and ECS option5 corresponding to FQDN5 and DNAI3
- FQDN1 and ECS option1 corresponding to FQDN1 or FQDN1, DNAI1 and ECS option1 corresponding to FQDN1 and DNAI1
- FQDN3 and ECS option3 corresponding to FQDN3 or FQDN3, DNAI1 and ECS option3 corresponding to FQDN3 and DNAI1;
- the service range of the data network may be a set of locations of all terminal devices that can access the data network.
- the SMF network element can send FQDN1 and the ECS option1 (or ECS option1 corresponding to FQDN1) to the first entity.
- the SMF network element may also send one or more of the following information to the first entity.
- FQDN3 and ECS option3 corresponding to FQDN3 (or FQDN3, DNAI1 and ECS option3 corresponding to FQDN3 and DNAI1);
- FQDN4 and ECS option4 corresponding to FQDN4 (or FQDN4, DNAI3 and ECS option4 corresponding to FQDN4 and DNAI3), FQDN5 and ECS option5 corresponding to FQDN5 (or FQDN5, DNAI3 and ECS option5 corresponding to FQDN5 and DNAI3).
- the SMF network element can configure or obtain the area corresponding to the DNAI, that is, the service scope of the DNAI.
- the service scope of DNAI can be a specific set of locations. For example, a set of one or more of Tracking Area (TA)1, TA2, . . , RAN_1, RAN_2, or Cell_1, Cell_2, etc.
- the service scope of DNAI can also be a collection of geographic location information, such as latitude and longitude or administrative area.
- the service scope of the DNAI may also be a set of service scopes of one or more UPF network elements corresponding to the DNAI. Wherein, the one or more UPF network elements can serve the data network.
- the service scope of the UPF network element may be a specific location set or a set of geographic location information.
- the service scope of DNAI can also be identified by the service scope of an application server (AS) and/or an enabler server (ES) deployed in the data network, where the representation of the service scope of AS or ES It is the same as the above, and will not be repeated here.
- the service scope of the DNAI may also be a set of locations of terminal devices accessing the data network corresponding to the DNAI.
- the SMF network element may send the second identifier to the first entity.
- the second identifier is the DNAI corresponding to the current location of the terminal device.
- the first entity may determine the second information according to the first application identification information, the second identification and the first information.
- the first entity may first search for or match the first information including the first application identification information from the first information obtained by the SMF network element, and then obtain the first information related to the first application identification information and the first application identification information from the searched or matched first information.
- the second information corresponds to the second identifier.
- the interaction between the first entity and the SMF network element may determine which terminal device the transmitted information is through the PDU session.
- the information for the terminal device transmitted between the first entity and the SMF network element may include an identifier of the terminal device, so that the information of which terminal device is transmitted can be determined according to the identifier of the terminal device.
- the first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information.
- the centralized DNS server or the local DNS resolver receives the DNS request information from the first entity.
- the DNS request information is used to obtain the address information of the application server, that is, the address information of the application server in which the application corresponding to the first application identification information is deployed.
- the first entity After the first entity determines the second information according to the first application identification information and the first information obtained from the SMF network element, when the second information is the ECS option, the first entity can send the DNS request information to the centralized DNS server, and the DNS request also Second information may be included.
- the first request information is DNS request information
- the first entity may send DNS request information to the local DNS resolver.
- the first request information is DNS request information
- the DNS request information sent by the first entity to the local DNS resolver is the same as the first request information.
- the detailed description of the centralized DNS server and the local DNS resolver may refer to the relevant description corresponding to FIG. 4 .
- the SMF network element may send the second indication information and the fourth identifier to the first entity.
- the first entity may receive the second indication information and the fourth identifier from the SMF network element, and then may delete the information corresponding to the fourth identifier in the first information according to the second indication information.
- the fourth identifier is the DNAI of the data network that no longer serves the terminal device, and the first identifier may include the fourth identifier. For example, when the fourth identifier is DNAI 1 in Table 3, the first entity can delete DNAI 1 in the first information, the application identifier information corresponding to DNAI 1 and the fourth information.
- the SMF network element may send the second indication information, the fourth identifier and the fifth identifier to the first entity, where the fifth identifier is application identifier information of an application deployed in the data network corresponding to the fourth identifier.
- the first entity may delete the information corresponding to the fourth identifier and the fifth identifier in the first information according to the second indication information. For example, when the fourth identifier is DNAI 1 in Table 3 and the fifth identifier is Application 1 in Table 3, the first entity deletes information 1 corresponding to DNAI 1 and Application 1.
- FIG. 7 is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 7 , the communication method may include the following steps.
- the terminal device establishes a PDU session.
- the SMF network element sends the second identifier to the first entity.
- the first entity receives the second identification from the SMF network element.
- the SMF network element may send the second identifier to the first entity.
- the DNAI corresponding to the terminal device changes, which may be all or part of the DNAI corresponding to the terminal device.
- the AF network element can send a notification to the SMF network element, and after receiving the notification from the AF network element, the SMF network element can perceive the current MEC deployment situation according to the notification.
- the SMF network element can perceive the current location of the terminal device through the AMF network element and/or the location management function (LMF) network element, and then can determine the DNAI corresponding to the current location of the terminal device, that is, the corresponding The area includes the DNAI of the end device's current location.
- the location of the terminal equipment can be identified by TA, cell ID, and the like.
- the SMF network element may send the second identifier to the first entity by means of signaling, message, or the like.
- the SMF network element may send the second identifier to the first entity through N4 session modification (Session Modification) signaling.
- the SMF network element may send the second identifier to the first entity through Nsmf_EventExposure_Notify signaling.
- the terminal device sends first request information including first application identification information to the first entity.
- the first entity receives the first request information from the terminal device.
- the first entity determines the second information according to the first application identification information, the second identification and the first information.
- the first entity may determine the second information according to the first application identification information, the second identification and the first information.
- steps 705 to 706 may be performed first.
- the second information can be directly received through step 706, the first entity can no longer perform step 704; when the second information cannot be received through step 706, the first entity needs to perform step 704 again, and then can perform step 707 .
- the first entity sends the first application identification information and/or the first indication information to the SMF network element.
- the SMF network element receives the first application identification information and/or the first indication information from the first entity.
- the first application identification information and the first indication information may be sent through the same signaling, message or the like.
- the first entity may send the first application identification information and the first indication information to the SMF network element through an N4 report message (report message).
- the first entity may send the first application identification information and the first indication information to the SMF network element through Nsmf_EventExposure_AppRelocationInfo, or may first send an AF request (AFrequest) to the PCF network element, and then The PCF network element can send the Npcf_SMPolicyControl_Updata Request to the SMF network element.
- the AF request and the Npcf_SMPolicyControl_Updata Request include first application identification information and first indication information.
- the first entity sends information to the SMF network element, it may directly communicate with the SMF network element, or may communicate with the SMF network element through other network elements or devices such as the NEF network element and the PCF network element.
- the above is only an exemplary description of the first entity sending the first application identification information and the first indication information to the SMF network element by means of signaling, messages, etc., and does not constitute a limitation.
- the SMF network element sends the first information to the first entity according to the first application identification information and/or the first indication information.
- the first entity receives the first information from the SMF network element.
- the SMF network element may send the first information to the first entity by means of signaling, messages and the like.
- the SMF network element can send the first information to the first entity through the N4 report Ack message;
- the SMF network element can send the first information to the first entity through Nsmf_EventExposure_Notify An entity sends the first message.
- Nsmf_EventExposure_Notify An entity sends the first message is only an exemplary description of the SMF network element sending the first information to the first entity by means of signaling, messages, etc., and does not constitute a limitation.
- the first information sent in step 705 is applicable to all terminal devices that can be served by the first entity.
- the first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information.
- the centralized DNS server or the local DNS resolver receives the DNS request information from the first entity.
- the remaining EAS discovery process may continue to be performed.
- the first entity may delete some or all of the information in the first information according to certain conditions or rules at any time or triggered by any specific conditions. For example, it may be deleted periodically, or the remaining storage space may be less than the first threshold, or the storage time of the information may be greater than or equal to the second threshold.
- FIG. 8 is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 8 , the communication method may include the following steps.
- the terminal device establishes a PDU session.
- the terminal device sends first request information including first application identification information to the first entity.
- the first entity receives the first request information from the terminal device.
- the first entity determines the second information according to the first application identification information and the first information.
- the first entity may determine the second information according to the first application identification information and the first information.
- steps 804 to 805 may be performed first.
- the second information can be directly received through step 805, the first entity can no longer perform step 803; when the second information cannot be received through step 805, the first entity needs to perform step 803 again.
- the first entity sends the first application identification information and/or the first indication information to the SMF network element.
- the SMF network element receives the first application identification information and/or the first indication information from the first entity.
- the SMF network element sends the first information to the first entity according to the first application identification information and/or the first indication information.
- the first entity receives the first information from the SMF network element.
- the first information sent in step 805 can only be used as the basis for determining the second information when receiving the request information including the application identification information from the above-mentioned terminal equipment, and when receiving the request information including the application identification information from other terminal equipment. , it cannot be used as a basis for determining the second information, that is, the first information can only serve the corresponding terminal equipment, but cannot serve other terminal equipment. Therefore, after receiving the first information, the first entity can establish a relationship between the first information and the above-mentioned terminal device.
- the first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information.
- the centralized DNS server or the local DNS resolver receives the DNS request information from the first entity.
- the SMF network element sends the second indication information and the fourth identifier to the first entity.
- the first entity receives the second indication information and the fourth identification from the SMF network element.
- the SMF network element may send the second indication information and the fourth identification to the first entity, or may send the second indication information, the fourth identification and the fourth identification to the first entity. Five logos.
- the SMF network element can send the second indication information, the fourth identification and the fifth identification to the first entity; if all the services change, The SMF network element may send the second indication information and the fourth identifier to the first entity.
- the application identification information corresponding to different services is different.
- the first entity deletes the information corresponding to the fourth identifier in the first information according to the second indication information.
- the first entity may delete information corresponding to the fourth identifier in the first information according to the second indication information, and may also delete information corresponding to the fourth identifier and the fifth identifier in the first information according to the second indication information.
- the first entity can delete DNAI1, FQDN corresponding to DNAI1, and ECS option corresponding to DNAI1 in the first information corresponding to the terminal device, such as FQDN1 and ECS option1 corresponding to FQDN1 (or FQDN1, DNAI1 and FQDN1 and DNAI1 corresponding to FQDN1 and DNAI1).
- FQDN1 and ECS option1 corresponding to FQDN1 (or FQDN1, DNAI1 and FQDN1 and DNAI1 corresponding to FQDN1 and DNAI1).
- ECS option1 corresponding to FQDN3 (or FQDN3, DNAI1 and ECS option3 corresponding to FQDN3 and DNAI1).
- FIG. 9 is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 9 , the communication method may include the following steps.
- a terminal device sends first request information including first application identification information to a first entity.
- the first entity receives the first request information including the first application identification information from the terminal device.
- step 901 is the same as step 501 , and the detailed description can refer to step 501 .
- the first entity determines the second information according to the first information obtained from the SMF network element.
- the first entity may determine the second information according to the first information obtained from the SMF network element.
- the second information is the address information of the ECS option or the local DNS resolver corresponding to the first identifier
- the first identifier is the smallest service range in the data network corresponding to the second identifier, the closest distance to the terminal device, or can reflect the terminal device.
- the DNAI of the data network at the most precise location of the device, and the second identifier is at least one DNAI corresponding to the current location of the terminal device.
- the first identification may be the DNAI of the data network with the smallest service range in the data network corresponding to the second identification, or may be the DNAI of the data network with the closest distance to the above-mentioned terminal equipment, or may be the most accurate reflection of the above-mentioned terminal equipment.
- the DNAI of the location data network may be the DNAI of the data network with the smallest service range in the data network corresponding to the second identification, or may be the DNAI of the data network with the closest distance to the above-mentioned terminal equipment, or may be the most accurate reflection of the above-mentioned terminal equipment.
- the first information may include the second information. It can be seen that the first information may only include the ECS option or the address information of the local domain name system DNS resolver.
- the first information may include first application identification information and second information corresponding to the first application identification information.
- the first information may also include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third information is the ECS corresponding to the third identifier. option or the address information of the local DNS resolver.
- the first information only includes the ECS option or the address information of the local domain name system DNS resolver.
- the first information may include application identification information and address information of an ECS option or a local DNS resolver corresponding to the application identification information.
- the first information can only be used by the above-mentioned terminal device as a basis for determining the second information, and cannot be used by other terminal devices.
- step 902 For other detailed descriptions of step 902, reference may be made to the relevant descriptions in step 502.
- the first entity sends DNS request information to the centralized DNS server or the local DNS resolver.
- step 903 is the same as step 503 , and the detailed description can refer to step 503 .
- the SMF network element can send the second indication information to the first entity when sensing that the current location of the terminal device corresponds to the first identifier has changed.
- the first entity may receive the second indication information from the SMF network element, and then may delete the first information according to the second indication information, that is, delete the first information corresponding to the terminal device.
- FIG. 10 is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 10, the communication method may include the following steps.
- a terminal device establishes a PDU session.
- the SMF network element sends the first information to the first entity.
- the first information may include the second information.
- the first information may include first application identification information and second information corresponding to the first application identification information.
- the first information may also include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third information is the ECS corresponding to the third identifier. option or the address information of the local DNS resolver.
- the relevant description in step 902 For a detailed description of the first information, reference may be made to the relevant description in step 902 .
- step 1002 is similar to step 702 , and the detailed description can refer to step 702 .
- step 702 the detected DNAI corresponding to the terminal device changes and is sent, while in step 1002, the first identifier corresponding to the current location of the detected terminal device is changed and sent.
- the SMF network element may send the ECS option2 (or the FQDN2 and the ECS option2 corresponding to the FQDN2) to the first entity.
- the SMF network element may also send the FQDN3 and the ECS option3' corresponding to the FQDN3, the FQDN4 and the ECS option4 corresponding to the FQDN4, and the FQDN3 and the FQDN3 to the first entity.
- the SMF network element may also send the FQDN3 and the ECS option3' corresponding to the FQDN3, the FQDN4 and the ECS option4 corresponding to the FQDN4, and the FQDN3 and the FQDN3 to the first entity.
- ECS option5 for FQDN3.
- the SMF network element perceives that the first identifier corresponding to the current location of the terminal device is changed from DNAI1 to DNAI2, due to the second information existing in the first entity.
- the first information is the same as the first information to be sent. Therefore, the SMF network element may not repeatedly send the first information to the first entity, which can reduce the transmission of unnecessary information, thereby saving transmission resources.
- the service subscription information of the terminal device can also be considered, and the first information can be determined according to the edge service subscribed by the terminal device in the service subscription information, that is, the first information can be determined according to the application identification information in the service subscription information of the terminal device.
- the first information can only be used by the above-mentioned terminal device as a basis for determining the second information, and cannot be used by other terminal devices.
- the terminal device sends first request information including first application identification information to the first entity.
- the first entity receives the first request information from the terminal device.
- the first entity determines the second information according to the first application identification information and the first information.
- the first entity may determine the second information according to the most recent first information and the first application identification information in the first information received from the terminal device of the SMF network element.
- the second information is the address information of the ECS option or the local DNS resolver corresponding to the first identifier.
- the first identifier is the data network corresponding to the second identifier with the smallest service range and the closest distance to the terminal device, which can reflect the above.
- the DNAI of the data network at the most precise location of the terminal device, and the second identifier is at least one DNAI corresponding to the current location of the terminal device.
- the first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information.
- the centralized DNS server or the local DNS resolver receives the DNS request information from the first entity.
- step 1005 is similar to step 707 , and the detailed description can refer to step 707 .
- steps 1001 to 1005 For detailed descriptions of steps 1001 to 1005, reference may be made to the above related descriptions, and details are not repeated here.
- FIG. 11 is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 11 , the communication method may include the following steps.
- the terminal device establishes a PDU session.
- the terminal device sends first request information including first application identification information to the first entity.
- the first entity receives the first request information from the terminal device.
- the first entity determines the second information according to the first application identification information and the first information.
- the second information is the address information of the ECS option or the local DNS resolver corresponding to the first identification
- the first identification is the data network corresponding to the second identification with the smallest service range or the closest distance to the above-mentioned terminal device, or capable of The DNAI of the data network that reflects the most accurate location of the terminal device
- the second identifier is at least one DNAI corresponding to the current location of the terminal device.
- the first entity may determine the second information according to the first application identification information and the first information.
- steps 1104 to 1105 may be performed first.
- the second information can be directly received through step 1105, the first entity can no longer perform step 1103; when the second information cannot be received through step 1105, the first entity needs to perform step 1103 again.
- the first entity sends the first application identification information and/or the first indication information to the SMF network element.
- the SMF network element receives the first application identification information and/or the first indication information from the first entity.
- the SMF network element sends the first information to the first entity according to the first application identification information and/or the first indication information.
- the first entity receives the first information from the SMF network element.
- the first information sent in step 1105 is only useful for the above-mentioned terminal devices, and is not useful for other terminal devices. Therefore, after receiving the first information, the first entity can establish a relationship between the first information and the above-mentioned terminal device.
- the first information may include the second information.
- the first information may include first application identification information and second information corresponding to the first application identification information.
- the first information may also include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third information is the ECS corresponding to the third identifier. option or the address information of the local DNS resolver.
- the first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information.
- the centralized DNS server or the local DNS resolver receives the DNS request information from the first entity.
- the SMF network element sends the second indication information to the first entity.
- the first entity receives the second indication information from the SMF network element.
- the SMF network element may send the second indication information to the first entity.
- the first entity deletes the first information according to the second indication information.
- the first entity may delete the first information according to the second indication information, that is, delete the first information corresponding to the terminal device.
- the functions performed by the terminal device in the above communication method may also be performed by a module (eg, a chip) in the terminal device, and the function performed by the first entity may also be performed by a module (eg, a chip) in the first entity.
- the functions performed by the SMF network element may also be performed by a module (eg, a chip) in the SMF network element, and the function performed by the DNS server may also be performed by a module (eg, a chip) in the DNS server.
- Performed by The functions performed by the DNS resolver may also be performed by a module (eg, a chip) in the DNS resolver.
- SMF network elements in the above communication method may be replaced by other mobile network control plane network elements or devices.
- FIG. 12 is a schematic structural diagram of a communication device disclosed in an embodiment of the present application.
- the communication device may include:
- a receiving unit 1201 configured to receive first request information from a terminal device, where the first request information includes first application identification information;
- a determining unit 1202 configured to determine second information according to the first application identification information and the first information obtained from the session network function network element, where the second information is the address information of the ECS option or the local DNS resolver;
- the sending unit 1203 is configured to send DNS request information to a centralized DNS server or a local DNS resolver according to the second information, where the DNS request information includes first application identification information, and the DNS request information is used to obtain address information of the application server.
- the receiving unit 1201 is further configured to receive first information from the session management function network element, where the first information includes first application identification information and second information corresponding to the first application identification information.
- the receiving unit 1201 is further configured to receive first information from the session management function network element, where the first information includes first application identification information, a first identification, and the first information corresponding to the first application identification information and the first identification
- the second information of the first identifier is at least one data network access identifier.
- the receiving unit 1201 is further configured to receive a second identifier from the session management function network element, where the second identifier is a data network access identifier corresponding to the current location of the terminal device;
- the determining unit 1202 is specifically configured to determine the second information according to the first application identification information, the second identification and the first information obtained from the session network function network element.
- the sending unit 1203 is further configured to send the first application identification information and/or the first indication information to the session management function network element before the receiving unit receives the first information from the session management function network element, the first The application identification information is used to acquire the first information, and the first indication information is used to instruct the session management function network element to send the first information.
- the first information further includes a third identifier, the first identifier, and third information corresponding to the first identifier and the third identifier
- the third identifier is an application of an application deployed in the data network corresponding to the first identifier Identification information
- the third information is the ECS option corresponding to the third identification or the address information of the local DNS resolver.
- the first information further includes a third identifier and third information corresponding to the third identifier, the third identifier is application identifier information of an application deployed in the data network corresponding to the first identifier, and the third information is the first identifier. 3. Identifies the address information of the corresponding ECS option or local DNS resolver.
- the receiving unit 1201 is further configured to receive second indication information and a fourth identifier from the session management function network element, where the fourth identifier is a data network access identifier of a data network that no longer serves the terminal device,
- the first identification includes a fourth identification
- the communication device may also include:
- the deletion unit 1204 is configured to delete the information corresponding to the fourth identifier in the first information according to the second indication information.
- the receiving unit 1201 receiving the second indication information and the fourth identifier from the session management function network element includes:
- the fifth identifier is the application identifier information of the application deployed in the data network corresponding to the fourth identifier
- the deletion unit 1204 is specifically configured to delete the information corresponding to the fourth identifier and the fifth identifier in the first information.
- the sending unit 1203 sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes:
- the second information is ECS option
- the DNS request information is sent to the local DNS resolver.
- receiving unit 1201, determining unit 1202, sending unit 1203, and deleting unit 1204 can be obtained directly by referring to the relevant descriptions of the first entity in the method embodiments shown in FIG. 5, FIG. 7 and FIG. 8, here Without further ado.
- FIG. 13 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
- the communication device may include:
- the sending unit 1301 is configured to send first information to a first entity, where the first information includes first application identification information and second information corresponding to the first application identification information, or the first application identification information, the first identification and the first Second information corresponding to the application identification information and the first identification, the first identification is at least one data network access identification, the second information is the address information of the ECS option or the local DNS resolver, and the first information is used for the first entity to determine second information.
- the sending unit 1301 is further configured to send a second identifier to the first entity, where the second identifier is a data network access identifier corresponding to the current location of the terminal device;
- the first information is used to determine that the second information includes:
- the first information and the second identification are used to determine the second information.
- the communication device may further include:
- a receiving unit 1302 configured to receive first application identification information and/or first indication information from a first entity
- the sending unit 1301 sending the first information to the first entity includes:
- the first information is sent to the first entity according to the first application identification information and/or the first indication information.
- the first information further includes a third identifier, the first identifier, and third information corresponding to the first identifier and the third identifier
- the third identifier is an application of an application deployed in the data network corresponding to the first identifier Identification information
- the third information is the ECS option corresponding to the third identification or the address information of the local DNS resolver.
- the first information further includes a third identifier and third information corresponding to the third identifier, the third identifier is application identifier information of an application deployed in the data network corresponding to the first identifier, and the third information is the first identifier. 3. Identify the corresponding client subnet option or address information of the local DNS resolver.
- the sending unit 1301 is further configured to send second indication information and a fourth identifier to the first entity, where the fourth identifier is a data network access identifier of a data network that no longer serves the terminal device, and the first identifier A fourth identifier is included, and the second indication information is used to delete the information corresponding to the fourth identifier in the first information.
- the sending unit 1301 sending the second indication information and the fourth identifier to the first entity includes:
- the fifth identifier is the application identifier information of the application deployed in the data network corresponding to the fourth identifier
- the second indication information is used to delete the information corresponding to the fourth identifier in the first information, including:
- the second indication information is used to delete the information corresponding to the fourth identifier and the fifth identifier in the first information.
- FIG. 14 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in Figure 14, the communication device may include:
- a receiving unit 1401 configured to receive first request information from a terminal device, where the first request information includes first application identification information;
- Determining unit 1402 configured to determine second information according to the first information obtained from the session management function network element, where the second information is the ECS option corresponding to the first identification or the address information of the local DNS resolver, and the first identification is the second identification
- the sending unit 1403 is configured to send DNS request information to the centralized DNS server or the local DNS resolver according to the second information, where the DNS request information includes the first application identification information, and the DNS request information is used to obtain the address information of the application server.
- the receiving unit 1401 is further configured to receive first information from the session management function network element, where the first information includes the second information.
- the receiving unit 1401 is further configured to receive first information from the session management function network element, where the first information includes first application identification information and second information corresponding to the first application identification information.
- the first information further includes a third identifier and third information corresponding to the third identifier
- the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier
- the third information is the third identifier. 3. Identifies the address information of the corresponding ECS option or local DNS resolver.
- the sending unit 1403 is further configured to send the first application identification information and/or the first indication information to the session management function network element, where the first application identification information is used to obtain the first information, and the first indication information is used for The first information is sent to the network element instructing the session management function.
- the receiving unit 1401 is further configured to receive second indication information from the session management function network element, where the second indication information is used to instruct to delete the first information;
- the communication device may also include:
- the deletion unit 1404 is configured to delete the first information according to the second indication information.
- the sending unit 1403 sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes:
- the second information is ECS option
- the DNS request information is sent to the local DNS resolver.
- receiving unit 1401, determining unit 1402, transmitting unit 1403 and deleting unit 1404 can be obtained directly by referring to the relevant descriptions of the first entity in the method embodiments shown in FIG. 9-FIG. 11, and will not be repeated here .
- FIG. 15 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
- the communication device may include:
- a sending unit 1501 configured to send first information to a first entity, where the first information includes second information, or first application identification information and second information corresponding to the first application identification information, where the second information corresponds to the first identification
- the address information of the ECS option or the local DNS resolver the first identifier is the data network access identifier of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier, and the second identifier is At least one data network access identifier corresponding to the current location of the terminal device, and the first information is used to determine the second information.
- the first information further includes a third identifier and third information corresponding to the third identifier
- the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier
- the third information is the third identifier. 3. Identifies the address information of the corresponding ECS option or local DNS resolver.
- the communication device may further include:
- a receiving unit 1502 configured to receive first application identification information and/or first indication information from a first entity
- the sending unit 1501 is specifically configured to send the first information to the first entity according to the first application identification information and/or the first indication information.
- the sending unit 1501 is further configured to send second indication information to the first entity, where the second indication information is used to indicate deletion of the first information.
- FIG. 16 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
- the communication device may include a processor 1601 , a memory 1602 , an input interface 1603 , an output interface 1604 and a bus 1605 .
- the memory 1602 may exist independently, and may be connected to the processor 1601 through the bus 1605 .
- the memory 1602 may also be integrated with the processor 1601. Among them, the bus 1605 is used to realize the connection between these components.
- the communication device may be a first entity or a module (eg, a chip) within the first entity, and when the computer program instructions stored in the memory 1602 are executed, the processor 1601 is configured to control the receiving unit 1201 and The sending unit 1203 performs the operations performed in the foregoing embodiments, the processor 1601 is further configured to perform the operations performed by the determining unit 1202 and the deleting unit 1204 in the foregoing embodiments, and the input interface 1603 is configured to perform the operations performed by the receiving unit 1201 in the foregoing embodiments. Operation, the output interface 1604 is used to perform the operation performed by the sending unit 1203 in the above embodiment.
- the foregoing first entity or a module within the first entity may also be used to execute various methods performed by the first entity in the foregoing method embodiments in FIG. 5 , FIG. 7 , and FIG.
- the communication device may be an SMF network element or a module (eg, a chip) within the SMF network element.
- the processor 1601 is used to control the sending unit 1301 and
- the receiving unit 1302 performs the operations performed in the above embodiments
- the input interface 1603 is used to perform the operations performed by the receiving unit 1302 in the above embodiments
- the output interface 1604 is used to perform the operations performed by the sending unit 1301 in the above embodiments.
- the foregoing SMF network element or modules within the SMF network element may also be used to execute various methods performed by the SMF network element in the foregoing method embodiments of FIG. 5 , FIG. 7 , and FIG. 8 , which will not be repeated.
- the communication device may be a first entity or a module (eg, a chip) within the first entity, and when the computer program instructions stored in the memory 1602 are executed, the processor 1601 is configured to control the receiving unit 1401 and The sending unit 1403 performs the operations performed in the foregoing embodiments, the processor 1601 is further configured to perform the operations performed by the determining unit 1402 and the deleting unit 1404 in the foregoing embodiments, and the input interface 1603 is configured to perform the operations performed by the receiving unit 1401 in the foregoing embodiments. Operation, the output interface 1604 is used to perform the operation performed by the sending unit 1403 in the above embodiment.
- the foregoing first entity or a module within the first entity may also be used to execute various methods performed by the first entity in the foregoing method embodiments in FIGS.
- the communication device may be an SMF network element or a module (eg, a chip) within the SMF network element.
- the processor 1601 is used to control the sending unit 1501 and
- the receiving unit 1502 performs the operations performed in the above embodiments
- the input interface 1603 is used to perform the operations performed by the receiving unit 1502 in the above embodiments
- the output interface 1604 is used to perform the operations performed by the sending unit 1501 in the above embodiments.
- the foregoing SMF network element or modules within the SMF network element may also be used to execute various methods performed by the SMF network element in the foregoing method embodiments of FIGS.
- FIG. 17 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
- the communication device may include an input interface 1701 , a logic circuit 1702 and an output interface 1703 .
- the input interface 1701 and the output interface 1703 are connected through the logic circuit 1702 .
- the input interface 1701 is used for receiving information from other communication devices, and the output interface 1703 is used for outputting, scheduling or sending information to other communication devices.
- the logic circuit 1702 is configured to perform operations other than the operations of the input interface 1701 and the output interface 1703, for example, to implement the functions implemented by the processor 1601 in the above-mentioned embodiment.
- the communication device may be a network device or a module of a network device, a first terminal device or a module of the first terminal device, or a second terminal device or a module of the second terminal device.
- the more detailed description about the input interface 1701 , the logic circuit 1702 and the output interface 1703 can be obtained directly by referring to the relevant descriptions of the first entity and the SMF network element in the above method embodiments, which will not be repeated here.
- the embodiments of the present application further disclose a computer-readable storage medium, on which instructions are stored, and when the instructions are executed, the methods in the foregoing method embodiments are executed.
- the embodiment of the present application further discloses a computer program product including an instruction, when the instruction is executed, the method in the foregoing method embodiment is executed.
- An embodiment of the present application further discloses a communication system, which includes a network device, a first terminal device, and a second terminal device.
- a communication system which includes a network device, a first terminal device, and a second terminal device.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Small-Scale Networks (AREA)
Abstract
Disclosed are a communication method and apparatus and a computer readable storage medium. The communication method comprises: receiving first request information from a terminal device, the first request information comprising first application identifier information; according to the first application identifier information and first information obtained from a session management function network element, determining second information, the second information being a DNS extended mechanism client subnet option or address information of a local DNS resolver; and sending DNS request information to a centralized DNS server or the local DNS resolver according to the second information, the DNS request information comprising the first application identifier information, and the DNS request information being used for obtaining address information of an application server. According to embodiments of the present application, it is not necessary to obtain the second information from the session management function network element after the request information being from the terminal device and comprising application identifier information is received every time, so as to reduce interactive information, thereby saving transmission resources.
Description
本申请实施例涉及通信技术领域,尤其涉及一种通信方法、装置及计算机可读存储介质。The embodiments of the present application relate to the field of communication technologies, and in particular, to a communication method, an apparatus, and a computer-readable storage medium.
边缘计算(edge computing,EC)可以通过将用户面功能(user plane function,UPF)网元及业务处理能力下移到网络边缘,实现分布式业务流量的本地处理。部署于网络边缘的多个边缘应用服务器(edge application service,EAS)可能会为同一业务提供服务。这些EAS提供的此业务的内容相同,但是可能具有不同的网络协议(internet protocol,IP)地址。当终端设备需要接入该业务时,要求接入距离终端设备最近的可用EAS。因此,终端设备有业务需求时,如果需要确定EAS的地址信息时,需要从会话管理功能(session management function,SMF)网元获取关联终端设备当前所在位置的信息。由于不同SMF网元都需要服务大量的终端设备,且每个终端设备会有不同的业务需求,因此,与SMF网元的通信较多,需要传输的信息的数量较多,以致造成了通信资源的浪费。Edge computing (EC) can realize local processing of distributed service traffic by moving user plane function (UPF) network elements and service processing capabilities down to the network edge. Multiple edge application servers (EAS) deployed at the network edge may provide services for the same business. The content of the service provided by these EASs is the same, but may have different internet protocol (IP) addresses. When the terminal device needs to access the service, it is required to access the available EAS closest to the terminal device. Therefore, when the terminal device has service requirements, if the address information of the EAS needs to be determined, it is necessary to obtain the information of the current location of the associated terminal device from the session management function (session management function, SMF) network element. Since different SMF network elements need to serve a large number of terminal devices, and each terminal device will have different service requirements, there is a lot of communication with SMF network elements, and a large amount of information needs to be transmitted, resulting in communication resources. of waste.
发明内容SUMMARY OF THE INVENTION
本申请实施例公开了一种通信方法、装置及计算机可读存储介质,用于节约传输资源。The embodiments of the present application disclose a communication method, an apparatus, and a computer-readable storage medium, which are used to save transmission resources.
第一方面公开一种通信方法,该通信方法可以应用于第一实体,也可以应用于第一实体中的模块(例如,芯片),下面以第一实体为例进行说明。该通信方法可以包括:接收来自终端设备的第一请求信息,第一请求信息包括第一应用标识信息;根据第一应用标识信息以及从会话网络功能网元获取的第一信息确定第二信息,第二信息为客户端子网选项DNS扩展机制(extended mechanisms for DNS,EDNS)客户端子网选项(EDNSclientsubnet option,ECS option)或本地域名系统(domain name system,DNS)解析器的地址信息;根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息,DNS请求信息包括第一应用标识信息,DNS请求信息用于获取应用服务器的地址信息。A first aspect discloses a communication method, and the communication method can be applied to a first entity, and can also be applied to a module (eg, a chip) in the first entity. The first entity is used as an example for description below. The communication method may include: receiving first request information from a terminal device, where the first request information includes first application identification information; determining the second information according to the first application identification information and the first information obtained from the session network function network element, The second information is the client subnet option DNS extension mechanism (extended mechanisms for DNS, EDNS) client subnet option (EDNS clientsubnet option, ECS option) or the address information of the local domain name system (domain name system, DNS) resolver; according to the second The information sends DNS request information to a centralized DNS server or a local DNS resolver, where the DNS request information includes first application identification information, and the DNS request information is used to obtain address information of the application server.
本申请实施例中,第一实体接收到来自终端设备的包括应用标识信息的请求信息之后,可以根据第一应用标识信息以及从会话网络功能网元获取的第一信息确定第二信息,以及根据第二信息向集中DNS服务器或向本地DNS解析器发送DNS请求信息。第一实体在接收到该请求信息之前已经从会话管理功能网元获取到第一信息的情况下,接收到该请求信息之后,不需要从会话管理功能网元获取第二信息。因此,不需要在每次接收到来自终端设备的包括应用标识信息的请求信息之后,从会话管理功能网元获取第二信息,可以减少第一实体与会话管理功能网元之间的通信次数,从而可以节约传输资源。此外,第一实体在接收到来自终端设备的请求信息后,在避免与会话网络功能网元交互的情况下,可以降低DNS请求信息的处理时延。In this embodiment of the present application, after receiving the request information including the application identification information from the terminal device, the first entity may determine the second information according to the first application identification information and the first information obtained from the session network function network element, and determine the second information according to the The second information sends DNS request information to the centralized DNS server or to the local DNS resolver. If the first entity has acquired the first information from the session management function network element before receiving the request information, after receiving the request information, it does not need to acquire the second information from the session management function network element. Therefore, it is not necessary to obtain the second information from the session management function network element every time after receiving the request information including the application identification information from the terminal device, which can reduce the number of communications between the first entity and the session management function network element. Thereby, transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
作为一种可能的实施方式,该通信方法还可以包括:接收来自会话管理功能网元的第一信息,第一信息包括第一应用标识信息以及与第一应用标识信息对应的第二信息。As a possible implementation manner, the communication method may further include: receiving first information from a session management function network element, where the first information includes first application identification information and second information corresponding to the first application identification information.
本申请实施例中,第一信息可以是会话管理功能网元主动发送给第一实体的,因此,第一实体可以不向会话管理功能网元发送用于获取第一信息的请求,可以进一步减少第一实体与会话网络功能网元之间的通信次数,从而可以节约传输资源。此外,第一信息至少包括第一应用标识信息以及与第一应用标识信息对应的第二信息,以便可以根据第一信息和第一应用标识信息确定第二信息。In this embodiment of the present application, the first information may be actively sent by the session management function network element to the first entity. Therefore, the first entity may not send a request for acquiring the first information to the session management function network element, which can further reduce The number of communications between the first entity and the session network function network element, so that transmission resources can be saved. In addition, the first information includes at least first application identification information and second information corresponding to the first application identification information, so that the second information can be determined according to the first information and the first application identification information.
作为一种可能的实施方式,该通信方法还可以包括:接收来自会话管理功能网元的第一信息,第一信息包括第一应用标识信息、第一标识以及与第一应用标识信息和第一标识对应的第二信息,第一标识为至少一个数据网络接入标识(data network access identifier,DNAI)。As a possible implementation manner, the communication method may further include: receiving first information from a session management function network element, where the first information includes first application identification information, a first identification, and a combination of the first application identification information and the first identification information. The corresponding second information is identified, and the first identification is at least one data network access identifier (data network access identifier, DNAI).
本申请实施例中,第一信息可以是会话管理功能网元主动发送给第一实体的,因此,第一实体可以不向会话管理功能网元发送用于获取第一信息的请求,可以进一步减少第一实体与会话网络功能网元之间的通信次数,从而可以节约传输资源。此外,第一信息至少包括第一应用标识信息、至少一个数据网络接入标识以及与第一应用标识信息和数据网络接入标识对应的第二信息,以便可以根据第一信息和第一应用标识信息确定第二信息。In this embodiment of the present application, the first information may be actively sent by the session management function network element to the first entity. Therefore, the first entity may not send a request for acquiring the first information to the session management function network element, which can further reduce The number of communications between the first entity and the session network function network element, so that transmission resources can be saved. In addition, the first information includes at least first application identification information, at least one data network access identification, and second information corresponding to the first application identification information and the data network access identification, so that the first information and the first application identification can be The information determines the second information.
作为一种可能的实施方式,该通信方法还可以包括:接收来自会话管理功能网元的第二标识,第二标识为终端设备当前所在位置对应的数据网络接入标识;第一实体根据第一应用标识信息以及从会话网络功能网元获取的第一信息确定第二信息包括:根据第一应用标识信息、第二标识以及从会话网络功能网元获取的第一信息确定第二信息。As a possible implementation manner, the communication method may further include: receiving a second identifier from the session management function network element, where the second identifier is a data network access identifier corresponding to the current location of the terminal device; Determining the second information according to the application identification information and the first information obtained from the session network function network element includes: determining the second information according to the first application identification information, the second identification and the first information obtained from the session network function network element.
本申请实施例中,会话网络功能网元可以主动将终端设备当前所在位置对应的数据网络接入标识发送给第一实体,以便第一实体可以根据第一应用标识信息、终端设备当前所在位置对应的数据网络接入标识以及第一信息确定第二信息。In this embodiment of the present application, the session network function network element may actively send the data network access identifier corresponding to the current location of the terminal device to the first entity, so that the first entity can correspond to the current location of the terminal device according to the first application identifier information and the current location of the terminal device. The data network access identifier and the first information determine the second information.
作为一种可能的实施方式,第一实体接收来自会话管理功能网元的第一信息之前,该通信方法还可以包括:向会话管理功能网元发送第一应用标识信息和/或第一指示信息,第一应用标识信息用于获取第一信息,第一指示信息用于指示会话管理功能网元发送第一信息。As a possible implementation manner, before the first entity receives the first information from the session management function network element, the communication method may further include: sending first application identification information and/or first indication information to the session management function network element , the first application identification information is used to obtain the first information, and the first indication information is used to instruct the session management function network element to send the first information.
本申请实施例中,第一实体可以先向会话管理功能网元发送用于获取第一信息的信息,以便会话网络功能网元可以根据该信息向第一实体发送第一信息。可见,第一信息是在第一实体需要时会话管理功能网元才向第一实体发送的。In this embodiment of the present application, the first entity may first send information for acquiring the first information to the session management function network element, so that the session network function network element may send the first information to the first entity according to the information. It can be seen that the first information is only sent to the first entity by the session management function network element when the first entity needs it.
作为一种可能的实施方式,第一信息还可以包括第三标识、第一标识以及与第一标识和第三标识对应的第三信息,第三标识为第一标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information may further include a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier, and the third identifier is a data network deployed in the data network corresponding to the first identifier. The application identification information of the application, and the third information is the DNS extension mechanism client subnet option corresponding to the third identification or the address information of the local DNS resolver.
本申请实施例中,第一信息除了包括第一应用标识信息、至少一个数据网络接入标识以及与第一应用标识信息和数据网络接入标识对应的第二信息之外,还可以包括第三标识、第一标识以及与第一标识和第三标识对应的第三信息,以便第一实体之后接收到来自终端设备的其它包括应用标识信息的请求信息时,可以减少从会话管理功能网元获取第一信息的次数,减少了第一实体与会话网络功能网元之间的通信次数,从而可以节约传输资源。此外,第一实体在接收到来自终端设备的请求信息后,在避免与会话网络功能网元交互的 情况下,可以降低DNS请求信息的处理时延。In this embodiment of the present application, the first information may include, in addition to the first application identification information, at least one data network access identification, and second information corresponding to the first application identification information and the data network access identification, a third The identifier, the first identifier, and the third information corresponding to the first identifier and the third identifier, so that when the first entity receives other request information including the application identifier information from the terminal device, it can reduce the amount of information obtained from the session management function network element. The number of times of the first information reduces the number of times of communication between the first entity and the session network function network element, thereby saving transmission resources. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
作为一种可能的实施方式,第一信息还可以包括第三标识以及与第三标识对应的第三信息,第三标识为第一标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information may further include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the first identifier, and the third identifier is The information is the client subnet option of the DNS extension mechanism corresponding to the third identifier or the address information of the local DNS resolver.
本申请实施例中,第一信息除了包括第一应用标识信息与第一应用标识信息对应的第二信息之外,还可以包括第三标识以及与第三标识对应的第三信息,以便第一实体之后接收到来自终端设备的其它包括应用标识信息的请求信息时,可以减少从会话管理功能网元获取第一信息的次数,减少了第一实体与会话网络功能网元之间的通信次数,从而可以节约传输资源。此外,第一实体在接收到来自终端设备的请求信息后,在避免与会话网络功能网元交互的情况下,可以降低DNS请求信息的处理时延。In this embodiment of the present application, the first information may include, in addition to the first application identification information and the second information corresponding to the first application identification information, a third identification and third information corresponding to the third identification, so that the first When the entity subsequently receives other request information including application identification information from the terminal device, the number of times of acquiring the first information from the session management function network element can be reduced, and the number of times of communication between the first entity and the session network function network element can be reduced, Thereby, transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
作为一种可能的实施方式,该通信方法还可以包括:接收来自会话管理功能网元的第二指示信息和第四标识,第四标识为不再为终端设备服务的数据网络的数据网络接入标识,第一标识包括第四标识;根据第二指示信息,删除第一信息中第四标识对应的信息。As a possible implementation manner, the communication method may further include: receiving second indication information and a fourth identification from the session management function network element, where the fourth identification is data network access of a data network that no longer serves the terminal device identification, the first identification includes a fourth identification; according to the second indication information, the information corresponding to the fourth identification in the first information is deleted.
本申请实施例中,第一实体可以根据会话管理功能网元的指示删除部分或全部第一信息,可以减少存储的信息,从而可以节约存储空间,以及降低第一实体确定第二信息所需时间,进而可以降低DNS请求信息的处理时延。In this embodiment of the present application, the first entity may delete part or all of the first information according to the instruction of the session management function network element, which may reduce the stored information, thereby saving storage space and reducing the time required for the first entity to determine the second information , thereby reducing the processing delay of the DNS request information.
作为一种可能的实施方式,第一实体接收来自会话管理功能网元的第二指示信息和第四标识包括:接收来自会话管理功能网元的第二指示信息、第四标识和第五标识,第五标识为第四标识对应的数据网络中部署的应用的应用标识信息;第一实体删除第一信息中第四标识对应的信息包括:删除第一信息中与第四标识和第五标识对应的信息。As a possible implementation manner, the first entity receiving the second indication information and the fourth identification from the session management function network element includes: receiving the second indication information, the fourth identification and the fifth identification from the session management function network element, The fifth identifier is the application identifier information of the application deployed in the data network corresponding to the fourth identifier; the first entity deleting the information corresponding to the fourth identifier in the first information includes: deleting the information corresponding to the fourth identifier and the fifth identifier in the first information Information.
作为一种可能的实施方式,第一实体根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息包括:当第二信息为DNS扩展机制客户端子网选项时,向集中DNS服务器发送DNS请求信息,DNS请求还包括第二信息;当第二信息为本地DNS解析器的地址信息时,向本地DNS解析器发送DNS请求信息。As a possible implementation manner, the first entity sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes: when the second information is the client subnet option of the DNS extension mechanism, sending the DNS to the centralized DNS server request information, the DNS request further includes second information; when the second information is the address information of the local DNS resolver, the DNS request information is sent to the local DNS resolver.
第二方面公开一种通信方法,该通信方法可以应用于会话管理功能网元,也可以应用于会话管理功能网元中的模块(例如,芯片),下面以会话管理功能网元为例进行说明。该通信方法可以包括:向第一实体发送第一信息,第一信息包括第一应用标识信息以及与第一应用标识信息对应的第二信息,或者第一应用标识信息、第一标识以及与第一应用标识信息和第一标识对应的第二信息,第一标识为至少一个数据网络接入标识,第二信息为DNS扩展机制客户端子网选项或本地DNS解析器的地址信息,第一信息用于第一实体确定第二信息。A second aspect discloses a communication method. The communication method can be applied to a session management function network element, and can also be applied to a module (for example, a chip) in a session management function network element. The following describes the session management function network element as an example. . The communication method may include: sending first information to a first entity, where the first information includes first application identification information and second information corresponding to the first application identification information, or the first application identification information, the first identification and the Application identification information and second information corresponding to the first identification, the first identification is at least one data network access identification, the second information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver, the first information is used The second information is determined from the first entity.
本申请实施例中,会话管理功能网元可以主动向第一实体发送第一信息,以便第一实体接收到来自终端设备的包括应用标识信息的请求信息之后,可以根据第一应用标识信息以及第一信息确定第二信息,以及根据第二信息向集中DNS服务器或向本地DNS解析器发送DNS请求信息。可以避免第一实体每次接收到来自终端设备的包括应用标识信息的请求信息之后,从会话管理功能网元获取第二信息,可以减少第一实体与会话管理功能网元之间的通信次数,从而可以节约传输资源。此外,第一实体在接收到来自终端设备的请求信 息后,在避免与会话网络功能网元交互的情况下,可以降低DNS请求信息的处理时延。In this embodiment of the present application, the session management function network element may actively send the first information to the first entity, so that after the first entity receives the request information including the application identification information from the terminal device, it can A piece of information determines the second information, and sends DNS request information to the centralized DNS server or to the local DNS resolver according to the second information. It can be avoided that the first entity obtains the second information from the session management function network element every time after receiving the request information including the application identification information from the terminal device, and the number of communication between the first entity and the session management function network element can be reduced, Thereby, transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information without interacting with the network element of the session network function.
作为一种可能的实施方式,该通信方法还可以包括:向第一实体发送第二标识,第二标识为终端设备当前所在位置对应的数据网络接入标识;第一信息用于确定第二信息包括:第一信息和第二标识用于确定第二信息。As a possible implementation manner, the communication method may further include: sending a second identifier to the first entity, where the second identifier is a data network access identifier corresponding to the current location of the terminal device; the first information is used to determine the second information It includes: the first information and the second identifier are used to determine the second information.
本申请实施例中,会话管理功能网元可以主动将终端设备当前所在位置对应的数据网络接入标识发送给第一实体,以便第一实体可以根据第一应用标识信息、终端设备当前所在位置对应的数据网络接入标识以及第一信息确定第二信息。In this embodiment of the present application, the network element of the session management function may actively send the data network access identifier corresponding to the current location of the terminal device to the first entity, so that the first entity can correspond to the current location of the terminal device according to the first application identifier information and the current location of the terminal device. The data network access identifier and the first information determine the second information.
作为一种可能的实施方式,该通信方法还可以包括:接收来自第一实体的第一应用标识信息和/或第一指示信息;会话管理功能网元向第一实体发送第一信息包括:根据第一应用标识信息和/或第一指示信息向第一实体发送第一信息。As a possible implementation manner, the communication method may further include: receiving first application identification information and/or first indication information from the first entity; sending the first information by the session management function network element to the first entity includes: according to The first application identification information and/or the first indication information send the first information to the first entity.
本申请实施例中,会话管理功能网元可以在接收到来自第一实体的用于获取第一信息的信息之后,才向第一实体发送第一信息。可见,第一信息可以是会话管理功能网元根据第一实体的需要向第一实体发送的。In this embodiment of the present application, the session management function network element may send the first information to the first entity after receiving the information for acquiring the first information from the first entity. It can be seen that the first information may be sent by the session management function network element to the first entity according to the needs of the first entity.
作为一种可能的实施方式,第一信息还可以包括第三标识、第一标识以及与第一标识和第三标识对应的第三信息,第三标识为第一标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information may further include a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier, and the third identifier is a data network deployed in the data network corresponding to the first identifier. The application identification information of the application, and the third information is the DNS extension mechanism client subnet option corresponding to the third identification or the address information of the local DNS resolver.
本申请实施例中,第一信息除了包括第一应用标识信息、至少一个数据网络接入标识以及与第一应用标识信息和数据网络接入标识对应的第二信息之外,还可以包括第三标识、第一标识以及与第一标识和第三标识对应的第三信息,以便第一实体之后接收到来自终端设备的包括其它应用标识信息的请求信息时,可以减少从会话管理功能网元获取第一信息的次数,可以减少会话管理功能网元与第一实体之间的通信次数,从而可以节约传输资源。此外,第一实体在接收到来自终端设备的请求信息后,在避免与会话网络功能网元交互的情况下,可以降低DNS请求信息的处理时延。In this embodiment of the present application, the first information may include, in addition to the first application identification information, at least one data network access identification, and second information corresponding to the first application identification information and the data network access identification, a third The identifier, the first identifier, and the third information corresponding to the first identifier and the third identifier, so that when the first entity receives the request information including the identifier information of other applications from the terminal device, it can reduce the amount of information obtained from the session management function network element. The number of times of the first information can reduce the number of times of communication between the session management function network element and the first entity, thereby saving transmission resources. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
作为一种可能的实施方式,第一信息还可以包括第三标识以及与第三标识对应的第三信息,第三标识为第一标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information may further include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the first identifier, and the third identifier is The information is the client subnet option of the DNS extension mechanism corresponding to the third identifier or the address information of the local DNS resolver.
本申请实施例中,第一信息除了包括第一应用标识信息与第一应用标识信息对应的第二信息之外,还可以包括第三标识以及与第三标识对应的第三信息,以便第一实体之后接收到来自终端设备的其它包括应用标识信息的请求信息时,可以减少从会话管理功能网元获取第一信息的次数,可以减少会话管理功能网元与第一实体之间的通信次数,从而可以节约传输资源。此外,第一实体在接收到来自终端设备的请求信息后,在避免与会话网络功能网元交互的情况下,可以降低DNS请求信息的处理时延。In this embodiment of the present application, the first information may include, in addition to the first application identification information and the second information corresponding to the first application identification information, a third identification and third information corresponding to the third identification, so that the first When the entity subsequently receives other request information including application identification information from the terminal device, the number of times of acquiring the first information from the session management function network element can be reduced, and the number of times of communication between the session management function network element and the first entity can be reduced, Thereby, transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
作为一种可能的实施方式,该通信方法还可以包括:向第一实体发送第二指示信息和第四标识,第四标识为不再为终端设备服务的数据网络的数据网络接入标识,第一标识包括第四标识,第二指示信息用于删除第一信息中第四标识对应的信息。As a possible implementation manner, the communication method may further include: sending second indication information and a fourth identifier to the first entity, where the fourth identifier is a data network access identifier of a data network that no longer serves the terminal device; An identifier includes a fourth identifier, and the second indication information is used to delete the information corresponding to the fourth identifier in the first information.
本申请实施例中,会话管理功能网元可以向第一实体发送用于删除信息的指示信息,以便第一实体可以根据会话管理功能网元的指示删除部分或全部第一信息,可以减少第一 实体存储的信息,从而可以节约第一实体的存储空间,以及降低第一实体确定第二信息所需时间,进而可以降低DNS请求信息的处理时延。In this embodiment of the present application, the session management function network element may send instruction information for deleting information to the first entity, so that the first entity may delete part or all of the first information according to the instruction of the session management function network element, which can reduce the number of first information. The information stored by the entity can save the storage space of the first entity, and reduce the time required for the first entity to determine the second information, thereby reducing the processing delay of the DNS request information.
作为一种可能的实施方式,会话管理功能网元向第一实体发送第二指示信息和第四标识包括:向第一实体发送第二指示信息、第四标识和第五标识,第五标识为第四标识对应的数据网络中部署的应用的应用标识信息;第二指示信息用于删除第一信息中第四标识对应的信息包括:第二指示信息用于删除第一信息中与第四标识和第五标识对应的信息。As a possible implementation manner, the session management function network element sending the second indication information and the fourth identification to the first entity includes: sending the second indication information, the fourth identification and the fifth identification to the first entity, and the fifth identification is The application identification information of the application deployed in the data network corresponding to the fourth identification; the second indication information used to delete the information corresponding to the fourth identification in the first information includes: the second indication information is used to delete the information corresponding to the fourth identification in the first information Information corresponding to the fifth identifier.
第三方面公开一种通信方法,该通信方法可以应用于第一实体,也可以应用于第一实体中的模块(例如,芯片),下面以第一实体为例进行说明。该通信方法可以包括:接收来自终端设备的第一请求信息,第一请求信息包括第一应用标识信息;根据从会话管理功能网元获取的第一信息确定第二信息,第二信息为第一标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息,第一标识为第二标识对应的数据网络中服务范围最小或与终端设备之间的距离最近的数据网络的数据网络接入标识,第二标识为终端设备当前所在位置对应的至少一个数据网络接入标识;根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息,DNS请求信息包括第一应用标识信息,DNS请求信息用于获取应用服务器的地址信息。A third aspect discloses a communication method. The communication method can be applied to a first entity or a module (eg, a chip) in the first entity. The first entity is used as an example for description below. The communication method may include: receiving first request information from a terminal device, where the first request information includes first application identification information; and determining second information according to the first information obtained from the session management function network element, where the second information is the first Identifies the corresponding DNS extension mechanism client subnet option or address information of the local DNS resolver, the first identifier is the data network connection of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier. The second identifier is at least one data network access identifier corresponding to the current location of the terminal device; the DNS request information is sent to the centralized DNS server or the local DNS resolver according to the second information, and the DNS request information includes the first application identifier information, The DNS request information is used to obtain the address information of the application server.
本申请实施例中,第一实体接收到来自终端设备的包括应用标识信息的请求信息之后,可以根据从会话网络功能网元获取的第一信息确定第二信息,以及根据第二信息向集中DNS服务器或向本地DNS解析器发送DNS请求信息。第一实体在接收到该请求信息之前已经从会话管理功能网元获取到第一信息,且第一实体可以根据第一信息确定第二信息的情况下,接收到该请求信息之后,不需要从会话管理功能网元获取第二信息。因此,不需要在每次接收到来自终端设备的包括应用标识信息的请求信息之后,从会话管理功能网元获取第二信息,可以减少第一实体与会话管理功能网元之间的通信次数,从而可以节约传输资源。此外,第一实体在接收到来自终端设备的请求信息后,在避免与会话网络功能网元交互的情况下,可以降低DNS请求信息的处理时延。In the embodiment of the present application, after receiving the request information including the application identification information from the terminal device, the first entity can determine the second information according to the first information obtained from the session network function network element, and send the centralized DNS to the centralized DNS according to the second information. The server or sends DNS request information to the local DNS resolver. If the first entity has obtained the first information from the session management function network element before receiving the request information, and the first entity can determine the second information according to the first information, after receiving the request information, it does not need to The session management function network element obtains the second information. Therefore, it is not necessary to obtain the second information from the session management function network element every time after receiving the request information including the application identification information from the terminal device, which can reduce the number of communications between the first entity and the session management function network element. Thereby, transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
作为一种可能的实施方式,该通信方法还可以包括:接收来自会话管理功能网元的第一信息,第一信息可以包括第二信息。As a possible implementation manner, the communication method may further include: receiving first information from the session management function network element, where the first information may include second information.
本申请实施例中,第一信息可以是会话管理功能网元主动发送给第一实体的,因此,第一实体可以不向会话管理功能网元发送用于获取第一信息的请求,可以进一步减少第一实体与会话网络功能网元之间的通信次数,从而可以节约传输资源。此外,第一信息至少包括第二信息,以便可以根据第一信息确定第二信息。In this embodiment of the present application, the first information may be actively sent by the session management function network element to the first entity. Therefore, the first entity may not send a request for acquiring the first information to the session management function network element, which can further reduce The number of communications between the first entity and the session network function network element, so that transmission resources can be saved. Furthermore, the first information includes at least the second information, so that the second information can be determined from the first information.
作为一种可能的实施方式,该通信方法还可以包括:接收来自会话管理功能网元的第一信息,第一信息可以包括第一应用标识信息和与第一应用标识信息对应的第二信息。As a possible implementation manner, the communication method may further include: receiving first information from the session management function network element, where the first information may include first application identification information and second information corresponding to the first application identification information.
本申请实施例中,第一信息可以是会话管理功能网元主动发送给第一实体的,因此,第一实体可以不向会话管理功能网元发送用于获取第一信息的请求,可以进一步减少第一实体与会话网络功能网元之间的通信次数,从而可以节约传输资源。此外,第一信息至少包括第一应用标识信息以及与第一应用标识信息对应的第二信息,以便可以根据第一信息确定第二信息。In this embodiment of the present application, the first information may be actively sent by the session management function network element to the first entity. Therefore, the first entity may not send a request for acquiring the first information to the session management function network element, which can further reduce The number of communications between the first entity and the session network function network element, so that transmission resources can be saved. In addition, the first information includes at least first application identification information and second information corresponding to the first application identification information, so that the second information can be determined according to the first information.
作为一种可能的实施方式,第一信息还可以包括第三标识和与第三标识对应的第三信息,第三标识为第二标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information may further include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third identifier is The information is the client subnet option of the DNS extension mechanism corresponding to the third identifier or the address information of the local DNS resolver.
本申请实施例中,第一信息除了包括第一应用标识信息和与第一应用标识信息对应的第二信息之外,还可以包括第三标识以及与第三标识对应的第三信息,以便第一实体之后接收到来自终端设备的其它包括应用标识信息的请求信息时,可以减少从会话管理功能网元获取第一信息的次数,减少了第一实体与会话网络功能网元之间的通信次数,从而可以节约传输资源。此外,第一实体在接收到来自终端设备的请求信息后,在避免与会话网络功能网元交互的情况下,可以降低DNS请求信息的处理时延。In this embodiment of the present application, the first information may include, in addition to the first application identification information and the second information corresponding to the first application identification information, a third identification and third information corresponding to the third identification, so that the first When an entity later receives other request information including application identification information from the terminal device, the number of times of acquiring the first information from the session management function network element can be reduced, and the number of communications between the first entity and the session network function network element can be reduced. , so that transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
作为一种可能的实施方式,该通信方法还可以包括:向会话管理功能网元发送第一应用标识信息和/或第一指示信息,第一应用标识信息用于获取第一信息,第一指示信息用于指示会话管理功能网元发送第一信息。As a possible implementation manner, the communication method may further include: sending first application identification information and/or first indication information to the session management function network element, where the first application identification information is used to obtain the first information, and the first indication The information is used to instruct the session management function network element to send the first information.
本申请实施例中,第一实体可以先向会话管理功能网元发送用于获取第一信息的信息,以便会话网络功能网元可以根据该信息向第一实体发送第一信息。可见,第一信息是在第一实体需要时会话管理功能网元才向第一实体发送的。In this embodiment of the present application, the first entity may first send information for acquiring the first information to the session management function network element, so that the session network function network element may send the first information to the first entity according to the information. It can be seen that the first information is only sent to the first entity by the session management function network element when the first entity needs it.
作为一种可能的实施方式,该通信方法还可以包括:接收来自会话管理功能网元的第二指示信息,第二指示信息用于指示删除第一信息;根据第二指示信息删除第一信息。As a possible implementation manner, the communication method may further include: receiving second indication information from the session management function network element, where the second indication information is used to instruct deletion of the first information; and deleting the first information according to the second indication information.
本申请实施例中,第一实体可以根据会话管理功能网元的指示删除第一信息,可以减少存储的信息,从而可以节约存储空间。In the embodiment of the present application, the first entity may delete the first information according to the instruction of the session management function network element, which may reduce the stored information, thereby saving storage space.
作为一种可能的实施方式,第一实体根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息包括:当第二信息为DNS扩展机制客户端子网选项时,向集中DNS服务器发送DNS请求信息,DNS请求还可以包括第二信息;当第二信息为本地DNS解析器的地址信息时,向本地DNS解析器发送DNS请求信息。As a possible implementation manner, the first entity sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes: when the second information is the client subnet option of the DNS extension mechanism, sending the DNS to the centralized DNS server request information, the DNS request may further include second information; when the second information is the address information of the local DNS resolver, the DNS request information is sent to the local DNS resolver.
第四方面公开一种通信方法,该通信方法可以应用于会话管理功能网元,也可以应用于会话管理功能网元中的模块(例如,芯片),下面以会话管理功能网元为例进行说明。该通信方法可以包括:向第一实体发送第一信息,第一信息可以包括第二信息,或第一应用标识信息和与第一应用标识信息对应的第二信息,第二信息为第一标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息,第一标识为第二标识对应的数据网络中服务范围最小或与终端设备之间的距离最近的数据网络的数据网络接入标识,第二标识为终端设备当前所在位置对应的至少一个数据网络接入标识,第一信息用于确定第二信息。A fourth aspect discloses a communication method, the communication method can be applied to a session management function network element, and can also be applied to a module (for example, a chip) in a session management function network element. The session management function network element is used as an example for description below. . The communication method may include: sending first information to a first entity, the first information may include second information, or first application identification information and second information corresponding to the first application identification information, the second information being the first identification The corresponding DNS extension mechanism client subnet option or address information of the local DNS resolver, the first identifier is the data network access of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier identifier, the second identifier is at least one data network access identifier corresponding to the current location of the terminal device, and the first information is used to determine the second information.
本申请实施例中,会话管理功能网元可以主动向第一实体发送第一信息,以便第一实体接收到来自终端设备的包括应用标识信息的请求信息之后,可以根据第一信息确定第二信息,以及根据第二信息向集中DNS服务器或向本地DNS解析器发送DNS请求信息。可以避免第一实体每次接收到来自终端设备的包括应用标识信息的请求信息之后,从会话管理功能网元获取第二信息,可以减少第一实体与会话管理功能网元之间的通信次数,从而可以节约传输资源。此外,第一实体在接收到来自终端设备的请求信息后,在避免与会话网络功能网元交互的情况下,可以降低DNS请求信息的处理时延。In this embodiment of the present application, the session management function network element may actively send the first information to the first entity, so that the first entity may determine the second information according to the first information after receiving the request information including the application identification information from the terminal device , and send DNS request information to the centralized DNS server or to the local DNS resolver according to the second information. It can be avoided that the first entity obtains the second information from the session management function network element every time after receiving the request information including the application identification information from the terminal device, and the number of communication between the first entity and the session management function network element can be reduced, Thereby, transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
作为一种可能的实施方式,第一信息还可以包括第三标识和与第三标识对应的第三信息,第三标识为第二标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information may further include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third identifier is The information is the client subnet option of the DNS extension mechanism corresponding to the third identifier or the address information of the local DNS resolver.
本申请实施例中,第一信息除了包括第一应用标识信息和与第一应用标识信息对应的第二信息之外,还可以包括第三标识以及与第三标识对应的第三信息,以便第一实体之后接收到来自终端设备的包括其它应用标识信息的请求信息时,可以减少从会话管理功能网元获取第一信息的次数,可以减少会话管理功能网元与第一实体之间的通信次数,从而可以节约传输资源。此外,第一实体在接收到来自终端设备的请求信息后,在避免与会话网络功能网元交互的情况下,可以降低DNS请求信息的处理时延。In this embodiment of the present application, the first information may include, in addition to the first application identification information and the second information corresponding to the first application identification information, a third identification and third information corresponding to the third identification, so that the first When an entity subsequently receives request information including other application identification information from a terminal device, the number of times of acquiring the first information from the session management function network element can be reduced, and the number of times of communication between the session management function network element and the first entity can be reduced , so that transmission resources can be saved. In addition, after receiving the request information from the terminal device, the first entity can reduce the processing delay of the DNS request information under the condition of avoiding interaction with the network element of the session network function.
作为一种可能的实施方式,该通信方法还可以包括:接收来自第一实体的第一应用标识信息和/或第一指示信息;会话管理功能网元向第一实体发送第一信息:根据第一应用标识信息和/或第一指示信息向第一实体发送第一信息。As a possible implementation manner, the communication method may further include: receiving the first application identification information and/or the first indication information from the first entity; the session management function network element sending the first information to the first entity: according to the first entity An application identification information and/or first indication information sends the first information to the first entity.
本申请实施例中,会话管理功能网元可以在接收到来自第一实体的用于获取第一信息的信息之后,才向第一实体发送第一信息。可见,第一信息可以是会话管理功能网元根据第一实体的需要向第一实体发送的。In this embodiment of the present application, the session management function network element may send the first information to the first entity after receiving the information for acquiring the first information from the first entity. It can be seen that the first information may be sent by the session management function network element to the first entity according to the needs of the first entity.
作为一种可能的实施方式,该通信方法还可以包括:向第一实体发送第二指示信息,第二指示信息用于指示删除第一信息。As a possible implementation manner, the communication method may further include: sending second indication information to the first entity, where the second indication information is used to instruct deletion of the first information.
本申请实施例中,会话管理功能网元可以向第一实体发送用于删除第一信息的指示信息,以便第一实体可以根据会话管理功能网元的指示删除第一信息,可以减少第一实体存储的信息,从而可以节约第一实体的存储空间。In this embodiment of the present application, the session management function network element may send instruction information for deleting the first information to the first entity, so that the first entity may delete the first information according to the instruction of the session management function network element, which can reduce the number of first entities stored information, thereby saving the storage space of the first entity.
第五方面公开一种通信装置,该装置可以为第一实体,也可以为第一实体中的模块(例如,芯片),该装置可以包括:接收单元,用于接收来自终端设备的第一请求信息,所述第一请求信息包括第一应用标识信息;确定单元,用于根据所述第一应用标识信息以及从会话网络功能网元获取的第一信息确定第二信息,所述第二信息为DNS扩展机制客户端子网选项或本地DNS解析器的地址信息;发送单元,用于根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息,所述DNS请求信息包括所述第一应用标识信息,所述DNS请求信息用于获取应用服务器的地址信息。A fifth aspect discloses a communication apparatus, the apparatus may be a first entity or a module (eg, a chip) in the first entity, the apparatus may include: a receiving unit, configured to receive a first request from a terminal device information, the first request information includes first application identification information; a determining unit is configured to determine second information according to the first application identification information and the first information obtained from the session network function network element, the second information is the address information of the DNS extension mechanism client subnet option or the local DNS resolver; the sending unit is configured to send DNS request information to the centralized DNS server or the local DNS resolver according to the second information, and the DNS request information includes the The first application identification information, where the DNS request information is used to obtain the address information of the application server.
作为一种可能的实施方式,所述接收单元,还用于接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第一应用标识信息以及与所述第一应用标识信息对应的第二信息。As a possible implementation manner, the receiving unit is further configured to receive the first information from the session management function network element, where the first information includes the first application identification information and the A second information corresponding to the application identification information.
作为一种可能的实施方式,所述接收单元,还用于接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第一应用标识信息、第一标识以及与所述第一应用标识信息和所述第一标识对应的第二信息,所述第一标识为至少一个数据网络接入标识。As a possible implementation manner, the receiving unit is further configured to receive the first information from the session management function network element, where the first information includes the first application identification information, the first identification and second information corresponding to the first application identification information and the first identification, where the first identification is at least one data network access identification.
作为一种可能的实施方式,所述接收单元,还用于接收来自所述会话管理功能网元的第二标识,所述第二标识为所述终端设备当前所在位置对应的数据网络接入标识;所述确定单元,具体用于根据所述第一应用标识信息、所述第二标识以及从会话网络功能网元获取的第一信息确定第二信息。As a possible implementation manner, the receiving unit is further configured to receive a second identifier from the session management function network element, where the second identifier is a data network access identifier corresponding to the current location of the terminal device ; the determining unit is specifically configured to determine the second information according to the first application identification information, the second identification and the first information obtained from the session network function network element.
作为一种可能的实施方式,所述发送单元,还用于所述接收单元接收来自所述会话管理功能网元的所述第一信息之前,向所述会话管理功能网元发送所述第一应用标识信息和/或第一指示信息,所述第一应用标识信息用于获取所述第一信息,所述第一指示信息用于指示所述会话管理功能网元发送所述第一信息。As a possible implementation manner, the sending unit is further configured to send the first information to the session management function network element before the receiving unit receives the first information from the session management function network element Application identification information and/or first indication information, where the first application identification information is used to obtain the first information, and the first indication information is used to instruct the session management function network element to send the first information.
作为一种可能的实施方式,所述第一信息还包括第三标识、第一标识以及与所述第一标识和所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information further includes a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier, and the third identifier is the first identifier. 1. Application identification information that identifies an application deployed in the corresponding data network, and the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
作为一种可能的实施方式,所述第一信息还包括第三标识以及与所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information further includes a third identifier and third information corresponding to the third identifier, where the third identifier is an application deployed in the data network corresponding to the first identifier application identification information, the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
作为一种可能的实施方式,所述接收单元,还用于接收来自所述会话管理功能网元的第二指示信息和第四标识,所述第四标识为不再为所述终端设备服务的数据网络的数据网络接入标识,所述第一标识包括所述第四标识;所述装置还包括:删除单元,用于根据所述第二指示信息,删除所述第一信息中所述第四标识对应的信息。As a possible implementation manner, the receiving unit is further configured to receive second indication information and a fourth identifier from the session management function network element, where the fourth identifier is no longer serving the terminal device a data network access identifier of a data network, the first identifier includes the fourth identifier; the apparatus further includes: a deletion unit, configured to delete the first identifier in the first information according to the second indication information Four identifies the corresponding information.
作为一种可能的实施方式,所述接收单元接收来自所述会话管理功能网元的第二指示信息和第四标识包括:接收来自所述会话管理功能网元的第二指示信息、第四标识和第五标识,所述第五标识为所述第四标识对应的数据网络中部署的应用的应用标识信息;所述删除单元,具体用于删除所述第一信息中与所述第四标识和所述第五标识对应的信息。As a possible implementation manner, the receiving unit receiving the second indication information and the fourth identifier from the session management function network element includes: receiving the second indication information and the fourth identifier from the session management function network element and a fifth identifier, where the fifth identifier is the application identifier information of the application deployed in the data network corresponding to the fourth identifier; the deletion unit is specifically configured to delete the first information with the fourth identifier information corresponding to the fifth identifier.
作为一种可能的实施方式,所述发送单元根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息包括:当所述第二信息为所述DNS扩展机制客户端子网选项时,向集中DNS服务器发送DNS请求信息,所述DNS请求还包括所述第二信息;当所述第二信息为所述本地DNS解析器的地址信息时,向所述本地DNS解析器发送DNS请求信息。As a possible implementation manner, the sending unit sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes: when the second information is the client subnet option of the DNS extension mechanism , send DNS request information to the centralized DNS server, and the DNS request also includes the second information; when the second information is the address information of the local DNS resolver, send the DNS request to the local DNS resolver information.
第六方面公开一种通信装置,该装置可以为会话管理功能网元,也可以为会话管理功能网元中的模块(例如,芯片),该装置可以包括:发送单元,用于向第一实体发送第一信息,所述第一信息包括第一应用标识信息以及与所述第一应用标识信息对应的第二信息,或者第一应用标识信息、第一标识以及与所述第一应用标识信息和所述第一标识对应的第二信息,所述第一标识为至少一个数据网络接入标识,所述第二信息为DNS扩展机制客户端子网选项或本地DNS解析器的地址信息,所述第一信息用于所述第一实体确定所述第二信息。A sixth aspect discloses a communication apparatus, the apparatus may be a session management function network element, or a module (for example, a chip) in the session management function network element, the apparatus may include: a sending unit for sending a message to a first entity Send first information, where the first information includes first application identification information and second information corresponding to the first application identification information, or the first application identification information, the first identification and the first application identification information The second information corresponding to the first identifier, the first identifier is at least one data network access identifier, the second information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver, the The first information is used by the first entity to determine the second information.
作为一种可能的实施方式,所述发送单元,还用于向所述第一实体发送第二标识,所述第二标识为终端设备当前所在位置对应的数据网络接入标识;所述第一信息用于确定所述第二信息包括:所述第一信息和所述第二标识用于确定所述第二信息。As a possible implementation manner, the sending unit is further configured to send a second identifier to the first entity, where the second identifier is a data network access identifier corresponding to the current location of the terminal device; the first The information used to determine the second information includes: the first information and the second identifier are used to determine the second information.
作为一种可能的实施方式,所述装置还包括:接收单元,用于接收来自所述第一实体的所述第一应用标识信息和/或第一指示信息;所述发送单元向第一实体发送第一信息包括:根据所述第一应用标识信息和/或所述第一指示信息向第一实体发送第一信息。As a possible implementation manner, the apparatus further includes: a receiving unit, configured to receive the first application identification information and/or the first indication information from the first entity; the sending unit sends a message to the first entity. Sending the first information includes: sending the first information to the first entity according to the first application identification information and/or the first indication information.
作为一种可能的实施方式,所述第一信息还包括第三标识、第一标识以及与所述第一标识和所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information further includes a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier, and the third identifier is the first identifier. 1. Application identification information that identifies an application deployed in the corresponding data network, and the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
作为一种可能的实施方式,所述第一信息还包括第三标识以及与所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information further includes a third identifier and third information corresponding to the third identifier, where the third identifier is an application deployed in the data network corresponding to the first identifier application identification information, the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
作为一种可能的实施方式,所述发送单元,还用于向所述第一实体发送第二指示信息和第四标识,所述第四标识为不再为所述终端设备服务的数据网络的数据网络接入标识,所述第一标识包括所述第四标识,所述第二指示信息用于删除所述第一信息中所述第四标识对应的信息。As a possible implementation manner, the sending unit is further configured to send the second indication information and a fourth identifier to the first entity, where the fourth identifier is an identifier of a data network that no longer serves the terminal device. A data network access identifier, the first identifier includes the fourth identifier, and the second indication information is used to delete the information corresponding to the fourth identifier in the first information.
作为一种可能的实施方式,所述发送单元向所述第一实体发送第二指示信息和第四标识包括:向所述第一实体发送第二指示信息、第四标识和第五标识,所述第五标识为所述第四标识对应的数据网络中部署的应用的应用标识信息;所述第二指示信息用于删除所述第一信息中所述第四标识对应的信息包括:所述第二指示信息用于删除所述第一信息中与所述第四标识和所述第五标识对应的信息。As a possible implementation manner, the sending unit sending the second indication information and the fourth identifier to the first entity includes: sending the second indication information, the fourth identifier and the fifth identifier to the first entity, where The fifth identifier is the application identifier information of the application deployed in the data network corresponding to the fourth identifier; the second indication information is used to delete the information corresponding to the fourth identifier in the first information, including: the The second indication information is used to delete the information corresponding to the fourth identifier and the fifth identifier in the first information.
第七方面公开一种通信装置,该装置可以为第一实体,也可以为第一实体中的模块(例如,芯片),该装置可以包括:接收单元,用于接收来自终端设备的第一请求信息,所述第一请求信息包括第一应用标识信息;确定单元,用于根据从会话管理功能网元获取的第一信息确定第二信息,所述第二信息为第一标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息,所述第一标识为第二标识对应的数据网络中服务范围最小或与所述终端设备之间的距离最近的数据网络的数据网络接入标识,所述第二标识为所述终端设备当前所在位置对应的至少一个数据网络接入标识;发送单元,用于根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息,所述DNS请求信息包括所述第一应用标识信息,所述DNS请求信息用于获取应用服务器的地址信息。A seventh aspect discloses a communication apparatus, the apparatus may be a first entity or a module (eg, a chip) in the first entity, the apparatus may include: a receiving unit, configured to receive a first request from a terminal device information, the first request information includes first application identification information; the determining unit is configured to determine second information according to the first information obtained from the session management function network element, where the second information is the DNS extension corresponding to the first identification Mechanism client subnet option or address information of the local DNS resolver, the first identifier is the data network access of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier an identifier, where the second identifier is at least one data network access identifier corresponding to the current location of the terminal device; a sending unit, configured to send DNS request information to a centralized DNS server or a local DNS resolver according to the second information, The DNS request information includes the first application identification information, and the DNS request information is used to obtain address information of an application server.
作为一种可能的实施方式,所述接收单元,还用于接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第二信息。As a possible implementation manner, the receiving unit is further configured to receive the first information from the session management function network element, where the first information includes the second information.
作为一种可能的实施方式,所述接收单元,还用于接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第一应用标识信息和与所述第一应用标识信息对应的第二信息。As a possible implementation manner, the receiving unit is further configured to receive the first information from the session management function network element, where the first information includes the first application identification information and the first information related to the first information. A second information corresponding to the application identification information.
作为一种可能的实施方式,所述第一信息还包括第三标识和与所述第三标识对应的第三信息,所述第三标识为所述第二标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information further includes a third identifier and third information corresponding to the third identifier, where the third identifier is an application deployed in the data network corresponding to the second identifier application identification information, the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
作为一种可能的实施方式,所述发送单元,还用于向所述会话管理功能网元发送所述第一应用标识信息和/或第一指示信息,所述第一应用标识信息用于获取所述第一信息,所 述第一指示信息用于指示所述会话管理功能网元发送所述第一信息。As a possible implementation manner, the sending unit is further configured to send the first application identification information and/or the first indication information to the session management function network element, where the first application identification information is used to obtain The first information, the first indication information is used to instruct the session management function network element to send the first information.
作为一种可能的实施方式,所述接收单元,还用于接收来自所述会话管理功能网元的第二指示信息,所述第二指示信息用于指示删除所述第一信息;所述装置还包括:删除单元,用于根据所述第二指示信息删除所述第一信息。As a possible implementation manner, the receiving unit is further configured to receive second indication information from the session management function network element, where the second indication information is used to instruct to delete the first information; the apparatus It also includes: a deletion unit, configured to delete the first information according to the second indication information.
作为一种可能的实施方式,所述发送单元根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息包括:当所述第二信息为所述DNS扩展机制客户端子网选项时,向集中DNS服务器发送DNS请求信息,所述DNS请求还包括所述第二信息;当所述第二信息为所述本地DNS解析器的地址信息时,向所述本地DNS解析器发送DNS请求信息。As a possible implementation manner, the sending unit sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes: when the second information is the client subnet option of the DNS extension mechanism , send DNS request information to the centralized DNS server, and the DNS request also includes the second information; when the second information is the address information of the local DNS resolver, send the DNS request to the local DNS resolver information.
第八方面公开一种通信装置,该装置可以为会话管理功能网元,也可以为会话管理功能网元中的模块(例如,芯片),该装置可以包括:发送单元,用于向第一实体发送第一信息,所述第一信息包括第二信息,或第一应用标识信息和与所述第一应用标识信息对应的第二信息,所述第二信息为第一标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息,所述第一标识为第二标识对应的数据网络中服务范围最小或与终端设备之间的距离最近的数据网络的数据网络接入标识,所述第二标识为所述终端设备当前所在位置对应的至少一个数据网络接入标识,所述第一信息用于确定所述第二信息。An eighth aspect discloses a communication apparatus, the apparatus may be a session management function network element, or a module (for example, a chip) in the session management function network element, the apparatus may include: a sending unit for sending a message to a first entity Send first information, where the first information includes second information, or first application identification information and second information corresponding to the first application identification information, where the second information is a DNS extension mechanism corresponding to the first identification The client subnet option or the address information of the local DNS resolver, the first identifier is the data network access identifier of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier, so The second identifier is at least one data network access identifier corresponding to the current location of the terminal device, and the first information is used to determine the second information.
作为一种可能的实施方式,所述第一信息还包括第三标识和与所述第三标识对应的第三信息,所述第三标识为所述第二标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。As a possible implementation manner, the first information further includes a third identifier and third information corresponding to the third identifier, where the third identifier is an application deployed in the data network corresponding to the second identifier application identification information, the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
作为一种可能的实施方式,所述装置还包括:接收单元,用于接收来自所述第一实体的所述第一应用标识信息和/或第一指示信息;所述发送单元,具体用于根据所述第一应用标识信息和/或所述第一指示信息向第一实体发送第一信息。As a possible implementation manner, the apparatus further includes: a receiving unit, configured to receive the first application identification information and/or the first indication information from the first entity; the sending unit, specifically configured to The first information is sent to the first entity according to the first application identification information and/or the first indication information.
作为一种可能的实施方式,所述发送单元,还用于向所述第一实体发送第二指示信息,所述第二指示信息用于指示删除所述第一信息。As a possible implementation manner, the sending unit is further configured to send second indication information to the first entity, where the second indication information is used to indicate deletion of the first information.
第九方面公开一种通信装置,该通信装置可以为第一实体或者第一实体内的模块(例如,芯片)。该通信装置可以包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,当所述处理器执行所述存储器存储的计算机程序时,使得所述处理器执行第一方面或第一方面的任一实施方式公开的通信方法。A ninth aspect discloses a communication device, which may be a first entity or a module (eg, a chip) within the first entity. The communication device may include a processor, a memory, an input interface for receiving information from other communication devices other than the communication device, and an output interface for sending information outside the communication device The other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor causes the processor to execute the communication method disclosed in the first aspect or any embodiment of the first aspect.
第十方面公开一种通信装置,该通信装置可以为会话网络功能网元或者会话网络功能网元内的模块(例如,芯片)。该通信装置可以包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,当所述处理器执行所述存储器存储的计算机程序时,使得所述处理器执行第二方面或第二方面的任一实施方式公开的通信方法。A tenth aspect discloses a communication apparatus, which may be a session network function network element or a module (eg, a chip) within the session network function network element. The communication device may include a processor, a memory, an input interface for receiving information from other communication devices other than the communication device, and an output interface for sending information outside the communication device The other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor causes the processor to execute the communication method disclosed in the second aspect or any embodiment of the second aspect.
第十一方面公开一种通信装置,该通信装置可以为第一实体或者第一实体内的模块(例如,芯片)。该通信装置可以包括处理器、存储器、输入接口和输出接口,所述输入接口 用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,当所述处理器执行所述存储器存储的计算机程序时,使得所述处理器执行第三方面或第三方面的任一实施方式公开的通信方法。An eleventh aspect discloses a communication device, which may be a first entity or a module (eg, a chip) within the first entity. The communication device may include a processor, a memory, an input interface for receiving information from other communication devices other than the communication device, and an output interface for sending information outside the communication device The other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor causes the processor to execute the communication method disclosed in the third aspect or any embodiment of the third aspect.
第十二方面公开一种通信装置,该通信装置可以为会话网络功能网元或者会话网络功能网元内的模块(例如,芯片)。该通信装置可以包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,当所述处理器执行所述存储器存储的计算机程序时,使得所述处理器执行第四方面或第四方面的任一实施方式公开的通信方法。A twelfth aspect discloses a communication apparatus, which may be a session network function network element or a module (eg, a chip) within the session network function network element. The communication device may include a processor, a memory, an input interface for receiving information from other communication devices other than the communication device, and an output interface for sending information outside the communication device The other communication device outputs information, and when the processor executes the computer program stored in the memory, the processor causes the processor to execute the communication method disclosed in the fourth aspect or any embodiment of the fourth aspect.
第十三方面公开一种通信系统,该通信系统包括第九方面的通信装置和第十方面的通信装置。A thirteenth aspect discloses a communication system including the communication device of the ninth aspect and the communication device of the tenth aspect.
第十四方面公开一种通信系统,该通信系统包括第十一方面的通信装置和第十二方面的通信装置。A fourteenth aspect discloses a communication system including the communication device of the eleventh aspect and the communication device of the twelfth aspect.
第十五方面公开一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序或计算机指令,当该计算机程序或计算机指令运行时,实现如上述各方面公开的通信方法。A fifteenth aspect discloses a computer-readable storage medium, where a computer program or computer instruction is stored thereon, and when the computer program or computer instruction is executed, the communication method disclosed in the above aspects is implemented.
第十六方面公开一种芯片,包括处理器,用于执行存储器中存储的程序,当程序被执行时,使得芯片执行上面的方法。A sixteenth aspect discloses a chip including a processor for executing a program stored in a memory, and when the program is executed, the chip executes the above method.
作为一种可能的实施方式,存储器位于芯片之外。As a possible implementation, the memory is located off-chip.
第十七方面公开一种计算机程序产品,该计算机程序产品包括计算机程序代码,当该计算机程序代码被运行时,使得上述通信方法被执行。A seventeenth aspect discloses a computer program product comprising computer program code which, when executed, causes the above communication method to be performed.
图1是本申请实施例公开的一种5G网络架构示意图;FIG. 1 is a schematic diagram of a 5G network architecture disclosed in an embodiment of the present application;
图2是本申请实施例公开的一种网络架构示意图;2 is a schematic diagram of a network architecture disclosed in an embodiment of the present application;
图3是本申请实施例公开的另一种网络架构示意图;3 is a schematic diagram of another network architecture disclosed in an embodiment of the present application;
图4是本申请实施例公开的一种本地业务发现的示意图;4 is a schematic diagram of a local service discovery disclosed in an embodiment of the present application;
图5是本申请实施例公开的一种通信方法的流程示意图;FIG. 5 is a schematic flowchart of a communication method disclosed in an embodiment of the present application;
图6是本申请实施例公开的一种DNAI部署示意图;6 is a schematic diagram of a DNAI deployment disclosed in an embodiment of the present application;
图7是本申请实施例公开的另一种通信方法的流程示意图;FIG. 7 is a schematic flowchart of another communication method disclosed in an embodiment of the present application;
图8是本申请实施例公开的又一种通信方法的流程示意图;FIG. 8 is a schematic flowchart of another communication method disclosed by an embodiment of the present application;
图9是本申请实施例公开的又一种通信方法的流程示意图;FIG. 9 is a schematic flowchart of another communication method disclosed by an embodiment of the present application;
图10是本申请实施例公开的又一种通信方法的流程示意图;FIG. 10 is a schematic flowchart of another communication method disclosed by an embodiment of the present application;
图11是本申请实施例公开的又一种通信方法的流程示意图;FIG. 11 is a schematic flowchart of another communication method disclosed by an embodiment of the present application;
图12是本申请实施例公开的一种通信装置的结构示意图;FIG. 12 is a schematic structural diagram of a communication device disclosed in an embodiment of the present application;
图13是本申请实施例公开的另一种通信装置的结构示意图;FIG. 13 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application;
图14是本申请实施例公开的又一种通信装置的结构示意图;FIG. 14 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application;
图15是本申请实施例公开的又一种通信装置的结构示意图;FIG. 15 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application;
图16是本申请实施例公开的又一种通信装置的结构示意图;FIG. 16 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application;
图17是本申请实施例公开的又一种通信装置的结构示意图。FIG. 17 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application.
本申请实施例公开了一种通信方法、装置及计算机可读存储介质,用于节约通信资源。以下分别进行详细说明。The embodiments of the present application disclose a communication method, an apparatus, and a computer-readable storage medium, which are used to save communication resources. Each of them will be described in detail 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 a communication method, an apparatus, and a computer-readable storage medium disclosed in the embodiments of the present application, the network architecture used in the embodiments of the present application is first described below. Please refer to FIG. 1. FIG. 1 is a schematic diagram of a 5G network architecture disclosed in an embodiment of the present application. 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) network Element, data network (DN), access and mobility management function (AMF) network element, session management function (session management function, SMF) network element, policy control function (policy control function) , PCF) network element, application function (AF) network element, unified data management (unified data management, UDM) network element, authentication server function (authentication server function, AUSF) network element and network slice selection (network slice selection) selection function, NSSF) network element. Different network elements or devices may communicate through interfaces, and the interface names shown in FIG. 1 are just an example, which is not specifically limited in this embodiment of the present application.
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)终端,可穿戴设备(例如智能手表、智能手环、计步器等),车载设备(例如,汽车、自行车、电动车、飞机、船舶、火车、高铁等)、虚拟现实(virtual reality,VR)设备、增强现实(augmented reality,AR)设备、工业控制(industrial control)中的无线终端、智能家居设备(例如,冰箱、电视、空调、电表等)、智能机器人、车间设备、无人驾驶(self driving)中的无线终端、远程手术(remote medical surgery)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端,或智慧家庭(smart home)中的无线终端、飞行设备(例如,智能机器人、热气球、无人机、飞机)或其他可以接入网络的设备。图1中终端设备以UE示出,仅作为示例,并不对终端设备进行限定。UE可以通过建立UE-(R)AN设备-UPF-DN之间的会话,即协议数据单元(protocol data unit,PDU)会话,来访问DN。UE, also known as terminal equipment, mobile station (mobile station, MS), mobile terminal (mobile terminal, MT), etc., is a device that provides voice and/or data connectivity to users. The terminal device 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 (cordless phone) or wireless local loop (wireless local loop, WLL) station, machine type communication (machine type communication, MTC) terminals, wearable devices (such as smart watches, smart bracelets, pedometers, etc.), in-vehicle devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed rail, etc.), virtual reality (virtual reality, VR) equipment, augmented reality (AR) equipment, wireless terminals in industrial control (industrial control), smart home equipment (for example, refrigerators, TVs, air conditioners, electricity meters, etc.), intelligent robots, workshop equipment, unmanned driving Wireless terminals in (self driving), wireless terminals in remote medical surgery, wireless terminals in smart grid, wireless terminals in transportation safety, in smart city wireless terminals, or wireless terminals in smart homes, flying devices (eg, smart robots, hot air balloons, drones, airplanes), or other devices that can access the network. The terminal device in FIG. 1 is shown as a UE, which is only 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 (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, quality of service (QoS) flow management, data compression, and encryption on the air interface side. (R)AN devices may include various forms of base stations, such as: macro base stations, micro base stations (also called small stations), relay stations, access points, and the like. The (R)AN device may also include a wireless fidelity (WiFi) access point (AP). The (R)AN device may also include a worldwide interoperability for microwave access (WiMax) base station (BS).
UPF网元主要负责对用户报文进行处理,如转发、计费等。可以从DN接收用户报文,并通过RAN设备传输给UE;也可以通过RAN设备从UE接收用户报文,并转发到DN。UPF网元为UE提供服务的传输资源和调度功能由SMF网元管理控制。The UPF network element is mainly responsible for processing user packets, such as forwarding and charging. The user packet can be received from the DN and transmitted to the UE through the RAN device; the user packet can also be received from the UE through the RAN device and forwarded to the DN. The transmission resources and scheduling functions provided by the UPF network element to serve the UE are managed and controlled by the SMF network element.
DN可以是因特网(internet)、IP多媒体业务(IP multi-media service,IMS)网络、区域网络,即本地网络,例如多接入边缘计算(multi access edge computing,MEC)网络,等。DN是UE的PDU会话访问的目的地。DN中包括或部署有应用服务器,应用服务器可以与UE进行数据传输,为UE提供业务服务。The DN may be the Internet, an IP multi-media service (IMS) network, a regional network, i.e. a local network, such as a 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信令的转发以及移动性管理。The AMF network element can access the UE's non-access stratum (NAS) signaling (including session management (SM) signaling) through the N1 interface and the N2 interface to access the RAN signaling to complete the UE's non-access stratum (NAS) signaling. Registration process and forwarding of SM signaling and mobility management.
SMF网元主要负责移动网络中的会话管理,如会话的建立、修改、释放、更新等流程。具体功能如为用户分配IP地址、选择提供报文转发功能的UPF网元等。The SMF network element is mainly responsible for session management in the mobile network, such as session establishment, modification, release, update and other procedures. Specific functions include assigning IP addresses to users and selecting UPF network elements that provide packet forwarding functions.
PCF网元可以负责终端设备策略管理,既包括移动性相关策略,也包括PDU会话相关策略,如QoS策略、计费策略等。The PCF network element can be responsible for terminal device policy management, including both mobility-related policies and PDU session-related policies, such as QoS policies, charging policies, and the like.
AF网元主要支持与第三代合作伙伴计划(3rd generation partnership project,3GPP)核心网交互来提供服务,来影响业务流路由、接入网能力开放、策略控制等。The AF network element mainly supports interaction with the 3rd generation partnership project (3GPP) core network to provide services to affect service flow routing, access network capability opening, and policy control.
UDM网元负责用户密钥管理、用户标识处理、订阅数据的访问授权、UE的网络功能实体管理、会话和业务连续性管理、短消息推送、合法监听、签约管理、短消息管理、用于管控用户数据,如签约信息的管理。The UDM network element is responsible for user key management, user identification processing, access authorization for subscription data, UE network function entity management, session and service continuity management, short message push, legal interception, subscription management, short message management, and management and control. Management of user data, such as subscription information.
AUSF网元可以负责对UE的接入进行认证授权。The AUSF network element may be responsible for authenticating and authorizing the access of the UE.
核心网中的以上各个网元也可以称为功能实体,既可以是在专用硬件上实现的网络元件,也可以是在专用硬件上运行的软件实例,或者是在适当平台上虚拟化功能的实例,例如,上述虚拟化平台可以为云平台。Each of the above network elements in the core network can also be referred to as functional entities, which can be either network elements implemented on dedicated hardware, software instances running on dedicated hardware, or instances of virtualized functions on an appropriate platform For example, the above-mentioned virtualization platform may be a cloud platform.
需要说明的是,图1所示的系统架构中不限于仅包括图中所示的网元,还可以包括其它未在图中表示的设备,具体本申请在此处不再一一列举。It should be noted that, the system architecture shown in FIG. 1 is not limited to including only the network elements shown in the figure, but may also include other devices not shown in the figure, which are not listed one by one in this application.
需要说明的是,本申请实施例并不限定核心网中各个网元的分布形式,图1所示的分布形式只是示例性的,本申请不作限定。It should be noted that the embodiments of the present application do not limit the distribution form of each network element in the core network, and the distribution form shown in FIG. 1 is only exemplary and is not limited in the present application.
应理解,本申请中所有网元的名称仅仅作为示例,在未来通信中,如6G中,还可以称为其它名称,或者在未来通信中,如6G中,本申请涉及的网元还可以通过其它具有相同功能的实体或者设备等来替代,本申请对此均不作限定。这里做统一说明,后续不再赘述。It should be understood that the names of all network elements in this application are only examples, and in future communications, such as 6G, they may also be called other names, or in future communications, such as 6G, the network elements involved in this application can also be referred to by It can be replaced by other entities or devices with the same function, which are not limited in this application. A unified description is made here, and will not be repeated in the future.
需要说明的是,图1所示的5G网络架构,并不构成对5G网络的限定。可选地,本申请实施例的方法还适用于未来的各种通信系统,例如6G或者其他通信网络等。It should be noted that the 5G network architecture shown in FIG. 1 does not constitute a limitation on the 5G network. Optionally, the methods in the embodiments of the present application are 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,也可以被称为EAS。当UE存在业务需求的情况下,SMF网元可以插入与本地DN对应的UPF网元(即本地(local,L)-PSA),以便UE可以就近访问本地DN中的应用服务器。例如,图2中的PAS2为一个L-PSA。需要说明的是,图2中的UPF网元的数量仅仅为示例,还可以包括更多或者更少的UPF,本申请对此不作限定。There is only one UPF network element in the 5G network architecture shown in Figure 1. Based on the above basic network architecture, 5G can also support the insertion of multiple session anchor UPF networks on the user plane path (ie, data path) of a PDU session. element to support the connection to the local (local) DN, so that the UE can access the application server in the local DN nearby. Please refer to FIG. 2, which is a schematic diagram of a network architecture disclosed in an embodiment of the present application. As shown in Figure 2, multiple UPF network elements are introduced into the network architecture of the communication system, and these multiple UPF network elements can be respectively uplink classifier (ULCL)/branching point (BP), UPFPDU session Anchor point (PDU session anchor, PSA) 1 and UPF PSA2. The ULCL/BP can distribute the uplink data packets from the UE to PSA1 or PSA2 according to the distribution rules, and can also send the downlink data packets from PSA1 or PSA2 to the UE. An N6 interface exists between the PSA1 and the DN. For example, the DN may be a DN located in a central data center (data central, 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 to the edge hosting environment (EHE) closer to the UE, which can also be called EAS. When the UE has service requirements, the SMF network element can be inserted into the UPF network element corresponding to the local DN (ie local (local, L)-PSA), 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 UPF network elements in FIG. 2 is only an example, and may also include more or less UPFs, which is not limited in this application.
需要说明的是在图2中仅以一个L-PSA示出,应理解也可以包括多个L-PSA、多个ULCL/BP,本申请对此不作限定。请参阅图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 and multiple ULCL/BPs may also be included, which is not limited in this application. Please refer to FIG. 3 , which is a schematic diagram of another network architecture disclosed in an embodiment of the present application. As shown in FIG. 3 , there may be multiple L-PSAs in the network architecture, such as L-PSA1 and L-PSA2 in FIG. 3 . In this network architecture, ULCL/BP can connect multiple L-PSAs. In this example, ULCL/BP can be co-located with L-PSA1 to connect to MEC1; L-PSA2 can be connected to MEC2, and PSA can be connected to the center DC. It should be understood that the ULCL/BP and the L-PSA1 may also be two independent network elements or devices.
为了更好地理解本申请实施例,下面先对本申请实施例的应用场景进行描述。在第四代移动通信技术(the 4th generation mobile communication technology,4G)及之前的传统移动网络架构和部署中,用户面设备基本遵从树形拓扑部署。上行的用户报文经过基站及回传网络,最终通过集中部署的锚点网关接入数据网络。这些锚点网关一般部署在数据网络中较高的位置,如大区中心机房等。这种拓扑结构相对简单,便于运营商在锚点网关处进行集中地业务管控和报文处理。In order to better understand the embodiments of the present application, the following first describes application scenarios of the embodiments of the present application. In the 4th generation mobile communication technology (4G) and previous traditional mobile network architectures and deployments, user plane devices are basically deployed in a tree topology. The uplink user packets pass through the base station and the backhaul network, and finally access the data network through the centrally deployed anchor gateway. These anchor gateways are generally deployed in higher locations in the data network, such as the central computer room in a large area. This topology is relatively simple, and it is convenient for operators to perform centralized service management and control and packet processing at the anchor gateway.
随着移动业务流量的爆炸式增长,这种部署方式越来越难以支撑这种快速增长的移动业务流量模型。一方面,在锚点网关集中部署式的网络中,增长的流量最终集中在网关及核心机房处,对回程网络带宽、机房吞吐量和网关规格的要求越来越高。另一方面,从基站到锚点网关长距离的回城网络和复杂的传输环境,导致用户报文传输具有较大的时延和抖动。With the explosive growth of mobile service traffic, it is increasingly difficult for this deployment method to support this fast-growing mobile service traffic model. On the one hand, in the centralized deployment of anchor gateways, the increased traffic is finally concentrated in the gateway and the core computer room, and the requirements for backhaul network bandwidth, computer room throughput and gateway specifications are getting higher and higher. On the other hand, the long-distance back-to-city network from the base station to the anchor gateway and the complex transmission environment result in large delay and jitter in the transmission of user packets.
为了解决上述问题,业界提出了EC。EC可以通过将UPF网元及业务处理能力下移到网络边缘,实现了分布式业务流量的本地处理,可避免流量的过度集中,从而可以大大降低了对核心机房和集中网关的规格需求。同时缩短了回程网络的距离,可以降低用户报文的时延和抖动,使得超低时延业务的部署成为可能。In order to solve the above problems, the industry proposes EC. EC can realize local processing of distributed service traffic by moving UPF network elements and service processing capabilities down to the network edge, which can avoid excessive concentration of traffic, thus greatly reducing the specification requirements for core equipment rooms and centralized gateways. At the same time, the distance of the backhaul network is shortened, the delay and jitter of user packets can be reduced, and the deployment of ultra-low delay services is possible.
在EC部署场景中,某些业务对应的EAS可能会分布式部署于多个网络边缘。这些EAS提供相同的业务和内容,但是具有不同的IP地址。当UE需要接入该业务时,EC场景要求其接入距离UE最近的可用EAS。因此,UE需要获取恰当的EAS的IP地址。In the EC deployment scenario, the EAS corresponding to some services may be distributed and deployed at multiple network edges. These EASs provide the same services and content, but with different IP addresses. When the UE needs to access the service, the EC scenario requires it to access the available EAS closest to the UE. Therefore, the UE needs to obtain the proper IP address of the EAS.
请参阅图4,图4是本申请实施例公开的一种本地业务发现的示意图。如图4所示,UE可以向第一实体发送第一请求信息,第一请求信息可以携带或包括应用标识信息。第一实 体接收到来自UE的第一请求信息之后,可以向SMF网元发送第二请求信息,第二请求信息包括该应用标识信息。SMF网元接收到来自第一实体的第二请求信息之后,可以向第一实体发送关联UE当前所在位置的信息,如DNS扩展机制(extended mechanisms for DNS,EDNS)客户端子网选项(EDNS client subnet option,ECS option)、本地DNS解析器(resolver)的地址信息等。第一实体接收到来自SMF网元的上述信息之后,当上述信息为ECS option时,可以向集中(central)DNS服务器发送第一DNS请求信息,第一DNS请求信息包括上述应用标识信息和上述信息。集中DNS服务器接收到来自第一提示的第一DNS请求信息之后,可以确定该应用标识信息和上述信息对应的应用服务器的地址信息,并通过第一实体向UE发送该应用服务器的地址信息。当上述信息为本地DNS解析器的地址信息时,第一实体可以向本地DNS解析器发送第二请求信息,第二请求信息包括上述应用标识信息。本地DNS解析器接收到来自第一实体的第二请求信息之后,当可以确定该应用标识信息和上述信息对应的应用服务器的地址信息时,可以向UE发送该应用服务器的地址信息;当无法确定该应用标识信息和上述信息对应的应用服务器的地址信息,可以向集中DNS服务器或本地DNS服务器发送第三请求信息。第二请求信息和第三请求信息可以为DNS请求信息,也可以为其它请求信息,在此不加限定。ECS option可以为本地UPF网元的地址信息,也可以为终端设备当前所在位置对应MEC平台子网的地址信息,还可以为终端设备所在位置网段的地址信息,还可以为其他关联终端设备所在位置的信息。地址信息可以为IP地址,也可以为其它可以唯一标识地址的信息。Please refer to FIG. 4. FIG. 4 is a schematic diagram of a local service discovery disclosed in an embodiment of the present application. As shown in FIG. 4 , the UE may send first request information to the first entity, and the first request information may carry or include application identification information. After receiving the first request information from the UE, the first entity may send the second request information to the SMF network element, where the second request information includes the application identification information. After receiving the second request information from the first entity, the SMF network element can send information related to the current location of the UE to the first entity, such as the extended mechanisms for DNS (EDNS) client subnet option (EDNS client subnet). option, ECS option), the address information of the local DNS resolver (resolver), etc. After the first entity receives the above-mentioned information from the SMF network element, when the above-mentioned information is the ECS option, it can send the first DNS request information to the centralized (central) DNS server, where the first DNS request information includes the above-mentioned application identification information and the above-mentioned information. . After receiving the first DNS request information from the first prompt, the centralized DNS server can determine the application identification information and the address information of the application server corresponding to the above information, and send the address information of the application server to the UE through the first entity. When the above information is the address information of the local DNS resolver, the first entity may send second request information to the local DNS resolver, where the second request information includes the above application identification information. After receiving the second request information from the first entity, the local DNS resolver can send the address information of the application server to the UE when the application identification information and the address information of the application server corresponding to the above information can be determined; The application identification information and the address information of the application server corresponding to the above information may send the third request information to the centralized DNS server or the local DNS server. The second request information and the third request information may be DNS request information, or may be other request information, which are not limited herein. ECS option can be the address information of the local UPF network element, the address information of the MEC platform subnet corresponding to the current location of the terminal device, the address information of the network segment where the terminal device is located, or the location of other associated terminal devices. location information. The address information may be an IP address, or may be other information that can uniquely identify an address.
上述方法中,UE每发送一个请求信息,第一实体均需要与SMF网元之间进行两次信令交互。而第一实体和SMF网元均服务大量的UE,而每个UE又会产生大量的请求信息,这就导致了第一实体与SMF网元之间的信令交互过于频繁,造成了大量的信令开销、资源紧张。此外,由于第一实体与SMF网元之间需要进行两次信令交互,以致增加了UE获取应用服务器的地址信息的时延。In the above method, each time the UE sends a request message, the first entity needs to perform two signaling interactions with the SMF network element. However, both the first entity and the SMF network element serve a large number of UEs, and each UE will generate a large amount of request information, which leads to too frequent signaling interactions between the first entity and the SMF network element, resulting in a large number of Signaling overhead and resource constraints. In addition, since two signaling interactions are required between the first entity and the SMF network element, the delay for the UE to acquire the address information of the application server is increased.
应理解,上述第一实体可以为独立的设备或网元,也可以为部署在其它设备或网元上的功能或模型。It should be understood that the above-mentioned first entity may be an independent device or network element, or may be a function or model deployed on other devices or network elements.
基于上述网络架构,请参阅图5,图5是本申请实施例公开的一种通信方法的流程示意图。如图5所示,该通信方法可以包括以下步骤。Based on the above network architecture, please refer to FIG. 5 , which is a schematic flowchart of a communication method disclosed in an embodiment of the present application. As shown in FIG. 5 , the communication method may include the following steps.
501、终端设备向第一实体发送包括第一应用标识信息的第一请求信息。501. A terminal device sends first request information including first application identification information to a first entity.
相应地,第一实体可以接收来自终端设备的包括第一应用标识信息的第一请求信息。Correspondingly, the first entity may receive the first request information including the first application identification information from the terminal device.
在终端设备有业务需求的情况下,终端设备可以向第一实体发送第一请求信息。终端设备可以通过ULCL/BP和PSA向第一实体发送第一请求信息,也可以通过其它设备或网元向第一实体发送第一请求信息,在此不加限定。第一请求信息可以为DNS请求信息,也可以为DNS查询(query)消息,还可以为其它请求信息,在此不加限定。应用标识信息为用于标识应用的信息,可以为全量域名(fully qualified domain name,FQDN),也可以为应用标识(application identity,AppID),还可以为业务标识,还可以为其它可以唯一标识应用的信息。In the case that the terminal device has service requirements, the terminal device may send the first request information to the first entity. The terminal device may send the first request information to the first entity through ULCL/BP and PSA, or may send the first request information to the first entity through other devices or network elements, which is not limited herein. The first request information may be DNS request information, may also be a DNS query (query) message, or may be other request information, which is not limited herein. The application identification information is the information used to identify the application, which can be a fully qualified domain name (FQDN), an application identity (AppID), a business identifier, or other applications that can uniquely identify Information.
在一种情况下,第一请求信息可以不包括终端设备的标识,但SMF网元可以通过传输 第一请求信息的PDU会话确定第一请求信息是哪个终端设备发送的请求信息。In one case, the first request information may not include the identifier of the terminal device, but the SMF network element may determine which terminal device sent the first request information through the PDU session that transmits the first request information.
在另一种情况下,第一请求信息还可以包括终端设备的标识。第一实体可以根据终端设备的标识确定第一请求信息是哪个终端设备发送的请求信息。In another case, the first request information may further include the identification of the terminal device. The first entity may determine, according to the identifier of the terminal device, which terminal device sends the first request information.
502、第一实体根据第一应用标识信息以及从SMF网元获取的第一信息确定第二信息。502. The first entity determines the second information according to the first application identification information and the first information obtained from the SMF network element.
第一实体接收到来自终端设备的第一请求信息之后,可以根据第一应用标识信息以及从SMF网元获取的第一信息确定第二信息。第一实体可以先从SMF网元获取的第一信息中查找或匹配包括第一应用标识信息的第一信息,之后可以从查找或匹配到的第一信息中获取第一应用标识信息对应的第二信息。第二信息可以为关联终端设备当前所在位置的信息,即与终端设备当前所在位置存在关联的信息。第二信息可以为ECS option,也可以为本地DNS解析器的地址信息,还可以为其他关联终端设备所在位置的信息。After receiving the first request information from the terminal device, the first entity may determine the second information according to the first application identification information and the first information obtained from the SMF network element. The first entity may first search for or match the first information including the first application identification information from the first information obtained by the SMF network element, and then obtain the first information corresponding to the first application identification information from the searched or matched first information. 2. Information. The second information may be information associated with the current location of the terminal device, that is, information associated with the current location of the terminal device. The second information may be the ECS option, the address information of the local DNS resolver, or the information of the location of other associated terminal devices.
在一种实现方式中,第一信息可以包括第一应用标识信息以及与第一应用标识信息对应的第二信息。此外,第一信息还可以包括第三标识以及与第三标识对应的第三信息,第三标识为第一标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的ECS option或本地DNS解析器的地址信息。In an implementation manner, the first information may include first application identification information and second information corresponding to the first application identification information. In addition, the first information may also include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the first identifier, and the third information corresponds to the third identifier The ECS option or address information of the local DNS resolver.
第一信息可以理解为包括两部分:应用标识信息和第四信息。第四信息为关联终端设备当前所在位置的信息,包括第二信息,还可以包括第三信息。第一信息包括的应用标识信息与第四信息之间可以为一一对应关系,即一个应用标识信息只对应一个第四信息,相应地,一个第四信息只对应一个应用标识信息。第一信息包括的应用标识信息与第四信息之间也可以为多对一的关系,即一个应用标识信息可以对应一个第四信息,多个应用标识信息也可以对应一个第四信息。应用标识信息与第四信息之间的关系,可以表示为应用标识信息与第四信息之间的对应关系,可以以数据表、键值对、上下文或其他形式存储,对存储形式不做限定。例如,应用标识信息与第四信息之间的对应关系可以如表1或表2所示:The first information can be understood as including two parts: application identification information and fourth information. The fourth information is information about the current location of the associated terminal device, including the second information, and may also include the third information. There may be a one-to-one correspondence between the application identification information included in the first information and the fourth information, that is, one application identification information corresponds to only one fourth information, and correspondingly, one fourth information corresponds to only one application identification information. The application identification information included in the first information and the fourth information may also be in a many-to-one relationship, that is, one application identification information may correspond to one fourth information, and multiple application identification information may also correspond to one fourth information. The relationship between the application identification information and the fourth information can be expressed as the corresponding relationship between the application identification information and the fourth information, and can be stored in a data table, key-value pair, context or other forms, and the storage form is not limited. For example, the corresponding relationship between the application identification information and the fourth information may be as shown in Table 1 or Table 2:
应用标识信息application identification information |
第四信息 |
应用1Application 1 |
信息1 |
应用2 |
信息2 |
…… | …… |
应用KApplication K | 信息KInformation K |
表1Table 1
应用标识信息application identification information |
第四信息 |
应用1Application 1 |
信息1 |
应用2 |
信息1 |
…… | …… |
应用KApplication K | 信息MInformation M |
表2Table 2
其中,K和M为大于或等于1的整数。上述表中的应用1-应用K为应用标识,信息1-信息K为应用标识对应的关联终端设备当前所在位置的信息。Wherein, K and M are integers greater than or equal to 1. The application 1-application K in the above table is the application identifier, and the information 1-information K is the information of the current location of the associated terminal device corresponding to the application identifier.
进一步地,第一信息还可以包括与第一应用标识信息和第二信息对应的数据网络接入标识(data network access identifier,DNAI)。第一信息还可以包括与第三标识和第三信息对应的DNAI。DNAI为连接到应用所部署的数据网络的用户面接入的标识(identifier of a user plane access to one or more DN(s)where applications are deployed)。DNAI可以为边缘计算的接入点的标识,也可以为部署在网络边缘的服务器的接入(或位置)的标识。当第一信息包括DNAI时,可以理解为第一信息中由一个应用标识信息和一个DNAI可以唯一确定一个关联终端设备当前所在位置的信息。Further, the first information may further include a data network access identifier (data network access identifier, DNAI) corresponding to the first application identification information and the second information. The first information may further include DNAI corresponding to the third identification and the third information. DNAI is the identifier of a user plane access to one or more DN(s) where applications are deployed) connected to the data network deployed by the application. DNAI can be an identifier of an access point for edge computing, or an identifier of access (or location) of a server deployed at the edge of the network. When the first information includes DNAI, it may be understood that the first information includes an application identification information and a DNAI that can uniquely determine the current location of an associated terminal device.
在另一种实现方式中,第一信息可以包括第一应用标识信息、第一标识以及与第一应用标识信息和第一标识对应的第二信息,第一标识为至少一个DNAI。第一信息还可以包括第三标识、第一标识以及与第一标识和第三标识对应的第三信息。In another implementation manner, the first information may include first application identification information, a first identification, and second information corresponding to the first application identification information and the first identification, and the first identification is at least one DNAI. The first information may further include a third identification, a first identification, and third information corresponding to the first identification and the third identification.
第一信息包括的一个DNAI和一个应用标识信息可以唯一确定一个第四信息,DNAI和应用标识信息与第四信息之间的关系,可以表示为DNAI和应用标识信息与第四信息之间的对应关系,可以以数据表、键值对、上下文或其他形式存储,对存储形式不做限定。例如,DNAI和应用标识信息与第四信息之间的对应关系可以如表3所示:A DNAI and an application identification information included in the first information can uniquely determine a fourth information, and the relationship between the DNAI and the application identification information and the fourth information can be expressed as the correspondence between the DNAI and the application identification information and the fourth information. Relationships can be stored in data tables, key-value pairs, contexts, or other forms, and the storage form is not limited. For example, the corresponding relationship between the DNAI and the application identification information and the fourth information may be as shown in Table 3:
DNAIDNAI | 应用标识信息application identification information |
第四信息 |
DNAI 1DNAI 1 |
应用1 |
信息1 |
DNAI 2 |
应用2 |
信息2 |
…… | …… | …… |
DNAI KDNAK | 应用KApplication K | 信息KInformation K |
表3table 3
表3中的信息1-信息K对应K个不同的信息,应用1-应用K对应的应用中可以存在相同的应用,DNAI 1-DNAIK中也可以有相同的,但DNAI+应用标识信息不能存在相同的。The information 1-information K in Table 3 corresponds to K different information, the same application can exist in the application corresponding to the application 1-application K, and the same application can also exist in the DNAI 1-DNAIK, but the DNAI+ application identification information cannot exist the same of.
可见,第一信息不仅可以包括当前确定第二信息需要的信息,而且还可以包括当前确定第二信息不需要的信息,而这些信息在第一实体接收到其它包括应用标识信息的请求信息后可能会被使用,从而可以减少第一实体与SMF网元之间的交互,从而可以节约传输资源。It can be seen that the first information may include not only the information currently required to determine the second information, but also the information that is not currently required to determine the second information, and these information may be included after the first entity receives other request information including the application identification information. will be used, so that the interaction between the first entity and the SMF network element can be reduced, so that transmission resources can be saved.
SMF网元可以向第一实体发送第一信息。SMF网元可以主动向第一实体发送第一信息。例如,当SMF网元检测到终端设备建立PDU会话,或者终端设备当前所在位置对应的DNAI发生变化时,SMF网元可以向第一实体发送第一信息。SMF网元也可以是在接收到来自第一实体的用于获取第一信息的信息之后,向第一实体发送第一信息。The SMF network element may send the first information to the first entity. The SMF network element may actively send the first information to the first entity. For example, when the SMF network element detects that the terminal device establishes a PDU session, or the DNAI corresponding to the current location of the terminal device changes, the SMF network element may send the first information to the first entity. The SMF network element may also send the first information to the first entity after receiving the information for acquiring the first information from the first entity.
相应地,第一实体可以接收来自SMF网元的第一信息。第一信息可以是第一实体在接收到第一请求信息之前或同时接收的,也可以是第一实体在接收到第一请求信息之后接收的。当第一信息是第一实体在接收第一请求信息之前接收的时,第一信息可以是SMF主动发送给第一实体的,也可以是第一实体在之前接收到其它包括应用标识信息的请求信息之后从SMF网元获取的,因此,第一实体接收到第一请求信息之后,不需要从SMF网元获取第一信息,可以减少第一实体与SMF网元之间的交互,从而可以节约传输资源。Correspondingly, the first entity may receive the first information from the SMF network element. The first information may be received by the first entity before or at the same time as the first request information, or may be received by the first entity after receiving the first request information. When the first information is received by the first entity before receiving the first request information, the first information may be actively sent by the SMF to the first entity, or may be received by the first entity before other requests including application identification information The information is obtained from the SMF network element later. Therefore, after the first entity receives the first request information, it does not need to obtain the first information from the SMF network element, which can reduce the interaction between the first entity and the SMF network element, thereby saving transfer resources.
第一实体接收到来自终端设备的第一请求信息之后,可以先判断是否存在能够确定第二信息的第一信息,当判断出存在能够确定第二信息的第一信息时,可以根据第一信息和 第一应用标识信息确定第二信息。当判断出不存在能够确定第二信息的第一信息时,可以先向SMF网元发送第一应用标识信息和/或第一指示信息。SMF网元接收到来自第一实体的第一应用标识信息和/或第一指示信息之后,可以根据第一应用标识信息和/或第一指示信息向第一实体发送第一信息。此外,SMF网元还可以与第一信息一起向第一实体发送第二信息。当SMF网元未向第一实体发送第二信息时,第一实体接收到来自SMF网元的第一信息之后,可以根据第一应用标识信息和第一信息确定第二信息。After the first entity receives the first request information from the terminal device, it can first determine whether there is first information that can determine the second information, and when it is determined that there is first information that can determine the second information, it can determine whether there is first information based on the first information. and the first application identification information to determine the second information. When it is determined that there is no first information capable of determining the second information, the first application identification information and/or the first indication information may be sent to the SMF network element first. After receiving the first application identification information and/or the first indication information from the first entity, the SMF network element may send the first information to the first entity according to the first application identification information and/or the first indication information. In addition, the SMF network element may also send the second information to the first entity together with the first information. When the SMF network element does not send the second information to the first entity, after receiving the first information from the SMF network element, the first entity may determine the second information according to the first application identification information and the first information.
当第一实体向SMF网元发送的是第一指示信息时,SMF网元可以根据终端设备当前所在位置确定第一信息,即可以根据终端设备当前所在位置对应的DNAI确定第一信息,也即可以根据DNAI中对应的区域包括终端设备当前所在位置的DNAI确定第一信息。当第一实体向SMF网元发送的是第一应用标识信息时,SMF网元可以根据第一应用标识信息确定第一信息,也可以根据第一应用标识信息和终端设备当前所在位置确定第一信息。当第一实体向SMF网元发送的是第一该应用标识信息和第一指示信息时,SMF网元可以根据第一应用标识信息和终端设备当前所在位置确定第一信息。When the first entity sends the first indication information to the SMF network element, the SMF network element may determine the first information according to the current location of the terminal device, that is, the first information may be determined according to the DNAI corresponding to the current location of the terminal device, that is The first information may be determined according to the DNAI where the corresponding area in the DNAI includes the current location of the terminal device. When the first entity sends the first application identification information to the SMF network element, the SMF network element may determine the first information according to the first application identification information, or may determine the first information according to the first application identification information and the current location of the terminal device. information. When the first entity sends the first application identification information and the first indication information to the SMF network element, the SMF network element may determine the first information according to the first application identification information and the current location of the terminal device.
此外,SMF网元也可以考虑终端设备的业务签约信息,可以根据业务签约信息中终端设备签约的边缘业务确定第一信息,即根据终端设备的业务签约信息中的应用标识信息和第一应用标识信息确定第一信息。In addition, the SMF network element may also consider the service subscription information of the terminal device, and may determine the first information according to the edge service subscribed by the terminal device in the service subscription information, that is, according to the application identification information and the first application identification in the service subscription information of the terminal device. The information determines the first information.
当第一实体向SMF网元发送了第一应用标识信息时,第一信息可以包括第一应用标识信息。此外,第一信息还可以包括除第一应用标识信息之外的其它应用标识信息,部署了这些应用标识信息对应的应用的数据网络的DNAI,以及与这些应用标识信息和DNAI对应的ECS option或本地DNS解析器地址。这些应用标识信息可以包括以下一种或多种:When the first entity sends the first application identification information to the SMF network element, the first information may include the first application identification information. In addition, the first information may also include other application identification information except the first application identification information, the DNAI of the data network in which the application corresponding to the application identification information is deployed, and the ECS option or the corresponding application identification information and DNAI. Local DNS resolver address. These application identification information can include one or more of the following:
a)第一数据网络中部署的部分或全部应用的应用标识信息,第一数据网络为终端设备当前所在位置对应的部署有第一应用标识信息对应应用的数据网络;a) application identification information of some or all of the applications deployed in the first data network, where the first data network is a data network corresponding to the current location of the terminal device where the application corresponding to the first application identification information is deployed;
b)第一数据网络中有部署但第二数据网络中未部署的应用的应用标识信息,第二数据网络为终端设备当前所在位置对应的,且服务范围被第一数据网络所包含的数据网络的集合;b) There is application identification information of applications deployed in the first data network but not deployed in the second data network, the second data network corresponds to the current location of the terminal device, and the service range is included in the first data network. collection;
c)第二数据网络中部署的部分或全部应用的应用标识信息;c) application identification information of some or all of the applications deployed in the second data network;
d)第三数据网络中有部署但第一数据网络和第二数据网络中未部署的部分或全部应用的应用标识信息,第三数据网络为服务范围包括第一数据网络的数据网络的集合。d) The third data network has application identification information of some or all applications deployed but not deployed in the first data network and the second data network, and the third data network is a set of data networks whose service scope includes the first data network.
举例说明,请参阅图6,图6是本申请实施例公开的一种DNAI部署示意图。如图6所示,DNAI3的服务范围大于DNAI1的服务范围和DNAI2的服务范围,DNAI3的服务范围包括DNAI1的服务范围和DNAI2的服务范围,但DNAI1的服务范围与DNAI2的服务范围之间没有重叠。下面以应用标识信息为FQDN、关联终端设备当前所在位置的信息为ECS option为例进行说明。DNAI1部署有业务S1和业务S3,业务S1对应FQDN1和ECS option1,业务3对应FQDN3和ECS option3。DNAI2部署有业务S2,业务S2对应FQDN2和ECS option2。DNAI3部署有业务S3、业务S4和业务S5,业务S3对应FQDN3和ECS option3’,业务S4对应FQDN4和ECS option4,业务S5对应FQDN5和ECS option5。当终端设备当前处于DNAI1和DNAI3的服务范围内时,SMF网元接收到来自第一实体的包含FQDN4的请求信息之后,SMF网元可以向第一实体发送FQDN4和与FQDN4对应的ECS option4(或FQDN4、DNAI3以及与 FQDN4和DNAI3对应的ECS option4)。此外,SMF网元还可以向第一实体发送以下信息中的一种或多种。For example, please refer to FIG. 6 , which is a schematic diagram of a DNAI deployment disclosed in an embodiment of the present application. As shown in Figure 6, the service range of DNAI3 is larger than that of DNAI1 and DNAI2, the service range of DNAI3 includes the service range of DNAI1 and the service range of DNAI2, but there is no overlap between the service range of DNAI1 and the service range of DNAI2 . The following description is given by taking the application identification information as FQDN and the information of the current location of the associated terminal device as ECS option as an example. DNAI1 is deployed with service S1 and service S3. Service S1 corresponds to FQDN1 and ECS option1, and service 3 corresponds to FQDN3 and ECS option3. DNAI2 is deployed with service S2, which corresponds to FQDN2 and ECS option2. DNAI3 is deployed with service S3, service S4 and service S5. Service S3 corresponds to FQDN3 and ECS option3', service S4 corresponds to FQDN4 and ECS option4, and service S5 corresponds to FQDN5 and ECS option5. When the terminal device is currently in the service range of DNAI1 and DNAI3, after the SMF network element receives the request information including FQDN4 from the first entity, the SMF network element can send FQDN4 and the ECS option4 (or ECS option4 corresponding to FQDN4) to the first entity. FQDN4, DNAI3, and ECS option4 corresponding to FQDN4 and DNAI3). In addition, the SMF network element may also send one or more of the following information to the first entity.
a)FQDN3和与FQDN3对应的ECS option3’(或FQDN3、DNAI3以及与FQDN3和DNAI3对应的ECS option3’),FQDN5和与FQDN5对应的ECS option5(或FQDN5、DNAI3以及与FQDN5和DNAI3对应的ECS option5);a) FQDN3 and ECS option3' corresponding to FQDN3 (or FQDN3, DNAI3 and ECS option3' corresponding to FQDN3 and DNAI3), FQDN5 and ECS option5 corresponding to FQDN5 (or FQDN5, DNAI3 and ECS option5 corresponding to FQDN5 and DNAI3) );
b)FQDN5和与FQDN5对应的ECS option5(或FQDN5、DNAI3以及与FQDN5和DNAI3对应的ECS option5);b) FQDN5 and ECS option5 corresponding to FQDN5 (or FQDN5, DNAI3 and ECS option5 corresponding to FQDN5 and DNAI3);
c)FQDN1和与FQDN1对应的ECS option1(或FQDN1、DNAI1以及与FQDN1和DNAI1对应的ECS option1),FQDN3和与FQDN3对应的ECS option3(或FQDN3、DNAI1以及与FQDN3和DNAI1对应的ECS option3);c) FQDN1 and ECS option1 corresponding to FQDN1 (or FQDN1, DNAI1 and ECS option1 corresponding to FQDN1 and DNAI1), FQDN3 and ECS option3 corresponding to FQDN3 (or FQDN3, DNAI1 and ECS option3 corresponding to FQDN3 and DNAI1);
d)由于图6中没有比DNAI3对应的数据网络的服务范围更大的数据网络,因此,无法根据上述d)确定对应的信息。数据网络的服务范围可以为所有可以接入该数据网络的终端设备的位置的集合。d) Since there is no data network with a larger service range than the data network corresponding to DNAI3 in FIG. 6 , the corresponding information cannot be determined according to the above d). The service range of the data network may be a set of locations of all terminal devices that can access the data network.
当终端设备当前处于DNAI1和DNAI3的服务范围内时,SMF网元接收到来自第一实体的包括FQDN1的请求信息之后,SMF网元可以向第一实体发送FQDN1和与FQDN1对应的ECS option1(或FQDN1、DNAI1以及与FQDN1和DNAI1对应的ECS option1)。此外,SMF网元还可以向第一实体发送以下信息中的一种或多种。When the terminal device is currently in the service range of DNAI1 and DNAI3, after the SMF network element receives the request information including FQDN1 from the first entity, the SMF network element can send FQDN1 and the ECS option1 (or ECS option1 corresponding to FQDN1) to the first entity. FQDN1, DNAI1, and ECS option1 corresponding to FQDN1 and DNAI1). In addition, the SMF network element may also send one or more of the following information to the first entity.
a)FQDN3和与FQDN3对应的ECS option3(或FQDN3、DNAI1以及与FQDN3和DNAI1对应的ECS option3);a) FQDN3 and ECS option3 corresponding to FQDN3 (or FQDN3, DNAI1 and ECS option3 corresponding to FQDN3 and DNAI1);
b)FQDN3和与FQDN3对应的ECS option3(或FQDN3、DNAI1以及与FQDN3和DNAI1对应的ECS option3);b) FQDN3 and ECS option3 corresponding to FQDN3 (or FQDN3, DNAI1 and ECS option3 corresponding to FQDN3 and DNAI1);
c)由于图6中没有比DNAI1对应的数据网络的服务范围更小的数据网络,因此,无法根据上述c)确定对应的信息;c) Since there is no data network smaller than the service range of the data network corresponding to DNAI1 in FIG. 6, the corresponding information cannot be determined according to the above c);
d)FQDN4和与FQDN4对应的ECS option4(或FQDN4、DNAI3以及与FQDN4和DNAI3对应的ECS option4),FQDN5和与FQDN5对应的ECS option5(或FQDN5、DNAI3以及与FQDN5和DNAI3对应的ECS option5)。d) FQDN4 and ECS option4 corresponding to FQDN4 (or FQDN4, DNAI3 and ECS option4 corresponding to FQDN4 and DNAI3), FQDN5 and ECS option5 corresponding to FQDN5 (or FQDN5, DNAI3 and ECS option5 corresponding to FQDN5 and DNAI3).
SMF网元可以配置或获取DNAI对应的区域,即DNAI的服务范围。DNAI的服务范围可以是具体的位置集合。例如,跟踪区(tracking area,TA)1、TA2,…,RAN_1、RAN_2或者小区(Cell)_1、Cell_2等中的一个或多个的集合。DNAI的服务范围也可以是地理位置信息的集合,如经纬度或行政区域等。DNAI的服务范围也可以是与DNAI对应的一个或多个UPF网元的服务范围的集合。其中,这一个或多个UPF网元可以服务该数据网络。UPF网元的服务范围可以是具体的位置集合或地理位置信息的集合。DNAI的服务范围还可以由部署在数据网络中的应用服务器(application server,AS)和/或使能服务器(enabler server,ES)的服务范围来标识,其中,AS或ES的服务范围的表现形式同上所述,不再赘述。DNAI的服务范围还可以为接入该DNAI对应的数据网络的终端设备的位置的集合。The SMF network element can configure or obtain the area corresponding to the DNAI, that is, the service scope of the DNAI. The service scope of DNAI can be a specific set of locations. For example, a set of one or more of Tracking Area (TA)1, TA2, . . , RAN_1, RAN_2, or Cell_1, Cell_2, etc. The service scope of DNAI can also be a collection of geographic location information, such as latitude and longitude or administrative area. The service scope of the DNAI may also be a set of service scopes of one or more UPF network elements corresponding to the DNAI. Wherein, the one or more UPF network elements can serve the data network. The service scope of the UPF network element may be a specific location set or a set of geographic location information. The service scope of DNAI can also be identified by the service scope of an application server (AS) and/or an enabler server (ES) deployed in the data network, where the representation of the service scope of AS or ES It is the same as the above, and will not be repeated here. The service scope of the DNAI may also be a set of locations of terminal devices accessing the data network corresponding to the DNAI.
当PDU会话建立,或终端设备对应的DNAI发生变化时,SMF网元可以向第一实体发送第二标识。第二标识为终端设备当前所在位置对应的DNAI。第一实体可以根据第一应用标识信息、第二标识以及第一信息确定第二信息。第一实体可以先从SMF网元获取的第一信 息中查找或匹配包括第一应用标识信息的第一信息,之后可以从查找或匹配到的第一信息中获取与第一应用标识信息和第二标识对应的第二信息。When the PDU session is established, or the DNAI corresponding to the terminal device changes, the SMF network element may send the second identifier to the first entity. The second identifier is the DNAI corresponding to the current location of the terminal device. The first entity may determine the second information according to the first application identification information, the second identification and the first information. The first entity may first search for or match the first information including the first application identification information from the first information obtained by the SMF network element, and then obtain the first information related to the first application identification information and the first application identification information from the searched or matched first information. The second information corresponds to the second identifier.
在一种情况下,第一实体与SMF网元之间的交互可以通过PDU会话确定传输的信息是哪个终端设备的信息。在另一种情况下,第一实体与SMF网元之间传输的针对终端设备的信息可以包括终端设备的标识,以便可以根据终端设备的标识确定传输的是哪个终端设备的信息。In one case, the interaction between the first entity and the SMF network element may determine which terminal device the transmitted information is through the PDU session. In another case, the information for the terminal device transmitted between the first entity and the SMF network element may include an identifier of the terminal device, so that the information of which terminal device is transmitted can be determined according to the identifier of the terminal device.
503、第一实体根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息。503. The first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information.
相应地,集中DNS服务器或本地DNS解析器接收来自第一实体的DNS请求信息。DNS请求信息用于获取应用服务器的地址信息,即部署有第一应用标识信息对应应用的应用服务器的地址信息。Accordingly, the centralized DNS server or the local DNS resolver receives the DNS request information from the first entity. The DNS request information is used to obtain the address information of the application server, that is, the address information of the application server in which the application corresponding to the first application identification information is deployed.
第一实体根据第一应用标识信息以及从SMF网元获取的第一信息确定第二信息之后,当第二信息为ECS option时,第一实体可以向集中DNS服务器发送DNS请求信息,DNS请求还可以包括第二信息。在第一请求信息为DNS请求信息的情况下,第一实体向集中DNS服务器发送的DNS请求信息与第一请求信息相比,除了包括第一应用标识信息之外,还包括第二信息。After the first entity determines the second information according to the first application identification information and the first information obtained from the SMF network element, when the second information is the ECS option, the first entity can send the DNS request information to the centralized DNS server, and the DNS request also Second information may be included. When the first request information is DNS request information, the DNS request information sent by the first entity to the centralized DNS server, compared with the first request information, includes second information in addition to the first application identification information.
当第二信息为本地DNS解析器的地址信息时,第一实体可以向本地DNS解析器发送DNS请求信息。在第一请求信息为DNS请求信息的情况下,第一实体向本地DNS解析器发送的DNS请求信息与第一请求信息相同。When the second information is the address information of the local DNS resolver, the first entity may send DNS request information to the local DNS resolver. When the first request information is DNS request information, the DNS request information sent by the first entity to the local DNS resolver is the same as the first request information.
其中,集中DNS服务器和本地DNS解析器的详细描述可以参考图4对应的相关描述。The detailed description of the centralized DNS server and the local DNS resolver may refer to the relevant description corresponding to FIG. 4 .
SMF网元向第一实体发送第一信息之后,当SMF网元感知到终端设备对应的DNAI发生变化时,可以向第一实体发送第二指示信息和第四标识。相应地,第一实体可以接收来自SMF网元的第二指示信息和第四标识,之后可以根据第二指示信息删除第一信息中第四标识对应的信息。第四标识为不再为终端设备服务的数据网络的DNAI,第一标识可以包括第四标识。例如,当第四标识为表3中的DNAI 1时,第一实体可以删除第一信息中的DNAI 1,与DNAI 1对应的应用标识信息和第四信息。After the SMF network element sends the first information to the first entity, when the SMF network element perceives that the DNAI corresponding to the terminal device changes, the SMF network element may send the second indication information and the fourth identifier to the first entity. Correspondingly, the first entity may receive the second indication information and the fourth identifier from the SMF network element, and then may delete the information corresponding to the fourth identifier in the first information according to the second indication information. The fourth identifier is the DNAI of the data network that no longer serves the terminal device, and the first identifier may include the fourth identifier. For example, when the fourth identifier is DNAI 1 in Table 3, the first entity can delete DNAI 1 in the first information, the application identifier information corresponding to DNAI 1 and the fourth information.
SMF网元可以向第一实体发送第二指示信息、第四标识和第五标识,第五标识为第四标识对应的数据网络中部署的应用的应用标识信息。第一实体可以根据第二指示信息删除第一信息中与第四标识和第五标识对应的信息。例如,当第四标识为表3中的DNAI 1,第五标识为表3中的应用1时,第一实体删除与DNAI 1和应用1对应的信息1。The SMF network element may send the second indication information, the fourth identifier and the fifth identifier to the first entity, where the fifth identifier is application identifier information of an application deployed in the data network corresponding to the fourth identifier. The first entity may delete the information corresponding to the fourth identifier and the fifth identifier in the first information according to the second indication information. For example, when the fourth identifier is DNAI 1 in Table 3 and the fifth identifier is Application 1 in Table 3, the first entity deletes information 1 corresponding to DNAI 1 and Application 1.
基于上述网络架构,请参阅图7,图7是本申请实施例公开的另一种通信方法的流程示意图。如图7所示,该通信方法可以包括以下步骤。Based on the above network architecture, please refer to FIG. 7 , which is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 7 , the communication method may include the following steps.
701、终端设备建立PDU会话。701. The terminal device establishes a PDU session.
702、SMF网元向第一实体发送第二标识。702. The SMF network element sends the second identifier to the first entity.
相应地,第一实体接收来自SMF网元的第二标识。Correspondingly, the first entity receives the second identification from the SMF network element.
当终端设备关联的PDU会话建立,或感知终端设备对应的DNAI发生变化时,SMF网元可以向第一实体发送第二标识。终端设备对应的DNAI发生变化,可以是终端设备对应的全部或部分DNAI发生变化。When the PDU session associated with the terminal device is established, or when it perceives that the DNAI corresponding to the terminal device changes, the SMF network element may send the second identifier to the first entity. The DNAI corresponding to the terminal device changes, which may be all or part of the DNAI corresponding to the terminal device.
在一种情况下,MEC部署情况发生变化时,AF网元可以向SMF网元发送通知,SMF网元接收到来自AF网元的通知之后,可以根据该通知感知MEC的当前部署情况。在另一种情况下,SMF网元可以通过AMF网元和/或位置管理功能(locationmanagement function,LMF)网元感知终端设备当前所在位置,之后可以确定终端设备当前所在位置对应的DNAI,即对应区域包括终端设备当前位置的DNAI。终端设备的位置可以通过TA、小区ID等标识。In one case, when the MEC deployment situation changes, the AF network element can send a notification to the SMF network element, and after receiving the notification from the AF network element, the SMF network element can perceive the current MEC deployment situation according to the notification. In another case, the SMF network element can perceive the current location of the terminal device through the AMF network element and/or the location management function (LMF) network element, and then can determine the DNAI corresponding to the current location of the terminal device, that is, the corresponding The area includes the DNAI of the end device's current location. The location of the terminal equipment can be identified by TA, cell ID, and the like.
SMF网元可以通过信令、消息等方式向第一实体发送第二标识。例如,当第一实体为UPF网元或部署在UPF网元上时,SMF网元可以通过N4会话修改(Session Modification)信令向第一实体发送第二标识。当第一实体为独立的网元或设备时,SMF网元可以通过Nsmf_EventExposure_Notify信令向第一实体发送第二标识。上述只是对SMF网元通过信令、消息等方式向第一实体发送第二标识的示例性说明,并不对其构成限定。The SMF network element may send the second identifier to the first entity by means of signaling, message, or the like. For example, when the first entity is a UPF network element or is deployed on the UPF network element, the SMF network element may send the second identifier to the first entity through N4 session modification (Session Modification) signaling. When the first entity is an independent network element or device, the SMF network element may send the second identifier to the first entity through Nsmf_EventExposure_Notify signaling. The above is only an exemplary description of the SMF network element sending the second identifier to the first entity by means of signaling, message, etc., and does not constitute a limitation.
703、终端设备向第一实体发送包括第一应用标识信息的第一请求信息。703. The terminal device sends first request information including first application identification information to the first entity.
相应地,第一实体接收来自终端设备的第一请求信息。Correspondingly, the first entity receives the first request information from the terminal device.
704、第一实体根据第一应用标识信息、第二标识以及第一信息确定第二信息。704. The first entity determines the second information according to the first application identification information, the second identification and the first information.
第一实体接收到来自终端设备的第一请求信息之后,可以根据第一应用标识信息、第二标识以及第一信息确定第二信息。当第一实体确定第二信息失败,即第一实体中不存在第一信息或存在的第一信息不包括确定第二信息所需信息时,可以先执行步骤705-步骤706。当通过步骤706可以直接接收到第二信息时,第一实体可以不再执行步骤704;当通过步骤706无法接收到第二信息时,第一实体还需要再次执行步骤704,之后可以执行步骤707。After receiving the first request information from the terminal device, the first entity may determine the second information according to the first application identification information, the second identification and the first information. When the first entity fails to determine the second information, that is, the first information does not exist in the first entity or the existing first information does not include the information required for determining the second information, steps 705 to 706 may be performed first. When the second information can be directly received through step 706, the first entity can no longer perform step 704; when the second information cannot be received through step 706, the first entity needs to perform step 704 again, and then can perform step 707 .
705、第一实体向SMF网元发送第一应用标识信息和/或第一指示信息。705. The first entity sends the first application identification information and/or the first indication information to the SMF network element.
相应地,SMF网元接收来自第一实体的第一应用标识信息和/或第一指示信息。Correspondingly, the SMF network element receives the first application identification information and/or the first indication information from the first entity.
当第一实体向SMF网元发送第一应用标识信息和第一指示信息时,第一应用标识信息和第一指示信息可以通过同一信令、消息等发送。例如,当第一实体为UPF网元或部署在UPF网元上时,第一实体可以通过N4报告消息(report message)向SMF网元发送第一应用标识信息和第一指示信息。当第一实体为独立的网元或设备时,第一实体可以通过Nsmf_EventExposure_AppRelocationInfo向SMF网元发送第一应用标识信息和第一指示信息,也可以先向PCF网元发送AF请求(AFrequest),之后PCF网元可以向SMF网元发送Npcf_SMPolicyControl_Updata Request。AF请求和Npcf_SMPolicyControl_Updata Request包括第一应用标识信息和第一指示信息。第一实体向SMF网元发送信息时,可以与SMF网元直接进行通信,也可以通过NEF网元、PCF网元等其他网元或设备与SMF网元进行通信。上述只是对第一实体通过信令、消息等方式向SMF网元发送第一应用标识信息和第一指示信息的示例性说明,并不对其构成限定。When the first entity sends the first application identification information and the first indication information to the SMF network element, the first application identification information and the first indication information may be sent through the same signaling, message or the like. For example, when the first entity is a UPF network element or is deployed on the UPF network element, the first entity may send the first application identification information and the first indication information to the SMF network element through an N4 report message (report message). When the first entity is an independent network element or device, the first entity may send the first application identification information and the first indication information to the SMF network element through Nsmf_EventExposure_AppRelocationInfo, or may first send an AF request (AFrequest) to the PCF network element, and then The PCF network element can send the Npcf_SMPolicyControl_Updata Request to the SMF network element. The AF request and the Npcf_SMPolicyControl_Updata Request include first application identification information and first indication information. When the first entity sends information to the SMF network element, it may directly communicate with the SMF network element, or may communicate with the SMF network element through other network elements or devices such as the NEF network element and the PCF network element. The above is only an exemplary description of the first entity sending the first application identification information and the first indication information to the SMF network element by means of signaling, messages, etc., and does not constitute a limitation.
706、SMF网元根据第一应用标识信息和/或第一指示信息向第一实体发送第一信息。706. The SMF network element sends the first information to the first entity according to the first application identification information and/or the first indication information.
相应地,第一实体接收来自SMF网元的第一信息。Correspondingly, the first entity receives the first information from the SMF network element.
SMF网元可以通过信令、消息等方式向第一实体发送第一信息。例如,当步骤704使用N4 report message时,SMF网元可以通过N4 report Ack message向第一实体发送第一信息;当步骤704使用Nsmf_EventExposure_AppRelocationInfo或经由PCF网元转发时,SMF网元可以通过Nsmf_EventExposure_Notify向第一实体发送第一信息。上述只是对SMF网元通过信令、消息等方式向第一实体发送第一信息的示例性说明,并不对其构成限定。The SMF network element may send the first information to the first entity by means of signaling, messages and the like. For example, when the N4 report message is used in step 704, the SMF network element can send the first information to the first entity through the N4 report Ack message; when the Nsmf_EventExposure_AppRelocationInfo is used in step 704 or forwarded via the PCF network element, the SMF network element can send the first information to the first entity through Nsmf_EventExposure_Notify An entity sends the first message. The above is only an exemplary description of the SMF network element sending the first information to the first entity by means of signaling, messages, etc., and does not constitute a limitation.
应理解,步骤705发送的第一信息对处于第一实体可以服务的所有终端设备都适用。It should be understood that the first information sent in step 705 is applicable to all terminal devices that can be served by the first entity.
707、第一实体根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息。707. The first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information.
相应地,集中DNS服务器或本地DNS解析器接收来自第一实体的DNS请求信息。Accordingly, the centralized DNS server or the local DNS resolver receives the DNS request information from the first entity.
第一实体根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息之后,剩余的EAS发现流程可继续执行。After the first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information, the remaining EAS discovery process may continue to be performed.
第一实体可以在任何时机或由任何特定条件触发,按照一定的条件或规则删除第一信息中的部分或全部信息。例如,可以是周期性删除,也可以是剩余存储空间小于第一阈值,还可以是信息的存储时间大于或等于第二阈值。The first entity may delete some or all of the information in the first information according to certain conditions or rules at any time or triggered by any specific conditions. For example, it may be deleted periodically, or the remaining storage space may be less than the first threshold, or the storage time of the information may be greater than or equal to the second threshold.
其中,步骤701-步骤707的详细描述可以参考上面的相关描述,在此不加赘述。For the detailed description of steps 701 to 707, reference may be made to the above related descriptions, which will not be repeated here.
基于上述网络架构,请参阅图8,图8是本申请实施例公开的又一种通信方法的流程示意图。如图8所示,该通信方法可以包括以下步骤。Based on the above network architecture, please refer to FIG. 8 , which is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 8 , the communication method may include the following steps.
801、终端设备建立PDU会话。801. The terminal device establishes a PDU session.
802、终端设备向第一实体发送包括第一应用标识信息的第一请求信息。802. The terminal device sends first request information including first application identification information to the first entity.
相应地,第一实体接收来自终端设备的第一请求信息。Correspondingly, the first entity receives the first request information from the terminal device.
803、第一实体根据第一应用标识信息以及第一信息确定第二信息。803. The first entity determines the second information according to the first application identification information and the first information.
第一实体接收到来自终端设备的第一请求信息之后,可以根据第一应用标识信息以及第一信息确定第二信息。当第一实体确定第二信息失败,即第一实体中不存在第一信息或存在的第一信息不包括确定第二信息所需信息时,可以先执行步骤804-步骤805。当通过步骤805可以直接接收到第二信息时,第一实体可以不再执行步骤803;当通过步骤805无法接收到第二信息时,第一实体还需要再次执行步骤803。After receiving the first request information from the terminal device, the first entity may determine the second information according to the first application identification information and the first information. When the first entity fails to determine the second information, that is, the first information does not exist in the first entity or the existing first information does not include the information required for determining the second information, steps 804 to 805 may be performed first. When the second information can be directly received through step 805, the first entity can no longer perform step 803; when the second information cannot be received through step 805, the first entity needs to perform step 803 again.
804、第一实体向SMF网元发送第一应用标识信息和/或第一指示信息。804. The first entity sends the first application identification information and/or the first indication information to the SMF network element.
相应地,SMF网元接收来自第一实体的第一应用标识信息和/或第一指示信息。Correspondingly, the SMF network element receives the first application identification information and/or the first indication information from the first entity.
805、SMF网元根据第一应用标识信息和/或第一指示信息向第一实体发送第一信息。805. The SMF network element sends the first information to the first entity according to the first application identification information and/or the first indication information.
相应地,第一实体接收来自SMF网元的第一信息。Correspondingly, the first entity receives the first information from the SMF network element.
步骤805发送的第一信息只可以在接收到来自上述终端设备的包括应用标识信息的请求信息时,作为确定第二信息的依据,而在接收到来自其它终端设备的包括应用标识信息的请求信息时,无法作为确定第二信息的依据,即第一信息只能为对应的终端设备服务,而无法为其它终端设备服务。因此,第一实体接收到第一信息之后,可以建立第一信息与上述终端设备之间的关系。The first information sent in step 805 can only be used as the basis for determining the second information when receiving the request information including the application identification information from the above-mentioned terminal equipment, and when receiving the request information including the application identification information from other terminal equipment. , it cannot be used as a basis for determining the second information, that is, the first information can only serve the corresponding terminal equipment, but cannot serve other terminal equipment. Therefore, after receiving the first information, the first entity can establish a relationship between the first information and the above-mentioned terminal device.
806、第一实体根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息。806. The first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information.
相应地,集中DNS服务器或本地DNS解析器接收来自第一实体的DNS请求信息。Accordingly, the centralized DNS server or the local DNS resolver receives the DNS request information from the first entity.
807、SMF网元向第一实体发送第二指示信息和第四标识。807. The SMF network element sends the second indication information and the fourth identifier to the first entity.
相应地,第一实体接收来自SMF网元的第二指示信息和第四标识。Correspondingly, the first entity receives the second indication information and the fourth identification from the SMF network element.
当SMF网元感知到终端设备对应的DNAI发生变化时,SMF网元可以向第一实体发送第二指示信息和第四标识,也可以向第一实体发送第二指示信息、第四标识和第五标识。When the SMF network element perceives that the DNAI corresponding to the terminal device has changed, the SMF network element may send the second indication information and the fourth identification to the first entity, or may send the second indication information, the fourth identification and the fourth identification to the first entity. Five logos.
应理解,由于MEC平台的部署情况不同,当终端设备处于同一位置时,对于不同的业务,对应的DNAI可能不同。当终端设备的位置未变,但业务发生变化时,如果只有部分业 务发生变化,SMF网元可以向第一实体发送第二指示信息、第四标识和第五标识;如果所有业务均发生变化,SMF网元可以向第一实体发送第二指示信息和第四标识。不同的业务对应的应用标识信息不同。It should be understood that, due to different deployment situations of the MEC platform, when the terminal devices are in the same location, the corresponding DNAIs may be different for different services. When the location of the terminal equipment does not change, but the service changes, if only part of the service changes, the SMF network element can send the second indication information, the fourth identification and the fifth identification to the first entity; if all the services change, The SMF network element may send the second indication information and the fourth identifier to the first entity. The application identification information corresponding to different services is different.
808、第一实体根据第二指示信息删除第一信息中第四标识对应的信息。808. The first entity deletes the information corresponding to the fourth identifier in the first information according to the second indication information.
第一实体可以根据第二指示信息删除第一信息中第四标识对应的信息,也可以根据第二指示信息删除第一信息中与第四标识和第五标识对应的信息。The first entity may delete information corresponding to the fourth identifier in the first information according to the second indication information, and may also delete information corresponding to the fourth identifier and the fifth identifier in the first information according to the second indication information.
举例说明,如果终端设备处于图6中的DNAI1的服务范围内,当终端设备由DNAI1的服务范围移动到DNAI2的服务范围时,由于终端设备仍处于DNAI3的服务范围,因此,第四标识为DNAI1,第一实体可以删除上述终端设备对应的第一信息中的DNAI1、DNAI1对应的FQDN和DNAI1对应的ECS option,如FQDN1和与FQDN1对应的ECS option1(或FQDN1、DNAI1以及与FQDN1和DNAI1对应的ECS option1),FQDN3和与FQDN3对应的ECS option3(或FQDN3、DNAI1以及与FQDN3和DNAI1对应的ECS option3)。For example, if the terminal device is in the service range of DNAI1 in FIG. 6, when the terminal device moves from the service range of DNAI1 to the service range of DNAI2, since the terminal device is still in the service range of DNAI3, the fourth identifier is DNAI1 , the first entity can delete DNAI1, FQDN corresponding to DNAI1, and ECS option corresponding to DNAI1 in the first information corresponding to the terminal device, such as FQDN1 and ECS option1 corresponding to FQDN1 (or FQDN1, DNAI1 and FQDN1 and DNAI1 corresponding to FQDN1 and DNAI1). ECS option1), FQDN3 and ECS option3 corresponding to FQDN3 (or FQDN3, DNAI1 and ECS option3 corresponding to FQDN3 and DNAI1).
其中,步骤801-步骤808的详细描述可以参考上面的相关描述,在此不加赘述。For the detailed description of steps 801 to 808, reference may be made to the above related descriptions, and details are not repeated here.
基于上述网络架构,请参阅图9,图9是本申请实施例公开的又一种通信方法的流程示意图。如图9所示,该通信方法可以包括以下步骤。Based on the above network architecture, please refer to FIG. 9 , which is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 9 , the communication method may include the following steps.
901、终端设备向第一实体发送包括第一应用标识信息的第一请求信息。901. A terminal device sends first request information including first application identification information to a first entity.
相应地,第一实体接收来自终端设备的包括第一应用标识信息的第一请求信息。Correspondingly, the first entity receives the first request information including the first application identification information from the terminal device.
其中,步骤901与步骤501相同,详细描述可以参考步骤501。Wherein, step 901 is the same as step 501 , and the detailed description can refer to step 501 .
902、第一实体根据从SMF网元获取的第一信息确定第二信息。902. The first entity determines the second information according to the first information obtained from the SMF network element.
第一实体接收到来自终端设备的第一请求信息之后,可以根据从SMF网元获取的第一信息确定第二信息。第二信息为第一标识对应的ECS option或本地DNS解析器的地址信息,第一标识为第二标识对应的数据网络中服务范围最小、与上述终端设备之间的距离最近或能够反映上述终端设备最精确位置的数据网络的DNAI,第二标识为上述终端设备当前所在位置对应的至少一个DNAI。第一标识可以为第二标识对应的数据网络中服务范围最小的数据网络的DNAI,也可以为与上述终端设备之间的距离最近的数据网络的DNAI,还可以为能够反映上述终端设备最精确位置的数据网络的DNAI。After receiving the first request information from the terminal device, the first entity may determine the second information according to the first information obtained from the SMF network element. The second information is the address information of the ECS option or the local DNS resolver corresponding to the first identifier, and the first identifier is the smallest service range in the data network corresponding to the second identifier, the closest distance to the terminal device, or can reflect the terminal device. The DNAI of the data network at the most precise location of the device, and the second identifier is at least one DNAI corresponding to the current location of the terminal device. The first identification may be the DNAI of the data network with the smallest service range in the data network corresponding to the second identification, or may be the DNAI of the data network with the closest distance to the above-mentioned terminal equipment, or may be the most accurate reflection of the above-mentioned terminal equipment. The DNAI of the location data network.
在一种实现方式中,第一信息可以包括第二信息。可见,第一信息可以只包括ECS option或本地域名系统DNS解析器的地址信息。In one implementation, the first information may include the second information. It can be seen that the first information may only include the ECS option or the address information of the local domain name system DNS resolver.
在另一种实现方式中,第一信息可以包括第一应用标识信息和与第一应用标识信息对应的第二信息。第一信息还可以包括第三标识和与第三标识对应的第三信息,第三标识为第二标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的ECS option或本地DNS解析器的地址信息。In another implementation manner, the first information may include first application identification information and second information corresponding to the first application identification information. The first information may also include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third information is the ECS corresponding to the third identifier. option or the address information of the local DNS resolver.
当假设第二信息只与第一标识有关时,第一信息只包括ECS option或本地域名系统DNS解析器的地址信息。当没有上述假设时,第一信息可以包括应用标识信息以及与应用标识信息对应的ECS option或本地DNS解析器的地址信息。When it is assumed that the second information is only related to the first identifier, the first information only includes the ECS option or the address information of the local domain name system DNS resolver. In the absence of the above assumption, the first information may include application identification information and address information of an ECS option or a local DNS resolver corresponding to the application identification information.
应理解,第一信息只可以被上述终端设备用以作为确定第二信息的依据,无法被其他终端设备使用。It should be understood that the first information can only be used by the above-mentioned terminal device as a basis for determining the second information, and cannot be used by other terminal devices.
其中,步骤902的其它详细描述可以参考步骤502中的相关描述。For other detailed descriptions of step 902, reference may be made to the relevant descriptions in step 502.
903、第一实体向集中DNS服务器或本地DNS解析器发送DNS请求信息。903. The first entity sends DNS request information to the centralized DNS server or the local DNS resolver.
其中,步骤903与步骤503相同,详细描述可以参考步骤503。Wherein, step 903 is the same as step 503 , and the detailed description can refer to step 503 .
SMF网元向第一实体发送第一信息之后,当感知到终端设备当前所在位置对应第一标识发生变化时,可以向第一实体发送第二指示信息。相应地,第一实体可以接收来自SMF网元的第二指示信息,之后可以根据第二指示信息删除第一信息,即删除终端设备对应的第一信息。After sending the first information to the first entity, the SMF network element can send the second indication information to the first entity when sensing that the current location of the terminal device corresponds to the first identifier has changed. Correspondingly, the first entity may receive the second indication information from the SMF network element, and then may delete the first information according to the second indication information, that is, delete the first information corresponding to the terminal device.
基于上述网络架构,请参阅图10,图10是本申请实施例公开的又一种通信方法的流程示意图。如图10所示,该通信方法可以包括以下步骤。Based on the above network architecture, please refer to FIG. 10 , which is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 10, the communication method may include the following steps.
1001、终端设备建立PDU会话。1001. A terminal device establishes a PDU session.
1002、SMF网元向第一实体发送第一信息。1002. The SMF network element sends the first information to the first entity.
在一种实现方式中,第一信息可以包括第二信息。在另一种实现方式中,第一信息可以包括第一应用标识信息和与第一应用标识信息对应的第二信息。第一信息还可以包括第三标识和与第三标识对应的第三信息,第三标识为第二标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的ECS option或本地DNS解析器的地址信息。第一信息的详细描述可以参考步骤902中的相关描述。In one implementation, the first information may include the second information. In another implementation manner, the first information may include first application identification information and second information corresponding to the first application identification information. The first information may also include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third information is the ECS corresponding to the third identifier. option or the address information of the local DNS resolver. For a detailed description of the first information, reference may be made to the relevant description in step 902 .
其中,步骤1002与步骤702相似,详细描述可以参考步骤702。区别在于:步骤702中感知终端设备对应的DNAI发生变化发送,而步骤1002中感知终端设备当前所在位置对应第一标识发生变化发送。Wherein, step 1002 is similar to step 702 , and the detailed description can refer to step 702 . The difference is that in step 702, the detected DNAI corresponding to the terminal device changes and is sent, while in step 1002, the first identifier corresponding to the current location of the detected terminal device is changed and sent.
举例说明,当终端设备由图6中的DNAI1的服务范围移动到DNAI2的服务范围,且DNAI2为终端设备对应的DNAI中服务范围最小、与终端设备之间的距离最近或能够反映上述终端设备最精确位置的数据网络的DNAI时,SMF网元可以向第一实体发送ECS option2(或FQDN2和与FQDN2对应的ECS option2)。当SMF网元向第一实体发送FQDN2和与FQDN2对应的ECS option2时,SMF网元还可以向第一实体发送FQDN3和与FQDN3对应的ECS option3’,FQDN4和与FQDN4对应ECS option4,以及FQDN3和与FQDN3对应ECS option5。For example, when the terminal device moves from the service range of DNAI1 in FIG. 6 to the service range of DNAI2, and DNAI2 is the smallest service range in the DNAI corresponding to the terminal device, the distance between the terminal device and the terminal device is the closest or can reflect the most recent terminal device. When the DNAI of the data network at the precise location is used, the SMF network element may send the ECS option2 (or the FQDN2 and the ECS option2 corresponding to the FQDN2) to the first entity. When the SMF network element sends the FQDN2 and the ECS option2 corresponding to the FQDN2 to the first entity, the SMF network element may also send the FQDN3 and the ECS option3' corresponding to the FQDN3, the FQDN4 and the ECS option4 corresponding to the FQDN4, and the FQDN3 and the FQDN3 to the first entity. Corresponds to ECS option5 for FQDN3.
应理解,当满足上述假设,且DNAI1和DNAI2对应的第二信息相同时,当SMF网元感知到终端设备当前所在位置对应第一标识由DNAI1变化为DNAI2时,由于第一实体中存在的第一信息与要发送的第一信息相同,因此,SMF网元可以不向第一实体重复发送第一信息,可以减少不必要信息的传输,从而可以节约传输资源。It should be understood that when the above assumptions are satisfied and the second information corresponding to DNAI1 and DNAI2 are the same, when the SMF network element perceives that the first identifier corresponding to the current location of the terminal device is changed from DNAI1 to DNAI2, due to the second information existing in the first entity. The first information is the same as the first information to be sent. Therefore, the SMF network element may not repeatedly send the first information to the first entity, which can reduce the transmission of unnecessary information, thereby saving transmission resources.
应理解,当不满足上述假设,且DNAI1和DNAI2对应的数据网络中部署的应用均相同,且每个应用对应的第二信息也相同时,当SMF网元感知到终端设备当前所在位置对应第一标识由DNAI1变化为DNAI2时,由于第一实体中存在的第一信息与要发送的第一信息相同,因此,SMF网元可以不向第一实体重复发送第一信息,可以减少不必要信息的传输,从而可以节约传输资源。It should be understood that when the above assumptions are not satisfied, and the applications deployed in the data networks corresponding to DNAI1 and DNAI2 are the same, and the second information corresponding to each application is also the same, when the SMF network element perceives that the current location of the terminal device corresponds to the first When the identifier is changed from DNAI1 to DNAI2, since the first information existing in the first entity is the same as the first information to be sent, the SMF network element may not repeatedly send the first information to the first entity, which can reduce unnecessary information transmission, thereby saving transmission resources.
此外,也可以考虑终端设备的业务签约信息,可以根据业务签约信息中终端设备签约的边缘业务确定第一信息,即根据终端设备的业务签约信息中的应用标识信息确定第一信 息。In addition, the service subscription information of the terminal device can also be considered, and the first information can be determined according to the edge service subscribed by the terminal device in the service subscription information, that is, the first information can be determined according to the application identification information in the service subscription information of the terminal device.
应理解,第一信息只可以被上述终端设备用以作为确定第二信息的依据,无法被其他终端设备使用。It should be understood that the first information can only be used by the above-mentioned terminal device as a basis for determining the second information, and cannot be used by other terminal devices.
1003、终端设备向第一实体发送包括第一应用标识信息的第一请求信息。1003. The terminal device sends first request information including first application identification information to the first entity.
相应地,第一实体接收来自终端设备的第一请求信息。Correspondingly, the first entity receives the first request information from the terminal device.
1004、第一实体根据第一应用标识信息以及第一信息确定第二信息。1004. The first entity determines the second information according to the first application identification information and the first information.
第一实体接收到来自终端设备的第一请求信息之后,可以根据接收的来自SMF网元的终端设备的第一信息中最近一次的第一信息和第一应用标识信息确定第二信息。第二信息为第一标识对应的ECS option或本地DNS解析器的地址信息,第一标识为第二标识对应的数据网络中服务范围最小、与上述终端设备之间的距离最近的,能够反映上述终端设备最精确位置的数据网络的DNAI,第二标识为上述终端设备当前所在位置对应的至少一个DNAI。After receiving the first request information from the terminal device, the first entity may determine the second information according to the most recent first information and the first application identification information in the first information received from the terminal device of the SMF network element. The second information is the address information of the ECS option or the local DNS resolver corresponding to the first identifier. The first identifier is the data network corresponding to the second identifier with the smallest service range and the closest distance to the terminal device, which can reflect the above The DNAI of the data network at the most precise location of the terminal device, and the second identifier is at least one DNAI corresponding to the current location of the terminal device.
1005、第一实体根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息。1005. The first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information.
相应地,集中DNS服务器或本地DNS解析器接收来自第一实体的DNS请求信息。Accordingly, the centralized DNS server or the local DNS resolver receives the DNS request information from the first entity.
其中,步骤1005与步骤707相似,详细描述可以参考步骤707。Wherein, step 1005 is similar to step 707 , and the detailed description can refer to step 707 .
步骤1001-步骤1005的详细描述可以参考上面的相关描述,在此不加赘述。For detailed descriptions of steps 1001 to 1005, reference may be made to the above related descriptions, and details are not repeated here.
基于上述网络架构,请参阅图11,图11是本申请实施例公开的又一种通信方法的流程示意图。如图11所示,该通信方法可以包括以下步骤。Based on the above network architecture, please refer to FIG. 11 , which is a schematic flowchart of another communication method disclosed by an embodiment of the present application. As shown in FIG. 11 , the communication method may include the following steps.
1101、终端设备建立PDU会话。1101. The terminal device establishes a PDU session.
1102、终端设备向第一实体发送包括第一应用标识信息的第一请求信息。1102. The terminal device sends first request information including first application identification information to the first entity.
相应地,第一实体接收来自终端设备的第一请求信息。Correspondingly, the first entity receives the first request information from the terminal device.
1103、第一实体根据第一应用标识信息以及第一信息确定第二信息。1103. The first entity determines the second information according to the first application identification information and the first information.
第二信息为第一标识对应的ECS option或本地DNS解析器的地址信息,第一标识为第二标识对应的数据网络中服务范围最小、或与上述终端设备之间的距离最近的,或能够反映上述终端设备最精确位置的数据网络的DNAI,第二标识为上述终端设备当前所在位置对应的至少一个DNAI。The second information is the address information of the ECS option or the local DNS resolver corresponding to the first identification, and the first identification is the data network corresponding to the second identification with the smallest service range or the closest distance to the above-mentioned terminal device, or capable of The DNAI of the data network that reflects the most accurate location of the terminal device, and the second identifier is at least one DNAI corresponding to the current location of the terminal device.
第一实体接收到来自终端设备的第一请求信息之后,可以根据第一应用标识信息以及第一信息确定第二信息。当第一实体确定第二信息失败,即第一实体中不存在第一信息或存在的第一信息不包括确定第二信息所需信息时,可以先执行步骤1104-步骤1105。当通过步骤1105可以直接接收到第二信息时,第一实体可以不再执行步骤1103;当通过步骤1105无法接收到第二信息时,第一实体还需要再次执行步骤1103。After receiving the first request information from the terminal device, the first entity may determine the second information according to the first application identification information and the first information. When the first entity fails to determine the second information, that is, the first information does not exist in the first entity or the existing first information does not include the information required for determining the second information, steps 1104 to 1105 may be performed first. When the second information can be directly received through step 1105, the first entity can no longer perform step 1103; when the second information cannot be received through step 1105, the first entity needs to perform step 1103 again.
1104、第一实体向SMF网元发送第一应用标识信息和/或第一指示信息。1104. The first entity sends the first application identification information and/or the first indication information to the SMF network element.
相应地,SMF网元接收来自第一实体的第一应用标识信息和/或第一指示信息。Correspondingly, the SMF network element receives the first application identification information and/or the first indication information from the first entity.
1105、SMF网元根据第一应用标识信息和/或第一指示信息向第一实体发送第一信息。1105. The SMF network element sends the first information to the first entity according to the first application identification information and/or the first indication information.
相应地,第一实体接收来自SMF网元的第一信息。Correspondingly, the first entity receives the first information from the SMF network element.
步骤1105发送的第一信息只针对上述终端设备有用,针对其他终端设备没有用。因此,第一实体接收到第一信息之后,可以建立第一信息与上述终端设备之间的关系。The first information sent in step 1105 is only useful for the above-mentioned terminal devices, and is not useful for other terminal devices. Therefore, after receiving the first information, the first entity can establish a relationship between the first information and the above-mentioned terminal device.
在一种实现方式中,第一信息可以包括第二信息。在另一种实现方式中,第一信息可 以包括第一应用标识信息和与第一应用标识信息对应的第二信息。第一信息还可以包括第三标识和与第三标识对应的第三信息,第三标识为第二标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的ECS option或本地DNS解析器的地址信息。In one implementation, the first information may include the second information. In another implementation manner, the first information may include first application identification information and second information corresponding to the first application identification information. The first information may also include a third identifier and third information corresponding to the third identifier, where the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third information is the ECS corresponding to the third identifier. option or the address information of the local DNS resolver.
1106、第一实体根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息。1106. The first entity sends the DNS request information to the centralized DNS server or the local DNS resolver according to the second information.
相应地,集中DNS服务器或本地DNS解析器接收来自第一实体的DNS请求信息。Accordingly, the centralized DNS server or the local DNS resolver receives the DNS request information from the first entity.
1107、SMF网元向第一实体发送第二指示信息。1107. The SMF network element sends the second indication information to the first entity.
相应地,第一实体接收来自SMF网元的第二指示信息。Correspondingly, the first entity receives the second indication information from the SMF network element.
当SMF网元感知到终端设备对应第一标识发生变化时,SMF网元可以向第一实体发送第二指示信息。When the SMF network element perceives that the first identifier corresponding to the terminal device changes, the SMF network element may send the second indication information to the first entity.
1108、第一实体根据第二指示信息删除第一信息。1108. The first entity deletes the first information according to the second indication information.
第一实体可以根据第二指示信息删除第一信息,即删除终端设备对应的第一信息。The first entity may delete the first information according to the second indication information, that is, delete the first information corresponding to the terminal device.
其中,步骤1101-步骤1108的详细描述可以参考上面的相关描述,在此不加赘述。For the detailed description of steps 1101 to 1108, reference may be made to the above related descriptions, which will not be repeated here.
应理解,上述通信方法中由终端设备执行的功能也可以由终端设备中的模块(例如,芯片)来执行,由第一实体执行的功能也可以由第一实体中的模块(例如,芯片)来执行,由SMF网元执行的功能也可以由SMF网元中的模块(例如,芯片)来执行,由DNS服务器执行的功能也可以由DNS服务器中的模块(例如,芯片)来执行,由DNS解析器执行的功能也可以由DNS解析器中的模块(例如,芯片)来执行。It should be understood that the functions performed by the terminal device in the above communication method may also be performed by a module (eg, a chip) in the terminal device, and the function performed by the first entity may also be performed by a module (eg, a chip) in the first entity. To perform, the functions performed by the SMF network element may also be performed by a module (eg, a chip) in the SMF network element, and the function performed by the DNS server may also be performed by a module (eg, a chip) in the DNS server. Performed by The functions performed by the DNS resolver may also be performed by a module (eg, a chip) in the DNS resolver.
应理解,上述通信方法中的SMF网元可以由其他移动网络控制面网元或设备来代替。It should be understood that the SMF network elements in the above communication method may be replaced by other mobile network control plane network elements or devices.
应理解,上述不同实施例中相关信息可以相互参考。It should be understood that the related information in the above-mentioned different embodiments may refer to each other.
基于上述网络架构,请参阅图12,图12是本申请实施例公开的一种通信装置的结构示意图。如图12所示,该通信装置可以包括:Based on the above network architecture, please refer to FIG. 12 , which is a schematic structural diagram of a communication device disclosed in an embodiment of the present application. As shown in Figure 12, the communication device may include:
接收单元1201,用于接收来自终端设备的第一请求信息,第一请求信息包括第一应用标识信息;a receiving unit 1201, configured to receive first request information from a terminal device, where the first request information includes first application identification information;
确定单元1202,用于根据第一应用标识信息以及从会话网络功能网元获取的第一信息确定第二信息,第二信息为ECS option或本地DNS解析器的地址信息;A determining unit 1202, configured to determine second information according to the first application identification information and the first information obtained from the session network function network element, where the second information is the address information of the ECS option or the local DNS resolver;
发送单元1203,用于根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息,DNS请求信息包括第一应用标识信息,DNS请求信息用于获取应用服务器的地址信息。The sending unit 1203 is configured to send DNS request information to a centralized DNS server or a local DNS resolver according to the second information, where the DNS request information includes first application identification information, and the DNS request information is used to obtain address information of the application server.
在一个实施例中,接收单元1201,还用于接收来自会话管理功能网元的第一信息,第一信息包括第一应用标识信息以及与第一应用标识信息对应的第二信息。In one embodiment, the receiving unit 1201 is further configured to receive first information from the session management function network element, where the first information includes first application identification information and second information corresponding to the first application identification information.
在一个实施例中,接收单元1201,还用于接收来自会话管理功能网元的第一信息,第一信息包括第一应用标识信息、第一标识以及与第一应用标识信息和第一标识对应的第二信息,第一标识为至少一个数据网络接入标识。In one embodiment, the receiving unit 1201 is further configured to receive first information from the session management function network element, where the first information includes first application identification information, a first identification, and the first information corresponding to the first application identification information and the first identification The second information of the first identifier is at least one data network access identifier.
在一个实施例中,接收单元1201,还用于接收来自会话管理功能网元的第二标识,第二标识为终端设备当前所在位置对应的数据网络接入标识;In one embodiment, the receiving unit 1201 is further configured to receive a second identifier from the session management function network element, where the second identifier is a data network access identifier corresponding to the current location of the terminal device;
确定单元1202,具体用于根据第一应用标识信息、第二标识以及从会话网络功能网元 获取的第一信息确定第二信息。The determining unit 1202 is specifically configured to determine the second information according to the first application identification information, the second identification and the first information obtained from the session network function network element.
在一个实施例中,发送单元1203,还用于接收单元接收来自会话管理功能网元的第一信息之前,向会话管理功能网元发送第一应用标识信息和/或第一指示信息,第一应用标识信息用于获取第一信息,第一指示信息用于指示会话管理功能网元发送第一信息。In one embodiment, the sending unit 1203 is further configured to send the first application identification information and/or the first indication information to the session management function network element before the receiving unit receives the first information from the session management function network element, the first The application identification information is used to acquire the first information, and the first indication information is used to instruct the session management function network element to send the first information.
在一个实施例中,第一信息还包括第三标识、第一标识以及与第一标识和第三标识对应的第三信息,第三标识为第一标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的ECS option或本地DNS解析器的地址信息。In one embodiment, the first information further includes a third identifier, the first identifier, and third information corresponding to the first identifier and the third identifier, and the third identifier is an application of an application deployed in the data network corresponding to the first identifier Identification information, the third information is the ECS option corresponding to the third identification or the address information of the local DNS resolver.
在一个实施例中,第一信息还包括第三标识以及与第三标识对应的第三信息,第三标识为第一标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的ECS option或本地DNS解析器的地址信息。In one embodiment, the first information further includes a third identifier and third information corresponding to the third identifier, the third identifier is application identifier information of an application deployed in the data network corresponding to the first identifier, and the third information is the first identifier. 3. Identifies the address information of the corresponding ECS option or local DNS resolver.
在一个实施例中,接收单元1201,还用于接收来自会话管理功能网元的第二指示信息和第四标识,第四标识为不再为终端设备服务的数据网络的数据网络接入标识,第一标识包括第四标识;In one embodiment, the receiving unit 1201 is further configured to receive second indication information and a fourth identifier from the session management function network element, where the fourth identifier is a data network access identifier of a data network that no longer serves the terminal device, The first identification includes a fourth identification;
该通信装置还可以包括:The communication device may also include:
删除单元1204,用于根据第二指示信息,删除第一信息中第四标识对应的信息。The deletion unit 1204 is configured to delete the information corresponding to the fourth identifier in the first information according to the second indication information.
在一个实施例中,接收单元1201接收来自会话管理功能网元的第二指示信息和第四标识包括:In one embodiment, the receiving unit 1201 receiving the second indication information and the fourth identifier from the session management function network element includes:
接收来自会话管理功能网元的第二指示信息、第四标识和第五标识,第五标识为第四标识对应的数据网络中部署的应用的应用标识信息;receiving the second indication information, the fourth identifier and the fifth identifier from the network element of the session management function, where the fifth identifier is the application identifier information of the application deployed in the data network corresponding to the fourth identifier;
删除单元1204,具体用于删除第一信息中与第四标识和第五标识对应的信息。The deletion unit 1204 is specifically configured to delete the information corresponding to the fourth identifier and the fifth identifier in the first information.
在一个实施例中,发送单元1203根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息包括:In one embodiment, the sending unit 1203 sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes:
当第二信息为ECS option时,向集中DNS服务器发送DNS请求信息,DNS请求还包括第二信息;When the second information is ECS option, send DNS request information to the centralized DNS server, and the DNS request also includes the second information;
当第二信息为本地DNS解析器的地址信息时,向本地DNS解析器发送DNS请求信息。When the second information is the address information of the local DNS resolver, the DNS request information is sent to the local DNS resolver.
有关上述接收单元1201、确定单元1202、发送单元1203和删除单元1204更详细的描述可以直接参考上述图5、图7和图8所示的方法实施例中第一实体的相关描述直接得到,这里不加赘述。More detailed descriptions of the above-mentioned receiving unit 1201, determining unit 1202, sending unit 1203, and deleting unit 1204 can be obtained directly by referring to the relevant descriptions of the first entity in the method embodiments shown in FIG. 5, FIG. 7 and FIG. 8, here Without further ado.
基于上述网络架构,请参阅图13,图13是本申请实施例公开的另一种通信装置的结构示意图。如图13所示,该通信装置可以包括:Based on the above network architecture, please refer to FIG. 13 , which is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in Figure 13, the communication device may include:
发送单元1301,用于向第一实体发送第一信息,第一信息包括第一应用标识信息以及与第一应用标识信息对应的第二信息,或者第一应用标识信息、第一标识以及与第一应用标识信息和第一标识对应的第二信息,第一标识为至少一个数据网络接入标识,第二信息为ECS option或本地DNS解析器的地址信息,第一信息用于第一实体确定第二信息。The sending unit 1301 is configured to send first information to a first entity, where the first information includes first application identification information and second information corresponding to the first application identification information, or the first application identification information, the first identification and the first Second information corresponding to the application identification information and the first identification, the first identification is at least one data network access identification, the second information is the address information of the ECS option or the local DNS resolver, and the first information is used for the first entity to determine second information.
在一个实施例中,发送单元1301,还用于向第一实体发送第二标识,第二标识为终端设备当前所在位置对应的数据网络接入标识;In one embodiment, the sending unit 1301 is further configured to send a second identifier to the first entity, where the second identifier is a data network access identifier corresponding to the current location of the terminal device;
第一信息用于确定第二信息包括:The first information is used to determine that the second information includes:
第一信息和第二标识用于确定第二信息。The first information and the second identification are used to determine the second information.
在一个实施例中,该通信装置还可以包括:In one embodiment, the communication device may further include:
接收单元1302,用于接收来自第一实体的第一应用标识信息和/或第一指示信息;a receiving unit 1302, configured to receive first application identification information and/or first indication information from a first entity;
发送单元1301向第一实体发送第一信息包括:The sending unit 1301 sending the first information to the first entity includes:
根据第一应用标识信息和/或第一指示信息向第一实体发送第一信息。The first information is sent to the first entity according to the first application identification information and/or the first indication information.
在一个实施例中,第一信息还包括第三标识、第一标识以及与第一标识和第三标识对应的第三信息,第三标识为第一标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的ECS option或本地DNS解析器的地址信息。In one embodiment, the first information further includes a third identifier, the first identifier, and third information corresponding to the first identifier and the third identifier, and the third identifier is an application of an application deployed in the data network corresponding to the first identifier Identification information, the third information is the ECS option corresponding to the third identification or the address information of the local DNS resolver.
在一个实施例中,第一信息还包括第三标识以及与第三标识对应的第三信息,第三标识为第一标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的客户端子网选项或本地DNS解析器的地址信息。In one embodiment, the first information further includes a third identifier and third information corresponding to the third identifier, the third identifier is application identifier information of an application deployed in the data network corresponding to the first identifier, and the third information is the first identifier. 3. Identify the corresponding client subnet option or address information of the local DNS resolver.
在一个实施例中,发送单元1301,还用于向第一实体发送第二指示信息和第四标识,第四标识为不再为终端设备服务的数据网络的数据网络接入标识,第一标识包括第四标识,第二指示信息用于删除第一信息中第四标识对应的信息。In one embodiment, the sending unit 1301 is further configured to send second indication information and a fourth identifier to the first entity, where the fourth identifier is a data network access identifier of a data network that no longer serves the terminal device, and the first identifier A fourth identifier is included, and the second indication information is used to delete the information corresponding to the fourth identifier in the first information.
在一个实施例中,发送单元1301向第一实体发送第二指示信息和第四标识包括:In one embodiment, the sending unit 1301 sending the second indication information and the fourth identifier to the first entity includes:
向第一实体发送第二指示信息、第四标识和第五标识,第五标识为第四标识对应的数据网络中部署的应用的应用标识信息;sending the second indication information, the fourth identifier and the fifth identifier to the first entity, where the fifth identifier is the application identifier information of the application deployed in the data network corresponding to the fourth identifier;
第二指示信息用于删除第一信息中第四标识对应的信息包括:The second indication information is used to delete the information corresponding to the fourth identifier in the first information, including:
第二指示信息用于删除第一信息中与第四标识和第五标识对应的信息。The second indication information is used to delete the information corresponding to the fourth identifier and the fifth identifier in the first information.
有关上述发送单元1301和接收单元1302更详细的描述可以直接参考上述图5、图7和图8所示的方法实施例中SMF网元的相关描述直接得到,这里不加赘述。More detailed descriptions of the above sending unit 1301 and receiving unit 1302 can be obtained directly by referring to the related descriptions of the SMF network elements in the method embodiments shown in FIG. 5 , FIG. 7 and FIG.
基于上述网络架构,请参阅图14,图14是本申请实施例公开的又一种通信装置的结构示意图。如图14所示,该通信装置可以包括:Based on the above network architecture, please refer to FIG. 14 . FIG. 14 is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in Figure 14, the communication device may include:
接收单元1401,用于接收来自终端设备的第一请求信息,第一请求信息包括第一应用标识信息;a receiving unit 1401, configured to receive first request information from a terminal device, where the first request information includes first application identification information;
确定单元1402,用于根据从会话管理功能网元获取的第一信息确定第二信息,第二信息为第一标识对应的ECS option或本地DNS解析器的地址信息,第一标识为第二标识对应的数据网络中服务范围最小或与终端设备之间的距离最近的数据网络的数据网络接入标识,第二标识为终端设备当前所在位置对应的至少一个数据网络接入标识;Determining unit 1402, configured to determine second information according to the first information obtained from the session management function network element, where the second information is the ECS option corresponding to the first identification or the address information of the local DNS resolver, and the first identification is the second identification The data network access identifier of the data network with the smallest service range or the closest distance to the terminal device in the corresponding data network, and the second identifier is at least one data network access identifier corresponding to the current location of the terminal device;
发送单元1403,用于根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息,DNS请求信息包括第一应用标识信息,DNS请求信息用于获取应用服务器的地址信息。The sending unit 1403 is configured to send DNS request information to the centralized DNS server or the local DNS resolver according to the second information, where the DNS request information includes the first application identification information, and the DNS request information is used to obtain the address information of the application server.
在一个实施例中,接收单元1401,还用于接收来自会话管理功能网元的第一信息,第一信息包括第二信息。In one embodiment, the receiving unit 1401 is further configured to receive first information from the session management function network element, where the first information includes the second information.
在一个实施例中,接收单元1401,还用于接收来自会话管理功能网元的第一信息,第一信息包括第一应用标识信息和与第一应用标识信息对应的第二信息。In one embodiment, the receiving unit 1401 is further configured to receive first information from the session management function network element, where the first information includes first application identification information and second information corresponding to the first application identification information.
在一个实施例中,第一信息还包括第三标识和与第三标识对应的第三信息,第三标识 为第二标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的ECS option或本地DNS解析器的地址信息。In one embodiment, the first information further includes a third identifier and third information corresponding to the third identifier, the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third information is the third identifier. 3. Identifies the address information of the corresponding ECS option or local DNS resolver.
在一个实施例中,发送单元1403,还用于向会话管理功能网元发送第一应用标识信息和/或第一指示信息,第一应用标识信息用于获取第一信息,第一指示信息用于指示会话管理功能网元发送第一信息。In one embodiment, the sending unit 1403 is further configured to send the first application identification information and/or the first indication information to the session management function network element, where the first application identification information is used to obtain the first information, and the first indication information is used for The first information is sent to the network element instructing the session management function.
在一个实施例中,接收单元1401,还用于接收来自会话管理功能网元的第二指示信息,第二指示信息用于指示删除所述第一信息;In one embodiment, the receiving unit 1401 is further configured to receive second indication information from the session management function network element, where the second indication information is used to instruct to delete the first information;
该通信装置还可以包括:The communication device may also include:
删除单元1404,用于根据第二指示信息删除第一信息。The deletion unit 1404 is configured to delete the first information according to the second indication information.
在一个实施例中,发送单元1403根据第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息包括:In one embodiment, the sending unit 1403 sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information includes:
当第二信息为ECS option时,向集中DNS服务器发送DNS请求信息,DNS请求还包括第二信息;When the second information is ECS option, send DNS request information to the centralized DNS server, and the DNS request also includes the second information;
当第二信息为本地DNS解析器的地址信息时,向本地DNS解析器发送DNS请求信息。When the second information is the address information of the local DNS resolver, the DNS request information is sent to the local DNS resolver.
有关上述接收单元1401、确定单元1402、发送单元1403和删除单元1404更详细的描述可以直接参考上述图9-图11所示的方法实施例中第一实体的相关描述直接得到,这里不加赘述。More detailed descriptions of the above-mentioned receiving unit 1401, determining unit 1402, transmitting unit 1403 and deleting unit 1404 can be obtained directly by referring to the relevant descriptions of the first entity in the method embodiments shown in FIG. 9-FIG. 11, and will not be repeated here .
基于上述网络架构,请参阅图15,图15是本申请实施例公开的又一种通信装置的结构示意图。如图15所示,该通信装置可以包括:Based on the above network architecture, please refer to FIG. 15 , which is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in Figure 15, the communication device may include:
发送单元1501,用于向第一实体发送第一信息,第一信息包括第二信息,或第一应用标识信息和与第一应用标识信息对应的第二信息,第二信息为第一标识对应的ECS option或本地DNS解析器的地址信息,第一标识为第二标识对应的数据网络中服务范围最小或与终端设备之间的距离最近的数据网络的数据网络接入标识,第二标识为终端设备当前所在位置对应的至少一个数据网络接入标识,第一信息用于确定第二信息。A sending unit 1501, configured to send first information to a first entity, where the first information includes second information, or first application identification information and second information corresponding to the first application identification information, where the second information corresponds to the first identification The address information of the ECS option or the local DNS resolver, the first identifier is the data network access identifier of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier, and the second identifier is At least one data network access identifier corresponding to the current location of the terminal device, and the first information is used to determine the second information.
在一个实施例中,第一信息还包括第三标识和与第三标识对应的第三信息,第三标识为第二标识对应的数据网络中部署的应用的应用标识信息,第三信息为第三标识对应的ECS option或本地DNS解析器的地址信息。In one embodiment, the first information further includes a third identifier and third information corresponding to the third identifier, the third identifier is application identifier information of an application deployed in the data network corresponding to the second identifier, and the third information is the third identifier. 3. Identifies the address information of the corresponding ECS option or local DNS resolver.
在一个实施例中,该通信装置还可以包括:In one embodiment, the communication device may further include:
接收单元1502,用于接收来自第一实体的第一应用标识信息和/或第一指示信息;a receiving unit 1502, configured to receive first application identification information and/or first indication information from a first entity;
发送单元1501,具体用于根据第一应用标识信息和/或第一指示信息向第一实体发送第一信息。The sending unit 1501 is specifically configured to send the first information to the first entity according to the first application identification information and/or the first indication information.
在一个实施例中,发送单元1501,还用于向第一实体发送第二指示信息,第二指示信息用于指示删除第一信息。In one embodiment, the sending unit 1501 is further configured to send second indication information to the first entity, where the second indication information is used to indicate deletion of the first information.
有关上述发送单元1501和接收单元1502更详细的描述可以直接参考上述图9-图11所示的方法实施例中SMF网元的相关描述直接得到,这里不加赘述。More detailed descriptions of the above-mentioned sending unit 1501 and receiving unit 1502 can be obtained directly by referring to the relevant descriptions of the SMF network elements in the method embodiments shown in FIG. 9 to FIG. 11 , which will not be repeated here.
基于上述网络架构,请参阅图16,图16是本申请实施例公开的又一种通信装置的结构 示意图。如图16所示,该通信装置可以包括处理器1601、存储器1602、输入接口1603、输出接口1604和总线1605。存储器1602可以是独立存在的,可以通过总线1605与处理器1601相连接。存储器1602也可以和处理器1601集成在一起。其中,总线1605用于实现这些组件之间的连接。Based on the above-mentioned network architecture, please refer to FIG. 16 , which is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in FIG. 16 , the communication device may include a processor 1601 , a memory 1602 , an input interface 1603 , an output interface 1604 and a bus 1605 . The memory 1602 may exist independently, and may be connected to the processor 1601 through the bus 1605 . The memory 1602 may also be integrated with the processor 1601. Among them, the bus 1605 is used to realize the connection between these components.
在一个实施例中,该通信装置可以为第一实体或者第一实体内的模块(例如,芯片),存储器1602中存储的计算机程序指令被执行时,该处理器1601用于控制接收单元1201和发送单元1203执行上述实施例中执行的操作,该处理器1601还用于执行确定单元1202和删除单元1204上述实施例中执行的操作,输入接口1603用于执行上述实施例中接收单元1201执行的操作,输出接口1604用于执行上述实施例中发送单元1203执行的操作。上述第一实体或者第一实体内的模块还可以用于执行上述图5、图7和图8方法实施例中第一实体执行的各种方法,不再赘述。In one embodiment, the communication device may be a first entity or a module (eg, a chip) within the first entity, and when the computer program instructions stored in the memory 1602 are executed, the processor 1601 is configured to control the receiving unit 1201 and The sending unit 1203 performs the operations performed in the foregoing embodiments, the processor 1601 is further configured to perform the operations performed by the determining unit 1202 and the deleting unit 1204 in the foregoing embodiments, and the input interface 1603 is configured to perform the operations performed by the receiving unit 1201 in the foregoing embodiments. Operation, the output interface 1604 is used to perform the operation performed by the sending unit 1203 in the above embodiment. The foregoing first entity or a module within the first entity may also be used to execute various methods performed by the first entity in the foregoing method embodiments in FIG. 5 , FIG. 7 , and FIG.
在一个实施例中,该通信装置可以为SMF网元或者SMF网元内的模块(例如,芯片),存储器1602中存储的计算机程序指令被执行时,该处理器1601用于控制发送单元1301和接收单元1302执行上述实施例中执行的操作,输入接口1603用于执行上述实施例中接收单元1302执行的操作,输出接口1604用于执行上述实施例中发送单元1301执行的操作。上述SMF网元或者SMF网元内的模块还可以用于执行上述图5、图7和图8方法实施例中SMF网元执行的各种方法,不再赘述。In one embodiment, the communication device may be an SMF network element or a module (eg, a chip) within the SMF network element. When the computer program instructions stored in the memory 1602 are executed, the processor 1601 is used to control the sending unit 1301 and The receiving unit 1302 performs the operations performed in the above embodiments, the input interface 1603 is used to perform the operations performed by the receiving unit 1302 in the above embodiments, and the output interface 1604 is used to perform the operations performed by the sending unit 1301 in the above embodiments. The foregoing SMF network element or modules within the SMF network element may also be used to execute various methods performed by the SMF network element in the foregoing method embodiments of FIG. 5 , FIG. 7 , and FIG. 8 , which will not be repeated.
在一个实施例中,该通信装置可以为第一实体或者第一实体内的模块(例如,芯片),存储器1602中存储的计算机程序指令被执行时,该处理器1601用于控制接收单元1401和发送单元1403执行上述实施例中执行的操作,该处理器1601还用于执行确定单元1402和删除单元1404上述实施例中执行的操作,输入接口1603用于执行上述实施例中接收单元1401执行的操作,输出接口1604用于执行上述实施例中发送单元1403执行的操作。上述第一实体或者第一实体内的模块还可以用于执行上述图9-图11方法实施例中第一实体执行的各种方法,不再赘述。In one embodiment, the communication device may be a first entity or a module (eg, a chip) within the first entity, and when the computer program instructions stored in the memory 1602 are executed, the processor 1601 is configured to control the receiving unit 1401 and The sending unit 1403 performs the operations performed in the foregoing embodiments, the processor 1601 is further configured to perform the operations performed by the determining unit 1402 and the deleting unit 1404 in the foregoing embodiments, and the input interface 1603 is configured to perform the operations performed by the receiving unit 1401 in the foregoing embodiments. Operation, the output interface 1604 is used to perform the operation performed by the sending unit 1403 in the above embodiment. The foregoing first entity or a module within the first entity may also be used to execute various methods performed by the first entity in the foregoing method embodiments in FIGS.
在一个实施例中,该通信装置可以为SMF网元或者SMF网元内的模块(例如,芯片),存储器1602中存储的计算机程序指令被执行时,该处理器1601用于控制发送单元1501和接收单元1502执行上述实施例中执行的操作,输入接口1603用于执行上述实施例中接收单元1502执行的操作,输出接口1604用于执行上述实施例中发送单元1501执行的操作。上述SMF网元或者SMF网元内的模块还可以用于执行上述图9-图11方法实施例中SMF网元执行的各种方法,不再赘述。In one embodiment, the communication device may be an SMF network element or a module (eg, a chip) within the SMF network element. When the computer program instructions stored in the memory 1602 are executed, the processor 1601 is used to control the sending unit 1501 and The receiving unit 1502 performs the operations performed in the above embodiments, the input interface 1603 is used to perform the operations performed by the receiving unit 1502 in the above embodiments, and the output interface 1604 is used to perform the operations performed by the sending unit 1501 in the above embodiments. The foregoing SMF network element or modules within the SMF network element may also be used to execute various methods performed by the SMF network element in the foregoing method embodiments of FIGS.
基于上述网络架构,请参阅图17,图17是本申请实施例公开的又一种通信装置的结构示意图。如图17所示,该通信装置可以包括输入接口1701、逻辑电路1702和输出接口1703。输入接口1701与输出接口1703通过逻辑电路1702相连接。其中,输入接口1701用于接收来自其它通信装置的信息,输出接口1703用于向其它通信装置输出、调度或者发送信息。逻辑电路1702用于执行除输入接口1701与输出接口1703的操作之外的操作,例如实现上述实施例中处理器1601实现的功能。其中,该通信装置可以为网络设备或者网络设备的模块,也可以为第一终端设备或者第一终端设备的模块,还可以为第二终端设备或者第二终端设 备的模块。其中,有关输入接口1701、逻辑电路1702和输出接口1703更详细的描述可以直接参考上述方法实施例中第一实体和SMF网元的相关描述直接得到,这里不加赘述。Based on the above network architecture, please refer to FIG. 17 , which is a schematic structural diagram of another communication device disclosed in an embodiment of the present application. As shown in FIG. 17 , the communication device may include an input interface 1701 , a logic circuit 1702 and an output interface 1703 . The input interface 1701 and the output interface 1703 are connected through the logic circuit 1702 . The input interface 1701 is used for receiving information from other communication devices, and the output interface 1703 is used for outputting, scheduling or sending information to other communication devices. The logic circuit 1702 is configured to perform operations other than the operations of the input interface 1701 and the output interface 1703, for example, to implement the functions implemented by the processor 1601 in the above-mentioned embodiment. The communication device may be a network device or a module of a network device, a first terminal device or a module of the first terminal device, or a second terminal device or a module of the second terminal device. The more detailed description about the input interface 1701 , the logic circuit 1702 and the output interface 1703 can be obtained directly by referring to the relevant descriptions of the first entity and the SMF network element in the above method embodiments, which will not be repeated here.
本申请实施例还公开一种计算机可读存储介质,其上存储有指令,该指令被执行时执行上述方法实施例中的方法。The embodiments of the present application further disclose a computer-readable storage medium, on which instructions are stored, and when the instructions are executed, the methods in the foregoing method embodiments are executed.
本申请实施例还公开一种包括指令的计算机程序产品,该指令被执行时执行上述方法实施例中的方法。The embodiment of the present application further discloses a computer program product including an instruction, when the instruction is executed, the method in the foregoing method embodiment is executed.
本申请实施例还公开一种通信系统,该通信系统包括网络设备、第一终端设备和第二终端设备,具体描述可以参考图5、图7-图11所示的通信方法。An embodiment of the present application further discloses a communication system, which includes a network device, a first terminal device, and a second terminal device. For a specific description, reference may be made to the communication methods shown in FIG. 5 and FIG. 7 to FIG. 11 .
以上所述的具体实施方式,对本申请的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本申请的具体实施方式而已,并不用于限定本申请的保护范围,凡在本申请的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本申请的保护范围之内。The specific embodiments described above further describe the purpose, technical solutions and beneficial effects of the present application in detail. It should be understood that the above descriptions are only specific embodiments of the present application, and are not intended to limit the The protection scope, any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present application shall be included within the protection scope of the present application.
Claims (63)
- 一种通信方法,其特征在于,包括:A communication method, comprising:接收来自终端设备的第一请求信息,所述第一请求信息包括第一应用标识信息;receiving first request information from a terminal device, where the first request information includes first application identification information;根据所述第一应用标识信息以及从会话网络功能网元获取的第一信息确定第二信息,所述第二信息为DNS扩展机制客户端子网选项或本地域名系统DNS解析器的地址信息;Determine second information according to the first application identification information and the first information obtained from the session network function network element, where the second information is the DNS extension mechanism client subnet option or the address information of the local domain name system DNS resolver;根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息,所述DNS请求信息包括所述第一应用标识信息,所述DNS请求信息用于获取应用服务器的地址信息。Send DNS request information to a centralized DNS server or a local DNS resolver according to the second information, where the DNS request information includes the first application identification information, and the DNS request information is used to obtain address information of the application server.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第一应用标识信息以及与所述第一应用标识信息对应的第二信息。The first information from the session management function network element is received, where the first information includes the first application identification information and second information corresponding to the first application identification information.
- 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第一应用标识信息、第一标识以及与所述第一应用标识信息和所述第一标识对应的第二信息,所述第一标识为至少一个数据网络接入标识。Receive the first information from the session management function network element, where the first information includes the first application identification information, the first identification, and the corresponding first application identification information and the first identification In the second information, the first identifier is at least one data network access identifier.
- 根据权利要求1-3任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-3, wherein the method further comprises:接收来自所述会话管理功能网元的第二标识,所述第二标识为所述终端设备当前所在位置对应的数据网络接入标识;receiving a second identifier from the session management function network element, where the second identifier is a data network access identifier corresponding to the current location of the terminal device;所述根据所述第一应用标识信息以及从会话网络功能网元获取的第一信息确定第二信息包括:The determining of the second information according to the first application identification information and the first information obtained from the session network function network element includes:根据所述第一应用标识信息、所述第二标识以及从会话网络功能网元获取的第一信息确定第二信息。The second information is determined according to the first application identification information, the second identification and the first information obtained from the session network function network element.
- 根据权利要求2-4任一项所述的方法,其特征在于,所述接收来自所述会话管理功能网元的所述第一信息之前,所述方法还包括:The method according to any one of claims 2-4, wherein before the receiving the first information from the session management function network element, the method further comprises:向所述会话管理功能网元发送所述第一应用标识信息和/或第一指示信息,所述第一应用标识信息用于获取所述第一信息,所述第一指示信息用于指示所述会话管理功能网元发送所述第一信息。Send the first application identification information and/or the first indication information to the session management function network element, where the first application identification information is used to obtain the first information, and the first indication information is used to indicate the The session management function network element sends the first information.
- 根据权利要求3-5任一项所述的方法,其特征在于,所述第一信息还包括第三标识、第一标识以及与所述第一标识和所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The method according to any one of claims 3-5, wherein the first information further comprises a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier , the third identifier is the application identifier information of the application deployed in the data network corresponding to the first identifier, and the third information is the DNS extension mechanism client subnet option or the local DNS resolver corresponding to the third identifier address information.
- 根据权利要求2、4或5所述的方法,其特征在于,所述第一信息还包括第三标识以及与所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The method according to claim 2, 4 or 5, wherein the first information further comprises a third identifier and third information corresponding to the third identifier, and the third identifier is the first identifier The application identification information that identifies the application deployed in the corresponding data network, and the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- 根据权利要求3-6任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 3-6, wherein the method further comprises:接收来自所述会话管理功能网元的第二指示信息和第四标识,所述第四标识为不再为所述终端设备服务的数据网络的数据网络接入标识,所述第一标识包括所述第四标识;Receive second indication information and a fourth identifier from the session management function network element, where the fourth identifier is a data network access identifier of a data network that no longer serves the terminal device, and the first identifier includes all the fourth logo;根据所述第二指示信息,删除所述第一信息中所述第四标识对应的信息。According to the second indication information, the information corresponding to the fourth identifier in the first information is deleted.
- 根据权利要求8所述的方法,其特征在于,所述接收来自所述会话管理功能网元的第二指示信息和第四标识包括:The method according to claim 8, wherein the receiving the second indication information and the fourth identifier from the session management function network element comprises:接收来自所述会话管理功能网元的第二指示信息、第四标识和第五标识,所述第五标识为所述第四标识对应的数据网络中部署的应用的应用标识信息;receiving second indication information, a fourth identifier, and a fifth identifier from the session management function network element, where the fifth identifier is application identifier information of an application deployed in a data network corresponding to the fourth identifier;所述删除所述第一信息中所述第四标识对应的信息包括:The deletion of the information corresponding to the fourth identifier in the first information includes:删除所述第一信息中与所述第四标识和所述第五标识对应的信息。Delete the information corresponding to the fourth identifier and the fifth identifier in the first information.
- 根据权利要求1-9任一项所述的方法,其特征在于,所述根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息包括:The method according to any one of claims 1-9, wherein the sending DNS request information to a centralized DNS server or a local DNS resolver according to the second information comprises:当所述第二信息为所述DNS扩展机制客户端子网选项时,向集中DNS服务器发送DNS请求信息,所述DNS请求还包括所述第二信息;When the second information is the client subnet option of the DNS extension mechanism, send DNS request information to the centralized DNS server, where the DNS request further includes the second information;当所述第二信息为所述本地DNS解析器的地址信息时,向所述本地DNS解析器发送DNS请求信息。When the second information is the address information of the local DNS resolver, send DNS request information to the local DNS resolver.
- 一种通信方法,其特征在于,包括:A communication method, comprising:向第一实体发送第一信息,所述第一信息包括第一应用标识信息以及与所述第一应用标识信息对应的第二信息,或者第一应用标识信息、第一标识以及与所述第一应用标识信息和所述第一标识对应的第二信息,所述第一标识为至少一个数据网络接入标识,所述第二信息为DNS扩展机制客户端子网选项或本地域名系统DNS解析器的地址信息,所述第一信息用于所述第一实体确定所述第二信息。Send first information to the first entity, where the first information includes first application identification information and second information corresponding to the first application identification information, or the first application identification information, the first identification and the first Application identification information and second information corresponding to the first identification, where the first identification is at least one data network access identification, and the second information is the DNS extension mechanism client subnet option or the local domain name system DNS resolver address information, the first information is used by the first entity to determine the second information.
- 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, wherein the method further comprises:向所述第一实体发送第二标识,所述第二标识为终端设备当前所在位置对应的数据网络接入标识;sending a second identifier to the first entity, where the second identifier is a data network access identifier corresponding to the current location of the terminal device;所述第一信息用于确定所述第二信息包括:The first information is used to determine the second information includes:所述第一信息和所述第二标识用于确定所述第二信息。The first information and the second identification are used to determine the second information.
- 根据权利要求11或12所述的方法,其特征在于,所述方法还包括:The method according to claim 11 or 12, wherein the method further comprises:接收来自所述第一实体的所述第一应用标识信息和/或第一指示信息;receiving the first application identification information and/or the first indication information from the first entity;所述向第一实体发送第一信息包括:The sending the first information to the first entity includes:根据所述第一应用标识信息和/或所述第一指示信息向第一实体发送第一信息。The first information is sent to the first entity according to the first application identification information and/or the first indication information.
- 根据权利要求11-13任一项所述的方法,其特征在于,所述第一信息还包括第三标识、第一标识以及与所述第一标识和所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The method according to any one of claims 11-13, wherein the first information further comprises a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier , the third identifier is the application identifier information of the application deployed in the data network corresponding to the first identifier, and the third information is the DNS extension mechanism client subnet option or the local DNS resolver corresponding to the third identifier address information.
- 根据权利要求11-13任一项所述的方法,其特征在于,所述第一信息还包括第三标识以及与所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The method according to any one of claims 11-13, wherein the first information further comprises a third identifier and third information corresponding to the third identifier, and the third identifier is the first 1. Application identification information that identifies an application deployed in the corresponding data network, and the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- 根据权利要求11-14任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 11-14, wherein the method further comprises:向所述第一实体发送第二指示信息和第四标识,所述第四标识为不再为所述终端设备服务的数据网络的数据网络接入标识,所述第一标识包括所述第四标识,所述第二指示信息用于删除所述第一信息中所述第四标识对应的信息。Send second indication information and a fourth identifier to the first entity, where the fourth identifier is a data network access identifier of a data network that no longer serves the terminal device, and the first identifier includes the fourth identifier identifier, and the second indication information is used to delete the information corresponding to the fourth identifier in the first information.
- 根据权利要求16所述的方法,其特征在于,所述向所述第一实体发送第二指示信息和第四标识包括:The method according to claim 16, wherein the sending the second indication information and the fourth identifier to the first entity comprises:向所述第一实体发送第二指示信息、第四标识和第五标识,所述第五标识为所述第四标识对应的数据网络中部署的应用的应用标识信息;sending second indication information, a fourth identifier, and a fifth identifier to the first entity, where the fifth identifier is application identifier information of an application deployed in a data network corresponding to the fourth identifier;所述第二指示信息用于删除所述第一信息中所述第四标识对应的信息包括:The second indication information is used to delete the information corresponding to the fourth identifier in the first information, including:所述第二指示信息用于删除所述第一信息中与所述第四标识和所述第五标识对应的信息。The second indication information is used to delete the information corresponding to the fourth identifier and the fifth identifier in the first information.
- 一种通信方法,其特征在于,包括:A communication method, comprising:接收来自终端设备的第一请求信息,所述第一请求信息包括第一应用标识信息;receiving first request information from a terminal device, where the first request information includes first application identification information;根据从会话管理功能网元获取的第一信息确定第二信息,所述第二信息为第一标识对应的DNS扩展机制客户端子网选项或本地域名系统DNS解析器的地址信息,所述第一标识为第二标识对应的数据网络中服务范围最小或与所述终端设备之间的距离最近的数据网络的数据网络接入标识,所述第二标识为所述终端设备当前所在位置对应的至少一个数据网络接入标识;The second information is determined according to the first information obtained from the network element of the session management function, where the second information is the DNS extension mechanism client subnet option corresponding to the first identifier or the address information of the local domain name system DNS resolver. The identifier is the data network access identifier of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier, and the second identifier is at least one corresponding to the current location of the terminal device. A data network access identifier;根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息,所述DNS请求信息包括所述第一应用标识信息,所述DNS请求信息用于获取应用服务器的地址信息。Send DNS request information to a centralized DNS server or a local DNS resolver according to the second information, where the DNS request information includes the first application identification information, and the DNS request information is used to obtain address information of the application server.
- 根据权利要求18所述的方法,其特征在于,所述方法还包括:The method of claim 18, wherein the method further comprises:接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第二信息。The first information from the session management function network element is received, the first information including the second information.
- 根据权利要求18所述的方法,其特征在于,所述方法还包括:The method of claim 18, wherein the method further comprises:接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第一应用标识信息和与所述第一应用标识信息对应的第二信息。The first information from the session management function network element is received, where the first information includes the first application identification information and second information corresponding to the first application identification information.
- 根据权利要求20所述的方法,其特征在于,所述第一信息还包括第三标识和与所述第三标识对应的第三信息,所述第三标识为所述第二标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The method according to claim 20, wherein the first information further comprises a third identifier and third information corresponding to the third identifier, and the third identifier is data corresponding to the second identifier The application identification information of the application deployed in the network, and the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- 根据权利要求18-21任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 18-21, wherein the method further comprises:向所述会话管理功能网元发送所述第一应用标识信息和/或第一指示信息,所述第一应用标识信息用于获取所述第一信息,所述第一指示信息用于指示所述会话管理功能网元发送所述第一信息。Send the first application identification information and/or the first indication information to the session management function network element, where the first application identification information is used to obtain the first information, and the first indication information is used to indicate the The session management function network element sends the first information.
- 根据权利要求18-22任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 18-22, wherein the method further comprises:接收来自所述会话管理功能网元的第二指示信息,所述第二指示信息用于指示删除所述第一信息;receiving second indication information from the session management function network element, where the second indication information is used to instruct deletion of the first information;根据所述第二指示信息删除所述第一信息。The first information is deleted according to the second indication information.
- 根据权利要求18-23任一项所述的方法,其特征在于,所述根据所述第二信息向集 中DNS服务器或本地DNS解析器发送DNS请求信息包括:The method according to any one of claims 18-23, wherein the sending DNS request information to a centralized DNS server or a local DNS resolver according to the second information comprises:当所述第二信息为所述DNS扩展机制客户端子网选项时,向集中DNS服务器发送DNS请求信息,所述DNS请求还包括所述第二信息;When the second information is the client subnet option of the DNS extension mechanism, send DNS request information to the centralized DNS server, where the DNS request further includes the second information;当所述第二信息为所述本地DNS解析器的地址信息时,向所述本地DNS解析器发送DNS请求信息。When the second information is the address information of the local DNS resolver, send DNS request information to the local DNS resolver.
- 一种通信方法,其特征在于,包括:A communication method, comprising:向第一实体发送第一信息,所述第一信息包括第二信息,或第一应用标识信息和与所述第一应用标识信息对应的第二信息,所述第二信息为第一标识对应的DNS扩展机制客户端子网选项或本地域名系统DNS解析器的地址信息,所述第一标识为第二标识对应的数据网络中服务范围最小或与终端设备之间的距离最近的数据网络的数据网络接入标识,所述第二标识为所述终端设备当前所在位置对应的至少一个数据网络接入标识,所述第一信息用于确定所述第二信息。Send first information to the first entity, where the first information includes second information, or first application identification information and second information corresponding to the first application identification information, where the second information corresponds to the first identification The DNS extension mechanism client subnet option or the address information of the local domain name system DNS resolver, the first identifier is the data of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier A network access identifier, the second identifier is at least one data network access identifier corresponding to the current location of the terminal device, and the first information is used to determine the second information.
- 根据权利要求25所述的方法,其特征在于,所述第一信息还包括第三标识和与所述第三标识对应的第三信息,所述第三标识为所述第二标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The method according to claim 25, wherein the first information further comprises a third identifier and third information corresponding to the third identifier, wherein the third identifier is data corresponding to the second identifier The application identification information of the application deployed in the network, and the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- 根据权利要求25或26所述的方法,其特征在于,所述方法还包括:The method according to claim 25 or 26, wherein the method further comprises:接收来自所述第一实体的所述第一应用标识信息和/或第一指示信息;receiving the first application identification information and/or the first indication information from the first entity;所述向第一实体发送第一信息:The sending the first information to the first entity:根据所述第一应用标识信息和/或所述第一指示信息向第一实体发送第一信息。The first information is sent to the first entity according to the first application identification information and/or the first indication information.
- 根据权利要求25-27任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 25-27, wherein the method further comprises:向所述第一实体发送第二指示信息,所述第二指示信息用于指示删除所述第一信息。Sending second indication information to the first entity, where the second indication information is used to instruct deletion of the first information.
- 一种通信装置,其特征在于,包括:A communication device, comprising:接收单元,用于接收来自终端设备的第一请求信息,所述第一请求信息包括第一应用标识信息;a receiving unit, configured to receive first request information from a terminal device, where the first request information includes first application identification information;确定单元,用于根据所述第一应用标识信息以及从会话网络功能网元获取的第一信息确定第二信息,所述第二信息为DNS扩展机制客户端子网选项或本地域名系统DNS解析器的地址信息;a determining unit, configured to determine second information according to the first application identification information and the first information obtained from the session network function network element, where the second information is the DNS extension mechanism client subnet option or the local domain name system DNS resolver address information;发送单元,用于根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息,所述DNS请求信息包括所述第一应用标识信息,所述DNS请求信息用于获取应用服务器的地址信息。A sending unit, configured to send DNS request information to a centralized DNS server or a local DNS resolver according to the second information, where the DNS request information includes the first application identification information, and the DNS request information is used to obtain the information of the application server. Address information.
- 根据权利要求29所述的装置,其特征在于,所述接收单元,还用于接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第一应用标识信息以及与所述第一应用标识信息对应的第二信息。The apparatus according to claim 29, wherein the receiving unit is further configured to receive the first information from the session management function network element, the first information comprising the first application identification information and second information corresponding to the first application identification information.
- 根据权利要求29所述的装置,其特征在于,所述接收单元,还用于接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第一应用标识信息、第一标识 以及与所述第一应用标识信息和所述第一标识对应的第二信息,所述第一标识为至少一个数据网络接入标识。The apparatus according to claim 29, wherein the receiving unit is further configured to receive the first information from the session management function network element, the first information comprising the first application identification information , a first identifier, and second information corresponding to the first application identifier information and the first identifier, where the first identifier is at least one data network access identifier.
- 根据权利要求29-31任一项所述的装置,其特征在于,所述接收单元,还用于接收来自所述会话管理功能网元的第二标识,所述第二标识为所述终端设备当前所在位置对应的数据网络接入标识;The apparatus according to any one of claims 29-31, wherein the receiving unit is further configured to receive a second identifier from the session management function network element, where the second identifier is the terminal device The data network access identifier corresponding to the current location;所述确定单元,具体用于根据所述第一应用标识信息、所述第二标识以及从会话网络功能网元获取的第一信息确定第二信息。The determining unit is specifically configured to determine the second information according to the first application identification information, the second identification and the first information obtained from the session network function network element.
- 根据权利要求30-32任一项所述的装置,其特征在于,所述发送单元,还用于所述接收单元接收来自所述会话管理功能网元的所述第一信息之前,向所述会话管理功能网元发送所述第一应用标识信息和/或第一指示信息,所述第一应用标识信息用于获取所述第一信息,所述第一指示信息用于指示所述会话管理功能网元发送所述第一信息。The apparatus according to any one of claims 30 to 32, wherein the sending unit is further configured to send, before the receiving unit receives the first information from the session management function network element, to the The session management function network element sends the first application identification information and/or first indication information, where the first application identification information is used to obtain the first information, and the first indication information is used to indicate the session management The functional network element sends the first information.
- 根据权利要求31-33任一项所述的装置,其特征在于,所述第一信息还包括第三标识、第一标识以及与所述第一标识和所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The apparatus according to any one of claims 31-33, wherein the first information further comprises a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier , the third identifier is the application identifier information of the application deployed in the data network corresponding to the first identifier, and the third information is the DNS extension mechanism client subnet option or the local DNS resolver corresponding to the third identifier address information.
- 根据权利要求30、32或33所述的装置,其特征在于,所述第一信息还包括第三标识以及与所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The apparatus according to claim 30, 32 or 33, wherein the first information further includes a third identifier and third information corresponding to the third identifier, and the third identifier is the first identifier The application identification information that identifies the application deployed in the corresponding data network, and the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- 根据权利要求31-34任一项所述的装置,其特征在于,所述接收单元,还用于接收来自所述会话管理功能网元的第二指示信息和第四标识,所述第四标识为不再为所述终端设备服务的数据网络的数据网络接入标识,所述第一标识包括所述第四标识;The apparatus according to any one of claims 31-34, wherein the receiving unit is further configured to receive second indication information and a fourth identifier from the session management function network element, and the fourth identifier is a data network access identifier of a data network that no longer serves the terminal device, and the first identifier includes the fourth identifier;所述装置还包括:The device also includes:删除单元,用于根据所述第二指示信息,删除所述第一信息中所述第四标识对应的信息。A deletion unit, configured to delete the information corresponding to the fourth identifier in the first information according to the second indication information.
- 根据权利要求36所述的装置,其特征在于,所述接收单元接收来自所述会话管理功能网元的第二指示信息和第四标识包括:The apparatus according to claim 36, wherein the receiving unit receiving the second indication information and the fourth identifier from the session management function network element comprises:接收来自所述会话管理功能网元的第二指示信息、第四标识和第五标识,所述第五标识为所述第四标识对应的数据网络中部署的应用的应用标识信息;receiving second indication information, a fourth identifier, and a fifth identifier from the session management function network element, where the fifth identifier is application identifier information of an application deployed in a data network corresponding to the fourth identifier;所述删除单元,具体用于删除所述第一信息中与所述第四标识和所述第五标识对应的信息。The deletion unit is specifically configured to delete the information corresponding to the fourth identification and the fifth identification in the first information.
- 根据权利要求29-37任一项所述的装置,其特征在于,所述发送单元根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息包括:The device according to any one of claims 29-37, wherein the sending unit sending the DNS request information to the centralized DNS server or the local DNS resolver according to the second information comprises:当所述第二信息为所述DNS扩展机制客户端子网选项时,向集中DNS服务器发送DNS请求信息,所述DNS请求还包括所述第二信息;When the second information is the client subnet option of the DNS extension mechanism, send DNS request information to the centralized DNS server, where the DNS request further includes the second information;当所述第二信息为所述本地DNS解析器的地址信息时,向所述本地DNS解析器发送DNS请求信息。When the second information is the address information of the local DNS resolver, send DNS request information to the local DNS resolver.
- 一种通信装置,其特征在于,包括:A communication device, comprising:发送单元,用于向第一实体发送第一信息,所述第一信息包括第一应用标识信息以及与所述第一应用标识信息对应的第二信息,或者第一应用标识信息、第一标识以及与所述第一应用标识信息和所述第一标识对应的第二信息,所述第一标识为至少一个数据网络接入标识,所述第二信息为DNS扩展机制客户端子网选项或本地域名系统DNS解析器的地址信息,所述第一信息用于所述第一实体确定所述第二信息。A sending unit, configured to send first information to a first entity, where the first information includes first application identification information and second information corresponding to the first application identification information, or first application identification information, first identification information and second information corresponding to the first application identification information and the first identification, the first identification is at least one data network access identification, and the second information is the DNS extension mechanism client subnet option or local The address information of the DNS resolver of the domain name system, the first information is used by the first entity to determine the second information.
- 根据权利要求39所述的装置,其特征在于,所述发送单元,还用于向所述第一实体发送第二标识,所述第二标识为终端设备当前所在位置对应的数据网络接入标识;The apparatus according to claim 39, wherein the sending unit is further configured to send a second identifier to the first entity, where the second identifier is a data network access identifier corresponding to the current location of the terminal device ;所述第一信息用于确定所述第二信息包括:The first information is used to determine the second information includes:所述第一信息和所述第二标识用于确定所述第二信息。The first information and the second identification are used to determine the second information.
- 根据权利要求39或40所述的装置,其特征在于,所述装置还包括:The device according to claim 39 or 40, wherein the device further comprises:接收单元,用于接收来自所述第一实体的所述第一应用标识信息和/或第一指示信息;a receiving unit, configured to receive the first application identification information and/or the first indication information from the first entity;所述发送单元向第一实体发送第一信息包括:The sending unit sending the first information to the first entity includes:根据所述第一应用标识信息和/或所述第一指示信息向第一实体发送第一信息。The first information is sent to the first entity according to the first application identification information and/or the first indication information.
- 根据权利要求39-41任一项所述的装置,其特征在于,所述第一信息还包括第三标识、第一标识以及与所述第一标识和所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The apparatus according to any one of claims 39-41, wherein the first information further comprises a third identifier, a first identifier, and third information corresponding to the first identifier and the third identifier , the third identifier is the application identifier information of the application deployed in the data network corresponding to the first identifier, and the third information is the DNS extension mechanism client subnet option or the local DNS resolver corresponding to the third identifier address information.
- 根据权利要求39-41任一项所述的装置,其特征在于,所述第一信息还包括第三标识以及与所述第三标识对应的第三信息,所述第三标识为所述第一标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The device according to any one of claims 39 to 41, wherein the first information further includes a third identifier and third information corresponding to the third identifier, and the third identifier is the first identifier. 1. Application identification information that identifies an application deployed in the corresponding data network, and the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- 根据权利要求39-42任一项所述的装置,其特征在于,所述发送单元,还用于向所述第一实体发送第二指示信息和第四标识,所述第四标识为不再为所述终端设备服务的数据网络的数据网络接入标识,所述第一标识包括所述第四标识,所述第二指示信息用于删除所述第一信息中所述第四标识对应的信息。The apparatus according to any one of claims 39-42, wherein the sending unit is further configured to send second indication information and a fourth identifier to the first entity, and the fourth identifier is no longer The data network access identifier of the data network serving the terminal device, the first identifier includes the fourth identifier, and the second indication information is used to delete the corresponding fourth identifier in the first information. information.
- 根据权利要求44所述的装置,其特征在于,所述发送单元向所述第一实体发送第二指示信息和第四标识包括:The apparatus according to claim 44, wherein the sending, by the sending unit, the second indication information and the fourth identifier to the first entity comprises:向所述第一实体发送第二指示信息、第四标识和第五标识,所述第五标识为所述第四标识对应的数据网络中部署的应用的应用标识信息;sending second indication information, a fourth identifier, and a fifth identifier to the first entity, where the fifth identifier is application identifier information of an application deployed in a data network corresponding to the fourth identifier;所述第二指示信息用于删除所述第一信息中所述第四标识对应的信息包括:The second indication information is used to delete the information corresponding to the fourth identifier in the first information, including:所述第二指示信息用于删除所述第一信息中与所述第四标识和所述第五标识对应的信息。The second indication information is used to delete the information corresponding to the fourth identifier and the fifth identifier in the first information.
- 一种通信装置,其特征在于,包括:A communication device, comprising:接收单元,用于接收来自终端设备的第一请求信息,所述第一请求信息包括第一应用标识信息;a receiving unit, configured to receive first request information from a terminal device, where the first request information includes first application identification information;确定单元,用于根据从会话管理功能网元获取的第一信息确定第二信息,所述第二信 息为第一标识对应的DNS扩展机制客户端子网选项或本地域名系统DNS解析器的地址信息,所述第一标识为第二标识对应的数据网络中服务范围最小或与所述终端设备之间的距离最近的数据网络的数据网络接入标识,所述第二标识为所述终端设备当前所在位置对应的至少一个数据网络接入标识;a determining unit, configured to determine second information according to the first information obtained from the session management function network element, where the second information is the DNS extension mechanism client subnet option corresponding to the first identifier or the address information of the local domain name system DNS resolver , the first identifier is the data network access identifier of the data network with the smallest service range or the closest distance to the terminal device in the data network corresponding to the second identifier, and the second identifier is the current at least one data network access identifier corresponding to the location;发送单元,用于根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息,所述DNS请求信息包括所述第一应用标识信息,所述DNS请求信息用于获取应用服务器的地址信息。A sending unit, configured to send DNS request information to a centralized DNS server or a local DNS resolver according to the second information, where the DNS request information includes the first application identification information, and the DNS request information is used to obtain the information of the application server. Address information.
- 根据权利要求46所述的装置,其特征在于,所述接收单元,还用于接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第二信息。The apparatus according to claim 46, wherein the receiving unit is further configured to receive the first information from the session management function network element, where the first information includes the second information.
- 根据权利要求46所述的装置,其特征在于,所述接收单元,还用于接收来自所述会话管理功能网元的所述第一信息,所述第一信息包括所述第一应用标识信息和与所述第一应用标识信息对应的第二信息。The apparatus according to claim 46, wherein the receiving unit is further configured to receive the first information from the session management function network element, the first information comprising the first application identification information and second information corresponding to the first application identification information.
- 根据权利要求48所述的装置,其特征在于,所述第一信息还包括第三标识和与所述第三标识对应的第三信息,所述第三标识为所述第二标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The apparatus according to claim 48, wherein the first information further comprises a third identifier and third information corresponding to the third identifier, wherein the third identifier is data corresponding to the second identifier The application identification information of the application deployed in the network, and the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- 根据权利要求46-49任一项所述的装置,其特征在于,所述发送单元,还用于向所述会话管理功能网元发送所述第一应用标识信息和/或第一指示信息,所述第一应用标识信息用于获取所述第一信息,所述第一指示信息用于指示所述会话管理功能网元发送所述第一信息。The apparatus according to any one of claims 46-49, wherein the sending unit is further configured to send the first application identification information and/or the first indication information to the session management function network element, The first application identification information is used to obtain the first information, and the first indication information is used to instruct the session management function network element to send the first information.
- 根据权利要求46-50任一项所述的装置,其特征在于,所述接收单元,还用于接收来自所述会话管理功能网元的第二指示信息,所述第二指示信息用于指示删除所述第一信息;The apparatus according to any one of claims 46-50, wherein the receiving unit is further configured to receive second indication information from the session management function network element, where the second indication information is used to indicate delete the first information;所述装置还包括:The device also includes:删除单元,用于根据所述第二指示信息删除所述第一信息。A deletion unit, configured to delete the first information according to the second indication information.
- 根据权利要求46-51任一项所述的装置,其特征在于,所述发送单元根据所述第二信息向集中DNS服务器或本地DNS解析器发送DNS请求信息包括:The device according to any one of claims 46-51, wherein the sending unit sending DNS request information to a centralized DNS server or a local DNS resolver according to the second information comprises:当所述第二信息为所述DNS扩展机制客户端子网选项时,向集中DNS服务器发送DNS请求信息,所述DNS请求还包括所述第二信息;When the second information is the client subnet option of the DNS extension mechanism, send DNS request information to the centralized DNS server, where the DNS request further includes the second information;当所述第二信息为所述本地DNS解析器的地址信息时,向所述本地DNS解析器发送DNS请求信息。When the second information is the address information of the local DNS resolver, send DNS request information to the local DNS resolver.
- 一种通信装置,其特征在于,包括:A communication device, characterized in that it includes:发送单元,用于向第一实体发送第一信息,所述第一信息包括第二信息,或第一应用标识信息和与所述第一应用标识信息对应的第二信息,所述第二信息为第一标识对应的DNS扩展机制客户端子网选项或本地域名系统DNS解析器的地址信息,所述第一标识为第二标识对应的数据网络中服务范围最小或与终端设备之间的距离最近的数据网络的数据网络接入标识,所述第二标识为所述终端设备当前所在位置对应的至少一个数据网络接入标 识,所述第一信息用于确定所述第二信息。a sending unit, configured to send first information to a first entity, where the first information includes second information, or first application identification information and second information corresponding to the first application identification information, the second information is the DNS extension mechanism client subnet option or the address information of the local domain name system DNS resolver corresponding to the first identifier, where the first identifier is the smallest service range in the data network corresponding to the second identifier or the closest distance to the terminal device The data network access identifier of the data network, the second identifier is at least one data network access identifier corresponding to the current location of the terminal device, and the first information is used to determine the second information.
- 根据权利要求53所述的装置,其特征在于,所述第一信息还包括第三标识和与所述第三标识对应的第三信息,所述第三标识为所述第二标识对应的数据网络中部署的应用的应用标识信息,所述第三信息为所述第三标识对应的DNS扩展机制客户端子网选项或本地DNS解析器的地址信息。The apparatus according to claim 53, wherein the first information further comprises a third identifier and third information corresponding to the third identifier, wherein the third identifier is data corresponding to the second identifier The application identification information of the application deployed in the network, and the third information is the DNS extension mechanism client subnet option or the address information of the local DNS resolver corresponding to the third identification.
- 根据权利要求53或54所述的装置,其特征在于,所述装置还包括:The device according to claim 53 or 54, wherein the device further comprises:接收单元,用于接收来自所述第一实体的所述第一应用标识信息和/或第一指示信息;a receiving unit, configured to receive the first application identification information and/or the first indication information from the first entity;所述发送单元,具体用于根据所述第一应用标识信息和/或所述第一指示信息向第一实体发送第一信息。The sending unit is specifically configured to send the first information to the first entity according to the first application identification information and/or the first indication information.
- 根据权利要求53-55任一项所述的装置,其特征在于,所述发送单元,还用于向所述第一实体发送第二指示信息,所述第二指示信息用于指示删除所述第一信息。The apparatus according to any one of claims 53-55, wherein the sending unit is further configured to send second indication information to the first entity, where the second indication information is used to instruct to delete the first information.
- 一种通信装置,其特征在于,包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,所述处理器调用所述存储器中存储的计算机程序实现如权利要求1-10任一项所述的方法。A communication device, characterized in that it comprises 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 all communication devices. Other communication devices other than the communication device output information, and the processor invokes the computer program stored in the memory to implement the method according to any one of claims 1-10.
- 一种通信装置,其特征在于,包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,所述处理器调用所述存储器中存储的计算机程序实现如权利要求11-17任一项所述的方法。A communication device, characterized in that it comprises 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 all communication devices. Other communication devices other than the communication device output information, and the processor invokes the computer program stored in the memory to implement the method according to any one of claims 11-17.
- 一种通信装置,其特征在于,包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,所述处理器调用所述存储器中存储的计算机程序实现如权利要求18-24任一项所述的方法。A communication device, characterized in that it comprises 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 all communication devices. Other communication devices other than the communication device output information, and the processor invokes the computer program stored in the memory to implement the method according to any one of claims 18-24.
- 一种通信装置,其特征在于,包括处理器、存储器、输入接口和输出接口,所述输入接口用于接收来自所述通信装置之外的其它通信装置的信息,所述输出接口用于向所述通信装置之外的其它通信装置输出信息,所述处理器调用所述存储器中存储的计算机程序实现如权利要求25-28任一项所述的方法。A communication device, characterized in that it comprises 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 all communication devices. Other communication devices other than the communication device output information, and the processor invokes the computer program stored in the memory to implement the method according to any one of claims 25-28.
- 一种通信系统,其特征在于,包括:A communication system, characterized in that it includes:如权利要求57所述的装置以及如权利要求58所述的装置;The apparatus of claim 57 and the apparatus of claim 58;如权利要求59所述的装置以及如权利要求60所述的装置。The apparatus of claim 59 and the apparatus of claim 60 .
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有计算机程序或计算机指令,当所述计算机程序或计算机指令被运行时,实现如权利要求1-28任一项所述的方法。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, any one of claims 1-28 is implemented. the method described.
- 一种芯片,其特征在于,包括处理器,用于执行存储器中存储的程序,当所述程序被执行时,使得所述芯片执行如权利要求1-28任一项所述的方法。A chip, characterized in that it includes a processor for executing a program stored in a memory, and when the program is executed, causes the chip to execute the method according to any one of claims 1-28.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP20960505.4A EP4231676A4 (en) | 2020-11-09 | 2020-11-09 | Communication method and apparatus and computer readable storage medium |
CN202080107022.1A CN116458180A (en) | 2020-11-09 | 2020-11-09 | Communication method, device and computer readable storage medium |
PCT/CN2020/127592 WO2022095048A1 (en) | 2020-11-09 | 2020-11-09 | Communication method and apparatus and computer readable storage medium |
US18/312,640 US20230275872A1 (en) | 2020-11-09 | 2023-05-05 | Communication method and apparatus, and computer-readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2020/127592 WO2022095048A1 (en) | 2020-11-09 | 2020-11-09 | Communication method and apparatus and computer readable storage medium |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US18/312,640 Continuation US20230275872A1 (en) | 2020-11-09 | 2023-05-05 | Communication method and apparatus, and computer-readable storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022095048A1 true WO2022095048A1 (en) | 2022-05-12 |
Family
ID=81458569
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/127592 WO2022095048A1 (en) | 2020-11-09 | 2020-11-09 | Communication method and apparatus and computer readable storage medium |
Country Status (4)
Country | Link |
---|---|
US (1) | US20230275872A1 (en) |
EP (1) | EP4231676A4 (en) |
CN (1) | CN116458180A (en) |
WO (1) | WO2022095048A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115051948A (en) * | 2022-05-19 | 2022-09-13 | 天翼云科技有限公司 | VPC distributed network element data transmission method and device and electronic equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20240048524A1 (en) * | 2021-01-21 | 2024-02-08 | Telefonaktiebolaget Lm Ericsson (Publ) | Distance-based selection |
Citations (5)
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 |
CN110535930A (en) * | 2019-08-22 | 2019-12-03 | 网宿科技股份有限公司 | A kind of dispatching method and system of edge C DN node |
WO2020018012A1 (en) * | 2018-07-17 | 2020-01-23 | Telefonaktiebolaget Lm Ericsson (Publ) | Open network automation platform (onap) - fifth generation core (5gc) interaction for analytics |
CN111385369A (en) * | 2018-12-28 | 2020-07-07 | 华为技术有限公司 | Domain name server distribution method and device |
WO2020207490A1 (en) * | 2019-04-12 | 2020-10-15 | Huawei Technologies Co., Ltd. | System, apparatus and method to support data server selection |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018141093A1 (en) * | 2017-02-04 | 2018-08-09 | 华为技术有限公司 | Mobile network optimization processing method, device and system |
CN114747252A (en) * | 2019-10-04 | 2022-07-12 | 瑞典爱立信有限公司 | Method for identifying traffic suitable for edge breakout and for traffic steering in a mobile network |
-
2020
- 2020-11-09 WO PCT/CN2020/127592 patent/WO2022095048A1/en active Application Filing
- 2020-11-09 CN CN202080107022.1A patent/CN116458180A/en active Pending
- 2020-11-09 EP EP20960505.4A patent/EP4231676A4/en active Pending
-
2023
- 2023-05-05 US US18/312,640 patent/US20230275872A1/en active Pending
Patent Citations (5)
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 |
WO2020018012A1 (en) * | 2018-07-17 | 2020-01-23 | Telefonaktiebolaget Lm Ericsson (Publ) | Open network automation platform (onap) - fifth generation core (5gc) interaction for analytics |
CN111385369A (en) * | 2018-12-28 | 2020-07-07 | 华为技术有限公司 | Domain name server distribution method and device |
WO2020207490A1 (en) * | 2019-04-12 | 2020-10-15 | Huawei Technologies Co., Ltd. | System, apparatus and method to support data server selection |
CN110535930A (en) * | 2019-08-22 | 2019-12-03 | 网宿科技股份有限公司 | A kind of dispatching method and system of edge C DN node |
Non-Patent Citations (2)
Title |
---|
See also references of EP4231676A4 * |
TENCENT: "KI# 1, Sol #3,6: Update to Clarify DNS Handling", 3GPP DRAFT; S2-2004159, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. e-meeting ;20200601 - 20200612, 22 May 2020 (2020-05-22), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051890164 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115051948A (en) * | 2022-05-19 | 2022-09-13 | 天翼云科技有限公司 | VPC distributed network element data transmission method and device and electronic equipment |
CN115051948B (en) * | 2022-05-19 | 2023-10-13 | 天翼云科技有限公司 | VPC distributed network element data transmission method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN116458180A (en) | 2023-07-18 |
US20230275872A1 (en) | 2023-08-31 |
EP4231676A4 (en) | 2023-11-01 |
EP4231676A1 (en) | 2023-08-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7041212B2 (en) | Connecting to a virtualized mobile core network | |
EP3879879B1 (en) | Time sensitive networking communication method and apparatus thereof | |
US10952046B2 (en) | Method and apparatus for supporting vehicle communications in 5G system | |
US10798761B2 (en) | Method for establishing protocol data unit session in communication system | |
CN109997334B (en) | Session management with relaying and charging for indirect connectivity of internet of things applications in 3GPP networks | |
US11395244B2 (en) | Apparatus and method for supporting burst arrival time reference clock based on time-sensitive communication assistance information in wireless communication network | |
WO2023284584A1 (en) | Communication method and apparatus | |
WO2023280121A1 (en) | Method and apparatus for obtaining edge service | |
CN110662308B (en) | Communication method and device | |
EP2797379A1 (en) | Repeating method of wireless repeating device, and wireless repeating device | |
US20230275872A1 (en) | Communication method and apparatus, and computer-readable storage medium | |
WO2021135650A1 (en) | Communication method and apparatus | |
WO2019223639A1 (en) | Wireless communication method and device | |
US20230091077A1 (en) | Communication method and apparatus, and computer-readable storage medium | |
WO2018223824A1 (en) | Method and apparatus for transmitting service data | |
WO2019238050A1 (en) | Communication method and apparatus | |
WO2021160164A1 (en) | Information control method and communication device | |
US20230254859A1 (en) | Downlink Transmission Method and Communication Apparatus | |
US20220182910A1 (en) | Data Processing Method, Apparatus, And System | |
WO2022170798A1 (en) | Strategy determining method and communication apparatus | |
CN116868603A (en) | New method for external parameter provisioning for AF sessions | |
WO2021244622A1 (en) | Communication method and apparatus, and computer-readable storage medium | |
WO2024012230A1 (en) | Communication method and apparatus | |
WO2023051381A1 (en) | Application server determination method and apparatus | |
WO2023231465A1 (en) | Time synchronization method, communication apparatus and communication system |
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: 20960505 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 202080107022.1 Country of ref document: CN |
|
ENP | Entry into the national phase |
Ref document number: 2020960505 Country of ref document: EP Effective date: 20230517 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |