CN116566950A - IP address determining method and device, identification determining method and device and network element - Google Patents
IP address determining method and device, identification determining method and device and network element Download PDFInfo
- Publication number
- CN116566950A CN116566950A CN202210108268.1A CN202210108268A CN116566950A CN 116566950 A CN116566950 A CN 116566950A CN 202210108268 A CN202210108268 A CN 202210108268A CN 116566950 A CN116566950 A CN 116566950A
- Authority
- CN
- China
- Prior art keywords
- address
- network element
- target
- identifier
- segment
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
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/50—Address allocation
-
- 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/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
-
- 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/50—Address allocation
- H04L61/5053—Lease time; Renewal aspects
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
The application discloses an IP address determining method and device, an identification determining method and device and a network element, which belong to the technical field of communication, wherein the IP address determining method comprises the following steps: the first network element obtains a target identifier, obtains first information and determines a target IP address or an IP address segment; the first information comprises at least one of a first mapping relation, a first IP address or an IP address segment; the first IP address or the IP address segment corresponds to the target identifier, and the first mapping relation characterizes the corresponding relation; the identification determining method comprises the following steps: the first network element obtains a target IP address or an IP address segment, obtains second information and determines a target identifier; the second information comprises a second mapping relation and/or a first identifier; the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation characterizes the corresponding relation; the target IP address or IP address field is used to indicate the location visited by the target terminal, and the target identifier is used to indicate the network element that passes through during the visit.
Description
Technical Field
The application belongs to the technical field of communication, and particularly relates to an IP address determining method and device, an identification determining method and device and a network element.
Background
Traffic of the terminal may be exported from a user plane function (User Plane Function, UPF) or protocol Data unit (Protocol Data Unit, PDU) session anchor (PDU Session Anchor, PSA), accessing a location in a Data Network (DN), such as an application server in the Data Network.
When the data network accessed by the terminal is changed, the previous accessed position is not optimal for the terminal, but it is not clear how to determine the optimal position under the current data network, and at the same time, in the case of determining the position to be accessed, it is not clear how to determine the network element that the terminal needs to pass when accessing the target IP address or the IP address segment under the target data network, so that the terminal cannot update the accessed position to the optimal position after the data network accessed by the terminal is changed.
Disclosure of Invention
The embodiment of the application provides an IP address determining method and device, an identification determining method and device and a network element, which can solve the problem that a terminal cannot update an accessed position to an optimal position after a data network accessed by the terminal is changed at present.
In a first aspect, there is provided an IP address determining method, the method including:
The first network element obtains a target identifier;
the first network element obtains first information;
the first network element determines a target IP address or an IP address segment based on the first information;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to the target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a second aspect, there is provided an IP address determining method, the method including:
the second network element sends first information to the first network element;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or the IP address field includes or is equal to the target IP address or the IP address field, where the target IP address or the IP address field is used to indicate an IP address or an IP address field accessed by a target terminal served by the first network element, and the target identifier is used to indicate a network element that needs to pass when the target terminal accesses the target IP address or the IP address field.
In a third aspect, there is provided an IP address determining method, the method including:
the third network element receives a second request sent by a second network element, wherein the second request comprises a target identifier;
the third network element determines first information based on the second request;
the third network element sends the first information to the second network element;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to a target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a fourth aspect, there is provided an identification determining method, the method comprising:
the first network element obtains a target IP address or an IP address segment;
The first network element obtains second information;
the first network element determines a target identifier based on the second information;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to the target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a fifth aspect, there is provided an identification determining method, the method comprising:
the second network element sends second information to the first network element; wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a sixth aspect, there is provided an identification determining method, the method comprising:
the third network element receives a second request sent by a second network element, wherein the second request comprises a target IP address or an IP address segment;
the third network element determines second information based on the second request;
the third network element sends the second information to the second network element;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a seventh aspect, there is provided an IP address determining apparatus comprising:
the first acquisition module is used for acquiring a target identifier;
the second acquisition module is used for acquiring the first information;
The first determining module is used for determining a target IP address or an IP address segment based on the first information;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to the target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
An eighth aspect provides an IP address determining apparatus, comprising:
the first sending module is used for sending first information to the first network element; wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or the IP address field includes or is equal to the target IP address or the IP address field, where the target IP address or the IP address field is used to indicate an IP address or an IP address field accessed by a target terminal served by the first network element, and the target identifier is used to indicate a network element that needs to pass when the target terminal accesses the target IP address or the IP address field.
A ninth aspect provides an IP address determining apparatus, comprising:
the first receiving module is used for receiving a second request sent by a second network element, wherein the second request comprises a target identifier;
a second determining module configured to determine first information based on the second request;
a second sending module, configured to send the first information to the second network element;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier;
the first IP address or IP address segment comprises or is equal to a target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a tenth aspect, there is provided an identification determining apparatus comprising:
the third acquisition module is used for acquiring a target IP address or an IP address segment;
A fourth acquisition module for acquiring second information;
a third determining module, configured to determine a target identifier based on the second information;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to the target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In an eleventh aspect, there is provided an identification determining apparatus comprising:
a third sending module, configured to send second information to the first network element; wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a twelfth aspect, there is provided an identification determining apparatus comprising:
a second receiving module, configured to receive a second request sent by a second network element, where the second request includes a target IP address or an IP address field;
a fourth determining module configured to determine second information based on the second request;
a fourth sending module, configured to send the second information to the second network element;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a thirteenth aspect, there is provided a first network element comprising a processor and a memory storing a program or instructions executable on said processor, said program or instructions implementing the steps of the method according to the first aspect when executed by said processor.
In a fourteenth aspect, a first network element is provided, including a processor and a communication interface, where the processor is configured to:
obtaining a target identifier;
obtaining first information;
determining a target IP address or an IP address segment based on the first information; wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to the target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a fifteenth aspect, there is provided a second network element comprising a processor and a memory storing programs or instructions executable on the processor, which when executed by the processor implement the steps of the method as described in the second aspect.
In a sixteenth aspect, a second network element is provided, comprising a processor and a communication interface, wherein the communication interface is configured to:
transmitting first information to a first network element; wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or the IP address field includes or is equal to the target IP address or the IP address field, where the target IP address or the IP address field is used to indicate an IP address or an IP address field accessed by a target terminal served by the first network element, and the target identifier is used to indicate a network element that needs to pass when the target terminal accesses the target IP address or the IP address field.
In a seventeenth aspect, there is provided a third network element comprising a processor and a memory storing a program or instructions executable on the processor, which program or instructions when executed by the processor implement the steps of the method as described in the third aspect.
An eighteenth aspect provides a third network element, including a processor and a communication interface, where the communication interface is configured to:
receiving a second request sent by a second network element, wherein the second request comprises a target identifier;
the processor is configured to: determining first information based on the second request;
the communication interface is further for: transmitting the first information to the second network element;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to a target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a nineteenth aspect, there is provided a first network element comprising a processor and a memory storing a program or instructions executable on the processor, which program or instructions when executed by the processor implement the steps of the method according to the fourth aspect.
In a twentieth aspect, a first network element is provided, including a processor and a communication interface, where the processor is configured to:
obtaining a target IP address or an IP address segment;
obtaining second information;
determining a target identification based on the second information;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to the target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a twenty-first aspect, there is provided a second network element comprising a processor and a memory storing a program or instructions executable on said processor, said program or instructions implementing the steps of the method according to the fifth aspect when executed by said processor.
In a twenty-second aspect, a second network element is provided, including a processor and a communication interface, where the communication interface is configured to:
sending second information to the first network element; wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a twenty-third aspect, there is provided a third network element comprising a processor and a memory storing a program or instructions executable on the processor, which program or instructions when executed by the processor implement the steps of the method as described in the sixth aspect.
A twenty-fourth aspect provides a third network element, including a processor and a communication interface, where the communication interface is configured to:
Receiving a second request sent by a second network element, wherein the second request comprises a target IP address or an IP address segment;
the processor is used for: determining second information based on the second request;
the communication interface is also for: transmitting the second information to the second network element;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In a twenty-fifth aspect, there is provided an IP address determining system, comprising: a first network element operable to perform the steps of the IP address determination method as described in the first aspect, a second network element operable to perform the steps of the IP address determination method as described in the second aspect, and a third network element operable to perform the steps of the IP address determination method as described in the third aspect.
In a twenty-sixth aspect, there is provided an identification determination system comprising: a first network element operable to perform the steps of the identity determination method as described in the fourth aspect, a second network element operable to perform the steps of the identity determination method as described in the fifth aspect, and a third network element operable to perform the steps of the identity determination method as described in the sixth aspect.
In a twenty-seventh aspect, there is provided a readable storage medium having stored thereon a program or instructions which when executed by a processor, perform the steps of the method as described in the first aspect, or perform the steps of the method as described in the second aspect, or perform the steps of the method as described in the third aspect, or perform the steps of the method as described in the fourth aspect, or perform the steps of the method as described in the fifth aspect, or perform the steps of the method as described in the sixth aspect.
In a twenty-eighth aspect, there is provided a chip comprising a processor and a communication interface, the communication interface and the processor being coupled, the processor being adapted to run a program or instructions, to implement the method according to the first aspect, or to implement the method according to the second aspect, or to implement the method according to the third aspect, or to implement the method according to the fourth aspect, or to implement the method according to the fifth aspect, or to implement the method according to the sixth aspect.
In a twenty-ninth aspect, there is provided a computer program/program product stored in a storage medium, the computer program/program product being executable by at least one processor to perform the steps of the IP address determination method as described in the first aspect, or to perform the steps of the IP address determination method as described in the second aspect, or to perform the steps of the IP address determination method as described in the third aspect, or to perform the steps of the identification determination method as described in the fourth aspect, or to perform the steps of the identification determination method as described in the fifth aspect, or to perform the steps of the identification determination method as described in the sixth aspect.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier can be determined after the target identifier is obtained, and then the optimal IP address or the optimal IP address segment which can be accessed by the target terminal is determined, so that the target terminal can be ensured to be capable of re-determining the optimal access position under the current data network based on the target identifier after the data network accessed by the target terminal is changed.
Drawings
Fig. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable;
fig. 2 is one of flow diagrams of an IP address determining method provided in an embodiment of the present application;
fig. 3 shows a schematic diagram of a terminal access data network according to an embodiment of the present application;
FIG. 4 is a second flowchart of an IP address determination method according to an embodiment of the present disclosure;
fig. 5 is a third flowchart of an IP address determining method according to an embodiment of the present disclosure;
fig. 6 is a flowchart of an IP address determining method according to an embodiment of the present application;
FIG. 7 is a schematic flow chart of a method for determining an identifier according to an embodiment of the present application;
FIG. 8 is a second flowchart of a method for determining an identifier according to an embodiment of the present application;
FIG. 9 is a third flow chart of a method for determining an identifier according to an embodiment of the present application;
FIG. 10 is a flowchart of a method for determining an identifier according to an embodiment of the present application;
fig. 11 is one of schematic structural diagrams of an IP address determining apparatus provided in the embodiment of the present application;
fig. 12 is a second schematic structural diagram of an IP address determining apparatus according to an embodiment of the present disclosure;
fig. 13 is a third schematic structural diagram of an IP address determining apparatus according to an embodiment of the present disclosure;
FIG. 14 is one of schematic structural diagrams of an identification determining apparatus provided in an embodiment of the present application;
FIG. 15 is a second schematic structural view of an identification determining apparatus according to an embodiment of the present application;
FIG. 16 is a third schematic diagram of a configuration of an identification determining apparatus provided in an embodiment of the present application;
fig. 17 is one of schematic structural diagrams of a communication device provided in an embodiment of the present application;
fig. 18 is a second schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 19 is one of structural diagrams of a first network element implementing an embodiment of the present application;
fig. 20 is one of schematic structural diagrams of a second network element implementing an embodiment of the present application;
fig. 21 is one of structural diagrams of a third network element implementing an embodiment of the present application;
fig. 22 is a second schematic structural diagram of a first network element implementing an embodiment of the present application;
fig. 23 is a second schematic structural diagram of a second network element implementing an embodiment of the present application;
fig. 24 is a second schematic structural diagram of a third network element according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the terms "first" and "second" are generally intended to be used in a generic sense and not to limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/" generally means a relationship in which the associated object is an "or" before and after.
It is noted that the techniques described in embodiments of the present application are not limited to Long Term evolution (Long Term EvoThe solution, LTE)/LTE evolution (LTE-Advanced, LTE-a) system may also be used in other wireless communication systems, such as code division multiple access (Code Division Multiple Access, CDMA), time division multiple access (Time Division Multiple Access, TDMA), frequency division multiple access (Frequency Division Multiple Access, FDMA), orthogonal frequency division multiple access (Orthogonal Frequency Division Multiple Access, OFDMA), single-carrier frequency division multiple access (SC-carrier Frequency Division Multiple Access, FDMA), and other systems. The terms "system" and "network" in embodiments of the present application are often used interchangeably, and the techniques described may be used for both the above-mentioned systems and radio technologies, as well as other systems and radio technologies. The following description describes a New air interface (NR) system for purposes of example and uses NR terminology in much of the description that follows, but these techniques are also applicable to applications other than NR system applications, such as generation 6 (6) th Generation, 6G) communication system.
Fig. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable. The wireless communication system includes a terminal 11 and a network device 12. The terminal 11 may be a mobile phone, a tablet (Tablet Personal Computer), a Laptop (Laptop Computer) or a terminal-side Device called a notebook, a personal digital assistant (Personal Digital Assistant, PDA), a palm top, a netbook, an ultra-mobile personal Computer (ultra-mobile personal Computer, UMPC), a mobile internet appliance (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) Device, a robot, a Wearable Device (weather Device), a vehicle-mounted Device (VUE), a pedestrian terminal (PUE), a smart home (home Device with a wireless communication function, such as a refrigerator, a television, a washing machine, or a furniture), a game machine, a personal Computer (personal Computer, PC), a teller machine, or a self-service machine, and the Wearable Device includes: intelligent wrist-watch, intelligent bracelet, intelligent earphone, intelligent glasses, intelligent ornament (intelligent bracelet, intelligent ring, intelligent necklace, intelligent anklet, intelligent foot chain etc.), intelligent wrist strap, intelligent clothing etc.. Note that, the specific type of the terminal 11 is not limited in the embodiment of the present application. The network-side device 12 may comprise an access network device or a core network device, wherein the access network device 12 may also be referred to as a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or a radio access network element. Access network device 12 may include a base station, a WLAN access point, a WiFi node, or the like, which may be referred to as a node B, an evolved node B (eNB), an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a home node B, a home evolved node B, a transmission and reception point (Transmitting Receiving Point, TRP), or some other suitable terminology in the art, and the base station is not limited to a particular technical vocabulary so long as the same technical effect is achieved, and it should be noted that in the embodiments of the present application, only a base station in an NR system is described as an example, and the specific type of the base station is not limited. The core network device may include, but is not limited to, at least one of: core network nodes, core network functions, mobility management entities (Mobility Management Entity, MME), access mobility management functions (Access and Mobility Management Function, AMF), session management functions (Session Management Function, SMF), user plane functions (User Plane Function, UPF), policy control functions (Policy Control Function, PCF), policy and charging rules function units (Policy and Charging Rules Function, PCRF), edge application service discovery functions (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data repository (Unified Data Repository, UDR), home subscriber server (Home Subscriber Server, HSS), centralized network configuration (Centralized network configuration, CNC), network storage functions (Network Repository Function, NRF), network opening functions (Network Exposure Function, NEF), local NEF (or L-NEF), binding support functions (Binding Support Function, BSF), application functions (Application Function, AF), and the like. In the embodiment of the present application, only the core network device in the NR system is described as an example, and the specific type of the core network device is not limited.
The method and apparatus for determining an IP address, the method and apparatus for determining an identifier, and the network element provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through some embodiments and application scenarios thereof.
Fig. 2 is one of flow diagrams of an IP address determining method provided in an embodiment of the present application; as shown in fig. 2, the method includes the following steps 200 to 220:
step 200, a first network element obtains a target identifier;
step 210, the first network element obtains first information;
step 220, the first network element determines a target IP address or an IP address segment based on the first information;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to the target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
Alternatively, the first network element may be one or more network functions;
optionally, the first network element may be an application function (Application Function, AF);
optionally, the first information may include one or more of:
a first mapping relationship; or (b)
A first IP address or IP address field;
optionally, a correspondence between the first IP address or the IP address segment and the destination identifier may be defined, so that the first network element may determine, based on the destination identifier, the first IP address or the IP address segment corresponding to the destination identifier;
optionally, a correspondence between the first IP address or the IP address segment and the target identifier may be defined, so that the first network element may determine, based on the target identifier, a correspondence between the first IP address or the IP address segment and the target identifier, that is, a first mapping relationship;
optionally, a correspondence between the first IP address or the IP address segment and the target identifier may be defined, so that the first network element may obtain, based on the target identifier, a correspondence between the first IP address or the IP address segment and the target identifier, that is, a first mapping relationship, and the first IP address or the IP address segment;
optionally, after the first mapping relation is obtained, when determining the target IP address or the IP address segment based on the first information, the first IP address or the IP address segment may be obtained first based on the first mapping relation and the target identifier, and then the target IP address or the IP address segment may be determined based on the first IP address or the IP address segment;
Optionally, after determining the first IP address or the IP address segment corresponding to the destination identifier, that is, when determining the destination IP address or the IP address segment based on the first IP address or the IP address segment, the first IP address or the IP address segment may be determined as the destination IP address or the IP address segment;
for example, taking the first network element as AF, the target identifier is DNAI, where dnai=1, the corresponding first IP address is ip=10.1.1.1, and in the EAS server IP addresses (i.e., candidate IP addresses accessible to the target terminal) candidate for AF, there is just EAS server IP address=10.1.1.1, which accords with the range of the first IP address or address segment, the server may be selected to provide services for the terminal.
Alternatively, after determining all the first IP addresses or IP address segments corresponding to the destination identifier, that is, when determining the destination IP address or IP address segment based on the first IP address or IP address segment, a portion of the first IP address or IP address segment may be determined as the destination IP address or IP address segment therefrom;
for example, taking the first network element as AF, the target identifier is DNAI, where dnai=1, and the corresponding first IP address segment is ip= 10.1.0.0 to 10.1.255.255, the AF may select the IP address of EAS according to the first IP address or address segment. For example, if 10.1.1.1 of the EAS server IP addresses candidate for AF match the range of the first IP address or address field, the server may be selected to provide service to the terminal. Whereas, of the EAS server IP addresses candidate by the AF (i.e., candidate IP addresses accessible to the target terminal), 100.1.1.1 does not fit within the range of the first IP address or address field, the AF may find that the address is not the target IP address from the first IP address or address field, and thus may not determine it as the target IP address or IP address field.
Optionally, after determining the target IP address or the IP address segment, the traffic of the terminal may access the location indicated by the target IP address or the IP address segment in the data network through the network element exit indicated by the target identifier.
For example, taking the destination identifier as DNAI as an example, the first network element (e.g. AF) obtains the first information by sending the destination identifier, e.g. dnai=1, to the core network. The first information may be: 10.1.1.1 or 10.1.X.X, the two IP addresses or IP address fields correspond to the target identifier; the first information may be: dnai=1→10.1.X.x, i.e. the mapping of said dnai=1 to the first IP address or IP address fragment.
After the AF determines the first IP address or address fragment, the AF may select a target IP address or IP address fragment that corresponds to the server accessed or accessed by the target terminal according to the IP address range. For example, the AF selects a server of 10.1.1.1 as the target EAS to be accessed by the UE; without selecting the server of 100.10.2.1.
Optionally, after the first network element determines the first IP address or the address segment, the AF may select, according to this IP address range, a target IP address or an IP address segment that corresponds to a server accessed or accessed by the target terminal, and may determine, from candidate IP addresses accessible by the target terminal, a target IP address or an IP address segment that belongs to the first IP address or the IP address segment.
Wherein the candidate IP address accessible to the target terminal is known to the first network element.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier can be determined after the target identifier is obtained, and then the optimal IP address or the optimal IP address segment which can be accessed by the target terminal is determined, so that the target terminal can be ensured to be capable of re-determining the optimal access position under the current data network based on the target identifier after the data network accessed by the target terminal is changed.
Optionally, the target IP address or IP address segment includes any one or more of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred;
the target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN; or (b)
The IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal;
an IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location to which the service server accessed by the target terminal is to be migrated;
optionally, the destination IP address or IP address field may include an IP address or IP address field corresponding to a location of the DN of the data network to be accessed by the destination terminal;
alternatively, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location of a service server to be accessed by the target terminal;
optionally, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a first target identity, the first target identity being associated with the target terminal; that is, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a network element where the target terminal is located (a network element indicated by the target identifier);
optionally, the target IP address or IP address fragment includes at least one of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred; or (b)
The target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN; or (b)
The IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target identifier includes any one or more of the following:
a data network access identifier DNAI; or (b)
An external DNAI.
Optionally, the target identity may comprise a data network access identifier DNAI;
alternatively, the traffic of the target terminal may be exported from the user plane function entity (User Plane Function, UPF)/PDU session anchor (PDU Session Anchor, PSA), access the DN, access the application server in the DN. The DNAI identifier can be used to characterize: when the target terminal accesses a certain server and accesses a certain DN, it is by which UPF/PSA, i.e. by using this identifier DNAI, that UPF/PSA (Identifier of a user plane access to one or more DN(s) where applications are deployed) is identified.
Optionally, an external DNAI (external DNAI) may be defined, so as to avoid that the parameter DNAI used inside the core network is opened for the third party AF to use;
alternatively, the external DNAIs may correspond one-to-one to the data network access identifiers DNAIs (which may also be referred to as internal DNAIs); the external DNAI is used outside the core network and the internal DNAI is used inside the core network.
Alternatively, a one-to-one correspondence between external DNAI and internal DNAI is known.
Alternatively, the network element indicated by the external DNAI may be: a network element indicated by an internal DNAI corresponding to the external DNAI;
optionally, the target identification may include an external DNAI (external DNAI);
for example, in one embodiment, the target identifier may be DNAI, or external DNAI. The DNAI and the external DNAI may have a mapping relationship, and the external DNAI may be used by the untrusted AF, and the DNAI may be used internally by the 5G core network.
In one embodiment, fig. 3 is a schematic diagram of a terminal access data network provided in the embodiment of the present application, as shown in fig. 3, taking a first network element as AF, a target IP address or an IP address field including an IP address or an IP address field corresponding to a location of a service server to be accessed by the target terminal, and a target identifier including DNAI as an example, the target terminal may access an EAS1 server in dn=a through PSA 1. But because the target terminal moves, it is caused to move to a new location, and dn=a is not suitable for the target terminal to access because dn=a is far from both the route and distance level. Therefore, the target terminal movement may cause the user plane to switch from psa=1 to psa=2, and the accessed DN may also change from dn=a to dn=b.
Therefore, the service server EAS1 is also not the optimal access location after the DN accessed by the target terminal has changed. The service server EAS1 may become EAS2, and the first network element AF may acquire the target identifier, i.e. the current DNAI (DNAI corresponding to PSA 2), and determine an EAS2 server IP address corresponding to the current DNAI as the service server.
Optionally, the first network element obtains the target identifier, including:
the first network element receives the target identifier sent by the second network element.
Alternatively, the second network element may be some network function or functions of the core network;
alternatively, the second network element may be a NEF;
optionally, the first network element may receive a target identifier sent by the second network element, where the target identifier may enable the first network element to learn that an IP address or an IP address segment accessed by the target terminal may change;
alternatively, the target identifier sent by the second network element may come from the second network element itself, or may come from one or more network functions of the core network, such as SMF, that is, the SMF may forward the target identifier to the first network element through the second network element.
Optionally, the first network element may further obtain a target identifier from the SMF, where the target identifier may enable the first network element to learn that an IP address or an IP address segment visited by the target terminal may change.
For example, the first network element may obtain a DNAI from the second network element, which DNAI may make the first network element aware of: the mobility of the anchor point of the PDU session may be caused by the movement of the UE, which may cause the migration of the EAS server accessed by the target terminal;
for example, taking the first network element as the AF, the AF may obtain a target identifier (target DNAI, or target external DNAI) from the NEF or the SMF, where the target identifier is used to indicate to the AF, and the mobility of the target terminal may cause the mobility of the anchor point of the PDU session, which may cause the mobility of the EAS server.
Alternatively, when the first network element obtains the target identifier from the second network element, the target identifier may be obtained through signaling nnef_trafficinfluence_notify.
Optionally, the first network element obtains first information, including:
the first network element sends a first request to the second network element, wherein the first request comprises the target identifier;
the first network element receives the first information sent by the second network element based on the first request.
Optionally, the core network (such as the second network element therein) may provide a corresponding first IP address or IP address range based on the data network access identifier (Data Network Access Identifier, DNAI);
Optionally, the first network element may enable the core network to provide a first IP address or an IP address segment of the area corresponding to the DNAI through the DNAI;
optionally, the core network (such as the second network element therein) may provide a corresponding first IP address or IP address range according to the external DNAI;
optionally, the first network element may enable the core network to provide a first IP address or an IP address segment of the area corresponding to the external DNAI through the external DNAI;
alternatively, the first network element may enable the core network to provide the first IP address or the IP address segment of the area corresponding to the internal DNAI corresponding to the external DNAI through the external DNAI.
Optionally, in order to obtain the first IP address or the IP address segment corresponding to the target identifier, the first network element may send a first request to the second network element, where the first request may include the target identifier, which indicates that the first network element needs to obtain the first IP address or the IP address segment corresponding to the target identifier;
optionally, after the second network element receives the first request, the second network element may acquire a first IP address or an IP address segment corresponding to the target identifier based on the first request;
optionally, after the second network element obtains the first IP address or the IP address segment corresponding to the target identifier, the second network element may send the first IP address or the IP address segment corresponding to the target identifier to the first network element;
Optionally, the first network element may receive the first IP address or the IP address segment sent by the second network element based on the first request.
Optionally, the core network (such as the second network element therein) may provide a first mapping relationship according to a data network access identifier (Data Network Access Identifier, DNAI), where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the target identifier;
optionally, the first network element may enable the core network to provide a first mapping relationship through DNAI, where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the DNAI;
optionally, the core network (such as the second network element therein) may provide a first mapping relationship according to an external DNAI, where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the external DNAI;
optionally, the first network element may enable the core network to provide a first mapping relationship through the external DNAI, where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the internal DNAI, and a one-to-one correspondence between the external DNAI and the internal DNAI is known.
Optionally, in order to obtain the first mapping relationship, the first network element may send a first request to the second network element, where the first request may include a target identifier, which indicates that the first network element needs to obtain the first mapping relationship including the target identifier;
optionally, after the second network element receives the first request, the first mapping relationship may be obtained based on the first request;
optionally, after the second network element obtains the first mapping relationship, the second network element may send the first mapping relationship to the first network element;
optionally, the first network element may receive the first mapping relationship sent by the second network element based on the first request.
Optionally, the first network element obtains first information, including:
and the first network element receives the first information when receiving the target identifier.
Optionally, the core network (such as the second network element therein) may directly provide the corresponding first IP address or IP address range according to the data network access identifier (Data Network Access Identifier, DNAI) when providing the destination identification;
optionally, the core network (such as the second network element therein) may directly provide the corresponding first IP address or IP address range according to the external DNAI when providing the destination identifier;
Optionally, when providing the target identifier, the core network (such as the second network element therein) may directly provide a first mapping relationship according to the data network access identifier (Data Network Access Identifier, DNAI), where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the target identifier;
optionally, when the core network (such as the second network element in the core network) provides the target identifier, directly providing a first mapping relationship according to the external DNAI, where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the external DNAI;
alternatively, the first network element may receive the first IP address or the IP address range upon receiving the destination identification.
In the embodiment of the application, the signaling interaction can be further reduced on the basis that the target terminal can redetermine the optimal access position under the current data network based on the target identifier, and the implementation is simple.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier can be determined after the target identifier is obtained, and then the optimal IP address or the optimal IP address segment which can be accessed by the target terminal is determined, so that the target terminal can be ensured to be capable of re-determining the optimal access position under the current data network based on the target identifier after the data network accessed by the target terminal is changed.
FIG. 4 is a second flowchart of an IP address determination method according to an embodiment of the present disclosure; as shown in fig. 4, the method includes the following step 400:
step 400, the second network element sends first information to the first network element;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or the IP address field includes or is equal to the target IP address or the IP address field, where the target IP address or the IP address field is used to indicate an IP address or an IP address field accessed by a target terminal served by the first network element, and the target identifier is used to indicate a network element that needs to pass when the target terminal accesses the target IP address or the IP address field.
Alternatively, the second network element may be one or more network functions;
optionally, the second network element may be a network open function (Network Exposure Function, NEF);
optionally, a correspondence between the first IP address or the IP address segment and the target identifier may be defined, and the second network element may send the first IP address or the IP address segment to the first network element, so that the first network element may determine, based on the target identifier, the first IP address or the IP address segment corresponding to the target identifier;
Optionally, a correspondence between the first IP address or the IP address segment and the target identifier may be defined, and the second network element may send the first mapping relationship to the first network element, so that the first network element may determine the correspondence between the first IP address or the IP address segment and the target identifier, that is, the first mapping relationship;
optionally, a corresponding relationship between the first IP address or the IP address segment and the target identifier may be defined, and the second network element may send the first mapping relationship and the first IP address or the IP address segment to the first network element; so that the first network element can obtain the corresponding relation between the first IP address or the IP address segment and the target identifier, that is, the first mapping relation, and the first IP address or the IP address segment based on the target identifier.
Optionally, after the first network element obtains the first mapping relation, when determining the target IP address or the IP address segment based on the first information, the first network element may first obtain the first IP address or the IP address segment based on the first mapping relation and the target identifier, and then determine the target IP address or the IP address segment based on the first IP address or the IP address segment;
optionally, after determining the first IP address or the IP address segment corresponding to the target identifier, that is, when determining the target IP address or the IP address segment based on the first IP address or the IP address segment, the first network element may determine that the first IP address or the IP address segment is the target IP address or the IP address segment;
For example, taking the first network element as AF, the target identifier is DNAI, where dnai=1, the corresponding first IP address is ip=10.1.1.1, and in the EAS server IP addresses (i.e., candidate IP addresses accessible to the target terminal) candidate for AF, there is just EAS server IP address=10.1.1.1, which accords with the range of the first IP address or address segment, the server may be selected to provide services for the terminal.
Optionally, after determining all the first IP addresses or IP address segments corresponding to the destination identifier, that is, when determining the destination IP address or IP address segment based on the first IP address or IP address segment, the first network element may determine a portion of the first IP address or IP address segment as the destination IP address or IP address segment from the first network element;
for example, taking the first network element as AF, the target identifier is DNAI, where dnai=1, and the corresponding first IP address segment is ip= 10.1.0.0 to 10.1.255.255, the AF may select the IP address of EAS according to the first IP address or address segment. For example, if 10.1.1.1 of the EAS server IP addresses candidate for AF match the range of the first IP address or address field, the server may be selected to provide service to the terminal. Whereas, of the EAS server IP addresses candidate by the AF (i.e., candidate IP addresses accessible to the target terminal), 100.1.1.1 does not fit within the range of the first IP address or address field, the AF may find that the address is not the target IP address from the first IP address or address field, and thus may not determine it as the target IP address or IP address field.
Optionally, after determining the target IP address or the IP address segment, the first network element may access the location indicated by the target IP address or the IP address segment in the data network through the network element exit indicated by the target identifier.
For example, taking the destination identifier as DNAI as an example, the first network element (e.g. AF) obtains the first information by sending the destination identifier, e.g. dnai=1, to the core network. The first information may be: 10.1.1.1 or 10.1.X.X, the two IP addresses or IP address fields correspond to the target identifier; the first information may be: dnai=1→10.1.X.x, i.e. the mapping of said dnai=1 to the first IP address or IP address fragment.
After the AF determines the first IP address or address fragment, the AF may select a target IP address or IP address fragment that corresponds to the server accessed or accessed by the target terminal according to the IP address range. For example, the AF selects a server of 10.1.1.1 as the target EAS to be accessed by the UE; without selecting the server of 100.10.2.1.
Optionally, after the first network element determines the first IP address or the address segment, the AF may select, according to this IP address range, a target IP address or an IP address segment that corresponds to a server accessed or accessed by the target terminal, and may determine, from candidate IP addresses accessible by the target terminal, a target IP address or an IP address segment that belongs to the first IP address or the IP address segment.
Wherein the candidate IP address accessible to the target terminal is known to the first network element.
Optionally, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location to which the service server accessed by the target terminal is to be migrated;
optionally, the destination IP address or IP address field may include an IP address or IP address field corresponding to a location of the DN of the data network to be accessed by the destination terminal;
alternatively, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location of a service server to be accessed by the target terminal;
optionally, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a first target identity, the first target identity being associated with the target terminal; that is, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a network element where the target terminal is located (a network element indicated by the target identifier);
optionally, the target IP address or IP address fragment includes at least one of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred; or (b)
The target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN; or (b)
The IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target identity may comprise a data network access identifier DNAI;
alternatively, the traffic of the target terminal may access the DN from the UPF/PSA outlet to access the application server in the DN. The DNAI identifier can be used to characterize: when the target terminal accesses a certain server and accesses a certain DN, it is by which UPF/PSA, i.e. by using this identifier DNAI, that UPF/PSA (Identifier of a user plane access to one or more DN(s) where applications are deployed) is identified.
Optionally, an external DNAI (external DNAI) may be defined, so as to avoid that the parameter DNAI used inside the core network is opened for the third party AF to use;
alternatively, the external DNAIs may correspond one-to-one to the data network access identifiers DNAIs (which may also be referred to as internal DNAIs); the external DNAI is used outside the core network and the internal DNAI is used inside the core network.
Alternatively, a one-to-one correspondence between external DNAI and internal DNAI is known.
Alternatively, the network element indicated by the external DNAI may be: a network element indicated by an internal DNAI corresponding to the external DNAI;
optionally, the target identification may include an external DNAI (external DNAI);
in one embodiment, as shown in fig. 3, taking the first network element as AF, the target IP address or the IP address segment includes an IP address or an IP address segment corresponding to a location of a service server to be accessed by the target terminal, and the target identifier includes DNAI, for example, the target terminal may access the EAS1 server in dn=a through PSA 1. But because the target terminal moves, it is caused to move to a new location, and dn=a is not suitable for the target terminal to access because dn=a is far from both the route and distance level. Therefore, the target terminal movement may cause the user plane to switch from psa=1 to psa=2, and the accessed DN may also change from dn=a to dn=b.
Therefore, the service server EAS1 is also not the optimal access location after the DN accessed by the target terminal has changed. The service server EAS1 may become EAS2, and the first network element AF may acquire the target identifier, i.e. the current DNAI (DNAI corresponding to PSA 2), and determine an EAS2 server IP address corresponding to the current DNAI as the service server.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier may be sent to the first network element, or the corresponding relation between the first IP address or the IP address segment and the target identifier may be sent, so that the first network element may determine the optimal IP address or the IP address segment that the target terminal may access, and it may be ensured that after the data network accessed by the target terminal changes, the target terminal may also determine the optimal access position under the current data network based on the target identifier.
Optionally, the method further comprises:
before the second network element sends first information to a first network element, the second network element receives a first request sent by the first network element, wherein the first request comprises the target identifier;
the second network element obtains the first information based on the first request.
Optionally, the core network (such as the second network element therein) may provide a corresponding first IP address or IP address range based on the data network access identifier (Data Network Access Identifier, DNAI);
Optionally, the first network element may enable the core network to provide a first IP address or an IP address segment of the area corresponding to the DNAI through the DNAI;
optionally, the core network (such as the second network element therein) may provide a corresponding first IP address or IP address range according to the external DNAI;
optionally, the first network element may enable the core network to provide a first IP address or an IP address segment of the area corresponding to the external DNAI through the external DNAI;
alternatively, the first network element may enable the core network to provide the first IP address or the IP address segment of the area corresponding to the internal DNAI corresponding to the external DNAI through the external DNAI.
Optionally, in order to obtain the first IP address or the IP address segment corresponding to the target identifier, the first network element may send a first request to the second network element, where the first request may include the target identifier, which indicates that the first network element needs to obtain the first IP address or the IP address segment corresponding to the target identifier;
optionally, after the second network element receives the first request, the second network element may acquire a first IP address or an IP address segment corresponding to the target identifier based on the first request;
optionally, after the second network element obtains the first IP address or the IP address segment corresponding to the target identifier, the second network element may send the first IP address or the IP address segment corresponding to the target identifier to the first network element;
Optionally, the first network element may receive the first IP address or the IP address segment sent by the second network element based on the first request.
Optionally, the core network (such as the second network element therein) may provide a first mapping relationship according to a data network access identifier (Data Network Access Identifier, DNAI), where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the target identifier;
optionally, the first network element may enable the core network to provide a first mapping relationship through DNAI, where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the DNAI;
optionally, the core network (such as the second network element therein) may provide a first mapping relationship according to an external DNAI, where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the external DNAI;
optionally, the first network element may enable the core network to provide a first mapping relationship through the external DNAI, where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the internal DNAI, and a one-to-one correspondence between the external DNAI and the internal DNAI is known.
Optionally, in order to obtain the first mapping relationship, the first network element may send a first request to the second network element, where the first request may include a target identifier, which indicates that the first network element needs to obtain the first mapping relationship including the target identifier;
optionally, after the second network element receives the first request, the first mapping relationship may be obtained based on the first request;
optionally, after the second network element obtains the first mapping relationship, the second network element may send the first mapping relationship to the first network element;
optionally, the first network element may receive the first mapping relationship sent by the second network element based on the first request.
Optionally, before the second network element receives the first request sent by the first network element, that is, before the first network element sends the first request to the second network element, the second network element may send the target identifier to the first network element;
optionally, the first network element may receive a target identifier sent by the second network element, where the target identifier may enable the first network element to learn that an IP address or an IP address segment accessed by the target terminal may change;
alternatively, the target identifier sent by the second network element may come from the second network element itself, or may come from one or more network functions of the core network, such as SMF, that is, the SMF may forward the target identifier to the first network element through the second network element.
Optionally, the first network element may further obtain a target identifier from the SMF, where the target identifier may enable the first network element to learn that an IP address or an IP address segment visited by the target terminal may change.
For example, the first network element may obtain a DNAI from the second network element, which DNAI may make the first network element aware of: the mobility of the anchor point of the PDU session may be caused by the movement of the UE, which may cause the migration of the EAS server accessed by the target terminal;
for example, taking the first network element as the AF, the AF may obtain a target identifier (target DNAI, or target external DNAI) from the NEF or the SMF, where the target identifier is used to indicate to the AF, and the mobility of the target terminal may cause the mobility of the anchor point of the PDU session, which may cause the mobility of the EAS server.
Alternatively, when the first network element obtains the target identifier from the second network element, the target identifier may be obtained through signaling nnef_trafficinfluence_notify.
Optionally, the second network element sends the first information to the first network element, including:
the second network element acquires the first information;
and when the second network element sends the target identifier to the first network element, the second network element sends the first information to the first network element.
Optionally, the core network (such as the second network element therein) may directly provide the corresponding first IP address or IP address range according to the data network access identifier (Data Network Access Identifier, DNAI) when providing the destination identification;
Optionally, the core network (such as the second network element therein) may directly provide the corresponding first IP address or IP address range according to the external DNAI when providing the destination identifier;
optionally, when providing the target identifier, the core network (such as the second network element therein) may directly provide a first mapping relationship according to the data network access identifier (Data Network Access Identifier, DNAI), where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the target identifier;
optionally, when the core network (such as the second network element in the core network) provides the target identifier, directly providing a first mapping relationship according to the external DNAI, where the first mapping relationship is used to characterize a correspondence between the first IP address or the IP address segment and the external DNAI;
alternatively, the first network element may receive the first IP address or the IP address range upon receiving the destination identification.
Optionally, the acquiring the first information includes:
and the second network element acquires the first information based on the local cache.
Wherein the local cache stores the first mapping relationship.
Optionally, in order for the second network element to send the first information to the first network element when sending the target identifier to the first network element, the second network element may first acquire the first information;
Optionally, in order for the second network element to send the first information to the first network element after receiving the first request, the second network element may first acquire the first information;
optionally, when the second network element acquires the first information, the first information may be acquired based on a local cache; wherein the local cache stores the first mapping relationship.
Optionally, after each second network element obtains the first mapping relation based on any mode, the first mapping relation may be cached locally, and if the first IP address or the IP address segment corresponding to the target identifier needs to be sent to the first network element, whether the first mapping relation used for representing the correspondence between the target identifier and the first IP address or the IP address segment exists or not may be searched in the local cache, and if yes, any one of the following may be sent to the first network element:
a first mapping relationship; or (b)
A first IP address or IP address segment. In the embodiment of the invention, the second network element provides the first information to the first network element based on the local cache, and the first information is not acquired from other network parts, so that signaling interaction can be effectively reduced, and signaling resources are saved.
Optionally, the second network element is capable of determining the first information based on the target identifier;
The acquiring the first information includes:
the second network element directly determines the first information based on the target identity.
Optionally, in order for the second network element to send the first information to the first network element when sending the target identifier to the first network element, the second network element may first acquire the first information;
optionally, in order for the second network element to send the first information to the first network element after receiving the first request, the second network element may first acquire the first information;
optionally, the second network element may be capable of determining the first information based on the target identity;
optionally, the second network element may have the capability of determining, based on the target identifier, a first IP address or an IP address segment corresponding to the target identifier;
optionally, the second network element may be capable of determining, based on the target identifier, a first mapping relationship for characterizing a correspondence between the target identifier and the first IP address or the IP address segment;
alternatively, when the second network element acquires the first information, the first information may be directly determined based on its own capability.
Optionally, after the second network element directly determines the first information based on its own capability, any one of the following may be sent to the first network element:
A first mapping relationship; or (b)
A first IP address or IP address segment.
In the embodiment of the invention, the second network element determines the first information needed to be provided for the first network element based on the self-capacity without acquiring from other network parts, so that signaling interaction can be effectively reduced, and signaling resources can be saved.
Optionally, the acquiring the first information includes:
the second network element determines a third network element serving the target terminal;
the second network element sends a second request to the third network element, wherein the second request comprises the target identifier;
the second network element receives the first information sent by the third network element based on the second request.
Optionally, in order for the second network element to send the first information to the first network element when sending the target identifier to the first network element, the second network element may first acquire the first information;
optionally, in order for the second network element to send the first information to the first network element after receiving the first request, the second network element may first acquire the first information;
optionally, the second network element may determine a third network element serving the target terminal, and request the first information from the third network element;
alternatively, the second network element may first determine a third network element serving the target terminal, and then send a second request including the target identifier to the third network element to request the first information from the third network element;
Optionally, after the third network element receives the second request, the first information may be determined based on the target identifier in the second request;
optionally, after the third network element determines the first information, the third network element may send the first information to the second network element;
optionally, after receiving the first information, the second network element may send the first information to the first network element.
Optionally, the third network element may be one or more network functions;
optionally, the third network element may be a session management function (Session Management Function, SMF).
Optionally, the determining, by the second network element, a third network element serving the target terminal includes:
the second network element obtains a terminal identifier of the target terminal;
the second network element obtains the network element identification of the third network element based on the terminal identification;
and the second network element determines the third network element based on the network element identification.
Optionally, when determining the third network element serving the target terminal, the second network element may first obtain the terminal identifier of the target terminal, and obtain the network element identifier of the third network element based on the terminal identifier; optionally, the network element identification of the third network element may include one or more of the following:
A network element IP address, a network element port number, a network element FQDN, or a network element ID.
Optionally, after the second network element obtains the network element identifier of the third network element, the third network element may be determined based on the network element identifier.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier may be sent to the first network element, or the corresponding relation between the first IP address or the IP address segment and the target identifier may be sent, so that the first network element may determine the optimal IP address or the IP address segment that the target terminal may access, and it may be ensured that after the data network accessed by the target terminal changes, the target terminal may also determine the optimal access position under the current data network based on the target identifier.
Fig. 5 is a third flowchart of an IP address determining method according to an embodiment of the present disclosure; as shown in fig. 5, the method includes the following steps 500 to 520:
step 500, the third network element receives a second request sent by a second network element, wherein the second request comprises a target identifier;
step 510, the third network element determines first information based on the second request;
Step 520, the third network element sends the first information to the second network element;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to a target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
Optionally, the third network element may be one or more network functions;
optionally, the third network element may be a session management function (Session Management Function, SMF).
Optionally, in order for the second network element to send the first information to the first network element when sending the target identifier to the first network element, the second network element may first acquire the first information;
optionally, in order for the second network element to send the first information to the first network element after receiving the first request, the second network element may first acquire the first information;
Optionally, the second network element may determine a third network element serving the target terminal, and request the first information from the third network element;
alternatively, the second network element may first determine a third network element serving the target terminal, and then send a second request including the target identifier to the third network element to request the first information from the third network element;
optionally, after the third network element receives the second request, the first information may be determined based on the target identifier in the second request;
optionally, after the third network element determines the first information, the third network element may send the first information to the second network element;
optionally, after receiving the first information, the second network element may send the first information to the first network element. Optionally, after the first network element obtains the first mapping relation, when determining the target IP address or the IP address segment based on the first information, the first network element may first obtain the first IP address or the IP address segment based on the first mapping relation and the target identifier, and then determine the target IP address or the IP address segment based on the first IP address or the IP address segment;
optionally, after determining the first IP address or the IP address segment corresponding to the target identifier, that is, when determining the target IP address or the IP address segment based on the first IP address or the IP address segment, the first network element may determine that the first IP address or the IP address segment is the target IP address or the IP address segment;
For example, taking the target identifier DNAI as an example, where the target identifier dnai=1 and the corresponding first IP address is ip=10.1.1.1, and the EAS server IP address candidate for AF (i.e. the candidate IP address accessible to the target terminal) just has the EAS server IP address=10.1.1.1, and accords with the range of the first IP address or address segment, the server may be selected to provide services for the terminal. Optionally, after determining all the first IP addresses or IP address segments corresponding to the destination identifier, that is, when determining the destination IP address or IP address segment based on the first IP address or IP address segment, the first network element may determine a portion of the first IP address or IP address segment as the destination IP address or IP address segment from the first network element;
for example, taking the target identifier dnai=1 and the corresponding first IP address segment is ip= 10.1.0.0 to 10.1.255.255, the AF may select the IP address of the EAS according to the first IP address or the address segment. For example, if 10.1.1.1 of the EAS server IP addresses candidate for AF match the range of the first IP address or address field, the server may be selected to provide service to the terminal. Whereas, of the EAS server IP addresses candidate by the AF (i.e., candidate IP addresses accessible to the target terminal), 100.1.1.1 does not fit within the range of the first IP address or address field, the AF may find that the address is not the target IP address from the first IP address or address field, and thus may not determine it as the target IP address or IP address field. Optionally, after determining the target IP address or the IP address segment, the first network element may access the location indicated by the target IP address or the IP address segment in the data network through the network element exit indicated by the target identifier.
For example, taking the destination identifier as DNAI as an example, the first network element (e.g. AF) obtains the first information by sending the destination identifier, e.g. dnai=1, to the core network. The first information may be: 10.1.1.1 or 10.1.X.X, the two IP addresses or IP address fields correspond to the target identifier; the first information may be: dnai=1→10.1.X.x, i.e. the mapping of said dnai=1 to the first IP address or IP address fragment.
After the AF determines the first IP address or address fragment, the AF may select a target IP address or IP address fragment that corresponds to the server accessed or accessed by the target terminal according to the IP address range. For example, the AF selects a server of 10.1.1.1 as the target EAS to be accessed by the UE; without selecting the server of 100.10.2.1.
Optionally, after the first network element determines the first IP address or the address segment, the AF may select, according to this IP address range, a target IP address or an IP address segment that corresponds to a server accessed or accessed by the target terminal, and may determine, from candidate IP addresses accessible by the target terminal, a target IP address or an IP address segment that belongs to the first IP address or the IP address segment.
Wherein the candidate IP address accessible to the target terminal is known to the first network element.
Optionally, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location to which the service server accessed by the target terminal is to be migrated;
optionally, the destination IP address or IP address field may include an IP address or IP address field corresponding to a location of the DN of the data network to be accessed by the destination terminal;
alternatively, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location of a service server to be accessed by the target terminal;
optionally, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a first target identity, the first target identity being associated with the target terminal; that is, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a network element where the target terminal is located (a network element indicated by the target identifier);
optionally, the target IP address or IP address fragment includes at least one of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred; or (b)
The target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN; or (b)
The IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target identity may comprise a data network access identifier DNAI;
alternatively, the traffic of the target terminal may access the DN from the UPF/PSA outlet to access the application server in the DN. The DNAI identifier can be used to characterize: when the target terminal accesses a certain server and accesses a certain DN, it is by which UPF/PSA, i.e. by using this identifier DNAI, that UPF/PSA (Identifier of a user plane access to one or more DN(s) where applications are deployed) is identified.
Optionally, an external DNAI (external DNAI) may be defined, so as to avoid that the parameter DNAI used inside the core network is opened for the third party AF to use;
alternatively, the external DNAIs may correspond one-to-one to the data network access identifiers DNAIs (which may also be referred to as internal DNAIs); the external DNAI is used outside the core network and the internal DNAI is used inside the core network.
Alternatively, a one-to-one correspondence between external DNAI and internal DNAI is known.
Alternatively, the network element indicated by the external DNAI may be: a network element indicated by an internal DNAI corresponding to the external DNAI;
Optionally, the target identifier may include an external DNAI (external DNAI).
In one embodiment, fig. 6 is a flowchart of an IP address determining method provided in the embodiment of the present application; as shown in fig. 6, taking the core network as a 5GC network side, the first network element as AF, the second network element as NEF, and the third network element as SMF as an example, the IP address determining method may include the following steps:
step 1: AF sends the first request;
specifically, before triggering the first request, the AF may obtain a target DNAI (i.e. a target identifier, or external target DNAI) from the NEF or the SMF, where the DNAI is used to indicate to the AF that the anchor point of the PDU session migrates, possibly due to the UE moving, which may cause the EAS server to migrate.
For example, the AF may obtain the target DNAI from the NEF or SMF before triggering the first request, through nnef_trafficinflucence_notify, or nsmf_eventExposure_notify. The first request sent by the AF is used to obtain the first information, so the signaling where the first request is located may be designed as follows: nnef_iprange_get Request; for example, the destination identifier is used to obtain a corresponding first IP address or IP address segment.
The AF triggers a first request, and sends the first request to the NEF, wherein the first request comprises a DNAI (namely the obtained target DNAI), and a 5GC network side is requested to provide a server IP address or an IP address segment corresponding to the DNAI;
The first request may include DNAI (or external DNAI), and any one or more of: AF location information, an IP address of AF, or an IP address of UE.
Step 2: NEF verifies the action of AF;
in one case, the NEF may have the capability to map directly to a corresponding first IP address segment or IP address based on DNAI. In this case, the process of step 3 to step 9 may be omitted.
In one case, the NEF may cache the first mapping between DNAI and the first IP address segment or IP address, i.e. the first IP address segment or IP address may be determined based on the cache after receipt of the destination identification. In this case, the process of step 3 to step 9 may be omitted.
In one case, if the AF provides an external DNAI, the NEF may map it to a DNAI (e.g., an internal NEF) for internal use by the 5GC, and then proceed to the process after step 3. Alternatively, the NEF may not make such mapping, and may be mapped by other network portions, which are not described herein.
Step 3: the NEF triggers the BSF's services (which may be implemented based on signaling Nbsf_management_discovery);
specifically, the NEF may trigger the BSF to find a corresponding SUPI according to the IP address of the UE provided in step 1, which is the identifier of the UE currently served by the AF. The service is used to obtain SUPI.
Step 4: the BSF provides SUPI (which may be implemented based on signaling nbsf_management_ Discovery response (SUPI));
step 5: the NEF triggers the services of the UDM (which can be implemented based on the signaling Nudm_SDM_get request); the service is used to obtain SMF that manages PDU sessions between AF/EAS and UE.
Specifically, after the NEF takes the SUPI, triggering the service of the UDM, the NEF may trigger the UDM to provide the instance ID of the SMF serving the current UE.
In particular, DNAI of the current PDU session is known to the SMF.
Step 6: UDM provides the ID of SMF (which may be implemented based on signaling nudm_sdm_ Get request response (SMF instance ID));
specifically, the NE may determine the ID of the SMF, and may further include information such as the IP address of the SMF.
Step 7: the NEF sends a second request to the SMF;
optionally, the NEF may send a subscription request or a parameter obtaining request, as a second request or for carrying the second request, to the SMF, requesting to obtain a first IP address or an IP address segment corresponding to the DNAI or the external DNAI, or requesting to obtain first mapping information.
The current PDU session may refer to: a PDU session is currently established between the EAS and the UE and the AF is the control plane network element serving the EAS.
Alternatively, the existing nsmf_eventExposure_subscore may be multiplexed, the subscription request inputs the target DNAI, and then the SMF provides the IP address or the IP address segment corresponding to the DNAI in the form of nsmf_eventExposure_notify, or newly sets a signaling: the nsmf_iprange_get request is then input with a parameter DNAI (external DNAI) as a second request for requesting to obtain the first information, i.e. the IP address or IP range corresponding to this DNAI or external DNAI, and/or to obtain the first mapping relation.
Step 8: the SMF provides first information;
specifically, the SMF may provide the first information, i.e. the IP address or the IP address range corresponding to the DNAI, and/or the first mapping relation, to the NEF.
Step 9: the NEF determines the mapping of the external DNAI and the first IP address or the IP address segment;
alternatively, if an external DNAI is introduced, the NEF may change the mapping of the DNAI fed back by the SMF to the first IP address or IP address segment into a mapping of the external DNAI and the first IP address or IP address segment.
Alternatively, this step 9 may be selectively performed based on whether or not external DNAI is introduced.
Step 10: the AF acquires the first information.
Optionally, the AF may acquire the first information through signaling nnef_iprange_get Response sent by the NEF;
after the AF acquires the first IP address or the IP address segment or the AF acquires the first mapping information, the target IP address or the IP address segment can be determined, and then when the EAS relocation is performed, the determination of the target EAS according to the target DNAI is determined.
In this embodiment of the present application, by defining a correspondence between an IP address or an IP address segment of an area visited by a target terminal and an identifier of a network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier may be sent to a second network element, or the correspondence between the first IP address or the IP address segment and the target identifier may be sent, so that the second network element forwards the first network element, and further, the first network element may determine an optimal IP address or the IP address segment that the target terminal may access, so that it may be ensured that, after a data network visited by the target terminal changes, the target terminal may also redetermine an optimal access location under the current data network based on the target identifier.
FIG. 7 is a schematic flow chart of a method for determining an identifier according to an embodiment of the present application; as shown in fig. 7, the method includes the following steps 700 to 720:
step 700, a first network element obtains a target IP address or IP address field;
for example, in one embodiment, taking the first network element as the AF, where the target IP address or IP address field is the IP address or IP address field of the EAS, the AF may obtain the IP address or IP address field of the target EAS (i.e., the target IP address or IP address field), and the AF may also obtain the IP address or IP address range of the service that the AF can provide. For example, the IP address range that current AF can provide is: 10.1.0.0-10.1.255.255 as a destination IP address or IP address field.
Step 710, the first network element obtains second information;
step 720, the first network element determines a target identifier based on the second information;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to the target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
Alternatively, the first network element may be one or more network functions;
optionally, the first network element may be an application function (Application Function, AF);
optionally, the second information may include one or more of:
a second mapping relationship; or (b)
A first identifier;
alternatively, the first identifier may comprise one or more identifiers.
Optionally, the target identifier may include one or more identifiers.
Alternatively, after the first network element has learned the DNAI range (target identity), the first network element may tell the core network about this range, such as a 5G core network. Optionally, a correspondence between the first identifier and the target IP address or the IP address segment may be defined, so that the first network element may determine, based on the target IP address or the IP address segment, the first identifier corresponding to the target IP address or the IP address segment;
optionally, a correspondence between the first identifier and a target IP address or an IP address segment may be defined, so that the first network element may determine, based on the target IP address or the IP address segment, a correspondence between the first identifier and the target IP address or the IP address segment, that is, a second mapping relationship;
optionally, a correspondence between the first identifier and the target IP address or the IP address segment may be defined, so that the first network element may obtain, based on the target IP address or the IP address segment, a correspondence between the first identifier and the target IP address or the IP address segment, that is, a second mapping relationship, and the first identifier;
Optionally, after the second mapping relation is obtained, when determining the target identifier based on the second information, the first identifier may be obtained first based on the second mapping relation and the target IP address or the IP address segment, and then the target identifier may be determined based on the first identifier;
for example, taking the first network element as the AF, the target IP address or the IP address segment is the IP address segment of EAS, where the IP address segment of EAS obtained by the AF may be ip= 10.1.0.0-10.1.255.255, and according to the IP address segment of EAS, the AF may obtain the first identifier from the network side. For example, the first identifier corresponding to the IP address field of the EAS is dnai=1; or the corresponding DNAI identification range (first plurality of identifications) is dnai=1 to dnai=3. Thus, the AF may obtain the target DNAI corresponding to the target EAS. This target DNAI may then be used by the SMF to establish a PDU session for the new EAS IP address (i.e., target IP address or IP address segment), selecting the UPF.
Optionally, after determining one or more first identifiers, the AF may randomly select, according to logic migrated by the server of the application layer, one first identifier from all the first identifiers as a target identifier, for example, a terminal access may be closer to a dnai=1 in the first identifiers, or a network link condition corresponding to dnai=1 is better, and the dnai=1 is taken as the target identifier.
Optionally, after determining the first identifier corresponding to the target IP address or the IP address segment, that is, when determining the target identifier based on the first identifier, the first identifier may be determined to be the target identifier;
optionally, after determining all the first identifiers corresponding to the target IP address or the IP address segment, that is, when determining the target identifier based on the first identifiers, a part of the first identifiers may be determined as the target identifier;
optionally, after determining the destination identifier, the traffic of the terminal may access the location indicated by the destination IP address or the IP address segment in the data network through the network element exit indicated by the destination identifier.
For example, taking the destination identifier DNAI as an example, the first network element (e.g. AF) obtains the second information by sending the destination IP address or IP address segment, e.g. EAS IP address 10.1.1.1, to the core network. The second information may be: target DNAI or external dnai=2, i.e., DNAI corresponding to the target IP address or IP address segment; the second information may also be: 10.1.0.0-10.1.255.255 this IP address range corresponds to DNAI or a range of DNAI: dnai=1 to dnai=10, or a second mapping relationship between the target IP address or IP address segment and the first identity. That is, the target IP address or range of IP addresses may also correspond to a particular DNAI or range of DNAIs.
After the AF determines DNAI or the range of DNAI (first identifier), the AF may report target DNAI (or external target DNAI) to inform the 5G core network, which may further assist the SMF in establishing a PDU session for the current terminal and the new access server, or select a new user plane through which a new EAS IP address (i.e. a target IP address or a segment of IP addresses) may be accessed (i.e. a network element indicated by the target identifier).
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be determined after the target IP address or the IP address segment is known, and then the network element which needs to pass through when the target terminal accesses the optimal target IP address or the IP address segment is determined, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
Optionally, the target IP address or IP address segment includes any one or more of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred;
The target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN;
the IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location to which the service server accessed by the target terminal is to be migrated;
optionally, the destination IP address or IP address field may include an IP address or IP address field corresponding to a location of the DN of the data network to be accessed by the destination terminal;
alternatively, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location of a service server to be accessed by the target terminal;
optionally, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a first target identity, the first target identity being associated with the target terminal; that is, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a network element where the target terminal is located (a network element indicated by the target identifier);
Optionally, the target IP address or IP address fragment includes at least one of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred; or (b)
The target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN; or (b)
The IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target identifier includes any one or more of the following:
a data network access identifier DNAI; or (b)
An external DNAI.
Optionally, the target identity may comprise a data network access identifier DNAI;
alternatively, the traffic of the target terminal may access the DN from the UPF/PSA outlet to access the application server in the DN. The DNAI identifier can be used to characterize: when the target terminal accesses a certain server and accesses a certain DN, it is by which UPF/PSA, i.e. by using this identifier DNAI, that UPF/PSA (Identifier of a user plane access to one or more DN(s) where applications are deployed) is identified.
Optionally, an external DNAI (external DNAI) may be defined, so as to avoid that the parameter DNAI used inside the core network is opened for the third party AF to use;
Alternatively, the external DNAIs may correspond one-to-one to the data network access identifiers DNAIs (which may also be referred to as internal DNAIs); the external DNAI is used outside the core network and the internal DNAI is used inside the core network.
Alternatively, a one-to-one correspondence between external DNAI and internal DNAI is known.
Alternatively, the network element indicated by the external DNAI may be: a network element indicated by an internal DNAI corresponding to the external DNAI;
optionally, the target identifier may include an external DNAI (external DNAI).
Optionally, the obtaining, by the first network element, the target IP address or the IP address segment includes:
the first network element receives the target IP address or the IP address segment sent by the second network element.
Alternatively, the second network element may be some network function or functions of the core network;
alternatively, the second network element may be a NEF;
optionally, the first network element may receive a target IP address or an IP address field sent by the second network element, where the target IP address or the IP address field may enable the first network element to learn that an IP address or an IP address field accessed by the target terminal may change;
optionally, the target IP address or the IP address segment sent by the second network element may come from the second network element itself, or may be one or more network functions from the core network, such as SMF, that is, the SMF may forward the target IP address or the IP address segment to the first network element through the second network element;
Alternatively, the second network element may learn from other network functions of the core network that the location visited by the target terminal needs to be migrated to the target IP address or IP address segment.
Alternatively, the SMF may learn from other network functions of the core network that the location visited by the target terminal needs to be migrated to the target IP address or IP address segment.
Optionally, the first network element may further obtain a target IP address or an IP address field from the SMF, where the target IP address or the IP address field may enable the first network element to learn that an IP address or an IP address field accessed by the target terminal may change.
For example, the first network element may obtain an IP address or an IP address field of an EAS from the second network element, where the IP address or the IP address field of the EAS may make the first network element aware of: the mobility of the anchor point of the PDU session may cause the mobility of the EAS server accessed by the target terminal due to the movement of the UE, and the mobility is required to be performed to the target IP address or the IP address segment;
for example, taking the first network element as the AF, the AF may obtain a target IP address or IP address field from the NEF or SMF, where the IP address or IP address field is used to indicate to the AF, and may cause migration of an anchor point of the PDU session due to movement of the UE, which may cause migration of an EAS server, and needs to be migrated to the target IP address or IP address field.
Alternatively, when the first network element obtains the target IP address or the IP address segment from the second network element, the target IP address or the IP address segment may be obtained through signaling nnef_trafficinfluence_notify.
Optionally, the first network element obtains second information, including:
the first network element sends a first request to the second network element, wherein the first request comprises the target IP address or the IP address segment;
the first network element receives the second information sent by the second network element based on the first request.
Optionally, the core network (such as the second network element therein) may provide the corresponding first identification according to the IP address or the IP address range;
optionally, the first network element may enable the core network to provide the first identifier of the area corresponding to the target IP address or the IP address range through the target IP address or the IP address range;
optionally, the core network (e.g., the second network element therein) may provide an external DNAI according to the target IP address or IP address range;
optionally, the first network element may enable the core network to provide an external DNAI corresponding to the target IP address or the IP address range through the target IP address or the IP address range;
optionally, the first network element may enable the core network to provide the external DNAI corresponding to the internal DNAI corresponding to the target IP address or the IP address range through the target IP address or the IP address range.
Optionally, in order to obtain the first identifier corresponding to the target IP address or the IP address segment, the first network element may send a first request to the second network element, where the first request may include the target IP address or the IP address segment, which indicates that the first network element needs to obtain the first identifier corresponding to the target IP address or the IP address segment;
optionally, after the second network element receives the first request, the first identifier corresponding to the target IP address or the IP address segment may be obtained based on the first request;
optionally, after the second network element obtains the first identifier corresponding to the target IP address or the IP address segment, the second network element may send the first identifier corresponding to the target IP address or the IP address segment to the first network element;
optionally, the first network element may receive the first identifier sent by the second network element based on the first request.
Optionally, the core network (such as the second network element therein) may provide a second mapping relationship with the target IP address or the IP address range, where the second mapping relationship is used to characterize a correspondence between the first identifier and the target IP address or the IP address segment;
optionally, the first network element may enable the core network to provide a second mapping relationship through the target IP address or the IP address range, where the second mapping relationship is used to characterize a correspondence between the first identifier and the DNAI;
Optionally, the core network (such as the second network element therein) may provide a second mapping relationship according to the target IP address or the IP address range, where the second mapping relationship is used to characterize the correspondence between the first identifier and the external DNAI;
optionally, the first network element may enable the core network to provide a second mapping relationship through the target IP address or the IP address range, where the second mapping relationship is used to characterize a correspondence between the target IP address or the IP address range and the internal DNAI, and a one-to-one correspondence between the external DNAI and the internal DNAI is known.
Optionally, in order to obtain the second mapping relationship, the first network element may send a first request to the second network element, where the first request may include a target IP address or an IP address field, which indicates that the first network element needs to obtain the second mapping relationship including the target IP address or the IP address field;
optionally, after the second network element receives the first request, the second mapping relationship may be obtained based on the first request;
optionally, after the second network element obtains the second mapping relationship, the second network element may send the second mapping relationship to the first network element;
optionally, the first network element may receive the second mapping relationship sent by the second network element based on the first request.
Optionally, the first network element obtains second information, including:
the first network element receives the first identifier corresponding to the target IP address or the IP address segment when receiving the target IP address or the IP address segment.
Optionally, when providing the target IP address or the IP address segment, the core network (such as the second network element therein) may directly provide the corresponding first identifier, such as DNAI, according to the target IP address or the IP address segment;
optionally, when providing the target IP address or the IP address segment, the core network (such as the second network element therein) may directly provide the corresponding first identifier, such as the external DNAI, according to the target IP address or the IP address segment;
optionally, when the core network (such as the second network element) provides the target IP address or the IP address segment, the core network may directly provide a second mapping relationship according to the target IP address or the IP address segment, where the second mapping relationship is used to characterize a correspondence between the first identifier and the target IP address or the IP address segment;
optionally, when the core network (such as the second network element) provides the target IP address or the IP address segment, the core network may directly provide a second mapping relationship according to the target IP address or the IP address segment, where the second mapping relationship is used to characterize a correspondence between the first identifier and the target IP address or the IP address segment;
Alternatively, the first network element may receive the first identity upon receiving the target IP address or the IP address fragment.
In the embodiment of the application, the signaling interaction can be further reduced on the basis that the target terminal can redetermine the optimal access position under the current data network based on the target IP address or the IP address segment, and the implementation is simple.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be determined after the target IP address or the IP address segment is known, and then the network element which needs to pass through when the target terminal accesses the optimal target IP address or the IP address segment is determined, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
FIG. 8 is a second flowchart of a method for determining an identifier according to an embodiment of the present application; as shown in fig. 8, the method includes the following step 800:
step 800, the second network element sends second information to the first network element;
Wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
Alternatively, the first identifier may comprise one or more identifiers.
Alternatively, the second network element may be one or more network functions;
optionally, the second network element may be a network open function (Network Exposure Function, NEF);
optionally, a correspondence between the first identifier and the target IP address or the IP address segment may be defined, and the second network element may send the first identifier to the first network element, so that the first network element may determine, based on the target IP address or the IP address segment, the first identifier corresponding to the target IP address or the IP address segment;
Optionally, a correspondence between the first identifier and the target IP address or the IP address segment may be defined, and the second network element may send a second mapping relationship to the first network element, so that the first network element may determine the correspondence between the first identifier and the target IP address or the IP address segment, that is, the second mapping relationship;
optionally, a correspondence between the first identifier and the target IP address or the IP address segment may be defined, and the second network element may send the second mapping relationship and the first identifier to the first network element; so that the first network element can obtain the corresponding relation between the first identifier and the target IP address or the IP address segment, namely the second mapping relation and the first identifier based on the target IP address or the IP address segment.
Optionally, after the first network element obtains the second mapping relationship, when determining the target IP address or the IP address segment based on the second information, the first network element may first obtain the first identifier based on the second mapping relationship and the target IP address or the IP address segment, and then determine the target identifier based on the first identifier;
for example, taking the first network element as the AF, the target IP address or the IP address segment is the IP address segment of EAS, where the IP address segment of EAS obtained by the AF may be ip= 10.1.0.0-10.1.255.255, and according to the IP address segment of EAS, the AF may obtain the first identifier from the network side. For example, the first identifier corresponding to the IP address field of the EAS is dnai=1; or the corresponding DNAI identification range (first plurality of identifications) is dnai=1 to dnai=3. Thus, the AF may obtain the target DNAI corresponding to the target EAS. This target DNAI may then be used by the SMF to establish a PDU session for the new EAS IP address (i.e., target IP address or IP address segment), selecting the UPF.
Optionally, after determining one or more first identifiers, the AF may randomly select, according to logic migrated by the server of the application layer, one first identifier from all the first identifiers as a target identifier, for example, a terminal access may be closer to a dnai=1 in the first identifiers, or a network link condition corresponding to dnai=1 is better, and the dnai=1 is taken as the target identifier.
Optionally, after determining the first identifier corresponding to the target IP address or the IP address segment, that is, when determining the target identifier based on the first identifier, the first network element may determine the first identifier as the target identifier;
optionally, after determining all the first identifiers corresponding to the target IP address or the IP address segment, that is, when determining the target identifier based on the first identifiers, the first network element may determine a part of the first identifiers as the target identifier from the first identifiers;
optionally, after determining the target identifier, the first network element may access the location indicated by the target IP address or the IP address segment in the data network through the network element exit indicated by the target identifier.
For example, taking the destination identifier DNAI as an example, the first network element (e.g. AF) obtains the second information by sending the destination IP address or IP address segment, e.g. EAS IP address 10.1.1.1, to the core network. The second information may be: target DNAI or external dnai=2, i.e., DNAI corresponding to the target IP address or IP address segment; the second information may also be: 10.1.0.0-10.1.255.255 this IP address range corresponds to DNAI or a range of DNAI: dnai=1 to dnai=10, or a second mapping relationship between the target IP address or IP address segment and the first identity. That is, the target IP address or range of IP addresses may also correspond to a particular DNAI or range of DNAIs.
After the AF determines DNAI or the range of DNAI (first identifier), the AF may report target DNAI (or external target DNAI) to inform the 5G core network, which may further assist the SMF in establishing a PDU session for the current terminal and the new access server, or select a new user plane through which a new EAS IP address (i.e. a target IP address or a segment of IP addresses) may be accessed (i.e. a network element indicated by the target identifier).
Optionally, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location to which the service server accessed by the target terminal is to be migrated;
optionally, the destination IP address or IP address field may include an IP address or IP address field corresponding to a location of the DN of the data network to be accessed by the destination terminal;
alternatively, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location of a service server to be accessed by the target terminal;
optionally, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a first target identity, the first target identity being associated with the target terminal; that is, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a network element where the target terminal is located (a network element indicated by the target identifier);
Optionally, the target IP address or IP address fragment includes at least one of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred; or (b)
The target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN; or (b)
The IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target identity may comprise a data network access identifier DNAI;
alternatively, the traffic of the target terminal may access the DN from the UPF/PSA outlet to access the application server in the DN. The DNAI identifier can be used to characterize: when the target terminal accesses a certain server and accesses a certain DN, it is by which UPF/PSA, i.e. by using this identifier DNAI, that UPF/PSA (Identifier of a user plane access to one or more DN(s) where applications are deployed) is identified.
Optionally, an external DNAI (external DNAI) may be defined, so as to avoid that the parameter DNAI used inside the core network is opened for the third party AF to use;
alternatively, the external DNAIs may correspond one-to-one to the data network access identifiers DNAIs (which may also be referred to as internal DNAIs); the external DNAI is used outside the core network and the internal DNAI is used inside the core network.
Alternatively, a one-to-one correspondence between external DNAI and internal DNAI is known.
Alternatively, the network element indicated by the external DNAI may be: a network element indicated by an internal DNAI corresponding to the external DNAI;
optionally, the target identifier may include an external DNAI (external DNAI).
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment or the corresponding relation between the target IP address or the IP address segment and the first identifier can be sent to the first network element, so that the first network element can determine the network element which needs to pass when the target terminal accesses the optimal target IP address or the IP address segment, and the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
Optionally, the method further comprises:
before the second network element sends a first identifier to a first network element, the second network element receives a first request sent by the first network element, wherein the first request comprises the target IP address or the IP address segment;
The second network element obtains the second information based on the first request.
Optionally, the core network (such as the second network element therein) may provide the corresponding first identification according to the IP address or the IP address range;
optionally, the first network element may enable the core network to provide the first identifier of the area corresponding to the target IP address or the IP address range through the target IP address or the IP address range;
optionally, the core network (e.g., the second network element therein) may provide an external DNAI according to the target IP address or IP address range;
optionally, the first network element may enable the core network to provide an external DNAI corresponding to the target IP address or the IP address range through the target IP address or the IP address range;
optionally, the first network element may enable the core network to provide the external DNAI corresponding to the internal DNAI corresponding to the target IP address or the IP address range through the target IP address or the IP address range.
Optionally, in order to obtain the first identifier corresponding to the target IP address or the IP address segment, the first network element may send a first request to the second network element, where the first request may include the target IP address or the IP address segment, which indicates that the first network element needs to obtain the first identifier corresponding to the target IP address or the IP address segment;
Optionally, after the second network element receives the first request, the first identifier corresponding to the target IP address or the IP address segment may be obtained based on the first request;
optionally, after the second network element obtains the first identifier corresponding to the target IP address or the IP address segment, the second network element may send the first identifier corresponding to the target IP address or the IP address segment to the first network element;
optionally, the first network element may receive the first identifier sent by the second network element based on the first request.
Optionally, the core network (such as the second network element therein) may provide a second mapping relationship with the target IP address or the IP address range, where the second mapping relationship is used to characterize a correspondence between the first identifier and the target IP address or the IP address segment;
optionally, the first network element may enable the core network to provide a second mapping relationship through the target IP address or the IP address range, where the second mapping relationship is used to characterize a correspondence between the first identifier and the DNAI;
optionally, the core network (such as the second network element therein) may provide a second mapping relationship according to the target IP address or the IP address range, where the second mapping relationship is used to characterize the correspondence between the first identifier and the external DNAI;
Optionally, the first network element may enable the core network to provide a second mapping relationship through the target IP address or the IP address range, where the second mapping relationship is used to characterize a correspondence between the target IP address or the IP address range and the internal DNAI, and a one-to-one correspondence between the external DNAI and the internal DNAI is known.
Optionally, in order to obtain the second mapping relationship, the first network element may send a first request to the second network element, where the first request may include a target IP address or an IP address field, which indicates that the first network element needs to obtain the second mapping relationship including the target IP address or the IP address field;
optionally, after the second network element receives the first request, the second mapping relationship may be obtained based on the first request;
optionally, after the second network element obtains the second mapping relationship, the second network element may send the second mapping relationship to the first network element;
optionally, the first network element may receive the second mapping relationship sent by the second network element based on the first request.
Optionally, before the second network element receives the first request sent by the first network element, that is, before the first network element sends the first network element to the second network element, the first network element may first acquire the target IP address or the IP address segment;
Optionally, before the second network element receives the first request sent by the first network element, the second network element sends a target IP address or an IP address segment to the first network element;
optionally, the first network element may receive a target IP address or an IP address field sent by the second network element, where the target IP address or the IP address field may enable the first network element to learn that an IP address or an IP address field accessed by the target terminal may change;
optionally, the target IP address or the IP address segment sent by the second network element may come from the second network element itself, or may be one or more network functions from the core network, such as SMF, that is, the SMF may forward the target IP address or the IP address segment to the first network element through the second network element;
alternatively, the second network element may learn from other network functions of the core network that the location visited by the target terminal needs to be migrated to the target IP address or IP address segment.
Alternatively, the SMF may learn from other network functions of the core network that the location visited by the target terminal needs to be migrated to the target IP address or IP address segment.
Optionally, the first network element may further obtain a target IP address or an IP address field from the SMF, where the target IP address or the IP address field may enable the first network element to learn that an IP address or an IP address field accessed by the target terminal may change.
For example, the first network element may obtain an IP address or an IP address field of an EAS from the second network element, where the IP address or the IP address field of the EAS may make the first network element aware of: the mobility of the anchor point of the PDU session may cause the mobility of the EAS server accessed by the target terminal due to the movement of the UE, and the mobility is required to be performed to the target IP address or the IP address segment;
for example, taking the first network element as the AF, the AF may obtain a target IP address or IP address field from the NEF or SMF, where the IP address or IP address field is used to indicate to the AF, and may cause migration of an anchor point of the PDU session due to movement of the UE, which may cause migration of an EAS server, and needs to be migrated to the target IP address or IP address field.
Alternatively, when the first network element obtains the target IP address or the IP address segment from the second network element, the target IP address or the IP address segment may be obtained through signaling nnef_trafficinfluence_notify. Optionally, the second network element sends second information to the first network element, including:
the second network element acquires the second information;
and when the second network element sends the target IP address or the IP address segment to the first network element, the second network element sends the second information to the first network element.
Optionally, when providing the target IP address or the IP address segment, the core network (such as the second network element therein) may directly provide the corresponding first identifier, such as DNAI, according to the target IP address or the IP address segment;
Optionally, when providing the target IP address or the IP address segment, the core network (such as the second network element therein) may directly provide the corresponding first identifier, such as the external DNAI, according to the target IP address or the IP address segment;
optionally, when the core network (such as the second network element) provides the target IP address or the IP address segment, the core network may directly provide a second mapping relationship according to the target IP address or the IP address segment, where the second mapping relationship is used to characterize a correspondence between the first identifier and the target IP address or the IP address segment;
optionally, the core network (such as the second network element therein) may directly provide the second information according to the target IP address or the IP address segment when providing the target IP address or the IP address segment;
alternatively, the first network element may receive the first identity upon receiving the target IP address or the IP address fragment.
In the embodiment of the application, the signaling interaction can be further reduced on the basis that the target terminal can redetermine the optimal access position under the current data network based on the target IP address or the IP address segment, and the implementation is simple.
Optionally, the acquiring the second information includes:
the second network element obtains the second information based on local caching;
Wherein the second mapping relation is stored in the local cache.
Optionally, in order for the second network element to send the second information to the first network element when sending the target IP address or the IP address segment to the first network element, the second network element may first acquire the second information;
optionally, in order for the second network element to send the second information to the first network element after receiving the first request, the second network element may first acquire the second information;
optionally, when the second network element acquires the second information, the second information may be acquired based on the local cache; wherein the second mapping relation is stored in the local cache.
Optionally, after each second network element obtains the second mapping relationship based on any mode, the second mapping relationship may be cached locally, and if the first identifier corresponding to the target IP address or the IP address segment needs to be sent to the first network element, whether the second mapping relationship used for characterizing the correspondence between the target IP address or the IP address segment and the first identifier exists or not may be searched in the local cache, and if yes, any one of the following may be sent to the first network element:
a second mapping relationship; or (b)
A first identifier.
In the embodiment of the invention, the second information is provided for the first network element based on the local cache by the second network element without being acquired from other network parts, so that signaling interaction can be effectively reduced, and signaling resources can be saved.
Optionally, the second network element has the capability of determining the second information based on the target IP address or IP address segment;
the obtaining the second information includes:
the second network element directly determines the second information based on the target IP address or the IP address field.
Optionally, in order for the second network element to send the second information to the first network element when sending the target IP address or the IP address segment to the first network element, the second network element may first acquire the second information;
optionally, in order for the second network element to send the second information to the first network element after receiving the first request, the second network element may first acquire the second information;
optionally, the second network element may be capable of determining the second information based on the target IP address or IP address segment;
optionally, the second network element may have the capability of determining, based on the target IP address or the IP address segment, a first identification corresponding to the target IP address or the IP address segment;
optionally, the second network element may have the capability of determining, based on the target IP address or the IP address segment, a second mapping relationship for characterizing a correspondence between the target IP address or the IP address segment and the first identity;
alternatively, when the second network element acquires the second information, the second information may be directly determined based on its own capability.
Optionally, after the second network element directly determines the second information based on its own capability, any one of the following may be sent to the first network element:
a second mapping relationship; or (b)
A first identifier.
In the embodiment of the invention, the second information which needs to be provided for the first network element is determined by the second network element based on the self-capacity, and the second information is not acquired from other network parts, so that signaling interaction can be effectively reduced, and signaling resources are saved.
Optionally, the acquiring the second information includes:
the second network element determines a third network element serving the target terminal;
the second network element sends a second request to the third network element, wherein the second request comprises the target IP address or the IP address segment;
the second network element receives the second information sent by the third network element based on the second request.
Optionally, in order for the second network element to send the second information to the first network element when sending the target IP address or the IP address segment to the first network element, the second network element may first acquire the second information;
optionally, in order for the second network element to send the second information to the first network element after receiving the first request, the second network element may first acquire the second information;
optionally, the second network element may determine a third network element serving the target terminal, and request second information from the third network element;
Alternatively, the second network element may first determine a third network element serving the target terminal, and then send a second request including the target IP address or the IP address segment to the third network element to request second information from the third network element;
optionally, after the third network element receives the second request, the second information may be determined based on the target IP address or the IP address segment in the second request;
optionally, after the third network element determines the second information, the second information may be sent to the second network element;
optionally, after receiving the second information, the second network element may send the second information to the first network element.
Optionally, the third network element may be one or more network functions;
optionally, the third network element may be a session management function (Session Management Function, SMF).
Optionally, the determining, by the second network element, a third network element serving the target terminal includes:
the second network element obtains a terminal identifier of the target terminal;
the second network element obtains the network element identification of the third network element based on the terminal identification;
and the second network element determines the third network element based on the network element identification.
Optionally, when determining the third network element serving the target terminal, the second network element may first obtain the terminal identifier of the target terminal, and obtain the network element identifier of the third network element based on the terminal identifier;
Optionally, the network element identification of the third network element may include one or more of the following:
a network element IP address, a network element port number, a network element FQDN, or a network element ID.
Optionally, after the second network element obtains the network element identifier of the third network element, the third network element may be determined based on the network element identifier.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment or the corresponding relation between the target IP address or the IP address segment and the first identifier can be sent to the first network element, so that the first network element can determine the network element which needs to pass when the target terminal accesses the optimal target IP address or the IP address segment, and the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
FIG. 9 is a third flow chart of a method for determining an identifier according to an embodiment of the present application; as shown in fig. 9, the method includes the following steps 900 to 920:
step 900, the third network element receives a second request sent by the second network element, where the second request includes a target IP address or an IP address field;
Step 910, the third network element determines second information based on the second request;
step 920, the third network element sends the second information to the second network element;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment;
the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
Alternatively, the first identifier may comprise one or more identifiers.
Optionally, the third network element may be one or more network functions;
optionally, the third network element may be a session management function (Session Management Function, SMF).
Optionally, in order for the second network element to send the second information to the first network element when sending the target IP address or the IP address segment to the first network element, the second network element may first acquire the second information;
Optionally, in order for the second network element to send the second information to the first network element after receiving the first request, the second network element may first acquire the second information;
optionally, the second network element may determine a third network element serving the target terminal, and request second information from the third network element;
alternatively, the second network element may first determine a third network element serving the target terminal, and then send a second request including the target IP address or the IP address segment to the third network element to request second information from the third network element;
optionally, after the third network element receives the second request, the second information may be determined based on the target IP address or the IP address segment in the second request;
optionally, after the third network element determines the second information, the second information may be sent to the second network element;
optionally, after receiving the second information, the second network element may send the second information to the first network element.
Optionally, after the first network element obtains the second mapping relation, when determining the target identifier based on the second information, the first network element may first obtain the first identifier based on the second mapping relation and the target IP address or the IP address segment, and then determine the target identifier based on the first identifier;
for example, taking the first network element as the AF, the target IP address or the IP address segment is the IP address segment of EAS, where the IP address segment of EAS obtained by the AF may be ip= 10.1.0.0-10.1.255.255, and according to the IP address segment of EAS, the AF may obtain the first identifier from the network side. For example, the first identifier corresponding to the IP address field of the EAS is dnai=1; or the corresponding DNAI identification range (first plurality of identifications) is dnai=1 to dnai=3. Thus, the AF may obtain the target DNAI corresponding to the target EAS. This target DNAI may then be used by the SMF to establish a PDU session for the new EAS IP address (i.e., target IP address or IP address segment), selecting the UPF.
Optionally, after determining one or more first identifiers, the AF may randomly select, according to logic migrated by the server of the application layer, one first identifier from all the first identifiers as a target identifier, for example, a terminal access may be closer to a dnai=1 in the first identifiers, or a network link condition corresponding to dnai=1 is better, and the dnai=1 is taken as the target identifier.
Optionally, after determining the first identifier corresponding to the target IP address or the IP address segment, that is, when determining the target identifier based on the first identifier, the first network element may determine the first identifier as the target identifier;
optionally, after determining all the first identifiers corresponding to the target IP address or the IP address segment, that is, when determining the target identifier based on the first identifiers, the first network element may determine a part of the first identifiers as the target identifier from the first identifiers;
optionally, after determining the target IP address or the IP address segment, the first network element may access the location indicated by the target IP address or the IP address segment in the data network through the network element exit indicated by the target identifier.
For example, taking the destination identifier DNAI as an example, the first network element (e.g. AF) obtains the second information by sending the destination IP address or IP address segment, e.g. EAS IP address 10.1.1.1, to the core network. The second information may be: target DNAI or external dnai=2, i.e., DNAI corresponding to the target IP address or IP address segment; the second information may also be: 10.1.0.0-10.1.255.255 this IP address range corresponds to DNAI or a range of DNAI: dnai=1 to dnai=10, or a second mapping relationship between the target IP address or IP address segment and the first identity. That is, the target IP address or range of IP addresses may also correspond to a particular DNAI or range of DNAIs.
After the AF determines DNAI or the range of DNAI (first identifier), the AF may report target DNAI (or external target DNAI) to inform the 5G core network, which may further assist the SMF in establishing a PDU session for the current terminal and the new access server, or select a new user plane through which a new EAS IP address (i.e. a target IP address or a segment of IP addresses) may be accessed (i.e. a network element indicated by the target identifier).
Optionally, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location to which the service server accessed by the target terminal is to be migrated;
optionally, the destination IP address or IP address field may include an IP address or IP address field corresponding to a location of the DN of the data network to be accessed by the destination terminal;
alternatively, the target IP address or the IP address segment may include an IP address or an IP address segment corresponding to a location of a service server to be accessed by the target terminal;
optionally, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a first target identity, the first target identity being associated with the target terminal; that is, the target IP address or IP address segment may include an IP address or IP address segment corresponding to a network element where the target terminal is located (a network element indicated by the target identifier);
Optionally, the target IP address or IP address fragment includes at least one of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred; or (b)
The target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN; or (b)
The IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target identity may comprise a data network access identifier DNAI;
alternatively, the traffic of the target terminal may access the DN from the UPF/PSA outlet to access the application server in the DN. The DNAI identifier can be used to characterize: when the target terminal accesses a certain server and accesses a certain DN, it is by which UPF/PSA, i.e. by using this identifier DNAI, that UPF/PSA (Identifier of a user plane access to one or more DN(s) where applications are deployed) is identified.
Optionally, an external DNAI (external DNAI) may be defined, so as to avoid that the parameter DNAI used inside the core network is opened for the third party AF to use;
alternatively, the external DNAIs may correspond one-to-one to the data network access identifiers DNAIs (which may also be referred to as internal DNAIs); the external DNAI is used outside the core network and the internal DNAI is used inside the core network.
Alternatively, a one-to-one correspondence between external DNAI and internal DNAI is known.
Alternatively, the network element indicated by the external DNAI may be: a network element indicated by an internal DNAI corresponding to the external DNAI;
optionally, the target identifier may include an external DNAI (external DNAI).
In one embodiment, fig. 10 is a flowchart illustrating a method for determining an identifier according to an embodiment of the present application; as shown in fig. 10, taking the core network as a 5GC network side, the first network element as AF, the second network element as NEF, and the third network element as SMF as an example, the IP address determining method may include the following steps:
step 1: AF sends the first request;
specifically, before triggering the first request, the AF may obtain, from the NEF or the SMF, a target IP address or an IP address field, such as an IP address or an IP address field of a certain EAS, which is used to indicate to the AF, and obtain a DNAI or an external DNAI corresponding to the IP address or the IP address field, through nnef_trafficinfence_notify, or nsmf_eventExposure_notify. The first request sent by the AF is used to obtain the first information, so the signaling where the first request is located may be designed as follows: nnef_dnai_get Request; the AF may also send its own IP address, or a range of IP addresses that the AF can provide services to the 5G core network. For example, the range served by the current AF is the IP address range 10.1.0.0-10.1.255.255.
The AF triggers a first request, and sends the first request to the NEF, wherein the first request comprises a target IP address or an IP address segment, and a 5GC network side is requested to provide a first identifier or request second mapping information corresponding to the target IP address or the IP address segment;
the first request may include a destination IP address or IP address field, and any one or more of the following: AF location information, an IP address of AF, or an IP address of UE.
Step 2: NEF verifies the action of AF;
in one case, the NEF may have the capability to map to the first identity directly based on the target IP address or IP address segment. In this case, the process of step 3 to step 9 may be omitted.
In one case, the NEF may cache a second mapping between the destination IP address or IP address segment and the identity, i.e., upon receipt of the destination IP address or IP address segment, may determine the first identity based on the cache. In this case, the process of step 3 to step 9 may be omitted.
Step 3: the NEF triggers the BSF's services (which may be implemented based on signaling Nbsf_management_discovery);
in particular, the service is used to obtain SUPI.
Specifically, the NEF may trigger the BSF to find a corresponding SUPI according to the IP address of the UE provided in step 1, which is the identifier of the UE currently served by the AF.
Step 4: the BSF provides SUPI (which may be implemented based on signaling nbsf_management_ Discovery response (SUPI));
step 5: the NEF triggers the services of the UDM (which can be implemented based on the signaling Nudm_SDM_get request); the service is used to obtain SMF that manages PDU sessions between AF/EAS and UE.
Specifically, after the NEF takes the SUPI, triggering the service of the UDM, the NEF may trigger the UDM to provide the instance ID of the SMF serving the current UE.
In particular, DNAI of the current PDU session is known to the SMF.
Step 6: UDM provides the ID of SMF (which may be implemented based on signaling nudm_sdm_ Get request response (SMF instance ID));
specifically, the NE may determine the ID of the SMF, and may further include information such as the IP address of the SMF.
Step 7: the NEF sends a second request to the SMF;
optionally, the NEF may send a subscription request or a parameter obtaining request, as a second request or for carrying the second request, to the SMF, to request to obtain the first identifier corresponding to the target IP address or the IP address segment, or to request to obtain the second mapping information.
The current PDU session may refer to: a PDU session is currently established between the EAS and the UE and the AF is the control plane network element serving the EAS.
Alternatively, an existing nsmf_eventExposure_subscore may be multiplexed, the subscription request inputs a target IP address or an IP address field (such as an EAS IP or an AF IP address), and then the SMF provides a DNAI or an external DNAI corresponding to the target IP address or the IP address field in the form of nsmf_eventExposure_notify, or newly sets a signaling: the nsmf_dnai_get request is then input with an IP address or an IP address field of the parameter EAS as a second request for requesting to obtain second information, i.e. the first identifier corresponding to the IP address or the IP address field of the EAS, and/or obtaining a second mapping relationship.
Step 8: the SMF provides second information;
specifically, the SMF may provide the NEF with the second information, i.e., the first identifier corresponding to the IP address or the IP address segment of the EAS, and/or the second mapping relationship.
Step 9: the NEF determines the mapping of the IP address or IP address segment of the EAS and the first identification;
alternatively, if an external DNAI is introduced, the NEF may change the IP address or IP address segment of EAS fed back by the SMF to an internal DNAI mapping, into a mapping of the external DNAI and the IP address or IP address segment of EAS.
Alternatively, this step 9 may be selectively performed based on whether or not external DNAI is introduced.
Step 10: the AF acquires the second information.
Optionally, the AF may obtain the second information through signaling nnef_dnai_get Response sent by the NEF;
after the AF knows the first identifier or the AF knows the second mapping information, the target identifier can be determined, and then the target DNAI is determined according to the target EAS when the EAS is in relocation. In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be sent to the second network element, or the corresponding relation between the target IP address or the IP address segment and the first identifier can be sent, so that the second network element forwards the first network element, and further the first network element can determine the network element which needs to pass when the target terminal accesses the optimal target IP address or the IP address segment, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal is changed.
According to the IP address determining method provided by the embodiment of the application, the execution body can be the IP address determining device. In the embodiment of the present application, an example of an IP address determining method performed by an IP address determining apparatus is described as an IP address determining apparatus provided in the embodiment of the present application.
Fig. 11 is one of schematic structural diagrams of an IP address determining apparatus provided in the embodiment of the present application; as shown in fig. 11, the IP address determining apparatus 1100 may include: a first acquisition module 1110, a second acquisition module 1120, and a first determination module 1130; wherein:
the first obtaining module 1110 is configured to obtain a target identifier;
the second obtaining module 1120 is configured to obtain first information;
the first determining module 1130 is configured to determine a target IP address or an IP address segment based on the first information;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to the target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier can be determined after the target identifier is obtained, and then the optimal IP address or the optimal IP address segment which can be accessed by the target terminal is determined, so that the target terminal can be ensured to be capable of re-determining the optimal access position under the current data network based on the target identifier after the data network accessed by the target terminal is changed.
Optionally, the target IP address or IP address segment includes any one or more of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred;
the target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN;
the IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target identifier includes any one or more of the following:
A data network access identifier DNAI; or (b)
An external DNAI.
Optionally, the first obtaining module 1110 is specifically configured to:
and receiving the target identifier sent by the second network element.
Optionally, the second obtaining module 1120 is specifically configured to:
sending a first request to the second network element, wherein the first request comprises the target identifier;
the first network element receives the first information sent by the second network element based on the first request.
Optionally, the second obtaining module 1120 is specifically configured to:
and receiving the first information when receiving the target identification.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier is determined, and then the optimal IP address or the optimal IP address segment which can be accessed by the target terminal is determined, so that the target terminal can be ensured to be capable of determining the optimal access position under the current data network again based on the target identifier after the data network accessed by the target terminal is changed.
Fig. 12 is a second schematic structural diagram of an IP address determining apparatus according to an embodiment of the present disclosure; as shown in fig. 12, the IP address determining apparatus 1200 may include: a first transmission module 1210; wherein:
The first sending module 1210 is configured to send first information to a first network element; wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or the IP address field includes or is equal to the target IP address or the IP address field, where the target IP address or the IP address field is used to indicate an IP address or an IP address field accessed by a target terminal served by the first network element, and the target identifier is used to indicate a network element that needs to pass when the target terminal accesses the target IP address or the IP address field.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier may be sent to the first network element, or the corresponding relation between the first IP address or the IP address segment and the target identifier may be sent, so that the first network element may determine the optimal IP address or the IP address segment that the target terminal may access, and it may be ensured that after the data network accessed by the target terminal changes, the target terminal may also determine the optimal access position under the current data network based on the target identifier.
Optionally, the apparatus further comprises:
a third receiving module, configured to receive, before the second network element sends first information to a first network element, a first request sent by the first network element, where the first request includes the target identifier;
and a fifth acquisition module, configured to acquire the first information based on the first request.
Optionally, the first sending module 1210 is specifically configured to:
acquiring the first information;
and when the target identifier is sent to the first network element, the first information is sent to the first network element.
Optionally, the fifth acquiring module or the first sending module 1210 is specifically configured to:
and acquiring the first information based on the local cache.
Wherein the local cache stores the first mapping relationship.
Optionally, the second network element is capable of determining the first information based on the target identifier;
the fifth acquisition module or the first sending module 1210 is specifically configured to:
the first information is directly determined based on the target identification.
Optionally, the fifth acquiring module or the first sending module 1210 is specifically configured to:
determining a third network element serving the target terminal;
sending a second request to the third network element, wherein the second request comprises the target identifier;
And receiving the first information sent by the third network element based on the second request.
Optionally, the fifth acquiring module or the first sending module 1210 is specifically configured to:
acquiring a terminal identifier of the target terminal;
acquiring a network element identifier of the third network element based on the terminal identifier;
and determining the third network element based on the network element identification.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier may be sent to the first network element, or the corresponding relation between the first IP address or the IP address segment and the target identifier may be sent, so that the first network element may determine the optimal IP address or the IP address segment that the target terminal may access, and it may be ensured that after the data network accessed by the target terminal changes, the target terminal may also determine the optimal access position under the current data network based on the target identifier.
Fig. 13 is a third schematic structural diagram of an IP address determining apparatus according to an embodiment of the present disclosure; as shown in fig. 13, the IP address determining apparatus 1300 may include: a first receiving module 1310, a second determining module 1320, and a second transmitting module 1330; wherein:
The first receiving module 1310 is configured to receive a second request sent by a second network element, where the second request includes a target identifier;
the second determining module 1320 is configured to determine the first information based on the second request;
the second sending module 1330 is configured to send the first information to the second network element;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to a target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In this embodiment of the present application, by defining a correspondence between an IP address or an IP address segment of an area visited by a target terminal and an identifier of a network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier may be sent to a second network element, or the correspondence between the first IP address or the IP address segment and the target identifier may be sent, so that the second network element forwards the first network element, and further, the first network element may determine an optimal IP address or the IP address segment that the target terminal may access, so that it may be ensured that, after a data network visited by the target terminal changes, the target terminal may also redetermine an optimal access location under the current data network based on the target identifier.
The IP address determining apparatus in the embodiments of the present application may be an electronic device, for example, an electronic device with an operating system, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, terminals may include, but are not limited to, the types of terminals 11 listed above, other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., and embodiments of the application are not specifically limited.
The IP address determining apparatus provided in this embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 2 to fig. 6, and achieve the same technical effects, so that repetition is avoided, and no detailed description is given here.
According to the identification determining method provided by the embodiment of the application, the execution subject can be the identification determining device. In the embodiment of the present application, an example of an identification determining method performed by an identification determining device is described as an identification determining device provided in the embodiment of the present application.
FIG. 14 is one of schematic structural diagrams of an identification determining apparatus provided in an embodiment of the present application; as shown in fig. 14, the identification determining apparatus 1400 may include: a third acquisition module 1410, a fourth acquisition module 1420, and a third determination module 1430; wherein:
The third obtaining module 1410 is configured to obtain a target IP address or an IP address segment;
the fourth obtaining module 1420 is configured to obtain second information;
a third determining module 1430 is configured to determine a target identifier based on the second information;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to the target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be determined after the target IP address or the IP address segment is known, and then the network element which needs to pass through when the target terminal accesses the optimal target IP address or the IP address segment is determined, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
Optionally, the target IP address or IP address segment includes any one or more of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred;
the target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN;
the IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target identifier includes any one or more of the following:
a data network access identifier DNAI; or (b)
An external DNAI.
Optionally, the obtaining, by the first network element, the target IP address or the IP address segment includes:
the first network element receives the target IP address or the IP address segment sent by the second network element.
Optionally, the third obtaining module 1410 is configured to:
sending a first request to the second network element, wherein the first request comprises the target IP address or the IP address segment;
and receiving the second information sent by the second network element based on the first request.
Optionally, the fourth acquisition module 1420 is specifically configured to:
and receiving the second information when receiving the target IP address or the IP address segment.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be determined after the target IP address or the IP address segment is known, and then the network element which needs to pass through when the target terminal accesses the optimal target IP address or the IP address segment is determined, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
FIG. 15 is a second schematic structural view of an identification determining apparatus according to an embodiment of the present application; as shown in fig. 15, the identification determining apparatus 1500 may include: a third transmission module 1510; wherein:
the third sending module 1510 is configured to send the second information to the first network element;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be determined after the target IP address or the IP address segment is known, and then the network element which needs to pass through when the target terminal accesses the optimal target IP address or the IP address segment is determined, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
Optionally, the apparatus further comprises:
a fourth receiving module, configured to receive, before the second network element sends a first identifier to a first network element, a first request sent by the first network element, where the first request includes the target IP address or an IP address segment;
and a sixth acquisition module, configured to acquire the second information based on the first request.
Optionally, the third sending module 1510 is specifically configured to:
acquiring the second information;
and when the target IP address or the IP address segment is sent to the first network element, the second information is sent to the first network element.
Optionally, the sixth acquisition module or the third sending module 1510 is specifically configured to:
acquiring the second information based on a local cache;
wherein the second mapping relation is stored in the local cache.
Optionally, the second network element has the capability of determining the second information based on the target IP address or IP address segment;
the sixth acquisition module or the third sending module 1510 is specifically configured to:
the second network element directly determines the second information based on the target IP address or the IP address field.
Optionally, the sixth acquisition module or the third sending module 1510 is specifically configured to:
determining a third network element serving the target terminal;
sending a second request to the third network element, wherein the second request comprises the target IP address or the IP address segment;
and receiving the second information sent by the third network element based on the second request.
Optionally, the sixth acquisition module or the third sending module 1510 is specifically configured to:
acquiring a terminal identifier of the target terminal;
acquiring a network element identifier of the third network element based on the terminal identifier;
and determining the third network element based on the network element identification.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be determined after the target IP address or the IP address segment is known, and then the network element which needs to pass through when the target terminal accesses the optimal target IP address or the IP address segment is determined, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
FIG. 16 is a third schematic diagram of a configuration of an identification determining apparatus provided in an embodiment of the present application; as shown in fig. 16, the identification determining apparatus 1600 may include: a second receiving module 1610, a fourth determining module 1620, and a fourth transmitting module 1630; wherein:
the second receiving module 1610 is configured to receive a second request sent by a second network element, where the second request includes a target IP address or an IP address segment;
the fourth determining module 1620 is configured to determine second information based on the second request;
a fourth sending module 1630 is configured to send the second information to the second network element;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be sent to the second network element, or the corresponding relation between the target IP address or the IP address segment and the first identifier can be sent, so that the second network element forwards the first network element, and further the first network element can determine the network element which needs to pass when the target terminal accesses the optimal target IP address or the IP address segment, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal is changed.
The identification determining device in the embodiment of the present application may be an electronic device, for example, an electronic device with an operating system, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, terminals may include, but are not limited to, the types of terminals 11 listed above, other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., and embodiments of the application are not specifically limited.
The identifier determining apparatus provided in this embodiment of the present application can implement each process implemented by the method embodiments of fig. 7 to fig. 10, and achieve the same technical effects, and in order to avoid repetition, a detailed description is omitted here.
Optionally, fig. 17 is one of schematic structural diagrams of a communication device provided in the embodiment of the present application, as shown in fig. 17, and further provides a communication device 1700, including a processor 1701 and a memory 1702, where the memory 1702 stores a program or an instruction that can be executed on the processor 1701, for example, when the communication device 1700 is a first network element, the program or the instruction implements each step of the above-mentioned IP address determining method embodiment when executed by the processor 1701, and can achieve the same technical effect. When the communication device 1700 is a second network element, the program or the instruction, when executed by the processor 1701, implements the steps of the above-described IP address determining method embodiment, and can achieve the same technical effects; when the communication device 1700 is a third network element, the program or the instruction, when executed by the processor 1701, implements the steps of the above-described method embodiment for determining an IP address, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Optionally, fig. 18 is a second schematic structural diagram of a communication device provided in the embodiment of the present application, as shown in fig. 18, and further provides a communication device 1800, including a processor 1801 and a memory 1802, where the memory 1802 stores a program or an instruction that can be executed on the processor 1801, for example, when the communication device 1800 is a first network element, the program or the instruction implements each step of the above-mentioned identification determining method embodiment when executed by the processor 1801, and the same technical effects can be achieved; when the communication device 1800 is a second network element, the program or the instruction, when executed by the processor 1801, implements the steps of the above-described embodiment of the identification determining method, and can achieve the same technical effects; when the communication device 1800 is the third network element, the program or the instruction, when executed by the processor 1801, implements the steps of the above-described embodiment of the method for determining an identifier, and the same technical effects can be achieved, so that repetition is avoided, and detailed description is omitted here.
Specifically, the embodiment of the application also provides a first network element. Fig. 19 is one of structural diagrams of a first network element implementing an embodiment of the present application, as shown in fig. 19, where the first network element 1900 includes: a processor 1901, a network interface 1902, and a memory 1903. The network interface 1902 is, for example, a common public radio interface (common public radio interface, CPRI).
Specifically, the first network element 1900 of the embodiment of the present invention further includes: instructions or programs stored in the memory 1903 and executable on the processor 1901, the processor 1901 invokes the instructions or programs in the memory 1903 to perform the methods performed by the modules shown in fig. 11, and achieve the same technical effects, and are not repeated here.
Wherein the processor 1901 is configured to:
obtaining a target identifier;
obtaining first information; determining a target IP address or an IP address segment based on the first information;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to the target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier can be determined after the target identifier is obtained, and then the optimal IP address or the optimal IP address segment which can be accessed by the target terminal is determined, so that the target terminal can be ensured to be capable of re-determining the optimal access position under the current data network based on the target identifier after the data network accessed by the target terminal is changed.
Optionally, the target IP address or IP address segment includes any one or more of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred;
the target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN;
the IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target identifier includes any one or more of the following:
A data network access identifier DNAI; or (b)
An external DNAI.
Optionally, the processor 1901 is configured to:
and receiving the target identifier sent by the second network element.
Optionally, the processor 1901 is configured to:
sending a first request to the second network element, wherein the first request comprises the target identifier;
and receiving the first information sent by the second network element based on the first request.
Optionally, the processor 1901 is configured to:
and receiving the first information when receiving the target identification.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier can be determined after the target identifier is obtained, and then the optimal IP address or the optimal IP address segment which can be accessed by the target terminal is determined, so that the target terminal can be ensured to be capable of re-determining the optimal access position under the current data network based on the target identifier after the data network accessed by the target terminal is changed.
Specifically, the embodiment of the application also provides a second network element. Fig. 20 is one of structural diagrams of a second network element implementing an embodiment of the present application, as shown in fig. 20, the second network element 2000 includes: a processor 2001, a network interface 2002 and a memory 2003. The network interface 2002 is, for example, a common public radio interface (common public radio interface, CPRI).
Specifically, the second network element 2000 of the embodiment of the present invention further includes: instructions or programs stored in the memory 2003 and executable on the processor 2001, the processor 2001 calls the instructions or programs in the memory 2003 to perform the method performed by the modules shown in fig. 12 and achieve the same technical result, and are not described here in detail to avoid repetition.
Among them, the processor 2001 is configured to:
transmitting first information to a first network element; wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or the IP address field includes or is equal to the target IP address or the IP address field, where the target IP address or the IP address field is used to indicate an IP address or an IP address field accessed by a target terminal served by the first network element, and the target identifier is used to indicate a network element that needs to pass when the target terminal accesses the target IP address or the IP address field.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier may be sent to the first network element, or the corresponding relation between the first IP address or the IP address segment and the target identifier may be sent, so that the first network element may determine the optimal IP address or the IP address segment that the target terminal may access, and it may be ensured that after the data network accessed by the target terminal changes, the target terminal may also determine the optimal access position under the current data network based on the target identifier.
Optionally, the processor 2001 is configured to:
before the second network element sends first information to a first network element, the second network element receives a first request sent by the first network element, wherein the first request comprises the target identifier;
the second network element obtains the first information based on the first request.
Optionally, the processor 2001 is configured to:
acquiring the first information;
and when the target identifier is sent to the first network element, the first information is sent to the first network element.
Optionally, the processor 2001 is configured to:
and acquiring the first information based on the local cache.
Wherein the local cache stores the first mapping relationship.
Optionally, the second network element is capable of determining the first information based on the target identifier;
the processor 2001 is configured to:
the first information is directly determined based on the target identification.
Optionally, the processor 2001 is configured to:
determining a third network element serving the target terminal;
sending a second request to the third network element, wherein the second request comprises the target identifier;
and receiving the first information sent by the third network element based on the second request.
Optionally, the processor 2001 is configured to:
Acquiring a terminal identifier of the target terminal;
acquiring a network element identifier of the third network element based on the terminal identifier;
and determining the third network element based on the network element identification.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier may be sent to the first network element, or the corresponding relation between the first IP address or the IP address segment and the target identifier may be sent, so that the first network element may determine the optimal IP address or the IP address segment that the target terminal may access, and it may be ensured that after the data network accessed by the target terminal changes, the target terminal may also determine the optimal access position under the current data network based on the target identifier.
Specifically, the embodiment of the application also provides a third network element. Fig. 21 is one of structural diagrams of a third network element implementing an embodiment of the present application, as shown in fig. 21, the third network element 2100 includes: a processor 2101, a network interface 2102, and a memory 2103. The network interface 2102 is, for example, a common public radio interface (common public radio interface, CPRI).
Specifically, the third network element 2100 in the embodiment of the present invention further includes: instructions or programs stored in the memory 2103 and executable on the processor 2101, the processor 2101 invokes the instructions or programs in the memory 2103 to perform the method performed by the modules shown in fig. 13, and achieve the same technical effects, so repetition is avoided and will not be described herein.
Wherein the processor 2101 is configured to:
receiving a second request sent by a second network element, wherein the second request comprises a target identifier;
determining first information based on the second request;
transmitting the first information to the second network element;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to a target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In this embodiment of the present application, by defining a correspondence between an IP address or an IP address segment of an area visited by a target terminal and an identifier of a network element through which the target terminal accesses the area, the first IP address or the IP address segment corresponding to the target identifier may be sent to a second network element, or the correspondence between the first IP address or the IP address segment and the target identifier may be sent, so that the second network element forwards the first network element, and further, the first network element may determine an optimal IP address or the IP address segment that the target terminal may access, so that it may be ensured that, after a data network visited by the target terminal changes, the target terminal may also redetermine an optimal access location under the current data network based on the target identifier.
Specifically, the embodiment of the application also provides a first network element. Fig. 22 is a second schematic structural diagram of a first network element implementing an embodiment of the present application, as shown in fig. 22, the first network element 2200 includes: a processor 2201, a network interface 2202, and a memory 2203. The network interface 2202 is, for example, a common public radio interface (common public radio interface, CPRI).
Specifically, the first network element 2200 of the embodiment of the present invention further includes: instructions or programs stored in the memory 2203 and executable on the processor 2201, the processor 2201 invokes the instructions or programs in the memory 2203 to perform the method performed by the modules shown in fig. 14, and achieve the same technical effects, so that repetition is avoided and thus are not described herein.
Wherein the processor 2201 is configured to:
obtaining a target IP address or an IP address segment;
obtaining second information;
determining a target identification based on the second information;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to the target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be determined after the target IP address or the IP address segment is known, and then the network element which needs to pass through when the target terminal accesses the optimal target IP address or the IP address segment is determined, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
Optionally, the target IP address or IP address segment includes any one or more of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred;
the target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN;
the IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
Optionally, the target identifier includes any one or more of the following:
a data network access identifier DNAI; or (b)
An external DNAI.
Optionally, the processor 2201 is configured to:
and receiving the target IP address or the IP address segment sent by the second network element.
Optionally, the processor 2201 is configured to:
sending a first request to the second network element, wherein the first request comprises the target IP address or the IP address segment;
and receiving the second information sent by the second network element based on the first request.
Optionally, the processor 2201 is configured to:
and receiving the second information when receiving the target IP address or the IP address segment.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be determined after the target IP address or the IP address segment is known, and then the network element which needs to pass through when the target terminal accesses the optimal target IP address or the IP address segment is determined, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
Specifically, the embodiment of the application also provides a second network element. Fig. 23 is a second schematic structural diagram of a second network element implementing an embodiment of the present application, as shown in fig. 23, the second network element 2300 includes: a processor 2301, a network interface 2302 and a memory 2303. The network interface 2302 is, for example, a common public radio interface (common public radio interface, CPRI).
Specifically, the second network element 2300 of the embodiment of the present invention further includes: instructions or programs stored in the memory 2303 and executable on the processor 2301, the processor 2301 invokes the instructions or programs in the memory 2303 to perform the method performed by the modules shown in fig. 15, and achieve the same technical effects, so that repetition is avoided and thus they are not described herein.
Wherein the processor 2301 is configured to:
sending second information to the first network element; wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be determined after the target IP address or the IP address segment is known, and then the network element which needs to pass through when the target terminal accesses the optimal target IP address or the IP address segment is determined, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
Optionally, the processor 2301 is configured to:
before the second network element sends a first identifier to a first network element, receiving a first request sent by the first network element, wherein the first request comprises the target IP address or the IP address segment;
and acquiring the second information based on the first request.
Optionally, the processor 2301 is configured to:
acquiring the second information;
and when the target IP address or the IP address segment is sent to the first network element, the second information is sent to the first network element.
Optionally, the processor 2301 is configured to:
acquiring the second information based on a local cache;
Wherein the second mapping relation is stored in the local cache.
Optionally, the second network element has the capability of determining the second information based on the target IP address or IP address segment;
the processor 2301 is configured to:
and directly determining the second information based on the target IP address or the IP address segment.
Optionally, the processor 2301 is configured to:
determining a third network element serving the target terminal;
sending a second request to the third network element, wherein the second request comprises the target IP address or the IP address segment;
the second network element receives the second information sent by the third network element based on the second request.
Optionally, the processor 2301 is configured to:
acquiring a terminal identifier of the target terminal;
acquiring a network element identifier of the third network element based on the terminal identifier;
and determining the third network element based on the network element identification.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be determined after the target IP address or the IP address segment is known, and then the network element which needs to pass through when the target terminal accesses the optimal target IP address or the IP address segment is determined, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal changes.
Specifically, the embodiment of the application also provides a third network element. Fig. 24 is a second schematic structural diagram of a third network element implementing an embodiment of the present application, as shown in fig. 24, where the third network element 2400 includes: processor 2401, network interface 2402, and memory 2403. The network interface 2402 is, for example, a common public radio interface (common public radio interface, CPRI).
Specifically, the third network element 2400 according to the embodiment of the present invention further includes: instructions or programs stored in the memory 2403 and capable of being executed on the processor 2401, the processor 2401 calls the instructions or programs in the memory 2403 to execute the method executed by each module shown in fig. 16, and achieve the same technical effects, so that repetition is avoided, and thus, description thereof is omitted.
Wherein processor 2401 is to:
receiving a second request sent by a second network element, wherein the second request comprises a target IP address or an IP address segment;
determining second information based on the second request;
transmitting the second information to the second network element;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
In the embodiment of the application, by defining the corresponding relation between the IP address or the IP address segment of the area accessed by the target terminal and the identifier of the network element through which the target terminal accesses the area, the first identifier corresponding to the target IP address or the IP address segment can be sent to the second network element, or the corresponding relation between the target IP address or the IP address segment and the first identifier can be sent, so that the second network element forwards the first network element, and further the first network element can determine the network element which needs to pass when the target terminal accesses the optimal target IP address or the IP address segment, so that the target terminal can determine the optimal access position of the appropriate network element under the current data network after the data network accessed by the target terminal is changed.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the processes of the embodiment of the method for determining an IP address are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the terminal described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the processes of the embodiment of the identification determining method are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the terminal described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run a program or an instruction, implement each process of the above embodiment of the IP address determining method, and achieve the same technical effect, so that repetition is avoided, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, or the like.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is configured to run a program or an instruction, implement each process of the above-mentioned identifier determining method embodiment, and achieve the same technical effect, so as to avoid repetition, and not be repeated here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, or the like.
The embodiments of the present application further provide a computer program/program product, where the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement each process of the above-mentioned embodiments of the IP address determining method, and the same technical effects can be achieved, so that repetition is avoided, and details are not repeated here.
The embodiments of the present application further provide a computer program/program product, where the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement each process of the above-mentioned embodiment of the identification determination method, and the same technical effects are achieved, so that repetition is avoided, and details are not repeated herein.
The embodiment of the application also provides an IP address determining system, which comprises: a first network element, a second network element and a third network element, the first network element being operable to perform the steps of the IP address determination method as described above, the second network element being operable to perform the steps of the IP address determination method as described above, the third network element being operable to perform the steps of the IP address determination method as described above.
The embodiment of the application also provides an identification determining system, which comprises: a first network element, a second network element and a third network element, the first network element being operable to perform the steps of the identity determination method as described above, the second network element being operable to perform the steps of the identity determination method as described above, the third network element being operable to perform the steps of the identity determination method as described above.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.
Claims (38)
1. An internet protocol, IP, address determination method, comprising:
the first network element obtains a target identifier;
the first network element obtains first information;
the first network element determines a target IP address or an IP address segment based on the first information;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to the target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
2. The IP address determination method of claim 1, wherein the target IP address or IP address field comprises any one or more of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred;
The target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN;
the IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
3. The IP address determination method according to claim 1 or 2, wherein the destination identification comprises any one or more of:
a data network access identifier DNAI; or (b)
An external DNAI.
4. A method of determining an IP address according to any of claims 1-3, wherein the first network element obtaining the destination identifier comprises:
the first network element receives the target identifier sent by the second network element.
5. The IP address determining method of claim 4, wherein the first network element obtaining the first information comprises:
the first network element sends a first request to the second network element, wherein the first request comprises the target identifier;
the first network element receives the first information sent by the second network element based on the first request.
6. The IP address determining method of claim 4, wherein the first network element obtaining the first information comprises:
And the first network element receives the first information when receiving the target identifier.
7. An IP address determining method, comprising:
the second network element sends first information to the first network element;
the first information includes at least one of:
wherein, the first mapping relation;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier;
the first IP address or the IP address field includes or is equal to the target IP address or the IP address field, where the target IP address or the IP address field is used to indicate an IP address or an IP address field accessed by a target terminal served by the first network element, and the target identifier is used to indicate a network element that needs to pass when the target terminal accesses the target IP address or the IP address field.
8. The IP address determination method of claim 7, wherein the method further comprises:
before the second network element sends first information to a first network element, the second network element receives a first request sent by the first network element, wherein the first request comprises the target identifier;
The second network element obtains the first information based on the first request.
9. The IP address determining method of claim 7, wherein the second network element sends the first information to the first network element, comprising:
the second network element acquires the first information;
and when the second network element sends the target identifier to the first network element, the second network element sends the first information to the first network element.
10. The IP address determining method according to claim 8 or 9, wherein the acquiring the first information includes:
the second network element obtains the first information based on a local cache;
wherein the local cache stores the first mapping relationship.
11. The IP address determination method according to claim 8 or 9, wherein the second network element has the capability of determining the first information based on the target identification;
the acquiring the first information includes:
the second network element directly determines the first information based on the target identity.
12. The IP address determining method according to claim 8 or 9, wherein the acquiring the first information includes:
the second network element determines a third network element serving the target terminal;
The second network element sends a second request to the third network element, wherein the second request comprises the target identifier;
the second network element receives the first information sent by the third network element based on the second request.
13. The IP address determining method of claim 12, wherein the second network element determining a third network element serving the target terminal comprises:
the second network element obtains a terminal identifier of the target terminal;
the second network element obtains the network element identification of the third network element based on the terminal identification;
and the second network element determines the third network element based on the network element identification.
14. An IP address determining method, comprising:
the third network element receives a second request sent by a second network element, wherein the second request comprises a target identifier;
the third network element determines first information based on the second request;
the third network element sends the first information to the second network element;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to a target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
15. An identification determining method, characterized by comprising
The first network element obtains a target IP address or an IP address segment;
the first network element obtains second information;
the first network element determines a target identifier based on the second information;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment;
the first identifier comprises or is equal to the target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
16. The identification determination method of claim 15, wherein the target IP address or IP address segment comprises any one or more of:
the service server transfers the IP address or IP address segment corresponding to the position to which the service server is to be transferred;
the target terminal accesses an IP address or an IP address segment corresponding to the position of a data network DN;
The IP address or the IP address segment corresponding to the position of the service server to be accessed by the target terminal; or (b)
An IP address or segment of IP addresses corresponding to a first destination identification associated with the destination terminal.
17. The identity determination method of claim 15 or 16, wherein the target identity comprises any one or more of:
a data network access identifier DNAI; or (b)
An external DNAI.
18. The identity determination method according to any one of claims 15-17, wherein the first network element obtaining a target IP address or an IP address segment comprises:
the first network element receives the target IP address or the IP address segment sent by the second network element.
19. The identity determination method of claim 18 wherein the first network element obtaining second information comprises:
the first network element sends a first request to the second network element, wherein the first request comprises the target IP address or the IP address segment;
the first network element receives the second information sent by the second network element based on the first request.
20. The identity determination method of claim 18 wherein the first network element obtaining second information comprises:
The first network element receives the second information when receiving the target IP address or the IP address segment.
21. A method of identity determination, comprising:
the second network element sends second information to the first network element;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
22. The identification determination method of claim 21, wherein the method further comprises:
before the second network element sends a first identifier to a first network element, the second network element receives a first request sent by the first network element, wherein the first request comprises the target IP address or the IP address segment;
The second network element obtains the second information based on the first request.
23. The identity determination method of claim 21 wherein the second network element sending second information to the first network element comprises:
the second network element acquires the second information;
and when the second network element sends the target IP address or the IP address segment to the first network element, the second network element sends the second information to the first network element.
24. The identification determination method according to claim 22 or 23, wherein the acquiring the second information includes:
the second network element obtains the second information based on local caching;
wherein the second mapping relation is stored in the local cache.
25. The identity determination method according to claim 22 or 23, wherein the second network element is provided with the capability to determine the second information based on the target IP address or IP address field;
the obtaining the second information includes:
the second network element directly determines the second information based on the target IP address or the IP address field.
26. The identification determination method according to claim 22 or 23, wherein the acquiring the second information includes:
The second network element determines a third network element serving the target terminal;
the second network element sends a second request to the third network element, wherein the second request comprises the target IP address or the IP address segment;
the second network element receives the second information sent by the third network element based on the second request.
27. The identity determination method of claim 26, wherein the second network element determines a third network element serving the target terminal, comprising:
the second network element obtains a terminal identifier of the target terminal;
the second network element obtains the network element identification of the third network element based on the terminal identification;
and the second network element determines the third network element based on the network element identification.
28. A method of identity determination, comprising:
the third network element receives a second request sent by a second network element, wherein the second request comprises a target IP address or an IP address segment;
the third network element determines second information based on the second request;
the third network element sends the second information to the second network element;
wherein the second information includes at least one of:
a second mapping relationship;
A first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment;
the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
29. An IP address determining apparatus, comprising:
the first acquisition module is used for acquiring a target identifier;
the second acquisition module is used for acquiring the first information;
the first determining module is used for determining a target IP address or an IP address segment based on the first information;
wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to the target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
30. An IP address determining apparatus, comprising:
the first sending module is used for sending first information to the first network element; wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or the IP address field includes or is equal to the target IP address or the IP address field, where the target IP address or the IP address field is used to indicate an IP address or an IP address field accessed by a target terminal served by the first network element, and the target identifier is used to indicate a network element that needs to pass when the target terminal accesses the target IP address or the IP address field.
31. An IP address determining apparatus, comprising:
the first receiving module is used for receiving a second request sent by a second network element, wherein the second request comprises a target identifier;
a second determining module configured to determine first information based on the second request;
a second sending module, configured to send the first information to the second network element;
Wherein the first information includes at least one of:
a first mapping relationship;
a first IP address or IP address field;
the first IP address or the IP address segment corresponds to a target identifier, and the first mapping relation is used for representing the corresponding relation between the first IP address or the IP address segment and the target identifier; the first IP address or IP address segment comprises or is equal to a target IP address or IP address segment; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
32. An identification determining apparatus, comprising
The third acquisition module is used for acquiring a target IP address or an IP address segment;
a fourth acquisition module for acquiring second information;
a third determining module, configured to determine a target identifier based on the second information;
wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to the target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
33. An identification determining apparatus, comprising:
a third sending module, configured to send second information to the first network element; wherein the second information includes at least one of:
a second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
34. An identification determining apparatus, comprising:
a second receiving module, configured to receive a second request sent by a second network element, where the second request includes a target IP address or an IP address field;
a fourth determining module configured to determine second information based on the second request;
a fourth sending module, configured to send the second information to the second network element;
wherein the second information includes at least one of:
A second mapping relationship;
a first identifier;
the first identifier corresponds to a target IP address or an IP address segment, and the second mapping relation is used for representing the corresponding relation between the first identifier and the target IP address or the IP address segment; the first identifier comprises or is equal to a target identifier; the target IP address or the IP address segment is used for indicating the IP address or the IP address segment accessed by the target terminal served by the first network element, and the target identifier is used for indicating the network element which needs to pass when the target terminal accesses the target IP address or the IP address segment.
35. A first network element comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, performs the steps of the IP address determination method of any one of claims 1 to 6, or performs the steps of the identification determination method of any one of claims 15 to 20.
36. A second network element comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, performs the steps of the IP address determination method of any one of claims 7 to 13, or performs the steps of the identification determination method of any one of claims 21 to 27.
37. A third network element comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, performs the steps of the IP address determination method of claim 14, or performs the steps of the identification determination method of claim 28.
38. A readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implements the steps of the IP address determination method according to any of claims 1-14 or the steps of the identification determination method according to any of claims 15 to 28.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210108268.1A CN116566950A (en) | 2022-01-28 | 2022-01-28 | IP address determining method and device, identification determining method and device and network element |
PCT/CN2023/073545 WO2023143508A1 (en) | 2022-01-28 | 2023-01-28 | Ip address determination method and apparatus, identifier determination method and apparatus, and network element |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210108268.1A CN116566950A (en) | 2022-01-28 | 2022-01-28 | IP address determining method and device, identification determining method and device and network element |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116566950A true CN116566950A (en) | 2023-08-08 |
Family
ID=87470628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210108268.1A Pending CN116566950A (en) | 2022-01-28 | 2022-01-28 | IP address determining method and device, identification determining method and device and network element |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116566950A (en) |
WO (1) | WO2023143508A1 (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109314893B (en) * | 2017-04-14 | 2020-09-29 | 华为技术有限公司 | Switching method and device |
US11218438B2 (en) * | 2019-04-12 | 2022-01-04 | Huawei Technologies Co., Ltd. | System, apparatus and method to support data server selection |
CN112752300B (en) * | 2020-12-29 | 2022-09-20 | 锐捷网络股份有限公司 | Method and device for realizing local distribution |
CN116405461A (en) * | 2021-07-23 | 2023-07-07 | 腾讯科技(深圳)有限公司 | Data processing method, network element equipment and readable storage medium |
-
2022
- 2022-01-28 CN CN202210108268.1A patent/CN116566950A/en active Pending
-
2023
- 2023-01-28 WO PCT/CN2023/073545 patent/WO2023143508A1/en unknown
Also Published As
Publication number | Publication date |
---|---|
WO2023143508A1 (en) | 2023-08-03 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20240179105A1 (en) | Policy Determining or Resource Allocation Method for Computing Service and Network Element | |
CN116566950A (en) | IP address determining method and device, identification determining method and device and network element | |
CN117692978A (en) | Terminal policy processing method and device and communication equipment | |
CN117692982A (en) | Routing policy execution condition processing method, device and equipment | |
CN118785131A (en) | Parameter configuration processing method and device and related equipment | |
CN116867020A (en) | Terminal route selection policy URSP determining method, terminal and network equipment | |
CN116828444A (en) | Information acquisition method and device | |
CN117295133A (en) | Communication method and device | |
CN117412283A (en) | Information processing method, apparatus, communication device, and readable storage medium | |
CN117750349A (en) | Parameter acquisition method and device, first network function and second network function | |
CN116915532A (en) | Smart home communication method, device and readable storage medium | |
CN117979374A (en) | Measurement configuration method, device, equipment, system and storage medium | |
CN117560790A (en) | Session establishment method, session establishment device, communication equipment and network element | |
CN117633851A (en) | Equipment association method and device | |
CN116567776A (en) | Information transmission method, device and network function | |
CN117241230A (en) | IMS service acquisition method, terminal and network equipment | |
CN116847297A (en) | Multicast service processing method, device and readable storage medium | |
CN117294679A (en) | IMS service acquisition method, terminal, network equipment and medium | |
CN116567709A (en) | Equipment identifier distribution method, device, network function and storage medium | |
CN116567841A (en) | Policy processing method, device and network function | |
CN117479142A (en) | Configuration information acquisition method and device and configuration information storage method and device | |
CN118175529A (en) | Communication method, terminal and core network function | |
CN117692986A (en) | Method, device and equipment for processing routing policy execution result | |
CN117062097A (en) | Configuration method and device of UE policy information, first network function and terminal | |
CN115883511A (en) | DNS configuration processing method and device, communication equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |