WO2022170518A1 - 一种确定终端设备的地址的方法及装置、网络设备 - Google Patents
一种确定终端设备的地址的方法及装置、网络设备 Download PDFInfo
- Publication number
- WO2022170518A1 WO2022170518A1 PCT/CN2021/076363 CN2021076363W WO2022170518A1 WO 2022170518 A1 WO2022170518 A1 WO 2022170518A1 CN 2021076363 W CN2021076363 W CN 2021076363W WO 2022170518 A1 WO2022170518 A1 WO 2022170518A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- address
- terminal device
- network element
- information
- core network
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 122
- 238000004590 computer program Methods 0.000 claims description 35
- 230000006870 function Effects 0.000 claims description 27
- 238000013519 translation Methods 0.000 claims description 13
- 238000007405 data analysis Methods 0.000 claims description 3
- 238000004891 communication Methods 0.000 description 47
- 230000008569 process Effects 0.000 description 30
- 238000010586 diagram Methods 0.000 description 14
- 230000004044 response Effects 0.000 description 12
- 238000007726 management method Methods 0.000 description 11
- 238000012216 screening Methods 0.000 description 10
- 230000001360 synchronised effect Effects 0.000 description 9
- 238000004458 analytical method Methods 0.000 description 6
- 230000001413 cellular effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000977 initiatory effect Effects 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000013523 data management Methods 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 238000013480 data collection Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000013507 mapping Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 101150102131 smf-1 gene Proteins 0.000 description 1
Images
Classifications
-
- 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/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/2514—Translation of Internet protocol [IP] addresses between local and global IP addresses
Definitions
- the embodiments of the present application relate to the field of mobile communication technologies, and in particular, to a method and apparatus for determining an address of a terminal device, and a network device.
- the 3GPP system architecture introduces Application Function (AF) to collect data from terminal devices and Send the collected data of the terminal equipment to the required 3GPP network elements.
- AF Application Function
- the 3GPP network element uses the address of the end device to inform the AF of which end device's data to collect.
- the terminal device may have multiple addresses after being registered in the 3GPP system, and the 3GPP network element cannot determine which address is used for communication between the terminal device and the AF, the 3GPP network element needs to inform all addresses of the terminal device to AF, so that AF obtains all addresses of the terminal device, which may bring security risks.
- Embodiments of the present application provide a method and apparatus for determining an address of a terminal device, and a network device.
- the network element of the first core network receives the first information sent by the AF, where the first information includes at least one address;
- the network element of the first core network determines, based on the first information, an address used by each terminal device in the at least one terminal device to communicate with the AF.
- the apparatus for determining the address of the terminal device provided by the embodiment of the present application is applied to the network element of the first core network, and the apparatus includes:
- a receiving unit configured to receive first information sent by the AF, where the first information includes at least one address
- a determining unit configured to determine, based on the first information, an address used by each of the at least one terminal device to communicate with the AF.
- the network device provided by the embodiments of the present application includes a processor and a memory.
- the memory is used to store a computer program
- the processor is used to call and run the computer program stored in the memory to execute the above-mentioned method for determining the address of the terminal device.
- the chip provided by the embodiment of the present application is used to implement the above-mentioned method for determining the address of a terminal device.
- the chip includes: a processor for calling and running a computer program from the memory, so that the device on which the chip is installed executes the above-mentioned method for determining the address of the terminal device.
- the computer-readable storage medium provided by the embodiment of the present application is used to store a computer program, and the computer program enables a computer to execute the above-mentioned method for determining an address of a terminal device.
- the computer program product provided by the embodiments of the present application includes computer program instructions, and the computer program instructions cause a computer to execute the above-mentioned method for determining an address of a terminal device.
- the computer program provided by the embodiment of the present application when it runs on a computer, causes the computer to execute the above-mentioned method for determining the address of a terminal device.
- the AF notifies the first core network element of at least one address
- the first core network element can determine at least one address used by the terminal device to communicate with the AF, so that the address used by the terminal device to communicate with the AF can be used to Notifying the AF of which terminal device data is to be collected avoids the potential security risk of informing the AF of the full address of the terminal device.
- FIG. 1 is a schematic diagram of a communication system architecture provided by an embodiment of the present application.
- Fig. 2 is a kind of network system architecture diagram provided by the embodiment of the present application.
- FIG. 3 is a schematic flowchart of information collection interactively between NWDAF and AF provided by an embodiment of the present application;
- FIG. 5 is a schematic flowchart 1 of a method for determining an address of a terminal device provided by an embodiment of the present application
- FIG. 6 is a second schematic flowchart of a method for determining an address of a terminal device provided by an embodiment of the present application
- FIG. 7 is a schematic diagram of determining an address of a terminal device provided by an embodiment of the present application.
- FIG. 8 is a schematic flow chart 1 of an AF registering with an NRF provided by an embodiment of the present application.
- FIG. 9 is a schematic flowchart 2 of the process of AF registering with the NRF provided by an embodiment of the present application.
- FIG. 10 is a schematic flowchart of an NWDAF initiating a query request to an NRF provided by an embodiment of the present application
- FIG. 11 is a schematic flowchart 1 of a NWDAF requesting service from an AF provided by an embodiment of the present application;
- FIG. 12 is a schematic flowchart 2 of a NWDAF requesting service from an AF provided by an embodiment of the present application;
- FIG. 13 is a schematic flowchart of the NEF determining the address used by the first terminal device to communicate with the AF provided by an embodiment of the present application;
- FIG. 14 is a schematic flowchart of the NWDAF determining the address used by the first terminal device to communicate with the AF provided by an embodiment of the present application;
- 15 is a schematic structural diagram of an apparatus for determining an address of a terminal device provided by an embodiment of the present application.
- FIG. 16 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
- FIG. 17 is a schematic structural diagram of a chip according to an embodiment of the present application.
- FIG. 18 is a schematic block diagram of a communication system provided by an embodiment of the present application.
- LTE Long Term Evolution
- FDD Frequency Division Duplex
- TDD Time Division Duplex
- 5G communication systems or future communication systems etc.
- the communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal 120 (or referred to as a communication terminal, a terminal).
- the network device 110 may provide communication coverage for a particular geographic area and may communicate with terminals located within the coverage area.
- the network device 110 may be an evolved base station (Evolutional Node B, eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or the
- the network device can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network-side device in a 5G network, or a network device in a future communication system.
- the communication system 100 also includes at least one terminal 120 located within the coverage of the network device 110 .
- Terminal includes, but is not limited to, connections via wired lines, such as via Public Switched Telephone Networks (PSTN), Digital Subscriber Line (DSL), digital cable, direct cable connections; and/or another data connection/network; and/or via a wireless interface, e.g. for cellular networks, Wireless Local Area Networks (WLAN), digital television networks such as DVB-H networks, satellite networks, AM-FM A broadcast transmitter; and/or a device of another terminal configured to receive/transmit a communication signal; and/or an Internet of Things (IoT) device.
- PSTN Public Switched Telephone Networks
- DSL Digital Subscriber Line
- WLAN Wireless Local Area Networks
- WLAN Wireless Local Area Networks
- digital television networks such as DVB-H networks, satellite networks, AM-FM A broadcast transmitter
- IoT Internet of Things
- a terminal arranged to communicate through a wireless interface may be referred to as a "wireless communication terminal", “wireless terminal” or “mobile terminal”.
- mobile terminals include, but are not limited to, satellite or cellular telephones; Personal Communications System (PCS) terminals that may combine cellular radio telephones with data processing, fax, and data communications capabilities; may include radio telephones, pagers, Internet/Intranet PDAs with networking access, web browsers, memo pads, calendars, and/or Global Positioning System (GPS) receivers; and conventional laptop and/or palmtop receivers or others including radiotelephone transceivers electronic device.
- PCS Personal Communications System
- GPS Global Positioning System
- a terminal may refer to an access terminal, user equipment (UE), subscriber unit, subscriber station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device.
- the access terminal may be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminals in 5G networks or terminals in future evolved PLMNs, etc.
- SIP Session Initiation Protocol
- WLL Wireless Local Loop
- PDA Personal Digital Assistant
- direct terminal (Device to Device, D2D) communication may be performed between the terminals 120 .
- the 5G communication system or the 5G network may also be referred to as a new radio (New Radio, NR) system or an NR network.
- New Radio NR
- NR New Radio
- FIG. 1 exemplarily shows one network device and two terminals.
- the communication system 100 may include multiple network devices, and the coverage of each network device may include other numbers of terminals. This embodiment of the present application This is not limited.
- the communication system 100 may further include other network entities such as a network controller and a mobility management entity, which are not limited in this embodiment of the present application.
- network entities such as a network controller and a mobility management entity, which are not limited in this embodiment of the present application.
- a device having a communication function in the network/system may be referred to as a communication device.
- the communication device may include a network device 110 and a terminal 120 with a communication function, and the network device 110 and the terminal 120 may be the specific devices described above, which will not be repeated here;
- the device may further include other devices in the communication system 100, such as other network entities such as a network controller and a mobility management entity, which are not limited in this embodiment of the present application.
- the core network elements can provide specific services and provide other network elements through the defined Application Programming Interface (API) interface. transfer.
- API Application Programming Interface
- the network element that provides the service is called the service provider, and the network element that invokes the service is called the service consumer.
- FIG. 2 is an architecture diagram of a network system provided by an embodiment of the present application. It should be noted that the UE in FIG. 2 may be replaced by a terminal device, and optionally, the terminal device may also be a mobile terminal device.
- AS access stratum
- NAS non-access stratum
- AMF access mobility management function network element
- the AMF is responsible for the mobility management of the UE; the Session Management Function (SMF) is responsible for the session management of the UE.
- SMF Session Management Function
- the AMF is responsible for the mobility management of the UE, and is also responsible for the session management related messages between the UE and the SMF. forwarding between.
- the policy control function network element Policy Control Function, PCF
- PCF Policy Control Function
- the User Plane Function is connected to the RAN and an external data network (Data Network, DN) and is responsible for data transmission.
- the core network control plane network elements shown in Figure 2 can provide specific services to other network elements through service-oriented interfaces (such as Nnssf, Npcf, Nudm, etc.), and the network elements that provide services are called service providers.
- the network elements are called service consumers.
- NRF Network Repository Function
- each network element can provide different services, and each service can be divided into different operations (Operation), such as: obtain, update, delete, subscribe, notify and other operations.
- the Hyper Text Transfer Protocol is generally used to communicate in the Representational State Transfer (Restful) mode.
- Two services are defined in the service-based architecture, one is Request-Response and the other is Subscribe-Notify.
- the former is that the service provider immediately responds to the response message after receiving the request message and generally only responds once, while the latter is that the service provider sends a notification message immediately or delayed after receiving the subscription message (the notification message carries the subscription content), And may send multiple notification messages in the future.
- the 3GPP network element may be a network data analysis function network element (Network Data Analysis Function, NWDAF).
- NWDAF Network Data Analysis Function
- FIG. 3 is a schematic flowchart of information collection through interaction between NWDAF and AF provided by an embodiment of the present application.
- NWDAF receives a request from a network function network element (Network Function, NF), it searches for the corresponding AF, and interacts with it to Collecting the data of related terminal equipment, as shown in Figure 3, includes the following steps:
- Step 301 The NF sends an analysis subscription-subscription message to the NWDAF.
- analysis subscription-subscription message can be described as:
- Step 302 NWDAF discovers an AF for collecting data of terminal equipment.
- Step 303 The NWDAF sends an event open-subscription message to the AF.
- event open-subscribe message can be described as: Naf_Event_Exposure_Subscribe.
- Step 304 The AF determines which application clients belong to the data collection scope.
- Step 305 The AF requests and receives data from the application client through the connection with the application client.
- Step 306 The AF sends an event open-notification message to the NWDAF.
- event open-notify message can be described as: Naf_Event_Exposure_Notify.
- the event open-notification message carries the data collected by the AF.
- Step 307 NWDAF analyzes the data and generates an analysis result.
- Step 308 The NWDAF sends an analysis subscription-notification message to the NF.
- the analytics subscription-notification message can be described as:
- the analysis subscription-notification message carries the analysis result generated by NWDAF.
- the NWDAF needs to call the discovery (Discovery) service in the NRF to determine which AF needs to interact with to collect data of a specific terminal device.
- the terminal identification is required.
- the internal terminal identifier is used to refer to the terminal equipment inside the 3GPP system, while the external terminal identifier is used outside the 3GPP system to refer to the terminal equipment.
- the internal terminal identifier may be a Subscription Permanent Identifier (SUPI).
- the terminal identifier may be a Generic Public Subscription Identifier (GPSI).
- mapping relationship between internal terminal identifiers and external terminal identifiers is generally saved on network elements such as NWDAF or Network Exposure Function (NEF), and is determined according to whether the network element to be communicated is an internal or external network element. Which terminal ID to use.
- NWDAF Network Exposure Function
- NEF Network Exposure Function
- the AF After the terminal device establishes the connection with the AF, the AF knows the address used by the terminal device to communicate with the AF, however, the AF does not know the terminal identifier of the terminal device.
- NWDAF sends a service request message (such as an event open-subscription message) to AF, if the service request message carries a terminal identifier, the AF cannot determine which terminal device the terminal identifier refers to. For this reason, NWDAF needs to use
- the address of the terminal device is used to refer to the terminal device instead of the terminal identifier.
- the terminal device may have multiple addresses after being registered in the 3GPP system, and NWDAF is not sure which address the terminal device uses to communicate with the AF, NWDAF needs to carry all the addresses of the terminal device in the service request message.
- AF obtains the full address of the terminal device, which creates a security problem.
- the following enhanced mechanisms of the embodiments of the present application are proposed. Through the following technical solutions of the embodiments of the present application, there is no need for the NWDAF to send all the addresses of the terminal devices to the AF, ensuring that the Address security of end devices.
- the implementation of the following technical solutions in the embodiments of the present application makes full use of existing processes and mechanisms, and is easy to implement.
- terminal identifier described in the following embodiments of the present application may be at least one of the following: SUPI, GPSI, and permanent equipment identifier (Permanent Equipment ID, PEI).
- FIG. 5 is a schematic flowchart of a method for determining an address of a terminal device according to an embodiment of the present application. As shown in FIG. 5 , the method for determining an address of a terminal device includes the following steps:
- Step 501 The first core network element receives first information sent by the AF, where the first information includes at least one address.
- Step 502 The first core network element determines, based on the first information, an address used by each terminal device in the at least one terminal device to communicate with the AF.
- the address used by the terminal device to communicate with the AF may refer to the address corresponding to the application layer connection established between the terminal device and the server.
- the application layer connection is, for example, an HTTP connection, or a TCP/IP connection.
- the address is, for example, an IP address, or a MAC address.
- the AF provides at least one address to the first core network element through the first information, where each address in the at least one address may be an address used by a terminal device to communicate with the AF. It should be noted that the AF does not know what the terminal identifier corresponding to each address in the at least one address is.
- the first core network element is a 3GPP network element, and the 3GPP network element receives the first information sent by the AF, where the first information includes at least one address; 3GPP is based on The first information determines the address used by each terminal device in the at least one terminal device to communicate with the AF.
- the address sent by the AF may be a public network address or a private network address, wherein the public network address may also be called an external address, and the private network address may also be called an internal address.
- the AF is a non-trusted domain network element, and in this case, the address sent by the AF is a public network address (ie, an external address).
- the AF is a trusted domain network element, and in this case, the address sent by the AF is a private network address (that is, an internal address).
- the network element for implementing address translation may be an NEF, or a firewall, or a network address translation network element (Network Address Translation, NAT).
- the network element of the first core network may determine the address used by each terminal device in the at least one terminal device to communicate with the AF in the following manner.
- the first core network element determines, based on the first information and the second information, an address used by each terminal device in the at least one terminal device to communicate with the AF; wherein the second information includes at least one terminal One or more addresses to which each end device in the device is assigned.
- the at least one address includes a first address; the first core network element is based on one or more addresses allocated to each terminal device in the at least one terminal device, It is determined that the first address belongs to an address of a first terminal device in the at least one terminal device, and an address used by the first terminal device to communicate with the AF is determined to be the first address.
- the network element of the first core network determines the address used by the first terminal device to communicate with the AF, but it is not limited to this. The address used by each end device to communicate with the AF.
- AF provides 3 addresses to the first core network element through the first information, which are address 1-1, address 2-2, and address 3-3, wherein, address 1-1 is the address used by the first terminal device to communicate with AF, address 2-2 is the address used by the second terminal device to communicate with AF, address 3-3 is the address used by the third terminal device to communicate with AF, AF does not know the first terminal
- the first core network network element obtains the addresses of three terminal devices, which are the addresses of terminal device 1 (that is, the terminal device whose terminal identifier is 1), including address 1- 1, 1-2, 1-3, the address of terminal device 2 (that is, the terminal device whose terminal ID is 2) includes addresses 2-1, 2-2, and 2-3, and the address of terminal device 3 (that is, the terminal whose terminal ID is 3) equipment) addresses include addresses 3-1, 3-2, and 3-3;
- the first core network element filters the addresses of all terminal equipment
- the at least one address includes a first address; the first information further includes at least one terminal identifier; the first core network element determines at least one terminal identifier based on the at least one terminal identifier.
- One or more addresses assigned to each terminal device in one terminal device the first core network element determines the address based on the one or more addresses assigned to each terminal device in the at least one terminal device.
- the first address corresponds to the address of the first terminal device in the at least one terminal device, and it is determined that the address used by the first terminal device to communicate with the AF is the first address.
- the network element of the first core network can obtain one or more addresses allocated to each of the N terminal devices, where N is a positive integer.
- the first core The network element may determine M terminal devices from the N terminal devices according to the M terminal identifiers, and determine the first terminal device based on one or more addresses assigned to each of the M terminal devices.
- the address corresponds to the address of the first terminal device among the M terminal devices, and it is determined that the address used by the first terminal device to communicate with the AF is the first address.
- M is a positive integer less than or equal to N.
- the network element of the first core network determines the address used by the first terminal device to communicate with the AF, but it is not limited to this. The address used by each end device to communicate with the AF.
- the AF provides an address and two terminal identifiers to the first core network element through the first information, wherein one address is address 1-1, and the two terminal identifiers are terminal identifier 1, terminal identifier 1 and terminal identifier 1 respectively.
- the address of the terminal device 3 includes addresses 3-1, 3-2, and 3-3; the first core network element according to the terminal ID 1 and the terminal ID 2, the address of the terminal device 1 and the terminal device In the address of 2, by screening and comparing with the address 1-1, it can be determined that the address used by the terminal device 1 to communicate with the AF is the address 1-1.
- the first core network element determines a second core network element, obtains a first correspondence and/or a second correspondence from the second core network element, and the first correspondence is used to determine one or more A terminal identifier corresponding to each of the addresses, and the second correspondence is used to determine one or more addresses corresponding to each of the one or more terminal identifiers; the first core network element is based on The first correspondence and/or the second correspondence determine an address used by each terminal device in the at least one terminal device to communicate with the AF.
- one address corresponds to only one terminal identifier, and one terminal identifier may correspond to one or more addresses.
- a terminal device may be assigned one or more addresses, and thus, the terminal identifier of the terminal device may correspond to one or more addresses.
- the network element of the second core network includes at least one of the following: SMF and UPF.
- the first core network element is based on at least one address in the first information, at least one terminal identifier in the first information, and at least one of the third information. 1. Determine the network element of the second core network.
- the first core network element determines the second core network element based on at least one address.
- the network elements of the second core network can be allocated a certain range of addresses, and different second core network elements correspond to different address ranges. For example, SMF1 allocates addresses in address range 1, and SMF allocates addresses in address range 2. distribute.
- the network element of the first core network may determine the network element of the second core network to which the at least one address belongs according to the address range to which the at least one address belongs.
- the first core network element determines the second core network element based on at least one terminal identifier.
- each terminal identifier in the at least one terminal identifier refers to one terminal device, and the at least one terminal identifier may refer to at least one terminal device.
- the network element of the first core network may determine the network element of the second core network serving at least one terminal device according to the at least one terminal identifier.
- the first core network element side stores a correspondence between the second core network element and the terminal identifier, and the second core network element serving at least one terminal device can be determined according to the correspondence.
- the first core network element determines the second core network element based on the third information.
- the third information includes at least one of the following: single network slice selection assistance information (Single Network Slice Selection Assistance Information, SNSSAI), data network name (Data Network Name, DNN), network element identifier.
- SNSSAI Single Network Slice Selection Assistance Information
- DNN Data Network Name
- the third information corresponding to different second core network elements is different, and the first core network element may directly determine the second core network element according to the third information.
- the network element base of the first core network may obtain the third information in the following manner: manner A) the first core network element receives the third information sent by the AF; or manner B) The first core network element determines the third information based on the AF.
- the first core network element obtains the first correspondence and/or the second correspondence from the second core network element, including: the first core network element Send an inquiry request message to the second core network element, where the inquiry request message carries at least one of the following: one or more addresses and one or more terminal identifiers; the first core network element receives the first An inquiry request reply message sent by the network element of the second core network, the inquiry request reply message carries at least one of the following: a terminal identifier corresponding to each of the one or more addresses, a One or more addresses corresponding to each terminal identifier in the identifiers; the first core network element determines the first correspondence and/or the second correspondence according to the information carried in the query request reply message .
- the network element of the first core network determines, based on the first correspondence and/or the second correspondence, that each terminal device in the at least one terminal device is related to the AF Addresses used for communications, including:
- the first address is an address used by the first terminal device to communicate with the AF.
- the network element of the first core network determines the address used by the first terminal device to communicate with the AF, but it is not limited to this. The address used by each end device to communicate with the AF.
- the above technical solutions of the embodiments of the present application can enhance the registration process, discovery process and other processes in the service-based architecture, so that the first core network network element obtains the address used by the terminal device to communicate with the AF, and avoids the need for the first core network network element or other network elements send other addresses of the terminal device to the AF.
- the technical solutions of the embodiments of the present application will be described below with reference to specific application examples.
- network element used for implementing address translation in the following application examples is described by taking NEF as an example, but it is not limited to this, and the network element used for implementing address translation can also be other network elements, such as NAT , firewall, etc.
- the first core network element is an NRF
- the first information is carried in a registration request message sent by the AF to the NRF.
- the NRF receives a registration request message sent by the AF, the registration request message carries first information, the first information includes at least one address, and the at least one address includes the first address; the NRF and the third core network network element interacts to obtain one or more addresses assigned to each of the at least one terminal device; the NRF determines, based on the one or more addresses assigned to each of the at least one terminal device, The first address belongs to the address of the first terminal device in the at least one terminal device, and it is determined that the address used by the first terminal device to communicate with the AF is the first address.
- the third core network network element includes at least one of the following: SMF, a unified data management network element (Unified Data Management, UDM).
- the AF is a trusted domain network element
- at least one address in the first information is directly sent by the AF to the NRF.
- at least one address provided by the AF is an internal address of the 3GPP system. Therefore, the AF can directly send the at least one address to the NRF in the 3GPP system.
- the AF is a non-trusted domain network element
- at least one address in the first information is sent by the AF to the NEF for address translation, and then sent by the NEF to the NEF nRF.
- at least one address provided by the AF is an external address of the 3GPP system. Therefore, the AF needs to send at least one external address to the NEF, and the NEF will translate the at least one external address. It is sent to the NRF in the 3GPP system after at least one internal address.
- FIG. 8 is a schematic flow chart 1 of an AF registering with an NRF provided by an embodiment of the present application, which is applied to the case where the AF is a network element in a trusted domain, as shown in FIG. 8 , including the following steps:
- Step 801 The AF sends a registration request message to the NRF, where the registration request message carries at least one address.
- the registration request message also carries at least one terminal identifier.
- Step 802 The NRF sends a registration request response message to the AF.
- FIG. 9 is a schematic flowchart 2 of an AF registering with an NRF provided by an embodiment of the present application, which is applied to a situation where the AF is a network element in a non-trusted domain, as shown in FIG. 9 , including the following steps:
- Step 901 The AF sends a registration request message to the NEF, where the registration request message carries at least one external address.
- Step 902 The NEF converts the at least one external address into at least one internal address, and sends a registration request message to the NRF, where the registration request message carries the at least one internal address.
- Step 903 The NRF sends a registration request response message to the NEF.
- Step 904 The NEF sends a registration request response message to the AF.
- the NRF can obtain at least one address. Taking the first address in the at least one address as an example, the NRF is based on the one assigned to each terminal device in the at least one terminal device. or multiple addresses, determine that the first address belongs to an address of a first terminal device in the at least one terminal device, and determine that the address used by the first terminal device to communicate with the AF is the first address. It should be noted that the description here is based on the NRF determining the address used by one terminal device to communicate with the AF, but it is not limited to this, and the NRF can also determine the addresses respectively used by multiple terminal devices to communicate with the AF.
- the NRF determines the address used by each terminal device in the at least one terminal device to communicate with the AF. It can also be understood that the NRF determines the terminal identifier corresponding to each address in the at least one address provided by the AF, for example: The NRF determines that the terminal ID 1 corresponds to the address 1 provided by the AF, then it can be understood that the address used by the terminal device 1 to communicate with the AF is the address 1, where the terminal ID 1 refers to the ID of the terminal device 1 .
- the NRF can provide the information for other network elements, so that other network elements can determine the correspondence between the terminal identifier and the address. It is described below.
- the NRF receives a query request message sent by a network element of the fourth core network, where the query request message carries a first terminal identifier; the NRF sends a query request message to the network element of the fourth core network A query request reply message, where the query request reply message carries a first address corresponding to the first terminal identifier, where the first address is an address used by the first terminal device to communicate with the AF.
- the fourth core network element is an NWDAF.
- the network element of the fourth core network may query the NRF for an address used by a terminal device to communicate with the AF, but is not limited to this, and the network element of the fourth core network may also query the NRF for a plurality of terminal devices that communicate with the AF respectively. address to use.
- FIG. 10 is a schematic flowchart of an NWDAF initiating a query request to an NRF provided by an embodiment of the present application, as shown in FIG. 10 , including the following steps:
- Step 1001 The NWDAF sends a query request message to the NRF, where the query request message carries the first terminal identifier.
- Step 1002 The NRF sends a query request response message to the NWDAF, where the query request response message carries the first address.
- the first terminal identifier refers to the identifier of the first terminal device.
- the first terminal is identified as SUPI.
- the NRF may determine that the address used by the first terminal device to communicate with the AF is the first address.
- the query request message may also carry all addresses and/or application identifiers of the first terminal device; in step 1002, the NRF may The application identifier is used to determine the accessible AF, and the query request response message carries the accessible AF information, such as the AF identifier, the AF domain name, the AF address, and the like.
- the first address is carried in a service request message sent by the fourth core network element to the AF, and the first address is used to refer to the first terminal device, the service request message is used to request the AF to collect data of the first terminal device.
- the fourth core network element is an NWDAF.
- the first address is directly sent to the AF by the fourth core network element.
- the first address is sent by the fourth core network element to the NEF for address translation, and then sent by the NEF to the NEF AF.
- FIG. 11 is a schematic flow chart 1 of the NWDAF requesting service from the AF provided by the embodiment of the present application, which is applied to the case where the AF is a network element in the trusted domain. As shown in FIG. 11 , the following steps are included:
- Step 1101 The NWDAF sends a service request message to the AF, where the service request message carries the first address.
- the NWDAF can know that the address used by the first terminal device to communicate with the AF is the first address.
- the NWDAF carries the first address in the service request message sent to the AF, and the first address refers to the first terminal device, thereby requesting the AF to collect data of the first terminal device.
- Step 1102 The AF sends a service request response message to the NWDAF.
- the AF may determine, according to the first address, that what the NWDAF requests is the data of the first terminal device, further collect the data of the first terminal device, and then return a service request response message to the NWDAF.
- FIG. 12 is a schematic diagram 2 of the flow of the NWDAF requesting service from the AF provided by the embodiment of the present application, which is applied to the case where the AF is a non-trusted domain network element, as shown in FIG. 12 , including the following steps:
- Step 1201 The NWDAF sends a service request message to the NEF, where the service request message carries the internal first address.
- Step 1202 The NEF converts the internal first address to the external first address, and sends a service request message to the AF, where the service request message carries the external first address.
- Step 1203 The AF sends a service request response message to the NEF.
- Step 1204 The NEF sends a service request response message to the NWDAF.
- the NRF determines the relationship between the first terminal device and the AF based on the first information and one or more addresses assigned to each of the at least one terminal device. After the address used for communication is the first address, first indication information is sent to the AF, where the first indication information is used to indicate that the first terminal identifier corresponds to the first address.
- the first terminal identifier is carried in a service request message sent by the fourth core network element to the AF, and the first terminal identifier is used to indicate the first terminal identifier.
- a terminal device where the service request message is used to request the AF to collect data of the first terminal device.
- the fourth core network element is an NWDAF.
- the service request message sent by the NWDAF to the AF can carry the first terminal identifier, and the first terminal identifier is used to refer to the first terminal device.
- a correspondence between the terminal identifier and the first address determines that what the NWDAF requests is the data of the first terminal device, and then collects the data of the first terminal device, and then returns a service request response message to the NWDAF.
- the first core network element is NEF or NWDAF
- the NEF or NWDAF receives at least one address provided by the AF.
- the NEF or NWDAF obtains from the SMF and/or the UDM one or more addresses assigned to each of the at least one terminal device, and then in the one or more addresses assigned to each of the at least one terminal device , perform screening and comparison of the at least one address, so as to determine the address used by the at least one terminal device to communicate with the AF.
- the NEF or NWDAF may also receive one or more terminal identifiers provided by the AF, where the one or more terminal identifiers are used to refer to one or more terminal devices in the at least one terminal device , so that the NEF or NWDAF only needs to perform screening and comparison of the at least one address in one or more addresses allocated to each terminal device in the one or more terminal devices, so as to determine at least one terminal device and the AF The address used for communication.
- the AF is a non-trusted domain network element
- the NEF is used as the first core network element to determine the address used by at least one terminal device to communicate with the AF.
- the first information (ie, at least one address) is carried in a status notification or update message sent by the AF to the NEF.
- the NEF receives a service request message sent by a fourth core network element (eg, NWDAF), where the service request message carries one or more addresses assigned to each of the at least one terminal device.
- NWDAF fourth core network element
- the NEF performs screening and comparison of the at least one address among one or more addresses allocated to each terminal device in the at least one terminal device, thereby determining the address used by the at least one terminal device to communicate with the AF.
- the NEF determines the address used by at least one terminal device to communicate with the AF, there may be the following two application modes:
- the first application mode in some optional embodiments of the present application, the NEF determines the first information based on the first information and one or more addresses assigned to each of the at least one terminal device. After the address used by the terminal device to communicate with the AF is the first address, it sends a service request message to the AF, where the service request message carries the first address, and the first address is used to indicate the first terminal device, the service request message is used to request the AF to collect data of the first terminal device.
- the NEF determines that the address used by the first terminal device to communicate with the AF is the first address, and it can also be understood that the NEF determines that the first terminal identifier has a corresponding relationship with the first address. In other words, after the NEF obtains the correspondence between the first terminal identifier and the first address, it can know that the address used by the first terminal device to communicate with the AF is the first address.
- the NEF carries the first address in the service request message sent to the AF, and the first address refers to the first terminal device, thereby requesting the AF to collect data of the first terminal device.
- the NEF determines the first information based on the first information and one or more addresses assigned to each of the at least one terminal device After the address used by the terminal device to communicate with the AF is the first address, it sends first indication information to the AF, where the first indication information is used to indicate that the first terminal identifier corresponds to the first address.
- the NEF sends a service request message to the AF, where the service request message carries the first terminal identifier, where the first terminal identifier is used to indicate the first terminal device, and the service request message is used to send the service request message to the AF.
- the AF requests to collect the data of the first terminal device.
- the NEF determines that the address used by the first terminal device to communicate with the AF is the first address, and it can also be understood that the NEF determines that the first terminal identifier has a corresponding relationship with the first address.
- the NEF provides the AF with a corresponding relationship between the first terminal identifier and the first address. Since the AF learns that the first terminal identifier corresponds to the first address, the service request message sent by the NEF to the AF can carry the first terminal identifier.
- the terminal identifier refers to the first terminal device, and the AF can determine that the NEF requests data of the first terminal device according to the correspondence between the first terminal identifier and the first address, and then collects the data of the first terminal device.
- FIG. 13 is a schematic flowchart of the NEF determining the address used by the first terminal device to communicate with the AF provided by the embodiment of the present application, which is applied to the case where the AF is a non-trusted domain network element, as shown in FIG. 13 , including the following steps:
- Step 1301 The AF sends a status notification or update message to the NEF, where the status notification or update message carries the first address.
- Step 1302 The NEF stores the first address.
- Step 1303 The AF performs a registration process.
- the AF can perform the existing procedure to complete the registration process with the NRF.
- Step 1304 The NWDAF performs an inquiry process with the NRF, and interacts with the SMF and/or the UDM to obtain one or more addresses assigned to each of the at least one terminal device.
- NWDAF can use the query process to know which AF needs to communicate, and NWDAF can obtain the address of one or several terminal devices by interacting with SMF and/or UDM, where the address of the terminal device obtained by NWDAF can be this The full address of the terminal device. It should be noted that the NWDAF does not know which address is used by the terminal device to communicate with the AF.
- Step 1305 The NWDAF sends a service request message to the NEF, where the service request message carries one or more addresses assigned to each of the at least one terminal device.
- the service request message carries one or more addresses assigned to each of the at least one terminal device, and it can also be understood that the service request message carries at least one terminal identifier, and one or more addresses corresponding to each terminal identifier address.
- the correspondence between the N terminal identifiers and the addresses can be determined through one or more addresses allocated to each terminal device in the at least one terminal device.
- a terminal identifier may correspond to one or more addresses, that is, a terminal device may be assigned one or more addresses.
- Step 1306 The NEF performs screening and comparison of the first address among one or more addresses allocated to each terminal device in the at least one terminal device, thereby determining that the first address is the address used by the first terminal device to communicate with the AF .
- the NEF determines that the first address is an address used by the first terminal device to communicate with the AF, and it can also be understood that the NEF determines that the first address has a corresponding relationship with the first terminal identifier. Optionally, the NEF will store the corresponding relationship.
- the N terminal devices belong to internal addresses, and the first address is provided by AF, so the first The address belongs to an external address, and the NEF can convert one or more addresses allocated to each terminal device in the at least one terminal device into a corresponding external address, and then perform a screening and comparison of the first address, so as to determine whether the first address is a corresponding external address.
- Step 1307 The NEF sends a service request message to the AF, where the service request message carries the first address.
- the NEF refers to the first terminal device by carrying the first address in the service request message, so as to request the AF to collect data of the first terminal device.
- the status notification or update message may carry multiple addresses.
- the multiple addresses are screened and compared respectively, so as to determine the terminal identifier corresponding to each of the multiple addresses.
- the AF is a trusted domain network element
- the NWDAF is used as the first core network element to determine the address used by at least one terminal device to communicate with the AF.
- the first information (ie, at least one address) is carried in a status notification or update message sent by the AF to the NWDAF.
- the NWDAF interacts with a third core network element (eg, SMF and/or UDM) to acquire one or more addresses assigned to each of the at least one terminal device.
- the NWDAF performs screening and comparison of the at least one address among one or more addresses allocated to each terminal device in the at least one terminal device, thereby determining the address used by the at least one terminal device to communicate with the AF.
- the NWDAF determines the address used by at least one terminal device to communicate with the AF, there may be the following two application modes:
- the first application mode in some optional embodiments of the present application, the NWDAF determines the first information based on the first information and one or more addresses allocated to each of the at least one terminal device. After the address used by the terminal device to communicate with the AF is the first address, it sends a service request message to the AF, where the service request message carries the first address, and the first address is used to indicate the first terminal device, the service request message is used to request the AF to collect data of the first terminal device.
- the NWDAF determines that the address used for the communication between the first terminal device and the AF is the first address, and it can also be understood that the NWDAF determines that the first terminal identifier has a corresponding relationship with the first address. In other words, after the NWDAF obtains the correspondence between the first terminal identifier and the first address, it can know that the address used by the first terminal device to communicate with the AF is the first address.
- the NWDAF carries the first address in the service request message sent to the AF, and the first address refers to the first terminal device, thereby requesting the AF to collect data of the first terminal device.
- the NWDAF determines the first information based on the first information and one or more addresses assigned to each of the at least one terminal After the address used by the terminal device to communicate with the AF is the first address, it sends first indication information to the AF, where the first indication information is used to indicate that the first terminal identifier corresponds to the first address.
- the NWDAF sends a service request message to the AF, where the service request message carries the first terminal identifier, where the first terminal identifier is used to indicate the first terminal device, and the service request message is used to send the service request message to the AF.
- the AF requests to collect the data of the first terminal device.
- the NWDAF determines that the address used for the communication between the first terminal device and the AF is the first address, and it can also be understood that the NWDAF determines that the first terminal identifier has a corresponding relationship with the first address.
- the NWDAF provides the AF with a corresponding relationship between the first terminal identifier and the first address. Since the AF learns that the first terminal identifier corresponds to the first address, the service request message sent by the NWDAF to the AF can carry the first terminal identifier.
- the terminal identifier refers to the first terminal device, and the AF can determine that the data of the first terminal device is requested by the NWDAF according to the correspondence between the first terminal identifier and the first address, and then collect the data of the first terminal device.
- FIG. 14 is a schematic flowchart of the NWDAF determining the address used by the first terminal device to communicate with the AF provided by the embodiment of the present application, which is applied to the case where the AF is a trusted domain network element, as shown in FIG. 14 , including the following steps:
- Step 1401 The AF sends a status notification or update message to the NWDAF, where the status notification or update message carries the first address.
- Step 1402 NWDAF stores the first address.
- Step 1403 The AF performs a registration process.
- the AF can perform the existing procedure to complete the registration process with the NRF.
- Step 1404 The NWDAF performs an inquiry process with the NRF, and interacts with the SMF and/or the UDM to obtain one or more addresses assigned to each of the at least one terminal device.
- NWDAF can use the query process to know which AF needs to communicate, and NWDAF can obtain the address of one or several terminal devices by interacting with SMF and/or UDM, where the address of the terminal device obtained by NWDAF can be this The full address of the terminal device. It should be noted that the NWDAF does not know which address is used by the terminal device to communicate with the AF.
- Step 1405 NWDAF performs screening and comparison of the first address among one or more addresses allocated to each terminal device in the at least one terminal device, thereby determining that the first address is the address used by the first terminal device to communicate with the AF .
- the NWDAF determines that the first address is an address used by the first terminal device to communicate with the AF, and it can also be understood that the NWDAF determines that the first address has a corresponding relationship with the first terminal identifier. Optionally, NWDAF will store the corresponding relationship.
- Step 1406 The NWDAF sends a service request message to the AF, where the service request message carries the first address.
- the NWDAF refers to the first terminal device by carrying the first address in the service request message, so as to request the AF to collect the data of the first terminal device.
- the status notification or update message can carry multiple addresses.
- the NWDAF in at least one terminal Among the one or more addresses allocated to each terminal device of the , the multiple addresses are screened and compared respectively, so as to determine the terminal identifier corresponding to each of the multiple addresses.
- the service request message carrying one address as an example, but it is not limited to this.
- the service request message can carry multiple addresses, so as to request the AF to collect multiple addresses. data of a terminal device.
- FIG. 15 is a schematic structural diagram of an apparatus for determining an address of a terminal device provided by an embodiment of the present application, which is applied to a network element of a first core network. As shown in FIG. 15 , the apparatus for determining an address of a terminal device includes:
- a receiving unit 1501 configured to receive first information sent by the AF, where the first information includes at least one address;
- a determining unit 1502 configured to determine, based on the first information, an address used by each terminal device in the at least one terminal device to communicate with the AF.
- the determining unit 1502 is configured to determine, based on the first information and the second information, an address used by each terminal device in the at least one terminal device to communicate with the AF; wherein , the second information includes one or more addresses assigned to each of the at least one terminal device.
- the at least one address includes a first address
- the determining unit 1502 is configured to determine, based on one or more addresses allocated to each terminal device in the at least one terminal device, that the first address belongs to a first terminal device in the at least one terminal device. address, and determine the address used by the first terminal device to communicate with the AF as the first address.
- the at least one address includes a first address; the first information further includes at least one terminal identifier;
- the determining unit 1502 is configured to determine, based on the at least one terminal identifier, one or more addresses assigned to each terminal device in the at least one terminal device; based on the at least one terminal device being assigned to each terminal device; One or more addresses assigned, determine that the first address corresponds to the address of the first terminal device in the at least one terminal device, and determine that the address used by the first terminal device to communicate with the AF is the address of the first terminal device in the at least one terminal device. first address.
- the determining unit 1502 is configured to determine a second core network element, and obtain the first correspondence and/or the second correspondence from the second core network element, and the The first correspondence is used to determine the terminal identifier corresponding to each of the one or more addresses, and the second correspondence is used to determine one or more addresses corresponding to each of the one or more terminal identifiers ; based on the first correspondence and/or the second correspondence, determine an address used by each terminal device in the at least one terminal device to communicate with the AF.
- the determining unit 1502 is configured to be based on at least one address in the first information, at least one terminal identifier in the first information, and at least one of the third information 1. Determine the network element of the second core network.
- the third information includes at least one of the following: SNSSAI, DNN, and network element identifier.
- the receiving unit 1501 is further configured to receive the third information sent by the AF; or,
- the determining unit 1502 is further configured to determine the third information based on the AF.
- the first core network element is an NRF
- the first information is carried in a registration request message sent by the AF to the NRF.
- the AF is a trusted domain network element
- at least one address in the first information is directly sent by the AF to the NRF; or,
- At least one address in the first information is sent by the AF to the network opening function network element NEF for address translation, and then sent by the NEF to the NRF.
- the apparatus further includes:
- an obtaining unit (not shown in the figure), configured to interact with the network element of the third core network to obtain one or more addresses allocated to each of the at least one terminal device.
- the apparatus further includes a sending unit 1503;
- the receiving unit 1501 is configured to receive a query request message sent by a network element of the fourth core network, where the query request message carries a first terminal identifier;
- the sending unit 1503 is configured to send a query request reply message to the fourth core network element, where the query request reply message carries a first address corresponding to the first terminal identifier, and the first address is the address used by the first terminal device to communicate with the AF.
- the first address is carried in a service request message sent by the fourth core network element to the AF, and the first address is used to indicate the first terminal device , the service request message is used to request the AF to collect the data of the first terminal device.
- the first address is directly sent by the fourth core network element to the AF; or,
- the first address is sent by the fourth core network element to the NEF for address translation, and then sent by the NEF to the AF.
- the apparatus further includes a sending unit 1403;
- the sending unit 1503 is configured to send first indication information to the AF, where the first indication information is used to indicate that the first terminal identifier corresponds to the first address.
- the first terminal identifier is carried in a service request message sent by the fourth core network element to the AF, and the first terminal identifier is used to indicate the first terminal identifier.
- the first core network element is an NEF
- the first information is carried in a status notification or update message sent by the AF to the NEF.
- the receiving unit 1501 is further configured to receive a service request message sent by a network element of the fourth core network, where the service request message carries that each terminal device in the at least one terminal device is allocated one or more addresses.
- the first core network element is an NWDAF
- the first information is carried in a status notification or update message sent by the AF to the NWDAF.
- the apparatus further includes:
- the obtaining unit is configured to interact with the network element of the third core network to obtain one or more addresses allocated to each terminal device in the at least one terminal device.
- the apparatus further includes a sending unit 1503;
- the sending unit 1503 is configured to determine, based on the first information and one or more addresses assigned to each of the at least one terminal device, an address used by the first terminal device to communicate with the AF After being the first address, send a service request message to the AF, where the service request message carries the first address, the first address is used to indicate the first terminal device, and the service request message is used to send The AF requests to collect data of the first terminal device.
- the apparatus further includes a sending unit 1503;
- the sending unit 1503 is configured to determine, based on the first information and one or more addresses assigned to each of the at least one terminal device, an address used by the first terminal device to communicate with the AF After the address is the first address, first indication information is sent to the AF, where the first indication information is used to indicate that the first terminal identifier corresponds to the first address.
- the sending unit 1503 is further configured to send a service request message to the AF, where the service request message carries the first terminal identifier, and the first terminal identifier is used to indicate For the first terminal device, the service request message is used to request the AF to collect data of the first terminal device.
- FIG. 16 is a schematic structural diagram of a communication device 1600 provided by an embodiment of the present application.
- the communication device may be a network device, such as the first core network network element in the above solution, the communication device 1600 shown in FIG. 16 includes a processor 1610, and the processor 1610 can call and run a computer program from a memory to implement the present application methods in the examples.
- the communication device 1600 may further include a memory 1620 .
- the processor 1610 may call and run a computer program from the memory 1620 to implement the methods in the embodiments of the present application.
- the memory 1620 may be a separate device independent of the processor 1610, or may be integrated in the processor 1610.
- the communication device 1600 may further include a transceiver 1630, and the processor 1610 may control the transceiver 1630 to communicate with other devices, specifically, may send information or data to other devices, or receive other devices Information or data sent by a device.
- the transceiver 1630 may include a transmitter and a receiver.
- the transceiver 1630 may further include antennas, and the number of the antennas may be one or more.
- the communication device 1600 may specifically be the network device of the embodiment of the present application, and the communication device 1600 may implement the corresponding processes implemented by the network device in each method of the embodiment of the present application. For the sake of brevity, details are not repeated here. .
- the communication device 1600 may specifically be the mobile terminal/terminal device of the embodiments of the present application, and the communication device 1600 may implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiments of the present application. , and will not be repeated here.
- FIG. 17 is a schematic structural diagram of a chip according to an embodiment of the present application.
- the chip 1700 shown in FIG. 17 includes a processor 1710, and the processor 1710 can call and run a computer program from a memory, so as to implement the methods in the embodiments of the present application.
- the chip 1700 may further include a memory 1720 .
- the processor 1710 may call and run a computer program from the memory 1720 to implement the methods in the embodiments of the present application.
- the memory 1720 may be a separate device independent of the processor 1710, or may be integrated in the processor 1710.
- the chip 1700 may further include an input interface 1730 .
- the processor 1710 can control the input interface 1730 to communicate with other devices or chips, and specifically, can obtain information or data sent by other devices or chips.
- the chip 1700 may further include an output interface 1740 .
- the processor 1710 can control the output interface 1740 to communicate with other devices or chips, and specifically, can output information or data to other devices or chips.
- the chip can be applied to the network device in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the network device in each method of the embodiment of the present application, which is not repeated here for brevity.
- the chip can be applied to the mobile terminal/terminal device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiments of the present application.
- the chip can implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiments of the present application.
- the chip can implement the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiments of the present application.
- the chip mentioned in the embodiments of the present application may also be referred to as a system-on-chip, a system-on-chip, a system-on-chip, or a system-on-a-chip, or the like.
- FIG. 18 is a schematic block diagram of a communication system 1800 provided by an embodiment of the present application. As shown in FIG. 18 , the communication system 1800 includes a terminal device 1810 and a network device 1820 .
- the terminal device 1810 can be used to implement the corresponding functions implemented by the terminal device in the above method
- the network device 1820 can be used to implement the corresponding functions implemented by the network device in the above method. For brevity, details are not repeated here. .
- the processor in this embodiment of the present application may be an integrated circuit chip, which has a signal processing capability.
- each step of the above method embodiments may be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software.
- the above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other available Programming logic devices, discrete gate or transistor logic devices, discrete hardware components.
- DSP Digital Signal Processor
- ASIC Application Specific Integrated Circuit
- FPGA Field Programmable Gate Array
- a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
- the steps of the method disclosed in conjunction with the embodiments of the present application may be directly embodied as executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
- the software modules may be located in random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers and other storage media mature in the art.
- the storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
- the memory in this embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
- the non-volatile memory may be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically programmable read-only memory (Erasable PROM, EPROM). Erase programmable read-only memory (Electrically EPROM, EEPROM) or flash memory.
- Volatile memory may be Random Access Memory (RAM), which acts as an external cache.
- RAM Static RAM
- DRAM Dynamic RAM
- SDRAM Synchronous DRAM
- SDRAM double data rate synchronous dynamic random access memory
- Double Data Rate SDRAM DDR SDRAM
- enhanced SDRAM ESDRAM
- synchronous link dynamic random access memory Synchlink DRAM, SLDRAM
- Direct Rambus RAM Direct Rambus RAM
- the memory in the embodiment of the present application may also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.
- Embodiments of the present application further provide a computer-readable storage medium for storing a computer program.
- the computer-readable storage medium can be applied to the network device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application.
- the computer program enables the computer to execute the corresponding processes implemented by the network device in the various methods of the embodiments of the present application.
- the computer-readable storage medium can be applied to the mobile terminal/terminal device in the embodiments of the present application, and the computer program enables the computer to execute the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiments of the present application. , and are not repeated here for brevity.
- Embodiments of the present application also provide a computer program product, including computer program instructions.
- the computer program product can be applied to the network device in the embodiments of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the network device in each method of the embodiments of the present application. Repeat.
- the computer program product can be applied to the mobile terminal/terminal device in the embodiments of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the mobile terminal/terminal device in each method of the embodiments of the present application, For brevity, details are not repeated here.
- the embodiments of the present application also provide a computer program.
- the computer program can be applied to the network device in the embodiments of the present application.
- the computer program When the computer program is run on the computer, it causes the computer to execute the corresponding processes implemented by the network device in each method of the embodiments of the present application. For the sake of brevity. , and will not be repeated here.
- the computer program may be applied to the mobile terminal/terminal device in the embodiments of the present application, and when the computer program is run on the computer, the mobile terminal/terminal device implements the various methods of the computer program in the embodiments of the present application.
- the corresponding process for the sake of brevity, will not be repeated here.
- the disclosed system, apparatus and method may be implemented in other manners.
- the apparatus embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the functions, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium.
- the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art or the part of the technical solution.
- the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
- the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory,) ROM, random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请实施例提供一种确定终端设备的地址的方法及装置、网络设备,该方法包括:第一核心网网元接收应用功能网元AF发送的第一信息,所述第一信息包括至少一个地址;所述第一核心网网元基于所述第一信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
Description
本申请实施例涉及移动通信技术领域,具体涉及一种确定终端设备的地址的方法及装置、网络设备。
为了让第三代合作伙伴计划(3rd Generation Partnership Project,3GPP)网元能够收集终端设备的数据,3GPP系统架构中引入了应用功能网元(Application Function,AF)用于收集终端设备的数据,并将收集到的终端设备的数据发送给需要的3GPP网元。
一般,3GPP网元使用终端设备的地址来向AF告知收集哪个终端设备的数据。然而,由于终端设备在3GPP系统注册后可能会有多个地址,并且3GPP网元不能确定终端设备与AF之间通信使用的地址是哪个,因此3GPP网元需要将该终端设备的全部地址告知给AF,从而AF获得了该终端设备的全部地址,如此可能会带来安全隐患的问题。
发明内容
本申请实施例提供一种确定终端设备的地址的方法及装置、网络设备。
本申请实施例提供的确定终端设备的地址的方法,包括:
第一核心网网元接收AF发送的第一信息,所述第一信息包括至少一个地址;
所述第一核心网网元基于所述第一信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
本申请实施例提供的确定终端设备的地址的装置,应用于第一核心网网元,所述装置包括:
接收单元,用于接收AF发送的第一信息,所述第一信息包括至少一个地址;
确定单元,用于基于所述第一信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
本申请实施例提供的网络设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述的确定终端设备的地址的方法。
本申请实施例提供的芯片,用于实现上述的确定终端设备的地址的方法。
具体地,该芯片包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该芯片的设备执行上述的确定终端设备的地址的方法。
本申请实施例提供的计算机可读存储介质,用于存储计算机程序,该计算机程序使得计算机执行上述的确定终端设备的地址的方法。
本申请实施例提供的计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行上述的确定终端设备的地址的方法。
本申请实施例提供的计算机程序,当其在计算机上运行时,使得计算机执行上述的确定终端设备的地址的方法。
通过上述技术方案,AF将至少一个地址告知第一核心网网元,第一核心网网元可以确定出至少一个终端设备与AF通信使用的地址,从而可以使用终端设备与AF通信使用的地址来向AF告知收集哪个终端设备的数据,避免了将终端设备的全部地址告知给AF的安全隐患问题。
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:
图1是本申请实施例提供的一种通信系统架构的示意性图;
图2是本申请实施例提供的一种网络系统架构图;
图3是本申请实施例提供的NWDAF与AF之间交互进行信息收集的流程示意图;
图4是本申请实施例提供的AF提供地址的流程图;
图5是本申请实施例提供的确定终端设备的地址的方法的流程示意图一;
图6是本申请实施例提供的确定终端设备的地址的方法的流程示意图二;
图7是本申请实施例提供的确定终端设备的地址的示意图;
图8是本申请实施例提供的AF向NRF进行注册的流程示意图一;
图9是本申请实施例提供的AF向NRF进行注册的流程示意图二;
图10是本申请实施例提供的NWDAF向NRF发起查询请求的流程示意图;
图11是本申请实施例提供的NWDAF向AF请求服务的流程示意图一;
图12是本申请实施例提供的NWDAF向AF请求服务的流程示意图二;
图13是本申请实施例提供的NEF确定第一终端设备与AF通信使用的地址的流程示意图;
图14是本申请实施例提供的NWDAF确定第一终端设备与AF通信使用的地址的流程示意图;
图15是本申请实施例提供的确定终端设备的地址的装置的结构组成示意图;
图16是本申请实施例提供的一种通信设备示意性结构图;
图17是本申请实施例的芯片的示意性结构图;
图18是本申请实施例提供的一种通信系统的示意性框图。
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。
本申请实施例的技术方案可以应用于各种通信系统,例如:长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、系统、5G通信系统或未来的通信系统等。
示例性的,本申请实施例应用的通信系统100如图1所示。该通信系统100可以包括网络设备110,网络设备110可以是与终端120(或称为通信终端、终端)通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端进行通信。可选地,该网络设备110可以是LTE系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者是云无线接入网络(Cloud Radio Access Network,CRAN)中的无线控制器,或者该网络设备可以为移动交换中心、中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器、5G网络中的网络侧设备或者未来通信系统中的网络设备等。
该通信系统100还包括位于网络设备110覆盖范围内的至少一个终端120。作为在此使用的“终端”包括但不限于经由有线线路连接,如经由公共交换电话网络(Public Switched Telephone Networks,PSTN)、数字用户线路(Digital Subscriber Line,DSL)、数字电缆、直接电缆连接;和/或另一数据连接/网络;和/或经由无线接口,如,针对蜂窝网络、无线局域网(Wireless Local Area Network,WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器;和/或另一终端的被设置成接收/发送通信信号的装置;和/或物联网(Internet of Things,IoT)设备。被设置成通过无线接口通信的终端可以被称为“无线通信终端”、“无线终端”或“移动终端”。移动终端的示例包括但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(Personal Communications System,PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(Global Positioning System,GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。终端可以指接入终端、用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的终端或者未来演进的PLMN中的终端等。
可选地,终端120之间可以进行终端直连(Device to Device,D2D)通信。
可选地,5G通信系统或5G网络还可以称为新无线(New Radio,NR)系统或NR网络。
图1示例性地示出了一个网络设备和两个终端,可选地,该通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端,本申请实施例对此不做限定。
可选地,该通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。
应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图1示出的通信系统100为例,通信设备可包括具有通信功能的网络设备110和终端120,网络设备110和终端120可以为上文所述的具体设备,此处不再赘述;通信设备还可包括通信系统100中的其他设备,例如网络控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。
应理解,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
为便于理解本申请实施例的技术方案,以下对本申请实施例相关的技术方案进行说明。
5G网络架构中最重要的一个特征就是服务化架构,在服务化架构中,核心网网元可以提供特定的服务,并通过定义好的应用程序接口(Application Programming Interface,API)接口供其他网元调用。其中,提供服务的网元称为服务提供者,调用服务的网元称为服务消费者。
图2是本申请实施例提供的一种网络系统架构图,需要指出的是,图2中的UE可以被替换为终端设备,可选地,终端设备也可以是移动终端设备。如图2所示,UE与RAN之间建立接入层(AS)连接,交互接入层消息及进行无线数据传输。UE与接入移动管理功能网元(Access and Mobility Management Function,AMF)之间建立非接入层(NAS)连接,交互NAS消息。AMF负责UE的移动性管理;会话管理功能网元(Session Management Function,SMF)负责UE的会话管理,此外,AMF负责UE的移动性管理之外,还负责将会话管理相关消息在UE和SMF之间进行转发。策略控制功能网元(Policy Control Function,PCF)负责制定对UE的移动性管理、会话管理、计费等相关的策略。用户面功能网元(User Plane Function,UPF)与RAN及外部的数据网络(Data Network,DN)相连,负责进行数据传输。
此外,图2所示的核心网控制面网元可以通过服务化接口(如Nnssf、Npcf、Nudm等)将特定的服务提供给其他网元,提供服务的网元称为服务提供者,使用服务的网元称为服务消费者。这里,当某网元需要使用某种服务时,可以先和网络存储功能网元(Network Repository Function,NRF)交互提供需要的服务,并由NRF返回服务提供者的信息,然该网元就可以与服务提供者直接交互得到相应的服务了。在服务化架构中,各网元可以提供不同的服务,每个服务下又可以分为不同的操作(Operation),例如:获得、更新、删除、订阅、通知等操作。在服务化架构中,一般使用超文本传输协议(Hyper Text Transfer Protocol,HTTP)表征状态转移(Representational State Transfer,Restful)方式进行通信。
服务化架构中定义了两种服务,一种是请求-响应(Request-Response),另一种是订阅-通知(Subscribe-Notify)。前者是服务提供者接收到请求消息后立即回复响应消息且一般只回复一次响应消息,后者则是服务提供者接收到订阅消息后立即或延时发送通知消息(通知消息携带订阅的内容),并且可能后续还会发送多次通知消息。
为了让3GPP网元能够收集终端设备的数据,3GPP系统架构中引入了AF用于收集终端设备的数据,并将收集到的终端设备的数据发送给需要的3GPP网元。作为示例,3GPP网元可以是网络数据分析功能网元(Network Data Analysis Function,NWDAF)。
图3是本申请实施例提供的NWDAF与AF之间交互进行信息收集的流程示意图,NWDAF接收到来自网络功能网元(Network Function,NF)的请求时,会查找对应的AF,并与其交互以收集相关终端设备的数据,如图3所示,具体包括以下步骤:
步骤301:NF向NWDAF发送分析订阅-订阅消息。
这里,分析订阅-订阅消息可以描述为:
Nnwdaf_AnalyticsSubscription_Subscribe。
步骤302:NWDAF发现用于收集终端设备的数据的AF。
步骤303:NWDAF向AF发送事件开放-订阅消息。
这里,事件开放-订阅消息可以描述为:Naf_Event_Exposure_Subscribe。
步骤304:AF确定哪些应用客户端属于数据收集范围。
步骤305:AF通过与应用客户端之间的连接向应用客户端请求并接收数据。
步骤306:AF向NWDAF发送事件开放-通知消息。
这里,事件开放-通知消息可以描述为:Naf_Event_Exposure_Notify。
这里,事件开放-通知消息携带AF收集到的数据。
步骤307:NWDAF对数据进行分析,生成分析结果。
步骤308:NWDAF向NF发送分析订阅-通知消息。
这里,分析订阅-通知消息可以描述为:
Nnwdaf_AnalyticsSubscription_Notify。
这里,分析订阅-通知消息携带NWDAF生成的分析结果。
上述流程中,需要NWDAF调用NRF中的发现(Discovery)服务来确定需要与哪个AF交互以收集特定终端设备的数据。为了指代特定的终端设备,需要使用终端标识。目前,3GPP系统内部使用内部终端标识来指代终端设备,而在3GPP系统外部使用外部终端标识来指代终端设备,作为示例,内部终端标识可以是用户永久标识(Subscription Permanent Identifier,SUPI),外部终端标识可以是通用公共用户标识(Generic Public Subscription Identifier,GPSI)。内部终端标识和外部终端标识之间的映射关系一般在NWDAF或网络开放功能网元(Network Exposure Function,NEF)等网元上保存,并根据需要通信的网元是否是内部或外部网元来决定使用哪种终端标识。
终端设备与AF建立连接后,AF知道该终端设备与AF通信使用的地址,然而,AF并不知道该终端设备的终端标识。NWDAF向AF发送服务请求消息(如事件开放-订阅消息)时,如果该服务请求消息中携带的是终端标识,则AF无法确定该终端标识具体指代哪一个终端设备,为此,NWDAF需要使用终端设备的地址来代替终端标识来指代终端设备。然而,由于终端设备在3GPP系统注册后可能会有多个地址,并且NWDAF不确定终端设备与AF通信使用的地址是哪个地址,因此NWDAF需要在服务请求消息中携带终端设备的全部地址,参照图4。AF获得了终端设备的全部地址,会产生安全问题。为了避免NWDAF将终端设备的全部地址都发送给AF,提出了本申请实施例的以下增强机制,通过本申请实施例的以下技术方案,无需NWDAF将终端设备的全部地址都发送给AF,保障了终端设备的地址安全。并且,本申请实施例的以下技术方案的实现充分利用了现有流程和机制,易于实现。
需要说明的是,本申请实施例的技术方案可以应用于5G网络,但不局限于此,本申请实施例的技术方案还可以应用于其他网络,如6G网络等。
需要说明的是,本申请以下实施例中描述的终端标识,可以是以下至少之一:SUPI、GPSI、永久设备标识(Permanent Equipment ID,PEI)。
图5是本申请实施例的确定终端设备的地址的方法的流程示意图,如图5所示,所述确定终端设备的地址的方法包括以下步骤:
步骤501:第一核心网网元接收AF发送的第一信息,所述第一信息包括至少一个地址。
步骤502:所述第一核心网网元基于所述第一信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
本申请实施例中,终端设备与AF通信使用的地址,可以是指,终端设备与服务器建立的应用层连接对应的地址。作为示例,应用层连接例如是HTTP连接、或者TCP/IP连接。作为示例,地址例如是IP地址、或者MAC地址。
本申请实施例中,AF通过第一信息向第一核心网网元提供至少一个地址,这里,所述至少一个地址中的每个地址都可以是一个终端设备与AF通信使用的地址。需要说明的是,AF并不知道所述至少一个地址中的各个地址对应的终端标识是什么。
在本申请一些可选实施例中,参照图6,所述第一核心网网元为3GPP网元,3GPP网元接收AF发送的第一信息,所述第一信息包括至少一个地址;3GPP基于所述第一信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
这里,AF发送的地址可以是公网地址或者是私网地址,其中,公网地址也可以称为外部地址,私网地址也可以称为内部地址。在一些可选实施例中,AF为非授信域网元,对于这种情况,AF发送的地址是公网地址(也即外部地址)。在一些可选实施例中,AF为授信域网元,对于这种情况,AF发送的地址是私网地址(也即内部地址)。
需要指出的是,如果AF发送的是公网地址(即外部地址),那么,该公网地址可以通过其他网元进行地址转换,将转换得到的私网地址(即内部地址)发送给3GPP网元。在一些可选实施例中,用于实现地址转换的网元可以是NEF、或者防火墙、或者网络地址转换网元(Network Address Translation,NAT)。
需要指出的是,本申请实施例中关于“AF”的描述可以替换为“应用服务器”。
本申请实施例中,所述第一核心网网元可以通过以下方式确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
方式一
所述第一核心网网元基于所述第一信息和第二信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址;其中,所述第二信息包括至少一个终端设备中的每个终端设备被分配的一个或多个地址。
在本申请一些可选实施例中,所述至少一个地址包括第一地址;所述第一核心网网元基于所述至少一个终端设备中的每个终端设备被分配的一个或多个地址,确定所述第一地址属于所述至少一个终端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。
需要说明的是,上述方案中,第一核心网网元确定的是第一终端设备与AF通信使用的地址,但不局限于此,第一核心网网元还可以确定出多个终端设备中的每个终端设备与AF通信使用的地址。
在一个示例中,参照图7,AF通过第一信息向第一核心网网元提供了3个地址,分别是地址1-1、地址2-2、地址3-3,其中,地址1-1是第一终端设备与AF通信使用的地址,地址2-2是第二终端设备与AF通信使用的地址,地址3-3是第三终端设备与AF通信使用的地址,AF不知道第一终端设备、第二终端设备以及第三终端设备的终端标识;第一核心网网元获得3个终端设备的地址,分别是终端设备1(即终端标识为1的终端设备)的地址包括地址1-1、1-2、1-3,终端设备2(即终端标识为2的终端设备)的地址包括地址2-1、2-2、2-3,终端设备3(即终端标识为3的终端设备)的地址包括地址3-1、3-2、3-3;第一核心网网元在全部终端设备的地址中,进行与地址1-1、地址2-2、地址3-3的筛选比对,可以确定第一终端与AF通信使用的地址1-1属于终端设备1的地址,也即可以确定终端设备1与AF通信使用的地址是地址1-1,同理,可以确定终端设备2与AF通信使用的地址是地址2-2,终端设备3与AF通信使用的地址是地址3-3。
在本申请一些可选实施例中,所述至少一个地址包括第一地址;所述第一信息还包括至少一个终端标识;所述第一核心网网元基于所述至少一个终端标识,确定至少一个终端设备中的每个终端设备被分配的一个或多个地址,所述第一核心网网元基于所述至少一个终端设备中的每个终端设备被分配的一个或多个地址,确定所述第一地址对应于所述至少一个终端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。
这里,所述第一核心网网元可以获得N个终端设备中的每个终端设备被分配的一个或多个地址,N为正整数,为了提高第一地址的筛选效率,所述第一核心网网元可以根据M个终端标识从所述N个终端设备中确定出M个终端设备,并基于所述M个终端设备中的每个终端设备被分配的一个或多个地址,确定第一地址对应于所述M个终端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。在一可选方式中,M为小于等于N的正整数。
需要说明的是,上述方案中,第一核心网网元确定的是第一终端设备与AF通信使用的地址,但不局限于此,第一核心网网元还可以确定出多个终端设备中的每个终端设备与AF通信使用的地址。
在一个示例中,AF通过第一信息向第一核心网网元提供了1个地址和2个终端标识,其中,1个地址是地址1-1,2个终端标识分别是终端标识1、终端标识2;第一核心网网元获得3个终端设备的地址,分别是终端设备1的地址包括地址1-1、1-2、1-3,终端设备2的地址包括地址2-1、2-2、2-3,终端设备3的地址包括地址3-1、3-2、3-3;第一核心网网元根据终端标识1和终端标识2,在终端设备1的地址和终端设备2的地址中,进行与地址1-1的筛选比对,可以确定终端设备1与AF通信使用的地址是地址1-1。
方式二
所述第一核心网网元确定第二核心网网元,从所述第二核心网网元获取第一对应关系和/或第二对应关系,所述第一对应关系用于确定一个或多个地址中的每个地址对应的终端标识,所述第二对应关系用于确定一个或多个终端标识中的每个终端标识对应的一个或多个地址;所述第一核心网网元基于所述第一对应关系和/或所述第二对应关系,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
需要说明的是,一个地址仅对应一个终端标识,而一个终端标识可以对应一个或多个地址。这里,一个终端设备被分配的地址可以有一个或多个,因而,该终端设备的终端标识可以对应一个或多个地址。
在本申请一些可选实施例中,所述第二核心网网元包括以下至少之一:SMF、UPF。
在本申请一些可选实施例中,所述第一核心网网元基于所述第一信息中的至少一个地址、所述第一信息中的至少一个终端标识、以及第三信息中的至少之一,确定所述第二核心网网元。
在一个示例中,所述第一核心网网元基于至少一个地址确定第二核心网网元。这里,第二核心网网元可以分配一定范围的地址,不同的第二核心网网元对应的地址范围不同,例如SMF1在地址范围1内进行地址的分配,SMF在地址范围2内进行地址的分配。第一核心网网元根据至少一个地址所属的地址范围,可以确定出分配所述至少一个地址的第二核心网网元。
在一个示例中,所述第一核心网网元基于至少一个终端标识确定第二核心网网元。这里,至少一个终端标识中的每个终端标识指代一个终端设备,至少一个终端标识可以指代至少一个终端设备。第一核心网网元可以根据至少一个终端标识确定服务于至少一个终端设备的第二核心网网元。可选地,第一核心网网元侧存储有第二核心网网元与终端标识之间的对应关系,根据该对应关系可以确定出服务于至少一个终端设备的第二核心网网元。
在一个示例中,所述第一核心网网元基于第三信息确定第二核心网网元。可选地,所述第三信息包括以下至少之一:单网络切片选择辅助信息(Single Network Slice Selection Assistance Information,SNSSAI)、数据网络名称(Data Network Name,DNN)、网元标识。这里,不同的第二核心网网元对应的第三信息不同,所述第一核心网网元可以根据第三信息直接确定出第二核心网网元。
这里,所述第一核心网网元基可以通过以下方式获得所述第三信息:方式A)所述第一核心网网元接收所述AF发送的所述第三信息;或者,方式B)所述第一核心网网元基于所述AF,确定所述第三信息。
在本申请一些可选实施例中,所述第一核心网网元从所述第二核心网网元获取第一对应关系和/或第二对应关系,包括:所述第一核心网网元向所述第二核心网网元发送询问请求消息,所述询问请求消息携带以下至少之一:一个或多个地址、一个或多个终端标识;所述第一核心网网元接收所述第二核心网网元发送的询问请求回复消息,所述询问请求回复消息携带以下至少之一;与所述一个或多个地址中的每个地址对应的终端标识、与所述一个或多个终端标识中的每个终端标识对应的一个或多个地址;所述第一核心网网元根据所述询问请求回复消息中携带的信息确定所述第一对应关系和/或所述第二对应关系。
在本申请一些可选实施例中,所述第一核心网网元基于所述第一对应关系和/或所述第二对应关系,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址,包括:
以所述至少一个地址中的第一地址为例,所述第一核心网网元从所述第二核心网网元获取第一地址与第一终端设备之间具有对应关系,从而可以确定所述第一地址为所述第一终端设备与所述AF通信使用的地址。
需要说明的是,上述方案中,第一核心网网元确定的是第一终端设备与AF通信使用的地址,但不局限于此,第一核心网网元还可以确定出多个终端设备中的每个终端设备与AF通信使用的地址。
本申请实施例的上述技术方案,可以通过对服务化架构中的注册过程、发现过程等过程进行增强,使得第一核心网网元获得终端设备与AF通信使用的地址,避免第一核心网网元或者其他网元向AF发送该终端设备的其他地址。以下结合具体应用示例对本申请实施例的技术方案进行说明。
需要说明的是,以下应用示例中的用于实现地址转换的网元是以NEF为例进行说明的,但不局限于此,用于实现地址转换的网元还可以是其他网元,例如NAT、防火墙等。
应用示例一
在本申请一些可选实施例中,所述第一核心网网元为NRF,所述第一信息携带在由所述AF发送给所述NRF的注册请求消息中。
具体地,NRF接收AF发送的注册请求消息,该注册请求消息携带第一信息,所述第一信息包括至少一个地址,所述至少一个地址包括第一地址;所述NRF与第三核心网网元进行交互,获取至少一个终端设备中的每个终端设备被分配的一个或多个地址;所述NRF基于所述至少一个终端设备中的每个终端设备被分配的一个或多个地址,确定所述第一地址属于所述至少一个终 端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。可选地,所述第三核心网网元包括以下至少之一:SMF、统一数据管理网元(Unified Data Management,UDM)。
在一种情况下,若所述AF为授信域网元,则所述第一信息中的至少一个地址直接由所述AF发送给所述NRF。需要说明的是,AF为授信域网元的情况下,AF提供的至少一个地址是3GPP系统的内部地址,因此,AF可以将至少一个地址直接发送给3GPP系统内的NRF。
在另一种情况下,若所述AF为非授信域网元,则所述第一信息中的至少一个地址由所述AF发送给NEF进行地址转换后,再由所述NEF发送给所述NRF。需要说明的是,AF为非授信域网元的情况下,AF提供的至少一个地址是3GPP系统的外部地址,因此,AF需要将至少一个外部地址发送给NEF,由NEF将至少一个外部地址转换为至少一个内部地址后发送给3GPP系统内的NRF。
图8是本申请实施例提供的AF向NRF进行注册的流程示意图一,应用于AF为授信域网元的情况,如图8所示,包括以下步骤:
步骤801:AF向NRF发送注册请求消息,该注册请求消息携带至少一个地址。
进一步,可选地,所述注册请求消息携还携带至少一个终端标识。
步骤802:NRF向AF发送注册请求响应消息。
图9是本申请实施例提供的AF向NRF进行注册的流程示意图二,应用于AF为非授信域网元的情况,如图9所示,包括以下步骤:
步骤901:AF向NEF发送注册请求消息,该注册请求消息携带至少一个外部地址。
步骤902:NEF将至少一个外部地址转换为至少一个内部地址,向NRF发送注册请求消息,该注册请求消息携带至少一个内部地址。
步骤903:NRF向NEF发送注册请求响应消息。
步骤904:NEF向AF发送注册请求响应消息。
通过上述图8或图9所示的注册流程,NRF可以获得至少一个地址,以所述至少一个地址中的第一地址为例,NRF基于至少一个终端设备中的每个终端设备被分配的一个或多个地址,确定所述第一地址属于所述至少一个终端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。需要说明的是,这里是以NRF确定一个终端设备与AF通信使用的地址进行说明,但不局限于此,NRF也可以确定多个终端设备与AF通信分别使用的地址。
本申请实施例中,NRF确定至少一个终端设备中的每个终端设备与AF通信使用的地址,也可以理解为,NRF确定AF提供的至少一个地址中的每个地址对应的终端标识,例如:NRF确定终端标识1与AF提供的地址1对应,那么就可以理解为,终端设备1与AF通信使用的地址为地址1,其中,终端标识1是指终端设备1的标识。
本申请实施例中,NRF确定至少一个终端设备与AF通信使用的地址后,NRF可以为其他网元提供该信息,以便于其他网元确定终端标识与地址之间的对应关系。以下对其进行描述。
第一种应用方式
在本申请一些可选实施例中,所述NRF接收第四核心网网元发送的查询请求消息,所述查询请求消息携带第一终端标识;所述NRF向所述第四核心网网元发送查询请求回复消息,所述查询请求回复消息携带与所述第一终端标识对应的第一地址,所述第一地址为所述第一终端设备与所述AF通信使用的地址。这里,可选地,所述第四核心网网元为NWDAF。
需要说明的是,第四核心网网元可以向NRF查询一个终端设备与AF通信使用的地址,但不局限于此,第四核心网网元也可以向NRF查询多个终端设备与AF通信分别使用的地址。
图10是本申请实施例提供的NWDAF向NRF发起查询请求的流程示意图,如图10所示,包括以下步骤:
步骤1001:NWDAF向NRF发送查询请求消息,该查询请求消息携带第一终端标识。
步骤1002:NRF向NWDAF发送查询请求响应消息,该查询请求响应消息携带第一地址。
这里,第一终端标识是指第一终端设备的标识。作为示例,第一终端标识为SUPI。NRF根据第一终端标识可以确定第一终端设备与AF通信使用的地址为第一地址。
在一些可选实施例中,在步骤1001中,查询请求消息还可以携带第一终端设备的全部地址和/或应用标识;在步骤1002中,NRF可以根据第一终端设备的全部地址和/或应用标识,确定可以访问的AF,并在查询请求响应消息中携带可以访问的AF的信息,例如AF标识、AF域名、 AF的地址等。
在本申请一些可选实施例中,所述第一地址携带在所述第四核心网网元发送给所述AF的服务请求消息中,所述第一地址用于指代所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。这里,可选地,所述第四核心网网元为NWDAF。
在一种情况下,若所述AF为授信域网元,则所述第一地址直接由所述第四核心网网元发送给所述AF。
在另一种情况下,若所述AF为非授信域网元,则所述第一地址由所述第四核心网网元发送给NEF进行地址转换后,再由所述NEF发送给所述AF。
图11是本申请实施例提供的NWDAF向AF请求服务的流程示意图一,应用于AF为授信域网元的情况,如图11所示,包括以下步骤:
步骤1101:NWDAF向AF发送服务请求消息,该服务请求消息携带第一地址。
这里,NWDAF通过前述方案获得第一终端标识与第一地址具有对应关系后,便可以知道第一终端设备与AF通信使用的地址为第一地址。NWDAF在向AF发送的服务请求消息中携带第一地址,通过所述第一地址来指代第一终端设备,从而向AF请求收集第一终端设备的数据。
步骤1102:AF向NWDAF发送服务请求响应消息。
这里,AF可以根据第一地址确定NWDAF请求的是第一终端设备的数据,进而对第一终端设备的数据进行收集,而后向NWDAF返回服务请求响应消息。
图12是本申请实施例提供的NWDAF向AF请求服务的流程示意图二,应用于AF为非授信域网元的情况,如图12所示,包括以下步骤:
步骤1201:NWDAF向NEF发送服务请求消息,该服务请求消息携带内部第一地址。
步骤1202:NEF将内部第一地址转换为外部第一地址,向AF发送服务请求消息,该服务请求消息携带外部第一地址。
步骤1203:AF向NEF发送服务请求响应消息。
步骤1204:NEF向NWDAF发送服务请求响应消息。
第二种应用方式
在本申请一些可选实施例中,所述NRF基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送第一指示信息,所述第一指示信息用于指示第一终端标识与第一地址对应。
在本申请一些可选实施例中,所述第一终端标识携带在所述第四核心网网元发送给所述AF的服务请求消息中,所述第一终端标识用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。这里,可选地,所述第四核心网网元为NWDAF。
这里,由于AF获知了第一终端标识与第一地址对应,因而NWDAF向AF发送的服务请求消息中可以携带第一终端标识,通过第一终端标识来指代第一终端设备,AF可以根据第一终端标识与第一地址之间的对应关系,确定NWDAF请求的是第一终端设备的数据,进而对第一终端设备的数据进行收集,而后向NWDAF返回服务请求响应消息。
应用示例二
在本申请一些可选实施例中,所述第一核心网网元为NEF或者NWDAF,NEF或者NWDAF接收AF提供的至少一个地址。NEF或者NWDAF从SMF和/或UDM获得至少一个终端设备中的每个终端设备被分配的一个或多个地址,然后在至少一个终端设备中的每个终端设备被分配的一个或多个地址中,进行所述至少一个地址的筛选比对,从而确定至少一个终端设备与AF通信使用的地址。为了提高筛选比对的效率,NEF或者NWDAF还可以接收AF提供的一个或多个终端标识,所述一个或多个终端标识用于指代所述至少一个终端设备中的一个或多个终端设备,从而NEF或者NWDAF仅需要在所述一个或多终端设备中的每个终端设备被分配的一个或多个地址中,进行所述至少一个地址的筛选比对,从而确定至少一个终端设备与AF通信使用的地址。
在一种情况下,AF为非授信域网元,由NEF作为第一核心网网元来确定至少一个终端设备与AF通信使用的地址。
具体地实现时,所述第一信息(即至少一个地址)携带在由所述AF发送给所述NEF的状态通知或更新消息中。所述NEF接收第四核心网网元(如NWDAF)发送的服务请求消息,所述服务请求消息携带至少一个终端设备中的每个终端设备被分配的一个或多个地址。所述NEF在至少一个终端设备中的每个终端设备被分配的一个或多个地址中,进行所述至少一个地址的筛选比对,从而确定至少一个终端设备与AF通信使用的地址。所述NEF确定出至少一个终端设备与 AF通信使用的地址后,可以有如下两种应用方式:
第一种应用方式:在本申请一些可选实施例中,所述NEF基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送服务请求消息,所述服务请求消息携带所述第一地址,所述第一地址用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
这里,NEF确定出第一终端设备与AF通信使用的地址为第一地址,也可以理解为,NEF确定出第一终端标识与第一地址具有对应关系。换句话说,NEF获得第一终端标识与第一地址具有对应关系后,便可以知道第一终端设备与AF通信使用的地址为第一地址。NEF在向AF发送的服务请求消息中携带第一地址,通过所述第一地址来指代第一终端设备,从而向AF请求收集第一终端设备的数据。
第二种应用方式:在本申请一些可选实施例中,所述NEF基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送第一指示信息,所述第一指示信息用于指示第一终端标识与第一地址对应。所述NEF向所述AF发送服务请求消息,所述服务请求消息携带所述第一终端标识,所述第一终端标识用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
这里,NEF确定出第一终端设备与AF通信使用的地址为第一地址,也可以理解为,NEF确定出第一终端标识与第一地址具有对应关系。换句话说,NEF获得第一终端标识与第一地址具有对应关系后,便可以知道第一终端设备与AF通信使用的地址为第一地址。NEF向AF提供第一终端标识与第一地址具有对应关系,由于AF获知了第一终端标识与第一地址对应,因而NEF向AF发送的服务请求消息中可以携带第一终端标识,通过第一终端标识来指代第一终端设备,AF可以根据第一终端标识与第一地址之间的对应关系,确定NEF请求的是第一终端设备的数据,进而对第一终端设备的数据进行收集。
图13是本申请实施例提供的NEF确定第一终端设备与AF通信使用的地址的流程示意图,应用于AF为非授信域网元的情况,如图13所示,包括以下步骤:
步骤1301:AF向NEF发送状态通知或更新消息,该状态通知或更新消息携带第一地址。
步骤1302:NEF存储第一地址。
步骤1303:AF执行注册过程。
这里,AF可以执行现有流程完成与NRF之间的注册过程。
步骤1304:NWDAF与NRF执行查询过程,并与SMF和/或UDM交互得到至少一个终端设备中的每个终端设备被分配的一个或多个地址。
这里,NWDAF可以使用查询过程得知需要通信的AF是哪个,同时NWDAF可通过与SMF和/或UDM交互获得某一个或某几个终端设备的地址,这里NWDAF获得的终端设备的地址可以是该终端设备的全部的地址。需要说明的是,NWDAF并不知道终端设备与AF通信使用的地址是哪个地址。
步骤1305:NWDAF向NEF发送服务请求消息,该服务请求消息携带至少一个终端设备中的每个终端设备被分配的一个或多个地址。
这里,服务请求消息携带至少一个终端设备中的每个终端设备被分配的一个或多个地址,也可以理解为,服务请求消息携带至少一个终端标识,以及每个终端标识对应的一个或多个地址。换句话说,通过至少一个终端设备中的每个终端设备被分配的一个或多个地址可以确定出N个终端标识与地址之间的对应关系。需要指出的是,一个终端标识可以对应一个或多个地址,也即一个终端设备可以被分配有一个或多个地址。
步骤1306:NEF在至少一个终端设备中的每个终端设备被分配的一个或多个地址中,进行第一地址的筛选比对,从而确定第一地址是第一终端设备与AF通信使用的地址。
这里,NEF确定第一地址是第一终端设备与AF通信使用的地址,也可以理解为,NEF确定第一地址与第一终端标识具有对应关系。可选地,NEF会将该对应关系进行存储。
需要说明的是,由于至少一个终端设备中的每个终端设备被分配的一个或多个地址是NWDAF提供的,因此N个终端设备属于内部地址,而第一地址是AF提供的,因此第一地址属外部地址,NEF可以将至少一个终端设备中的每个终端设备被分配的一个或多个地址转换为对应的外部地址后,再进行第一地址的筛选比对,从而确定第一地址是第一终端设备与AF通信使用 的地址。
步骤1307:NEF向AF发送服务请求消息,该服务请求消息携带第一地址。
这里,NEF通过在服务请求消息中携带第一地址来指代第一终端设备,从而向AF请求收集第一终端设备的数据。
需要说明的是,上述过程是以状态通知或更新消息携带一个地址为例进行说明的,但不局限于此,状态通知或更新消息可以携带多个地址,相应地,NEF在至少一个终端设备中的每个终端设备被分配的一个或多个地址中,对所述多个地址分别进行筛选比对,从而确定出所述多个地址中的各个地址对应的终端标识。
在另一种情况下,AF为授信域网元,由NWDAF作为第一核心网网元来确定至少一个终端设备与AF通信使用的地址。
具体地实现时,所述第一信息(即至少一个地址)携带在由所述AF发送给所述NWDAF的状态通知或更新消息中。所述NWDAF与第三核心网网元(如SMF和/或UDM)进行交互,获取至少一个终端设备中的每个终端设备被分配的一个或多个地址。所述NWDAF在至少一个终端设备中的每个终端设备被分配的一个或多个地址中,进行所述至少一个地址的筛选比对,从而确定至少一个终端设备与AF通信使用的地址。所述NWDAF确定出至少一个终端设备与AF通信使用的地址后,可以有如下两种应用方式:
第一种应用方式:在本申请一些可选实施例中,所述NWDAF基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送服务请求消息,所述服务请求消息携带所述第一地址,所述第一地址用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
这里,NWDAF确定出第一终端设备与AF通信使用的地址为第一地址,也可以理解为,NWDAF确定出第一终端标识与第一地址具有对应关系。换句话说,NWDAF获得第一终端标识与第一地址具有对应关系后,便可以知道第一终端设备与AF通信使用的地址为第一地址。NWDAF在向AF发送的服务请求消息中携带第一地址,通过所述第一地址来指代第一终端设备,从而向AF请求收集第一终端设备的数据。
第二种应用方式:在本申请一些可选实施例中,所述NWDAF基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送第一指示信息,所述第一指示信息用于指示第一终端标识与第一地址对应。所述NWDAF向所述AF发送服务请求消息,所述服务请求消息携带所述第一终端标识,所述第一终端标识用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
这里,NWDAF确定出第一终端设备与AF通信使用的地址为第一地址,也可以理解为,NWDAF确定出第一终端标识与第一地址具有对应关系。换句话说,NWDAF获得第一终端标识与第一地址具有对应关系后,便可以知道第一终端设备与AF通信使用的地址为第一地址。NWDAF向AF提供第一终端标识与第一地址具有对应关系,由于AF获知了第一终端标识与第一地址对应,因而NWDAF向AF发送的服务请求消息中可以携带第一终端标识,通过第一终端标识来指代第一终端设备,AF可以根据第一终端标识与第一地址之间的对应关系,确定NWDAF请求的是第一终端设备的数据,进而对第一终端设备的数据进行收集。
图14是本申请实施例提供的NWDAF确定第一终端设备与AF通信使用的地址的流程示意图,应用于AF为授信域网元的情况,如图14所示,包括以下步骤:
步骤1401:AF向NWDAF发送状态通知或更新消息,该状态通知或更新消息携带第一地址。
步骤1402:NWDAF存储第一地址。
步骤1403:AF执行注册过程。
这里,AF可以执行现有流程完成与NRF之间的注册过程。
步骤1404:NWDAF与NRF执行查询过程,并与SMF和/或UDM交互得到至少一个终端设备中的每个终端设备被分配的一个或多个地址。
这里,NWDAF可以使用查询过程得知需要通信的AF是哪个,同时NWDAF可通过与SMF和/或UDM交互获得某一个或某几个终端设备的地址,这里NWDAF获得的终端设备的地址可以是该终端设备的全部的地址。需要说明的是,NWDAF并不知道终端设备与AF通信使用的地址是哪个地址。
步骤1405:NWDAF在至少一个终端设备中的每个终端设备被分配的一个或多个地址中,进行第一地址的筛选比对,从而确定第一地址是第一终端设备与AF通信使用的地址。
这里,NWDAF确定第一地址是第一终端设备与AF通信使用的地址,也可以理解为,NWDAF确定第一地址与第一终端标识具有对应关系。可选地,NWDAF会将该对应关系进行存储。
步骤1406:NWDAF向AF发送服务请求消息,该服务请求消息携带第一地址。
这里,NWDAF通过在服务请求消息中携带第一地址来指代第一终端设备,从而向AF请求收集第一终端设备的数据。
需要说明的是,上述过程是以状态通知或更新消息携带一个地址为例进行说明的,但不局限于此,状态通知或更新消息可以携带多个地址,相应地,NWDAF在至少一个终端设备中的每个终端设备被分配的一个或多个地址中,对所述多个地址分别进行筛选比对,从而确定出所述多个地址中的各个地址对应的终端标识。
需要说明的是,本申请实施例的上述方案中,是以服务请求消息携带一个地址为例进行说明的,但不局限于此,服务请求消息可以携带多个地址,从而实现向AF请求收集多个终端设备的数据。
图15是本申请实施例提供的确定终端设备的地址的装置的结构组成示意图,应用于第一核心网网元,如图15所示,所述确定终端设备的地址的装置包括:
接收单元1501,用于接收AF发送的第一信息,所述第一信息包括至少一个地址;
确定单元1502,用于基于所述第一信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
在本申请一些可选实施例中,所述确定单元1502,用于基于所述第一信息和第二信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址;其中,所述第二信息包括至少一个终端设备中的每个终端设备被分配的一个或多个地址。
在本申请一些可选实施例中,所述至少一个地址包括第一地址;
所述确定单元1502,用于基于所述至少一个终端设备中的每个终端设备被分配的一个或多个地址,确定所述第一地址属于所述至少一个终端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。
在本申请一些可选实施例中,所述至少一个地址包括第一地址;所述第一信息还包括至少一个终端标识;
所述确定单元1502,用于基于所述至少一个终端标识,确定至少一个终端设备中的每个终端设备被分配的一个或多个地址;基于所述至少一个终端设备中的每个终端设备被分配的一个或多个地址,确定所述第一地址对应于所述至少一个终端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。
在本申请一些可选实施例中,所述确定单元1502,用于确定第二核心网网元,从所述第二核心网网元获取第一对应关系和/或第二对应关系,所述第一对应关系用于确定一个或多个地址中的每个地址对应的终端标识,所述第二对应关系用于确定一个或多个终端标识中的每个终端标识对应的一个或多个地址;基于所述第一对应关系和/或所述第二对应关系,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
在本申请一些可选实施例中,所述确定单元1502,用于基于所述第一信息中的至少一个地址、所述第一信息中的至少一个终端标识、以及第三信息中的至少之一,确定所述第二核心网网元。
在本申请一些可选实施例中,所述第三信息包括以下至少之一:SNSSAI、DNN、网元标识。
在本申请一些可选实施例中,所述接收单元1501,还用于接收所述AF发送的所述第三信息;或者,
所述确定单元1502,还用于基于所述AF,确定所述第三信息。
在本申请一些可选实施例中,所述第一核心网网元为NRF,所述第一信息携带在由所述AF发送给所述NRF的注册请求消息中。
在本申请一些可选实施例中,若所述AF为授信域网元,则所述第一信息中的至少一个地址直接由所述AF发送给所述NRF;或者,
若所述AF为非授信域网元,则所述第一信息中的至少一个地址由所述AF发送给网络开放功能网元NEF进行地址转换后,再由所述NEF发送给所述NRF。
在本申请一些可选实施例中,所述装置还包括:
获取单元(图中未示出),用于与第三核心网网元进行交互,获取至少一个终端设备中的每个终端设备被分配的一个或多个地址。
在本申请一些可选实施例中,所述装置还包括发送单元1503;
所述接收单元1501,用于接收第四核心网网元发送的查询请求消息,所述查询请求消息携带第一终端标识;
所述发送单元1503,用于向所述第四核心网网元发送查询请求回复消息,所述查询请求回复消息携带与所述第一终端标识对应的第一地址,所述第一地址为所述第一终端设备与所述AF通信使用的地址。
在本申请一些可选实施例中,所述第一地址携带在所述第四核心网网元发送给所述AF的服务请求消息中,所述第一地址用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
在本申请一些可选实施例中,若所述AF为授信域网元,则所述第一地址直接由所述第四核心网网元发送给所述AF;或者,
若所述AF为非授信域网元,则所述第一地址由所述第四核心网网元发送给NEF进行地址转换后,再由所述NEF发送给所述AF。
在本申请一些可选实施例中,所述装置还包括发送单元1403;
所述发送单元1503,用于向所述AF发送第一指示信息,所述第一指示信息用于指示第一终端标识与第一地址对应。
在本申请一些可选实施例中,所述第一终端标识携带在所述第四核心网网元发送给所述AF的服务请求消息中,所述第一终端标识用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
在本申请一些可选实施例中,所述第一核心网网元为NEF,所述第一信息携带在由所述AF发送给所述NEF的状态通知或更新消息中。
在本申请一些可选实施例中,所述接收单元1501,还用于接收第四核心网网元发送的服务请求消息,所述服务请求消息携带至少一个终端设备中的每个终端设备被分配的一个或多个地址。
在本申请一些可选实施例中,所述第一核心网网元为NWDAF,所述第一信息携带在由所述AF发送给所述NWDAF的状态通知或更新消息中。
在本申请一些可选实施例中,所述装置还包括:
获取单元,用于与第三核心网网元进行交互,获取至少一个终端设备中的每个终端设备被分配的一个或多个地址。
在本申请一些可选实施例中,所述装置还包括发送单元1503;
所述发送单元1503,用于在基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送服务请求消息,所述服务请求消息携带所述第一地址,所述第一地址用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
在本申请一些可选实施例中,所述装置还包括发送单元1503;
所述发送单元1503,用于在基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送第一指示信息,所述第一指示信息用于指示第一终端标识与第一地址对应。
在本申请一些可选实施例中,所述发送单元1503,还用于向所述AF发送服务请求消息,所述服务请求消息携带所述第一终端标识,所述第一终端标识用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
本领域技术人员应当理解,本申请实施例的上述确定终端设备的地址的装置的相关描述可以参照本申请实施例的确定终端设备的地址的方法的相关描述进行理解。
图16是本申请实施例提供的一种通信设备1600示意性结构图。该通信设备可以是网络设备,如上述方案中的第一核心网网元,图16所示的通信设备1600包括处理器1610,处理器1610可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。
可选地,如图16所示,通信设备1600还可以包括存储器1620。其中,处理器1610可以从存储器1620中调用并运行计算机程序,以实现本申请实施例中的方法。
其中,存储器1620可以是独立于处理器1610的一个单独的器件,也可以集成在处理器1610中。
可选地,如图16所示,通信设备1600还可以包括收发器1630,处理器1610可以控制该收发器1630与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。
其中,收发器1630可以包括发射机和接收机。收发器1630还可以进一步包括天线,天线的数量可以为一个或多个。
可选地,该通信设备1600具体可为本申请实施例的网络设备,并且该通信设备1600可以实现本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该通信设备1600具体可为本申请实施例的移动终端/终端设备,并且该通信设备1600可以实现本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。
图17是本申请实施例的芯片的示意性结构图。图17所示的芯片1700包括处理器1710,处理器1710可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。
可选地,如图17所示,芯片1700还可以包括存储器1720。其中,处理器1710可以从存储器1720中调用并运行计算机程序,以实现本申请实施例中的方法。
其中,存储器1720可以是独立于处理器1710的一个单独的器件,也可以集成在处理器1710中。
可选地,该芯片1700还可以包括输入接口1730。其中,处理器1710可以控制该输入接口1730与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。
可选地,该芯片1700还可以包括输出接口1740。其中,处理器1710可以控制该输出接口1740与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。
可选地,该芯片可应用于本申请实施例中的网络设备,并且该芯片可以实现本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该芯片可应用于本申请实施例中的移动终端/终端设备,并且该芯片可以实现本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。
图18是本申请实施例提供的一种通信系统1800的示意性框图。如图18所示,该通信系统1800包括终端设备1810和网络设备1820。
其中,该终端设备1810可以用于实现上述方法中由终端设备实现的相应的功能,以及该网络设备1820可以用于实现上述方法中由网络设备实现的相应的功能为了简洁,在此不再赘述。
应理解,本申请实施例的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、 同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。
可选的,该计算机可读存储介质可应用于本申请实施例中的网络设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该计算机可读存储介质可应用于本申请实施例中的移动终端/终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。
可选的,该计算机程序产品可应用于本申请实施例中的网络设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该计算机程序产品可应用于本申请实施例中的移动终端/终端设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。
本申请实施例还提供了一种计算机程序。
可选的,该计算机程序可应用于本申请实施例中的网络设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。
可选地,该计算机程序可应用于本申请实施例中的移动终端/终端设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,)ROM、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。
Claims (54)
- 一种确定终端设备的地址的方法,所述方法包括:第一核心网网元接收应用功能网元AF发送的第一信息,所述第一信息包括至少一个地址;所述第一核心网网元基于所述第一信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
- 根据权利要求1所述的方法,其中,所述第一核心网网元基于所述第一信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址,包括:所述第一核心网网元基于所述第一信息和第二信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址;其中,所述第二信息包括至少一个终端设备中的每个终端设备被分配的一个或多个地址。
- 根据权利要求2所述的方法,其中,所述至少一个地址包括第一地址;所述第一核心网网元基于所述第一信息和第二信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址,包括:所述第一核心网网元基于所述至少一个终端设备中的每个终端设备被分配的一个或多个地址,确定所述第一地址对应于所述至少一个终端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。
- 根据权利要求2所述的方法,其中,所述至少一个地址包括第一地址;所述第一信息还包括至少一个终端标识;所述第一核心网网元基于所述第一信息和第二信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址,包括:所述第一核心网网元基于所述至少一个终端标识,确定至少一个终端设备中的每个终端设备的分配的一个或多个地址;所述第一核心网网元基于所述至少一个终端设备中的每个终端设备被分配的一个或多个地址,确定所述第一地址对应于所述至少一个终端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。
- 根据权利要求1所述的方法,其中,所述第一核心网网元基于所述第一信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址,包括:所述第一核心网网元确定第二核心网网元,从所述第二核心网网元获取第一对应关系和/或第二对应关系,所述第一对应关系用于确定一个或多个地址中的每个地址对应的终端标识,所述第二对应关系用于确定一个或多个终端标识中的每个终端标识对应的一个或多个地址;所述第一核心网网元基于所述第一对应关系和/或所述第二对应关系,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
- 根据权利要求5所述的方法,其中,所述第一核心网网元确定第二核心网网元,包括:所述第一核心网网元基于所述第一信息中的至少一个地址、所述第一信息中的至少一个终端标识、以及第三信息中的至少之一,确定所述第二核心网网元。
- 根据权利要求6所述的方法,其中,所述第三信息包括以下至少之一:单网络切片选择辅助信息SNSSAI、数据网络名称DNN、网元标识。
- 根据权利要求6或7所述的方法,其中,所述方法还包括:所述第一核心网网元接收所述AF发送的所述第三信息;或者,所述第一核心网网元基于所述AF,确定所述第三信息。
- 根据权利要求1至8中任一项所述的方法,其中,所述第一核心网网元为网络存储功能网元NRF,所述第一信息携带在由所述AF发送给所述NRF的注册请求消息中。
- 根据权利要求9所述的方法,其中,若所述AF为授信域网元,则所述第一信息中的至少一个地址直接由所述AF发送给所述NRF;或者,若所述AF为非授信域网元,则所述第一信息中的至少一个地址由所述AF发送给网络开放功能网元NEF进行地址转换后,再由所述NEF发送给所述NRF。
- 根据权利要求9或10所述的方法,其中,所述方法还包括:所述NRF与第三核心网网元进行交互,获取至少一个终端设备中的每个终端设备被分配的一个或多个地址。
- 根据权利要求9至11中任一项所述的方法,其中,所述方法还包括:所述NRF接收第四核心网网元发送的查询请求消息,所述查询请求消息携带第一终端标识;所述NRF向所述第四核心网网元发送查询请求回复消息,所述查询请求回复消息携带与所述第一终端标识对应的第一地址,所述第一地址为所述第一终端设备与所述AF通信使用的地址。
- 根据权利要求12所述的方法,其中,所述第一地址携带在所述第四核心网网元发送给所述AF的服务请求消息中,所述第一地址用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
- 根据权利要求13所述的方法,其中,若所述AF为授信域网元,则所述第一地址直接由所述第四核心网网元发送给所述AF;或者,若所述AF为非授信域网元,则所述第一地址由所述第四核心网网元发送给NEF进行地址转换后,再由所述NEF发送给所述AF。
- 根据权利要求9至11中任一项所述的方法,其中,所述方法还包括:所述NRF基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送第一指示信息,所述第一指示信息用于指示第一终端标识与第一地址对应。
- 根据权利要求15所述的方法,其中,所述第一终端标识携带在所述第四核心网网元发送给所述AF的服务请求消息中,所述第一终端标识用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
- 根据权利要求1至8中任一项所述的方法,其中,所述第一核心网网元为NEF,所述第一信息携带在由所述AF发送给所述NEF的状态通知或更新消息中。
- 根据权利要求17所述的方法,其中,所述方法还包括:所述NEF接收第四核心网网元发送的服务请求消息,所述服务请求消息携带至少一个终端设备中的每个终端设备被分配的一个或多个地址。
- 根据权利要求18所述的方法,其中,所述方法还包括:所述NEF基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送服务请求消息,所述服务请求消息携带所述第一地址,所述第一地址用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
- 根据权利要求18所述的方法,其中,所述方法还包括:所述NEF基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送第一指示信息,所述第一指示信息用于指示第一终端标识与第一地址对应。
- 根据权利要求20所述的方法,其中,所述方法还包括:所述NEF向所述AF发送服务请求消息,所述服务请求消息携带所述第一终端标识,所述第一终端标识用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
- 根据权利要求1至8中任一项所述的方法,其中,所述第一核心网网元为网络数据分析功能网元NWDAF,所述第一信息携带在由所述AF发送给所述NWDAF的状态通知或更新消息中。
- 根据权利要求22所述的方法,其中,所述方法还包括:所述NWDAF与第三核心网网元进行交互,获取至少一个终端设备中的每个终端设备被分配的一个或多个地址。
- 根据权利要求23所述的方法,其中,所述方法还包括:所述NWDAF基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送服务请求消息,所述服务请求消息携带所述第一地址,所述第一地址用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
- 根据权利要求23所述的方法,其中,所述方法还包括:所述NWDAF基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个 或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送第一指示信息,所述第一指示信息用于指示第一终端标识与第一地址对应。
- 根据权利要求25所述的方法,其中,所述方法还包括:所述NWDAF向所述AF发送服务请求消息,所述服务请求消息携带所述第一终端标识,所述第一终端标识用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
- 一种确定终端设备的地址的装置,应用于第一核心网网元,所述装置包括:接收单元,用于接收AF发送的第一信息,所述第一信息包括至少一个地址;确定单元,用于基于所述第一信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
- 根据权利要求27所述的装置,其中,所述确定单元,用于基于所述第一信息和第二信息,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址;其中,所述第二信息包括至少一个终端设备中的每个终端设备被分配的一个或多个地址。
- 根据权利要求28所述的装置,其中,所述至少一个地址包括第一地址;所述确定单元,用于基于所述至少一个终端设备中的每个终端设备被分配的一个或多个地址,确定所述第一地址对应于所述至少一个终端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。
- 根据权利要求28所述的装置,其中,所述至少一个地址包括第一地址;所述第一信息还包括至少一个终端标识;所述确定单元,用于基于所述至少一个终端标识,确定至少一个终端设备中的每个终端设备被分配的一个或多个地址;所述第一核心网网元基于所述至少一个终端设备中的每个终端设备被分配的一个或多个地址,确定所述第一地址对应于所述至少一个终端设备中的第一终端设备的地址,并确定所述第一终端设备与所述AF通信使用的地址为所述第一地址。
- 根据权利要求27所述的装置,其中,所述确定单元,用于确定第二核心网网元,从所述第二核心网网元获取第一对应关系和/或第二对应关系,所述第一对应关系用于确定一个或多个地址中的每个地址对应的终端标识,所述第二对应关系用于确定一个或多个终端标识中的每个终端标识对应的一个或多个地址;基于所述第一对应关系和/或所述第二对应关系,确定至少一个终端设备中的每个终端设备与所述AF通信使用的地址。
- 根据权利要求31所述的装置,其中,所述确定单元,用于基于所述第一信息中的至少一个地址、所述第一信息中的至少一个终端标识、以及第三信息中的至少之一,确定所述第二核心网网元。
- 根据权利要求32所述的装置,其中,所述第三信息包括以下至少之一:SNSSAI、DNN、网元标识。
- 根据权利要求32或33所述的装置,其中,所述接收单元,还用于接收所述AF发送的所述第三信息;或者,所述确定单元,还用于基于所述AF,确定所述第三信息。
- 根据权利要求27至34中任一项所述的装置,其中,所述第一核心网网元为NRF,所述第一信息携带在由所述AF发送给所述NRF的注册请求消息中。
- 根据权利要求35所述的装置,其中,若所述AF为授信域网元,则所述第一信息中的至少一个地址直接由所述AF发送给所述NRF;或者,若所述AF为非授信域网元,则所述第一信息中的至少一个地址由所述AF发送给网络开放功能网元NEF进行地址转换后,再由所述NEF发送给所述NRF。
- 根据权利要求35或36所述的装置,其中,所述装置还包括:获取单元,用于与第三核心网网元进行交互,获取至少一个终端设备中的每个终端设备被分配的一个或多个地址。
- 根据权利要求35至37中任一项所述的装置,其中,所述装置还包括发送单元;所述接收单元,用于接收第四核心网网元发送的查询请求消息,所述查询请求消息携带第一终端标识;所述发送单元,用于向所述第四核心网网元发送查询请求回复消息,所述查询请求回复消息 携带与所述第一终端标识对应的第一地址,所述第一地址为所述第一终端设备与所述AF通信使用的地址。
- 根据权利要求38所述的装置,其中,所述第一地址携带在所述第四核心网网元发送给所述AF的服务请求消息中,所述第一地址用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
- 根据权利要求39所述的装置,其中,若所述AF为授信域网元,则所述第一地址直接由所述第四核心网网元发送给所述AF;或者,若所述AF为非授信域网元,则所述第一地址由所述第四核心网网元发送给NEF进行地址转换后,再由所述NEF发送给所述AF。
- 根据权利要求35至37中任一项所述的装置,其中,所述装置还包括发送单元;所述发送单元,用于向所述AF发送第一指示信息,所述第一指示信息用于指示第一终端标识与第一地址对应。
- 根据权利要求41所述的装置,其中,所述第一终端标识携带在所述第四核心网网元发送给所述AF的服务请求消息中,所述第一终端标识用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
- 根据权利要求27至34中任一项所述的装置,其中,所述第一核心网网元为NEF,所述第一信息携带在由所述AF发送给所述NEF的状态通知或更新消息中。
- 根据权利要求43所述的装置,其中,所述接收单元,还用于接收第四核心网网元发送的服务请求消息,所述服务请求消息携带至少一个终端设备中的每个终端设备被分配的一个或多个地址。
- 根据权利要求27至34中任一项所述的装置,其中,所述第一核心网网元为NWDAF,所述第一信息携带在由所述AF发送给所述NWDAF的状态通知或更新消息中。
- 根据权利要求45所述的装置,其中,所述装置还包括:获取单元,用于与第三核心网网元进行交互,获取至少一个终端设备中的每个终端设备被分配的一个或多个地址。
- 根据权利要求44或46所述的装置,其中,所述装置还包括发送单元;所述发送单元,用于在基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送服务请求消息,所述服务请求消息携带所述第一地址,所述第一地址用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
- 根据权利要求44或46所述的装置,其中,所述装置还包括发送单元;所述发送单元,用于在基于所述第一信息和所述至少一个终端设备中的每个终端设备被分配的一个或多个地址确定出第一终端设备与所述AF通信使用的地址为第一地址后,向所述AF发送第一指示信息,所述第一指示信息用于指示第一终端标识与第一地址对应。
- 根据权利要求48所述的装置,其中,所述发送单元,还用于向所述AF发送服务请求消息,所述服务请求消息携带所述第一终端标识,所述第一终端标识用于指示所述第一终端设备,所述服务请求消息用于向所述AF请求收集所述第一终端设备的数据。
- 一种网络设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至26中任一项所述的方法。
- 一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至26中任一项所述的方法。
- 一种计算机可读存储介质,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1至26中任一项所述的方法。
- 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至26中任一项所述的方法。
- 一种计算机程序,所述计算机程序使得计算机执行如权利要求1至26中任一项所述的方法。
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/076363 WO2022170518A1 (zh) | 2021-02-09 | 2021-02-09 | 一种确定终端设备的地址的方法及装置、网络设备 |
CN202180077826.6A CN116472740A (zh) | 2021-02-09 | 2021-02-09 | 一种确定终端设备的地址的方法及装置、网络设备 |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2021/076363 WO2022170518A1 (zh) | 2021-02-09 | 2021-02-09 | 一种确定终端设备的地址的方法及装置、网络设备 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022170518A1 true WO2022170518A1 (zh) | 2022-08-18 |
Family
ID=82837420
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/076363 WO2022170518A1 (zh) | 2021-02-09 | 2021-02-09 | 一种确定终端设备的地址的方法及装置、网络设备 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116472740A (zh) |
WO (1) | WO2022170518A1 (zh) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117221396A (zh) * | 2023-10-26 | 2023-12-12 | 深圳市拓普泰尔科技有限公司 | 网络数据交互方法、装置、系统、存储介质和计算机设备 |
WO2024086996A1 (zh) * | 2022-10-24 | 2024-05-02 | Oppo广东移动通信有限公司 | 地址分配方法和设备 |
WO2024087203A1 (zh) * | 2022-10-28 | 2024-05-02 | Oppo广东移动通信有限公司 | 通信方法和设备 |
WO2024164936A1 (zh) * | 2023-02-09 | 2024-08-15 | 维沃移动通信有限公司 | 信息获取方法、装置及通信设备 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300006A (zh) * | 2018-03-21 | 2019-10-01 | 中国移动通信有限公司研究院 | 数据处理方法及装置、功能实体及存储介质 |
US20200092424A1 (en) * | 2018-09-13 | 2020-03-19 | Weihua QIAO | Charging Control with SMF and PCF |
US20200322821A1 (en) * | 2019-04-02 | 2020-10-08 | Electronics And Telecommunications Research Institute | Network data collection method from application function device for network data analytic function |
CN111770207A (zh) * | 2019-03-31 | 2020-10-13 | 华为技术有限公司 | 一种获取终端设备互联网协议ip地址方法、设备及系统 |
-
2021
- 2021-02-09 CN CN202180077826.6A patent/CN116472740A/zh active Pending
- 2021-02-09 WO PCT/CN2021/076363 patent/WO2022170518A1/zh active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110300006A (zh) * | 2018-03-21 | 2019-10-01 | 中国移动通信有限公司研究院 | 数据处理方法及装置、功能实体及存储介质 |
US20200092424A1 (en) * | 2018-09-13 | 2020-03-19 | Weihua QIAO | Charging Control with SMF and PCF |
CN111770207A (zh) * | 2019-03-31 | 2020-10-13 | 华为技术有限公司 | 一种获取终端设备互联网协议ip地址方法、设备及系统 |
US20200322821A1 (en) * | 2019-04-02 | 2020-10-08 | Electronics And Telecommunications Research Institute | Network data collection method from application function device for network data analytic function |
Non-Patent Citations (2)
Title |
---|
OPPO, CONVIDA WIRELESS?: "KI#8, conclusion for KI#8 –eNA", 3GPP DRAFT; S2-2008775, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Elbonia; 20201116 - 20201120, 9 November 2020 (2020-11-09), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051953113 * |
OPPO: "Update to Solution#64 MNO owned Data Collection AF for UE data collection", 3GPP DRAFT; S2-2008934, 3RD GENERATION PARTNERSHIP PROJECT (3GPP), MOBILE COMPETENCE CENTRE ; 650, ROUTE DES LUCIOLES ; F-06921 SOPHIA-ANTIPOLIS CEDEX ; FRANCE, vol. SA WG2, no. Elbonia; 20201116 - 20201120, 9 November 2020 (2020-11-09), Mobile Competence Centre ; 650, route des Lucioles ; F-06921 Sophia-Antipolis Cedex ; France , XP051953250 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024086996A1 (zh) * | 2022-10-24 | 2024-05-02 | Oppo广东移动通信有限公司 | 地址分配方法和设备 |
WO2024087203A1 (zh) * | 2022-10-28 | 2024-05-02 | Oppo广东移动通信有限公司 | 通信方法和设备 |
WO2024164936A1 (zh) * | 2023-02-09 | 2024-08-15 | 维沃移动通信有限公司 | 信息获取方法、装置及通信设备 |
CN117221396A (zh) * | 2023-10-26 | 2023-12-12 | 深圳市拓普泰尔科技有限公司 | 网络数据交互方法、装置、系统、存储介质和计算机设备 |
Also Published As
Publication number | Publication date |
---|---|
CN116472740A (zh) | 2023-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022170518A1 (zh) | 一种确定终端设备的地址的方法及装置、网络设备 | |
EP4383779A1 (en) | Method and apparatus for obtaining edge service | |
CN109997334B (zh) | 具有用于3gpp网络中物联网应用的间接连接的中继和收费的会话管理 | |
CN114287142B (zh) | 一种通信方法及装置、网络设备、终端设备 | |
WO2023280121A1 (zh) | 一种获取边缘服务的方法和装置 | |
CN113841432A (zh) | 用于提供与终端的连接以便使用边缘计算服务的方法和设备 | |
US12058139B2 (en) | Method for implementing user plane security policy, apparatus, and system | |
EP3949354B1 (en) | Method and apparatus for service discovery | |
JP2022544488A (ja) | ネットワーク機能サービスディスカバリのための方法および装置 | |
US11895083B2 (en) | Address obtaining method and an address obtaining apparatus | |
WO2022222817A1 (zh) | 一种边缘应用服务器的选择方法及装置 | |
WO2023124457A1 (zh) | 选择网络的方法和装置 | |
CN113439459B (zh) | 用于代理部署的方法和装置 | |
CN113595911B (zh) | 数据转发方法、装置、电子设备及存储介质 | |
WO2023134323A1 (zh) | 终端路由选择策略检测方法及相关设备、存储介质、程序产品 | |
WO2022206683A1 (zh) | 无线通信的方法和装置 | |
CN109076381B (zh) | 业务数据流发送方法及装置 | |
WO2022198497A1 (zh) | 一种定位方法、装置和系统 | |
WO2022067538A1 (zh) | 网元发现方法、装置、设备及存储介质 | |
WO2022067736A1 (zh) | 一种通信方法及装置 | |
WO2023160390A1 (zh) | 通信方法与装置 | |
WO2023143212A1 (zh) | 一种通信方法及装置 | |
US20240323824A1 (en) | Apparatus, methods, and computer programs | |
EP4311280A1 (en) | Communication method and device | |
WO2023078126A1 (zh) | 一种寻址方法、装置及设备 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
WWE | Wipo information: entry into national phase |
Ref document number: 202180077826.6 Country of ref document: CN |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21925184 Country of ref document: EP Kind code of ref document: A1 |