WO2019174437A1 - Address management method, device and system - Google Patents

Address management method, device and system Download PDF

Info

Publication number
WO2019174437A1
WO2019174437A1 PCT/CN2019/075445 CN2019075445W WO2019174437A1 WO 2019174437 A1 WO2019174437 A1 WO 2019174437A1 CN 2019075445 W CN2019075445 W CN 2019075445W WO 2019174437 A1 WO2019174437 A1 WO 2019174437A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
information
management network
session management
address
Prior art date
Application number
PCT/CN2019/075445
Other languages
French (fr)
Chinese (zh)
Inventor
孙德奎
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2019174437A1 publication Critical patent/WO2019174437A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/30Managing network names, e.g. use of aliases or nicknames
    • H04L61/3015Name registration, generation or assignment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5061Pools of addresses

Definitions

  • the present application relates to the field of communications technologies, and in particular, to an address management method, device, and system.
  • a session management function (SMF) network element can control multiple user plane function (UPF) network elements, and at the same time, one The UPF network element can be controlled by multiple SMF network elements.
  • SMF session management function
  • UPF user plane function
  • a UPF network element In a scenario in which a UPF network element is controlled by multiple SMF network elements, downlink data belonging to different packet data unit (PDU) sessions in a data network (DN) is passed through corresponding PDUs. The tunnel corresponding to the session is sent to the terminal, and different Internet Protocol (IP) addresses need to be assigned to different PDU sessions. Otherwise, the UPF network element cannot distinguish the downlink data whose destination address is the same IP address. The tunnel is sent to the terminal.
  • PDU packet data unit
  • DN data network
  • IP Internet Protocol
  • the prior art provides an address management method for segmenting an IP address pool corresponding to a UPF network element. For example, if a UPF network element is connected to three SMF network elements, the IP address pool corresponding to the UPF network element can be divided into three different segments, which are respectively configured on three different SMF network elements. In this way, since different SMF network elements are configured with different IP address segments, IP addresses allocated by different SMF network elements to different PDU sessions do not overlap.
  • the foregoing method can avoid the problem of duplicate IP addresses allocated to different PDU sessions, if the number of SMF network elements is large, or the number of IP addresses in the IP address pool corresponding to the UPF network element is limited, it may result in The IP address cannot be used effectively. For example, if the IP address in the IP address segment configured on the SMF1 network element is exhausted, but the IP address segment configured on the other SMF network element still has an unused IP address, if SMF1 is selected. If the NE is served by the PDU, the terminal will still be unable to access the IP address of the UPF NE.
  • the embodiment of the present application provides an address management method, device, and system, so that not only the problem of duplicate IP addresses allocated to different PDU sessions but also the IP address in the address pool can be effectively utilized.
  • the first aspect provides an address management method, where the method includes: the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, wherein the first information includes one or more traces. At least one of the information of the area TA or the one or more data network names DNN; the session management network element sends a first notification message to the network device, where the first notification message is used to indicate that the session management network element is associated with the first The address resource corresponding to a message is insufficient. Based on the solution, the session management network element sends the first notification message to the network device, so that the network device can learn the state of the address resource corresponding to the first information in the session management network element, and therefore can be selected in the subsequent terminal session establishment process.
  • the session management network element with insufficient address resources is circumvented according to the state of the address resource, and the session management network element with sufficient address resources is selected, so that the problem of duplicate IP addresses assigned to different sessions can be avoided, and You can effectively use the IP address in the address pool.
  • the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, including: after the session management network element allocates an Internet Protocol IP address to the first terminal, The session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, wherein the information of the one or more TAs includes information of the TA corresponding to the first terminal, the one or more The DNNs corresponding to the first terminal are included in the DNNs.
  • the network device includes a first mobility management network element serving the first terminal; the method further includes: the session management network element storing the identifier of the first mobility management network element to the notified a mobile management network element list, wherein the notified mobile management network element list includes the mobile management network element that the session management network element has notified that the address resource corresponding to the first information in the session management network element is insufficient logo.
  • the session management network element can store the notified mobile management network element list, so that the corresponding mobile management network element can be notified in time when the address resource corresponding to the first information is sufficient, so that the mobile management network element is When the session management network element is selected in the subsequent terminal session establishment process, the session management network element may be selected.
  • the method further includes: the session management network element creates the notified Mobile management NE list. That is, in the embodiment of the present application, the address resource corresponding to the first information may be sufficient. After the session management network element allocates an IP address to the first terminal, the address resource becomes insufficient, and thus needs to be created. Notify the mobile management NE list.
  • the method further includes: the session management network element is the second After the terminal allocates the IP address, the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, and the information of the one or more TAs includes the TA corresponding to the second terminal.
  • the one or more DNNs include a DNN corresponding to the second terminal; the session management network element sends the first notification message to a second mobility management network element serving the second terminal; the session management network element is created The mobile management network element list has been notified.
  • the address resource corresponding to the first information may have insufficiently existed before the IP address is allocated to the first terminal, but the first mobility management network element does not know the session management network element.
  • the address resource corresponding to the first information has not appeared enough.
  • the method further includes: the session management network element determining that the address resource corresponding to the first information in the session management network element is sufficient; the session management network element is notified to the notified mobile management network element list
  • the mobility management network element corresponding to the identifier of the mobility management network element sends a second notification message, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element is sufficient.
  • the corresponding mobility management network element may be notified in time, so that the mobility management network element selects the session management network in the subsequent terminal session establishment process. In the meta-time, you can select the session management NE.
  • the network device includes a mobility management network element or a network function storage network element connected by the session management network element; the method further includes: the session management network element determining the session management network element and the first The address resource corresponding to the information is sufficient; the session management network element sends a second notification message to the network device, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element is sufficient. That is, in the embodiment of the present application, when the address resource corresponding to the first information is sufficient, the corresponding network device may be notified in time, so that the network device can select the session management network element in the subsequent terminal session establishment process. Select the session management NE.
  • the information of the one or more TAs includes information of a TA corresponding to the third terminal, where the one or more DNNs include a DNN corresponding to the third terminal; and the session management network element determines Before the address resource corresponding to the first information in the session management network element is sufficient, the method further includes: releasing, by the session management network element, an IP address allocated for the third terminal.
  • the address resource corresponding to the first information in the session management network element is insufficient, and the ratio of available address resources in the address resource corresponding to the first information in the session management network element is less than or equal to a first preset value; the address resource corresponding to the first information in the session management network element is sufficient, and the ratio of the available address resources in the address resource corresponding to the first information in the session management network element is greater than or equal to the second pre- A value is set, wherein the first preset value is less than or equal to the second preset value.
  • the second notification message carries the first information and the address sufficient indication; or the second notification message carries the identifier, the first information, and the address sufficient indication of the session management network element.
  • the first notification message carries the first information and the address insufficient indication; or the first notification message carries the identifier of the session management network element, the first information, and the address insufficient indication.
  • a second aspect provides an address management method, where the method includes: receiving, by a network device, a first notification message from a first session management network element, where the first notification message is used to indicate that the first session management network element is The address resource corresponding to the information is insufficient, wherein the first information includes information of one or more tracking areas TA, or at least one of one or more data network names DNN; the network device stores the first session management network The information of the address resource corresponding to the first information in the meta is insufficient.
  • the network device can learn the state of the address resource corresponding to the first information in the first session management network element, and therefore, when the session management network element is selected in the subsequent terminal session establishment process, according to the state of the address resource, The session management network element with insufficient address resources is selected, and the session management network element with sufficient address resources is selected, so that the problem of duplicate IP addresses assigned to different sessions can be avoided, and the IP address in the address pool can be effectively utilized.
  • the first session management network element includes a session management network element serving the first terminal; correspondingly, the information of the one or more TAs includes information of the TA corresponding to the first terminal, The DNN corresponding to the first terminal is included in the one or more DNNs.
  • the network device includes a first mobility management network element serving the first terminal; the method further comprising: the first mobility management network element receiving a session establishment request from the second terminal, the session The establishment request carries the second information, where the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal; the first mobility management network element is configured according to the second information, and the second information The information that the one or more address resources are insufficient, and the second session management network element is selected to serve the second terminal, where the one or more address resources include one or more session management network elements and include the second information. The information corresponding to the address resource.
  • the first mobility management network element can learn the state of the address resource corresponding to the first information in the first session management network element, and therefore, when the session management network element is selected in the subsequent terminal session establishment process, according to the address
  • the state of the resource, the session management network element that circumvents the insufficient address resources, and the session management network element with sufficient address resources can avoid the problem of duplicate IP addresses assigned to different sessions, and can effectively utilize the IP in the address pool. address.
  • the network device includes a network function storage network element; the method further includes: the network function storage network element receiving a request message from a second mobility management network element serving the second terminal, the request message Carrying the second information, where the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal; the network function stores the network element according to the second information, and one or more stored Determining an available list of session management network elements, wherein the one or more address resources include address resources corresponding to information including the second information in one or more session management network elements; The network function storage network element sends the available session management network element list to the second mobility management network element, where the available session management network element list is used to select the second session management network element to serve the second terminal.
  • the network function storage network element can learn the state of the address resource corresponding to the first information in the first session management network element, and therefore, according to the address resource, when the session management network element is selected in the subsequent terminal session establishment process.
  • the state of the session management network element that avoids insufficient address resources, and selects the session management network element with sufficient address resources, thereby avoiding the problem of duplicate IP addresses assigned to different sessions, and effectively utilizing the IP address in the address pool.
  • the available session management network element list includes the second session management network element, and the address resource corresponding to the third information in the second session management network element is sufficient, wherein the third information is sufficient.
  • Information including one or more TAs, or at least one of one or more DNNs, the second information being included in the third information.
  • the method further includes: receiving, by the network device, a second notification message from the first session management network element, where the second notification message is used to indicate that the first session management network element is related to the first The address resource corresponding to the information is sufficient; the network device deletes the stored information of the first session management network element that is insufficient for the address resource corresponding to the first information.
  • the corresponding network device may be notified in time, so that the network device deletes the stored first session management network element and the first information. If the corresponding address resource is insufficient, the session management network element may be selected when the session management network element is selected in the subsequent terminal session establishment process.
  • a session management network element having the function of implementing the method of any of the above first aspects.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • a fourth aspect provides a session management network element, including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the session management network element is running, the processor executes the computer execution instruction stored by the memory
  • the session management network element performs the address management method according to any of the above first aspects.
  • a fifth aspect provides a session management network element, including: a processor; the processor is configured to be coupled to a memory, and after reading an instruction in the memory, execute any one of the foregoing first aspects according to the instruction The address management method described.
  • a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the address management of any of the above first aspects method.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the address management method of any of the above first aspects.
  • a chip system includes a processor, configured to support a session management network element to implement the functions involved in the foregoing first aspect, for example, determining an address corresponding to the first information in the session management network element. Not enough resources.
  • the chip system further includes a memory for storing program instructions and data necessary for the session management network element.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • a network device having the function of implementing the method of any of the above second aspects.
  • This function can be implemented in hardware or in hardware by executing the corresponding software.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • a network device includes: a processor and a memory; the memory is configured to store a computer execution instruction, and when the network device is running, the processor executes the computer execution instruction stored in the memory to enable the The network device performs the address management method according to any of the above second aspects.
  • a network device comprising: a processor; the processor is configured to be coupled to a memory, and after reading an instruction in the memory, execute according to the instruction according to any one of the foregoing second aspects The address management method described.
  • a twelfth aspect a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the address of any of the above second aspects Management method.
  • a computer program product comprising instructions which, when run on a computer, cause the computer to perform the address management method of any of the above second aspects.
  • a chip system comprising a processor for supporting a network device to implement the functions involved in the second aspect, for example, according to the second information, and the stored one or more address resources If the information is insufficient, the second session management network element is selected to serve the second terminal.
  • the chip system further includes a memory for storing necessary program instructions and data of the network device.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • an address management system including a session management network element and a network device.
  • the session management network element is configured to determine that the address resource corresponding to the first information in the session management network element is insufficient, and send a first notification message to the network device, where the first notification message is used to indicate the session management.
  • the address resource corresponding to the first information in the network element is insufficient, the first information includes information of one or more tracking areas TA, or at least one of one or more data network names DNN; and the network device is configured to receive from The first notification message of the session management network element.
  • FIG. 1 is a schematic structural diagram of an address management system according to an embodiment of the present application.
  • FIG. 2 is a schematic structural diagram of a 5G network according to an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of hardware of a communication device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a correspondence between an address resource and a TA according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of correspondence between address resources and DNs according to an embodiment of the present disclosure
  • FIG. 6 is a schematic diagram of correspondence between address resources and DN and TA according to an embodiment of the present disclosure
  • FIG. 7 is a schematic flowchart 1 of an address management method according to an embodiment of the present application.
  • FIG. 8 is a second schematic flowchart of an address management method according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a session management network element according to an embodiment of the present disclosure.
  • FIG. 10 is a schematic structural diagram of a network device according to an embodiment of the present disclosure.
  • the words “first”, “second”, and the like are used to distinguish the same items or similar items whose functions and functions are substantially the same. Those skilled in the art can understand that the words “first”, “second” and the like do not limit the number and execution order, and the words “first”, “second” and the like are not necessarily limited.
  • the network architecture and the service scenario described in the embodiments of the present application are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present application, and are not limited to the technical solutions provided by the embodiments of the present application.
  • the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
  • an address management system 10 is provided in the embodiment of the present application.
  • the address management system 10 includes a session management network element 101 and a network device 102.
  • the session management network element 101 is configured to determine that the address resource corresponding to the first information in the session management network element 101 is insufficient, and the first information includes information of one or more tracking areas (TAs), or one
  • TAs tracking areas
  • DNN data network name
  • the session management network element 101 is further configured to send a first notification message to the network device 102, where the first notification message is used to indicate that the address resource corresponding to the first information in the session management network element 101 is insufficient.
  • the network device 102 is configured to receive a first notification message from the session management network element 101.
  • the network device 102 is further configured to store information that the address management network element 101 has insufficient address resources corresponding to the first information, which is not specifically limited in this embodiment of the present application.
  • the address resource in the embodiment of the present application is insufficient, and the ratio of the available address resources in the address resource is less than or equal to the first preset value; the sufficient address resource includes the ratio of the available address resources in the address resource is greater than or equal to the second pre-predetermined A value is set, wherein the first preset value is less than or equal to the second preset value.
  • both the first preset value and the second preset value are both 1%, if the ratio of the currently available address resources in an address resource is greater than or equal to 1%, then the address resource may be determined to be sufficient; After the IP address in the address resource is allocated to the terminal, the ratio of the currently available address resource in the address resource is less than 1%, and the address resource becomes insufficient at this time; if the subsequent terminal initiates the address release, the address resource is made.
  • the address resource becomes sufficient; if the terminal is assigned an IP address in the address resource at this time, the proportion of available address resources in the address resource is If the value is less than 1%, the address resource becomes insufficient again, and the state of the address resource is frequently switched. This phenomenon is called a ping-pong effect.
  • the first preset value is 1% and the second preset value is 2%
  • This threshold interval can be used to avoid ping-pong effects.
  • the ratio of the foregoing address resources in the embodiment of the present application may also be replaced by the number of available address resources; or the ratio of unavailable address resources or the number of unavailable address resources may be used to represent sufficient address resources.
  • the address resource is not sufficient, and the embodiment of the present application does not specifically limit this.
  • the following embodiments of the present application are merely exemplary to determine whether the address resources are sufficient according to the ratio of available address resources, which are collectively described herein, and are not described herein again.
  • the network device 102 in the embodiment of the present application may include, for example, a mobility management network element or a network function storage network element, which is not specifically limited in this embodiment of the present application.
  • the session management network element 101 and the network device 102 in this embodiment may directly communicate with each other, and may also perform communication by forwarding of other devices, which is not specifically limited in this embodiment of the present application.
  • the network device can learn the state of the address resource corresponding to the first information in the session management network element, and therefore, when the session management network element is selected in the subsequent terminal session establishment process, The state of the address resource, the session management network element that circumvents the insufficient address resources, and the session management network element with sufficient address resources, thereby avoiding the problem of duplicate IP addresses assigned to different sessions, and effectively utilizing the address pool IP address.
  • the address management system shown in FIG. 1 can be applied to the current 5G network and other networks in the future, which is not specifically limited in this embodiment of the present invention.
  • the network element or entity corresponding to the foregoing session management network element may be an SMF network element in the 5G network.
  • the network element or the entity corresponding to the network function storage network element may be a network function repository function (NRF) network element in the 5G network, and the network element or entity corresponding to the foregoing mobility management network element may be It is an access and mobility management function (AMF) network element in a 5G network.
  • NRF network function repository function
  • AMF access and mobility management function
  • the 5G network may further include an access device, a UPF network element, a unified data management (UDM) network element, a policy control function (PCF) network element, and an authentication.
  • AUSF authentication server function
  • the terminal accesses the 5G core network through the access device, and the terminal communicates with the AMF network element through the Next Generation (N)1 interface (N1).
  • the device communicates with the AMF network element through the N2 interface (N2).
  • the access device communicates with the UPF network element through the N3 interface (N3).
  • the AMF network element communicates with the SMF network element through the N11 interface (N11).
  • the AMF network element passes.
  • the N8 interface (N8 for short) communicates with the UDM network element.
  • the AMF network element communicates with the AUSF network element through the N12 interface (N12 for short).
  • the AMF network element communicates with the PCF network element through the N15 interface (N15 for short), and the SMF network element passes the N7 interface. (N7) communicates with the PCF network element.
  • the SMF network element communicates with the UPF network element through the N4 interface (N4).
  • the NRF network element communicates with the UPF network element and the SMF network element respectively.
  • the UPF network element passes the N6 interface (N6 for short). Access to the data network.
  • the name of the interface between the network elements in FIG. 2 is only an example. In the specific implementation, the interface name may be another name, which is not specifically limited in this embodiment of the present application.
  • the terminal, the access device, the NRF network element, the AMF network element, the SMF network element, the UPF network element, the AUSF network element, the UDM network element, or the PCF network element in FIG. 2 are only one name, and the name is The device itself is not limited.
  • the network element or entity corresponding to the terminal, the access device, the AMF network element, the SMF network element, the UPF network element, the AUSF network element, the UDM network element, or the PCF network element may also be other
  • the name of the application is not specifically limited in this embodiment.
  • the UPF network element may be replaced by a UPF or UPF entity; the UDM network element may also be replaced by a home subscriber server (HSS) or a user subscription database (USD) or a database entity. Etc., hereby make a unified explanation, the details are not described below.
  • HSS home subscriber server
  • USD user subscription database
  • the terminal involved in the embodiment of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem; Including user unit (subscriber unit), cellular phone, smart phone, wireless data card, personal digital assistant (PDA) computer, tablet computer, wireless modem (modem), handheld device Handheld, laptop computer, cordless phone or wireless local loop (WLL) station, machine type communication (MTC) terminal, user equipment (user equipment) , UE), mobile station (MS), terminal device or relay user equipment.
  • the relay user equipment may be, for example, a 5G residential gateway (RG).
  • RG 5G residential gateway
  • the access device involved in the embodiment of the present application refers to a device that accesses the core network, and may be, for example, a base station, a broadband network gateway (BNG), an aggregation switch, and a non-third-generation cooperation.
  • the 3rd generation partnership project (3GPP) accesses the network element and the like.
  • the base station may include various forms of base stations, such as macro base stations, micro base stations (also referred to as small stations), relay stations, access points, and the like.
  • the session management network element or the network device in the embodiment of the present disclosure may be implemented by one device, or may be implemented by multiple devices, or may be a function module in a device.
  • FIG. 3 is a schematic diagram showing the hardware structure of a communication device according to an embodiment of the present application.
  • the communication device 300 includes at least one processor 301, a communication line 302, a memory 303, and at least one communication interface 304.
  • the processor 301 can be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more for controlling the execution of the program of the present application. integrated circuit.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • Communication line 302 can include a path for communicating information between the components described above.
  • the communication interface 304 uses a device such as any transceiver for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
  • a device such as any transceiver for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
  • RAN radio access network
  • WLAN wireless local area networks
  • the memory 303 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions.
  • the dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this.
  • the memory may be present independently and connected to the processor via communication line 302. The memory can also be integrated with the processor.
  • the memory 303 is configured to store computer execution instructions for executing the solution of the present application, and is controlled by the processor 301 for execution.
  • the processor 301 is configured to execute computer execution instructions stored in the memory 303, thereby implementing the address management method provided by the following embodiments of the present application.
  • the computer-executed instructions in the embodiment of the present application may also be referred to as an application code, which is not specifically limited in this embodiment of the present application.
  • processor 301 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
  • communication device 300 can include multiple processors, such as processor 301 and processor 308 in FIG. Each of these processors can be a single-CPU processor or a multi-core processor.
  • processors herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
  • the communication device 300 can also include an output device 305 and an input device 306.
  • Output device 305 is in communication with processor 301 and can display information in a variety of ways.
  • the output device 305 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. Wait.
  • Input device 306 is in communication with processor 301 and can receive user input in a variety of ways.
  • input device 306 can be a mouse, keyboard, touch screen device, or sensing device, and the like.
  • the communication device 300 described above may be a general purpose device or a dedicated device.
  • the communication device 300 can be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device, or the like in FIG. device.
  • PDA personal digital assistant
  • the embodiment of the present application does not limit the type of the communication device 300.
  • the address management system shown in FIG. 1 is applied to the 5G network shown in FIG. 2 as an example, and the manner in which the SMF network element determines whether the address resource corresponding to the first information in the SMF network element is sufficient is as follows:
  • the SMF network element determines whether the resources in the address pool corresponding to a certain UPF network element configured on the SMF network element are sufficient. If not, the SMF network element determines the SMF network element and the first information. The corresponding address resource is insufficient; if sufficient, the SMF network element is equivalent to determining that the address resource corresponding to the first information in the SMF network element is sufficient. That is, the first information at this time includes at least one of information of all TAs corresponding to the UPF network element or all DNNs corresponding to the UPF network element.
  • the address resource 1 in FIG. 4 refers to the resource in the address pool corresponding to the UPF1 network element configured on the SMF network element
  • the address resource 2 in FIG. 4 refers to the UPF2 network element configured on the SMF network element.
  • the service network element of UPF1 corresponds to TA1 and TA2
  • the UPF2 network element corresponds to TA3 and TA2.
  • the SMF network element determines that the address resource corresponding to the information of the TA1 and the information of the TA2 is insufficient; or, if the SMF network element determines that the address resource is sufficient, it is equivalent to the SMF.
  • the network element determines that the address resources corresponding to the information of TA1 and the information of TA2 are sufficient.
  • the SMF network element first determines whether the resources in the address pool corresponding to a certain UPF network element configured on the SMF network element are sufficient; if sufficient, the situation is similar to that in the mode one, and details are not described herein; Sufficiently, it is checked whether one or more TAs corresponding to the UPF network element are covered by other UPF network elements controlled or managed by the SMF network element, and only resources in the address pool corresponding to all UPF network elements corresponding to one TA appear. When the number is insufficient, the address resource of the TA is considered insufficient. That is to say, the first information at this time includes one or more of the information of the TA corresponding to the UPF network element.
  • the address resource 1 is insufficient, but the address resource 2 is sufficient, the address resource corresponding to TA3 can be regarded as sufficient, and the address resource corresponding to TA2 can also be regarded as sufficient; if the current SMF network element is sufficient If no UPF network element covers TA1 in other UPF network elements that are controlled or managed, the address resource corresponding to TA1 is considered insufficient.
  • Manner 3 The address resource for a certain UPF network element can be segmented according to the DNN. Therefore, whether the SMF network element determines whether the address resource is sufficient may be sufficient to determine whether the address resource corresponding to a certain DNN corresponding to the UPF network element is sufficient. When all the UPF network elements configured on the SMF network element are insufficient for the address resources of the DNN, the address resources corresponding to the DNN are considered insufficient. That is to say, the first information at this time includes one or more of the DNNs corresponding to the UPF network element.
  • both the UPF1 network element and the UPF2 network element correspond to DNN1 and DNN2, and the address resources corresponding to the UPF1 network element need to be segmented according to the DNN, including: address resources 1-1 and DNN2 corresponding to DNN1.
  • the corresponding address resource 1-2; the address resource corresponding to the UPF2 network element needs to be segmented according to the DNN, including: address resource 2-1 corresponding to DNN1 and address resource 2-2 corresponding to DNN2.
  • the UPF1 network element is insufficient for the address resource of the DNN1 (ie, the address resource 1-1), only the other UPF network elements managed by the SMF network element are for the address resource of the DNN1 (such as the address resource 2-1). If the address is insufficient, the address resource corresponding to DNN1 will be considered insufficient.
  • the address resource 1-1 and the address resource 2-1 are sufficient, refer to the embodiment shown in FIG. 1 , and details are not described herein again.
  • the address resources 1-1 corresponding to the DNN1 and the address resources 1-2 corresponding to the DNN2 may overlap or may not overlap; the address resources corresponding to the address resources 2-1 and DNN2 corresponding to the DNN1. 2-2 may overlap or may not overlap, and the embodiment of the present application does not specifically limit this.
  • the address resource corresponding to a DNN corresponding to the UPF network element specifically refers to an address resource that can be allocated for the session when the session establishment request carries a certain DNN corresponding to the UPF network element. That is, if the session establishment request carries a certain DNN corresponding to the UPF network element, the address in the address resource corresponding to the DNN corresponding to the UPF network element needs to be allocated to the session. For example, if the session establishment request carries the DNN1 corresponding to the UPF1 network element, the address in the address resource 1-1 corresponding to the DNN1 corresponding to the UPF1 network element needs to be allocated to the session.
  • Manner 4 The combination of mode 2 and mode 3, that is, the first information in the mode includes one or more of the DNNs corresponding to the UPF network element, and one or more of the TAs corresponding to the UPF network element.
  • the address resource belonging to a certain DNN corresponding to the TA appears insufficient on the SMF network element.
  • the address resource corresponding to the TA and the DNN may be determined as follows:
  • the SMF network element first determines whether other UPF network elements can cover the TA;
  • the SMF network element determines whether the address resources of the other UPF network elements that can cover the TA are sufficient for the DNN.
  • the UPF1 network element corresponds to TA1 and TA2, and the UPF2 network element corresponds to TA3 and TA2; the UPF1 network element and the UPF2 network element both correspond to DNN1 and DNN2, and the address resources corresponding to the UPF1 network element are classified according to the DNN.
  • the segment includes: the address resource 1-1 corresponding to the DNN1 and the address resource 1-2 corresponding to the DNN2; the address resource corresponding to the UPF2 network element is segmented according to the DNN, including: the address corresponding to the address resource 2-1 and the DNN2 corresponding to the DNN1 Resource 2-2.
  • the SMF network element may determine that the UPF2 network element also covers the TA2. Further, the SMF network element determines that the UPF2 network element addresses the address resource 2-1 of the DNN1. Whether it is sufficient, only the UPF2 network element is insufficient for the address resource 2-1 of DNN1, and the address resources corresponding to DNN1 and TA2 are considered insufficient.
  • the manner of determining whether the address resource 1-1 and the address resource 2-1 are sufficient refer to the embodiment shown in FIG. 1 , and details are not described herein again.
  • the first mode to the fourth mode are merely exemplary implementations for determining whether the address resources corresponding to the first information in the SMF network element are sufficient by several SMF network elements. Of course, there may be other implementations. The embodiment of the present application does not specifically limit this.
  • An address management method includes the following steps:
  • the terminal 1 sends a session establishment request 1 to the SMF1 network element, so that the SMF1 network element receives the session establishment request 1 from the terminal 1.
  • the session establishment request 1 carries the fourth information, where the fourth information includes at least one of the information of the TA corresponding to the terminal 1 or the DNN corresponding to the terminal 1.
  • the information of the TA is used to represent the location information of the terminal 1, and may include, for example, at least one of a TA identifier, a cell identifier, or location information, which is not specifically limited in this embodiment of the present application.
  • the session in the embodiment of the present application may be, for example, a PDU session, which is not specifically limited in this embodiment of the present application.
  • the SMF1 network element allocates an IP address to the terminal 1 according to the session establishment request 1.
  • step S702 can refer to the existing implementation manner, and details are not described herein again.
  • the SMF1 network element After the SMF1 network element allocates an IP address to the terminal 1, the SMF1 network element determines that the address resource corresponding to the first information in the SMF1 network element is insufficient, and the first information includes information of one or more TAs, or one or more At least one of the DNNs.
  • the SMF1 network element determines the corresponding UPF network element according to the fourth information, where the information of all the TAs corresponding to the UPF network element, or the At least one of all the DNNs corresponding to the UPF network element includes at least one of the information of the TA corresponding to the terminal 1 or the DNN corresponding to the terminal 1.
  • the SMF1 network element may determine whether the address resource corresponding to the first information in the SMF1 network element is sufficient according to whether the SMF network element determines whether the address resource corresponding to the first information in the SMF network element is sufficient, and details are not described herein.
  • the information of one or more TAs includes information about the TA corresponding to the terminal 1, and the one or more DNNs include the DNN corresponding to the terminal 1.
  • the session establishment request 1 in step S701 carries the information of the TA corresponding to the terminal 1
  • the first information includes information of one or more TAs
  • the information of the one or more TAs includes the TA corresponding to the terminal 1.
  • the first information includes information of one or more DNNs, and the information of the one or more DNNs includes the corresponding information of the terminal 1
  • the information of the DNN or, if the session establishment request 1 in step S701 carries the information of the TA corresponding to the terminal 1 and the information of the DNN corresponding to the terminal 1, the first information includes information of one or more DNNs, and one or more The information of the TA includes the information of the DNN corresponding to the terminal 1 in the information of the one or more DNNs, and the information of the TA corresponding to the terminal 1 includes the information of the TA corresponding to the terminal 1.
  • the address resource corresponding to the first information in the SMF1 network element may not be sufficient, but the AMF1 network element serving the terminal 1 does not know.
  • the address resource corresponding to the first information in the SMF1 network element has not been sufficient, so that the AMF1 network element still selects the SMF1 network element for the terminal 1; or the address resource corresponding to the first information in the SMF1 network element is originally sufficient.
  • the address resource corresponding to the first information in the SMF1 network element is insufficient. The embodiment of the present application does not specifically limit this.
  • the address resource corresponding to the first information is insufficient, the address resource corresponding to the first information is unavailable, or the SMF1 network element corresponding to the first information is unavailable, and the like.
  • the embodiment does not specifically limit this.
  • the SMF1 network element sends a notification message 1 to the AMF1 network element serving the terminal 1 to enable the AMF1 network element to receive the notification message 1 from the SMF1 network element.
  • the notification message 1 is used to indicate that the address resource corresponding to the first information in the SMF1 network element is insufficient.
  • the notification message 1 may carry the first information and the address insufficient indication; or the notification message 1 carries the first information, the identifier of the SMF1 network element, and the address insufficient indication, etc.
  • the AMF1 network element can determine the identifier of the SMF1 network element according to the signaling connection between the AMF1 network element and the SMF1 network element, which is not specifically implemented in this embodiment of the present application. limited.
  • the determining manner of the first information may refer to the foregoing SMF network element to determine whether the address resource corresponding to the first information in the SMF network element is sufficient, and details are not described herein again.
  • the notification message 1 may be carried in the session establishment response 1 or may be a special notification message, which is not specifically limited in this embodiment of the present application.
  • the SMF1 network element stores the identifier of the AMF1 network element served by the terminal 1 in the notified AMF network element list.
  • the AMF network element list has been notified that the SMF1 network element has notified the identifier of the AMF network element that the address resource corresponding to the first information in the SMF1 network element is insufficient.
  • the SMF1 network element needs to create a notified AMF network element list, and store the identifier of the AMF1 network element served by the terminal 1 to the notified AMF network element list.
  • Table 1 The result is shown in Table 1:
  • AMF network element identification First information AMF1 network element identification
  • the SMF1 network element corresponds to the first information.
  • the address resource has not been sufficient, but the AMF1 network element serving the terminal 1 does not know that the address resource corresponding to the first information in the SMF1 network element has insufficiently appeared, thereby causing the AMF1 network element to still select for the terminal 1.
  • SMF1 network element At this time, the AMF network element list has been notified, and the notified AMF network element list is created when the address resource corresponding to the first information in the SMF1 network element is insufficient for the first time.
  • the SMF1 network element determines that the address resource corresponding to the first information in the SMF1 network element is insufficient, and the SMF1 network element sends the foregoing notification to the AMF3 network element serving the terminal 3.
  • Message 1 and create a list of AMF network elements that have been notified, and store the identifier of the AMF3 network element in the AMF network element list that has been notified.
  • the SMF1 network element stores the identifier of the AMF1 network element served by the terminal 1 in the notified AMF network element list
  • the notified AMF network element list may be as shown in Table 2:
  • the identifier of the AMF1 network element may be, for example, the name of the AMF1 network element, the address of the AMF1 network element, or other information that uniquely identifies the AMF1 network element, and the like.
  • step S704 there is no necessary execution sequence between the step S704 and the step S705, and the step S704 may be performed first, and then the step S705 may be performed; or the step S705 may be performed first, and then the step S704 is performed. It is also possible to perform step S705 and step S704 at the same time, which is not specifically limited in the embodiment of the present application.
  • the AMF1 network element stores information that the address resource corresponding to the first information in the SMF1 network element is insufficient.
  • the information in the SMF1 network element that the address resource corresponding to the first information is insufficient may be stored in Table 3 below:
  • Table 3 is only an exemplary description.
  • the information in the SMF1 network element that is not sufficient for the address information corresponding to the first information may have other storage forms, which is not specifically limited in this embodiment of the present application.
  • step S707 may be performed first, and then one or more steps in steps S703-S706 may be performed;
  • the step S707 is performed in the first step S703-S706, and the step S707 is performed.
  • the step S707 and the step S703-S706 are performed at the same time. limited.
  • the address management method provided by the embodiment of the present application may further include the following steps:
  • the terminal 2 sends a session establishment request 2 to the AMF1 network element serving the terminal 2, so that the AMF1 network element receives the session establishment request 2 from the terminal 2.
  • the session establishment request 2 carries the second information, where the second information includes at least one of the information of the TA corresponding to the terminal 2 or the DNN corresponding to the terminal 2.
  • the AMF1 network element selects the SMF2 network element to serve the terminal 2 according to the second information and the stored one or more insufficient address resources.
  • the one or more address resources include address resources corresponding to the information including the second information in the one or more SMF network elements.
  • the AMF1 network element determines that the SMF1 network element and the SMF2 network element can serve the terminal 2 according to the prior art
  • the first information includes the information of the TA1 and the information of the TA2
  • the second information includes the information of the TA1
  • the information about the insufficient address resources corresponding to the first information in the SMF1 network element is stored, and the AMF1 network element does not select the SMF1 network element to serve the terminal 2, but selects the SMF2 network element to serve the terminal 2.
  • the address management method provided by the embodiment of the present application may further include the following steps:
  • the terminal 3 sends a session release request to the SMF1 network element, so that the SMF1 network element receives the session release request from the terminal 3.
  • the session release request is used to request to release the session of the terminal 3.
  • the SMF1 network element releases the IP address allocated to the terminal 3.
  • the IP address assigned to the terminal 3 is the address in the address resource corresponding to the first information in the SMF1 network element, and after the SMF1 network element releases the IP address allocated to the terminal 3, the SMF1 network element may be the terminal 3.
  • the allocated IP address is stored in the address resource corresponding to the first information in the SMF1 network element; or the SMF1 network element marks the IP address assigned to the terminal 3 as available, etc., which is not specifically limited in this embodiment of the present application.
  • the SMF1 network element is released as the IP address allocated by the terminal 3 in the case that the terminal 3 releases the session.
  • the terminal 3 does not release the session, and the SMF1 network element may be released for the terminal 3.
  • the IP address for example, when the session of the terminal has multiple IP anchors, and one of the IP anchors is released, the IP address is also released, but the session is not released at this time. limited.
  • the SMF1 network element is released as the IP address allocated by the terminal 3 as an example.
  • the SMF1 network element may also release the IP address assigned to the terminal 1. limited.
  • the SMF1 network element determines that the address resource corresponding to the first information in the SMF1 network element is sufficient.
  • step S714 may refer to the foregoing SMF network element to determine whether the address resource corresponding to the first information in the SMF network element is sufficient, and details are not described herein again.
  • the SMF1 network element determines that the address resources corresponding to the first information in the SMF1 network element are sufficient.
  • the application examples are not specifically limited thereto.
  • the S715 and the SMF1 network element acquire the notified AMF network element list.
  • the AMF network element list has been notified that the SMF1 network element has notified the identifier of the AMF network element that the address resource corresponding to the first information in the SMF1 network element is insufficient.
  • the address management method provided by the embodiment of the present application further includes the following steps:
  • the SMF1 network element sends a notification message 2 to the AMF1 network element according to the notified AMF network element list, so that the AMF1 network element receives the notification message 2 from the SMF1 network element.
  • the notification message 2 is used to indicate that the address resource corresponding to the first information in the SMF1 network element is sufficient.
  • the notification message 2 may carry the first information and the address sufficient indication; or the notification message 2 carries the first information, the identifier of the SMF1 network element, and the address sufficient indication, etc.
  • the AMF1 network element can determine the identifier of the SMF1 network element according to the signaling connection between the AMF1 network element and the SMF1 network element, which is not specifically implemented in this embodiment of the present application. limited.
  • the notification message 2 may be carried in the session release response, or may be a special notification message, which is not specifically limited in this embodiment of the present application.
  • the S717 and the AMF1 network element delete information that the address resource corresponding to the first information in the SMF1 network element is insufficient.
  • steps S716-S717 similar to steps S716-S717, except that the AMF1 network element in steps S716-S717 is replaced with the AMF3 network element, and the notification message 2 is replaced with the notification message 3.
  • steps S716-S717 No longer.
  • step S713 may be performed first, and then one or more steps in steps S714-S719 may be performed;
  • the step S713 is performed in the first step S714-S719, and the step S713 is performed.
  • the step S713 and the step S714-S719 are performed at the same time. limited.
  • the AMF1 network element can learn the state of the address resource corresponding to the first information in the SMF1 network element, and therefore, when the SMF network element is selected in the subsequent terminal session establishment process, according to the address
  • the state of the resource, the SMF network element that circumvents the insufficient address resources, and the SMF network element with sufficient address resources can avoid the problem of duplicate IP addresses assigned to different sessions, and can effectively utilize the IP address in the address pool.
  • the action of the SMF1 network element or the AMF1 network element in the foregoing steps S701 to S719 can be performed by the processor 301 in the communication device 300 shown in FIG. 3 calling the application code stored in the memory 303, which is used in this embodiment. No restrictions are imposed.
  • the address management system shown in FIG. 1 is applied to the 5G network shown in FIG. 2, and the network device is an AMF network element in the 5G network.
  • the embodiment of the present application further provides an address management method, and The embodiment shown in FIG. 7 is similar, except that in the embodiment shown in FIG. 7, after the SMF1 network element determines that the address resource corresponding to the first information in the SMF1 network element is insufficient, the AMF1 serving the terminal 1 is provided.
  • the network element sends the notification message 1; in this embodiment, after the SMF1 network element determines that the address resource corresponding to the first information in the SMF1 network element is insufficient, the SMF1 network element can notify all AMFs that are reachable or connected to the SMF1 network element. Network element.
  • the SMF1 network element may not need to establish the notified AMF list.
  • the SMF1 network element may also notify all reachable or SMF1 network elements.
  • the AMF network element connected to the SMF1 network element may be an AMF network element that already has a communication relationship, or may be an AMF network element that has an address but has an address, but the SMF1 network element has an address. This example does not specifically limit this.
  • the SMF1 network element may also choose to establish the notified AMF list, which is not specifically limited in this embodiment of the present application.
  • an address management method includes the following steps:
  • the terminal 1 sends a session establishment request 1 to the AMF1 network element serving the terminal 1 so that the AMF1 network element receives the session establishment request 1 from the terminal 1.
  • the session establishment request 1 carries the fourth information, where the fourth information includes at least one of the information of the TA corresponding to the terminal 1 or the DNN corresponding to the terminal 1.
  • the S802 and the AMF1 network element send the available SMF network element list request 1 to the NRF network element, so that the NRF network element receives the available SMF network element list request 1 from the AMF1 network element.
  • the available SMF network element list request 1 carries the fourth information.
  • the NRF network element sends an available SMF network element list response 1 to the AMF1 network element, so that the AMF1 network element receives the available SMF network element list response 1 from the NRF network element.
  • the SMF network element list 1 includes a list of available SMF network elements, and the list of available SMF network elements includes an identifier of the available SMF network element, and the identifier of the available SMF network element may be, for example, an address of the available SMF network element.
  • the embodiment of the present application does not specifically limit this.
  • the NRF network element stores information that the address resource in the SMF network element is insufficient. Further, the NRF network element needs to determine the list of available SMF network elements according to the state information of the stored address resource.
  • the address resource of the SMF network element in the list of available SMF network elements is sufficient, and the address resource is an address resource corresponding to the information including the fourth information. For example, it is assumed that the fourth information includes the TA of the terminal 1 and is recorded as TA1. If the status information of the address resource stored in the NRF network element is as shown in Table 5, the identifier of the SMF network element is not included in the SMF network element list.
  • the address management method provided by the embodiment of the present application may further include the following steps: Assume that the SMF1 network element identifier and the SMF2 network element identifier are included in the SMF network element list.
  • the AMF1 network element selects the SMF1 network element to serve the terminal 1 according to the available SMF network element list.
  • the AMF1 network element may select one SMF network element to serve the terminal 1 from multiple SMF network elements according to factors such as load information of one or more SMF network elements stored in the AMF1 network element. Specifically limited.
  • the AMF1 network element sends a session establishment request 1 to the SMF1 network element, so that the SMF1 network element receives the session establishment request 1 from the AMF1 network element.
  • step S801 For a description of the session establishment request 1, refer to step S801, and details are not described herein again.
  • step S808 similar to step S704, except that the AMF1 network element in the embodiment shown in FIG. 7 is replaced with the NRF network element in the embodiment, and the related description may refer to the embodiment shown in FIG. Narration.
  • step S809 similar to step S706, except that the AMF1 network element in the embodiment shown in FIG. 7 is replaced with the NRF network element in the embodiment, and the related description may refer to the embodiment shown in FIG. Narration.
  • the first information in step S807 includes TA1, TA5, and TA6, and the information about the insufficient address resources in the SMF network element stored by the NRF network element at this time may be as shown in Table 6:
  • step S810 may be performed first, and then one or more steps in steps S807-S809 may be performed;
  • the step S810 is performed in the first step S807-S809, and the step S810 is performed.
  • the step S810 and the step S807-S809 are performed at the same time. limited.
  • the address management method provided by the embodiment of the present application may further include the following steps:
  • the AMF network element served by the terminal 1 and the AMF network element serving the terminal 2 are both AMF1 network elements, and of course, the AMF network element serving the terminal 1 and the terminal 2 are served.
  • the AMF network element may also be a different AMF network element.
  • the AMF network element serving the terminal 1 is an AMF1 network element
  • the AMF network element serving the terminal 3 is an AMF3 network element. limited.
  • the AMF1 network element sends an available SMF network element list request 2 to the NRF network element, so that the NRF network element receives the available SMF network element list request 2 from the AMF1 network element.
  • the available SMF network element list request 2 carries the second information.
  • the NRF network element sends an available SMF network element list response 2 to the AMF1 network element, so that the AMF1 network element receives the available SMF network element list response 2 from the NRF network element.
  • the SMF network element list response 2 includes a list of available SMF network elements.
  • the second information carries the TA of the terminal 2, which is denoted as TA1; if the status information of the address resource stored in the NRF network element is as shown in Table 6, the SMF network element list does not include the SMF3 network element identifier and the SMF1 network element. logo.
  • the address management method provided by the embodiment of the present application may further include the following steps: Assume that the identifier of the SMF2 network element is included in the SMF network element list.
  • the AMF1 network element selects the SMF2 network element to serve the terminal 2 according to the available SMF network element list.
  • the information about the insufficient address resources stored in the NRF network element is as shown in Table 6.
  • the NRF network element deletes the information of the SMF1 network element that is insufficient for the address information corresponding to the first information, the result may be as shown in Table 5 above. Shown.
  • step S818 may be performed first, and then one or more steps in steps S819-S821 may be performed;
  • the step S818 is performed in the first step S819-S821, and the step S818 is performed.
  • the step S818 and the step S819-S821 are performed at the same time, and so on. limited.
  • the NRF network element can learn the state of the address resource corresponding to the first information in the SMF1 network element, and therefore, when the SMF network element is selected in the subsequent terminal session establishment process, the address is determined according to the address.
  • the state of the resource, the SMF network element that circumvents the insufficient address resources, and the SMF network element with sufficient address resources can avoid the problem of duplicate IP addresses assigned to different sessions, and can effectively utilize the IP address in the address pool.
  • the action of the NRF network element or the AMF1 network element in the foregoing steps S801 to S821 can be performed by the processor 301 in the communication device 300 shown in FIG. 3 calling the application code stored in the memory 303, which is used in this embodiment. No restrictions are imposed.
  • the embodiment of the present application discloses an address management method, including: the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, wherein the first information includes one or more At least one of the information of the tracking area TA or the one or more data network names DNN; the session management network element sends a first notification message to the network device, where the first notification message is used to indicate the first in the session management network element The address resource corresponding to the information is insufficient.
  • the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, and the session management network element determines the session management network after the session management network element allocates an IP address to the first terminal.
  • the address resource corresponding to the first information is not sufficient, and the information of the one or more TAs includes the information of the TA corresponding to the first terminal, and the one or more DNNs include the DNN corresponding to the first terminal.
  • the network device includes a first mobility management network element that serves the first terminal.
  • the address management method disclosed in the embodiment of the present application may further include: the session management network element stores the identifier of the first mobility management network element to the The mobile management network element list is notified, wherein the mobile management network element list has been notified that the session management network element has notified the mobile management network element of the session management network element that the address management resource element corresponding to the first information is insufficient.
  • the address management method disclosed in the embodiment of the present application may further include: a session management network.
  • the meta creation has notified the mobile management NE list.
  • the address management method disclosed in this embodiment may further include After the session management network element allocates the IP address to the second terminal, the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, and the information of the one or more TAs includes the second terminal corresponding to the information.
  • the information of the TA, the one or more DNNs include the DNN corresponding to the second terminal; the session management network element sends a first notification message to the second mobility management network element serving the second terminal; the session management network element creates the notified mobile Manage the list of NEs.
  • the address management method disclosed in the embodiment of the present application may further include: the session management network element determines that the address resource corresponding to the first information in the session management network element is sufficient; the session management network element has notified the mobile management network element list.
  • the mobility management network element corresponding to the identifier of the mobility management network element sends a second notification message, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element is sufficient.
  • the network device includes a mobility management network element or a network function storage network element connected by the session management network element.
  • the address management method disclosed in the embodiment of the present application may further include: the session management network element determines the session management network element and the The address resource corresponding to the information is sufficient; the session management network element sends a second notification message to the network device, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element is sufficient.
  • the information of the one or more TAs includes the information of the TA corresponding to the third terminal, and the one or more DNNs include the DNN corresponding to the third terminal; and the session management network element determines the session management network element and the Before the address resource corresponding to the information is sufficient, the address management method disclosed in the embodiment of the present application may further include: the session management network element releases the IP address allocated to the third terminal.
  • the address resource corresponding to the first information in the session management network element is insufficient, and the ratio of the available address resources in the address resource corresponding to the first information in the session management network element is less than or equal to the first preset value;
  • the address resource corresponding to the first information in the management network element is sufficient, and the ratio of the available address resources in the address resource corresponding to the first information in the session management network element is greater than or equal to a second preset value, where the first preset value is less than Or equal to the second preset value.
  • the second notification message carries the first information and the address sufficient indication; or the second notification message carries the identifier of the session management network element, the first information, and the address sufficient indication.
  • the first notification message carries the first information and the address insufficient indication; or the first notification message carries the identifier of the session management network element, the first information, and the address insufficient indication.
  • the operation of the session management network element may refer to the operation of the SMF1 network element in FIG. 7 to FIG. 8 and the related text description, and details are not described herein again.
  • the embodiment of the present application further discloses an address management method, including: receiving, by a network device, a first notification message from a first session management network element, where the first notification message is used to indicate that the first session management network element is The address resource corresponding to the information is insufficient, wherein the first information includes information of one or more tracking areas TA, or at least one of one or more data network names DNN; the network device stores the first session management network element The information corresponding to the first information that the address resource is insufficient.
  • the first session management network element includes a session management network element serving the first terminal; correspondingly, the information of the one or more TAs includes information of the TA corresponding to the first terminal, and one or more DNNs.
  • the DNN corresponding to the first terminal is included.
  • the network device includes a first mobility management network element serving the first terminal.
  • the address management method disclosed in the embodiment of the present application may further include: the first mobility management network element receiving the session establishment request from the second terminal, The session establishment request carries the second information, where the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal; the first mobility management network element is based on the second information, and the stored one or The plurality of address resources are insufficient, and the second session management network element is selected to serve the second terminal, where the one or more address resources include addresses corresponding to the information including the second information in the one or more session management network elements. Resources.
  • the network device includes a network function storage network element.
  • the address management method disclosed in the embodiment of the present application may further include: the network function storage network element receiving the request message from the second mobility management network element serving the second terminal.
  • the request message carries the second information, where the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal, and the network function storage network element is configured according to the second information and one or more Determining an available list of session management network elements, where the address resource includes one or more address resources corresponding to the information including the second information in the one or more session management network elements; the network function storage network The element sends a list of available session management NEs to the second mobility management network element, and the available session management network element list is used to select the second session management network element to serve the second terminal.
  • the available session management network element list includes a second session management network element, where the address resource corresponding to the third information in the second session management network element is sufficient, where the third information includes one Or information of a plurality of TAs, or at least one of the one or more DNNs, the second information including the second information.
  • the address management method disclosed in the embodiment of the present application may further include: the network device receiving a second notification message from the first session management network element, where the second notification message is used to indicate that the first session management network element is The address resource corresponding to the first information is sufficient; the network device deletes information that the address resource corresponding to the first information in the stored first session management network element is insufficient.
  • the operation of the network device may refer to the operation of the AMF1 network element in FIG. 7 to FIG. 8 and the related text description, or the operation of the network device may refer to the operation of the NRF network element in FIG. 7 to FIG. And the above related text descriptions will not be repeated here.
  • the foregoing session management network element or network device includes a hardware structure and/or a software module corresponding to each function.
  • the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
  • the embodiment of the present application may perform a function module division on a session management network element or a network device according to the foregoing method example.
  • each function module may be divided according to each function, or two or more functions may be integrated into one processing module.
  • the above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 9 shows a schematic structural diagram of a session management network element 90.
  • the session management network element 90 includes a processing module 902 and a transceiver module 901.
  • the processing module 902 is configured to determine that the address resource corresponding to the first information in the session management network element 90 is insufficient, wherein the first information includes information of one or more TAs, or at least one of the one or more DNNs.
  • the transceiver module 901 is configured to send a first notification message to the network device, where the first notification message is used to indicate that the address resource corresponding to the first information in the session management network element 90 is insufficient.
  • the processing module 902 is specifically configured to: after the IP address is allocated to the first terminal, determine that the address resource corresponding to the first information in the session management network element 90 is insufficient, where the information of one or more TAs is included.
  • the information of the TA corresponding to the first terminal, and the one or more DNNs include the DNN corresponding to the first terminal.
  • the network device includes a first mobility management network element serving the first terminal.
  • the session management network element 90 further includes a storage module 903.
  • the storage module 903 is configured to store the identifier of the first mobility management network element into the notified mobility management network element list, where the notified mobility management network element list includes the session management network element 90 that has notified the session management network element The identifier of the mobility management network element in which the address resource corresponding to the first information is insufficient in 90.
  • processing module 902 is further configured to create a list of the mobile management network element that has been notified.
  • the processing module 902 is further configured to: after the IP address is allocated to the second terminal, determine that the address resource corresponding to the first information in the session management network element 90 is insufficient, where the information of one or more TAs is The information about the TA corresponding to the second terminal, the one or more DNNs include the DNN corresponding to the second terminal, and the transceiver module 901 is further configured to send the first notification message to the second mobility management network element serving the second terminal.
  • the processing module 902 is further configured to create a list of the mobile management network element that has been notified.
  • the processing module 902 is further configured to determine that the address resource corresponding to the first information in the session management network element 90 is sufficient; the transceiver module 901 is further configured to notify the mobility management network element in the mobile management network element list that has been notified.
  • the mobile management network element corresponding to the identifier sends a second notification message, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element 90 is sufficient.
  • the network device includes a mobility management network element or a network function storage network element connected to the session management network element 90.
  • the processing module 902 is further configured to determine, in the session management network element 90, the first information.
  • the address resource is sufficient;
  • the transceiver module 901 is further configured to send a second notification message to the network device, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element 90 is sufficient.
  • the information of the one or more TAs includes the information of the TA corresponding to the third terminal, and the one or more DNNs include the DNN corresponding to the third terminal.
  • the processing module 902 is further configured to release the third terminal. IP address.
  • the session management network element 90 is presented in a form that divides each functional module in an integrated manner.
  • a “module” herein may refer to a particular ASIC, circuitry, processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other devices that provide the functionality described above.
  • the session management network element 90 can take the form shown in FIG.
  • the processor 301 in FIG. 3 can execute the instruction by calling the computer stored in the memory 303, so that the session management network element 90 executes the address management method in the above method embodiment.
  • the function/implementation process of the transceiver module 901, the processing module 902, and the storage module 903 in FIG. 9 can be implemented by the processor 301 in FIG. 3 calling a computer execution instruction stored in the memory 303.
  • the function/implementation process of the processing module 902 in FIG. 9 can be implemented by the processor 301 in FIG. 3 calling the computer execution instruction stored in the memory 303, and the function/implementation process of the transceiver module 901 in FIG.
  • the communication interface 304 in 3 is implemented, and the function/implementation process of the storage module 903 in FIG. 9 can be implemented by the memory 303 in FIG.
  • the session management network element provided in this embodiment can perform the above-mentioned address management method. Therefore, the technical solution can be obtained by referring to the foregoing method embodiment, and details are not described herein again.
  • the embodiment of the present application further provides a chip system, where the chip system includes a processor, configured to support the session management network element to implement the foregoing address management method, for example, determining an address corresponding to the first information in the session management network element. Not enough resources.
  • the chip system also includes a memory.
  • the memory is used to store program instructions and data necessary for the session management network element.
  • the memory may not be in the chip system.
  • the chip system may be composed of a chip, and may also include a chip and other discrete devices. This embodiment of the present application does not specifically limit this.
  • FIG. 10 shows a schematic structural diagram of a network device 100.
  • the network device 100 includes a transceiver module 1001 and a storage module 1003.
  • the transceiver module 1001 is configured to receive a first notification message from the first session management network element, where the first notification message is used to indicate that the address resource corresponding to the first information in the first session management network element is insufficient, where
  • the first information includes information of one or more TAs, or at least one of the one or more DNNs.
  • the storage module 1003 is configured to store information that the address resources corresponding to the first information in the first session management network element are insufficient. .
  • the first session management network element includes a session management network element that serves the first terminal.
  • the information of the one or more TAs includes information about the TA corresponding to the first terminal, and the one or more DNNs are included. a DNN corresponding to the first terminal;
  • the network device 100 includes a first mobility management network element serving the first terminal.
  • the network device 100 further includes a processing module 1002.
  • the transceiver module 1001 is further configured to Receiving a session establishment request from the second terminal, where the session establishment request carries the second information, the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal; and the processing module 1002 is configured to: Selecting, according to the second information, the stored information that the one or more address resources are insufficient, the second session management network element to serve the second terminal, where the one or more address resources include one or more session management network elements. An address resource corresponding to the information including the second information.
  • the network device 100 includes a network function storage network element. As shown in FIG. 10, the network device 100 further includes a processing module 1002.
  • the transceiver module 1001 is further configured to receive a service from the second terminal. a request message of the mobile management network element, where the request message carries the second information, the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal, and the processing module 1002 is configured to Determining an available list of session management network elements, wherein the one or more address resources include one or more session management network elements and including the second information, and the stored information of the one or more address resources is insufficient.
  • the address resource corresponding to the information; the transceiver module 1001 is further configured to send the available session management NE list to the second mobility management network element, where the available session management NE list is used to select the second session management network element to serve the second terminal. .
  • the transceiver module 1001 is further configured to receive a second notification message from the first session management network element, where the second notification message is used to indicate that the address resource corresponding to the first information in the first session management network element is sufficient;
  • the processing module 1002 is further configured to delete information in the stored first session management network element that the address resource corresponding to the first information is insufficient.
  • the network device 100 is presented in a form that divides each functional module in an integrated manner.
  • a “module” herein may refer to a particular ASIC, circuitry, processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other devices that provide the functionality described above.
  • the network device 100 can take the form shown in FIG.
  • the processor 301 in FIG. 3 can execute the instructions by the computer stored in the memory 303, so that the network device 100 executes the address management method in the above method embodiment.
  • the function/implementation process of the transceiver module 1001, the processing module 1002, and the storage module 1003 in FIG. 10 can be implemented by the processor 301 in FIG. 3 calling a computer execution instruction stored in the memory 303.
  • the function/implementation process of the processing module 1002 in FIG. 10 can be implemented by the processor 301 in FIG. 3 calling the computer execution instruction stored in the memory 303, and the function/implementation process of the transceiver module 1001 in FIG.
  • the communication interface 304 in 3 is implemented, and the function/implementation process of the storage module 1003 in FIG. 10 can be implemented by the memory 303 in FIG.
  • the network device provided in this embodiment can perform the above-mentioned address management method, and the technical effects that can be obtained by reference to the foregoing method embodiments are not described herein.
  • the embodiment of the present application further provides a chip system, where the chip system includes a processor, configured to support a network device to implement the foregoing address management method, for example, according to the second information, and the stored one or more address resources are not With sufficient information, the second session management network element is selected to serve the second terminal.
  • the chip system also includes a memory. This memory is used to store the necessary program instructions and data for the network device. Of course, the memory may not be in the chip system.
  • the chip system may be composed of a chip, and may also include a chip and other discrete devices. This embodiment of the present application does not specifically limit this.
  • the above embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • a software program it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
  • a magnetic medium eg, a floppy disk, a hard disk, a magnetic tape
  • an optical medium eg, a DVD
  • a semiconductor medium such as a solid state disk (SSD)

Abstract

The embodiment of the present application provides an address management method, device and system, for solving the problem that an IP address is repeatedly allocated to different PDU sessions and effectively utilizing IP addresses in an address pool. The method comprises: a session management network element determines that an address resource, in the session management network element, corresponding to first information is insufficient, wherein the first information includes information of one or more tracking areas (TA), or at least one of one or more data network names (DNN); and the session management network element sends a first notification message to a network device, wherein the first notification message is used for indicating that the address resource, in the session management network element, corresponding to the first information is insufficient.

Description

地址管理方法、设备及系统Address management method, device and system
本申请要求于2018年3月12日提交中国国家知识产权局、申请号为201810201012.9、发明名称为“地址管理方法、设备及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201810201012.9, entitled "Address Management Method, Equipment and System", filed on March 12, 2018, the entire contents of which are incorporated herein by reference. In the application.
技术领域Technical field
本申请涉及通信技术领域,尤其涉及地址管理方法、设备及系统。The present application relates to the field of communications technologies, and in particular, to an address management method, device, and system.
背景技术Background technique
在现有的第五代(5rd generation,5G)网络架构中,一个会话管理功能(session management function,SMF)网元可以控制多个用户面功能(user plane function,UPF)网元,同时,一个UPF网元可以被多个SMF网元控制。In the existing 5th generation (5G) network architecture, a session management function (SMF) network element can control multiple user plane function (UPF) network elements, and at the same time, one The UPF network element can be controlled by multiple SMF network elements.
其中,在一个UPF网元被多个SMF网元控制的场景下,为了将一个数据网络(data network,DN)中属于不同分组数据单元(packet data unit,PDU)会话的下行数据通过相应的PDU会话对应的隧道发送给终端,需要给不同的PDU会话分配不同的互联网协议(internet protocol,IP)地址,否则UPF网元无法区分目的地址为相同IP地址的下行数据是该通过哪个PDU会话对应的隧道发送给终端。In a scenario in which a UPF network element is controlled by multiple SMF network elements, downlink data belonging to different packet data unit (PDU) sessions in a data network (DN) is passed through corresponding PDUs. The tunnel corresponding to the session is sent to the terminal, and different Internet Protocol (IP) addresses need to be assigned to different PDU sessions. Otherwise, the UPF network element cannot distinguish the downlink data whose destination address is the same IP address. The tunnel is sent to the terminal.
为解决上述问题,现有技术中提出一种将UPF网元对应的IP地址池分段的地址管理方法。比如,若一个UPF网元与三个SMF网元连接,则可以将该UPF网元对应的IP地址池划分成三个不同的段,分别配置在三个不同的SMF网元上。这样,由于不同SMF网元配置了不同的IP地址段,因此不同SMF网元给不同的PDU会话分配的IP地址也不会重叠。To solve the above problem, the prior art provides an address management method for segmenting an IP address pool corresponding to a UPF network element. For example, if a UPF network element is connected to three SMF network elements, the IP address pool corresponding to the UPF network element can be divided into three different segments, which are respectively configured on three different SMF network elements. In this way, since different SMF network elements are configured with different IP address segments, IP addresses allocated by different SMF network elements to different PDU sessions do not overlap.
然而,上述方法虽然能避免给不同的PDU会话分配的IP地址重复的问题,但是,若SMF网元的数量较多,或者UPF网元对应的IP地址池中IP地址的数量有限,则可能导致IP地址无法有效利用。比如,在配置在SMF1网元上的IP地址段中的IP地址已经耗尽,但是配置在其他SMF网元上的IP地址段中还存在未用完的IP地址的情况下,若选择了SMF1网元为PDU会话服务,则将导致在UPF网元对应的IP地址未耗尽的情况下,终端仍无法接入。However, although the foregoing method can avoid the problem of duplicate IP addresses allocated to different PDU sessions, if the number of SMF network elements is large, or the number of IP addresses in the IP address pool corresponding to the UPF network element is limited, it may result in The IP address cannot be used effectively. For example, if the IP address in the IP address segment configured on the SMF1 network element is exhausted, but the IP address segment configured on the other SMF network element still has an unused IP address, if SMF1 is selected. If the NE is served by the PDU, the terminal will still be unable to access the IP address of the UPF NE.
因此,当一个UPF网元由多个SMF网元控制时,如何进行地址管理,使得不仅可以避免给不同的PDU会话分配的IP地址重复的问题,且可以有效利用地址池中的IP地址,是目前亟待解决的问题。Therefore, when a UPF network element is controlled by multiple SMF network elements, how to perform address management, so that the problem of duplicate IP addresses assigned to different PDU sessions can be avoided, and the IP address in the address pool can be effectively utilized. The problem that needs to be solved now.
发明内容Summary of the invention
本申请实施例提供地址管理方法、设备及系统,使得不仅可以避免给不同的PDU会话分配的IP地址重复的问题,且可以有效利用地址池中的IP地址。The embodiment of the present application provides an address management method, device, and system, so that not only the problem of duplicate IP addresses allocated to different PDU sessions but also the IP address in the address pool can be effectively utilized.
为达到上述目的,本申请的实施例采用如下技术方案:To achieve the above objective, the embodiment of the present application adopts the following technical solutions:
第一方面,提供了一种地址管理方法,该方法包括:会话管理网元确定该会话管理网元中与第一信息对应的地址资源不充足,其中,该第一信息包括一个或多个跟踪区TA的信息、或者一个或多个数据网络名称DNN中的至少一个;该会话管理网元向网络设备发送第一通知 消息,该第一通知消息用于指示该会话管理网元中与该第一信息对应的地址资源不充足。基于该方案,由于会话管理网元向网络设备发送第一通知消息,使得网络设备可以获知会话管理网元中与第一信息对应的地址资源的状态,因此可以在后续的终端会话建立过程中选择会话管理网元时,根据地址资源的状态,规避地址资源不充足的会话管理网元,选择地址资源充足的会话管理网元,从而不仅可以避免给不同的会话分配的IP地址重复的问题,且可以有效利用地址池中的IP地址。The first aspect provides an address management method, where the method includes: the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, wherein the first information includes one or more traces. At least one of the information of the area TA or the one or more data network names DNN; the session management network element sends a first notification message to the network device, where the first notification message is used to indicate that the session management network element is associated with the first The address resource corresponding to a message is insufficient. Based on the solution, the session management network element sends the first notification message to the network device, so that the network device can learn the state of the address resource corresponding to the first information in the session management network element, and therefore can be selected in the subsequent terminal session establishment process. When the session management network element is used, the session management network element with insufficient address resources is circumvented according to the state of the address resource, and the session management network element with sufficient address resources is selected, so that the problem of duplicate IP addresses assigned to different sessions can be avoided, and You can effectively use the IP address in the address pool.
在一种可能的设计中,该会话管理网元确定该会话管理网元中与第一信息对应的地址资源不充足,包括:在该会话管理网元为第一终端分配互联网协议IP地址之后,该会话管理网元确定该会话管理网元中与该第一信息对应的地址资源不充足,其中,该一个或多个TA的信息中包括该第一终端对应的TA的信息,该一个或多个DNN中包括该第一终端对应的DNN。In a possible design, the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, including: after the session management network element allocates an Internet Protocol IP address to the first terminal, The session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, wherein the information of the one or more TAs includes information of the TA corresponding to the first terminal, the one or more The DNNs corresponding to the first terminal are included in the DNNs.
在一种可能的设计中,该网络设备包括为该第一终端服务的第一移动管理网元;该方法还包括:该会话管理网元将该第一移动管理网元的标识存储到已通知移动管理网元列表中,其中,该已通知移动管理网元列表中包括该会话管理网元已经通知了该会话管理网元中与该第一信息对应的地址资源不充足的移动管理网元的标识。基于该方案,由于会话管理网元可以存储已通知移动管理网元列表,因此可以在后续与第一信息对应的地址资源充足时,及时通知相应的移动管理网元,使得该移动管理网元在后续的终端会话建立过程中选择会话管理网元时,可以选择该会话管理网元。In a possible design, the network device includes a first mobility management network element serving the first terminal; the method further includes: the session management network element storing the identifier of the first mobility management network element to the notified a mobile management network element list, wherein the notified mobile management network element list includes the mobile management network element that the session management network element has notified that the address resource corresponding to the first information in the session management network element is insufficient Logo. Based on the solution, the session management network element can store the notified mobile management network element list, so that the corresponding mobile management network element can be notified in time when the address resource corresponding to the first information is sufficient, so that the mobile management network element is When the session management network element is selected in the subsequent terminal session establishment process, the session management network element may be selected.
在一种可能的设计中,在该会话管理网元将该第一移动管理网元的标识存储到已通知移动管理网元列表中之前,该方法还包括:该会话管理网元创建该已通知移动管理网元列表。也就是说,本申请实施例中,与第一信息对应的地址资源可以本来是充足的,在会话管理网元为第一终端分配IP地址之后,该地址资源变得不充足,从而需要创建已通知移动管理网元列表。In a possible design, before the session management network element stores the identifier of the first mobility management network element in the notified mobile management network element list, the method further includes: the session management network element creates the notified Mobile management NE list. That is, in the embodiment of the present application, the address resource corresponding to the first information may be sufficient. After the session management network element allocates an IP address to the first terminal, the address resource becomes insufficient, and thus needs to be created. Notify the mobile management NE list.
在另一种可能的设计中,在该会话管理网元将该第一移动管理网元的标识存储到已通知移动管理网元列表中之前,该方法还包括:该会话管理网元为第二终端分配IP地址之后,该会话管理网元确定该会话管理网元中与该第一信息对应的地址资源不充足,其中,该一个或多个TA的信息中包括该第二终端对应的TA的信息,该一个或多个DNN中包括该第二终端对应的DNN;该会话管理网元向为该第二终端服务的第二移动管理网元发送该第一通知消息;该会话管理网元创建该已通知移动管理网元列表。也就是说,本申请实施例中,与第一信息对应的地址资源在为第一终端分配IP地址之前可能已经出现不充足,但是第一移动管理网元并不知道该会话管理网元中与第一信息对应的地址资源已经出现不充足。In another possible design, before the session management network element stores the identifier of the first mobility management network element in the notified mobile management network element list, the method further includes: the session management network element is the second After the terminal allocates the IP address, the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, and the information of the one or more TAs includes the TA corresponding to the second terminal. Information, the one or more DNNs include a DNN corresponding to the second terminal; the session management network element sends the first notification message to a second mobility management network element serving the second terminal; the session management network element is created The mobile management network element list has been notified. That is, in the embodiment of the present application, the address resource corresponding to the first information may have insufficiently existed before the IP address is allocated to the first terminal, but the first mobility management network element does not know the session management network element. The address resource corresponding to the first information has not appeared enough.
在一种可能的设计中,该方法还包括:该会话管理网元确定该会话管理网元中与该第一信息对应的地址资源充足;该会话管理网元向该已通知移动管理网元列表中的移动管理网元的标识对应的移动管理网元发送第二通知消息,该第二通知消息用于指示该会话管理网元中与该第一信息对应的地址资源充足。也就是说,本申请实施例中,在与第一信息对应的地址资源充足时,可以及时通知相应的移动管理网元,使得该移动管理网元在后续的终端会话建立过程中选择会话管理网元时,可以选择该会话管理网元。In a possible design, the method further includes: the session management network element determining that the address resource corresponding to the first information in the session management network element is sufficient; the session management network element is notified to the notified mobile management network element list The mobility management network element corresponding to the identifier of the mobility management network element sends a second notification message, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element is sufficient. In other words, in the embodiment of the present application, when the address resource corresponding to the first information is sufficient, the corresponding mobility management network element may be notified in time, so that the mobility management network element selects the session management network in the subsequent terminal session establishment process. In the meta-time, you can select the session management NE.
在一种可能的设计中,该网络设备包括该会话管理网元连接的移动管理网元或者网络功能存储网元;该方法还包括:该会话管理网元确定该会话管理网元中与该第一信息对应的地 址资源充足;该会话管理网元向该网络设备发送第二通知消息,该第二通知消息用于指示该会话管理网元中与该第一信息对应的地址资源充足。也就是说,本申请实施例中,在与第一信息对应的地址资源充足时,可以及时通知相应的网络设备,使得该网络设备在后续的终端会话建立过程中选择会话管理网元时,可以选择该会话管理网元。In a possible design, the network device includes a mobility management network element or a network function storage network element connected by the session management network element; the method further includes: the session management network element determining the session management network element and the first The address resource corresponding to the information is sufficient; the session management network element sends a second notification message to the network device, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element is sufficient. That is, in the embodiment of the present application, when the address resource corresponding to the first information is sufficient, the corresponding network device may be notified in time, so that the network device can select the session management network element in the subsequent terminal session establishment process. Select the session management NE.
在一种可能的设计中,该一个或多个TA的信息中包括第三终端对应的TA的信息,该一个或多个DNN中包括该第三终端对应的DNN;在该会话管理网元确定该会话管理网元中与该第一信息对应的地址资源充足之前,该方法还包括:该会话管理网元释放为该第三终端分配的IP地址。In a possible design, the information of the one or more TAs includes information of a TA corresponding to the third terminal, where the one or more DNNs include a DNN corresponding to the third terminal; and the session management network element determines Before the address resource corresponding to the first information in the session management network element is sufficient, the method further includes: releasing, by the session management network element, an IP address allocated for the third terminal.
在一种可能的设计中,该会话管理网元中与该第一信息对应的地址资源不充足包括该会话管理网元中与该第一信息对应的地址资源中可用地址资源的比例小于或者等于第一预设值;该会话管理网元中与该第一信息对应的地址资源充足包括该会话管理网元中与该第一信息对应的地址资源中可用地址资源的比例大于或者等于第二预设值,其中,该第一预设值小于或者等于该第二预设值。In a possible design, the address resource corresponding to the first information in the session management network element is insufficient, and the ratio of available address resources in the address resource corresponding to the first information in the session management network element is less than or equal to a first preset value; the address resource corresponding to the first information in the session management network element is sufficient, and the ratio of the available address resources in the address resource corresponding to the first information in the session management network element is greater than or equal to the second pre- A value is set, wherein the first preset value is less than or equal to the second preset value.
在一种可能的设计中,该第二通知消息携带第一信息以及地址充足指示;或者,该第二通知消息携带该会话管理网元的标识、第一信息以及地址充足指示。In a possible design, the second notification message carries the first information and the address sufficient indication; or the second notification message carries the identifier, the first information, and the address sufficient indication of the session management network element.
在一种可能的设计中,该第一通知消息携带第一信息以及地址不充足指示;或者,该第一通知消息携带该会话管理网元的标识、第一信息以及地址不充足指示。In a possible design, the first notification message carries the first information and the address insufficient indication; or the first notification message carries the identifier of the session management network element, the first information, and the address insufficient indication.
第二方面,提供了一种地址管理方法,该方法包括:网络设备接收来自第一会话管理网元的第一通知消息,该第一通知消息用于指示该第一会话管理网元中与第一信息对应的地址资源不充足,其中,该第一信息包括一个或多个跟踪区TA的信息、或者一个或多个数据网络名称DNN中的至少一个;该网络设备存储该第一会话管理网元中与该第一信息对应的地址资源不充足的信息。基于该方案,由于网络设备可以获知第一会话管理网元中与第一信息对应的地址资源的状态,因此可以在后续的终端会话建立过程中选择会话管理网元时,根据地址资源的状态,规避地址资源不充足的会话管理网元,选择地址资源充足的会话管理网元,从而不仅可以避免给不同的会话分配的IP地址重复的问题,且可以有效利用地址池中的IP地址。A second aspect provides an address management method, where the method includes: receiving, by a network device, a first notification message from a first session management network element, where the first notification message is used to indicate that the first session management network element is The address resource corresponding to the information is insufficient, wherein the first information includes information of one or more tracking areas TA, or at least one of one or more data network names DNN; the network device stores the first session management network The information of the address resource corresponding to the first information in the meta is insufficient. Based on the solution, the network device can learn the state of the address resource corresponding to the first information in the first session management network element, and therefore, when the session management network element is selected in the subsequent terminal session establishment process, according to the state of the address resource, The session management network element with insufficient address resources is selected, and the session management network element with sufficient address resources is selected, so that the problem of duplicate IP addresses assigned to different sessions can be avoided, and the IP address in the address pool can be effectively utilized.
在一种可能的设计中,该第一会话管理网元包括为第一终端服务的会话管理网元;相应的,该一个或多个TA的信息中包括该第一终端对应的TA的信息,该一个或多个DNN中包括该第一终端对应的DNN。In a possible design, the first session management network element includes a session management network element serving the first terminal; correspondingly, the information of the one or more TAs includes information of the TA corresponding to the first terminal, The DNN corresponding to the first terminal is included in the one or more DNNs.
在一种可能的设计中,该网络设备包括为该第一终端服务的第一移动管理网元;该方法还包括:该第一移动管理网元接收来自第二终端的会话建立请求,该会话建立请求携带第二信息,该第二信息包括该第二终端对应的TA的信息或者该第二终端对应的DNN中的至少一个;该第一移动管理网元根据该第二信息、以及存储的一个或多个地址资源不充足的信息,选择第二会话管理网元为该第二终端服务,其中,该一个或多个地址资源包括一个或多个会话管理网元中与包括该第二信息的信息对应的地址资源。基于该方案,由于第一移动管理网元可以获知第一会话管理网元中与第一信息对应的地址资源的状态,因此可以在后续的终端会话建立过程中选择会话管理网元时,根据地址资源的状态,规避地址资源不充足的会话管理网元,选择地址资源充足的会话管理网元,从而不仅可以避免给不同的会话分配的IP地址重复 的问题,且可以有效利用地址池中的IP地址。In a possible design, the network device includes a first mobility management network element serving the first terminal; the method further comprising: the first mobility management network element receiving a session establishment request from the second terminal, the session The establishment request carries the second information, where the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal; the first mobility management network element is configured according to the second information, and the second information The information that the one or more address resources are insufficient, and the second session management network element is selected to serve the second terminal, where the one or more address resources include one or more session management network elements and include the second information. The information corresponding to the address resource. Based on the solution, the first mobility management network element can learn the state of the address resource corresponding to the first information in the first session management network element, and therefore, when the session management network element is selected in the subsequent terminal session establishment process, according to the address The state of the resource, the session management network element that circumvents the insufficient address resources, and the session management network element with sufficient address resources, can avoid the problem of duplicate IP addresses assigned to different sessions, and can effectively utilize the IP in the address pool. address.
在一种可能的设计中,该网络设备包括网络功能存储网元;该方法还包括:该网络功能存储网元接收来自为第二终端服务的第二移动管理网元的请求消息,该请求消息携带第二信息,该第二信息包括该第二终端对应的TA的信息或者该第二终端对应的DNN中的至少一个;该网络功能存储网元根据该第二信息、以及存储的一个或多个地址资源不充足的信息,确定可用的会话管理网元列表,其中,该一个或多个地址资源包括一个或多个会话管理网元中与包括该第二信息的信息对应的地址资源;该网络功能存储网元向该第二移动管理网元发送该可用的会话管理网元列表,该可用的会话管理网元列表用于选择第二会话管理网元为该第二终端服务。基于该方案,由于网络功能存储网元可以获知第一会话管理网元中与第一信息对应的地址资源的状态,因此可以在后续的终端会话建立过程中选择会话管理网元时,根据地址资源的状态,规避地址资源不充足的会话管理网元,选择地址资源充足的会话管理网元,从而不仅可以避免给不同的会话分配的IP地址重复的问题,且可以有效利用地址池中的IP地址。In a possible design, the network device includes a network function storage network element; the method further includes: the network function storage network element receiving a request message from a second mobility management network element serving the second terminal, the request message Carrying the second information, where the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal; the network function stores the network element according to the second information, and one or more stored Determining an available list of session management network elements, wherein the one or more address resources include address resources corresponding to information including the second information in one or more session management network elements; The network function storage network element sends the available session management network element list to the second mobility management network element, where the available session management network element list is used to select the second session management network element to serve the second terminal. Based on the solution, the network function storage network element can learn the state of the address resource corresponding to the first information in the first session management network element, and therefore, according to the address resource, when the session management network element is selected in the subsequent terminal session establishment process. The state of the session management network element that avoids insufficient address resources, and selects the session management network element with sufficient address resources, thereby avoiding the problem of duplicate IP addresses assigned to different sessions, and effectively utilizing the IP address in the address pool. .
在一种可能的设计中,该可用的会话管理网元列表中包括该第二会话管理网元,该第二会话管理网元中与第三信息对应的地址资源充足,其中,该第三信息包括一个或多个TA的信息、或者一个或多个DNN中的至少一个,该第三信息中包括该第二信息。In a possible design, the available session management network element list includes the second session management network element, and the address resource corresponding to the third information in the second session management network element is sufficient, wherein the third information is sufficient. Information including one or more TAs, or at least one of one or more DNNs, the second information being included in the third information.
在一种可能的设计中,该方法还包括:该网络设备接收来自该第一会话管理网元的第二通知消息,该第二通知消息用于指示该第一会话管理网元中与该第一信息对应的地址资源充足;该网络设备删除存储的该第一会话管理网元中与该第一信息对应的地址资源不充足的信息。也就是说,本申请实施例中,在与第一信息对应的地址资源充足时,可以及时通知相应的网络设备,使得该网络设备删除存储的该第一会话管理网元中与该第一信息对应的地址资源不充足的信息,进而在后续的终端会话建立过程中选择会话管理网元时,可以选择该会话管理网元。In a possible design, the method further includes: receiving, by the network device, a second notification message from the first session management network element, where the second notification message is used to indicate that the first session management network element is related to the first The address resource corresponding to the information is sufficient; the network device deletes the stored information of the first session management network element that is insufficient for the address resource corresponding to the first information. In other words, in the embodiment of the present application, when the address resource corresponding to the first information is sufficient, the corresponding network device may be notified in time, so that the network device deletes the stored first session management network element and the first information. If the corresponding address resource is insufficient, the session management network element may be selected when the session management network element is selected in the subsequent terminal session establishment process.
第三方面,提供了一种会话管理网元,该会话管理网元具有实现上述第一方面任一项所述的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a third aspect, a session management network element is provided, the session management network element having the function of implementing the method of any of the above first aspects. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
第四方面,提供了一种会话管理网元,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该会话管理网元运行时,该处理器执行该存储器存储的该计算机执行指令,以使该会话管理网元执行如上述第一方面中任一项所述的地址管理方法。A fourth aspect provides a session management network element, including: a processor and a memory; the memory is configured to store a computer execution instruction, and when the session management network element is running, the processor executes the computer execution instruction stored by the memory The session management network element performs the address management method according to any of the above first aspects.
第五方面,提供了一种会话管理网元,包括:处理器;所述处理器用于与存储器耦合,并读取存储器中的指令之后,根据所述指令执行如上述第一方面中任一项所述的地址管理方法。A fifth aspect provides a session management network element, including: a processor; the processor is configured to be coupled to a memory, and after reading an instruction in the memory, execute any one of the foregoing first aspects according to the instruction The address management method described.
第六方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第一方面中任一项所述的地址管理方法。In a sixth aspect, a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the address management of any of the above first aspects method.
第七方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第一方面中任一项所述的地址管理方法。According to a seventh aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the address management method of any of the above first aspects.
第八方面,提供了一种芯片系统,该芯片系统包括处理器,用于支持会话管理网元实现上述第一方面中所涉及的功能,例如确定会话管理网元中与第一信息对应的地址资源不充足。 在一种可能的设计中,该芯片系统还包括存储器,该存储器,用于保存会话管理网元必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。According to an eighth aspect, a chip system is provided, the chip system includes a processor, configured to support a session management network element to implement the functions involved in the foregoing first aspect, for example, determining an address corresponding to the first information in the session management network element. Not enough resources. In one possible design, the chip system further includes a memory for storing program instructions and data necessary for the session management network element. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第三方面至第八方面中任一种设计方式所带来的技术效果可参见第一方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by any one of the third aspect to the eighth aspect, refer to the technical effects brought by different design modes in the first aspect, and details are not described herein again.
第九方面,提供了一种网络设备,该网络设备具有实现上述第二方面任一项所述的方法的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。In a ninth aspect, a network device is provided, the network device having the function of implementing the method of any of the above second aspects. This function can be implemented in hardware or in hardware by executing the corresponding software. The hardware or software includes one or more modules corresponding to the functions described above.
第十方面,提供了一种网络设备,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该网络设备运行时,该处理器执行该存储器存储的该计算机执行指令,以使该网络设备执行如上述第二方面中任一项所述的地址管理方法。According to a tenth aspect, a network device includes: a processor and a memory; the memory is configured to store a computer execution instruction, and when the network device is running, the processor executes the computer execution instruction stored in the memory to enable the The network device performs the address management method according to any of the above second aspects.
第十一方面,提供了一种网络设备,包括:处理器;所述处理器用于与存储器耦合,并读取存储器中的指令之后,根据所述指令执行如上述第二方面中任一项所述的地址管理方法。In an eleventh aspect, a network device is provided, comprising: a processor; the processor is configured to be coupled to a memory, and after reading an instruction in the memory, execute according to the instruction according to any one of the foregoing second aspects The address management method described.
第十二方面,提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行上述第二方面中任一项所述的地址管理方法。A twelfth aspect, a computer readable storage medium having stored therein instructions that, when run on a computer, cause the computer to perform the address of any of the above second aspects Management method.
第十三方面,提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机可以执行上述第二方面中任一项所述的地址管理方法。In a thirteenth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the address management method of any of the above second aspects.
第十四方面,提供了一种芯片系统,该芯片系统包括处理器,用于支持网络设备实现上述第二方面中所涉及的功能,例如根据第二信息、以及存储的一个或多个地址资源不充足的信息,选择第二会话管理网元为第二终端服务。在一种可能的设计中,该芯片系统还包括存储器,该存储器,用于保存网络设备必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件。In a fourteenth aspect, a chip system is provided, the chip system comprising a processor for supporting a network device to implement the functions involved in the second aspect, for example, according to the second information, and the stored one or more address resources If the information is insufficient, the second session management network element is selected to serve the second terminal. In a possible design, the chip system further includes a memory for storing necessary program instructions and data of the network device. The chip system can be composed of chips, and can also include chips and other discrete devices.
其中,第九方面至十四方面中任一种设计方式所带来的技术效果可参见第二方面中不同设计方式所带来的技术效果,此处不再赘述。For the technical effects brought by any one of the ninth to fourteenth aspects, refer to the technical effects brought by different design modes in the second aspect, and details are not described herein again.
第十五方面,提供了一种地址管理系统,包括会话管理网元和网络设备。其中,会话管理网元,用于确定该会话管理网元中与第一信息对应的地址资源不充足,并向网络设备发送第一通知消息,其中,该第一通知消息用于指示该会话管理网元中与第一信息对应的地址资源不充足,该第一信息包括一个或多个跟踪区TA的信息、或者一个或多个数据网络名称DNN中的至少一个;网络设备,用于接收来自会话管理网元的第一通知消息。In a fifteenth aspect, an address management system is provided, including a session management network element and a network device. The session management network element is configured to determine that the address resource corresponding to the first information in the session management network element is insufficient, and send a first notification message to the network device, where the first notification message is used to indicate the session management. The address resource corresponding to the first information in the network element is insufficient, the first information includes information of one or more tracking areas TA, or at least one of one or more data network names DNN; and the network device is configured to receive from The first notification message of the session management network element.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
附图说明DRAWINGS
图1为本申请实施例提供的地址管理系统的架构示意图;FIG. 1 is a schematic structural diagram of an address management system according to an embodiment of the present application;
图2为本申请实施例提供的5G网络的架构示意图;2 is a schematic structural diagram of a 5G network according to an embodiment of the present application;
图3为本申请实施例提供的通信设备的硬件结构示意图;FIG. 3 is a schematic structural diagram of hardware of a communication device according to an embodiment of the present disclosure;
图4为本申请实施例提供的地址资源与TA的对应关系示意图;4 is a schematic diagram of a correspondence between an address resource and a TA according to an embodiment of the present application;
图5为本申请实施例提供的地址资源与DN的对应关系示意图;FIG. 5 is a schematic diagram of correspondence between address resources and DNs according to an embodiment of the present disclosure;
图6为本申请实施例提供的地址资源与DN和TA的对应关系示意图;FIG. 6 is a schematic diagram of correspondence between address resources and DN and TA according to an embodiment of the present disclosure;
图7为本申请实施例提供的地址管理方法的流程示意图一;FIG. 7 is a schematic flowchart 1 of an address management method according to an embodiment of the present application;
图8为本申请实施例提供的地址管理方法的流程示意图二;FIG. 8 is a second schematic flowchart of an address management method according to an embodiment of the present disclosure;
图9为本申请实施例提供的会话管理网元的结构示意图;FIG. 9 is a schematic structural diagram of a session management network element according to an embodiment of the present disclosure;
图10为本申请实施例提供的网络设备的结构示意图。FIG. 10 is a schematic structural diagram of a network device according to an embodiment of the present disclosure.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。并且,在本申请的描述中,除非另有说明,“多个”是指两个或多于两个。另外,为了便于清楚描述本申请实施例的技术方案,在本申请的实施例中,采用了“第一”、“第二”等字样对功能和作用基本相同的相同项或相似项进行区分。本领域技术人员可以理解“第一”、“第二”等字样并不对数量和执行次序进行限定,并且“第一”、“第二”等字样也并不限定一定不同。The technical solutions in the embodiments of the present application will be described below with reference to the accompanying drawings in the embodiments of the present application. In the description of the present application, unless otherwise stated, "/" means the meaning of or, for example, A/B may represent A or B; "and/or" herein is merely an association describing the associated object. The relationship indicates that there may be three kinds of relationships, for example, A and/or B, which may indicate that there are three cases where A exists separately, A and B exist at the same time, and B exists separately. Also, in the description of the present application, "a plurality" means two or more than two unless otherwise stated. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, the words "first", "second", and the like are used to distinguish the same items or similar items whose functions and functions are substantially the same. Those skilled in the art can understand that the words "first", "second" and the like do not limit the number and execution order, and the words "first", "second" and the like are not necessarily limited.
此外,本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。In addition, the network architecture and the service scenario described in the embodiments of the present application are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present application, and are not limited to the technical solutions provided by the embodiments of the present application. With the evolution of the network architecture and the emergence of new service scenarios, the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
如图1所示,为本申请实施例提供的一种地址管理系统10,该地址管理系统10包括会话管理网元101和网络设备102。As shown in FIG. 1 , an address management system 10 is provided in the embodiment of the present application. The address management system 10 includes a session management network element 101 and a network device 102.
其中,会话管理网元101,用于确定会话管理网元101中与第一信息对应的地址资源不充足,该第一信息包括一个或多个跟踪区(tracking area,TA)的信息、或者一个或多个数据网络名称(data network name,DNN)中的至少一个,相关描述将在后续实施例中结合具体场景详细阐述,在此不再赘述。The session management network element 101 is configured to determine that the address resource corresponding to the first information in the session management network element 101 is insufficient, and the first information includes information of one or more tracking areas (TAs), or one For example, at least one of the data network name (DNN) is described in detail in the following embodiments, and details are not described herein again.
会话管理网元101,还用于向网络设备102发送第一通知消息,该第一通知消息用于指示会话管理网元101中与第一信息对应的地址资源不充足。The session management network element 101 is further configured to send a first notification message to the network device 102, where the first notification message is used to indicate that the address resource corresponding to the first information in the session management network element 101 is insufficient.
网络设备102,用于接收来自会话管理网元101的第一通知消息。The network device 102 is configured to receive a first notification message from the session management network element 101.
可选的,本申请实施例中,网络设备102还用于存储会话管理网元101中与第一信息对应的地址资源不充足的信息,本申请实施例对此不作具体限定。Optionally, in the embodiment of the present application, the network device 102 is further configured to store information that the address management network element 101 has insufficient address resources corresponding to the first information, which is not specifically limited in this embodiment of the present application.
可选的,本申请实施例中的地址资源不充足包括地址资源中可用地址资源的比例小于或者等于第一预设值;地址资源充足包括地址资源中可用地址资源的比例大于或者等于第二预设值,其中,第一预设值小于或者等于第二预设值。Optionally, the address resource in the embodiment of the present application is insufficient, and the ratio of the available address resources in the address resource is less than or equal to the first preset value; the sufficient address resource includes the ratio of the available address resources in the address resource is greater than or equal to the second pre-predetermined A value is set, wherein the first preset value is less than or equal to the second preset value.
示例性的,假设第一预设值和第二预设值均为1%,则若一个地址资源中当前可用地址资源的比例大于或者等于1%,则此时可以确定该地址资源充足;假设为终端分配一个该地址资源中的IP地址之后使得该地址资源中当前可用地址资源的比例小于1%,则此时该地址资源变为不充足;若后续一个终端发起地址释放,使得该地址资源中可用地址资源的比例大于或者等于1%,则此时该地址资源变为充足;若此时再为终端分配一个该地址资源中的IP地址,则导致该地址资源中可用地址资源的比例又小于1%,则此时该地址资源又变为不充足,循环往复,地址资源的状态也频繁切换,该现象称为乒乓效应。Exemplarily, if both the first preset value and the second preset value are both 1%, if the ratio of the currently available address resources in an address resource is greater than or equal to 1%, then the address resource may be determined to be sufficient; After the IP address in the address resource is allocated to the terminal, the ratio of the currently available address resource in the address resource is less than 1%, and the address resource becomes insufficient at this time; if the subsequent terminal initiates the address release, the address resource is made. If the ratio of the available address resources is greater than or equal to 1%, then the address resource becomes sufficient; if the terminal is assigned an IP address in the address resource at this time, the proportion of available address resources in the address resource is If the value is less than 1%, the address resource becomes insufficient again, and the state of the address resource is frequently switched. This phenomenon is called a ping-pong effect.
或者,示例性的,假设第一预设值为1%,第二预设值为2%,也就是说存在一个阈值区间,则若一个地址资源中当前可用地址资源的比例大于2%,则此时可以确定该地址资源充足;假设为一个或多个终端分配该地址资源中的IP地址之后使得该地址资源中当前可用地址资源的比例持续下降至1%,则此时该地址资源变为不充足;若后续一个或多个终端发起地址释放,使得该地址资源中可用地址资源的比例持续增加至%2,则此时该地址资源变为充足。这种阈值区间可用于避免乒乓效应。Or, by way of example, assuming that the first preset value is 1% and the second preset value is 2%, that is, if there is a threshold interval, if the ratio of currently available address resources in an address resource is greater than 2%, then At this time, it can be determined that the address resource is sufficient; if the IP address in the address resource is allocated to one or more terminals, and the proportion of the currently available address resources in the address resource is continuously decreased to 1%, then the address resource becomes If the subsequent one or more terminals initiate address release, so that the proportion of available address resources in the address resource continues to increase to %2, the address resource becomes sufficient at this time. This threshold interval can be used to avoid ping-pong effects.
可选的,本申请实施例中上述可用地址资源的比例也可以替换为可用地址资源的个数;或者,也可以用不可用地址资源的比例或者不可用地址资源的个数来表征地址资源充足或者地址资源不充足等,本申请实施例对此不作具体限定。其中,本申请下述实施例仅是示例性的以可用地址资源的比例来确定地址资源是否充足,在此统一说明,以下不再赘述。Optionally, the ratio of the foregoing address resources in the embodiment of the present application may also be replaced by the number of available address resources; or the ratio of unavailable address resources or the number of unavailable address resources may be used to represent sufficient address resources. The address resource is not sufficient, and the embodiment of the present application does not specifically limit this. The following embodiments of the present application are merely exemplary to determine whether the address resources are sufficient according to the ratio of available address resources, which are collectively described herein, and are not described herein again.
可选的,本申请实施例中的网络设备102例如可以包括移动管理网元或者网络功能存储网元等,本申请实施例对此不作具体限定。Optionally, the network device 102 in the embodiment of the present application may include, for example, a mobility management network element or a network function storage network element, which is not specifically limited in this embodiment of the present application.
可选的,本实施例中的会话管理网元101和网络设备102之间可以直接通信,也可以通过其他设备的转发进行通信,本申请实施例对此不作具体限定。Optionally, the session management network element 101 and the network device 102 in this embodiment may directly communicate with each other, and may also perform communication by forwarding of other devices, which is not specifically limited in this embodiment of the present application.
本申请实施例提供的地址管理系统中,由于网络设备可以获知会话管理网元中与第一信息对应的地址资源的状态,因此可以在后续的终端会话建立过程中选择会话管理网元时,根据地址资源的状态,规避地址资源不充足的会话管理网元,选择地址资源充足的会话管理网元,从而不仅可以避免给不同的会话分配的IP地址重复的问题,且可以有效利用地址池中的IP地址。In the address management system provided by the embodiment of the present application, the network device can learn the state of the address resource corresponding to the first information in the session management network element, and therefore, when the session management network element is selected in the subsequent terminal session establishment process, The state of the address resource, the session management network element that circumvents the insufficient address resources, and the session management network element with sufficient address resources, thereby avoiding the problem of duplicate IP addresses assigned to different sessions, and effectively utilizing the address pool IP address.
可选的,图1所示的地址管理系统可以应用于目前的5G网络以及未来其它的网络,本发明实施例对此不作具体限定。Optionally, the address management system shown in FIG. 1 can be applied to the current 5G network and other networks in the future, which is not specifically limited in this embodiment of the present invention.
示例性的,假设图1所示的地址管理系统可以应用于目前的5G网络,则如图2所示,上述的会话管理网元所对应的网元或者实体可以为5G网络中的SMF网元;上述的网络功能存储网元所对应的网元或者实体可以为5G网络中的网络功能存储功能(network function repository function,NRF)网元,上述的移动管理网元所对应的网元或者实体可以为5G网络中的接入和移动性管理功能(access and mobility management function,AMF)网元。Illustratively, if the address management system shown in FIG. 1 can be applied to the current 5G network, as shown in FIG. 2, the network element or entity corresponding to the foregoing session management network element may be an SMF network element in the 5G network. The network element or the entity corresponding to the network function storage network element may be a network function repository function (NRF) network element in the 5G network, and the network element or entity corresponding to the foregoing mobility management network element may be It is an access and mobility management function (AMF) network element in a 5G network.
此外,如图2所示,该5G网络还可以包括接入设备、UPF网元、统一数据管理(unified data management,UDM)网元、策略控制功能(policy control function,PCF)网元、鉴权服务器功能(authentication server function,AUSF)网元等,本申请实施例对此不作具体限定。In addition, as shown in FIG. 2, the 5G network may further include an access device, a UPF network element, a unified data management (UDM) network element, a policy control function (PCF) network element, and an authentication. The embodiment of the present application does not specifically limit the network function of the authentication server function (AUSF).
其中,如图2所示,本申请实施例中,终端通过接入设备接入5G核心网络,终端通过下一代网络(Next generation,N)1接口(简称N1)与AMF网元通信,接入设备通过N2接口(简称N2)与AMF网元通信,接入设备通过N3接口(简称N3)与UPF网元通信,AMF网元通过N11接口(简称N11)与SMF网元通信,AMF网元通过N8接口(简称N8)与UDM网元通信,AMF网元通过N12接口(简称N12)与AUSF网元通信,AMF网元通过N15接口(简称N15)与PCF网元通信,SMF网元通过N7接口(简称N7)与PCF网元通信,SMF网元通过N4接口(简称N4)与UPF网元通信,NRF网元分别与UPF网元和SMF网元通信,UPF网元通过N6接口(简称N6)接入数据网络。As shown in FIG. 2, in the embodiment of the present application, the terminal accesses the 5G core network through the access device, and the terminal communicates with the AMF network element through the Next Generation (N)1 interface (N1). The device communicates with the AMF network element through the N2 interface (N2). The access device communicates with the UPF network element through the N3 interface (N3). The AMF network element communicates with the SMF network element through the N11 interface (N11). The AMF network element passes. The N8 interface (N8 for short) communicates with the UDM network element. The AMF network element communicates with the AUSF network element through the N12 interface (N12 for short). The AMF network element communicates with the PCF network element through the N15 interface (N15 for short), and the SMF network element passes the N7 interface. (N7) communicates with the PCF network element. The SMF network element communicates with the UPF network element through the N4 interface (N4). The NRF network element communicates with the UPF network element and the SMF network element respectively. The UPF network element passes the N6 interface (N6 for short). Access to the data network.
需要说明的是,图2中的各个网元之间的接口名字只是一个示例,具体实现中接口名字可能为其他名字,本申请实施例对此不作具体限定。It should be noted that the name of the interface between the network elements in FIG. 2 is only an example. In the specific implementation, the interface name may be another name, which is not specifically limited in this embodiment of the present application.
需要说明的是,图2中的终端、接入设备、NRF网元、AMF网元、SMF网元、UPF网元、AUSF网元、UDM网元或者PCF网元等仅是一个名字,名字对设备本身不构成限定。在5G网络以及未来其它的网络中,终端、接入设备、AMF网元、SMF网元、UPF网元、AUSF网元、UDM网元或者PCF网元所对应的网元或实体也可以是其他的名字,本申请实施例对此不作具体限定。例如,UPF网元还有可能被替换为UPF或者UPF实体;UDM网元还有可能被替换为用户归属服务器(home subscriber server,HSS)或者用户签约数据库(user subscription database,USD)或者数据库实体等等,在此进行统一说明,以下不再赘述。It should be noted that the terminal, the access device, the NRF network element, the AMF network element, the SMF network element, the UPF network element, the AUSF network element, the UDM network element, or the PCF network element in FIG. 2 are only one name, and the name is The device itself is not limited. In the 5G network and other networks in the future, the network element or entity corresponding to the terminal, the access device, the AMF network element, the SMF network element, the UPF network element, the AUSF network element, the UDM network element, or the PCF network element may also be other The name of the application is not specifically limited in this embodiment. For example, the UPF network element may be replaced by a UPF or UPF entity; the UDM network element may also be replaced by a home subscriber server (HSS) or a user subscription database (USD) or a database entity. Etc., hereby make a unified explanation, the details are not described below.
可选的,本申请实施例中所涉及到的终端(terminal)可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其它处理设备;还可以包括用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字助理(personal digital assistant,PDA)电脑、平板型电脑、无线调制解调器(modem)、手持设备(handheld)、膝上型电脑(laptop computer)、无绳电话(cordless phone)或者无线本地环路(wireless local loop,WLL)台、机器类型通信(machine type communication,MTC)终端、用户设备(user equipment,UE),移动台(mobile station,MS),终端设备(terminal device)或者中继用户设备等。其中,中继用户设备例如可以是5G家庭网关(residential gateway,RG)。为方便描述,本申请中,上面提到的设备统称为终端。Optionally, the terminal involved in the embodiment of the present application may include various handheld devices having wireless communication functions, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem; Including user unit (subscriber unit), cellular phone, smart phone, wireless data card, personal digital assistant (PDA) computer, tablet computer, wireless modem (modem), handheld device Handheld, laptop computer, cordless phone or wireless local loop (WLL) station, machine type communication (MTC) terminal, user equipment (user equipment) , UE), mobile station (MS), terminal device or relay user equipment. The relay user equipment may be, for example, a 5G residential gateway (RG). For convenience of description, in the present application, the above mentioned devices are collectively referred to as terminals.
可选的,本申请实施例中所涉及的接入设备指的是接入核心网的设备,例如可以是基站,宽带网络业务网关(broadband network gateway,BNG),汇聚交换机,非第三代合作伙伴计划(3rd generation partnership project,3GPP)接入网元等。基站可以包括各种形式的基站,例如:宏基站,微基站(也称为小站),中继站,接入点等。Optionally, the access device involved in the embodiment of the present application refers to a device that accesses the core network, and may be, for example, a base station, a broadband network gateway (BNG), an aggregation switch, and a non-third-generation cooperation. The 3rd generation partnership project (3GPP) accesses the network element and the like. The base station may include various forms of base stations, such as macro base stations, micro base stations (also referred to as small stations), relay stations, access points, and the like.
可选的,本申请实施例图1中的会话管理网元或者网络设备可以由一个设备实现,也可以由多个设备共同实现,还可以是一个设备内的一个功能模块,本申请实施例对此不作具体限定。可以理解的是,上述功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行的软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。Optionally, the session management network element or the network device in the embodiment of the present disclosure may be implemented by one device, or may be implemented by multiple devices, or may be a function module in a device. This is not specifically limited. It can be understood that the above functions can be either a network component in a hardware device, a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
例如,本申请实施例图1中的会话管理网元或者网络设备可以通过图3中的通信设备来实现。图3所示为本申请实施例提供的通信设备的硬件结构示意图。该通信设备300包括至少一个处理器301,通信线路302,存储器303以及至少一个通信接口304。For example, the session management network element or network device in FIG. 1 in this embodiment of the present application may be implemented by using the communication device in FIG. 3. FIG. 3 is a schematic diagram showing the hardware structure of a communication device according to an embodiment of the present application. The communication device 300 includes at least one processor 301, a communication line 302, a memory 303, and at least one communication interface 304.
处理器301可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。The processor 301 can be a general central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more for controlling the execution of the program of the present application. integrated circuit.
通信线路302可包括一通路,在上述组件之间传送信息。Communication line 302 can include a path for communicating information between the components described above.
通信接口304,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN)等。The communication interface 304 uses a device such as any transceiver for communicating with other devices or communication networks, such as Ethernet, radio access network (RAN), wireless local area networks (WLAN), etc. .
存储器303可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其 他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路302与处理器相连接。存储器也可以和处理器集成在一起。The memory 303 can be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type that can store information and instructions. The dynamic storage device can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, and a disc storage device. (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program code in the form of instructions or data structures and can be Any other media accessed, but not limited to this. The memory may be present independently and connected to the processor via communication line 302. The memory can also be integrated with the processor.
其中,存储器303用于存储执行本申请方案的计算机执行指令,并由处理器301来控制执行。处理器301用于执行存储器303中存储的计算机执行指令,从而实现本申请下述实施例提供的地址管理方法。The memory 303 is configured to store computer execution instructions for executing the solution of the present application, and is controlled by the processor 301 for execution. The processor 301 is configured to execute computer execution instructions stored in the memory 303, thereby implementing the address management method provided by the following embodiments of the present application.
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。Optionally, the computer-executed instructions in the embodiment of the present application may also be referred to as an application code, which is not specifically limited in this embodiment of the present application.
在具体实现中,作为一种实施例,处理器301可以包括一个或多个CPU,例如图3中的CPU0和CPU1。In a particular implementation, as an embodiment, processor 301 may include one or more CPUs, such as CPU0 and CPU1 in FIG.
在具体实现中,作为一种实施例,通信设备300可以包括多个处理器,例如图3中的处理器301和处理器308。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。In a particular implementation, as an embodiment, communication device 300 can include multiple processors, such as processor 301 and processor 308 in FIG. Each of these processors can be a single-CPU processor or a multi-core processor. A processor herein may refer to one or more devices, circuits, and/or processing cores for processing data, such as computer program instructions.
在具体实现中,作为一种实施例,通信设备300还可以包括输出设备305和输入设备306。输出设备305和处理器301通信,可以以多种方式来显示信息。例如,输出设备305可以是液晶显示器(liquid crystal display,LCD),发光二级管(light emitting diode,LED)显示设备,阴极射线管(cathode ray tube,CRT)显示设备,或投影仪(projector)等。输入设备306和处理器301通信,可以以多种方式接收用户的输入。例如,输入设备306可以是鼠标、键盘、触摸屏设备或传感设备等。In a particular implementation, as an embodiment, the communication device 300 can also include an output device 305 and an input device 306. Output device 305 is in communication with processor 301 and can display information in a variety of ways. For example, the output device 305 can be a liquid crystal display (LCD), a light emitting diode (LED) display device, a cathode ray tube (CRT) display device, or a projector. Wait. Input device 306 is in communication with processor 301 and can receive user input in a variety of ways. For example, input device 306 can be a mouse, keyboard, touch screen device, or sensing device, and the like.
上述的通信设备300可以是一个通用设备或者是一个专用设备。在具体实现中,通信设备300可以是台式机、便携式电脑、网络服务器、掌上电脑(personal digital assistant,PDA)、移动手机、平板电脑、无线终端设备、嵌入式设备或有图3中类似结构的设备。本申请实施例不限定通信设备300的类型。The communication device 300 described above may be a general purpose device or a dedicated device. In a specific implementation, the communication device 300 can be a desktop computer, a portable computer, a network server, a personal digital assistant (PDA), a mobile phone, a tablet computer, a wireless terminal device, an embedded device, or the like in FIG. device. The embodiment of the present application does not limit the type of the communication device 300.
下面将结合图1至图3对本申请实施例提供的地址管理方法进行具体阐述。The address management method provided by the embodiment of the present application will be specifically described below with reference to FIG. 1 to FIG.
需要说明的是,本申请下述实施例中各个网元之间的消息名字或消息中各参数的名字等只是一个示例,具体实现中也可以是其他的名字,本申请实施例对此不作具体限定。It should be noted that the name of the message or the name of each parameter in the message in the following embodiments of the present application is only an example, and may be other names in the specific implementation. limited.
首先,以图1所示的地址管理系统应用于如图2所示的5G网络为例,给出SMF网元确定SMF网元中与第一信息对应的地址资源是否充足的方式如下:First, the address management system shown in FIG. 1 is applied to the 5G network shown in FIG. 2 as an example, and the manner in which the SMF network element determines whether the address resource corresponding to the first information in the SMF network element is sufficient is as follows:
方式一:SMF网元确定该SMF网元上配置的某个UPF网元对应的地址池中的资源是否充足,若不充足,则等价于SMF网元确定该SMF网元中与第一信息对应的地址资源不充足;若充足,则等价于SMF网元确定该SMF网元中与第一信息对应的地址资源充足。也就是说,此时的第一信息包括该UPF网元对应的所有TA的信息、或者该UPF网元对应的所有DNN中的至少一个。Manner 1: The SMF network element determines whether the resources in the address pool corresponding to a certain UPF network element configured on the SMF network element are sufficient. If not, the SMF network element determines the SMF network element and the first information. The corresponding address resource is insufficient; if sufficient, the SMF network element is equivalent to determining that the address resource corresponding to the first information in the SMF network element is sufficient. That is, the first information at this time includes at least one of information of all TAs corresponding to the UPF network element or all DNNs corresponding to the UPF network element.
示例性的,图4中的地址资源1是指SMF网元上配置的UPF1网元对应的地址池中的资源,图4中的地址资源2是指SMF网元上配置的UPF2网元对应的地址池中的资源。其中,UPF1的服务网元对应TA1和TA2,UPF2网元对应TA3和TA2。Illustratively, the address resource 1 in FIG. 4 refers to the resource in the address pool corresponding to the UPF1 network element configured on the SMF network element, and the address resource 2 in FIG. 4 refers to the UPF2 network element configured on the SMF network element. A resource in the address pool. The service network element of UPF1 corresponds to TA1 and TA2, and the UPF2 network element corresponds to TA3 and TA2.
假设SMF网元确定地址资源1不充足,则等价于SMF网元确定与TA1的信息和TA2的信息对应的地址资源不充足;或者,假设SMF网元确定地址资源充足,则等价于SMF网元确定与TA1的信息和TA2的信息对应的地址资源充足。其中,确定地址资源1和地址资源2是否充足的方式可参考图1所示的实施例,在此不再赘述。Assuming that the SMF network element determines that the address resource 1 is insufficient, the SMF network element determines that the address resource corresponding to the information of the TA1 and the information of the TA2 is insufficient; or, if the SMF network element determines that the address resource is sufficient, it is equivalent to the SMF. The network element determines that the address resources corresponding to the information of TA1 and the information of TA2 are sufficient. For the manner of determining whether the address resource 1 and the address resource 2 are sufficient, reference may be made to the embodiment shown in FIG. 1 , and details are not described herein again.
方式二:SMF网元首先确定该SMF网元上配置的某个UPF网元对应的地址池中的资源是否充足;若充足,和方式一中充足的情况类似,在此不再赘述;若不充足,再检查该UPF网元对应的一个或多个TA是否被该SMF网元控制或者管理的其他UPF网元覆盖,只有当一个TA对应的所有UPF网元对应的地址池中的资源均出现不足时,该TA的地址资源才视为不充足。也就是说,此时的第一信息包括该UPF网元对应的TA的信息中的一个或者多个。Manner 2: The SMF network element first determines whether the resources in the address pool corresponding to a certain UPF network element configured on the SMF network element are sufficient; if sufficient, the situation is similar to that in the mode one, and details are not described herein; Sufficiently, it is checked whether one or more TAs corresponding to the UPF network element are covered by other UPF network elements controlled or managed by the SMF network element, and only resources in the address pool corresponding to all UPF network elements corresponding to one TA appear. When the number is insufficient, the address resource of the TA is considered insufficient. That is to say, the first information at this time includes one or more of the information of the TA corresponding to the UPF network element.
示例性的,结合上述图4,假设地址资源1出现不充足,但是地址资源2充足,则TA3对应的地址资源可以视为充足,TA2对应的地址资源也可以视为充足;若当前SMF网元控制或者管理的其他UPF网元中没有UPF网元覆盖TA1,则TA1对应的地址资源视为不充足。Exemplarily, in combination with FIG. 4 above, it is assumed that the address resource 1 is insufficient, but the address resource 2 is sufficient, the address resource corresponding to TA3 can be regarded as sufficient, and the address resource corresponding to TA2 can also be regarded as sufficient; if the current SMF network element is sufficient If no UPF network element covers TA1 in other UPF network elements that are controlled or managed, the address resource corresponding to TA1 is considered insufficient.
方式三、由于针对某个UPF网元的地址资源可以根据DNN进行分段,因此,SMF网元确定地址资源是否充足可以是确定UPF网元对应的某个DNN对应的地址资源是否充足,只有当SMF网元上配置的所有UPF网元针对该DNN的地址资源均出现不充足时,该DNN对应的地址资源才视为不充足。也就是说,此时的第一信息包括该UPF网元对应的DNN中的一个或者多个。Manner 3: The address resource for a certain UPF network element can be segmented according to the DNN. Therefore, whether the SMF network element determines whether the address resource is sufficient may be sufficient to determine whether the address resource corresponding to a certain DNN corresponding to the UPF network element is sufficient. When all the UPF network elements configured on the SMF network element are insufficient for the address resources of the DNN, the address resources corresponding to the DNN are considered insufficient. That is to say, the first information at this time includes one or more of the DNNs corresponding to the UPF network element.
示例性的,如图5所示,UPF1网元和UPF2网元均对应DNN1和DNN2,则UPF1网元对应的地址资源需要根据DNN进行分段,包括:DNN1对应的地址资源1-1和DNN2对应的地址资源1-2;UPF2网元对应的地址资源需要根据DNN进行分段,包括:DNN1对应的地址资源2-1和DNN2对应的地址资源2-2。该情况下,若UPF1网元针对DNN1的地址资源(即地址资源1-1)出现不充足,只有该SMF网元管理的其他UPF网元针对DNN1的地址资源(如地址资源2-1)也出现了地址不充足,DNN1对应的地址资源才会视为不充足。其中,确定地址资源1-1和地址资源2-1是否充足的方式可参考图1所示的实施例,在此不再赘述。For example, as shown in FIG. 5, both the UPF1 network element and the UPF2 network element correspond to DNN1 and DNN2, and the address resources corresponding to the UPF1 network element need to be segmented according to the DNN, including: address resources 1-1 and DNN2 corresponding to DNN1. The corresponding address resource 1-2; the address resource corresponding to the UPF2 network element needs to be segmented according to the DNN, including: address resource 2-1 corresponding to DNN1 and address resource 2-2 corresponding to DNN2. In this case, if the UPF1 network element is insufficient for the address resource of the DNN1 (ie, the address resource 1-1), only the other UPF network elements managed by the SMF network element are for the address resource of the DNN1 (such as the address resource 2-1). If the address is insufficient, the address resource corresponding to DNN1 will be considered insufficient. For the manner of determining whether the address resource 1-1 and the address resource 2-1 are sufficient, refer to the embodiment shown in FIG. 1 , and details are not described herein again.
其中,本申请实施例中,DNN1对应的地址资源1-1和DNN2对应的地址资源1-2可能有交叠,也可能没有交叠;DNN1对应的地址资源2-1和DNN2对应的地址资源2-2可能有交叠,也可能没有交叠,本申请实施例对此不作具体限定。In the embodiment of the present application, the address resources 1-1 corresponding to the DNN1 and the address resources 1-2 corresponding to the DNN2 may overlap or may not overlap; the address resources corresponding to the address resources 2-1 and DNN2 corresponding to the DNN1. 2-2 may overlap or may not overlap, and the embodiment of the present application does not specifically limit this.
其中,本申请实施例中,UPF网元对应的某个DNN对应的地址资源具体是指:会话建立请求中携带UPF网元对应的某个DNN时,可以为该会话分配的地址资源。也就是说,若会话建立请求中携带的是UPF网元对应的某个DNN,则需要为该会话分配该UPF网元对应的该DNN对应的地址资源中的地址。比如,若会话建立请求中携带的是UPF1网元对应的DNN1,则需要为该会话分配UPF1网元对应的DNN1对应的地址资源1-1中的地址,在此统一说明,以下不再赘述。In the embodiment of the present application, the address resource corresponding to a DNN corresponding to the UPF network element specifically refers to an address resource that can be allocated for the session when the session establishment request carries a certain DNN corresponding to the UPF network element. That is, if the session establishment request carries a certain DNN corresponding to the UPF network element, the address in the address resource corresponding to the DNN corresponding to the UPF network element needs to be allocated to the session. For example, if the session establishment request carries the DNN1 corresponding to the UPF1 network element, the address in the address resource 1-1 corresponding to the DNN1 corresponding to the UPF1 network element needs to be allocated to the session.
方式四:方式二与方式三的结合,也就是说,该方式中的第一信息包括该UPF网元对应的DNN中的一个或者多个、以及该UPF网元对应的TA中的一个或者多个。该情况下,对于某 一个TA,若该TA对应的属于某个DNN的地址资源在SMF网元上出现了不充足。则可以通过如下方式确定该TA和该DNN对应的地址资源不充足:Manner 4: The combination of mode 2 and mode 3, that is, the first information in the mode includes one or more of the DNNs corresponding to the UPF network element, and one or more of the TAs corresponding to the UPF network element. One. In this case, for a certain TA, if the address resource belonging to a certain DNN corresponding to the TA appears insufficient on the SMF network element. The address resource corresponding to the TA and the DNN may be determined as follows:
A、SMF网元首先确定是否有其他UPF网元能够覆盖这个TA;A. The SMF network element first determines whether other UPF network elements can cover the TA;
B、若A成立,SMF网元确定能够覆盖这个TA的其他UPF网元针对该DNN的地址资源是否充足。B. If A is established, the SMF network element determines whether the address resources of the other UPF network elements that can cover the TA are sufficient for the DNN.
示例性的,如图6所示,UPF1网元对应TA1和TA2,UPF2网元对应TA3和TA2;UPF1网元和UPF2网元均对应DNN1和DNN2,UPF1网元对应的地址资源根据DNN进行分段,包括:DNN1对应的地址资源1-1和DNN2对应的地址资源1-2;UPF2网元对应的地址资源根据DNN进行分段,包括:DNN1对应的地址资源2-1和DNN2对应的地址资源2-2。该情况下,若TA2对应的属于DNN1的地址资源1-1不充足,则SMF网元可以确定有UPF2网元也覆盖TA2,进而,SMF网元确定UPF2网元针对DNN1的地址资源2-1是否充足,只有UPF2网元针对DNN1的地址资源2-1也出现了不充足,DNN1和TA2对应的地址资源才会视为不充足。其中,确定地址资源1-1和地址资源2-1是否充足的方式可参考图1所示的实施例,在此不再赘述。Exemplarily, as shown in FIG. 6, the UPF1 network element corresponds to TA1 and TA2, and the UPF2 network element corresponds to TA3 and TA2; the UPF1 network element and the UPF2 network element both correspond to DNN1 and DNN2, and the address resources corresponding to the UPF1 network element are classified according to the DNN. The segment includes: the address resource 1-1 corresponding to the DNN1 and the address resource 1-2 corresponding to the DNN2; the address resource corresponding to the UPF2 network element is segmented according to the DNN, including: the address corresponding to the address resource 2-1 and the DNN2 corresponding to the DNN1 Resource 2-2. In this case, if the address resource 1-1 belonging to the DNN1 corresponding to the TA2 is insufficient, the SMF network element may determine that the UPF2 network element also covers the TA2. Further, the SMF network element determines that the UPF2 network element addresses the address resource 2-1 of the DNN1. Whether it is sufficient, only the UPF2 network element is insufficient for the address resource 2-1 of DNN1, and the address resources corresponding to DNN1 and TA2 are considered insufficient. For the manner of determining whether the address resource 1-1 and the address resource 2-1 are sufficient, refer to the embodiment shown in FIG. 1 , and details are not described herein again.
需要说明的是,上述方式一至方式四仅是示例性的给出了几种SMF网元确定SMF网元中与第一信息对应的地址资源是否充足的具体实现,当然,也可能有其他的实现方式,本申请实施例对此不作具体限定。It should be noted that, the first mode to the fourth mode are merely exemplary implementations for determining whether the address resources corresponding to the first information in the SMF network element are sufficient by several SMF network elements. Of course, there may be other implementations. The embodiment of the present application does not specifically limit this.
其次,下面将以图1所示的地址管理系统应用于如图2所示的5G网络,网络设备为5G网络中的AMF网元为例,如图7所示,为本申请实施例提供的一种地址管理方法,该地址管理方法包括如下步骤:In the following, the address management system shown in FIG. 1 is applied to the 5G network shown in FIG. 2, and the network device is an AMF network element in the 5G network, as shown in FIG. An address management method includes the following steps:
S701、终端1向SMF1网元发送会话建立请求1,以使得SMF1网元接收来自终端1的会话建立请求1。S701. The terminal 1 sends a session establishment request 1 to the SMF1 network element, so that the SMF1 network element receives the session establishment request 1 from the terminal 1.
其中,该会话建立请求1携带第四信息,该第四信息包括终端1对应的TA的信息或者终端1对应的DNN中的至少一个。该TA的信息用于表征终端1的位置信息,例如可以包括TA标识、小区标识或者位置信息的至少一个,本申请实施例对此不作具体限定。The session establishment request 1 carries the fourth information, where the fourth information includes at least one of the information of the TA corresponding to the terminal 1 or the DNN corresponding to the terminal 1. The information of the TA is used to represent the location information of the terminal 1, and may include, for example, at least one of a TA identifier, a cell identifier, or location information, which is not specifically limited in this embodiment of the present application.
可选的,本申请实施例中的会话例如可以是PDU会话,本申请实施例对此不作具体限定。Optionally, the session in the embodiment of the present application may be, for example, a PDU session, which is not specifically limited in this embodiment of the present application.
S702、SMF1网元根据会话建立请求1,为终端1分配IP地址。S702: The SMF1 network element allocates an IP address to the terminal 1 according to the session establishment request 1.
其中,步骤S702的相关实现可参考现有的实现方式,在此不再赘述。The related implementation of step S702 can refer to the existing implementation manner, and details are not described herein again.
S703、在SMF1网元为终端1分配IP地址之后,SMF1网元确定SMF1网元中与第一信息对应的地址资源不充足,该第一信息包括一个或多个TA的信息、或者一个或多个DNN中的至少一个。S703. After the SMF1 network element allocates an IP address to the terminal 1, the SMF1 network element determines that the address resource corresponding to the first information in the SMF1 network element is insufficient, and the first information includes information of one or more TAs, or one or more At least one of the DNNs.
本申请实施例中,在SMF1网元为终端1分配IP地址之后,SMF1网元将根据上述的第四信息确定对应的UPF网元,其中,该UPF网元对应的所有TA的信息、或者该UPF网元对应的所有DNN中的至少一个中包括终端1对应的TA的信息或者终端1对应的DNN中的至少一个。进而,SMF1网元可以根据上述SMF网元确定SMF网元中与第一信息对应的地址资源是否充足的方式确定SMF1网元中与第一信息对应的地址资源是否充足,在此不再赘述。In the embodiment of the present application, after the SMF1 network element allocates an IP address to the terminal 1, the SMF1 network element determines the corresponding UPF network element according to the fourth information, where the information of all the TAs corresponding to the UPF network element, or the At least one of all the DNNs corresponding to the UPF network element includes at least one of the information of the TA corresponding to the terminal 1 or the DNN corresponding to the terminal 1. In addition, the SMF1 network element may determine whether the address resource corresponding to the first information in the SMF1 network element is sufficient according to whether the SMF network element determines whether the address resource corresponding to the first information in the SMF network element is sufficient, and details are not described herein.
可选的,本申请实施例中,一个或多个TA的信息中包括终端1对应的TA的信息,一个或多个DNN中包括终端1对应的DNN。比如,若步骤S701中的会话建立请求1中携带终端1对应的TA的信息,则第一信息包括一个或多个TA的信息,该一个或多个TA的信息中包括终 端1对应的TA的信息;或者,若步骤S701中的会话建立请求1中携带终端1对应的DNN的信息,则第一信息包括一个或多个DNN的信息,该一个或多个DNN的信息中包括终端1对应的DNN的信息;或者,若步骤S701中的会话建立请求1中携带终端1对应的TA的信息以及终端1对应的DNN的信息,则第一信息包括一个或多个DNN的信息、以及一个或多个TA的信息,该一个或多个DNN的信息中包括终端1对应的DNN的信息,该一个或多个TA的信息中包括终端1对应的TA的信息。Optionally, in the embodiment of the present application, the information of one or more TAs includes information about the TA corresponding to the terminal 1, and the one or more DNNs include the DNN corresponding to the terminal 1. For example, if the session establishment request 1 in step S701 carries the information of the TA corresponding to the terminal 1, the first information includes information of one or more TAs, and the information of the one or more TAs includes the TA corresponding to the terminal 1. Or the information of the DNN corresponding to the terminal 1 in the session establishment request 1 in the step S701, the first information includes information of one or more DNNs, and the information of the one or more DNNs includes the corresponding information of the terminal 1 The information of the DNN; or, if the session establishment request 1 in step S701 carries the information of the TA corresponding to the terminal 1 and the information of the DNN corresponding to the terminal 1, the first information includes information of one or more DNNs, and one or more The information of the TA includes the information of the DNN corresponding to the terminal 1 in the information of the one or more DNNs, and the information of the TA corresponding to the terminal 1 includes the information of the TA corresponding to the terminal 1.
需要说明的是,本申请实施例中,可以是在终端1建立会话之前,SMF1网元中与第一信息对应的地址资源已经出现不充足,但是由于为终端1服务的AMF1网元并不知道SMF1网元中与第一信息对应的地址资源已经出现不充足,从而导致该AMF1网元还是为终端1选择了SMF1网元;或者,SMF1网元中与第一信息对应的地址资源本来是充足的,为终端1分配IP地址之后,导致SMF1网元中与第一信息对应的地址资源已经出现不充足,本申请实施例对此不作具体限定。It should be noted that, in the embodiment of the present application, before the session 1 is established, the address resource corresponding to the first information in the SMF1 network element may not be sufficient, but the AMF1 network element serving the terminal 1 does not know. The address resource corresponding to the first information in the SMF1 network element has not been sufficient, so that the AMF1 network element still selects the SMF1 network element for the terminal 1; or the address resource corresponding to the first information in the SMF1 network element is originally sufficient. After the IP address is allocated to the terminal 1, the address resource corresponding to the first information in the SMF1 network element is insufficient. The embodiment of the present application does not specifically limit this.
可选的,本申请实施例中,与第一信息对应的地址资源不充足也可以表征为与第一信息对应的地址资源不可用或者与第一信息对应的SMF1网元不可用等,本申请实施例对此不作具体限定。Optionally, in the embodiment of the present application, if the address resource corresponding to the first information is insufficient, the address resource corresponding to the first information is unavailable, or the SMF1 network element corresponding to the first information is unavailable, and the like. The embodiment does not specifically limit this.
S704、SMF1网元向为终端1服务的AMF1网元发送通知消息1,以使得AMF1网元接收来自SMF1网元的通知消息1。其中,该通知消息1用于指示SMF1网元中与第一信息对应的地址资源不充足。S704. The SMF1 network element sends a notification message 1 to the AMF1 network element serving the terminal 1 to enable the AMF1 network element to receive the notification message 1 from the SMF1 network element. The notification message 1 is used to indicate that the address resource corresponding to the first information in the SMF1 network element is insufficient.
可选的,本申请实施例中,该通知消息1可以携带第一信息以及地址不充足指示;或者该通知消息1携带第一信息、SMF1网元的标识以及地址不充足指示等,本申请实施例对此不作具体限定。其中,在通知消息1未携带SMF1网元的标识的情况下,AMF1网元可以根据AMF1网元与SMF1网元之间的信令连接确定SMF1网元的标识,本申请实施例对此不作具体限定。此外,第一信息的确定方式可参考上述SMF网元确定SMF网元中与第一信息对应的地址资源是否充足的方式,在此不再赘述Optionally, in the embodiment of the present application, the notification message 1 may carry the first information and the address insufficient indication; or the notification message 1 carries the first information, the identifier of the SMF1 network element, and the address insufficient indication, etc. This example does not specifically limit this. In the case that the notification message 1 does not carry the identifier of the SMF1 network element, the AMF1 network element can determine the identifier of the SMF1 network element according to the signaling connection between the AMF1 network element and the SMF1 network element, which is not specifically implemented in this embodiment of the present application. limited. In addition, the determining manner of the first information may refer to the foregoing SMF network element to determine whether the address resource corresponding to the first information in the SMF network element is sufficient, and details are not described herein again.
可选的,本申请实施例中,该通知消息1可以携带在会话建立响应1中,也可以是专门的通知消息,本申请实施例对此不作具体限定。Optionally, in the embodiment of the present application, the notification message 1 may be carried in the session establishment response 1 or may be a special notification message, which is not specifically limited in this embodiment of the present application.
S705、SMF1网元将为终端1服务的AMF1网元的标识存储到已通知AMF网元列表中。S705. The SMF1 network element stores the identifier of the AMF1 network element served by the terminal 1 in the notified AMF network element list.
其中,该已通知AMF网元列表中包括SMF1网元已经通知了SMF1网元中与第一信息对应的地址资源不充足的AMF网元的标识。The AMF network element list has been notified that the SMF1 network element has notified the identifier of the AMF network element that the address resource corresponding to the first information in the SMF1 network element is insufficient.
一种可能的实现方式中,若SMF1网元中与第一信息对应的地址资源不充足的情况是首次出现,也就是说,与第一信息对应的地址资源本来是充足的,为终端1分配IP地址之后,导致SMF1网元中与第一信息对应的地址资源已经出现不充足。则此时SMF1网元需要创建已通知AMF网元列表中,并将为终端1服务的AMF1网元的标识存储到已通知AMF网元列表中,结果如表一所示:In a possible implementation manner, if the address resource corresponding to the first information in the SMF1 network element is insufficient, the address resource corresponding to the first information is originally sufficient, and the terminal 1 is allocated. After the IP address, the address resource corresponding to the first information in the SMF1 network element is insufficient. Then, the SMF1 network element needs to create a notified AMF network element list, and store the identifier of the AMF1 network element served by the terminal 1 to the notified AMF network element list. The result is shown in Table 1:
表一Table I
信息information AMF网元的标识AMF network element identification
第一信息First information AMF1网元的标识AMF1 network element identification
另一种可能的实现方式中,若SMF1网元中与第一信息对应的地址资源不充足的情况不是首次出现,也就是说,在终端1建立会话之前,SMF1网元中与第一信息对应的地址资源已经出现不充足,但是由于为终端1服务的AMF1网元并不知道SMF1网元中与第一信息对应的地址资源已经出现不充足,从而导致该AMF1网元还是为终端1选择了SMF1网元。则此时已经存在已通知AMF网元列表,该已通知AMF网元列表是SMF1网元中与第一信息对应的地址资源不充足的情况首次出现的情况下创建的。比如,在SMF1网元为终端3分配IP地址之后,SMF1网元确定SMF1网元中与第一信息对应的地址资源不充足,则SMF1网元向为终端3服务的AMF3网元发送上述的通知消息1,并创建已通知AMF网元列表,同时将AMF3网元的标识存储到已通知AMF网元列表中。在SMF1网元将为终端1服务的AMF1网元的标识存储到已通知AMF网元列表中之后,该已通知AMF网元列表可以如表二所示:In another possible implementation manner, if the address resource corresponding to the first information in the SMF1 network element is insufficient, the first time occurs, that is, before the terminal 1 establishes the session, the SMF1 network element corresponds to the first information. The address resource has not been sufficient, but the AMF1 network element serving the terminal 1 does not know that the address resource corresponding to the first information in the SMF1 network element has insufficiently appeared, thereby causing the AMF1 network element to still select for the terminal 1. SMF1 network element. At this time, the AMF network element list has been notified, and the notified AMF network element list is created when the address resource corresponding to the first information in the SMF1 network element is insufficient for the first time. For example, after the SMF1 network element allocates an IP address to the terminal 3, the SMF1 network element determines that the address resource corresponding to the first information in the SMF1 network element is insufficient, and the SMF1 network element sends the foregoing notification to the AMF3 network element serving the terminal 3. Message 1, and create a list of AMF network elements that have been notified, and store the identifier of the AMF3 network element in the AMF network element list that has been notified. After the SMF1 network element stores the identifier of the AMF1 network element served by the terminal 1 in the notified AMF network element list, the notified AMF network element list may be as shown in Table 2:
表二Table II
Figure PCTCN2019075445-appb-000001
Figure PCTCN2019075445-appb-000001
可选的,本申请实施例中,AMF1网元的标识例如可以是AMF1网元的名称、AMF1网元的地址或者其他唯一标识AMF1网元的信息等,本申请实施例对此不作具体限定。Optionally, in the embodiment of the present application, the identifier of the AMF1 network element may be, for example, the name of the AMF1 network element, the address of the AMF1 network element, or other information that uniquely identifies the AMF1 network element, and the like.
需要说明的是,本申请实施例中,步骤S704与步骤S705之间没有必然的执行先后顺序,可以是先执行步骤S704,再执行步骤S705;还可以是先执行步骤S705,再执行步骤S704,还可以是同时执行步骤S705与步骤S704,本申请实施例对此不作具体限定。It should be noted that, in the embodiment of the present application, there is no necessary execution sequence between the step S704 and the step S705, and the step S704 may be performed first, and then the step S705 may be performed; or the step S705 may be performed first, and then the step S704 is performed. It is also possible to perform step S705 and step S704 at the same time, which is not specifically limited in the embodiment of the present application.
S706、AMF1网元存储SMF1网元中与第一信息对应的地址资源不充足的信息。S706. The AMF1 network element stores information that the address resource corresponding to the first information in the SMF1 network element is insufficient.
示例性的,SMF1网元中与第一信息对应的地址资源不充足的信息可以存储到下面的表三中:Exemplarily, the information in the SMF1 network element that the address resource corresponding to the first information is insufficient may be stored in Table 3 below:
表三Table 3
Figure PCTCN2019075445-appb-000002
Figure PCTCN2019075445-appb-000002
当然,表三仅是示例性说明,SMF1网元中与第一信息对应的地址资源不充足的信息也可以有其他的存储形式,本申请实施例对此不作具体限定。Of course, Table 3 is only an exemplary description. The information in the SMF1 network element that is not sufficient for the address information corresponding to the first information may have other storage forms, which is not specifically limited in this embodiment of the present application.
S707、会话建立的其他流程。S707, other processes of session establishment.
本申请实施例中,会话建立的其他流程可以参考现有的实现方式,在此不再赘述。For the other processes of the session establishment, reference may be made to the existing implementation manner, and details are not described herein again.
需要说明的是,本申请实施例中的步骤S707与步骤S703-S706之间没有必然的执行先后顺序,可以是先执行步骤S707,再执行步骤S703-S706中的一个或多个步骤;也可以是先步骤S703-S706中的一个或多个步骤,再执行步骤S707;还可以是同时执行步骤S707以及步骤S703-S706中的一个或多个步骤,等等,本申请实施例对此不作具体限定。It should be noted that there is no necessary sequence of execution between step S707 and step S703-S706 in the embodiment of the present application, and step S707 may be performed first, and then one or more steps in steps S703-S706 may be performed; The step S707 is performed in the first step S703-S706, and the step S707 is performed. The step S707 and the step S703-S706 are performed at the same time. limited.
可选的,本申请实施例提供的地址管理方法还可以包括如下步骤:Optionally, the address management method provided by the embodiment of the present application may further include the following steps:
S708、终端2向为终端2服务的AMF1网元发送会话建立请求2,以使得AMF1网元接收 来自终端2的会话建立请求2。S708. The terminal 2 sends a session establishment request 2 to the AMF1 network element serving the terminal 2, so that the AMF1 network element receives the session establishment request 2 from the terminal 2.
其中,该会话建立请求2携带第二信息,该第二信息包括终端2对应的TA的信息或者终端2对应的DNN中的至少一个。The session establishment request 2 carries the second information, where the second information includes at least one of the information of the TA corresponding to the terminal 2 or the DNN corresponding to the terminal 2.
S709、AMF1网元根据第二信息、以及存储的一个或多个地址资源不充足的信息,选择SMF2网元为终端2服务。其中,一个或多个地址资源包括一个或多个SMF网元中与包括第二信息的信息对应的地址资源。S709. The AMF1 network element selects the SMF2 network element to serve the terminal 2 according to the second information and the stored one or more insufficient address resources. The one or more address resources include address resources corresponding to the information including the second information in the one or more SMF network elements.
比如,假设AMF1网元根据现有技术确定SMF1网元和SMF2网元可以为终端2服务,则若第一信息包括TA1的信息和TA2的信息,第二信息包括TA1的信息,AMF1网元中存储了SMF1网元中与第一信息对应的地址资源不充足的信息,则AMF1网元不会选择SMF1网元为终端2服务,而是选择SMF2网元为终端2服务。For example, if the AMF1 network element determines that the SMF1 network element and the SMF2 network element can serve the terminal 2 according to the prior art, if the first information includes the information of the TA1 and the information of the TA2, the second information includes the information of the TA1, and the AMF1 network element The information about the insufficient address resources corresponding to the first information in the SMF1 network element is stored, and the AMF1 network element does not select the SMF1 network element to serve the terminal 2, but selects the SMF2 network element to serve the terminal 2.
S710、会话建立的其他流程。S710, other processes of session establishment.
本申请实施例中,会话建立的其他流程可以参考现有的实现方式,在此不再赘述。For the other processes of the session establishment, reference may be made to the existing implementation manner, and details are not described herein again.
可选的,本申请实施例提供的地址管理方法还可以包括如下步骤:Optionally, the address management method provided by the embodiment of the present application may further include the following steps:
S711、终端3向SMF1网元发送会话释放请求,以使得SMF1网元接收来自终端3的会话释放请求。其中,该会话释放请求用于请求释放终端3的会话。S711. The terminal 3 sends a session release request to the SMF1 network element, so that the SMF1 network element receives the session release request from the terminal 3. The session release request is used to request to release the session of the terminal 3.
S712、SMF1网元释放为终端3分配的IP地址。S712. The SMF1 network element releases the IP address allocated to the terminal 3.
假设为终端3分配的IP地址为上述SMF1网元中与第一信息对应的地址资源中的地址,则在SMF1网元释放为终端3分配的IP地址之后,SMF1网元可以将该为终端3分配的IP地址存储至与SMF1网元中与第一信息对应的地址资源中;或者SMF1网元将该为终端3分配的IP地址标记为可用等,本申请实施例对此不作具体限定。It is assumed that the IP address assigned to the terminal 3 is the address in the address resource corresponding to the first information in the SMF1 network element, and after the SMF1 network element releases the IP address allocated to the terminal 3, the SMF1 network element may be the terminal 3. The allocated IP address is stored in the address resource corresponding to the first information in the SMF1 network element; or the SMF1 network element marks the IP address assigned to the terminal 3 as available, etc., which is not specifically limited in this embodiment of the present application.
可选的,本申请实施例以终端3释放会话的情况下SMF1网元释放为终端3分配的IP地址为例进行说明,当然,终端3不释放会话,SMF1网元也可能释放为终端3分配的IP地址,比如当终端的会话有多个IP锚点时,其中一个IP锚点释放的情况下,IP地址也会释放,但是会话此时是不释放的,本申请实施例对此不作具体限定。Optionally, in the embodiment of the present application, the SMF1 network element is released as the IP address allocated by the terminal 3 in the case that the terminal 3 releases the session. For example, the terminal 3 does not release the session, and the SMF1 network element may be released for the terminal 3. The IP address, for example, when the session of the terminal has multiple IP anchors, and one of the IP anchors is released, the IP address is also released, but the session is not released at this time. limited.
S713、会话释放的其他流程。S713. Other processes for session release.
本申请实施例中,会话释放的其他流程可以参考现有的实现方式,在此不再赘述。For the other processes of the session release, reference may be made to the existing implementation manner, and details are not described herein again.
需要说明的是,步骤S711-S713以SMF1网元释放为终端3分配的IP地址为例进行说明,当然,SMF1网元也可以释放为终端1分配的IP地址,本申请实施例对此不作具体限定。It should be noted that, in the steps S711-S713, the SMF1 network element is released as the IP address allocated by the terminal 3 as an example. The SMF1 network element may also release the IP address assigned to the terminal 1. limited.
S714、SMF1网元确定SMF1网元中与第一信息对应的地址资源充足。S714: The SMF1 network element determines that the address resource corresponding to the first information in the SMF1 network element is sufficient.
其中,步骤S714的具体实现可参考上述SMF网元确定SMF网元中与第一信息对应的地址资源是否充足的方式,在此不再赘述。The specific implementation of the step S714 may refer to the foregoing SMF network element to determine whether the address resource corresponding to the first information in the SMF network element is sufficient, and details are not described herein again.
需要说明的是,本申请实施例中,可能是SMF1网元按照步骤S712的方式释放一个或者多个IP地址之后,SMF1网元才确定SMF1网元中与第一信息对应的地址资源充足,本申请实施例对此不作具体限定。It should be noted that, in the embodiment of the present application, after the SMF1 network element releases one or more IP addresses in the manner of step S712, the SMF1 network element determines that the address resources corresponding to the first information in the SMF1 network element are sufficient. The application examples are not specifically limited thereto.
S715、SMF1网元获取已通知AMF网元列表。The S715 and the SMF1 network element acquire the notified AMF network element list.
其中,该已通知AMF网元列表中包括SMF1网元已经通知了SMF1网元中与第一信息对应的地址资源不充足的AMF网元的标识。The AMF network element list has been notified that the SMF1 network element has notified the identifier of the AMF network element that the address resource corresponding to the first information in the SMF1 network element is insufficient.
假设该已通知AMF列表如表二所示,则本申请实施例提供的地址管理方法还包括如下步 骤:Assume that the AMF list has been notified as shown in Table 2. The address management method provided by the embodiment of the present application further includes the following steps:
S716、SMF1网元根据已通知AMF网元列表,向AMF1网元发送通知消息2,以使得AMF1网元接收来自SMF1网元的通知消息2。其中,该通知消息2用于指示SMF1网元中与第一信息对应的地址资源充足。S716: The SMF1 network element sends a notification message 2 to the AMF1 network element according to the notified AMF network element list, so that the AMF1 network element receives the notification message 2 from the SMF1 network element. The notification message 2 is used to indicate that the address resource corresponding to the first information in the SMF1 network element is sufficient.
可选的,本申请实施例中,该通知消息2可以携带第一信息以及地址充足指示;或者该通知消息2携带第一信息、SMF1网元的标识以及地址充足指示等,本申请实施例对此不作具体限定。其中,在通知消息2未携带SMF1网元的标识的情况下,AMF1网元可以根据AMF1网元与SMF1网元之间的信令连接确定SMF1网元的标识,本申请实施例对此不作具体限定。Optionally, in the embodiment of the present application, the notification message 2 may carry the first information and the address sufficient indication; or the notification message 2 carries the first information, the identifier of the SMF1 network element, and the address sufficient indication, etc. This is not specifically limited. In the case that the notification message 2 does not carry the identifier of the SMF1 network element, the AMF1 network element can determine the identifier of the SMF1 network element according to the signaling connection between the AMF1 network element and the SMF1 network element, which is not specifically implemented in this embodiment of the present application. limited.
可选的,本申请实施例中,该通知消息2可以携带在会话释放响应中,也可以是专门的通知消息,本申请实施例对此不作具体限定。Optionally, in the embodiment of the present application, the notification message 2 may be carried in the session release response, or may be a special notification message, which is not specifically limited in this embodiment of the present application.
S717、AMF1网元删除SMF1网元中与第一信息对应的地址资源不充足的信息。The S717 and the AMF1 network element delete information that the address resource corresponding to the first information in the SMF1 network element is insufficient.
假设AMF1网元中存储的地址资源不充足的信息原来如表三所示,则在AMF1网元删除SMF1网元中与第一信息对应的地址资源不充足的信息之后,结果可以如表四所示:Assume that the information about the insufficient address resources stored in the AMF1 network element is as shown in Table 3. After the AMF1 network element deletes the information that the address resource corresponding to the first information in the SMF1 network element is insufficient, the result can be as shown in Table 4. Show:
表四Table 4
Figure PCTCN2019075445-appb-000003
Figure PCTCN2019075445-appb-000003
S718-S719、与步骤S716-S717类似,区别仅在于将步骤S716-S717中的AMF1网元替换为AMF3网元,通知消息2替换为通知消息3,相关描述可参考步骤S716-S717,在此不再赘述。S718-S719, similar to steps S716-S717, except that the AMF1 network element in steps S716-S717 is replaced with the AMF3 network element, and the notification message 2 is replaced with the notification message 3. For related description, refer to steps S716-S717. No longer.
需要说明的是,本申请实施例中的步骤S713与步骤S714-S719之间没有必然的执行先后顺序,可以是先执行步骤S713,再执行步骤S714-S719中的一个或多个步骤;也可以是先步骤S714-S719中的一个或多个步骤,再执行步骤S713;还可以是同时执行步骤S713以及步骤S714-S719中的一个或多个步骤,等等,本申请实施例对此不作具体限定。It should be noted that there is no necessary sequence of execution between step S713 and steps S714-S719 in the embodiment of the present application, and step S713 may be performed first, and then one or more steps in steps S714-S719 may be performed; The step S713 is performed in the first step S714-S719, and the step S713 is performed. The step S713 and the step S714-S719 are performed at the same time. limited.
本申请实施例提供的地址管理方法中,由于AMF1网元可以获知SMF1网元中与第一信息对应的地址资源的状态,因此可以在后续的终端会话建立过程中选择SMF网元时,根据地址资源的状态,规避地址资源不充足的SMF网元,选择地址资源充足的SMF网元,从而不仅可以避免给不同的会话分配的IP地址重复的问题,且可以有效利用地址池中的IP地址。In the address management method provided by the embodiment of the present application, the AMF1 network element can learn the state of the address resource corresponding to the first information in the SMF1 network element, and therefore, when the SMF network element is selected in the subsequent terminal session establishment process, according to the address The state of the resource, the SMF network element that circumvents the insufficient address resources, and the SMF network element with sufficient address resources can avoid the problem of duplicate IP addresses assigned to different sessions, and can effectively utilize the IP address in the address pool.
其中,上述步骤S701至S719中的SMF1网元或者AMF1网元的动作可以由图3所示的通信设备300中的处理器301调用存储器303中存储的应用程序代码来执行,本实施例对此不作任何限制。The action of the SMF1 network element or the AMF1 network element in the foregoing steps S701 to S719 can be performed by the processor 301 in the communication device 300 shown in FIG. 3 calling the application code stored in the memory 303, which is used in this embodiment. No restrictions are imposed.
可选的,以图1所示的地址管理系统应用于如图2所示的5G网络,网络设备为5G网络中的AMF网元为例,本申请实施例还提供一种地址管理方法,与图7所示的实施例类似,区别仅在于:图7所示的实施例中,在SMF1网元确定SMF1网元中与第一信息对应的地址资源不充足之后,向为终端1服务的AMF1网元发送通知消息1;而本实施例中,在SMF1网元确定SMF1网元中与第一信息对应的地址资源不充足之后,SMF1网元可以通知所有可达或者与 SMF1网元连接的AMF网元。这样,SMF1网元可以不需要建立已通知AMF列表,因为后续SMF1网元中与第一信息对应的地址资源充足之后,SMF1网元同样可以通知所有可达或者与SMF1网元。其中,这里与SMF1网元连接的AMF网元可以是指已经有通信关系的AMF网元,也可以是指虽然暂时没有通信关系,但是SMF1网元有其地址的AMF网元等,本申请实施例对此不作具体限定。Optionally, the address management system shown in FIG. 1 is applied to the 5G network shown in FIG. 2, and the network device is an AMF network element in the 5G network. The embodiment of the present application further provides an address management method, and The embodiment shown in FIG. 7 is similar, except that in the embodiment shown in FIG. 7, after the SMF1 network element determines that the address resource corresponding to the first information in the SMF1 network element is insufficient, the AMF1 serving the terminal 1 is provided. The network element sends the notification message 1; in this embodiment, after the SMF1 network element determines that the address resource corresponding to the first information in the SMF1 network element is insufficient, the SMF1 network element can notify all AMFs that are reachable or connected to the SMF1 network element. Network element. In this way, the SMF1 network element may not need to establish the notified AMF list. After the address resources corresponding to the first information in the subsequent SMF1 network element are sufficient, the SMF1 network element may also notify all reachable or SMF1 network elements. The AMF network element connected to the SMF1 network element may be an AMF network element that already has a communication relationship, or may be an AMF network element that has an address but has an address, but the SMF1 network element has an address. This example does not specifically limit this.
当然,在SMF1网元通知所有可达或者与SMF1网元连接的AMF网元的情况下,SMF1网元也可以选择建立已通知AMF列表,本申请实施例对此不作具体限定。Of course, in the case that the SMF1 network element notifies all the AMF network elements that are reachable or connected to the SMF1 network element, the SMF1 network element may also choose to establish the notified AMF list, which is not specifically limited in this embodiment of the present application.
可选的,以图1所示的地址管理系统应用于如图2所示的5G网络,网络设备为5G网络中的NRF网元为例,如图8所示,为本申请实施例提供的一种地址管理方法,该地址管理方法包括如下步骤:Optionally, the address management system shown in FIG. 1 is applied to the 5G network shown in FIG. 2, and the network device is an NRF network element in the 5G network, as shown in FIG. An address management method includes the following steps:
S801、终端1向为终端1服务的AMF1网元发送会话建立请求1,以使得AMF1网元接收来自终端1的会话建立请求1。S801. The terminal 1 sends a session establishment request 1 to the AMF1 network element serving the terminal 1 so that the AMF1 network element receives the session establishment request 1 from the terminal 1.
其中,该会话建立请求1携带第四信息,该第四信息包括终端1对应的TA的信息或者终端1对应的DNN中的至少一个。The session establishment request 1 carries the fourth information, where the fourth information includes at least one of the information of the TA corresponding to the terminal 1 or the DNN corresponding to the terminal 1.
S802、AMF1网元向NRF网元发送可用SMF网元列表请求1,以使得NRF网元接收来自AMF1网元的可用SMF网元列表请求1。The S802 and the AMF1 network element send the available SMF network element list request 1 to the NRF network element, so that the NRF network element receives the available SMF network element list request 1 from the AMF1 network element.
其中,该可用SMF网元列表请求1携带上述第四信息。The available SMF network element list request 1 carries the fourth information.
S803、NRF网元向AMF1网元发送可用SMF网元列表应答1,以使得AMF1网元接收来自NRF网元的可用SMF网元列表应答1。S803. The NRF network element sends an available SMF network element list response 1 to the AMF1 network element, so that the AMF1 network element receives the available SMF network element list response 1 from the NRF network element.
其中,可用SMF网元列表应答1中包括可用SMF网元的列表,可用SMF网元的列表中包括可用SMF网元的标识,该可用SMF网元的标识例如可以是可用SMF网元的地址等,本申请实施例对此不作具体限定。The SMF network element list 1 includes a list of available SMF network elements, and the list of available SMF network elements includes an identifier of the available SMF network element, and the identifier of the available SMF network element may be, for example, an address of the available SMF network element. The embodiment of the present application does not specifically limit this.
本申请实施例中,NRF网元存储SMF网元中地址资源不充足的信息,进而,NRF网元需要根据存储的地址资源的状态信息确定可用SMF网元列表。该可用SMF网元列表中的SMF网元的地址资源充足,该地址资源为与包括上述第四信息的信息对应的地址资源。比如,假设上述的第四信息包括终端1的TA,记为TA1;NRF网元中存储的地址资源的状态信息如表五所示,则可用SMF网元列表中不包括SMF3网元的标识。In the embodiment of the present application, the NRF network element stores information that the address resource in the SMF network element is insufficient. Further, the NRF network element needs to determine the list of available SMF network elements according to the state information of the stored address resource. The address resource of the SMF network element in the list of available SMF network elements is sufficient, and the address resource is an address resource corresponding to the information including the fourth information. For example, it is assumed that the fourth information includes the TA of the terminal 1 and is recorded as TA1. If the status information of the address resource stored in the NRF network element is as shown in Table 5, the identifier of the SMF network element is not included in the SMF network element list.
表五Table 5
Figure PCTCN2019075445-appb-000004
Figure PCTCN2019075445-appb-000004
假设可用SMF网元列表中包括SMF1网元的标识和SMF2网元的标识,则本申请实施例提供的地址管理方法还可以包括如下步骤:The address management method provided by the embodiment of the present application may further include the following steps: Assume that the SMF1 network element identifier and the SMF2 network element identifier are included in the SMF network element list.
S804、AMF1网元根据可用SMF网元列表,选择SMF1网元为终端1服务。S804. The AMF1 network element selects the SMF1 network element to serve the terminal 1 according to the available SMF network element list.
比如,AMF1网元可以根据AMF1网元中存储的一个或多个SMF网元的负载信息等因素,从多个SMF网元中选择一个SMF网元为终端1服务,本申请实施例对此不作具体限定。For example, the AMF1 network element may select one SMF network element to serve the terminal 1 from multiple SMF network elements according to factors such as load information of one or more SMF network elements stored in the AMF1 network element. Specifically limited.
S805、AMF1网元向SMF1网元发送会话建立请求1,以使得SMF1网元接收来自AMF1网元的会话建立请求1。S805. The AMF1 network element sends a session establishment request 1 to the SMF1 network element, so that the SMF1 network element receives the session establishment request 1 from the AMF1 network element.
其中,会话建立请求1的相关描述可参考步骤S801,在此不再赘述。For a description of the session establishment request 1, refer to step S801, and details are not described herein again.
S806-S807、同步骤S702-S703,相关描述可参考图7所示的实施例,在此不再赘述。S806-S807, the same as the steps S702-S703, the related description can refer to the embodiment shown in FIG. 7, and details are not described herein again.
S808、与步骤S704类似,区别仅在于将图7所示的实施例中的AMF1网元替换为本实施例中的NRF网元,相关描述可参考图7所示的实施例,在此不再赘述。S808, similar to step S704, except that the AMF1 network element in the embodiment shown in FIG. 7 is replaced with the NRF network element in the embodiment, and the related description may refer to the embodiment shown in FIG. Narration.
S809、与步骤S706类似,区别仅在于将图7所示的实施例中的AMF1网元替换为本实施例中的NRF网元,相关描述可参考图7所示的实施例,在此不再赘述。S809, similar to step S706, except that the AMF1 network element in the embodiment shown in FIG. 7 is replaced with the NRF network element in the embodiment, and the related description may refer to the embodiment shown in FIG. Narration.
假设步骤S807中的第一信息包括TA1、TA5和TA6,则此时NRF网元存储的SMF网元中地址资源不充足的信息可以如表六所示:It is assumed that the first information in step S807 includes TA1, TA5, and TA6, and the information about the insufficient address resources in the SMF network element stored by the NRF network element at this time may be as shown in Table 6:
表六Table 6
Figure PCTCN2019075445-appb-000005
Figure PCTCN2019075445-appb-000005
S810、会话建立的其他流程。S810, other processes of session establishment.
本申请实施例中,会话建立的其他流程可以参考现有的实现方式,在此不再赘述。For the other processes of the session establishment, reference may be made to the existing implementation manner, and details are not described herein again.
需要说明的是,本申请实施例中的步骤S810与步骤S807-S809之间没有必然的执行先后顺序,可以是先执行步骤S810,再执行步骤S807-S809中的一个或多个步骤;也可以是先步骤S807-S809中的一个或多个步骤,再执行步骤S810;还可以是同时执行步骤S810以及步骤S807-S809中的一个或多个步骤,等等,本申请实施例对此不作具体限定。It should be noted that there is no necessary sequence of execution between step S810 and steps S807-S809 in the embodiment of the present application, and step S810 may be performed first, and then one or more steps in steps S807-S809 may be performed; The step S810 is performed in the first step S807-S809, and the step S810 is performed. The step S810 and the step S807-S809 are performed at the same time. limited.
可选的,本申请实施例提供的地址管理方法还可以包括如下步骤:Optionally, the address management method provided by the embodiment of the present application may further include the following steps:
S811、同步骤S708,相关描述可参考图7所示的实施例,在此不再赘述。For the related description, reference may be made to the embodiment shown in FIG. 7 , and details are not described herein again.
可选的,本申请实施例以为终端1服务的AMF网元与为终端2服务的AMF网元均为AMF1网元为例进行说明,当然,为终端1服务的AMF网元与为终端2服务的AMF网元也可以是不同的AMF网元,比如,为终端1服务的AMF网元为AMF1网元,为终端3服务的AMF网元为AMF3网元等,本申请实施例对此不作具体限定。Optionally, in the embodiment of the present application, the AMF network element served by the terminal 1 and the AMF network element serving the terminal 2 are both AMF1 network elements, and of course, the AMF network element serving the terminal 1 and the terminal 2 are served. The AMF network element may also be a different AMF network element. For example, the AMF network element serving the terminal 1 is an AMF1 network element, and the AMF network element serving the terminal 3 is an AMF3 network element. limited.
S812、AMF1网元向NRF网元发送可用SMF网元列表请求2,以使得NRF网元接收来自AMF1网元的可用SMF网元列表请求2。S812. The AMF1 network element sends an available SMF network element list request 2 to the NRF network element, so that the NRF network element receives the available SMF network element list request 2 from the AMF1 network element.
其中,该可用SMF网元列表请求2携带上述第二信息。The available SMF network element list request 2 carries the second information.
S813、NRF网元向AMF1网元发送可用SMF网元列表应答2,以使得AMF1网元接收来自NRF网元的可用SMF网元列表应答2。S813. The NRF network element sends an available SMF network element list response 2 to the AMF1 network element, so that the AMF1 network element receives the available SMF network element list response 2 from the NRF network element.
其中,可用SMF网元列表应答2中包括可用SMF网元的列表。The SMF network element list response 2 includes a list of available SMF network elements.
其中,NRF网元确定可用SMF网元的列表的方式可参考上述步骤S803中的描述,在此不再赘述。For the manner in which the NRF network element determines the list of available SMF network elements, refer to the description in step S803 above, and details are not described herein again.
假设第二信息中携带终端2的TA,记为TA1;NRF网元中存储的地址资源的状态信息如表六所示,则可用SMF网元列表中不包括SMF3网元的标识和SMF1网元的标识。Assume that the second information carries the TA of the terminal 2, which is denoted as TA1; if the status information of the address resource stored in the NRF network element is as shown in Table 6, the SMF network element list does not include the SMF3 network element identifier and the SMF1 network element. Logo.
假设可用SMF网元列表中包括SMF2网元的标识,则本申请实施例提供的地址管理方法还可以包括如下步骤:The address management method provided by the embodiment of the present application may further include the following steps: Assume that the identifier of the SMF2 network element is included in the SMF network element list.
S814、AMF1网元根据可用SMF网元列表,选择SMF2网元为终端2服务。S814. The AMF1 network element selects the SMF2 network element to serve the terminal 2 according to the available SMF network element list.
S815、会话建立的其他流程。S815, other processes of session establishment.
本申请实施例中,会话建立的其他流程可以参考现有的实现方式,在此不再赘述。For the other processes of the session establishment, reference may be made to the existing implementation manner, and details are not described herein again.
S816-S819、同步骤S711-S714,相关描述可参考图7所示的实施例,在此不再赘述。S816-S819, the same as the steps S711-S714, the related description can refer to the embodiment shown in FIG. 7, and details are not described herein again.
S820-S821、与步骤S716-S717类似,区别仅在于将图7所示的实施例中的AMF1网元替换为本实施例中的NRF网元,相关描述可参考图7所示的实施例,在此不再赘述。S820-S821, similar to steps S716-S717, except that the AMF1 network element in the embodiment shown in FIG. 7 is replaced with the NRF network element in the embodiment, and the related description may refer to the embodiment shown in FIG. I will not repeat them here.
假设NRF网元中存储的地址资源不充足的信息原来如表六所示,则在NRF网元删除SMF1网元中与第一信息对应的地址资源不充足的信息之后,结果可以如上述表五所示。Assume that the information about the insufficient address resources stored in the NRF network element is as shown in Table 6. After the NRF network element deletes the information of the SMF1 network element that is insufficient for the address information corresponding to the first information, the result may be as shown in Table 5 above. Shown.
需要说明的是,本申请实施例中的步骤S818与步骤S819-S821之间没有必然的执行先后顺序,可以是先执行步骤S818,再执行步骤S819-S821中的一个或多个步骤;也可以是先步骤S819-S821中的一个或多个步骤,再执行步骤S818;还可以是同时执行步骤S818以及步骤S819-S821中的一个或多个步骤,等等,本申请实施例对此不作具体限定。It should be noted that there is no necessary sequence of execution between step S818 and steps S819-S821 in the embodiment of the present application, and step S818 may be performed first, and then one or more steps in steps S819-S821 may be performed; The step S818 is performed in the first step S819-S821, and the step S818 is performed. The step S818 and the step S819-S821 are performed at the same time, and so on. limited.
本申请实施例提供的地址管理方法中,由于NRF网元可以获知SMF1网元中与第一信息对应的地址资源的状态,因此可以在后续的终端会话建立过程中选择SMF网元时,根据地址资源的状态,规避地址资源不充足的SMF网元,选择地址资源充足的SMF网元,从而不仅可以避免给不同的会话分配的IP地址重复的问题,且可以有效利用地址池中的IP地址。In the address management method provided by the embodiment of the present application, the NRF network element can learn the state of the address resource corresponding to the first information in the SMF1 network element, and therefore, when the SMF network element is selected in the subsequent terminal session establishment process, the address is determined according to the address. The state of the resource, the SMF network element that circumvents the insufficient address resources, and the SMF network element with sufficient address resources can avoid the problem of duplicate IP addresses assigned to different sessions, and can effectively utilize the IP address in the address pool.
其中,上述步骤S801至S821中的NRF网元或者AMF1网元的动作可以由图3所示的通信设备300中的处理器301调用存储器303中存储的应用程序代码来执行,本实施例对此不作任何限制。The action of the NRF network element or the AMF1 network element in the foregoing steps S801 to S821 can be performed by the processor 301 in the communication device 300 shown in FIG. 3 calling the application code stored in the memory 303, which is used in this embodiment. No restrictions are imposed.
综上,因此,本申请实施例公开了一种地址管理方法,包括:会话管理网元确定会话管理网元中与第一信息对应的地址资源不充足,其中,该第一信息包括一个或多个跟踪区TA的信息、或者一个或多个数据网络名称DNN中的至少一个;会话管理网元向网络设备发送第一通知消息,该第一通知消息用于指示会话管理网元中与第一信息对应的地址资源不充足。In summary, the embodiment of the present application discloses an address management method, including: the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, wherein the first information includes one or more At least one of the information of the tracking area TA or the one or more data network names DNN; the session management network element sends a first notification message to the network device, where the first notification message is used to indicate the first in the session management network element The address resource corresponding to the information is insufficient.
作为一种实现,会话管理网元确定会话管理网元中与第一信息对应的地址资源不充足,包括:在会话管理网元为第一终端分配IP地址之后,会话管理网元确定会话管理网元中与第一信息对应的地址资源不充足,其中,一个或多个TA的信息中包括第一终端对应的TA的信息,一个或多个DNN中包括第一终端对应的DNN。As an implementation, the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, and the session management network element determines the session management network after the session management network element allocates an IP address to the first terminal. The address resource corresponding to the first information is not sufficient, and the information of the one or more TAs includes the information of the TA corresponding to the first terminal, and the one or more DNNs include the DNN corresponding to the first terminal.
作为一种实现,网络设备包括为第一终端服务的第一移动管理网元;本申请实施例公开的地址管理方法还可以包括:会话管理网元将第一移动管理网元的标识存储到已通知移动管理网元列表中,其中,已通知移动管理网元列表中包括会话管理网元已经通知了会话管理网元中与第一信息对应的地址资源不充足的移动管理网元的标识。As an implementation, the network device includes a first mobility management network element that serves the first terminal. The address management method disclosed in the embodiment of the present application may further include: the session management network element stores the identifier of the first mobility management network element to the The mobile management network element list is notified, wherein the mobile management network element list has been notified that the session management network element has notified the mobile management network element of the session management network element that the address management resource element corresponding to the first information is insufficient.
进一步的,作为一种实现,在会话管理网元将第一移动管理网元的标识存储到已通知移动管理网元列表中之前,本申请实施例公开的地址管理方法还可以包括:会话管理网元创建已通知移动管理网元列表。Further, as an implementation, before the session management network element stores the identifier of the first mobility management network element in the notified mobile management network element list, the address management method disclosed in the embodiment of the present application may further include: a session management network. The meta creation has notified the mobile management NE list.
或者,可选的,作为另一种实现,在会话管理网元将第一移动管理网元的标识存储到已通知移动管理网元列表中之前,本申请实施例公开的地址管理方法还可以包括:会话管理网 元为第二终端分配IP地址之后,会话管理网元确定会话管理网元中与第一信息对应的地址资源不充足,其中,一个或多个TA的信息中包括第二终端对应的TA的信息,一个或多个DNN中包括第二终端对应的DNN;会话管理网元向为第二终端服务的第二移动管理网元发送第一通知消息;会话管理网元创建已通知移动管理网元列表。Alternatively, as an alternative implementation, before the session management network element stores the identifier of the first mobility management network element in the mobile management network element list, the address management method disclosed in this embodiment may further include After the session management network element allocates the IP address to the second terminal, the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, and the information of the one or more TAs includes the second terminal corresponding to the information. The information of the TA, the one or more DNNs include the DNN corresponding to the second terminal; the session management network element sends a first notification message to the second mobility management network element serving the second terminal; the session management network element creates the notified mobile Manage the list of NEs.
作为一种实现,本申请实施例公开的地址管理方法还可以包括:会话管理网元确定会话管理网元中与第一信息对应的地址资源充足;会话管理网元向已通知移动管理网元列表中的移动管理网元的标识对应的移动管理网元发送第二通知消息,第二通知消息用于指示会话管理网元中与第一信息对应的地址资源充足。As an implementation, the address management method disclosed in the embodiment of the present application may further include: the session management network element determines that the address resource corresponding to the first information in the session management network element is sufficient; the session management network element has notified the mobile management network element list. The mobility management network element corresponding to the identifier of the mobility management network element sends a second notification message, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element is sufficient.
作为一种实现,网络设备包括会话管理网元连接的移动管理网元或者网络功能存储网元;本申请实施例公开的地址管理方法还可以包括:会话管理网元确定会话管理网元中与第一信息对应的地址资源充足;会话管理网元向网络设备发送第二通知消息,该第二通知消息用于指示会话管理网元中与第一信息对应的地址资源充足。As an implementation, the network device includes a mobility management network element or a network function storage network element connected by the session management network element. The address management method disclosed in the embodiment of the present application may further include: the session management network element determines the session management network element and the The address resource corresponding to the information is sufficient; the session management network element sends a second notification message to the network device, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element is sufficient.
作为一种实现,一个或多个TA的信息中包括第三终端对应的TA的信息,一个或多个DNN中包括第三终端对应的DNN;在会话管理网元确定会话管理网元中与第一信息对应的地址资源充足之前,本申请实施例公开的地址管理方法还可以包括:会话管理网元释放为第三终端分配的IP地址。As an implementation, the information of the one or more TAs includes the information of the TA corresponding to the third terminal, and the one or more DNNs include the DNN corresponding to the third terminal; and the session management network element determines the session management network element and the Before the address resource corresponding to the information is sufficient, the address management method disclosed in the embodiment of the present application may further include: the session management network element releases the IP address allocated to the third terminal.
作为一种实现,会话管理网元中与第一信息对应的地址资源不充足包括会话管理网元中与第一信息对应的地址资源中可用地址资源的比例小于或者等于第一预设值;会话管理网元中与第一信息对应的地址资源充足包括会话管理网元中与第一信息对应的地址资源中可用地址资源的比例大于或者等于第二预设值,其中,第一预设值小于或者等于第二预设值。As an implementation, the address resource corresponding to the first information in the session management network element is insufficient, and the ratio of the available address resources in the address resource corresponding to the first information in the session management network element is less than or equal to the first preset value; The address resource corresponding to the first information in the management network element is sufficient, and the ratio of the available address resources in the address resource corresponding to the first information in the session management network element is greater than or equal to a second preset value, where the first preset value is less than Or equal to the second preset value.
可选的,本申请实施例中,第二通知消息携带第一信息以及地址充足指示;或者,第二通知消息携带会话管理网元的标识、第一信息以及地址充足指示。Optionally, in the embodiment of the present application, the second notification message carries the first information and the address sufficient indication; or the second notification message carries the identifier of the session management network element, the first information, and the address sufficient indication.
可选的,本申请实施例中,第一通知消息携带第一信息以及地址不充足指示;或者,第一通知消息携带会话管理网元的标识、第一信息以及地址不充足指示。Optionally, in the embodiment of the present application, the first notification message carries the first information and the address insufficient indication; or the first notification message carries the identifier of the session management network element, the first information, and the address insufficient indication.
上述地址管理方法中,例如,会话管理网元的操作可参考图7至图8中SMF1网元的操作及上述相关文字说明,在此不再赘述。For the operation of the foregoing address management method, for example, the operation of the session management network element may refer to the operation of the SMF1 network element in FIG. 7 to FIG. 8 and the related text description, and details are not described herein again.
此外,本申请实施例还公开了一种地址管理方法,包括:网络设备接收来自第一会话管理网元的第一通知消息,该第一通知消息用于指示第一会话管理网元中与第一信息对应的地址资源不充足,其中,该第一信息包括一个或多个跟踪区TA的信息、或者一个或多个数据网络名称DNN中的至少一个;网络设备存储第一会话管理网元中与第一信息对应的地址资源不充足的信息。In addition, the embodiment of the present application further discloses an address management method, including: receiving, by a network device, a first notification message from a first session management network element, where the first notification message is used to indicate that the first session management network element is The address resource corresponding to the information is insufficient, wherein the first information includes information of one or more tracking areas TA, or at least one of one or more data network names DNN; the network device stores the first session management network element The information corresponding to the first information that the address resource is insufficient.
作为一种实现,第一会话管理网元包括为第一终端服务的会话管理网元;相应的,一个或多个TA的信息中包括第一终端对应的TA的信息,一个或多个DNN中包括第一终端对应的DNN。As an implementation, the first session management network element includes a session management network element serving the first terminal; correspondingly, the information of the one or more TAs includes information of the TA corresponding to the first terminal, and one or more DNNs. The DNN corresponding to the first terminal is included.
作为一种实现,网络设备包括为第一终端服务的第一移动管理网元;本申请实施例公开的地址管理方法还可以包括:第一移动管理网元接收来自第二终端的会话建立请求,该会话建立请求携带第二信息,该第二信息包括第二终端对应的TA的信息或者第二终端对应的DNN中的至少一个;第一移动管理网元根据第二信息、以及存储的一个或多个地址资源不充足的 信息,选择第二会话管理网元为第二终端服务,其中,一个或多个地址资源包括一个或多个会话管理网元中与包括第二信息的信息对应的地址资源。As an implementation, the network device includes a first mobility management network element serving the first terminal. The address management method disclosed in the embodiment of the present application may further include: the first mobility management network element receiving the session establishment request from the second terminal, The session establishment request carries the second information, where the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal; the first mobility management network element is based on the second information, and the stored one or The plurality of address resources are insufficient, and the second session management network element is selected to serve the second terminal, where the one or more address resources include addresses corresponding to the information including the second information in the one or more session management network elements. Resources.
作为另一种实现,网络设备包括网络功能存储网元;本申请实施例公开的地址管理方法还可以包括:网络功能存储网元接收来自为第二终端服务的第二移动管理网元的请求消息,该请求消息携带第二信息,第二信息包括第二终端对应的TA的信息或者第二终端对应的DNN中的至少一个;网络功能存储网元根据第二信息、以及存储的一个或多个地址资源不充足的信息,确定可用的会话管理网元列表,其中,一个或多个地址资源包括一个或多个会话管理网元中与包括第二信息的信息对应的地址资源;网络功能存储网元向第二移动管理网元发送可用的会话管理网元列表,可用的会话管理网元列表用于选择第二会话管理网元为第二终端服务。As another implementation, the network device includes a network function storage network element. The address management method disclosed in the embodiment of the present application may further include: the network function storage network element receiving the request message from the second mobility management network element serving the second terminal. The request message carries the second information, where the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal, and the network function storage network element is configured according to the second information and one or more Determining an available list of session management network elements, where the address resource includes one or more address resources corresponding to the information including the second information in the one or more session management network elements; the network function storage network The element sends a list of available session management NEs to the second mobility management network element, and the available session management network element list is used to select the second session management network element to serve the second terminal.
可选的,本申请实施例中,可用的会话管理网元列表中包括第二会话管理网元,第二会话管理网元中与第三信息对应的地址资源充足,其中,第三信息包括一个或多个TA的信息、或者一个或多个DNN中的至少一个,第三信息中包括第二信息。Optionally, in the embodiment of the present application, the available session management network element list includes a second session management network element, where the address resource corresponding to the third information in the second session management network element is sufficient, where the third information includes one Or information of a plurality of TAs, or at least one of the one or more DNNs, the second information including the second information.
作为一种实现,本申请实施例公开的地址管理方法还可以包括:网络设备接收来自第一会话管理网元的第二通知消息,该第二通知消息用于指示第一会话管理网元中与第一信息对应的地址资源充足;网络设备删除存储的第一会话管理网元中与第一信息对应的地址资源不充足的信息。As an implementation, the address management method disclosed in the embodiment of the present application may further include: the network device receiving a second notification message from the first session management network element, where the second notification message is used to indicate that the first session management network element is The address resource corresponding to the first information is sufficient; the network device deletes information that the address resource corresponding to the first information in the stored first session management network element is insufficient.
上述地址管理方法中,例如,网络设备的操作可参考图7至图8中AMF1网元的操作及上述相关文字说明,或者,网络设备的操作可参考图7至图8中NRF网元的操作及上述相关文字说明,在此不再赘述。For the operation of the network device, for example, the operation of the network device may refer to the operation of the AMF1 network element in FIG. 7 to FIG. 8 and the related text description, or the operation of the network device may refer to the operation of the NRF network element in FIG. 7 to FIG. And the above related text descriptions will not be repeated here.
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,上述会话管理网元或者网络设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The solution provided by the embodiment of the present application is mainly introduced from the perspective of interaction between the network elements. It can be understood that, in order to implement the above functions, the foregoing session management network element or network device includes a hardware structure and/or a software module corresponding to each function. Those skilled in the art will readily appreciate that the present application can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods to implement the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present application.
本申请实施例可以根据上述方法示例对会话管理网元或者网络设备进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may perform a function module division on a session management network element or a network device according to the foregoing method example. For example, each function module may be divided according to each function, or two or more functions may be integrated into one processing module. in. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of the module in the embodiment of the present application is schematic, and is only a logical function division, and the actual implementation may have another division manner.
比如,以采用集成的方式划分各个功能模块的情况下,图9示出了一种会话管理网元90的结构示意图。该会话管理网元90包括:处理模块902和收发模块901。其中,处理模块902,用于确定会话管理网元90中与第一信息对应的地址资源不充足,其中,该第一信息包括一个或多个TA的信息、或者一个或多个DNN中的至少一个;收发模块901,用于向网络设备发送第一通知消息,该第一通知消息用于指示会话管理网元90中与第一信息对应的地址资源不充足。For example, in the case of dividing each functional module in an integrated manner, FIG. 9 shows a schematic structural diagram of a session management network element 90. The session management network element 90 includes a processing module 902 and a transceiver module 901. The processing module 902 is configured to determine that the address resource corresponding to the first information in the session management network element 90 is insufficient, wherein the first information includes information of one or more TAs, or at least one of the one or more DNNs. The transceiver module 901 is configured to send a first notification message to the network device, where the first notification message is used to indicate that the address resource corresponding to the first information in the session management network element 90 is insufficient.
可选的,处理模块902具体用于:在为第一终端分配IP地址之后,确定会话管理网元90中与第一信息对应的地址资源不充足,其中,一个或多个TA的信息中包括第一终端对应的TA的信息,一个或多个DNN中包括第一终端对应的DNN。Optionally, the processing module 902 is specifically configured to: after the IP address is allocated to the first terminal, determine that the address resource corresponding to the first information in the session management network element 90 is insufficient, where the information of one or more TAs is included. The information of the TA corresponding to the first terminal, and the one or more DNNs include the DNN corresponding to the first terminal.
进一步的,一种可能的实现方式中,网络设备包括为第一终端服务的第一移动管理网元;如图9所示,会话管理网元90还包括存储模块903。存储模块903,用于将第一移动管理网元的标识存储到已通知移动管理网元列表中,其中,该已通知移动管理网元列表中包括会话管理网元90已经通知了会话管理网元90中与第一信息对应的地址资源不充足的移动管理网元的标识。Further, in a possible implementation manner, the network device includes a first mobility management network element serving the first terminal. As shown in FIG. 9, the session management network element 90 further includes a storage module 903. The storage module 903 is configured to store the identifier of the first mobility management network element into the notified mobility management network element list, where the notified mobility management network element list includes the session management network element 90 that has notified the session management network element The identifier of the mobility management network element in which the address resource corresponding to the first information is insufficient in 90.
可选的,处理模块902,还用于创建已通知移动管理网元列表。Optionally, the processing module 902 is further configured to create a list of the mobile management network element that has been notified.
或者,可选的,处理模块902,还用于为第二终端分配IP地址之后,确定会话管理网元90中与第一信息对应的地址资源不充足,其中,一个或多个TA的信息中包括第二终端对应的TA的信息,一个或多个DNN中包括第二终端对应的DNN;收发模块901,还用于向为第二终端服务的第二移动管理网元发送第一通知消息;处理模块902,还用于创建已通知移动管理网元列表。Alternatively, the processing module 902 is further configured to: after the IP address is allocated to the second terminal, determine that the address resource corresponding to the first information in the session management network element 90 is insufficient, where the information of one or more TAs is The information about the TA corresponding to the second terminal, the one or more DNNs include the DNN corresponding to the second terminal, and the transceiver module 901 is further configured to send the first notification message to the second mobility management network element serving the second terminal. The processing module 902 is further configured to create a list of the mobile management network element that has been notified.
可选的,处理模块902,还用于确定会话管理网元90中与第一信息对应的地址资源充足;收发模块901,还用于向已通知移动管理网元列表中的移动管理网元的标识对应的移动管理网元发送第二通知消息,该第二通知消息用于指示会话管理网元90中与第一信息对应的地址资源充足。Optionally, the processing module 902 is further configured to determine that the address resource corresponding to the first information in the session management network element 90 is sufficient; the transceiver module 901 is further configured to notify the mobility management network element in the mobile management network element list that has been notified. The mobile management network element corresponding to the identifier sends a second notification message, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element 90 is sufficient.
另一种可能的实现方式中,网络设备包括会话管理网元90连接的移动管理网元或者网络功能存储网元;处理模块902,还用于确定会话管理网元90中与第一信息对应的地址资源充足;收发模块901,还用于向网络设备发送第二通知消息,该第二通知消息用于指示会话管理网元90中与第一信息对应的地址资源充足。In another possible implementation, the network device includes a mobility management network element or a network function storage network element connected to the session management network element 90. The processing module 902 is further configured to determine, in the session management network element 90, the first information. The address resource is sufficient; the transceiver module 901 is further configured to send a second notification message to the network device, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element 90 is sufficient.
可选的,一个或多个TA的信息中包括第三终端对应的TA的信息,一个或多个DNN中包括第三终端对应的DNN;处理模块902,还用于释放为第三终端分配的IP地址。Optionally, the information of the one or more TAs includes the information of the TA corresponding to the third terminal, and the one or more DNNs include the DNN corresponding to the third terminal. The processing module 902 is further configured to release the third terminal. IP address.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
在本实施例中,该会话管理网元90以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该会话管理网元90可以采用图3所示的形式。In the present embodiment, the session management network element 90 is presented in a form that divides each functional module in an integrated manner. A "module" herein may refer to a particular ASIC, circuitry, processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other devices that provide the functionality described above. In a simple embodiment, those skilled in the art will appreciate that the session management network element 90 can take the form shown in FIG.
比如,图3中的处理器301可以通过调用存储器303中存储的计算机执行指令,使得会话管理网元90执行上述方法实施例中的地址管理方法。For example, the processor 301 in FIG. 3 can execute the instruction by calling the computer stored in the memory 303, so that the session management network element 90 executes the address management method in the above method embodiment.
具体的,图9中的收发模块901、处理模块902和存储模块903的功能/实现过程可以通过图3中的处理器301调用存储器303中存储的计算机执行指令来实现。或者,图9中的处理模块902的功能/实现过程可以通过图3中的处理器301调用存储器303中存储的计算机执行指令来实现,图9中的收发模块901的功能/实现过程可以通过图3中的通信接口304来实现,图9中的存储模块903的功能/实现过程可以通过图3中的存储器303来实现。Specifically, the function/implementation process of the transceiver module 901, the processing module 902, and the storage module 903 in FIG. 9 can be implemented by the processor 301 in FIG. 3 calling a computer execution instruction stored in the memory 303. Alternatively, the function/implementation process of the processing module 902 in FIG. 9 can be implemented by the processor 301 in FIG. 3 calling the computer execution instruction stored in the memory 303, and the function/implementation process of the transceiver module 901 in FIG. The communication interface 304 in 3 is implemented, and the function/implementation process of the storage module 903 in FIG. 9 can be implemented by the memory 303 in FIG.
由于本实施例提供的会话管理网元可执行上述的地址管理方法,因此其所能获得的技术 效果可参考上述方法实施例,在此不再赘述。The session management network element provided in this embodiment can perform the above-mentioned address management method. Therefore, the technical solution can be obtained by referring to the foregoing method embodiment, and details are not described herein again.
可选的,本申请实施例还提供了一种芯片系统,该芯片系统包括处理器,用于支持会话管理网元实现上述地址管理方法,例如确定会话管理网元中与第一信息对应的地址资源不充足。在一种可能的设计中,该芯片系统还包括存储器。该存储器,用于保存会话管理网元必要的程序指令和数据。当然,存储器也可以不在芯片系统中。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件,本申请实施例对此不作具体限定。Optionally, the embodiment of the present application further provides a chip system, where the chip system includes a processor, configured to support the session management network element to implement the foregoing address management method, for example, determining an address corresponding to the first information in the session management network element. Not enough resources. In one possible design, the chip system also includes a memory. The memory is used to store program instructions and data necessary for the session management network element. Of course, the memory may not be in the chip system. The chip system may be composed of a chip, and may also include a chip and other discrete devices. This embodiment of the present application does not specifically limit this.
比如,以采用集成的方式划分各个功能模块的情况下,图10示出了一种网络设备100的结构示意图。该网络设备100包括:收发模块1001和存储模块1003。其中,收发模块1001,用于接收来自第一会话管理网元的第一通知消息,该第一通知消息用于指示第一会话管理网元中与第一信息对应的地址资源不充足,其中,该第一信息包括一个或多个TA的信息、或者一个或多个DNN中的至少一个;存储模块1003,用于存储第一会话管理网元中与第一信息对应的地址资源不充足的信息。For example, in the case of dividing each functional module in an integrated manner, FIG. 10 shows a schematic structural diagram of a network device 100. The network device 100 includes a transceiver module 1001 and a storage module 1003. The transceiver module 1001 is configured to receive a first notification message from the first session management network element, where the first notification message is used to indicate that the address resource corresponding to the first information in the first session management network element is insufficient, where The first information includes information of one or more TAs, or at least one of the one or more DNNs. The storage module 1003 is configured to store information that the address resources corresponding to the first information in the first session management network element are insufficient. .
可选的,第一会话管理网元包括为第一终端服务的会话管理网元;相应的,一个或多个TA的信息中包括第一终端对应的TA的信息,一个或多个DNN中包括第一终端对应的DNN;Optionally, the first session management network element includes a session management network element that serves the first terminal. Correspondingly, the information of the one or more TAs includes information about the TA corresponding to the first terminal, and the one or more DNNs are included. a DNN corresponding to the first terminal;
进一步的,一种可能的实现方式中,网络设备100包括为第一终端服务的第一移动管理网元;如图10所示,网络设备100还包括处理模块1002;收发模块1001,还用于接收来自第二终端的会话建立请求,该会话建立请求携带第二信息,该第二信息包括第二终端对应的TA的信息或者第二终端对应的DNN中的至少一个;处理模块1002,用于根据第二信息、以及存储的一个或多个地址资源不充足的信息,选择第二会话管理网元为第二终端服务,其中,一个或多个地址资源包括一个或多个会话管理网元中与包括第二信息的信息对应的地址资源。Further, in a possible implementation, the network device 100 includes a first mobility management network element serving the first terminal. As shown in FIG. 10, the network device 100 further includes a processing module 1002. The transceiver module 1001 is further configured to Receiving a session establishment request from the second terminal, where the session establishment request carries the second information, the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal; and the processing module 1002 is configured to: Selecting, according to the second information, the stored information that the one or more address resources are insufficient, the second session management network element to serve the second terminal, where the one or more address resources include one or more session management network elements. An address resource corresponding to the information including the second information.
另一种可能的实现方式中,网络设备100包括网络功能存储网元;如图10所示,网络设备100还包括处理模块1002;收发模块1001,还用于接收来自为第二终端服务的第二移动管理网元的请求消息,该请求消息携带第二信息,该第二信息包括第二终端对应的TA的信息或者第二终端对应的DNN中的至少一个;处理模块1002,用于根据第二信息、以及存储的一个或多个地址资源不充足的信息,确定可用的会话管理网元列表,其中,一个或多个地址资源包括一个或多个会话管理网元中与包括第二信息的信息对应的地址资源;收发模块1001,还用于向第二移动管理网元发送可用的会话管理网元列表,可用的会话管理网元列表用于选择第二会话管理网元为第二终端服务。In another possible implementation manner, the network device 100 includes a network function storage network element. As shown in FIG. 10, the network device 100 further includes a processing module 1002. The transceiver module 1001 is further configured to receive a service from the second terminal. a request message of the mobile management network element, where the request message carries the second information, the second information includes at least one of the information of the TA corresponding to the second terminal or the DNN corresponding to the second terminal, and the processing module 1002 is configured to Determining an available list of session management network elements, wherein the one or more address resources include one or more session management network elements and including the second information, and the stored information of the one or more address resources is insufficient. The address resource corresponding to the information; the transceiver module 1001 is further configured to send the available session management NE list to the second mobility management network element, where the available session management NE list is used to select the second session management network element to serve the second terminal. .
可选的,收发模块1001,还用于接收来自第一会话管理网元的第二通知消息,该第二通知消息用于指示第一会话管理网元中与第一信息对应的地址资源充足;处理模块1002,还用于删除存储的第一会话管理网元中与第一信息对应的地址资源不充足的信息。Optionally, the transceiver module 1001 is further configured to receive a second notification message from the first session management network element, where the second notification message is used to indicate that the address resource corresponding to the first information in the first session management network element is sufficient; The processing module 1002 is further configured to delete information in the stored first session management network element that the address resource corresponding to the first information is insufficient.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。All the related content of the steps involved in the foregoing method embodiments may be referred to the functional descriptions of the corresponding functional modules, and details are not described herein again.
在本实施例中,该网络设备100以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该网络设备100可以采用图3所示的形式。In the present embodiment, the network device 100 is presented in a form that divides each functional module in an integrated manner. A "module" herein may refer to a particular ASIC, circuitry, processor and memory that executes one or more software or firmware programs, integrated logic circuitry, and/or other devices that provide the functionality described above. In a simple embodiment, those skilled in the art will appreciate that the network device 100 can take the form shown in FIG.
比如,图3中的处理器301可以通过调用存储器303中存储的计算机执行指令,使得网 络设备100执行上述方法实施例中的地址管理方法。For example, the processor 301 in FIG. 3 can execute the instructions by the computer stored in the memory 303, so that the network device 100 executes the address management method in the above method embodiment.
具体的,图10中的收发模块1001、处理模块1002和存储模块1003的功能/实现过程可以通过图3中的处理器301调用存储器303中存储的计算机执行指令来实现。或者,图10中的处理模块1002的功能/实现过程可以通过图3中的处理器301调用存储器303中存储的计算机执行指令来实现,图10中的收发模块1001的功能/实现过程可以通过图3中的通信接口304来实现,图10中的存储模块1003的功能/实现过程可以通过图3中的存储器303来实现。Specifically, the function/implementation process of the transceiver module 1001, the processing module 1002, and the storage module 1003 in FIG. 10 can be implemented by the processor 301 in FIG. 3 calling a computer execution instruction stored in the memory 303. Alternatively, the function/implementation process of the processing module 1002 in FIG. 10 can be implemented by the processor 301 in FIG. 3 calling the computer execution instruction stored in the memory 303, and the function/implementation process of the transceiver module 1001 in FIG. The communication interface 304 in 3 is implemented, and the function/implementation process of the storage module 1003 in FIG. 10 can be implemented by the memory 303 in FIG.
由于本实施例提供的网络设备可执行上述的地址管理方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。The network device provided in this embodiment can perform the above-mentioned address management method, and the technical effects that can be obtained by reference to the foregoing method embodiments are not described herein.
可选的,本申请实施例还提供了一种芯片系统,该芯片系统包括处理器,用于支持网络设备实现上述地址管理方法,例如根据第二信息、以及存储的一个或多个地址资源不充足的信息,选择第二会话管理网元为第二终端服务。在一种可能的设计中,该芯片系统还包括存储器。该存储器,用于保存网络设备必要的程序指令和数据。当然,存储器也可以不在芯片系统中。该芯片系统,可以由芯片构成,也可以包含芯片和其他分立器件,本申请实施例对此不作具体限定。Optionally, the embodiment of the present application further provides a chip system, where the chip system includes a processor, configured to support a network device to implement the foregoing address management method, for example, according to the second information, and the stored one or more address resources are not With sufficient information, the second session management network element is selected to serve the second terminal. In one possible design, the chip system also includes a memory. This memory is used to store the necessary program instructions and data for the network device. Of course, the memory may not be in the chip system. The chip system may be composed of a chip, and may also include a chip and other discrete devices. This embodiment of the present application does not specifically limit this.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present application are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transmission to another website site, computer, server or data center via wired (eg coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device that includes one or more servers, data centers, etc. that can be integrated with the media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)) or the like.
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。Although the present application has been described herein in connection with the various embodiments, those skilled in the art can Other variations of the disclosed embodiments are achieved. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit may fulfill several of the functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that the measures are not combined to produce a good effect.
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。While the present invention has been described in connection with the specific embodiments and embodiments thereof, various modifications and combinations can be made without departing from the spirit and scope of the application. Accordingly, the description and drawings are to be regarded as It will be apparent to those skilled in the art that various modifications and changes can be made in the present application without departing from the spirit and scope of the application. Thus, it is intended that the present invention cover the modifications and variations of the present invention.

Claims (38)

  1. 一种地址管理方法,其特征在于,所述方法包括:An address management method, the method comprising:
    会话管理网元确定所述会话管理网元中与第一信息对应的地址资源不充足,其中,所述第一信息包括一个或多个跟踪区TA的信息、或者一个或多个数据网络名称DNN中的至少一个;The session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, wherein the first information includes information of one or more tracking areas TA, or one or more data network names DNN At least one of them;
    所述会话管理网元向网络设备发送第一通知消息,所述第一通知消息用于指示所述会话管理网元中与所述第一信息对应的地址资源不充足。The session management network element sends a first notification message to the network device, where the first notification message is used to indicate that the address resource corresponding to the first information in the session management network element is insufficient.
  2. 根据权利要求1所述的方法,其特征在于,所述会话管理网元确定所述会话管理网元中与第一信息对应的地址资源不充足,包括:The method according to claim 1, wherein the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, and includes:
    在所述会话管理网元为第一终端分配互联网协议IP地址之后,所述会话管理网元确定所述会话管理网元中与所述第一信息对应的地址资源不充足,其中,所述一个或多个TA的信息中包括所述第一终端对应的TA的信息,所述一个或多个DNN中包括所述第一终端对应的DNN。After the session management network element allocates an Internet Protocol IP address to the first terminal, the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, wherein the one is The information of the TA corresponding to the first terminal is included in the information of the multiple TAs, and the DNN corresponding to the first terminal is included in the one or more DNNs.
  3. 根据权利要求2所述的方法,其特征在于,所述网络设备包括为所述第一终端服务的第一移动管理网元;所述方法还包括:The method of claim 2, wherein the network device comprises a first mobility management network element serving the first terminal; the method further comprising:
    所述会话管理网元将所述第一移动管理网元的标识存储到已通知移动管理网元列表中,其中,所述已通知移动管理网元列表中包括所述会话管理网元已经通知了所述会话管理网元中与所述第一信息对应的地址资源不充足的移动管理网元的标识。The session management network element stores the identifier of the first mobility management network element in the notified mobile management network element list, where the notified mobile management network element list includes the session management network element has been notified An identifier of the mobility management network element that is insufficient in address resources corresponding to the first information in the session management network element.
  4. 根据权利要求3所述的方法,其特征在于,在所述会话管理网元将所述第一移动管理网元的标识存储到已通知移动管理网元列表中之前,所述方法还包括:The method according to claim 3, wherein before the session management network element stores the identifier of the first mobility management network element in the mobile management network element list, the method further includes:
    所述会话管理网元创建所述已通知移动管理网元列表。The session management network element creates the notified mobile management network element list.
  5. 根据权利要求3所述的方法,其特征在于,在所述会话管理网元将所述第一移动管理网元的标识存储到已通知移动管理网元列表中之前,所述方法还包括:The method according to claim 3, wherein before the session management network element stores the identifier of the first mobility management network element in the mobile management network element list, the method further includes:
    所述会话管理网元为第二终端分配IP地址之后,所述会话管理网元确定所述会话管理网元中与所述第一信息对应的地址资源不充足,其中,所述一个或多个TA的信息中包括所述第二终端对应的TA的信息,所述一个或多个DNN中包括所述第二终端对应的DNN;After the session management network element allocates an IP address to the second terminal, the session management network element determines that the address resource corresponding to the first information in the session management network element is insufficient, wherein the one or more The information of the TA includes the information of the TA corresponding to the second terminal, and the one or more DNNs include the DNN corresponding to the second terminal;
    所述会话管理网元向为所述第二终端服务的第二移动管理网元发送所述第一通知消息;Transmitting, by the session management network element, the first notification message to a second mobility management network element serving the second terminal;
    所述会话管理网元创建所述已通知移动管理网元列表。The session management network element creates the notified mobile management network element list.
  6. 根据权利要求3-5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 3-5, wherein the method further comprises:
    所述会话管理网元确定所述会话管理网元中与所述第一信息对应的地址资源充足;The session management network element determines that an address resource corresponding to the first information in the session management network element is sufficient;
    所述会话管理网元向所述已通知移动管理网元列表中的移动管理网元的标识对应的移动管理网元发送第二通知消息,所述第二通知消息用于指示所述会话管理网元中与所述第一信息对应的地址资源充足。Transmitting, by the session management network element, a second notification message to the mobility management network element corresponding to the identifier of the mobility management network element in the mobile management network element list, where the second notification message is used to indicate the session management network The address resource corresponding to the first information in the meta is sufficient.
  7. 根据权利要求1所述的方法,其特征在于,所述网络设备包括所述会话管理网元连接的移动管理网元或者网络功能存储网元;所述方法还包括:The method according to claim 1, wherein the network device comprises a mobility management network element or a network function storage network element to which the session management network element is connected; the method further comprises:
    所述会话管理网元确定所述会话管理网元中与所述第一信息对应的地址资源充足;The session management network element determines that an address resource corresponding to the first information in the session management network element is sufficient;
    所述会话管理网元向所述网络设备发送第二通知消息,所述第二通知消息用于指示所述会话管理网元中与所述第一信息对应的地址资源充足。The session management network element sends a second notification message to the network device, where the second notification message is used to indicate that the address resource corresponding to the first information in the session management network element is sufficient.
  8. 根据权利要求6或7所述的方法,其特征在于,所述一个或多个TA的信息中包括第三终端对应的TA的信息,所述一个或多个DNN中包括所述第三终端对应的DNN;在所述会话管理网元确定所述会话管理网元中与所述第一信息对应的地址资源充足之前,所述方法还包括:The method according to claim 6 or 7, wherein the information of the one or more TAs includes information of a TA corresponding to the third terminal, and the one or more DNNs include the third terminal corresponding to the information. The method further includes: before the session management network element determines that the address resource corresponding to the first information in the session management network element is sufficient, the method further includes:
    所述会话管理网元释放为所述第三终端分配的IP地址。The session management network element releases an IP address assigned to the third terminal.
  9. 根据权利要求6-8任一项所述的方法,其特征在于,所述会话管理网元中与所述第一信息对应的地址资源不充足包括所述会话管理网元中与所述第一信息对应的地址资源中可用地址资源的比例小于或者等于第一预设值;所述会话管理网元中与所述第一信息对应的地址资源充足包括所述会话管理网元中与所述第一信息对应的地址资源中可用地址资源的比例大于或者等于第二预设值,其中,所述第一预设值小于或者等于所述第二预设值。The method according to any one of claims 6-8, wherein the address resource corresponding to the first information in the session management network element is insufficient, including the first and the first in the session management network element. The proportion of the available address resources in the address resource corresponding to the information is less than or equal to the first preset value; the address resource corresponding to the first information in the session management network element is sufficient to include the session management network element and the first The ratio of the available address resources in the address resource corresponding to the information is greater than or equal to the second preset value, where the first preset value is less than or equal to the second preset value.
  10. 根据权利要求6-9任一项所述的方法,其特征在于,所述第二通知消息携带所述第一信息以及地址充足指示;或者,所述第二通知消息携带所述会话管理网元的标识、所述第一信息以及地址充足指示。The method according to any one of claims 6-9, wherein the second notification message carries the first information and an address sufficient indication; or the second notification message carries the session management network element The identification, the first information, and the address sufficient indication.
  11. 根据权利要求1-10任一项所述的方法,其特征在于,所述第一通知消息携带所述第一信息以及地址不充足指示;或者,所述第一通知消息携带所述会话管理网元的标识、所述第一信息以及地址不充足指示。The method according to any one of claims 1 to 10, wherein the first notification message carries the first information and an insufficient address indication; or the first notification message carries the session management network The identity of the element, the first information, and the address are insufficient indication.
  12. 一种地址管理方法,其特征在于,所述方法包括:An address management method, the method comprising:
    网络设备接收来自第一会话管理网元的第一通知消息,所述第一通知消息用于指示所述第一会话管理网元中与第一信息对应的地址资源不充足,其中,所述第一信息包括一个或多个跟踪区TA的信息、或者一个或多个数据网络名称DNN中的至少一个;The network device receives the first notification message from the first session management network element, where the first notification message is used to indicate that the address resource corresponding to the first information in the first session management network element is insufficient, wherein the first The information includes information of one or more tracking areas TA, or at least one of one or more data network names DNN;
    所述网络设备存储所述第一会话管理网元中与所述第一信息对应的地址资源不充足的信息。The network device stores information that the address resources corresponding to the first information in the first session management network element are insufficient.
  13. 根据权利要求12所述的方法,其特征在于,所述第一会话管理网元包括为第一终端服务的会话管理网元;相应的,所述一个或多个TA的信息中包括所述第一终端对应的TA的信息,所述一个或多个DNN中包括所述第一终端对应的DNN。The method according to claim 12, wherein the first session management network element comprises a session management network element serving the first terminal; and correspondingly, the information of the one or more TAs includes the Information about a TA corresponding to a terminal, where the one or more DNNs include a DNN corresponding to the first terminal.
  14. 根据权利要求13所述的方法,其特征在于,所述网络设备包括为所述第一终端服务的第一移动管理网元;所述方法还包括:The method of claim 13, wherein the network device comprises a first mobility management network element serving the first terminal; the method further comprising:
    所述第一移动管理网元接收来自第二终端的会话建立请求,所述会话建立请求携带第二信息,所述第二信息包括所述第二终端对应的TA的信息或者所述第二终端对应的DNN中的至少一个;The first mobility management network element receives a session establishment request from the second terminal, where the session establishment request carries the second information, where the second information includes the information of the TA corresponding to the second terminal or the second terminal. At least one of the corresponding DNNs;
    所述第一移动管理网元根据所述第二信息、以及存储的一个或多个地址资源不充足的信息,选择第二会话管理网元为所述第二终端服务,其中,所述一个或多个地址资源包括一个或多个会话管理网元中与包括所述第二信息的信息对应的地址资源。The first mobility management network element selects a second session management network element to serve the second terminal according to the second information and the stored information of one or more insufficient address resources, where the one or The plurality of address resources include address resources in the one or more session management network elements corresponding to the information including the second information.
  15. 根据权利要求12或13所述的方法,其特征在于,所述网络设备包括网络功能存储网元;所述方法还包括:The method according to claim 12 or 13, wherein the network device comprises a network function storage network element; the method further comprises:
    所述网络功能存储网元接收来自为第二终端服务的第二移动管理网元的请求消息,所述请求消息携带第二信息,所述第二信息包括所述第二终端对应的TA的信息或者所述第二终端对应的DNN中的至少一个;The network function storage network element receives a request message from a second mobility management network element serving the second terminal, where the request message carries the second information, where the second information includes the information of the TA corresponding to the second terminal. Or at least one of the DNNs corresponding to the second terminal;
    所述网络功能存储网元根据所述第二信息、以及存储的一个或多个地址资源不充足的信 息,确定可用的会话管理网元列表,其中,所述一个或多个地址资源包括一个或多个会话管理网元中与包括所述第二信息的信息对应的地址资源;The network function storage network element determines, according to the second information, and the stored information that the one or more address resources are insufficient, the available session management network element list, where the one or more address resources include one or An address resource corresponding to the information including the second information in the plurality of session management network elements;
    所述网络功能存储网元向所述第二移动管理网元发送所述可用的会话管理网元列表,所述可用的会话管理网元列表用于选择第二会话管理网元为所述第二终端服务。The network function storage network element sends the available session management network element list to the second mobility management network element, where the available session management network element list is used to select the second session management network element as the second terminal service.
  16. 根据权利要求15所述的方法,其特征在于,所述可用的会话管理网元列表中包括所述第二会话管理网元,所述第二会话管理网元中与第三信息对应的地址资源充足,其中,所述第三信息包括一个或多个TA的信息、或者一个或多个DNN中的至少一个,所述第三信息中包括所述第二信息。The method according to claim 15, wherein the available session management network element list includes the second session management network element, and the address resource corresponding to the third information in the second session management network element Sufficiently, wherein the third information includes information of one or more TAs, or at least one of one or more DNNs, the second information including the second information.
  17. 根据权利要求12-16任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 12 to 16, wherein the method further comprises:
    所述网络设备接收来自所述第一会话管理网元的第二通知消息,所述第二通知消息用于指示所述第一会话管理网元中与所述第一信息对应的地址资源充足;Receiving, by the network device, a second notification message from the first session management network element, where the second notification message is used to indicate that an address resource corresponding to the first information in the first session management network element is sufficient;
    所述网络设备删除存储的所述第一会话管理网元中与所述第一信息对应的地址资源不充足的信息。The network device deletes information that the stored address resource corresponding to the first information in the first session management network element is insufficient.
  18. 一种会话管理网元,其特征在于,所述会话管理网元包括:处理模块和收发模块;A session management network element, where the session management network element includes: a processing module and a transceiver module;
    所述处理模块,用于确定所述会话管理网元中与第一信息对应的地址资源不充足,其中,所述第一信息包括一个或多个跟踪区TA的信息、或者一个或多个数据网络名称DNN中的至少一个;The processing module is configured to determine that the address resource corresponding to the first information in the session management network element is insufficient, wherein the first information includes information of one or more tracking areas TA, or one or more data. At least one of the network names DNN;
    所述收发模块,用于向网络设备发送第一通知消息,所述第一通知消息用于指示所述会话管理网元中与所述第一信息对应的地址资源不充足。The transceiver module is configured to send a first notification message to the network device, where the first notification message is used to indicate that the address resource corresponding to the first information in the session management network element is insufficient.
  19. 根据权利要求18所述的会话管理网元,其特征在于,所述处理模块具体用于:The session management network element according to claim 18, wherein the processing module is specifically configured to:
    在为第一终端分配互联网协议IP地址之后,确定所述会话管理网元中与所述第一信息对应的地址资源不充足,其中,所述一个或多个TA的信息中包括所述第一终端对应的TA的信息,所述一个或多个DNN中包括所述第一终端对应的DNN。After the Internet protocol IP address is allocated to the first terminal, the address resource corresponding to the first information in the session management network element is determined to be insufficient, and the information of the one or more TAs includes the first Information about the TA corresponding to the terminal, where the one or more DNNs include a DNN corresponding to the first terminal.
  20. 根据权利要求19所述的会话管理网元,其特征在于,所述网络设备包括为所述第一终端服务的第一移动管理网元;所述会话管理网元还包括存储模块;The session management network element according to claim 19, wherein the network device comprises a first mobility management network element serving the first terminal; the session management network element further comprises a storage module;
    所述存储模块,用于将所述第一移动管理网元的标识存储到已通知移动管理网元列表中,其中,所述已通知移动管理网元列表中包括所述会话管理网元已经通知了所述会话管理网元中与所述第一信息对应的地址资源不充足的移动管理网元的标识。The storage module is configured to store the identifier of the first mobility management network element into the notified mobile management network element list, where the notified mobility management network element list includes the session management network element that has been notified An identifier of the mobility management network element in which the address resource corresponding to the first information in the session management network element is insufficient.
  21. 根据权利要求20所述的会话管理网元,其特征在于,A session management network element according to claim 20, wherein
    所述处理模块,还用于创建所述已通知移动管理网元列表。The processing module is further configured to create the notified mobile management network element list.
  22. 根据权利要求20所述的会话管理网元,其特征在于,A session management network element according to claim 20, wherein
    所述处理模块,还用于为第二终端分配IP地址之后,确定所述会话管理网元中与所述第一信息对应的地址资源不充足,其中,所述一个或多个TA的信息中包括所述第二终端对应的TA的信息,所述一个或多个DNN中包括所述第二终端对应的DNN;The processing module is further configured to: after the IP address is allocated to the second terminal, determine that the address resource corresponding to the first information in the session management network element is insufficient, where the information of the one or more TAs is The information about the TA corresponding to the second terminal, where the one or more DNNs include a DNN corresponding to the second terminal;
    所述收发模块,还用于向为所述第二终端服务的第二移动管理网元发送所述第一通知消息;The transceiver module is further configured to send the first notification message to a second mobility management network element serving the second terminal;
    所述处理模块,还用于创建所述已通知移动管理网元列表。The processing module is further configured to create the notified mobile management network element list.
  23. 根据权利要求20-22任一项所述的会话管理网元,其特征在于,A session management network element according to any one of claims 20-22, characterized in that
    所述处理模块,还用于确定所述会话管理网元中与所述第一信息对应的地址资源充足;The processing module is further configured to determine that an address resource corresponding to the first information in the session management network element is sufficient;
    所述收发模块,还用于向所述已通知移动管理网元列表中的移动管理网元的标识对应的移动管理网元发送第二通知消息,所述第二通知消息用于指示所述会话管理网元中与所述第一信息对应的地址资源充足。The transceiver module is further configured to send a second notification message to the mobility management network element corresponding to the identifier of the mobility management network element in the notified mobility management network element list, where the second notification message is used to indicate the session The address resources corresponding to the first information in the management network element are sufficient.
  24. 根据权利要求18所述的会话管理网元,其特征在于,所述网络设备包括所述会话管理网元连接的移动管理网元或者网络功能存储网元;The session management network element according to claim 18, wherein the network device comprises a mobility management network element or a network function storage network element to which the session management network element is connected;
    所述处理模块,还用于确定所述会话管理网元中与所述第一信息对应的地址资源充足;The processing module is further configured to determine that an address resource corresponding to the first information in the session management network element is sufficient;
    所述收发模块,还用于向所述网络设备发送第二通知消息,所述第二通知消息用于指示所述会话管理网元中与所述第一信息对应的地址资源充足。The transceiver module is further configured to send a second notification message to the network device, where the second notification message is used to indicate that an address resource corresponding to the first information in the session management network element is sufficient.
  25. 根据权利要求23或24所述的会话管理网元,其特征在于,所述一个或多个TA的信息中包括第三终端对应的TA的信息,所述一个或多个DNN中包括所述第三终端对应的DNN;The session management network element according to claim 23 or 24, wherein the information of the one or more TAs includes information of a TA corresponding to the third terminal, and the one or more DNNs include the The DNN corresponding to the three terminals;
    所述处理模块,还用于释放为所述第三终端分配的IP地址。The processing module is further configured to release an IP address assigned to the third terminal.
  26. 一种网络设备,其特征在于,所述网络设备包括:收发模块和存储模块;A network device, comprising: a transceiver module and a storage module;
    所述收发模块,用于接收来自第一会话管理网元的第一通知消息,所述第一通知消息用于指示所述第一会话管理网元中与第一信息对应的地址资源不充足,其中,所述第一信息包括一个或多个跟踪区TA的信息、或者一个或多个数据网络名称DNN中的至少一个;The transceiver module is configured to receive a first notification message from the first session management network element, where the first notification message is used to indicate that the address resource corresponding to the first information in the first session management network element is insufficient. The first information includes information of one or more tracking areas TA, or at least one of one or more data network names DNN;
    所述存储模块,用于存储所述第一会话管理网元中与所述第一信息对应的地址资源不充足的信息。The storage module is configured to store information that the address resources corresponding to the first information in the first session management network element are insufficient.
  27. 根据权利要求26所述的网络设备,其特征在于,所述第一会话管理网元包括为第一终端服务的会话管理网元;相应的,所述一个或多个TA的信息中包括所述第一终端对应的TA的信息,所述一个或多个DNN中包括所述第一终端对应的DNN。The network device according to claim 26, wherein the first session management network element comprises a session management network element serving the first terminal; and correspondingly, the information of the one or more TAs includes the Information about the TA corresponding to the first terminal, where the one or more DNNs include a DNN corresponding to the first terminal.
  28. 根据权利要求27所述的网络设备,其特征在于,所述网络设备包括为所述第一终端服务的第一移动管理网元;所述网络设备还包括处理模块;The network device according to claim 27, wherein the network device comprises a first mobility management network element serving the first terminal; the network device further comprises a processing module;
    所述收发模块,还用于接收来自第二终端的会话建立请求,所述会话建立请求携带第二信息,所述第二信息包括所述第二终端对应的TA的信息或者所述第二终端对应的DNN中的至少一个;The transceiver module is further configured to receive a session establishment request from the second terminal, where the session establishment request carries the second information, where the second information includes the information of the TA corresponding to the second terminal or the second terminal. At least one of the corresponding DNNs;
    所述处理模块,用于根据所述第二信息、以及存储的一个或多个地址资源不充足的信息,选择第二会话管理网元为所述第二终端服务,其中,所述一个或多个地址资源包括一个或多个会话管理网元中与包括所述第二信息的信息对应的地址资源。The processing module is configured to select, according to the second information, and the stored information that the one or more address resources are insufficient, the second session management network element to serve the second terminal, where the one or more The address resources include address resources in the one or more session management network elements corresponding to the information including the second information.
  29. 根据权利要求26或27所述的网络设备,其特征在于,所述网络设备包括网络功能存储网元;所述网络设备还包括处理模块;The network device according to claim 26 or 27, wherein the network device comprises a network function storage network element; the network device further comprises a processing module;
    所述收发模块,还用于接收来自为第二终端服务的第二移动管理网元的请求消息,所述请求消息携带第二信息,所述第二信息包括所述第二终端对应的TA的信息或者所述第二终端对应的DNN中的至少一个;The transceiver module is further configured to receive a request message from a second mobility management network element serving the second terminal, where the request message carries the second information, where the second information includes the TA corresponding to the second terminal. Information or at least one of the DNNs corresponding to the second terminal;
    所述处理模块,用于根据所述第二信息、以及存储的一个或多个地址资源不充足的信息,确定可用的会话管理网元列表,其中,所述一个或多个地址资源包括一个或多个会话管理网元中与包括所述第二信息的信息对应的地址资源;The processing module is configured to determine, according to the second information, and the stored information that the one or more address resources are insufficient, the available session management network element list, where the one or more address resources include one or An address resource corresponding to the information including the second information in the plurality of session management network elements;
    所述收发模块,还用于向所述第二移动管理网元发送所述可用的会话管理网元列表,所述可用的会话管理网元列表用于选择第二会话管理网元为所述第二终端服务。The transceiver module is further configured to send the available session management network element list to the second mobility management network element, where the available session management network element list is used to select the second session management network element as the Two terminal services.
  30. 根据权利要求26-29任一项所述的网络设备,其特征在于,所述网络设备还包括处 理模块;The network device according to any one of claims 26-29, wherein the network device further comprises a processing module;
    所述收发模块,还用于接收来自所述第一会话管理网元的第二通知消息,所述第二通知消息用于指示所述第一会话管理网元中与所述第一信息对应的地址资源充足;The transceiver module is further configured to receive a second notification message from the first session management network element, where the second notification message is used to indicate that the first session management network element corresponds to the first information. Adequate address resources;
    所述处理模块,还用于删除存储的所述第一会话管理网元中与所述第一信息对应的地址资源不充足的信息。The processing module is further configured to delete information that is insufficient in address resources corresponding to the first information in the stored first session management network element.
  31. 一种地址管理系统,其特征在于,所述地址管理系统包括会话管理网元以及网络设备;An address management system, wherein the address management system includes a session management network element and a network device;
    所述会话管理网元,用于确定所述会话管理网元中与第一信息对应的地址资源不充足,并向网络设备发送第一通知消息,其中,所述第一通知消息用于指示所述会话管理网元中与所述第一信息对应的地址资源不充足,所述第一信息包括一个或多个跟踪区TA的信息、或者一个或多个数据网络名称DNN中的至少一个;The session management network element is configured to determine that the address resource corresponding to the first information in the session management network element is insufficient, and send a first notification message to the network device, where the first notification message is used to indicate The address resource corresponding to the first information in the session management network element is insufficient, and the first information includes information of one or more tracking areas TA or at least one of one or more data network names DNN;
    所述网络设备,用于接收来自所述会话管理网元的所述第一通知消息。The network device is configured to receive the first notification message from the session management network element.
  32. 一种会话管理网元,其特征在于,包括:处理器和存储器;所述存储器用于存储计算机执行指令,当所述会话管理网元运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述会话管理网元执行如权利要求1-11任一项所述的地址管理方法。A session management network element, comprising: a processor and a memory; the memory is configured to store a computer execution instruction, and when the session management network element is running, the processor executes the memory storage The computer executes instructions to cause the session management network element to perform the address management method of any of claims 1-11.
  33. 一种网络设备,其特征在于,包括:处理器和存储器;所述存储器用于存储计算机执行指令,当所述网络设备运行时,所述处理器执行所述存储器存储的所述计算机执行指令,以使所述网络设备执行如权利要求12-17任一项所述的地址管理方法。A network device, comprising: a processor and a memory; the memory is configured to store a computer execution instruction, and when the network device is running, the processor executes the computer execution instruction stored by the memory, The network device is caused to perform the address management method according to any one of claims 12-17.
  34. 一种处理器,其特征在于,用于执行如权利要求1-11任一项,或权利要求12-17任一项所述的地址管理方法。A processor, for performing the address management method according to any one of claims 1 to 11, or any one of claims 12 to 17.
  35. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机可以执行如权利要求1-11任一项,或权利要求12-17任一项所述的地址管理方法。A computer readable storage medium, wherein the computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform any of claims 1-11, or claim 12. The address management method of any of the items -17.
  36. 一种计算机程序产品,其特征在于,所述计算机程序产品中存储有指令,当其在计算机上运行时,使得计算机可以执行如权利要求1-11任一项,或权利要求12-17任一项所述的地址管理方法。A computer program product, wherein the computer program product stores instructions that, when run on a computer, cause the computer to perform any of claims 1-11, or any of claims 12-17 The address management method described in the item.
  37. 一种用来执行权利要求1-11任一项所述的地址管理方法的装置。An apparatus for performing the address management method according to any one of claims 1-11.
  38. 一种用来执行权利要求12-17任一项所述的地址管理方法的装置。An apparatus for performing the address management method according to any one of claims 12-17.
PCT/CN2019/075445 2018-03-12 2019-02-19 Address management method, device and system WO2019174437A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810201012.9A CN110266826B (en) 2018-03-12 2018-03-12 Address management method, equipment and system
CN201810201012.9 2018-03-12

Publications (1)

Publication Number Publication Date
WO2019174437A1 true WO2019174437A1 (en) 2019-09-19

Family

ID=67907382

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/075445 WO2019174437A1 (en) 2018-03-12 2019-02-19 Address management method, device and system

Country Status (2)

Country Link
CN (1) CN110266826B (en)
WO (1) WO2019174437A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584326A (en) * 2019-09-29 2021-03-30 华为技术有限公司 Communication method, device and system
CN115280801A (en) * 2020-03-31 2022-11-01 华为技术有限公司 Positioning request processing method, device and system

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114039947B (en) * 2020-07-21 2024-03-15 中国电信股份有限公司 Terminal address allocation method, UPF, system and storage medium
CN114363881B (en) * 2021-12-03 2023-10-20 京信网络系统股份有限公司 IP address allocation method, device, equipment and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320502A (en) * 2014-11-14 2015-01-28 大唐移动通信设备有限公司 Terminal gateway IP address assignment method, data transmission method, MME and system
CN105554178A (en) * 2015-12-31 2016-05-04 上海华为技术有限公司 Address allocation method, gateway and system
CN106993067A (en) * 2017-03-16 2017-07-28 华为技术有限公司 Route sending-down method and equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8072948B2 (en) * 2005-07-14 2011-12-06 Interdigital Technology Corporation Wireless communication system and method of implementing an evolved system attachment procedure
US7873003B2 (en) * 2006-11-08 2011-01-18 Electronics And Telecommunications Research Institute Method for allocating IP address to mobile station in mobile communication system
CN101741925A (en) * 2009-12-14 2010-06-16 中兴通讯股份有限公司 Method for allocating access addresses and access equipment
CN103178973B (en) * 2011-12-21 2016-04-20 中国电信股份有限公司 The method of management ip address, system and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104320502A (en) * 2014-11-14 2015-01-28 大唐移动通信设备有限公司 Terminal gateway IP address assignment method, data transmission method, MME and system
CN105554178A (en) * 2015-12-31 2016-05-04 上海华为技术有限公司 Address allocation method, gateway and system
CN106993067A (en) * 2017-03-16 2017-07-28 华为技术有限公司 Route sending-down method and equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112584326A (en) * 2019-09-29 2021-03-30 华为技术有限公司 Communication method, device and system
CN112584326B (en) * 2019-09-29 2023-08-22 华为技术有限公司 Communication method, device and system
CN115280801A (en) * 2020-03-31 2022-11-01 华为技术有限公司 Positioning request processing method, device and system

Also Published As

Publication number Publication date
CN110266826B (en) 2020-11-17
CN110266826A (en) 2019-09-20

Similar Documents

Publication Publication Date Title
US11445569B2 (en) Session establishment method and system, and device
US11882485B2 (en) Session management function entity selection method, apparatus, and system
US11432366B2 (en) Session management method, device, and system
US11871283B2 (en) Service continuity implementation method, device, and service continuity implementation system
WO2019154038A1 (en) Address management method, device and system
US11950136B2 (en) Load relocation in a communications network
WO2019174437A1 (en) Address management method, device and system
WO2019137547A1 (en) Session establishment method and device
WO2019137125A1 (en) Session management method, device and system
WO2019154036A1 (en) Qos flow processing method, device and system
WO2019062830A1 (en) Method and device for generating example service topology
WO2019042182A1 (en) Data transmission method, device and system
EP3755047B1 (en) Load migration method and destination controller
WO2018214597A1 (en) Method, device and system for selecting access network type
WO2019184723A1 (en) Policy and charging control rule acquisition method, device and system
WO2019120073A1 (en) Data transmission method, device and system
WO2019223702A1 (en) Pdu session management method, apparatus and system
WO2019024747A1 (en) Communication method, device and system
WO2020249032A1 (en) Communication method and device
US11160004B2 (en) Handover method, device, and system
WO2018191867A1 (en) Synchronization method, apparatus, and system for terminal monitoring information
JP6961098B2 (en) Session management methods and systems, as well as equipment
WO2019210779A1 (en) Switching method, device, and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19767512

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19767512

Country of ref document: EP

Kind code of ref document: A1