WO2024086996A1 - Address allocation method and device - Google Patents

Address allocation method and device Download PDF

Info

Publication number
WO2024086996A1
WO2024086996A1 PCT/CN2022/127158 CN2022127158W WO2024086996A1 WO 2024086996 A1 WO2024086996 A1 WO 2024086996A1 CN 2022127158 W CN2022127158 W CN 2022127158W WO 2024086996 A1 WO2024086996 A1 WO 2024086996A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
network
address set
terminal device
network device
Prior art date
Application number
PCT/CN2022/127158
Other languages
French (fr)
Chinese (zh)
Inventor
郭伯仁
郭雅莉
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2022/127158 priority Critical patent/WO2024086996A1/en
Publication of WO2024086996A1 publication Critical patent/WO2024086996A1/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

Definitions

  • the present application relates to the field of communications, and more specifically, to an address allocation method and device.
  • a terminal When a terminal accesses the network, it may access through other terminals in some cases.
  • a device that cannot directly access the 5G core network (5GC) accesses the 5G Core through the 3rd Generation Partnership Project (3GPP) user equipment (UE).
  • 3GPP 3rd Generation Partnership Project
  • UE user equipment
  • the embodiments of the present application provide an address allocation method and device, which can allocate addresses to devices accessing a communication network.
  • the present application provides an address allocation method, including:
  • the first device receives an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • the present application provides an address allocation method, including:
  • the first network device determines an address set, and the address set is used to allocate an address to a first terminal device associated with the first device.
  • the present application provides an address allocation method, including:
  • the server device receives a second address request from the first device
  • the server device allocates an address to the first terminal device associated with the first device according to the second address request.
  • the present application provides an address allocation method, including:
  • the third network device determines an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • the present application embodiment provides a first device, including:
  • the first receiving module is used to receive an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • An embodiment of the present application provides a first network device, including:
  • the first determination module is used to determine an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • the present application provides a server device, including:
  • a third receiving module configured to receive a second address request from the first device
  • the allocation module is used to allocate an address to a first terminal device associated with the first device according to the second address request.
  • the embodiment of the present application provides a third network device, including:
  • the second determination module is used to determine an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • An embodiment of the present application provides a communication device, including: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute any address allocation method as in the embodiments of the present application.
  • An embodiment of the present application provides a chip, including: a processor, used to call and run a computer program from a memory, so that a device equipped with the chip executes any address allocation method as in the embodiments of the present application.
  • An embodiment of the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute any address allocation method as described in the embodiments of the present application.
  • An embodiment of the present application provides a computer program product, including computer program instructions, which enable a computer to execute any address allocation method as described in the embodiments of the present application.
  • An embodiment of the present application provides a computer program, which enables a computer to execute any address allocation method as described in the embodiments of the present application.
  • the first device receiving an address set for allocating an address to the first terminal device, it is possible to allocate an address to the first terminal device associated with the first device.
  • FIG. 1 is a schematic diagram of application scenario 1 of an embodiment of the present application.
  • FIG. 2 is a schematic diagram of application scenario 2 of an embodiment of the present application.
  • 3A-3C are schematic diagrams showing three modes of communication between PINEs.
  • FIG. 4 is a schematic diagram of a frame routing address configuration method.
  • FIG5 is a schematic flowchart of an address allocation method 500 according to an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of an address allocation method 600 according to an embodiment of the present application.
  • FIG. 7 is a schematic flowchart of a second address allocation method 700 according to an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of a third address allocation method 800 according to an embodiment of the present application.
  • FIG9 is an implementation flowchart according to the first embodiment of the present application.
  • FIG. 10 is an implementation flowchart according to the second embodiment of the present application.
  • FIG. 11 is an implementation flowchart according to the third embodiment of the present application.
  • FIG12 is an implementation flowchart according to the fourth embodiment of the present application.
  • FIG. 13 is a schematic flowchart of an address allocation method 1300 according to an embodiment of the present application.
  • FIG. 14 is a schematic flowchart of an address allocation method 1400 according to an embodiment of the present application.
  • FIG. 15 is a schematic flowchart of an address allocation method 1500 according to an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a first device 1600 according to an embodiment of the present application.
  • FIG. 17 is a schematic diagram of the structure of a first device 1700 according to an embodiment of the present application.
  • FIG. 18 is a schematic diagram of the structure of a first network device 1800 according to an embodiment of the present application.
  • FIG. 19 is a schematic diagram of the structure of a first network device 1900 according to an embodiment of the present application.
  • FIG. 20 is a schematic diagram of the structure of a server device 2000 according to an embodiment of the present application.
  • FIG. 21 is a schematic diagram of the structure of a server device 2100 according to an embodiment of the present application.
  • Figure 22 is a schematic diagram of the structure of a third network device 2200 according to an embodiment of the present application.
  • FIG. 23 is a schematic diagram of the structure of a third network device 2300 according to an embodiment of the present application.
  • FIG. 24 is a schematic structural diagram of a communication device 2400 according to an embodiment of the present application.
  • FIG. 25 is a schematic structural diagram of a chip 2500 according to an embodiment of the present application.
  • GSM Global System of Mobile communication
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • LTE-A Advanced long term evolution
  • NR New Radio
  • LTE-based access to unlicensed spectrum (LTE-U) systems LTE-based access to unlicensed spectrum (LTE-U) systems
  • NR-based access to unlicensed spectrum (NR-U) systems NTN-based access to unlicensed spectrum (NR-U) systems
  • NTN non-terrestrial communication networks
  • UMTS universal mobile communication systems
  • WLAN wireless local area networks
  • WiFi wireless fidelity
  • 5G fifth-generation communication
  • D2D Device to Device
  • M2M Machine to Machine
  • MTC Machine Type Communication
  • V2V vehicle to vehicle
  • V2X vehicle to everything
  • the communication system in the embodiment of the present application can be applied to a carrier aggregation (CA) scenario, a dual connectivity (DC) scenario, or a standalone (SA) networking scenario.
  • CA carrier aggregation
  • DC dual connectivity
  • SA standalone
  • the communication system in the embodiment of the present application can be applied to an unlicensed spectrum, wherein the unlicensed spectrum can also be considered as a shared spectrum; or, the communication system in the embodiment of the present application can also be applied to an authorized spectrum, wherein the authorized spectrum can also be considered as an unshared spectrum.
  • the embodiments of the present application describe various embodiments in conjunction with network equipment and terminal equipment, wherein the terminal equipment may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
  • UE user equipment
  • the terminal device can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in the next generation communication system such as the NR network, or a terminal device in the future evolved Public Land Mobile Network (PLMN) network, etc.
  • STAION, ST in a WLAN
  • a cellular phone a cordless phone
  • Session Initiation Protocol (SIP) phone Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • PDA Personal Digital Assistant
  • the terminal device can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (for example, on airplanes, balloons and satellites, etc.).
  • the terminal device may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical, a wireless terminal device in smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.
  • VR virtual reality
  • AR augmented reality
  • the terminal device may also be a wearable device.
  • Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes.
  • a wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
  • the network device may be a device for communicating with a mobile device.
  • the network device may be an access point (AP) in WLAN, a base station (BTS) in GSM or CDMA, a base station (NodeB, NB) in WCDMA, an evolved base station (Evolutional Node B, eNB or eNodeB) in LTE, or a relay station or access point, or a vehicle-mounted device, a wearable device, a network device (gNB) in an NR network, or a network device in a future evolved PLMN network, or a network device in an NTN network, etc.
  • the network device may have a mobile feature, for example, the network device may be a mobile device.
  • the network device may be a satellite or a balloon station.
  • the satellite may be a low earth orbit (LEO) satellite, a medium earth orbit (MEO) satellite, a geostationary earth orbit (GEO) satellite, a high elliptical orbit (HEO) satellite, etc.
  • the network device may also be a base station set up in a location such as land or water.
  • a network device can provide services for a cell, and a terminal device communicates with the network device through transmission resources used by the cell (for example, frequency domain resources, or spectrum resources).
  • the cell can be a cell corresponding to a network device (for example, a base station), and the cell can belong to a macro base station or a base station corresponding to a small cell.
  • the small cells here may include: metro cells, micro cells, pico cells, femto cells, etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-speed data transmission services.
  • Fig. 1 exemplarily shows a communication system 100.
  • the communication system includes a network device 110 and two terminal devices 120.
  • the communication system 100 may include multiple network devices 110, and each network device 110 may include other number of terminal devices 120 within its coverage area, which is not limited in the embodiment of the present application.
  • the communication system 100 may also include other network entities such as a Mobility Management Entity (MME) and an Access and Mobility Management Function (AMF), but this is not limited to the embodiments of the present application.
  • MME Mobility Management Entity
  • AMF Access and Mobility Management Function
  • the network equipment may include access network equipment and core network equipment. That is, the wireless communication system also includes multiple core networks for communicating with the access network equipment.
  • the access network equipment may be an evolutionary base station (evolutional node B, referred to as eNB or e-NodeB) macro base station, micro base station (also called “small base station”), pico base station, access point (AP), transmission point (TP) or new generation Node B (gNodeB) in a long-term evolution (LTE) system, a next-generation (mobile communication system) (next radio, NR) system or an authorized auxiliary access long-term evolution (LAA-LTE) system.
  • eNB evolutionary base station
  • AP access point
  • TP transmission point
  • gNodeB new generation Node B
  • LTE long-term evolution
  • NR next-generation
  • LAA-LTE authorized auxiliary access long-term evolution
  • the device with communication function in the network/system in the embodiment of the present application can be called a communication device.
  • the communication device may include a network device and a terminal device with communication function, and the network device and the terminal device may be specific devices in the embodiment of the present application, which will not be repeated here; the communication device may also include other devices in the communication system, such as other network entities such as a network controller and a mobile management entity, which is not limited in the embodiment of the present application.
  • the "indication" mentioned in the embodiments of the present application can be a direct indication, an indirect indication, or an indication of an association relationship.
  • a indicates B which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association relationship between A and B.
  • corresponding may indicate a direct or indirect correspondence between two items, or an association relationship between the two items, or a relationship of indication and being indicated, configuration and being configured, etc.
  • a terminal When a terminal accesses the network, it will access through other terminals in some cases.
  • a device that cannot directly access the 5G core network (5GC) accesses the 5GC through the third generation partnership project 3GPP UE.
  • a personal IoT device PINE, PIN Element
  • PINE PIN Element
  • PES personal IoT device with gateway capability
  • PEMC IoT device with management capability
  • IoT devices can be divided into wearable devices (such as cameras, headphones, watches, earphones, health monitors), home life devices (such as smart lights, cameras, thermostats, door sensors, voice assistants, speakers, refrigerators, washing machines, lawn mowers, robots), and office or factory equipment (such as printers, meters, sensors). Users can use these IoT devices to create (e.g., plan, change topology) personal networks in their homes, offices, factories, or around their bodies.
  • wearable devices such as cameras, headphones, watches, earphones, health monitors
  • home life devices such as smart lights, cameras, thermostats, door sensors, voice assistants, speakers, refrigerators, washing machines, lawn mowers, robots
  • office or factory equipment such as printers, meters, sensors
  • the personal Internet of Things (PIN) created by the user consists of three types of devices: ordinary personal Internet of Things devices (PINE), personal Internet of Things devices with gateway capabilities (PEGC), and Internet of Things devices with management capabilities (PEMC).
  • PINE ordinary personal Internet of Things devices
  • PEGC personal Internet of Things devices with gateway capabilities
  • PEMC Internet of Things devices with management capabilities
  • the general PINE has basic communication capabilities and can communicate with each other directly through WiFi, Bluetooth, etc. or through PEGC.
  • PEGC and PEMC have the ability to access the 5G system and can use the 5G system to provide data forwarding services and management services for other PINEs.
  • FIG3A-3C are schematic diagrams showing three modes of communication between PINEs.
  • FIG3A is a mode 1 for communication between PINEs, in which PINEs are directly connected to each other; as shown in FIG3A , PINE 1 and PINE 2 directly exchange data through communication technologies such as WiFi and Bluetooth.
  • FIG3B is a mode 2 for communication between PINEs, in which data is forwarded between PINEs via PEGC; as shown in FIG3B , PINE 1 and PINE 2 are connected to the same PEGC via communication technologies such as WiFi or Bluetooth, and PEGC provides data forwarding services for them.
  • FIG3C is a mode 3 for communication between PINEs, in which data is forwarded between PINEs via 5GS; as shown in FIG3C , data can be forwarded between PINE 1 and PINE 2 via 5GS.
  • data can be forwarded through the UPF.
  • the PDU session created by PEGC for PINE 1 and PINE 2 is connected to the same user plane function (UPF)
  • UPF user plane function
  • data can be forwarded through the UPF.
  • the PDU session established by PEGC for PINE is connected to different UPFs
  • data can be forwarded through the N19 interface between UPFs.
  • data can also be forwarded through the interface N6 between UPF and the data network.
  • the 5GC uses framed routing to assign IP addresses to the PINE connected to the PEGC.
  • the 5G network supports frame routing only for PDU session definitions of IP types (IPv4, IPv6, IPv4v6) and allows support for IP networks behind PEGC, so a range of IPv4 addresses or IPv6 prefixes can be accessed in a single PDU session.
  • a PDU session can be associated with multiple frame routes.
  • Each frame route refers to a series of IPv4 addresses (i.e., IPv4 address and IPv4 address mask) or a series of IPv6 prefixes (i.e., IPv6 prefix and IPv6 prefix length).
  • IPv4 addresses i.e., IPv4 address and IPv4 address mask
  • IPv6 prefixes i.e., IPv6 prefix and IPv6 prefix length
  • One or a group of frame routes associated with a PDU session is included in the routing information.
  • 5GC does not send frame routing information to PEGC, but sends the IP address to the PINE connected to PEGC through a specific application layer method.
  • the frame routing information is provided to the PSAUPF by the Session Management Function (SMF) as part of the packet detection rules associated with the network-side N6 interface of the UPF.
  • SMF Session Management Function
  • the SMF can obtain the frame routing information from the Data Network (DN)-Authentication Authorization Accounting (AAA) server during the secondary authentication and authorization process or by consulting the session management contract message in the UDM.
  • DN Data Network
  • AAA authentication Authorization Accounting
  • the IP address allocated by 5GC to PEGC during the PDU session establishment process can be an address in the frame routing information or an IP address outside the frame routing information.
  • the SMF releases the PDU session and can include an indication in the release request to allow the UE to re-establish the PDU session.
  • the topology information of the PIN network is often flexible and changeable, and the association between PEGC and PINE is often dynamically changing.
  • the frame routing information in 5GC is often static address information and will not be sent to PEGC.
  • the IP gateway (IP-gateway) in the frame routing information is an address statically assigned to PEGC, while IP-a and IP-b are static addresses assigned to PINE-a and PINE-b.
  • the embodiment of the present application proposes an address allocation method, which can be applied to PIN networks, and can also be applied to other scenarios where devices that cannot directly access 5GC apply for addresses through 3GPP UE.
  • the address allocated in the embodiment of the present application can be an IPv4 address and/or an IPv6 prefix.
  • Fig. 5 is a schematic flow chart of an address allocation method 500 according to an embodiment of the present application, which can be applied to any system shown in Figs. 1-4, but is not limited thereto.
  • the method includes at least part of the following contents.
  • the first device receives an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • the first terminal device accesses the network through the first device, that is, the first device is associated with the first terminal device. After receiving the address set, the first device can select an address from the address set and assign the selected address to the first terminal device associated with the first device, thereby allocating an address to the first terminal device.
  • the first device After allocating an address to the second network device, the first device can send the address to the first terminal device. In this way, when the first device needs to access the network, it can use the address to access without waiting for the frame routing information to be updated.
  • the address set can be determined by the first network device. That is, the first network device determines an address set, and the address set is used to assign an address to the first terminal device associated with the first device. In this way, even if the association relationship between the first terminal device and the first device changes, as long as the address assigned by the first device to the first terminal device is selected from the address set, there is no need to re-establish the session process. For example, when a new first terminal device is connected to the first device and an IP address needs to be assigned to it by the first device, the first device can select an unused address from the address set assigned by the first network device or reuse the address of the disconnected first terminal device.
  • the first device may carry first indication information, and the first indication information is used to request to obtain an address set; the first indication information may be sent directly to the first network device, or forwarded to the first network device by an intermediate device; after receiving the first indication information, the first network device determines the address set, and sends the address set directly to the first device, or forwards it to the first device by the intermediate device; the first device then selects an address from the address set and assigns the address to the first terminal device.
  • the first device acts as a DHCP server to perform address allocation.
  • the first network device may include one or more of SMF, UPF, and AMF.
  • the first device may send a first indication information to a PEGC or PEMC; based on the first indication information, the PEGC or PEMC may determine the address set, or obtain the address set from other network elements, and send the address set to the first device; the first device then selects an address from the address set and assigns the address to the first terminal device.
  • the first device sends a first address request, which carries an identifier of the first terminal device and is used to request an address to be allocated to the first terminal device; the first address request can be sent directly to the first network device, or forwarded to the first network device by an intermediate device.
  • the first network device may include one or more of SMF, UPF, and AMF.
  • the first network device may select an address allocated to the first terminal device from a determined address set and send the address. In this case, the first network device acts as a DHCP server to allocate addresses.
  • the first device sends a first address request to a server device (or an application server, a data network (DN), an application function (AF), etc.), where the first address request carries an identifier of the first terminal device and is used to request address allocation for the first terminal device; the server device allocates an address to the first terminal device.
  • the server device acts as a Dynamic Host Configuration Protocol (DHCP) server to perform address allocation.
  • DHCP Dynamic Host Configuration Protocol
  • the address set can be represented by frame routing information, IPv4 address and subnet mask, IPv6 address and IPv6 prefix, etc.
  • the IPv6 prefix can also be called the IPv6 prefix length.
  • the address set represented by the frame routing information can be a continuous address segment or multiple scattered addresses.
  • the first device may be a PEGC, and the first terminal device may be a PINE.
  • the first network device may be an SMF, a UPF, or other network elements. Taking the address allocation of a PINE associated with a PEGC as an example, the address allocation method proposed in this embodiment includes at least the following three methods:
  • PEGC acts as a DHCP server. This method has at least the following two situations:
  • Case 1 Expanding the existing frame routing method, 5GC no longer allocates addresses for each PINE, but sends frame routing information to PEGC, which dynamically selects a suitable IP address from the frame routing information and allocates it to the PEGC associated with it based on the current PINE-PEGC association relationship.
  • 5GC allocates an IP address set to PEGC, and PEGC can dynamically select an IP address from the allocated IP address set to allocate to the PINE associated with it.
  • SMF can allocate an IPv4 mask or IPv6 prefix to PEGC, and set the IPv4 mask/IPv6 prefix as the destination address in the PDR.
  • SMF and other 5GC network elements act as DHCP servers to dynamically allocate IP addresses for PINE.
  • the server device outside the core network acts as a DHCP server. After PGEC establishes a PDU session, it interacts with the DHCP server outside the core network through the data plane to obtain the IP address of PINE.
  • FIG6 is a schematic flow chart of an address allocation method 600 according to an embodiment of the present application, including:
  • the first device (such as PEGC) sends first indication information, and the first indication information is used to request to obtain an address set.
  • the first indication information can be sent to the first network device directly or via other devices, and the first network device can include one or more of SMF, UPF, and AMF.
  • the first indication information can be sent via a NAS message, such as the first device sends a NAS message, and the NAS message carries the first indication information.
  • the NAS message also carries at least one of the identifier of the first device (such as PEGC ID), the identifier of the network to which the first device and the first terminal device (such as PINE) belong (PIN ID), and the number of addresses requested to be obtained.
  • the first network device determines an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • the address set may be represented by frame routing information or by an IP address segment.
  • the first network device may determine frame routing information, which includes an address set.
  • the frame routing information may also include an address of the first device, so as to allocate an address to the first device.
  • the first network device may determine the frame routing information in at least one of the following ways:
  • Frame routing information is obtained from the second network device.
  • the first network device can solve the frame routing acquisition method in the related art, and can also adopt a new frame routing acquisition method to acquire frame routing information that can contain an address set.
  • the second network device can be a network element such as UPF.
  • the first network device may determine an IPv4 address and a subnet mask, where the IPv4 address and the subnet mask are used to represent an address set; and/or,
  • the first network device may determine an IPv6 address and a prefix, where the IPv6 address and the prefix are used to represent a set of addresses.
  • the first network device may determine the address set in at least one of the following ways:
  • a set of addresses is obtained from a second network device.
  • the second network device can be a network element such as UPF.
  • the first network device adds the address set to the packet detection rule (PDR) corresponding to the session (such as the protocol data unit (PDU) session) that the first device requests to establish or modify, and provides the PDR to the second network device.
  • PDR packet detection rule
  • S640 The first network device sends the address set.
  • the first network device sends a Namf_Communication_N1N2MessageTransfer message, and the Namf_Communication_N1N2MessageTransfer message carries an address set.
  • the Namf_Communication_N1N2MessageTransfer message may also carry at least one of an identifier of the first device (such as PEGC ID), an address of the first device (such as PEGC IP), an identifier of the first terminal device (such as PINE ID), and an identifier of the network to which the first device and the first terminal device belong (such as PIN ID).
  • the message carrying the address set may be sent to other network elements (such as AMF), and the other network elements (such as AMF) send the address set to the first device.
  • the first network device sends the address set, it synchronously sends the aforementioned addresses and/or identification information, which can facilitate the first device that receives the address set to distinguish the address set and avoid address allocation errors caused by errors in the message transmission process.
  • the first device receives the address set, and the address set is used to allocate an address to the first terminal device associated with the first device.
  • the first device receives a NAS message, and the NAS message carries the address set.
  • the NAS message may also carry at least one of an identifier of the first device (such as PEGC ID), an address of the first device (such as PEGC IP), an identifier of the first terminal device (such as PINE ID), and an identifier of the network to which the first device and the first terminal device belong (such as PIN ID).
  • the first device allocates an address to a first terminal device associated with the first device from the received address set. For example, after receiving an address request from the first terminal device, an address is selected from the address set and the selected address is distributed to the first terminal device.
  • the step of receiving an address request from the first terminal device may be performed before obtaining the address set or after obtaining the address set.
  • the first device acts as a DHCP server to allocate an address to the first terminal device.
  • FIG. 7 is a schematic flow chart of a second address allocation method 700 according to an embodiment of the present application, including:
  • the first network device (such as a network element such as SMF or UPF) configures an address set in the PDR corresponding to the session (such as a PDU session) established by the first device (such as PEGC). Specifically, the first network device may configure frame routing information for the first device, the frame routing information includes the address set, and the frame routing information may also include the address of the first device; or, the first network device may configure an IP address segment for the first device, such as configuring an IPv4 address and a subnet mask, the IPv4 address and the subnet mask are used to represent the address set; and/or, configuring an IPv6 address and a prefix, the IPv6 address and the prefix are used to represent the address set.
  • the IPv4 address or the IPv6 address may also represent the address of the first device.
  • the first network device receives a first address request, and the first address request carries an identifier of the first terminal device (such as a PINE ID).
  • the first address request may be sent directly by the first device to the first network device, or forwarded to the first network device via other network elements. This step may also be performed before step S710.
  • the first address request may also carry at least one of an identifier of the first device (such as a PEGC ID), an address of the first device (such as a PEGC IP), and an identifier of the network to which the first device and the first terminal device belong (such as a PIN ID).
  • the first network device selects an address assigned to the first terminal device from the address set and sends the address.
  • the first network device may send the address directly to the first device, or forward it to the first device via other network elements.
  • the first network device may also send at least one of the identifier of the first terminal device (such as PINE ID), the identifier of the first device (such as PEGC ID), the address of the first device (such as PEGC IP), and the identifier of the network to which the first device and the first terminal device belong (such as PIN ID).
  • the first network device acts as a DHCP server to allocate an address to the first terminal device.
  • the network device acts as a DHCP server to allocate addresses, which can reduce the requirements on the terminal device functions and reduce the burden on the terminal device.
  • FIG8 is a schematic flow chart of a third address allocation method 800 according to an embodiment of the present application, including:
  • a server device receives a second address request from a first device; the second address request carries an identifier of the first terminal device (such as a PINE ID).
  • the second address request may be sent directly by the first device to the server device, or forwarded to the server device via other network elements.
  • the second address request may also carry at least one of an identifier of the first device (such as a PEGC ID), an address of the first device (such as a PEGC IP), and an identifier of a network to which the first device and the first terminal device belong (such as a PIN ID).
  • the server device allocates an address to the first terminal device associated with the first device according to the second address request. Furthermore, the server device may also record the routing relationship between the address of the first device and the address of the first terminal device. Later, when data needs to be sent to the first terminal device, the server device may send the data to the first device that has a routing relationship with the first terminal device according to the routing relationship, and include the routing relationship in the data to indicate to which first terminal device the first device should send the data.
  • the server device sends the address allocated to the first terminal device to the first device.
  • the first device may then send the address to the first terminal device.
  • the server device acts as a DHCP server to allocate an address to the first terminal device.
  • the following takes the first device being PEGC, the first terminal device being PINE, and the first network device being SMF as an example, and describes in detail the address allocation method of the present application with reference to a specific embodiment.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • FIG9 is a flowchart of the implementation of the first embodiment of the present application.
  • the 5GC configures the frame routing information for the PEGC.
  • the address of the frame routing information is no longer fixedly assigned by the 5GC to the PINE behind the PEGC, but is dynamically assigned by the PEGC to the PIEN connected to it.
  • the specific process is as follows:
  • IPINE is connected to PEGC, and needs to interact with 5GC through PEGC and send an IP address allocation request to PEGC, which contains PINE ID and PIN ID.
  • the IP address allocation request message can be sent to PEGC through the PIN protocol stack or application layer.
  • the IP address can be an IPv4 address and/or an IPv6 prefix.
  • PEGC sends PEGC indication information (PEGC indication) to AMF to inform 5GC that it is PEGC and needs to obtain a set of IP addresses.
  • the PEGC indication information can be sent to AMF via NAS messages.
  • PEGC initiates the PDU session establishment or modification process, and includes fields such as PEGC indication, PEGC ID, PIN ID, and the number of IP addresses requested to be allocated in the PDU session establishment/modification request message to inform 5GC that it is PEGC and needs to allocate addresses to the devices behind it.
  • AMF forwards the PEGC indication to SMF; in addition to the PEGC indication, AMF can also forward the PEGC ID, PIN ID, and the number of IP addresses requested to be allocated to SMF.
  • the PEGC indication, PEGC ID, PIN ID, and the number of IP addresses requested to be allocated can be carried in the Nsmf_PDUSession_CreateSMContext Request message.
  • SMF obtains the frame routing information of PEGC.
  • the frame routing information can be obtained by consulting the contract message in the UDM, or obtained from the DN-AAA server through the secondary authentication process, or generated locally by the SMF, or obtained from the UPF.
  • the frame routing information contains the address of the PEGC, and an address set, which contains a certain number of IP addresses. These IP addresses can be a set consisting of continuous IP address segments or a set of discontinuous IP addresses.
  • the IP address assigned to PEGC can be an address in the address set or an IP address that does not belong to the address set.
  • SMF configures the packet detection rule (PDR) for the PDU session established or modified by PEGC, that is, adds the frame routing information to the PDR corresponding to the PDU session, and provides the PDR to UPF.
  • PDR packet detection rule
  • the frame routing information can be carried by the Namf_Communication_N1N2MessageTransfer message.
  • the message may also contain PEGC ID, PEGC IP address, and PIN ID.
  • the frame routing information can be carried by the N2NAS message.
  • the message may also contain PEGC ID, PEGC IP address, PINE ID, PIN ID.
  • PEGC can select an available address from the IP address set in the frame routing information and dynamically assign it to the PINE associated with it.
  • the PEGC acts as a DHCP server to allocate addresses to the PINE associated with it; the address set obtained by the PEGC is represented by frame routing.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • FIG10 is a flowchart of the implementation of the second embodiment of the present application.
  • the 5GC allocates an IP address segment to the PEGC, and the IP address segment is an IPv4 address and subnet mask and/or an IPv6 address and prefix length.
  • the PEGC selects an IP address from the obtained IP address segment and allocates it to the PINE associated with it.
  • the specific process is as follows:
  • IPINE is connected to PEGC, and needs to interact with 5GC through PEGC and send an IP address allocation request to PEGC, which contains PINE ID and PIN ID.
  • the IP address allocation request message can be sent to PEGC through the PIN protocol stack or application layer.
  • the IP address can be an IPv4 address and/or an IPv6 prefix.
  • PEGC sends PEGC indication information (PEGC indication) to AMF to inform 5GC that it is PEGC and needs to obtain a set of IP addresses.
  • the PEGC indication information can be sent to AMF via NAS messages.
  • PEGC initiates the PDU session establishment or modification process, and includes fields such as PEGC indication, PEGC ID, PIN ID, and the number of IP addresses requested to be allocated in the PDU session establishment/modification request message to inform 5GC that it is PEGC and needs to allocate addresses to the devices behind it.
  • AMF forwards the PEGC indication, PEGC ID, PIN ID, and the number of IP addresses requested to be allocated to SMF.
  • the PEGC indication, PEGC ID, PIN ID, and the number of IP addresses requested to be allocated can be carried in the Nsmf_PDUSession_CreateSMContext Request message.
  • SMF obtains the frame routing information of PEGC to obtain the address set (or address segment), which can be represented by the IPv4 address and subnet mask, and/or the IPv6 address and prefix length.
  • the IPv4 address and subnet mask, and/or the IPv6 address and prefix length can be obtained in at least four ways:
  • a.SMF consults the contract information in UDM to obtain the IPv4 address and subnet mask, and/or the IPv6 address and prefix length.
  • b.SMF obtains the IPv4 address and subnet mask, and/or the IPv6 address and prefix length from the DN-AAA server.
  • c.SMF allocates IPv4 addresses and subnet masks, and/or IPv6 addresses and prefix lengths on its own.
  • d.SMF instructs UPF to generate an IPv4 address and subnet mask, and/or an IPv6 address and prefix length; and obtains the IPv4 address and subnet mask, and/or an IPv6 address and prefix length from UPF.
  • SMF configures packet detection rules (PDR) for the PDU session that PEGC requests to establish or modify, that is, uses the IPv4 address and subnet mask, and/or IPv6 address and prefix length to configure the IP packet filter settings (IP Packet Filter Set) in the PDR corresponding to the above PDU session, and provides the PDR to UPF.
  • PDR packet detection rules
  • IP address set i.e., IPv4 address and subnet mask and/or IPv6 address and prefix length
  • the IP address set can be carried by the Namf_Communication_N1N2MessageTransfer message.
  • the message may also contain PEGC ID, PEGC IP address, PINE ID, and PIN ID.
  • IPv4 i.e., IPv4 address and subnet mask and/or IPv6 address and prefix length
  • the IP address set can be carried by the N2NAS message.
  • the message may also contain PEGC ID, PEGC IP address, PINE ID, and PIN ID.
  • the PEGC may select an available IP address from the IP address set and dynamically assign it to the PINE associated with it.
  • This embodiment is similar to the first embodiment, in which PEGC acts as a DHCP server to allocate addresses to the PINE associated therewith; the difference is that the address set obtained by PEGC is represented by an IPv4 address and subnet mask, and/or an IPv6 address and prefix length.
  • FIG 11 is a flowchart of the implementation of Example 3 of the present application.
  • SMF acts as a DHCP server to allocate an IP address to PINE.
  • SMF configures frame routing information or an IP address segment for the PDU session as part of the PDR.
  • SMF can select an IP address from the frame routing information or the above IP address segment and allocate it to PINE.
  • the specific process is as follows:
  • SMF configures frame routing information or an IP address segment for the PDU session as part of the PDR.
  • PINE is connected to PEGC, and needs to interact with 5GC through PEGC and send an IP address allocation request to PEGC, which contains PINE ID and PIN ID.
  • the IP address allocation request message can be sent to PEGC through the PIN protocol stack or application layer.
  • the IP address can be an IPv4 address and/or an IPv6 prefix. This step can also be performed before step 1.
  • the request message includes PINE ID, PIN ID, PEGC ID, and PEGC IP address.
  • the IP address request message includes PINE ID, PIN ID, PEGC ID, and PEGC IP address.
  • SMF selects an IP address from the frame routing information or IP address segment corresponding to the PDU session established by PEGC and assigns it to PINE.
  • TheSMF sends PINE’s IP address information to AMF.
  • the message may also contain PEGC ID, PEGC IP address, PINE ID, and PIN ID.
  • AMF sends PINE’s IP address information to PEGC.
  • the message may also contain PEGC ID, PEGC IP address, PINE ID, and PIN ID.
  • PEGC sends its IP address to PINE.
  • the message may also contain PEGC ID, PEGC IP address, PINE ID, PIN ID.
  • the core network element acts as a DHCP server to allocate addresses to PINEs associated with PEGC.
  • SMF is used as an example to illustrate the DHCP server.
  • 5GC network elements such as UPF and other network elements can also be selected as DHCP servers to allocate addresses to PINEs.
  • Embodiment 4 is a diagrammatic representation of Embodiment 4:
  • FIG12 is a flowchart of the implementation of the fourth embodiment of the present application.
  • DN acts as a DHCP server to assign an address to PINE.
  • PEGC After PEGC establishes a PDU session, it can interact with DN through the user plane to report the PEGC IP address and obtain the address information of PINE. DN will record the routing relationship between the PEGC IP address and the PINE IP address, and send the data packet sent to PINE to PEGC, which will then forward it.
  • the specific process is as follows:
  • IPINE is connected to PEGC, and needs to interact with 5GC through PEGC and send an IP address allocation request to PEGC, which contains PINE ID and PIN ID.
  • the IP address allocation request message can be sent to PEGC through the PIN protocol stack or application layer.
  • the IP address can be an IPv4 address and/or an IPv6 prefix.
  • PEGC establishes a PDU session and obtains the IP address assigned to it by 5GC. This step can also occur before step 1.
  • the IP address request contains PINE ID, PIN ID, PEGC ID, and PEGC IP address.
  • IP address assigns an IP address to PINE, which can be an IPv4 address and/or an IPv6 prefix, and records the routing relationship between the PEGC IP address and the PINE IP address.
  • PINE IPv4 address and/or an IPv6 prefix
  • DN sends the IP address of PINE (ie, IPv4 address and/or IPv6 prefix) to PEGC.
  • PEGC sends PINE's IP address (ie, IPv4 address and/or IPv6 prefix) to PINE.
  • IP address ie, IPv4 address and/or IPv6 prefix
  • 5GC sends an available IP address set to PEGC through frame routing information, IPv4 subnet mask and/or IPv6 address prefix, and PEGC can select an IP address from the set to allocate to the PINE associated with it.
  • Frame routing information has been added to the PDR, and all data packets sent to the IP address set can be sent to PEGC first and then forwarded by PEGC. Therefore, even if the association between PINE and PEGC changes, as long as the address allocated by PEGC to PINE is selected from the above IP address set, there is no need to re-establish the PDU session process. For example, when a new PINE is connected to PEGC and an IP address needs to be allocated to it through PEGC, PEGC can select an unused address from the IP address set allocated by 5GC or reuse the IP address of the disconnected PINE.
  • Embodiment 3 is similar to Embodiment 1 and 2.
  • the SMF configures the frame routing information or an IP address segment for the PDU session established for the PEGC. Whenever a new PINE needs to interact with the 5GC through the PEGC, the SMF can select an IP address from the configured frame routing information or IP address segment and assign it to the PINE without repeatedly establishing and modifying the PDU session already established for the PEGC.
  • the allocation of the IP address of PINE can be achieved through the application layer interaction between PEGC and DN.
  • the routing relationship between PINE and PEGC can be encapsulated in the packet header of the data packet without being configured in the 5GC.
  • DN can send the data packet belonging to PINE to PEGC, and then PEGC forwards the data packet to PINE according to the routing information in the data packet header.
  • PINE is invisible to 5GC. Therefore, even if the topological relationship between PINE and PEGC changes, the PDU session established by PEGC does not need to be changed.
  • the addresses involved in the above embodiments may include IPv4 addresses and/or IPv6 prefixes.
  • the personal Internet of Things (PIN) scenario is used as an example for explanation.
  • the address allocation method of this solution is not only applicable to the PIN scenario, but also to other scenarios where devices that cannot directly access 5GC apply for IP addresses through 3GPP UE.
  • Fig. 13 is a schematic flow chart of an address allocation method 1300 according to an embodiment of the present application, which can be applied to any system shown in Figs. 1-4, but is not limited thereto. The method includes at least part of the following contents.
  • a first network device determines an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • the first network device may include SMF, UPF or other core network elements, the first device may include PEGC, and the first terminal device may include PINE.
  • the first network device determining the address set may include: the first network device determining frame routing information, wherein the frame routing information includes the address set.
  • the frame routing information further includes an address of the first device.
  • the first network device may determine the frame routing information in at least one of the following ways:
  • the frame routing information is obtained from the second network device.
  • the second network device can be UPF.
  • the first network device determines the address set, including:
  • the first network device obtains an IPv4 address and a subnet mask, where the IPv4 address and the subnet mask are used to represent the address set; and/or,
  • the first network device obtains an IPv6 address and a prefix, where the IPv6 address and the prefix are used to represent the address set.
  • the IPv4 address or the IPv6 address may also represent the address of the first device.
  • the first network device may determine the address set in at least one of the following ways:
  • the address set is obtained from a second network device, wherein the second network device may be a UPF.
  • the method further includes: the first network device adds the address set to a PDR corresponding to a session that the first device requests to establish or modify, and provides the PDR to the second network device.
  • the method further includes: the first network device sending the address set.
  • the first network device sending address set may include:
  • the first network device sends a Namf_Communication_N1N2MessageTransfer message, and the Namf_Communication_N1N2MessageTransfer message carries the address set.
  • the Namf_Communication_N1N2MessageTransfer message may also carry at least one of the following:
  • the method further includes: the first network device receives first indication information, where the first indication information is used to request to obtain an address set.
  • the first network device receiving the first indication information may include:
  • the first network device receives a Nsmf_PDUSession_CreateSMContext Request message, and the Nsmf_PDUSession_CreateSMContext Request message carries the first indication information.
  • the Nsmf_PDUSession_CreateSMContext Request message also carries at least one of the following:
  • the method further includes: the first network device configuring the address set in a PDR corresponding to a session established by the first device.
  • the method further includes: the first network device receives a first address request, the first address request carries an identifier of the first terminal device; the first network device selects an address allocated to the first terminal device from the address set, and sends the address.
  • the first address request may also carry at least one of the following:
  • Fig. 14 is a schematic flow chart of an address allocation method 1400 according to an embodiment of the present application, which can be applied to any system shown in Figs. 1-4, but is not limited thereto.
  • the method includes at least part of the following contents.
  • the server device receives a second address request from the first device
  • the server device allocates an address to the first terminal device associated with the first device according to the second address request.
  • the server device may be a DN, an AF, an application server, etc.
  • the first device may include a PEGC, and the first terminal device may include a PINE.
  • the method further includes: the server device sending the address allocated to the first terminal device to the first device.
  • the second address request may carry at least one of the following:
  • the method further includes: the server device recording a routing relationship between the address of the first device and the address of the first terminal device.
  • the method further includes: when data needs to be sent to the first terminal device, according to the routing relationship, sending the data to the first device that has a routing relationship with the first terminal device, and including the routing relationship in the data.
  • Fig. 15 is a schematic flow chart of an address allocation method 1500 according to an embodiment of the present application, which can be applied to any system shown in Figs. 1-4, but is not limited thereto.
  • the method includes at least part of the following contents.
  • the third network device determines an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • the third network device may include network elements such as UPF, SMF, AMF, etc.
  • the first device may include PEGC
  • the first terminal device may include PINE.
  • the method further includes: the third network device providing the address set to the first network device.
  • the first network device may include network elements such as SMF, UPF, AMF, etc.
  • the third network device determining the address set includes: the third network device determining frame routing information, where the frame routing information includes the address set.
  • the frame routing information may also include the address of the first device.
  • the third network device determines the address set including:
  • the third network device determines an IPv4 address and a subnet mask, where the IPv4 address and the subnet mask are used to represent the address set; and/or,
  • the third network device determines an IPv6 address and a prefix, where the IPv6 address and the prefix are used to represent the address set.
  • the IPv4 address or the IPv6 address may also represent the address of the first device.
  • FIG. 16 is a schematic structural diagram of the first device 1600 according to the embodiment of the present application, including:
  • the first receiving module 1610 is used to receive an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • FIG17 is a schematic diagram of the structure of a first device 1700 according to an embodiment of the present application.
  • the first device 1700 includes one or more features of the above-mentioned first device 1600 embodiment. In a possible implementation, in the embodiment of the present application, it also includes:
  • the selection module 1720 is configured to select an address from the address set and allocate the address to a first terminal device associated with the first device.
  • it further comprises:
  • the first sending module 1730 is configured to send an address to a first terminal device.
  • the first receiving module 1610 is configured to receive frame routing information, where the frame routing information includes an address set.
  • the frame routing information further includes an address of the first device.
  • the first receiving module 1610 is configured to:
  • IPv4 address and a subnet mask receiving an IPv4 address and a subnet mask, wherein the IPv4 address and the subnet mask are used to represent a set of addresses; and/or,
  • IPv6 address and prefix which are used to represent a collection of addresses.
  • the IPv4 address or the IPv6 address also represents the address of the first device.
  • the first receiving module 1610 is configured to receive a NAS message, where the NAS message carries an address set.
  • the NAS message also carries at least one of the following:
  • the first sending module 1730 is further used to send first indication information, where the first indication information is used to request to obtain an address set.
  • the first sending module 1730 is configured to send a NAS message, where the NAS message carries the first indication information.
  • the NAS message further carries at least one of the following:
  • the first device comprises a PEGC.
  • the first terminal device includes a PINE.
  • FIG. 18 is a schematic diagram of the structure of the first network device 1800 according to the embodiment of the present application, including:
  • the first determination module 1810 is used to determine an address set, where the address set is used to allocate an address to a first terminal device associated with a first device.
  • the first determination module 1810 is used to determine frame routing information, where the frame routing information includes an address set.
  • the frame routing information further includes an address of the first device.
  • the first network device determines the frame routing information by at least one of the following methods:
  • Frame routing information is obtained from the second network device.
  • the first determining module 1810 is configured to:
  • IPv4 address and a subnet mask Obtaining an IPv4 address and a subnet mask, where the IPv4 address and the subnet mask are used to represent a set of addresses; and/or,
  • IPv6 address and prefix are used to represent an address set.
  • the IPv4 address or the IPv6 address also represents the address of the first device.
  • the first network device determines the address set by using at least one of the following methods:
  • a set of addresses is obtained from a second network device.
  • FIG19 is a schematic diagram of the structure of a first network device 1900 according to an embodiment of the present application.
  • the first network device 1900 includes one or more features of the first network device 1800 embodiment described above. In a possible implementation, in the embodiment of the present application, it further includes:
  • the adding module 1920 is used to add the address set to the PDR corresponding to the session that the first device requests to establish or modify, and provide the PDR to the second network device.
  • it further comprises:
  • the second sending module 1930 is used to send an address set.
  • the second sending module 1930 is used to send a Namf_Communication_N1N2MessageTransfer message, where the Namf_Communication_N1N2MessageTransfer message carries an address set.
  • the Namf_Communication_N1N2MessageTransfer message further carries at least one of the following:
  • it further comprises:
  • the second receiving module 1940 is used to receive first indication information, where the first indication information is used to request to obtain an address set.
  • the second receiving module 1940 is used to receive an Nsmf_PDUSession_CreateSMContext Request message, and the Nsmf_PDUSession_CreateSMContext Request message carries the first indication information.
  • the Nsmf_PDUSession_CreateSMContext Request message also carries at least one of the following:
  • it further comprises:
  • the configuration module 1950 is used to configure an address set in a PDR corresponding to a session established by the first device.
  • the address selection module 1960 is further included, configured to:
  • An address allocated to the first terminal device is selected from the address set, and the address is sent.
  • the first address request further carries at least one of the following:
  • the first network device includes SMF, UPF or other core network elements.
  • the first device comprises a PEGC.
  • the first terminal device includes a PINE.
  • the second network device includes a UPF.
  • FIG. 20 is a schematic diagram of the structure of a server device 2000 according to the embodiment of the present application, including:
  • the third receiving module 2010 is used to receive a second address request from the first device
  • the allocation module 2020 is used to allocate an address to the first terminal device associated with the first device according to the second address request.
  • FIG21 is a schematic diagram of the structure of a server device 2100 according to an embodiment of the present application.
  • the server device 2100 includes one or more features of the above-mentioned server device 2000 embodiment. In a possible implementation, in the embodiment of the present application, it also includes:
  • the third sending module 2130 is used to send the address allocated to the first terminal device to the first device.
  • the second address request carries at least one of the following:
  • it further comprises:
  • the recording module 2140 is used to record the routing relationship between the address of the first device and the address of the first terminal device.
  • the recording module 2140 is further configured to:
  • the data When data needs to be sent to the first terminal device, the data is sent to the first device having a routing relationship with the first terminal device according to the routing relationship, and the routing relationship is included in the data.
  • the first device comprises a PEGC.
  • the first terminal device includes a PINE.
  • FIG. 22 is a schematic diagram of the structure of the third network device 2200 according to the embodiment of the present application, including:
  • the second determination module 2210 is used to determine an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  • FIG23 is a schematic diagram of the structure of a third network device 2300 according to an embodiment of the present application.
  • the third network device 2300 includes one or more features of the third network device 2200 embodiment described above. In a possible implementation, in the embodiment of the present application, it also includes:
  • a providing module 2320 is provided for providing the address set to the first network device.
  • the second determination module 2210 is used to determine frame routing information, where the frame routing information includes an address set.
  • the frame routing information further includes an address of the first device.
  • the second determining module 2210 is configured to:
  • IPv4 address and a subnet mask Determine an IPv4 address and a subnet mask, wherein the IPv4 address and the subnet mask are used to represent a set of addresses; and/or,
  • IPv6 address and prefix which are used to represent a set of addresses.
  • the IPv4 address or the IPv6 address also represents the address of the first device.
  • the third network device includes a UPF.
  • the first device comprises a PEGC.
  • the first terminal device includes a PINE.
  • the first network device includes a SMF.
  • the functions described in the various modules (submodules, units or components, etc.) in the communication device of the embodiment of the present application can be implemented by different modules (submodules, units or components, etc.) or by the same module (submodules, units or components, etc.).
  • the first receiving module and the second receiving module can be different modules or the same module, and both can implement their corresponding functions in the embodiment of the present application.
  • the sending module and the receiving module in the embodiment of the present application can be implemented by the transceiver of the device, and some or all of the remaining modules can be implemented by the processor of the device.
  • Fig. 24 is a schematic structural diagram of a communication device 2400 according to an embodiment of the present application.
  • the communication device 2400 shown in Fig. 24 includes a processor 2410, and the processor 2410 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
  • the communication device 2400 may further include a memory 2420.
  • the processor 2410 may call and run a computer program from the memory 2420 to implement the communication device in the embodiment of the present application.
  • the memory 2420 may be a separate device independent of the processor 2410 , or may be integrated into the processor 2410 .
  • the communication device 2400 may further include a transceiver 2430 , and the processor 2410 may control the transceiver 2430 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.
  • the transceiver 2430 may include a transmitter and a receiver.
  • the transceiver 2430 may further include an antenna, and the number of antennas may be one or more.
  • the communication device 2400 may be the communication device of the embodiment of the present application, and the communication device 2400 may implement the corresponding processes implemented by the communication device in each method of the embodiment of the present application, which will not be repeated here for the sake of brevity.
  • Fig. 25 is a schematic structural diagram of a chip 2500 according to an embodiment of the present application.
  • the chip 2500 shown in Fig. 25 includes a processor 2510, and the processor 2510 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
  • the chip 2500 may further include a memory 2520.
  • the processor 2510 may call and run a computer program from the memory 2520 to implement the method in the embodiment of the present application.
  • the memory 2520 may be a separate device independent of the processor 2510 , or may be integrated into the processor 2510 .
  • the chip 2500 may further include an input interface 2530.
  • the processor 2510 may control the input interface 2530 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.
  • the chip 2500 may further include an output interface 2540.
  • the processor 2510 may control the output interface 2540 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
  • the chip can be applied to the communication device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the network device in each method of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • the processor mentioned above may be a general-purpose processor, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC) or other programmable logic devices, transistor logic devices, discrete hardware components, etc.
  • DSP digital signal processor
  • FPGA field programmable gate array
  • ASIC application specific integrated circuit
  • the general-purpose processor mentioned above may be a microprocessor or any conventional processor, etc.
  • the memory mentioned above may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM).
  • the memory in the embodiment of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiment of the present application is intended to include but not limited to these and any other suitable types of memory.
  • the computer program product includes one or more computer instructions.
  • the process or function described in the embodiment of the present application is 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 transmitted from one computer-readable storage medium to another computer-readable storage medium, for example,
  • the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center.
  • the computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated.
  • the available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.
  • a magnetic medium e.g., a floppy disk, a hard disk, a magnetic tape
  • an optical medium e.g., a DVD
  • a semiconductor medium e.g., a solid state drive (SSD)
  • the size of the serial numbers of the above-mentioned processes does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

Landscapes

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

Abstract

Embodiments of the present application provide an address allocation method and a device. The address allocation method comprises: a first device receives an address set, the address set being used for allocating an address for a first terminal device associated with the first device. According to the embodiments of the present application, an address can be allocated for a device accessing a communication network.

Description

地址分配方法和设备Address allocation method and device 技术领域Technical Field
本申请涉及通信领域,并且更具体地,涉及地址分配方法和设备。The present application relates to the field of communications, and more specifically, to an address allocation method and device.
背景技术Background technique
终端在接入网络时,一些情况下会通过其他终端进行接入。例如,不能直接接入5G核心网(5GC,5G Core)的设备通过第三代合作伙伴计划(3GPP,3rd Generation Partnership Project)用户设备(UE,UserEquipment)接入5GC,这种场景下,如何为该设备分配地址,是需要解决的技术问题。When a terminal accesses the network, it may access through other terminals in some cases. For example, a device that cannot directly access the 5G core network (5GC) accesses the 5G Core through the 3rd Generation Partnership Project (3GPP) user equipment (UE). In this scenario, how to assign an address to the device is a technical problem that needs to be solved.
发明内容Summary of the invention
本申请实施例提供地址分配方法和设备,能够为接入通信网络的设备分配地址。The embodiments of the present application provide an address allocation method and device, which can allocate addresses to devices accessing a communication network.
本申请实施例提供一种地址分配方法,包括:The present application provides an address allocation method, including:
第一设备接收地址集合,地址集合用于为第一设备关联的第一终端设备分配地址。The first device receives an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
本申请实施例提供一种地址分配方法,包括:The present application provides an address allocation method, including:
第一网络设备确定地址集合,地址集合用于为第一设备关联的第一终端设备分配地址The first network device determines an address set, and the address set is used to allocate an address to a first terminal device associated with the first device.
本申请实施例提供一种地址分配方法,包括:The present application provides an address allocation method, including:
服务器设备接收来自第一设备的第二地址请求;The server device receives a second address request from the first device;
服务器设备根据第二地址请求,为第一设备关联的第一终端设备分配地址。The server device allocates an address to the first terminal device associated with the first device according to the second address request.
本申请实施例提供一种地址分配方法,包括:The present application provides an address allocation method, including:
第三网络设备确定地址集合,地址集合用于为第一设备关联的第一终端设备分配地址。The third network device determines an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
本申请实施例提供一种第一设备,包括:The present application embodiment provides a first device, including:
第一接收模块,用于接收地址集合,地址集合用于为第一设备关联的第一终端设备分配地址。The first receiving module is used to receive an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
本申请实施例提供一种第一网络设备,包括:An embodiment of the present application provides a first network device, including:
第一确定模块,用于确定地址集合,地址集合用于为第一设备关联的第一终端设备分配地址。The first determination module is used to determine an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
本申请实施例提供一种服务器设备,包括:The present application provides a server device, including:
第三接收模块,用于接收来自第一设备的第二地址请求;A third receiving module, configured to receive a second address request from the first device;
分配模块,用于根据第二地址请求,为第一设备关联的第一终端设备分配地址。The allocation module is used to allocate an address to a first terminal device associated with the first device according to the second address request.
本申请实施例提供一种第三网络设备,包括:The embodiment of the present application provides a third network device, including:
第二确定模块,用于确定地址集合,地址集合用于为第一设备关联的第一终端设备分配地址。The second determination module is used to determine an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
本申请实施例提供一种通信设备,包括:处理器和存储器,该存储器用于存储计算机程序,处理器用于调用并运行存储器中存储的计算机程序,执行如本申请实施例的任一项地址分配方法。An embodiment of the present application provides a communication device, including: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, and execute any address allocation method as in the embodiments of the present application.
本申请实施例提供一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有芯片的设备执行如本申请实施例的任一项地址分配方法。An embodiment of the present application provides a chip, including: a processor, used to call and run a computer program from a memory, so that a device equipped with the chip executes any address allocation method as in the embodiments of the present application.
本申请实施例提供一种计算机可读存储介质,用于存储计算机程序,该计算机程序使得计算机执行如本申请实施例的任一项地址分配方法。An embodiment of the present application provides a computer-readable storage medium for storing a computer program, wherein the computer program enables a computer to execute any address allocation method as described in the embodiments of the present application.
本申请实施例提供一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如本申请实施例的任一项地址分配方法。An embodiment of the present application provides a computer program product, including computer program instructions, which enable a computer to execute any address allocation method as described in the embodiments of the present application.
本申请实施例提供.一种计算机程序,该计算机程序使得计算机执行如本申请实施例的任一项地址分配方法。An embodiment of the present application provides a computer program, which enables a computer to execute any address allocation method as described in the embodiments of the present application.
本申请实施例,通过第一设备接收用于为第一终端设备分配地址的地址集合,能够实现为与第一设备关联的第一终端设备分配地址。In the embodiment of the present application, by the first device receiving an address set for allocating an address to the first terminal device, it is possible to allocate an address to the first terminal device associated with the first device.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例的应用场景一的示意图。FIG. 1 is a schematic diagram of application scenario 1 of an embodiment of the present application.
图2是本申请实施例的应用场景二的示意图。FIG. 2 is a schematic diagram of application scenario 2 of an embodiment of the present application.
图3A-3C示出了PINE之间通信的三种方式示意图。3A-3C are schematic diagrams showing three modes of communication between PINEs.
图4是一种帧路由地址配置方式示意图。FIG. 4 is a schematic diagram of a frame routing address configuration method.
图5是根据本申请实施例的一种地址分配方法500的示意性流程图。FIG5 is a schematic flowchart of an address allocation method 500 according to an embodiment of the present application.
图6是根据本申请实施例的地址分配方式一600的示意性流程图。FIG. 6 is a schematic flowchart of an address allocation method 600 according to an embodiment of the present application.
图7是根据本申请实施例的地址分配方式二700的示意性流程图。FIG. 7 is a schematic flowchart of a second address allocation method 700 according to an embodiment of the present application.
图8是根据本申请实施例的地址分配方式三800的示意性流程图。FIG. 8 is a schematic flowchart of a third address allocation method 800 according to an embodiment of the present application.
图9是根据本申请实施例一的实现流程图。FIG9 is an implementation flowchart according to the first embodiment of the present application.
图10是根据本申请实施例二的实现流程图。FIG. 10 is an implementation flowchart according to the second embodiment of the present application.
图11是根据本申请实施例三的实现流程图。FIG. 11 is an implementation flowchart according to the third embodiment of the present application.
图12是根据本申请实施例四的实现流程图。FIG12 is an implementation flowchart according to the fourth embodiment of the present application.
图13是根据本申请实施例的一种地址分配方法1300的示意性流程图。FIG. 13 is a schematic flowchart of an address allocation method 1300 according to an embodiment of the present application.
图14是根据本申请实施例的一种地址分配方法1400的示意性流程图。FIG. 14 is a schematic flowchart of an address allocation method 1400 according to an embodiment of the present application.
图15是根据本申请实施例的一种地址分配方法1500的示意性流程图。FIG. 15 is a schematic flowchart of an address allocation method 1500 according to an embodiment of the present application.
图16是根据本申请实施例的第一设备1600的结构示意图。FIG. 16 is a schematic structural diagram of a first device 1600 according to an embodiment of the present application.
图17是根据本申请实施例的第一设备1700的结构示意图FIG. 17 is a schematic diagram of the structure of a first device 1700 according to an embodiment of the present application.
图18是根据本申请实施例的第一网络设备1800的结构示意图。FIG. 18 is a schematic diagram of the structure of a first network device 1800 according to an embodiment of the present application.
图19是根据本申请实施例的第一网络设备1900的结构示意图。FIG. 19 is a schematic diagram of the structure of a first network device 1900 according to an embodiment of the present application.
图20是根据本申请实施例的服务器设备2000的结构示意图。FIG. 20 is a schematic diagram of the structure of a server device 2000 according to an embodiment of the present application.
图21是根据本申请实施例的服务器设备2100的结构示意图。FIG. 21 is a schematic diagram of the structure of a server device 2100 according to an embodiment of the present application.
图22是根据本申请实施例的第三网络设备2200的结构示意图.Figure 22 is a schematic diagram of the structure of a third network device 2200 according to an embodiment of the present application.
图23是根据本申请实施例的第三网络设备2300的结构示意图。FIG. 23 is a schematic diagram of the structure of a third network device 2300 according to an embodiment of the present application.
图24是根据本申请实施例的通信设备2400示意性结构图。FIG. 24 is a schematic structural diagram of a communication device 2400 according to an embodiment of the present application.
图25是根据本申请实施例的芯片2500的示意性结构图。FIG. 25 is a schematic structural diagram of a chip 2500 according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
需要说明的是,本申请实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。同时描述的“第一”、“第二”描述的对象可以相同,也可以不同。It should be noted that the terms "first", "second", etc. in the description and claims of the embodiments of the present application and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. The objects described by the "first" and "second" described at the same time may be the same or different.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、先进的长期演进(Advanced long term evolution,LTE-A)系统、新无线(New Radio,NR)系统、NR系统的演进系统、非授权频谱上的LTE(LTE-based access to unlicensed spectrum,LTE-U)系统、非授权频谱上的NR(NR-based access to unlicensed spectrum,NR-U)系统、非地面通信网络(Non-TerrestrialNetworks,NTN)系统、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、无线局域网(Wireless Local Area Networks,WLAN)、无线保真(Wireless Fidelity,WiFi)、第五代通信(5th-Generation,5G)系统或其它通信系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, Advanced long term evolution (LTE-A) system, New Radio (NR) system, and NR system. Evolved systems, LTE-based access to unlicensed spectrum (LTE-U) systems, NR-based access to unlicensed spectrum (NR-U) systems, non-terrestrial communication networks (NTN) systems, universal mobile communication systems (UMTS), wireless local area networks (WLAN), wireless fidelity (WiFi), fifth-generation communication (5th-Generation, 5G) systems or other communication systems, etc.
通常来说,传统的通信系统支持的连接数有限,也易于实现,然而,随着通信技术的发展,移动通信系统将不仅支持传统的通信,还将支持例如,设备到设备(Device to Device,D2D)通信,机器到机器(Machine to Machine,M2M)通信,机器类型通信(Machine Type Communication,MTC),车辆间(Vehicle to Vehicle,V2V)通信,或车联网(Vehicle to everything,V2X)通信等,本申请实施例也可以应用于这些通信系统。Generally speaking, traditional communication systems support a limited number of connections and are easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communications, but will also support, for example, device to device (Device to Device, D2D) communication, machine to machine (Machine to Machine, M2M) communication, machine type communication (Machine Type Communication, MTC), vehicle to vehicle (V2V) communication, or vehicle to everything (V2X) communication, etc. The embodiments of the present application can also be applied to these communication systems.
在一种实施方式中,本申请实施例中的通信系统可以应用于载波聚合(Carrier Aggregation,CA)场景,也可以应用于双连接(Dual Connectivity,DC)场景,还可以应用于独立(Standalone,SA)布网场景。In one implementation, the communication system in the embodiment of the present application can be applied to a carrier aggregation (CA) scenario, a dual connectivity (DC) scenario, or a standalone (SA) networking scenario.
在一种实施方式中,本申请实施例中的通信系统可以应用于非授权频谱,其中,非授权频谱也可以认为是共享频谱;或者,本申请实施例中的通信系统也可以应用于授权频谱,其中,授权频谱也可以认为是非共享频谱。In one embodiment, the communication system in the embodiment of the present application can be applied to an unlicensed spectrum, wherein the unlicensed spectrum can also be considered as a shared spectrum; or, the communication system in the embodiment of the present application can also be applied to an authorized spectrum, wherein the authorized spectrum can also be considered as an unshared spectrum.
本申请实施例结合网络设备和终端设备描述了各个实施例,其中,终端设备也可以称为用户设备(User Equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置等。The embodiments of the present application describe various embodiments in conjunction with network equipment and terminal equipment, wherein the terminal equipment may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
终端设备可以是WLAN中的站点(STAION,ST),可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、下一代通信系统例如NR网络中的终端设备,或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的终端设备等。The terminal device can be a station (STAION, ST) in a WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA) device, a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in the next generation communication system such as the NR network, or a terminal device in the future evolved Public Land Mobile Network (PLMN) network, etc.
在本申请实施例中,终端设备可以部署在陆地上,包括室内或室外、手持、穿戴或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。In the embodiments of the present application, the terminal device can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (for example, on airplanes, balloons and satellites, etc.).
在本申请实施例中,终端设备可以是手机(Mobile Phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(Virtual Reality,VR)终端设备、增强现实(Augmented Reality,AR)终端设备、工业控制(industrial control)中的无线终端设备、无人驾驶(self driving)中的无线终端设备、远程医疗(remote medical)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备或智慧家庭(smart home)中的无线终端设备等。In the embodiments of the present application, the terminal device may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, a wireless terminal device in self-driving, a wireless terminal device in remote medical, a wireless terminal device in smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, or a wireless terminal device in a smart home, etc.
作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example but not limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
在本申请实施例中,网络设备可以是用于与移动设备通信的设备,网络设备可以是WLAN中的接入点(Access Point,AP),GSM或CDMA中的基站(Base Transceiver Station,BTS),也可以是WCDMA中的基站(NodeB,NB),还可以是LTE中的演进型基站(Evolutional Node B,eNB或eNodeB),或者中继站或接入点,或者车载设备、可穿戴设备以及NR网络中的网络设备(gNB)或者未来演进的PLMN网络中的网络设备或者NTN网络中的网络设备等。In an embodiment of the present application, the network device may be a device for communicating with a mobile device. The network device may be an access point (AP) in WLAN, a base station (BTS) in GSM or CDMA, a base station (NodeB, NB) in WCDMA, an evolved base station (Evolutional Node B, eNB or eNodeB) in LTE, or a relay station or access point, or a vehicle-mounted device, a wearable device, a network device (gNB) in an NR network, or a network device in a future evolved PLMN network, or a network device in an NTN network, etc.
作为示例而非限定,在本申请实施例中,网络设备可以具有移动特性,例如网络设备可以为移动的设备。可选地,网络设备可以为卫星、气球站。例如,卫星可以为低地球轨道(low earth orbit,LEO)卫星、中地球轨道(medium earth orbit,MEO)卫星、地球同步轨道(geostationary earth orbit,GEO)卫星、高椭圆轨道(High Elliptical Orbit,HEO)卫星等。可选地,网络设备还可以为设置在陆地、水域等位置的基站。As an example but not limitation, in an embodiment of the present application, the network device may have a mobile feature, for example, the network device may be a mobile device. Optionally, the network device may be a satellite or a balloon station. For example, the satellite may be a low earth orbit (LEO) satellite, a medium earth orbit (MEO) satellite, a geostationary earth orbit (GEO) satellite, a high elliptical orbit (HEO) satellite, etc. Optionally, the network device may also be a base station set up in a location such as land or water.
在本申请实施例中,网络设备可以为小区提供服务,终端设备通过该小区使用的传输资源(例如,频域资源,或者说,频谱资源)与网络设备进行通信,该小区可以是网络设备(例如基站)对应的小区,小区可以属于宏基站,也可以属于小小区(Small cell)对应的基站,这里的小小区可以包括:城市小区(Metro cell)、微小区(Micro cell)、微微小区(Pico cell)、毫微微小区(Femto cell)等,这些小小区具有覆盖范围小、发射功率低的特点,适用于提供高速率的数据传输服务。In an embodiment of the present application, a network device can provide services for a cell, and a terminal device communicates with the network device through transmission resources used by the cell (for example, frequency domain resources, or spectrum resources). The cell can be a cell corresponding to a network device (for example, a base station), and the cell can belong to a macro base station or a base station corresponding to a small cell. The small cells here may include: metro cells, micro cells, pico cells, femto cells, etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-speed data transmission services.
图1示例性地示出了一种通信系统100。该通信系统包括一个网络设备110和两个终端设备120。在一种实施方式中,该通信系统100可以包括多个网络设备110,并且每个网络设备110的覆盖范围内可以包括其它数量的终端设备120,本申请实施例对此不做限定。Fig. 1 exemplarily shows a communication system 100. The communication system includes a network device 110 and two terminal devices 120. In one embodiment, the communication system 100 may include multiple network devices 110, and each network device 110 may include other number of terminal devices 120 within its coverage area, which is not limited in the embodiment of the present application.
在一种实施方式中,该通信系统100还可以包括移动性管理实体(Mobility Management Entity,MME)、接入与移动性管理功能(Access and Mobility Management Function,AMF)等其它网络实体,本申请实施例对此不作限定。In one implementation, the communication system 100 may also include other network entities such as a Mobility Management Entity (MME) and an Access and Mobility Management Function (AMF), but this is not limited to the embodiments of the present application.
其中,网络设备又可以包括接入网设备和核心网设备。即无线通信系统还包括用于与接入网设备进行通信的多个核心网。接入网设备可以是长期演进(long-term evolution,LTE)系统、下一代(移动通信系统)(next radio,NR)系统或者授权辅助接入长期演进(authorized auxiliary access long-term evolution,LAA-LTE)系统中的演进型基站(evolutional node B,简称可以为eNB或e-NodeB)宏基站、微基站(也称为“小基站”)、微微基站、接入站点(access point,AP)、传输站点(transmission point,TP)或新一代基站(new generation Node B,gNodeB)等。Among them, the network equipment may include access network equipment and core network equipment. That is, the wireless communication system also includes multiple core networks for communicating with the access network equipment. The access network equipment may be an evolutionary base station (evolutional node B, referred to as eNB or e-NodeB) macro base station, micro base station (also called "small base station"), pico base station, access point (AP), transmission point (TP) or new generation Node B (gNodeB) in a long-term evolution (LTE) system, a next-generation (mobile communication system) (next radio, NR) system or an authorized auxiliary access long-term evolution (LAA-LTE) system.
应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图1示出的通信系统为例,通信设备可包括具有通信功能的网络设备和终端设备,网络设备和终端设备可以为本申请实施例中的具体设备,此处不再赘述;通信设备还可包括通信系统中的其它设备,例如网络控制器、移动管理实体等其它网络实体,本申请实施例中对此不做限定。It should be understood that the device with communication function in the network/system in the embodiment of the present application can be called a communication device. Taking the communication system shown in Figure 1 as an example, the communication device may include a network device and a terminal device with communication function, and the network device and the terminal device may be specific devices in the embodiment of the present application, which will not be repeated here; the communication device may also include other devices in the communication system, such as other network entities such as a network controller and a mobile management entity, which is not limited in the embodiment of the present application.
应理解,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the terms "system" and "network" are often used interchangeably in this article. The term "and/or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and/or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character "/" in this article generally indicates that the associated objects before and after are in an "or" relationship.
应理解,在本申请的实施例中提到的“指示”可以是直接指示,也可以是间接指示,还可以是表示具有关联关系。举例说明,A指示B,可以表示A直接指示B,例如B可以通过A获取;也可以表示 A间接指示B,例如A指示C,B可以通过C获取;还可以表示A和B之间具有关联关系。It should be understood that the "indication" mentioned in the embodiments of the present application can be a direct indication, an indirect indication, or an indication of an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association relationship between A and B.
在本申请实施例的描述中,术语“对应”可表示两者之间具有直接对应或间接对应的关系,也可以表示两者之间具有关联关系,也可以是指示与被指示、配置与被配置等关系。In the description of the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between two items, or an association relationship between the two items, or a relationship of indication and being indicated, configuration and being configured, etc.
为便于理解本申请实施例的技术方案,以下对本申请实施例的相关技术进行说明,以下相关技术作为可选方案与本申请实施例的技术方案可以进行任意结合,其均属于本申请实施例的保护范围。To facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be arbitrarily combined with the technical solutions of the embodiments of the present application as optional solutions, and they all belong to the protection scope of the embodiments of the present application.
终端在接入网络时,一些情况下会通过其他终端进行接入。例如,不能直接接入5G核心网(5GC,5G Core)的设备通过第三代合作伙伴计划3GPP UE接入5GC。以个人物联网(PIN,Personal IoT Network)场景为例,个人物联网设备(PINE,PIN Element)可以通过具有网关能力的个人物联网设备(PEGC,PIN Element with Gateway Capability)或具有管理能力的物联网设备(PEMC,PIN Element with Management Capability)接入5G系统(5GS,5G System)。物联网设备可以分为可穿戴设备,(如相机、耳机、手表、耳机、健康监视器),家居生活设备(如智能灯、相机、恒温器、门传感器、语音助手、扬声器、冰箱、洗衣机、割草机、机器人),办公或者工厂设备(例如打印机、仪表、传感器)。用户可以在他们的家中、办公室、工厂或者他们的身体周围使用这些物联网设备创建(例如,规划、更改拓扑)个人的网络。When a terminal accesses the network, it will access through other terminals in some cases. For example, a device that cannot directly access the 5G core network (5GC) accesses the 5GC through the third generation partnership project 3GPP UE. Taking the personal Internet of Things (PIN) scenario as an example, a personal IoT device (PINE, PIN Element) can access the 5G system (5GS, 5G System) through a personal IoT device with gateway capability (PEGC, PIN Element with Gateway Capability) or an IoT device with management capability (PEMC, PIN Element with Management Capability). IoT devices can be divided into wearable devices (such as cameras, headphones, watches, earphones, health monitors), home life devices (such as smart lights, cameras, thermostats, door sensors, voice assistants, speakers, refrigerators, washing machines, lawn mowers, robots), and office or factory equipment (such as printers, meters, sensors). Users can use these IoT devices to create (e.g., plan, change topology) personal networks in their homes, offices, factories, or around their bodies.
目前处理一些可穿戴设备、其他类型的物联网设备只能通过中继设备、网关接入互联网或者通过移动手机接入移动网络。在这两种情况下,移动核心网无法意识到物联网设备接入到了移动网络中。然而,为了充分利用5G系统来对物联网设备进行辅助管理与业务支持,赋能5G系统参与个人物联网是不可或缺的。Currently, some wearable devices and other types of IoT devices can only access the Internet through relay devices and gateways or access the mobile network through mobile phones. In both cases, the mobile core network cannot realize that the IoT device is connected to the mobile network. However, in order to fully utilize the 5G system to assist in the management and business support of IoT devices, it is essential to enable the 5G system to participate in the personal IoT.
如图2所示,用户创建的个人物联网(PIN)由三种类型的设备组成:普通的个人物联网设备(PINE),具有网关能力的个人物联网设备(PEGC),具有管理能力的物联网设备(PEMC)。其中,普遍的PINE具有基本的通信能力,相互之间可以通过WiFi、蓝牙等直接进行通信或者通过PEGC进行通信。PEGC与PEMC具有接入5G系统的能力,可以利用5G系统为其他的PINE提供数据转发服务和管理服务。As shown in Figure 2, the personal Internet of Things (PIN) created by the user consists of three types of devices: ordinary personal Internet of Things devices (PINE), personal Internet of Things devices with gateway capabilities (PEGC), and Internet of Things devices with management capabilities (PEMC). Among them, the general PINE has basic communication capabilities and can communicate with each other directly through WiFi, Bluetooth, etc. or through PEGC. PEGC and PEMC have the ability to access the 5G system and can use the 5G system to provide data forwarding services and management services for other PINEs.
图3A-3C示出了PINE之间通信的三种方式示意图。图3A为PINE之间通信的方式一,该方式中,PINE与PINE直接连接;如图3A所示,PINE 1与PINE 2通过WiFi、蓝牙等通信技术直接进行数据交互。图3B为PINE之间通信的方式二,该方式中,PINE与PINE之间经由PEGC转发数据;如图3B所示,PINE 1与PINE 2通过WiFI或者蓝牙等通信技术连接到同一个PEGC上,由PEGC为其提供数据转发服务。图3C为PINE之间通信的方式三,该方式中,PINE与PINE之间经由5GS转发数据;如图3C所示,PINE 1和PINE 2之间可以通过5GS进行数据转发。例如,当PEGC为PINE 1和PINE 2创建的PDU会话连接到同一个用户面功能(UPF,User Plane Function)上时,数据可以通过该UPF转发。而当PEGC为PINE建立的PDU会话连接到不同的UPF时,数据可以通过UPF之间的N19接口进行转发。此外,还可以通过UPF与数据网络之间的接口N6进行数据转发。FIG3A-3C are schematic diagrams showing three modes of communication between PINEs. FIG3A is a mode 1 for communication between PINEs, in which PINEs are directly connected to each other; as shown in FIG3A , PINE 1 and PINE 2 directly exchange data through communication technologies such as WiFi and Bluetooth. FIG3B is a mode 2 for communication between PINEs, in which data is forwarded between PINEs via PEGC; as shown in FIG3B , PINE 1 and PINE 2 are connected to the same PEGC via communication technologies such as WiFi or Bluetooth, and PEGC provides data forwarding services for them. FIG3C is a mode 3 for communication between PINEs, in which data is forwarded between PINEs via 5GS; as shown in FIG3C , data can be forwarded between PINE 1 and PINE 2 via 5GS. For example, when the PDU session created by PEGC for PINE 1 and PINE 2 is connected to the same user plane function (UPF), data can be forwarded through the UPF. When the PDU session established by PEGC for PINE is connected to different UPFs, data can be forwarded through the N19 interface between UPFs. In addition, data can also be forwarded through the interface N6 between UPF and the data network.
如图4所示,当现有PINE设备通过PEGC接入5G网络时,5GC采用帧路由(Framed Routing)的方式来为与PEGC连接的PINE分配IP地址。5G网络对帧路由的支持仅针对IP类型(IPv4、IPv6、IPv4v6)的PDU会话定义,并允许在PEGC背后支持IP网络,因此可以在单个PDU会话中访问到一系列IPv4地址或IPv6前缀。As shown in Figure 4, when the existing PINE device accesses the 5G network through PEGC, the 5GC uses framed routing to assign IP addresses to the PINE connected to the PEGC. The 5G network supports frame routing only for PDU session definitions of IP types (IPv4, IPv6, IPv4v6) and allows support for IP networks behind PEGC, so a range of IPv4 addresses or IPv6 prefixes can be accessed in a single PDU session.
一个PDU会话可以与多个帧路由关联。每个帧路由指的是一系列IPv4地址(即IPv4地址和IPv4地址掩码)或一系列IPv6前缀(即IPv6前缀和IPv6前缀长度)。与PDU会话相关联的一个或一组帧路由包含在路由信息中。5GC不会向PEGC发送帧路由信息,而是会通过特定的应用层方式将IP地址发送给与PEGC连接的PINE。A PDU session can be associated with multiple frame routes. Each frame route refers to a series of IPv4 addresses (i.e., IPv4 address and IPv4 address mask) or a series of IPv6 prefixes (i.e., IPv6 prefix and IPv6 prefix length). One or a group of frame routes associated with a PDU session is included in the routing information. 5GC does not send frame routing information to PEGC, but sends the IP address to the PINE connected to PEGC through a specific application layer method.
帧路由信息由会话管理功能(SMF,Session Management Function)提供给PSAUPF,作为与UPF的网络侧N6接口相关的数据包检测规则的一部分。而SMF可以通过二次认证授权过程中从数据网络(DN,Date Network)-鉴权认证计费(AAA,Authentication Authorization Accounting)服务器获取帧路由信息或者通过查阅UDM中的会话管理签约消息获取帧路由信息。The frame routing information is provided to the PSAUPF by the Session Management Function (SMF) as part of the packet detection rules associated with the network-side N6 interface of the UPF. The SMF can obtain the frame routing information from the Data Network (DN)-Authentication Authorization Accounting (AAA) server during the secondary authentication and authorization process or by consulting the session management contract message in the UDM.
5GC在PDU会话建立过程中为PEGC分配的IP地址可以是帧路由信息中的一个地址,也可以是帧路由信息外的IP地址。The IP address allocated by 5GC to PEGC during the PDU session establishment process can be an address in the frame routing information or an IP address outside the frame routing information.
如果统一数据管理(UDM,Unified Data Management)或DN-AAA在PDU会话的生命周期内更新了帧路由信息,则SMF释放PDU会话,并且可以在释放请求中包含一个指示,让UE重新建立PDU会话。PIN网络的拓扑信息往往是灵活多变的,PEGC与PINE的关联关系往往是动态变化的。而5GC中的帧路由信息往往为静态的地址信息,并且不会发送给PEGC。如图4所示,帧路由信息中的IP网关(IP-gateway)是静态分配给PEGC的地址,而IP-a与IP-b为分配给PINE-a和PINE-b的静态地址。当有新的PINE-c需要通过PEGC接入5GC时,如果网络中没有对应PINE-c的帧路由信息,则无法为其分配IP地址。即使UDM与DN-AAA中的帧路由信息可以通过应用层的交互进行更新,PEGC 需要释放掉现有的PDU session并根据新的帧路由信息建立新的PDU session,这样将严重影响PINE-a与PINE-b的服务质量,并且PINE-c需要等待帧路由信息的更新。If the Unified Data Management (UDM) or DN-AAA updates the frame routing information during the life cycle of the PDU session, the SMF releases the PDU session and can include an indication in the release request to allow the UE to re-establish the PDU session. The topology information of the PIN network is often flexible and changeable, and the association between PEGC and PINE is often dynamically changing. The frame routing information in 5GC is often static address information and will not be sent to PEGC. As shown in Figure 4, the IP gateway (IP-gateway) in the frame routing information is an address statically assigned to PEGC, while IP-a and IP-b are static addresses assigned to PINE-a and PINE-b. When a new PINE-c needs to access 5GC through PEGC, if there is no frame routing information corresponding to PINE-c in the network, an IP address cannot be assigned to it. Even if the frame routing information in UDM and DN-AAA can be updated through application layer interaction, PEGC needs to release the existing PDU session and establish a new PDU session based on the new frame routing information, which will seriously affect the service quality of PINE-a and PINE-b, and PINE-c needs to wait for the update of the frame routing information.
本申请实施例提出一种地址分配方法,该地址分配方法可以应用于PIN网络,也可以应用于其他不能直接接入5GC的设备通过3GPP UE代为申请地址的场景。本申请实施例分配的地址可以为IPv4地址和/或IPv6前缀。The embodiment of the present application proposes an address allocation method, which can be applied to PIN networks, and can also be applied to other scenarios where devices that cannot directly access 5GC apply for addresses through 3GPP UE. The address allocated in the embodiment of the present application can be an IPv4 address and/or an IPv6 prefix.
图5是根据本申请实施例的一种地址分配方法500的示意性流程图,该方法可以应用于图1-4中任一所示的系统,但并不仅限于此。该方法包括以下内容的至少部分内容。Fig. 5 is a schematic flow chart of an address allocation method 500 according to an embodiment of the present application, which can be applied to any system shown in Figs. 1-4, but is not limited thereto. The method includes at least part of the following contents.
S510:第一设备接收地址集合,该地址集合用于为第一设备关联的第一终端设备分配地址。S510: The first device receives an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
第一终端设备通过第一设备接入网络,即第一设备与第一终端设备关联。第一设备接收到该地址集合后,可以从该地址集合中选择地址,将选择的地址分配给第一设备关联的第一终端设备;从而实现为第一终端设备分配地址。The first terminal device accesses the network through the first device, that is, the first device is associated with the first terminal device. After receiving the address set, the first device can select an address from the address set and assign the selected address to the first terminal device associated with the first device, thereby allocating an address to the first terminal device.
在为第二网络设备分配地址之后,第一设备可以向第一终端设备发送该地址。这样,当第一设备需要接入网络时,可以采用该地址进行接入,而不需要等待帧路由信息的更新。After allocating an address to the second network device, the first device can send the address to the first terminal device. In this way, when the first device needs to access the network, it can use the address to access without waiting for the frame routing information to be updated.
其中,该地址集合可以由第一网络设备确定。即,第一网络设备确定地址集合,该地址集合用于为第一设备关联的第一终端设备分配地址。通过这种方式,即使第一终端设备与第一设备的关联关系发生改变,只要第一设备为第一终端设备分配的地址是从该地址集合中选择的,就无需重新建立会话过程。例如,当有新的第一终端设备连接到第一设备,并且需要通过第一设备为其分配IP地址时,第一设备可以从第一网络设备分配的地址集合中选择一个未被使用的地址或者重复利用已经断开连接的第一终端设备的地址。Among them, the address set can be determined by the first network device. That is, the first network device determines an address set, and the address set is used to assign an address to the first terminal device associated with the first device. In this way, even if the association relationship between the first terminal device and the first device changes, as long as the address assigned by the first device to the first terminal device is selected from the address set, there is no need to re-establish the session process. For example, when a new first terminal device is connected to the first device and an IP address needs to be assigned to it by the first device, the first device can select an unused address from the address set assigned by the first network device or reuse the address of the disconnected first terminal device.
第一设备可以携带第一指示信息,该第一指示信息用于请求获取地址集合;该第一指示信息可以直接发送至第一网络设备、或者由中间设备转发至第一网络设备;第一网络设备接收到该第一指示信息后,确定地址集合,并将该地址集合直接发送至第一设备、或者由该中间设备转发至第一设备;第一设备再从该地址集合中选择一个地址,将该地址分配给第一终端设备。这种情况下,第一设备作为DHCP服务器,进行地址分配。第一网络设备可以包括SMF、UPF、AMF中的一个或多个。或者,第一设备可以向PEGC或PEMC发送第一指示信息;根据该第一指示信息,PEGC或PEMC可以确定地址集合、或从其他网元获取地址集合,并将该地址集合下发至第一设备;第一设备再从该地址集合中选择一个地址,将该地址分配给第一终端设备。The first device may carry first indication information, and the first indication information is used to request to obtain an address set; the first indication information may be sent directly to the first network device, or forwarded to the first network device by an intermediate device; after receiving the first indication information, the first network device determines the address set, and sends the address set directly to the first device, or forwards it to the first device by the intermediate device; the first device then selects an address from the address set and assigns the address to the first terminal device. In this case, the first device acts as a DHCP server to perform address allocation. The first network device may include one or more of SMF, UPF, and AMF. Alternatively, the first device may send a first indication information to a PEGC or PEMC; based on the first indication information, the PEGC or PEMC may determine the address set, or obtain the address set from other network elements, and send the address set to the first device; the first device then selects an address from the address set and assigns the address to the first terminal device.
在另一些实施方式中,第一设备发送第一地址请求,该第一地址请求携带第一终端设备的标识,用于为第一终端设备请求分配地址;第一地址请求可以直接发送至第一网络设备、或者由中间设备转发至第一网络设备。第一网络设备可以包括SMF、UPF、AMF中的一个或多个。第一网络设备可以从确定的地址集合中选择为第一终端设备分配的地址,并发送该地址。这种情况下,第一网络设备作为DHCP服务器,进行地址分配。In some other embodiments, the first device sends a first address request, which carries an identifier of the first terminal device and is used to request an address to be allocated to the first terminal device; the first address request can be sent directly to the first network device, or forwarded to the first network device by an intermediate device. The first network device may include one or more of SMF, UPF, and AMF. The first network device may select an address allocated to the first terminal device from a determined address set and send the address. In this case, the first network device acts as a DHCP server to allocate addresses.
在另一些实施方式中,第一设备向服务器设备(或应用服务器、数据网络(DN,Date Network)、应用功能(AF,Application Function)等)发送第一地址请求,该第一地址请求携带第一终端设备的标识,用于为第一终端设备请求分配地址;该服务器设备为第一终端设备分配地址。这种情况下,服务器设备作为动态主机配置协议(DHCP,Dynamic Host Configuration Protocol)服务器,进行地址分配。In other implementations, the first device sends a first address request to a server device (or an application server, a data network (DN), an application function (AF), etc.), where the first address request carries an identifier of the first terminal device and is used to request address allocation for the first terminal device; the server device allocates an address to the first terminal device. In this case, the server device acts as a Dynamic Host Configuration Protocol (DHCP) server to perform address allocation.
上述各种情况中,地址集合可以通过帧路由信息、IPv4地址和子网掩码、IPv6地址和IPv6前缀等形式表示。其中,IPv6前缀也可以称为IPv6前缀长度。帧路由信息表示的地址集合可以是一段连续的地址段,也可以是分散的多个地址。In the above-mentioned cases, the address set can be represented by frame routing information, IPv4 address and subnet mask, IPv6 address and IPv6 prefix, etc. Among them, the IPv6 prefix can also be called the IPv6 prefix length. The address set represented by the frame routing information can be a continuous address segment or multiple scattered addresses.
第一设备可以是PEGC、第一终端设备可以是PINE。第一网络设备可以是SMF、UPF或其他网元。以为与PEGC关联的PINE分配地址为例,本实施例提出的地址分配方法至少包括以下三种方式:The first device may be a PEGC, and the first terminal device may be a PINE. The first network device may be an SMF, a UPF, or other network elements. Taking the address allocation of a PINE associated with a PEGC as an example, the address allocation method proposed in this embodiment includes at least the following three methods:
1、PEGC作为DHCP server。该方式至少有以下两种情况:1. PEGC acts as a DHCP server. This method has at least the following two situations:
情况一,拓展现有帧路由方式,5GC不再为每个PINE分配地址,而是将帧路由信息发送给PEGC,由PEGC根据当前的PINE-PEGC关联关系动态地从帧路由信息中选择合适的IP地址分配给与其关联的PEGC。Case 1: Expanding the existing frame routing method, 5GC no longer allocates addresses for each PINE, but sends frame routing information to PEGC, which dynamically selects a suitable IP address from the frame routing information and allocates it to the PEGC associated with it based on the current PINE-PEGC association relationship.
情况二,5GC为PEGC分配一个IP地址集合,PEGC可以从被分配的IP地址集合中动态选择IP地址分配给与其关联的PINE。具体地,SMF可以为PEGC分配IPv4掩码(mask)或者IPv6前缀(Profix),并将IPv4掩码/IPv6前缀设置为PDR中的目的地址。In case 2, 5GC allocates an IP address set to PEGC, and PEGC can dynamically select an IP address from the allocated IP address set to allocate to the PINE associated with it. Specifically, SMF can allocate an IPv4 mask or IPv6 prefix to PEGC, and set the IPv4 mask/IPv6 prefix as the destination address in the PDR.
2、SMF等5GC网元作为DHCP server,为PINE动态分配IP地址。2. SMF and other 5GC network elements act as DHCP servers to dynamically allocate IP addresses for PINE.
3、核心网外部的服务器设备作为DHCP server。PGEC建立PDU会话之后,与核心网外部的DHCP server通过数据面交互获取PINE的IP地址。3. The server device outside the core network acts as a DHCP server. After PGEC establishes a PDU session, it interacts with the DHCP server outside the core network through the data plane to obtain the IP address of PINE.
图6是根据本申请实施例的地址分配方式一600的示意性流程图,包括:FIG6 is a schematic flow chart of an address allocation method 600 according to an embodiment of the present application, including:
S610、第一设备(如PEGC)发送第一指示信息,该第一指示信息用于请求获取地址集合。第一指示信息可以直接或经由其他设备发送至第一网络设备,第一网络设备可以包括SMF、UPF、AMF中的一个或多个。第一指示信息可以通过NAS消息发送,如,第一设备发送NAS消息,NAS消息携带第一指示信息。NAS消息还携带第一设备的标识(如PEGC ID)、第一设备和第一终端设备(如PINE)所属网络的标识(PIN ID)、请求获取的地址数量中的至少之一。S610. The first device (such as PEGC) sends first indication information, and the first indication information is used to request to obtain an address set. The first indication information can be sent to the first network device directly or via other devices, and the first network device can include one or more of SMF, UPF, and AMF. The first indication information can be sent via a NAS message, such as the first device sends a NAS message, and the NAS message carries the first indication information. The NAS message also carries at least one of the identifier of the first device (such as PEGC ID), the identifier of the network to which the first device and the first terminal device (such as PINE) belong (PIN ID), and the number of addresses requested to be obtained.
S620、第一网络设备确定地址集合,该地址集合用于为第一设备关联的第一终端设备分配地址。S620: The first network device determines an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
该地址集合可以采用帧路由信息表示,也可以采用IP地址段的形式表示。The address set may be represented by frame routing information or by an IP address segment.
具体地,第一网络设备可以确定帧路由信息,该帧路由信息包含地址集合。帧路由信息还可以包含第一设备的地址,实现为第一设备分配地址。Specifically, the first network device may determine frame routing information, which includes an address set. The frame routing information may also include an address of the first device, so as to allocate an address to the first device.
第一网络设备可以采用以下方式中的至少之一确定帧路由信息:The first network device may determine the frame routing information in at least one of the following ways:
通过查找签约信息获取帧路由信息;Obtain frame routing information by searching for contract information;
从DN-AAA服务器获取帧路由信息;Obtain frame routing information from the DN-AAA server;
生成帧路由信息;Generate frame routing information;
从第二网络设备获取帧路由信息。Frame routing information is obtained from the second network device.
因此,第一网络设备可以解决相关技术中的帧路由获取方式,也可以采用新的帧路由获取方式,获取能够包含地址集合的帧路由信息。Therefore, the first network device can solve the frame routing acquisition method in the related art, and can also adopt a new frame routing acquisition method to acquire frame routing information that can contain an address set.
其中,第二网络设备可以为UPF等网元。Among them, the second network device can be a network element such as UPF.
或者,第一网络设备可以确定IPv4地址和子网掩码,IPv4地址和子网掩码用于表示地址集合;和/或,Alternatively, the first network device may determine an IPv4 address and a subnet mask, where the IPv4 address and the subnet mask are used to represent an address set; and/or,
第一网络设备可以确定IPv6地址和前缀,IPv6地址和前缀用于表示地址集合。The first network device may determine an IPv6 address and a prefix, where the IPv6 address and the prefix are used to represent a set of addresses.
第一网络设备可以采用以下方式中的至少之一,确定地址集合:The first network device may determine the address set in at least one of the following ways:
通过查找签约信息获取所述地址集合;Acquire the address set by searching the contract information;
从DN-AAA服务器获取所述地址集合;Acquire the address set from the DN-AAA server;
分配地址集合;Assign address set;
从第二网络设备获取地址集合。A set of addresses is obtained from a second network device.
其中,第二网络设备可以为UPF等网元。Among them, the second network device can be a network element such as UPF.
S630、第一网络设备将地址集合添加至该第一设备请求建立或修改的会话(如协议数据单元(PDU,Protocol Data Unit)会话)对应的包检测规则(PDR,Packet Detection Rule)中,将该PDR提供给第二网络设备。S630. The first network device adds the address set to the packet detection rule (PDR) corresponding to the session (such as the protocol data unit (PDU) session) that the first device requests to establish or modify, and provides the PDR to the second network device.
S640、第一网络设备发送该地址集合。S640: The first network device sends the address set.
例如,第一网络设备发送Namf_Communication_N1N2MessageTransfer消息,该Namf_Communication_N1N2MessageTransfer消息携带地址集合。Namf_Communication_N1N2MessageTransfer消息还可以携带第一设备的标识(如PEGC ID)、第一设备的地址(如PEGC IP)、第一终端设备的标识(如PINE ID)、第一设备和第一终端设备所属网络的标识(如PIN ID)中的至少之一。携带地址集合的消息可以发送至其他网元(如AMF),该其他网元(如AMF)将该地址集合发送至第一设备。第一网络设备发送地址集合时,同步发送前述各个地址和/或标识信息,能够便于接收到该地址集合的第一设备对该地址集合进行分辨,避免消息传输过程出错导致的地址分配错误问题。For example, the first network device sends a Namf_Communication_N1N2MessageTransfer message, and the Namf_Communication_N1N2MessageTransfer message carries an address set. The Namf_Communication_N1N2MessageTransfer message may also carry at least one of an identifier of the first device (such as PEGC ID), an address of the first device (such as PEGC IP), an identifier of the first terminal device (such as PINE ID), and an identifier of the network to which the first device and the first terminal device belong (such as PIN ID). The message carrying the address set may be sent to other network elements (such as AMF), and the other network elements (such as AMF) send the address set to the first device. When the first network device sends the address set, it synchronously sends the aforementioned addresses and/or identification information, which can facilitate the first device that receives the address set to distinguish the address set and avoid address allocation errors caused by errors in the message transmission process.
第一设备接收该地址集合,该地址集合用于为第一设备关联的第一终端设备分配地址。例如,第一设备接收NAS消息,该NAS消息携带地址集合。NAS消息还可以携带第一设备的标识(如PEGC ID)、第一设备的地址(如PEGC IP)、第一终端设备的标识(如PINE ID)、第一设备和第一终端设备所属网络的标识(如PIN ID)中的至少之一。The first device receives the address set, and the address set is used to allocate an address to the first terminal device associated with the first device. For example, the first device receives a NAS message, and the NAS message carries the address set. The NAS message may also carry at least one of an identifier of the first device (such as PEGC ID), an address of the first device (such as PEGC IP), an identifier of the first terminal device (such as PINE ID), and an identifier of the network to which the first device and the first terminal device belong (such as PIN ID).
S660、第一设备从接收的地址集合中,为第一设备关联的第一终端设备分配地址。例如,当接收到第一终端设备的地址请求后,从该地址集合中选择一个地址,将选择的地址分发送给第一终端设备。其中,从第一终端设备接收地址请求的步骤可以获取地址集合之前执行、也可以在获取地址集合之后执行。S660: The first device allocates an address to a first terminal device associated with the first device from the received address set. For example, after receiving an address request from the first terminal device, an address is selected from the address set and the selected address is distributed to the first terminal device. The step of receiving an address request from the first terminal device may be performed before obtaining the address set or after obtaining the address set.
在本示例中,第一设备作为DHCP服务器,为第一终端设备分配地址。In this example, the first device acts as a DHCP server to allocate an address to the first terminal device.
图7是根据本申请实施例的地址分配方式二700的示意性流程图,包括:FIG. 7 is a schematic flow chart of a second address allocation method 700 according to an embodiment of the present application, including:
S710、第一网络设备(如SMF、UPF等网元)在第一设备(如PEGC)建立的会话(如PDU会话)对应的PDR中配置地址集合。具体地,第一网络设备可以为第一设备配置帧路由信息,该帧路由信息中包括该地址集合,帧路由信息中还可以包括第一设备的地址;或者,第一网络设备可以为第一设备配置一段IP地址段,如配置IPv4地址和子网掩码,该IPv4地址和子网掩码用于表示所述地址集合;和/ 或,配置IPv6地址和前缀,该IPv6地址和前缀用于表示该地址集合。该IPv4地址或IPv6地址还可以表示第一设备的地址。S710. The first network device (such as a network element such as SMF or UPF) configures an address set in the PDR corresponding to the session (such as a PDU session) established by the first device (such as PEGC). Specifically, the first network device may configure frame routing information for the first device, the frame routing information includes the address set, and the frame routing information may also include the address of the first device; or, the first network device may configure an IP address segment for the first device, such as configuring an IPv4 address and a subnet mask, the IPv4 address and the subnet mask are used to represent the address set; and/or, configuring an IPv6 address and a prefix, the IPv6 address and the prefix are used to represent the address set. The IPv4 address or the IPv6 address may also represent the address of the first device.
S720、第一网络设备接收第一地址请求,第一地址请求携带第一终端设备的标识(如PINE ID)。该第一地址请求可以由第一设备直接发送至第一网络设备,或者经由其他网元转发至第一网络设备。本步骤也可以在步骤S710之前执行。第一地址请求还可以携带第一设备的标识(如PEGC ID)、第一设备的地址(如PEGC IP)、第一设备和第一终端设备所属网络的标识(如PIN ID)中的至少之一。S720. The first network device receives a first address request, and the first address request carries an identifier of the first terminal device (such as a PINE ID). The first address request may be sent directly by the first device to the first network device, or forwarded to the first network device via other network elements. This step may also be performed before step S710. The first address request may also carry at least one of an identifier of the first device (such as a PEGC ID), an address of the first device (such as a PEGC IP), and an identifier of the network to which the first device and the first terminal device belong (such as a PIN ID).
S730、第一网络设备从地址集合中选择为第一终端设备分配的地址,发送该地址。第一网络设备可以将该地址直接发送至第一设备,也可以经由其他网元转发至第一设备。在发送地址时,第一网络设备还可以发送第一终端设备的标识(如PINE ID)、第一设备的标识(如PEGC ID)、第一设备的地址(如PEGC IP)、第一设备和第一终端设备所属网络的标识(如PIN ID)中的至少之一。S730. The first network device selects an address assigned to the first terminal device from the address set and sends the address. The first network device may send the address directly to the first device, or forward it to the first device via other network elements. When sending the address, the first network device may also send at least one of the identifier of the first terminal device (such as PINE ID), the identifier of the first device (such as PEGC ID), the address of the first device (such as PEGC IP), and the identifier of the network to which the first device and the first terminal device belong (such as PIN ID).
在本示例中,第一网络设备作为DHCP服务器,为第一终端设备分配地址。在本示例中,由网络设备作为DHCP服务器进行地址分配,能够降低对终端设备功能的要求,降低终端设备的负担。In this example, the first network device acts as a DHCP server to allocate an address to the first terminal device. In this example, the network device acts as a DHCP server to allocate addresses, which can reduce the requirements on the terminal device functions and reduce the burden on the terminal device.
图8是根据本申请实施例的地址分配方式三800的示意性流程图,包括:FIG8 is a schematic flow chart of a third address allocation method 800 according to an embodiment of the present application, including:
S810、服务器设备(如DN、AF或应用服务器等)接收来自第一设备的第二地址请求;第二地址请求携带第一终端设备的标识(如PINE ID)。该第二地址请求可以由第一设备直接发送至服务器设备,或者经由其他网元转发至服务器设备。第二地址请求还可以携带第一设备的标识(如PEGC ID)、第一设备的地址(如PEGC IP)、第一设备和第一终端设备所属网络的标识(如PIN ID)中的至少之一。S810. A server device (such as a DN, AF or application server) receives a second address request from a first device; the second address request carries an identifier of the first terminal device (such as a PINE ID). The second address request may be sent directly by the first device to the server device, or forwarded to the server device via other network elements. The second address request may also carry at least one of an identifier of the first device (such as a PEGC ID), an address of the first device (such as a PEGC IP), and an identifier of a network to which the first device and the first terminal device belong (such as a PIN ID).
S820、服务器设备根据第二地址请求,为第一设备关联的第一终端设备分配地址。进一步地,服务器设备还可以记录第一设备的地址与第一终端设备的地址之间的路由关系。之后,当需要向第一终端设备发送数据时,服务器设备可以根据该路由关系,将该数据发送至与第一终端设备之间存在路由关系的第一设备,并在该数据中包含该路由关系,用于指示第一设备应该将该数据发送给哪一个第一终端设备。S820. The server device allocates an address to the first terminal device associated with the first device according to the second address request. Furthermore, the server device may also record the routing relationship between the address of the first device and the address of the first terminal device. Later, when data needs to be sent to the first terminal device, the server device may send the data to the first device that has a routing relationship with the first terminal device according to the routing relationship, and include the routing relationship in the data to indicate to which first terminal device the first device should send the data.
S830、服务器设备将为第一终端设备分配的地址发送至第一设备。第一设备可以再将该地址发送至第一终端设备。S830: The server device sends the address allocated to the first terminal device to the first device. The first device may then send the address to the first terminal device.
在本示例中,服务器设备作为DHCP服务器,为第一终端设备分配地址。In this example, the server device acts as a DHCP server to allocate an address to the first terminal device.
以下以第一设备是PEGC、第一终端设备是PINE、第一网络设备是SMF为例,举具体的实施例详细介绍本申请的地址分配方法。The following takes the first device being PEGC, the first terminal device being PINE, and the first network device being SMF as an example, and describes in detail the address allocation method of the present application with reference to a specific embodiment.
实施例一:Embodiment 1:
图9是根据本申请实施例一的实现流程图。实施例一中,5GC为PEGC配置帧路由信息,帧路由信息的地址不再由5GC固定的分配给PEGC后的PINE,而是由PEGC自行动态而分配给与其相连接的PIEN。具体流程如下:FIG9 is a flowchart of the implementation of the first embodiment of the present application. In the first embodiment, the 5GC configures the frame routing information for the PEGC. The address of the frame routing information is no longer fixedly assigned by the 5GC to the PINE behind the PEGC, but is dynamically assigned by the PEGC to the PIEN connected to it. The specific process is as follows:
1.PINE连接到PEGC,需要通过PEGC与5GC进行数据交互,并向PEGC发送IP地址分配请求,该IP地址分配请求包含PINE ID,PIN ID。该IP地址分配请求消息可以通过PIN协议栈或者应用层发送至PEGC。该IP地址可以是IPv4地址和/或IPv6前缀。1.PINE is connected to PEGC, and needs to interact with 5GC through PEGC and send an IP address allocation request to PEGC, which contains PINE ID and PIN ID. The IP address allocation request message can be sent to PEGC through the PIN protocol stack or application layer. The IP address can be an IPv4 address and/or an IPv6 prefix.
2.PEGC向AMF发送PEGC指示信息(PEGC indication),用于告知5GC其为PEGC,需要获取IP地址集合。该PEGC指示信息可以通过NAS消息发送给AMF。具体地,PEGC发起PDU会话建立或者修改过程,并在PDU会话建立/修改请求消息中包含PEGC indication、PEGC ID、PIN ID、请求分配的IP地址数量等字段,用于告知5GC其为PEGC,需要为其身后的设备分配地址。2. PEGC sends PEGC indication information (PEGC indication) to AMF to inform 5GC that it is PEGC and needs to obtain a set of IP addresses. The PEGC indication information can be sent to AMF via NAS messages. Specifically, PEGC initiates the PDU session establishment or modification process, and includes fields such as PEGC indication, PEGC ID, PIN ID, and the number of IP addresses requested to be allocated in the PDU session establishment/modification request message to inform 5GC that it is PEGC and needs to allocate addresses to the devices behind it.
3.AMF将PEGC indication转发给SMF;除PEGC indication以外,AMF还可以将PEGC ID、PIN ID和请求分配的IP地址数量等信息转发给SMF。PEGC indication、PEGC ID、PIN ID、请求分配的IP地址数量等字段可以通过Nsmf_PDUSession_CreateSMContext Request消息携带。3.AMF forwards the PEGC indication to SMF; in addition to the PEGC indication, AMF can also forward the PEGC ID, PIN ID, and the number of IP addresses requested to be allocated to SMF. The PEGC indication, PEGC ID, PIN ID, and the number of IP addresses requested to be allocated can be carried in the Nsmf_PDUSession_CreateSMContext Request message.
4.SMF获取PEGC的帧路由信息。帧路由信息可以通过查阅UDM中的签约消息获取,也可以通过二次鉴权过程从DN-AAA服务器获取,或者由SMF本地生成,或者从UPF中获取。具体地,帧路由信息包含PEGC的地址,以及一个地址集合,该地址集合中包含一定数量的IP地址。这些IP地址可以是由连续的IP地址段组成的集合,也可以是不连续的IP地址的集合。分配给PEGC的IP地址可以是地址集合中的一个地址,也可以是不属于地址集合的IP地址。4. SMF obtains the frame routing information of PEGC. The frame routing information can be obtained by consulting the contract message in the UDM, or obtained from the DN-AAA server through the secondary authentication process, or generated locally by the SMF, or obtained from the UPF. Specifically, the frame routing information contains the address of the PEGC, and an address set, which contains a certain number of IP addresses. These IP addresses can be a set consisting of continuous IP address segments or a set of discontinuous IP addresses. The IP address assigned to PEGC can be an address in the address set or an IP address that does not belong to the address set.
5.SMF为PEGC请求建立或者修改的PDU会话配置包检测规则(PDR),即将帧路由信息添加到该PDU会话对应的PDR中,并将该PDR提供给UPF。5.SMF configures the packet detection rule (PDR) for the PDU session established or modified by PEGC, that is, adds the frame routing information to the PDR corresponding to the PDU session, and provides the PDR to UPF.
6.SMF将该PEGC对应的帧路由信息发送给AMF。该帧路由信息可以通过Namf_Communication_N1N2MessageTransfer消息携带。此外,该消息还可能包含PEGC ID,PEGC IP地址,PIN ID。6.SMF sends the frame routing information corresponding to the PEGC to AMF. The frame routing information can be carried by the Namf_Communication_N1N2MessageTransfer message. In addition, the message may also contain PEGC ID, PEGC IP address, and PIN ID.
7.AMF将帧路由信息发送至PEGC。该帧路由信息可以通过N2NAS消息携带。此外,该消息 还可能包含PEGC ID,PEGC IP地址,PINE ID,PIN ID。7.AMF sends the frame routing information to PEGC. The frame routing information can be carried by the N2NAS message. In addition, the message may also contain PEGC ID, PEGC IP address, PINE ID, PIN ID.
8.PEGC可以从帧路由信息中的IP地址集合中选择可用的地址,动态地分配给与其相关联的PINE。8. PEGC can select an available address from the IP address set in the frame routing information and dynamically assign it to the PINE associated with it.
在本实施例中,PEGC作为DHCP服务器,为与其关联的PINE分配地址;PEGC获取的地址集合采用帧路由表示。In this embodiment, the PEGC acts as a DHCP server to allocate addresses to the PINE associated with it; the address set obtained by the PEGC is represented by frame routing.
实施例二:Embodiment 2:
图10是根据本申请实施例二的实现流程图。实施例二中,5GC为PEGC分配一个IP地址段,该IP地址段为IPv4地址及子网掩码和/或IPv6地址及前缀长度。PEGC从得到的IP地址段中选择IP地址分配给与其关联的PINE。具体流程如下:FIG10 is a flowchart of the implementation of the second embodiment of the present application. In the second embodiment, the 5GC allocates an IP address segment to the PEGC, and the IP address segment is an IPv4 address and subnet mask and/or an IPv6 address and prefix length. The PEGC selects an IP address from the obtained IP address segment and allocates it to the PINE associated with it. The specific process is as follows:
1.PINE连接到PEGC,需要通过PEGC与5GC进行数据交互,并向PEGC发送IP地址分配请求,该IP地址分配请求包含PINE ID,PIN ID。该IP地址分配请求消息可以通过PIN协议栈或者应用层发送至PEGC。该IP地址可以是IPv4地址和/或IPv6前缀。1.PINE is connected to PEGC, and needs to interact with 5GC through PEGC and send an IP address allocation request to PEGC, which contains PINE ID and PIN ID. The IP address allocation request message can be sent to PEGC through the PIN protocol stack or application layer. The IP address can be an IPv4 address and/or an IPv6 prefix.
2.PEGC向AMF发送PEGC指示信息(PEGC indication),用于告知5GC其为PEGC,需要获取IP地址集合。该PEGC指示信息可以通过NAS消息发送给AMF。具体地,PEGC发起PDU会话建立或者修改过程,并在PDU会话建立/修改请求消息中包含PEGC indication、PEGC ID、PIN ID、请求分配的IP地址数量等字段,用于告知5GC其为PEGC,需要为其身后的设备分配地址。2. PEGC sends PEGC indication information (PEGC indication) to AMF to inform 5GC that it is PEGC and needs to obtain a set of IP addresses. The PEGC indication information can be sent to AMF via NAS messages. Specifically, PEGC initiates the PDU session establishment or modification process, and includes fields such as PEGC indication, PEGC ID, PIN ID, and the number of IP addresses requested to be allocated in the PDU session establishment/modification request message to inform 5GC that it is PEGC and needs to allocate addresses to the devices behind it.
3.AMF将PEGC indication PEGC ID、PIN ID、请求分配的IP地址数量等信息转发给SMF。PEGC indication、PEGC ID、PIN ID、请求分配的IP地址数量等字段可以通过Nsmf_PDUSession_CreateSMContext Request消息携带。3.AMF forwards the PEGC indication, PEGC ID, PIN ID, and the number of IP addresses requested to be allocated to SMF. The PEGC indication, PEGC ID, PIN ID, and the number of IP addresses requested to be allocated can be carried in the Nsmf_PDUSession_CreateSMContext Request message.
4.SMF获取PEGC的帧路由信息获取地址集合(或地址段),该地址集合可以通过IPv4地址及子网掩码,和/或IPv6地址及前缀长度表示。IPv4地址及子网掩码,和/或IPv6地址及前缀长度的获取方式至少包括以下四种:4. SMF obtains the frame routing information of PEGC to obtain the address set (or address segment), which can be represented by the IPv4 address and subnet mask, and/or the IPv6 address and prefix length. The IPv4 address and subnet mask, and/or the IPv6 address and prefix length can be obtained in at least four ways:
a.SMF查阅UDM中的签约消息,获取IPv4地址及子网掩码,和/或IPv6地址及前缀长度。a.SMF consults the contract information in UDM to obtain the IPv4 address and subnet mask, and/or the IPv6 address and prefix length.
b.SMF从DN-AAA服务器获取IPv4地址及子网掩码,和/或IPv6地址及前缀长度。b.SMF obtains the IPv4 address and subnet mask, and/or the IPv6 address and prefix length from the DN-AAA server.
c.SMF自行分配IPv4地址及子网掩码,和/或IPv6地址及前缀长度。c.SMF allocates IPv4 addresses and subnet masks, and/or IPv6 addresses and prefix lengths on its own.
d.SMF指示UPF生成IPv4地址及子网掩码,和/或IPv6地址及前缀长度;并从UPF处获取IPv4地址及子网掩码,和/或IPv6地址及前缀长度。d.SMF instructs UPF to generate an IPv4 address and subnet mask, and/or an IPv6 address and prefix length; and obtains the IPv4 address and subnet mask, and/or an IPv6 address and prefix length from UPF.
5.SMF为PEGC请求建立或者修改的PDU会话配置包检测规则(PDR),即使用IPv4地址及子网掩码,和/或IPv6地址及前缀长度,配置上述PDU会话对应的PDR中IP包过滤设置(IP Packet Filter Set),并将该PDR提供给UPF。5.SMF configures packet detection rules (PDR) for the PDU session that PEGC requests to establish or modify, that is, uses the IPv4 address and subnet mask, and/or IPv6 address and prefix length to configure the IP packet filter settings (IP Packet Filter Set) in the PDR corresponding to the above PDU session, and provides the PDR to UPF.
6.SMF将IP地址集合(即IPv4地址及子网掩码和/或IPv6地址及前缀长度)发送给AMF。该IP地址集合可以通过Namf_Communication_N1N2MessageTransfer消息携带。此外,该消息还可能包含PEGC ID,PEGC IP地址,PINE ID,PIN ID。6.SMF sends the IP address set (i.e., IPv4 address and subnet mask and/or IPv6 address and prefix length) to AMF. The IP address set can be carried by the Namf_Communication_N1N2MessageTransfer message. In addition, the message may also contain PEGC ID, PEGC IP address, PINE ID, and PIN ID.
7.AMF将IP地址集合(即IPv4地址及子网掩码和/或IPv6地址及前缀长度)发送至PEGC。该IP地址集合可以通过N2NAS消息携带。此外,该消息还可能包含PEGC ID,PEGC IP地址,PINE ID,PIN ID。7.AMF sends the IP address set (i.e., IPv4 address and subnet mask and/or IPv6 address and prefix length) to PEGC. The IP address set can be carried by the N2NAS message. In addition, the message may also contain PEGC ID, PEGC IP address, PINE ID, and PIN ID.
8.PEGC可以从IP地址集合中选择可用的IP地址动态地分配给与其相关联的PINE。8. The PEGC may select an available IP address from the IP address set and dynamically assign it to the PINE associated with it.
本实施例中与实施例一类似,PEGC作为DHCP服务器,为与其关联的PINE分配地址;不同之处在,PEGC获取的地址集合采用IPv4地址及子网掩码,和/或IPv6地址及前缀长度表示。This embodiment is similar to the first embodiment, in which PEGC acts as a DHCP server to allocate addresses to the PINE associated therewith; the difference is that the address set obtained by PEGC is represented by an IPv4 address and subnet mask, and/or an IPv6 address and prefix length.
实施例三:Embodiment three:
图11是根据本申请实施例三的实现流程图。实施例三中,SMF作为DHCP服务器,为PINE分配IP地址。PEGC建立PDU会话后,SMF为该PDU会话配置了帧路由信息或者一段IP地址段作为PDR中的一部分。随后,每当有新的PINE通过PEGC向5GC请求IP地址时,SMF可以从帧路由信息或上述IP地址段中选择一个IP地址分配给PINE。具体流程如下:Figure 11 is a flowchart of the implementation of Example 3 of the present application. In Example 3, SMF acts as a DHCP server to allocate an IP address to PINE. After PEGC establishes a PDU session, SMF configures frame routing information or an IP address segment for the PDU session as part of the PDR. Subsequently, whenever a new PINE requests an IP address from 5GC through PEGC, SMF can select an IP address from the frame routing information or the above IP address segment and allocate it to PINE. The specific process is as follows:
1.PEGC建立PDU会话后,SMF为该PDU会话配置了帧路由信息或者一段IP地址段作为PDR中的一部分。1. After PEGC establishes a PDU session, SMF configures frame routing information or an IP address segment for the PDU session as part of the PDR.
2.PINE连接到PEGC,需要通过PEGC与5GC进行数据交互,并向PEGC发送IP地址分配请求,该IP地址分配请求包含PINE ID,PIN ID。该IP地址分配请求消息可以通过PIN协议栈或者应用层发送至PEGC。该IP地址可以是IPv4地址和/或IPv6前缀。本步骤也可以在步骤1之前执行。2. PINE is connected to PEGC, and needs to interact with 5GC through PEGC and send an IP address allocation request to PEGC, which contains PINE ID and PIN ID. The IP address allocation request message can be sent to PEGC through the PIN protocol stack or application layer. The IP address can be an IPv4 address and/or an IPv6 prefix. This step can also be performed before step 1.
3.PEGC通过NAS消息向AMF发送IP地址请求,该请求消息中包括PINE ID,PIN ID,PEGC ID,PEGC IP地址。3.PEGC sends an IP address request to AMF through a NAS message. The request message includes PINE ID, PIN ID, PEGC ID, and PEGC IP address.
4.AMF向SMF发送IP地址请求,该IP地址请求消息中包括PINE ID,PIN ID,PEGC ID,PEGC  IP地址。4.AMF sends an IP address request to SMF. The IP address request message includes PINE ID, PIN ID, PEGC ID, and PEGC IP address.
5.SMF从PEGC建立的PDU会话对应的帧路由信息或者IP地址段中选择一个IP地址,分配给PINE。5.SMF selects an IP address from the frame routing information or IP address segment corresponding to the PDU session established by PEGC and assigns it to PINE.
6.SMF向AMF发送PINE的IP地址信息。此外,该消息还可能包含PEGC ID,PEGC IP地址,PINE ID,PIN ID。6.SMF sends PINE’s IP address information to AMF. In addition, the message may also contain PEGC ID, PEGC IP address, PINE ID, and PIN ID.
7.AMF向PEGC发送PINE的IP地址信息。此外,该消息还可能包含PEGC ID,PEGC IP地址,PINE ID,PIN ID。7.AMF sends PINE’s IP address information to PEGC. In addition, the message may also contain PEGC ID, PEGC IP address, PINE ID, and PIN ID.
8.PEGC向PINE发送其IP地址。此外,该消息还可能包含PEGC ID,PEGC IP地址,PINE ID,PIN ID。8. PEGC sends its IP address to PINE. In addition, the message may also contain PEGC ID, PEGC IP address, PINE ID, PIN ID.
在本实施例中,核心网网元(如SMF)作为DHCP服务器,为与PEGC关联的PINE分配地址。本实施例中是以SMF作为DHCP服务器为例进行说明的,在其他实现方式中,也可以选择UPF、其他网元等5GC网元作为DHCP服务器,为PINE分配地址。In this embodiment, the core network element (such as SMF) acts as a DHCP server to allocate addresses to PINEs associated with PEGC. In this embodiment, SMF is used as an example to illustrate the DHCP server. In other implementations, 5GC network elements such as UPF and other network elements can also be selected as DHCP servers to allocate addresses to PINEs.
实施例四:Embodiment 4:
图12是根据本申请实施例四的实现流程图。实施例四中,DN作为DHCP服务器为PINE分配地址。PEGC建立PDU会话后,可以通过用户面与DN交互上报PEGC IP地址并获取PINE的地址信息。DN将会记录PEGC IP地址与PINE IP地址之间的路由关系,将发送给PINE的数据包发送给PEGC,再由PEGC转发。具体流程如下:FIG12 is a flowchart of the implementation of the fourth embodiment of the present application. In the fourth embodiment, DN acts as a DHCP server to assign an address to PINE. After PEGC establishes a PDU session, it can interact with DN through the user plane to report the PEGC IP address and obtain the address information of PINE. DN will record the routing relationship between the PEGC IP address and the PINE IP address, and send the data packet sent to PINE to PEGC, which will then forward it. The specific process is as follows:
1.PINE连接到PEGC,需要通过PEGC与5GC进行数据交互,并向PEGC发送IP地址分配请求,该IP地址分配请求包含PINE ID,PIN ID。该IP地址分配请求消息可以通过PIN协议栈或者应用层发送至PEGC。该IP地址可以是IPv4地址和/或IPv6前缀。1.PINE is connected to PEGC, and needs to interact with 5GC through PEGC and send an IP address allocation request to PEGC, which contains PINE ID and PIN ID. The IP address allocation request message can be sent to PEGC through the PIN protocol stack or application layer. The IP address can be an IPv4 address and/or an IPv6 prefix.
2.PEGC建立PDU会话得到5GC分配给其的IP地址。该步骤也可以发生在第1步之前。2. PEGC establishes a PDU session and obtains the IP address assigned to it by 5GC. This step can also occur before step 1.
3.PEGC通过用户面由应用层向DN发送IP地址请求,该IP地址请求中包含PINE ID,PIN ID,PEGC ID,PEGC IP地址。3.PEGC sends an IP address request to DN through the user plane from the application layer. The IP address request contains PINE ID, PIN ID, PEGC ID, and PEGC IP address.
4.DN为PINE分配IP地址,该IP地址可以是IPv4地址和/或IPv6前缀,并记录PEGC IP地址与PINE IP地址之间的路由关系。当有数据需要下发给PINE时,可以将数据包发送给PEGC,并在数据包中包含路由信息指示PEGC该数据包最终需要发送给PINE。4. DN assigns an IP address to PINE, which can be an IPv4 address and/or an IPv6 prefix, and records the routing relationship between the PEGC IP address and the PINE IP address. When data needs to be sent to PINE, the data packet can be sent to PEGC, and the data packet contains routing information to indicate that the data packet needs to be sent to PINE.
5.DN将PINE的IP地址(即IPv4地址和/或IPv6前缀)发送至PEGC。5. DN sends the IP address of PINE (ie, IPv4 address and/or IPv6 prefix) to PEGC.
6.PEGC将PINE的IP地址(即IPv4地址和/或IPv6前缀)发送至PINE。6. PEGC sends PINE's IP address (ie, IPv4 address and/or IPv6 prefix) to PINE.
综合上述实施例可见,实施例一、二中,5GC通过帧路由信息、IPv4子网掩码和/或IPv6地址前缀将一个可用的IP地址集合发送给PEGC,PEGC可以从该集合中选择IP地址分配给与其关联的PINE。帧路由信息已经添加到PDR中,所有发送给该IP地址集合的数据包都可以先发送给PEGC再由PEGC转发。因此,即使PINE与PEGC的关联关系发生改变,只要PEGC为PINE分配的地址是从上述IP地址集合中选择的,就无需重新建立PDU会话过程。例如,当有新的PINE连接到PEGC,并且需要通过PEGC为其分配IP地址时,PEGC可以从5GC分配的IP地址集合中选择一个未被使用的地址或者重复利用已经断开连接的PINE的IP地址。From the above embodiments, it can be seen that in embodiments one and two, 5GC sends an available IP address set to PEGC through frame routing information, IPv4 subnet mask and/or IPv6 address prefix, and PEGC can select an IP address from the set to allocate to the PINE associated with it. Frame routing information has been added to the PDR, and all data packets sent to the IP address set can be sent to PEGC first and then forwarded by PEGC. Therefore, even if the association between PINE and PEGC changes, as long as the address allocated by PEGC to PINE is selected from the above IP address set, there is no need to re-establish the PDU session process. For example, when a new PINE is connected to PEGC and an IP address needs to be allocated to it through PEGC, PEGC can select an unused address from the IP address set allocated by 5GC or reuse the IP address of the disconnected PINE.
实施例三与实施例一、二类似,SMF为PEGC建立的PDU会话,配置了帧路由信息,或者一段IP地址段。每当有新的PINE需要通过该PEGC与5GC进行数据交互时,SMF可以从配置好的帧路由信息或者IP地址段中选择一个IP地址分配给PINE,而无需重复建立修改已经为该PEGC建立的PDU会话。 Embodiment 3 is similar to Embodiment 1 and 2. The SMF configures the frame routing information or an IP address segment for the PDU session established for the PEGC. Whenever a new PINE needs to interact with the 5GC through the PEGC, the SMF can select an IP address from the configured frame routing information or IP address segment and assign it to the PINE without repeatedly establishing and modifying the PDU session already established for the PEGC.
实施例四中,PINE的IP地址的分配可以通过PEGC与DN的应用层交互实现。PINE与PEGC的路由关系可以封装在数据包的包头中,而无需配置在5GC中。DN可以将属于PINE的数据包发送至PEGC,然后PEGC根据数据包头中的路由信息将数据包转发至PINE。此时,对5GC而言PINE是不可见的。因此,即使PINE与PEGC的拓扑关系产生变化,PEGC建立的PDU会话也无需更改。In the fourth embodiment, the allocation of the IP address of PINE can be achieved through the application layer interaction between PEGC and DN. The routing relationship between PINE and PEGC can be encapsulated in the packet header of the data packet without being configured in the 5GC. DN can send the data packet belonging to PINE to PEGC, and then PEGC forwards the data packet to PINE according to the routing information in the data packet header. At this time, PINE is invisible to 5GC. Therefore, even if the topological relationship between PINE and PEGC changes, the PDU session established by PEGC does not need to be changed.
以上实施例中涉及的地址可以包括IPv4地址和/或IPv6前缀。以上实施例中,是以个人物联网(PIN)场景为例进行说明的,但是,本方案的地址分配方法不仅适用于PIN场景,还适用于其他不能直接接入5GC的设备通过3GPP UE代为申请IP地址的场景。The addresses involved in the above embodiments may include IPv4 addresses and/or IPv6 prefixes. In the above embodiments, the personal Internet of Things (PIN) scenario is used as an example for explanation. However, the address allocation method of this solution is not only applicable to the PIN scenario, but also to other scenarios where devices that cannot directly access 5GC apply for IP addresses through 3GPP UE.
图13是根据本申请实施例的一种地址分配方法1300的示意性流程图,该方法可以应用于图1-4中任一所示的系统,但并不仅限于此。该方法包括以下内容的至少部分内容。Fig. 13 is a schematic flow chart of an address allocation method 1300 according to an embodiment of the present application, which can be applied to any system shown in Figs. 1-4, but is not limited thereto. The method includes at least part of the following contents.
S1310、第一网络设备确定地址集合,所述地址集合用于为第一设备关联的第一终端设备分配地址。S1310. A first network device determines an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
其中,第一网络设备可以包括SMF、UPF或其他核心网网元,第一设备可以包括PEGC,第一终端设备可以包括PINE。Among them, the first network device may include SMF, UPF or other core network elements, the first device may include PEGC, and the first terminal device may include PINE.
在一种实施方式中,第一网络设备确定地址集合,可以包括:所述第一网络设备确定帧路由信息, 所述帧路由信息包含所述地址集合。In one implementation, the first network device determining the address set may include: the first network device determining frame routing information, wherein the frame routing information includes the address set.
在一种实施方式中,帧路由信息还包含第一设备的地址。In one implementation, the frame routing information further includes an address of the first device.
第一网络设备可以采用以下方式中的至少之一,确定帧路由信息:The first network device may determine the frame routing information in at least one of the following ways:
通过查找签约信息获取所述帧路由信息;Acquire the frame routing information by searching the contract information;
从DN-AAA服务器获取所述帧路由信息;Acquire the frame routing information from the DN-AAA server;
生成所述帧路由信息;generating the frame routing information;
从第二网络设备获取所述帧路由信息。The frame routing information is obtained from the second network device.
其中,第二网络设备可以为UPF。Among them, the second network device can be UPF.
在一种实施方式中,第一网络设备确定地址集合,包括:In one implementation, the first network device determines the address set, including:
所述第一网络设备获取IPv4地址和子网掩码,所述IPv4地址和子网掩码用于表示所述地址集合;和/或,The first network device obtains an IPv4 address and a subnet mask, where the IPv4 address and the subnet mask are used to represent the address set; and/or,
所述第一网络设备获取IPv6地址和前缀,所述IPv6地址和前缀用于表示所述地址集合。The first network device obtains an IPv6 address and a prefix, where the IPv6 address and the prefix are used to represent the address set.
其中,IPv4地址或IPv6地址还可以表示第一设备的地址。The IPv4 address or the IPv6 address may also represent the address of the first device.
在一种实施方式中,第一网络设备可以采用以下方式中的至少之一,确定地址集合:In one implementation, the first network device may determine the address set in at least one of the following ways:
通过查找签约信息获取所述地址集合;Acquire the address set by searching the contract information;
从DN-AAA服务器获取所述地址集合;Acquire the address set from the DN-AAA server;
分配所述地址集合;allocating the address set;
从第二网络设备获取所述地址集合。其中,第二网络设备可以为UPF。The address set is obtained from a second network device, wherein the second network device may be a UPF.
在一种实施方式中,该方法还包括:第一网络设备将所述地址集合添加至所述第一设备请求建立或修改的会话对应的PDR中,将所述PDR提供给第二网络设备。In one embodiment, the method further includes: the first network device adds the address set to a PDR corresponding to a session that the first device requests to establish or modify, and provides the PDR to the second network device.
在一种实施方式中,该方法还包括:第一网络设备发送该地址集合。In one implementation, the method further includes: the first network device sending the address set.
其中,第一网络设备发送地址集合可以包括:The first network device sending address set may include:
所述第一网络设备发送Namf_Communication_N1N2MessageTransfer消息,所述Namf_Communication_N1N2MessageTransfer消息携带所述地址集合。The first network device sends a Namf_Communication_N1N2MessageTransfer message, and the Namf_Communication_N1N2MessageTransfer message carries the address set.
在一种实施方式中,Namf_Communication_N1N2MessageTransfer消息还可以携带以下至少之一:In one implementation, the Namf_Communication_N1N2MessageTransfer message may also carry at least one of the following:
所述第一设备的标识;an identifier of the first device;
所述第一设备的地址;an address of the first device;
所述第一终端设备的标识;an identifier of the first terminal device;
所述第一设备和所述第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
在一种实施方式中,该方法还包括:第一网络设备接收第一指示信息,所述第一指示信息用于请求获取地址集合。In one embodiment, the method further includes: the first network device receives first indication information, where the first indication information is used to request to obtain an address set.
其中,第一网络设备接收第一指示信息可以包括:The first network device receiving the first indication information may include:
所述第一网络设备接收Nsmf_PDUSession_CreateSMContext Request消息,所述Nsmf_PDUSession_CreateSMContext Request消息携带所述第一指示信息。The first network device receives a Nsmf_PDUSession_CreateSMContext Request message, and the Nsmf_PDUSession_CreateSMContext Request message carries the first indication information.
在一种实施方式中,Nsmf_PDUSession_CreateSMContext Request消息还携带以下至少之一:In one implementation, the Nsmf_PDUSession_CreateSMContext Request message also carries at least one of the following:
所述第一设备的标识;an identifier of the first device;
所述第一设备和所述第一终端设备所属网络的标识;An identifier of a network to which the first device and the first terminal device belong;
请求获取的地址数量。The number of addresses requested.
在一种实施方式中,该方法还包括:第一网络设备在第一设备建立的会话对应的PDR中配置所述地址集合。In one implementation, the method further includes: the first network device configuring the address set in a PDR corresponding to a session established by the first device.
在一种实施方式中,该方法还包括:第一网络设备接收第一地址请求,所述第一地址请求携带所述第一终端设备的标识;所述第一网络设备从所述地址集合中选择为所述第一终端设备分配的地址,发送所述地址。In one embodiment, the method further includes: the first network device receives a first address request, the first address request carries an identifier of the first terminal device; the first network device selects an address allocated to the first terminal device from the address set, and sends the address.
其中,第一地址请求还可以携带以下至少之一:The first address request may also carry at least one of the following:
所述第一设备的标识;an identifier of the first device;
所述第一设备的地址;an address of the first device;
所述第一设备和所述第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
本实施例的地址分配方法的其他细节,可以参照上述实施例中第一网络设备的相关介绍,在此不再赘述。For other details of the address allocation method of this embodiment, reference may be made to the relevant introduction of the first network device in the above embodiment, which will not be repeated here.
图14是根据本申请实施例的一种地址分配方法1400的示意性流程图,该方法可以应用于图1-4中任一所示的系统,但并不仅限于此。该方法包括以下内容的至少部分内容。Fig. 14 is a schematic flow chart of an address allocation method 1400 according to an embodiment of the present application, which can be applied to any system shown in Figs. 1-4, but is not limited thereto. The method includes at least part of the following contents.
S1410、服务器设备接收来自第一设备的第二地址请求;S1410, the server device receives a second address request from the first device;
S1420、服务器设备根据第二地址请求,为第一设备关联的第一终端设备分配地址。S1420. The server device allocates an address to the first terminal device associated with the first device according to the second address request.
其中,该服务器设备可以为DN、AF、应用服务器等。第一设备可以包括PEGC,第一终端设备可以包括PINE。The server device may be a DN, an AF, an application server, etc. The first device may include a PEGC, and the first terminal device may include a PINE.
在一种实施方式中,该方法还包括:服务器设备将为所述第一终端设备分配的地址发送至第一设备。In one implementation, the method further includes: the server device sending the address allocated to the first terminal device to the first device.
在一种实施方式中,第二地址请求可以携带以下至少之一:In one implementation, the second address request may carry at least one of the following:
所述第一设备的标识;an identifier of the first device;
所述第一设备的地址;an address of the first device;
所述第一终端设备的标识;an identifier of the first terminal device;
所述第一设备和所述第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
在一种实施方式中,该方法还包括:服务器设备记录第一设备的地址与第一终端设备的地址之间的路由关系。In one implementation, the method further includes: the server device recording a routing relationship between the address of the first device and the address of the first terminal device.
在一种实施方式中,该方法还包括:当需要向第一终端设备发送数据时,根据所述路由关系,将所述数据发送至与所述第一终端设备之间存在路由关系的第一设备,并在所述数据中包含所述路由关系。In one embodiment, the method further includes: when data needs to be sent to the first terminal device, according to the routing relationship, sending the data to the first device that has a routing relationship with the first terminal device, and including the routing relationship in the data.
本实施例的地址分配方法的其他细节,可以参照上述实施例中服务器设备的相关介绍,在此不再赘述。For other details of the address allocation method of this embodiment, reference may be made to the relevant introduction of the server device in the above embodiment, which will not be repeated here.
图15是根据本申请实施例的一种地址分配方法1500的示意性流程图,该方法可以应用于图1-4中任一所示的系统,但并不仅限于此。该方法包括以下内容的至少部分内容。Fig. 15 is a schematic flow chart of an address allocation method 1500 according to an embodiment of the present application, which can be applied to any system shown in Figs. 1-4, but is not limited thereto. The method includes at least part of the following contents.
S1510、第三网络设备确定地址集合,该地址集合用于为第一设备关联的第一终端设备分配地址。S1510. The third network device determines an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
其中,第三网络设备可以包括UPF、SMF、AMF等网元,第一设备可以包括PEGC,第一终端设备可以包括PINE。Among them, the third network device may include network elements such as UPF, SMF, AMF, etc., the first device may include PEGC, and the first terminal device may include PINE.
在一种实施方式中,该方法还包括:第三网络设备将所述地址集合提供给第一网络设备。In one implementation, the method further includes: the third network device providing the address set to the first network device.
其中,第一网络设备可以包括SMF、UPF、AMF等网元。Among them, the first network device may include network elements such as SMF, UPF, AMF, etc.
在一种实施方式中,第三网络设备确定地址集合包括:第三网络设备确定帧路由信息,帧路由信息包含地址集合。In one implementation, the third network device determining the address set includes: the third network device determining frame routing information, where the frame routing information includes the address set.
帧路由信息还可以包含所述第一设备的地址。The frame routing information may also include the address of the first device.
在一种实施方式中,第三网络设备确定地址集合包括:In one implementation, the third network device determines the address set including:
第三网络设备确定IPv4地址和子网掩码,所述IPv4地址和子网掩码用于表示所述地址集合;和/或,The third network device determines an IPv4 address and a subnet mask, where the IPv4 address and the subnet mask are used to represent the address set; and/or,
第三网络设备确定IPv6地址和前缀,所述IPv6地址和前缀用于表示所述地址集合。The third network device determines an IPv6 address and a prefix, where the IPv6 address and the prefix are used to represent the address set.
IPv4地址或所述IPv6地址还可以表示第一设备的地址。The IPv4 address or the IPv6 address may also represent the address of the first device.
本实施例的地址分配方法的其他细节,可以参照上述实施例中第三网络设备的相关介绍,在此不再赘述。For other details of the address allocation method of this embodiment, reference may be made to the relevant introduction of the third network device in the above embodiment, which will not be repeated here.
本申请实施例还提出一种第一设备,图16是根据本申请实施例的第一设备1600的结构示意图,包括:The embodiment of the present application further provides a first device. FIG. 16 is a schematic structural diagram of the first device 1600 according to the embodiment of the present application, including:
第一接收模块1610,用于接收地址集合,地址集合用于为第一设备关联的第一终端设备分配地址。The first receiving module 1610 is used to receive an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
图17是根据本申请实施例的第一设备1700的结构示意图。该第一设备1700包括上述第一设备1600实施例的一个或多个特征。在一种可能的实现方式中,在本申请实施例中,还包括:FIG17 is a schematic diagram of the structure of a first device 1700 according to an embodiment of the present application. The first device 1700 includes one or more features of the above-mentioned first device 1600 embodiment. In a possible implementation, in the embodiment of the present application, it also includes:
选择模块1720,用于从地址集合中选择地址,将地址分配给第一设备关联的第一终端设备。The selection module 1720 is configured to select an address from the address set and allocate the address to a first terminal device associated with the first device.
在一些实施方式中,还包括:In some embodiments, it further comprises:
第一发送模块1730,用于向第一终端设备发送地址。The first sending module 1730 is configured to send an address to a first terminal device.
在一些实施方式中,第一接收模块1610,用于接收帧路由信息,帧路由信息包含地址集合。In some implementations, the first receiving module 1610 is configured to receive frame routing information, where the frame routing information includes an address set.
在一些实施方式中,帧路由信息还包含第一设备的地址。In some implementations, the frame routing information further includes an address of the first device.
在一些实施方式中,第一接收模块1610,用于:In some implementations, the first receiving module 1610 is configured to:
接收IPv4地址和子网掩码,IPv4地址和子网掩码用于表示地址集合;和/或,receiving an IPv4 address and a subnet mask, wherein the IPv4 address and the subnet mask are used to represent a set of addresses; and/or,
接收IPv6地址和前缀,IPv6地址和前缀用于表示地址集合。Receives an IPv6 address and prefix, which are used to represent a collection of addresses.
在一些实施方式中,IPv4地址或IPv6地址还表示第一设备的地址。In some embodiments, the IPv4 address or the IPv6 address also represents the address of the first device.
在一些实施方式中,第一接收模块1610,用于接收NAS消息,NAS消息携带地址集合。In some implementations, the first receiving module 1610 is configured to receive a NAS message, where the NAS message carries an address set.
在一些实施方式中,NAS消息还携带以下至少之一:In some implementations, the NAS message also carries at least one of the following:
第一设备的标识;an identifier of the first device;
第一设备的地址;the address of the first device;
第一终端设备的标识;The identifier of the first terminal device;
第一设备和第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
在一些实施方式中,第一发送模块1730,还用于发送第一指示信息,第一指示信息用于请求获取地址集合。In some implementations, the first sending module 1730 is further used to send first indication information, where the first indication information is used to request to obtain an address set.
在一些实施方式中,第一发送模块1730,用于发送NAS消息,NAS消息携带第一指示信息。In some implementations, the first sending module 1730 is configured to send a NAS message, where the NAS message carries the first indication information.
在一些实施方式中,其中,NAS消息还携带以下至少之一:In some implementations, the NAS message further carries at least one of the following:
第一设备的标识;an identifier of the first device;
第一设备和第一终端设备所属网络的标识;An identifier of a network to which the first device and the first terminal device belong;
请求获取的地址数量。The number of addresses requested.
在一些实施方式中,第一设备包括PEGC。In some embodiments, the first device comprises a PEGC.
在一些实施方式中,第一终端设备包括PINE。In some implementations, the first terminal device includes a PINE.
应理解,根据本申请实施例的第一设备中的模块的上述及其他操作和/或功能分别为了实现图5的方法500中的第一设备的相应流程,为了简洁,在此不再赘述。It should be understood that the above and other operations and/or functions of the modules in the first device according to the embodiment of the present application are respectively for implementing the corresponding processes of the first device in method 500 of Figure 5, and for the sake of brevity, they are not repeated here.
本申请实施例还提出一种第一网络设备,图18是根据本申请实施例的第一网络设备1800的结构示意图,包括:The embodiment of the present application further provides a first network device. FIG. 18 is a schematic diagram of the structure of the first network device 1800 according to the embodiment of the present application, including:
第一确定模块1810,用于确定地址集合,地址集合用于为第一设备关联的第一终端设备分配地址。The first determination module 1810 is used to determine an address set, where the address set is used to allocate an address to a first terminal device associated with a first device.
在一些实施方式中,第一确定模块1810,用于确定帧路由信息,帧路由信息包含地址集合。In some implementations, the first determination module 1810 is used to determine frame routing information, where the frame routing information includes an address set.
在一些实施方式中,帧路由信息还包含第一设备的地址。In some implementations, the frame routing information further includes an address of the first device.
在一些实施方式中,第一网络设备采用以下方式中的至少之一,确定帧路由信息:In some implementations, the first network device determines the frame routing information by at least one of the following methods:
通过查找签约信息获取帧路由信息;Obtain frame routing information by searching for contract information;
从DN-AAA服务器获取帧路由信息;Obtain frame routing information from the DN-AAA server;
生成帧路由信息;Generate frame routing information;
从第二网络设备获取帧路由信息。Frame routing information is obtained from the second network device.
在一些实施方式中,第一确定模块1810,用于:In some implementations, the first determining module 1810 is configured to:
获取IPv4地址和子网掩码,IPv4地址和子网掩码用于表示地址集合;和/或,Obtaining an IPv4 address and a subnet mask, where the IPv4 address and the subnet mask are used to represent a set of addresses; and/or,
获取IPv6地址和前缀,IPv6地址和前缀用于表示地址集合。Gets an IPv6 address and prefix. The IPv6 address and prefix are used to represent an address set.
在一些实施方式中,IPv4地址或IPv6地址还表示第一设备的地址。In some embodiments, the IPv4 address or the IPv6 address also represents the address of the first device.
在一些实施方式中,第一网络设备采用以下方式中的至少之一,确定地址集合:In some implementations, the first network device determines the address set by using at least one of the following methods:
通过查找签约信息获取地址集合;Get the address set by searching the contract information;
从DN-AAA服务器获取地址集合;Obtain the address set from the DN-AAA server;
分配地址集合;Assign address set;
从第二网络设备获取地址集合。A set of addresses is obtained from a second network device.
图19是根据本申请实施例的第一网络设备1900的结构示意图。该第一网络设备1900包括上述第一网络设备1800实施例的一个或多个特征。在一种可能的实现方式中,在本申请实施例中,还包括:FIG19 is a schematic diagram of the structure of a first network device 1900 according to an embodiment of the present application. The first network device 1900 includes one or more features of the first network device 1800 embodiment described above. In a possible implementation, in the embodiment of the present application, it further includes:
添加模块1920,用于将地址集合添加至第一设备请求建立或修改的会话对应的PDR中,将PDR提供给第二网络设备。The adding module 1920 is used to add the address set to the PDR corresponding to the session that the first device requests to establish or modify, and provide the PDR to the second network device.
在一些实施方式中,还包括:In some embodiments, it further comprises:
第二发送模块1930,用于发送地址集合。The second sending module 1930 is used to send an address set.
在一些实施方式中,第二发送模块1930,用于发送Namf_Communication_N1N2MessageTransfer消息,Namf_Communication_N1N2MessageTransfer消息携带地址集合。In some implementations, the second sending module 1930 is used to send a Namf_Communication_N1N2MessageTransfer message, where the Namf_Communication_N1N2MessageTransfer message carries an address set.
在一些实施方式中,Namf_Communication_N1N2MessageTransfer消息还携带以下至少之一:In some implementations, the Namf_Communication_N1N2MessageTransfer message further carries at least one of the following:
第一设备的标识;an identifier of the first device;
第一设备的地址;the address of the first device;
第一终端设备的标识;The identifier of the first terminal device;
第一设备和第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
在一些实施方式中,还包括:In some embodiments, it further comprises:
第二接收模块1940,用于接收第一指示信息,第一指示信息用于请求获取地址集合。The second receiving module 1940 is used to receive first indication information, where the first indication information is used to request to obtain an address set.
在一些实施方式中,第二接收模块1940,用于接收Nsmf_PDUSession_CreateSMContext Request消息,Nsmf_PDUSession_CreateSMContextRequest消息携带第一指示信息。In some embodiments, the second receiving module 1940 is used to receive an Nsmf_PDUSession_CreateSMContext Request message, and the Nsmf_PDUSession_CreateSMContext Request message carries the first indication information.
在一些实施方式中,Nsmf_PDUSession_CreateSMContext Request消息还携带以下至少之一:In some implementations, the Nsmf_PDUSession_CreateSMContext Request message also carries at least one of the following:
第一设备的标识;an identifier of the first device;
第一设备和第一终端设备所属网络的标识;An identifier of a network to which the first device and the first terminal device belong;
请求获取的地址数量。The number of addresses requested.
在一些实施方式中,还包括:In some embodiments, it further comprises:
配置模块1950,用于在第一设备建立的会话对应的PDR中配置地址集合。The configuration module 1950 is used to configure an address set in a PDR corresponding to a session established by the first device.
在一些实施方式中,还包括,地址选择模块1960,用于:In some implementations, the address selection module 1960 is further included, configured to:
接收第一地址请求,第一地址请求携带第一终端设备的标识;receiving a first address request, where the first address request carries an identifier of a first terminal device;
从地址集合中选择为第一终端设备分配的地址,发送地址。An address allocated to the first terminal device is selected from the address set, and the address is sent.
在一些实施方式中,第一地址请求还携带以下至少之一:In some implementations, the first address request further carries at least one of the following:
第一设备的标识;an identifier of the first device;
第一设备的地址;the address of the first device;
第一设备和第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
在一些实施方式中,第一网络设备包括SMF、UPF或其他核心网网元。In some embodiments, the first network device includes SMF, UPF or other core network elements.
在一些实施方式中,第一设备包括PEGC。In some embodiments, the first device comprises a PEGC.
在一些实施方式中,第一终端设备包括PINE。In some implementations, the first terminal device includes a PINE.
在一些实施方式中,第二网络设备包括UPF。In some implementations, the second network device includes a UPF.
应理解,根据本申请实施例的第一网络设备中的模块的上述及其他操作和/或功能分别为了实现图13的方法1300中的第一网络设备的相应流程,为了简洁,在此不再赘述。It should be understood that the above and other operations and/or functions of the module in the first network device according to the embodiment of the present application are respectively for implementing the corresponding processes of the first network device in method 1300 of Figure 13, and for the sake of brevity, they are not repeated here.
本申请实施例还提出一种服务器设备,图20是根据本申请实施例的服务器设备2000的结构示意图,包括:The embodiment of the present application further provides a server device. FIG. 20 is a schematic diagram of the structure of a server device 2000 according to the embodiment of the present application, including:
第三接收模块2010,用于接收来自第一设备的第二地址请求;The third receiving module 2010 is used to receive a second address request from the first device;
分配模块2020,用于根据第二地址请求,为第一设备关联的第一终端设备分配地址。The allocation module 2020 is used to allocate an address to the first terminal device associated with the first device according to the second address request.
图21是根据本申请实施例的服务器设备2100的结构示意图。该服务器设备2100包括上述服务器设备2000实施例的一个或多个特征。在一种可能的实现方式中,在本申请实施例中,还包括:FIG21 is a schematic diagram of the structure of a server device 2100 according to an embodiment of the present application. The server device 2100 includes one or more features of the above-mentioned server device 2000 embodiment. In a possible implementation, in the embodiment of the present application, it also includes:
第三发送模块2130,用于为第一终端设备分配的地址发送至第一设备。The third sending module 2130 is used to send the address allocated to the first terminal device to the first device.
在一些实施方式中,第二地址请求携带以下至少之一:In some implementations, the second address request carries at least one of the following:
第一设备的标识;an identifier of the first device;
第一设备的地址;the address of the first device;
第一终端设备的标识;The identifier of the first terminal device;
第一设备和第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
在一些实施方式中,还包括:In some embodiments, it further comprises:
记录模块2140,用于记录第一设备的地址与第一终端设备的地址之间的路由关系。The recording module 2140 is used to record the routing relationship between the address of the first device and the address of the first terminal device.
在一些实施方式中,记录模块2140还用于:In some implementations, the recording module 2140 is further configured to:
当需要向第一终端设备发送数据时,根据路由关系,将数据发送至与第一终端设备之间存在路由关系的第一设备,并在数据中包含路由关系。When data needs to be sent to the first terminal device, the data is sent to the first device having a routing relationship with the first terminal device according to the routing relationship, and the routing relationship is included in the data.
在一些实施方式中,第一设备包括PEGC。In some embodiments, the first device comprises a PEGC.
在一些实施方式中,第一终端设备包括PINE。In some implementations, the first terminal device includes a PINE.
应理解,根据本申请实施例的服务器设备中的模块的上述及其他操作和/或功能分别为了实现图14的方法1400中的服务器设备的相应流程,为了简洁,在此不再赘述。It should be understood that the above-mentioned and other operations and/or functions of the modules in the server device according to the embodiment of the present application are respectively for implementing the corresponding processes of the server device in method 1400 of Figure 14, and for the sake of brevity, they are not repeated here.
本申请实施例还提出一种第三网络设备,图22是根据本申请实施例的第三网络设备2200的结构示意图,包括:The embodiment of the present application further proposes a third network device. FIG. 22 is a schematic diagram of the structure of the third network device 2200 according to the embodiment of the present application, including:
第二确定模块2210,用于确定地址集合,地址集合用于为第一设备关联的第一终端设备分配地址。The second determination module 2210 is used to determine an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
图23是根据本申请实施例的第三网络设备2300的结构示意图。该第三网络设备2300包括上述第三网络设备2200实施例的一个或多个特征。在一种可能的实现方式中,在本申请实施例中,还包括:FIG23 is a schematic diagram of the structure of a third network device 2300 according to an embodiment of the present application. The third network device 2300 includes one or more features of the third network device 2200 embodiment described above. In a possible implementation, in the embodiment of the present application, it also includes:
提供模块2320,用于将地址集合提供给第一网络设备。A providing module 2320 is provided for providing the address set to the first network device.
在一些实施方式中,第二确定模块2210,用于确定帧路由信息,帧路由信息包含地址集合。In some implementations, the second determination module 2210 is used to determine frame routing information, where the frame routing information includes an address set.
在一些实施方式中,帧路由信息还包含第一设备的地址。In some implementations, the frame routing information further includes an address of the first device.
在一些实施方式中,第二确定模块2210,用于:In some implementations, the second determining module 2210 is configured to:
确定IPv4地址和子网掩码,IPv4地址和子网掩码用于表示地址集合;和/或,Determine an IPv4 address and a subnet mask, wherein the IPv4 address and the subnet mask are used to represent a set of addresses; and/or,
确定IPv6地址和前缀,IPv6地址和前缀用于表示地址集合。Determine the IPv6 address and prefix, which are used to represent a set of addresses.
在一些实施方式中,IPv4地址或IPv6地址还表示第一设备的地址。In some embodiments, the IPv4 address or the IPv6 address also represents the address of the first device.
在一些实施方式中,第三网络设备包括UPF。In some embodiments, the third network device includes a UPF.
在一些实施方式中,第一设备包括PEGC。In some embodiments, the first device comprises a PEGC.
在一些实施方式中,其中,第一终端设备包括PINE。In some embodiments, the first terminal device includes a PINE.
在一些实施方式中,第一网络设备包括SMF。In some implementations, the first network device includes a SMF.
应理解,根据本申请实施例的第三网络设备中的模块的上述及其他操作和/或功能分别为了实现图14的方法1400中的第三网络设备的相应流程,为了简洁,在此不再赘述。It should be understood that the above and other operations and/or functions of the modules in the third network device according to the embodiment of the present application are respectively for implementing the corresponding processes of the third network device in method 1400 of Figure 14, and for the sake of brevity, they are not repeated here.
需要说明,关于本申请实施例的通信设备中的各个模块(子模块、单元或组件等)所描述的功能,可以由不同的模块(子模块、单元或组件等)实现,也可以由同一个模块(子模块、单元或组件等)实现,举例来说,第一接收模块与第二接收模块可以是不同的模块,也可以是同一个模块,均能够实现其在本申请实施例中的相应功能。此外,本申请实施例中的发送模块和接收模块,可通过设备的收发机实现,其余各模块中的部分或全部可通过设备的处理器实现。It should be noted that the functions described in the various modules (submodules, units or components, etc.) in the communication device of the embodiment of the present application can be implemented by different modules (submodules, units or components, etc.) or by the same module (submodules, units or components, etc.). For example, the first receiving module and the second receiving module can be different modules or the same module, and both can implement their corresponding functions in the embodiment of the present application. In addition, the sending module and the receiving module in the embodiment of the present application can be implemented by the transceiver of the device, and some or all of the remaining modules can be implemented by the processor of the device.
图24是根据本申请实施例的通信设备2400示意性结构图。图24所示的通信设备2400包括处理器2410,处理器2410可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。Fig. 24 is a schematic structural diagram of a communication device 2400 according to an embodiment of the present application. The communication device 2400 shown in Fig. 24 includes a processor 2410, and the processor 2410 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
在一些实施方式中,如图24所示,通信设备2400还可以包括存储器2420。其中,处理器2410可以从存储器2420中调用并运行计算机程序,以实现本申请实施例中的通信设备。In some implementations, as shown in FIG24 , the communication device 2400 may further include a memory 2420. The processor 2410 may call and run a computer program from the memory 2420 to implement the communication device in the embodiment of the present application.
其中,存储器2420可以是独立于处理器2410的一个单独的器件,也可以集成在处理器2410中。The memory 2420 may be a separate device independent of the processor 2410 , or may be integrated into the processor 2410 .
在一些实施方式中,如图24所示,通信设备2400还可以包括收发器2430,处理器2410可以控制该收发器2430与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。In some embodiments, as shown in FIG. 24 , the communication device 2400 may further include a transceiver 2430 , and the processor 2410 may control the transceiver 2430 to communicate with other devices, specifically, may send information or data to other devices, or receive information or data sent by other devices.
其中,收发器2430可以包括发射机和接收机。收发器2430还可以进一步包括天线,天线的数量可以为一个或多个。The transceiver 2430 may include a transmitter and a receiver. The transceiver 2430 may further include an antenna, and the number of antennas may be one or more.
在一些实施方式中,该通信设备2400可为本申请实施例的通信设备,并且该通信设备2400可以实现本申请实施例的各个方法中由通信设备实现的相应流程,为了简洁,在此不再赘述。In some embodiments, the communication device 2400 may be the communication device of the embodiment of the present application, and the communication device 2400 may implement the corresponding processes implemented by the communication device in each method of the embodiment of the present application, which will not be repeated here for the sake of brevity.
图25是根据本申请实施例的芯片2500的示意性结构图。图25所示的芯片2500包括处理器2510,处理器2510可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。Fig. 25 is a schematic structural diagram of a chip 2500 according to an embodiment of the present application. The chip 2500 shown in Fig. 25 includes a processor 2510, and the processor 2510 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
在一些实施方式中,如图25所示,芯片2500还可以包括存储器2520。其中,处理器2510可以从存储器2520中调用并运行计算机程序,以实现本申请实施例中的方法。In some implementations, as shown in FIG25 , the chip 2500 may further include a memory 2520. The processor 2510 may call and run a computer program from the memory 2520 to implement the method in the embodiment of the present application.
其中,存储器2520可以是独立于处理器2510的一个单独的器件,也可以集成在处理器2510中。The memory 2520 may be a separate device independent of the processor 2510 , or may be integrated into the processor 2510 .
在一些实施方式中,该芯片2500还可以包括输入接口2530。其中,处理器2510可以控制该输入接口2530与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。In some implementations, the chip 2500 may further include an input interface 2530. The processor 2510 may control the input interface 2530 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.
在一些实施方式中,该芯片2500还可以包括输出接口2540。其中,处理器2510可以控制该输出接口2540与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。In some implementations, the chip 2500 may further include an output interface 2540. The processor 2510 may control the output interface 2540 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
在一些实施方式中,该芯片可应用于本申请实施例中的通信设备,并且该芯片可以实现本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。In some embodiments, the chip can be applied to the communication device in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the network device in each method of the embodiments of the present application. For the sake of brevity, they will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
上述提及的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、现成可编程门阵列(field programmable gate array,FPGA)、专用集成电路(application specific integrated circuit,ASIC)或者其他可编程逻辑器件、晶体管逻辑器件、分立硬件组件等。其中,上述提到的通用处理器可以是微处理器或者也可以是任何常规的处理器等。The processor mentioned above may be a general-purpose processor, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC) or other programmable logic devices, transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor mentioned above may be a microprocessor or any conventional processor, etc.
上述提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。The memory mentioned above may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM).
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be understood that the above-mentioned memory is exemplary but not restrictive. For example, the memory in the embodiment of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous link dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiment of the present application is intended to include but not limited to these and any other suitable types of memory.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如, 该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can 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 process or function described in the embodiment of the present application is 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 transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, The computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (Digital Subscriber Line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
以上所述仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以该权利要求的保护范围为准。The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims (61)

  1. 一种地址分配方法,包括:An address allocation method, comprising:
    第一设备接收地址集合,所述地址集合用于为所述第一设备关联的第一终端设备分配地址。The first device receives an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  2. 根据权利要求1所述的方法,还包括,The method according to claim 1, further comprising:
    所述第一设备从所述地址集合中选择地址,将所述地址分配给第一设备关联的第一终端设备。The first device selects an address from the address set, and allocates the address to a first terminal device associated with the first device.
  3. 根据权利要求2所述的方法,还包括,The method according to claim 2, further comprising:
    所述第一设备向所述第一终端设备发送所述地址。The first device sends the address to the first terminal device.
  4. 根据权利要求1-3中任一所述的方法,其中,所述第一设备接收地址集合,包括:The method according to any one of claims 1 to 3, wherein the first device receives the address set, comprising:
    所述第一设备接收帧路由信息,所述帧路由信息包含所述地址集合。The first device receives frame routing information, where the frame routing information includes the address set.
  5. 根据权利要求4所述的方法,其中,所述帧路由信息还包含所述第一设备的地址。The method according to claim 4, wherein the frame routing information further includes an address of the first device.
  6. 根据权利要求1-3中任一所述的方法,其中,所述第一设备接收地址集合,包括:The method according to any one of claims 1 to 3, wherein the first device receives the address set, comprising:
    所述第一设备接收IPv4地址和子网掩码,所述IPv4地址和子网掩码用于表示所述地址集合;和/或,The first device receives an IPv4 address and a subnet mask, where the IPv4 address and the subnet mask are used to represent the address set; and/or,
    所述第一设备接收IPv6地址和前缀,所述IPv6地址和前缀用于表示所述地址集合。The first device receives an IPv6 address and a prefix, where the IPv6 address and the prefix are used to represent the address set.
  7. 根据权利要求6所述的方法,其中,所述IPv4地址或所述IPv6地址还表示所述第一设备的地址。The method according to claim 6, wherein the IPv4 address or the IPv6 address also represents the address of the first device.
  8. 根据权利要求1-7中任一所述的方法,其中,所述第一设备接收地址集合,包括:The method according to any one of claims 1 to 7, wherein the first device receives the address set, comprising:
    所述第一设备接收NAS消息,所述NAS消息携带所述地址集合。The first device receives a NAS message, where the NAS message carries the address set.
  9. 根据权利要求8所述的方法,其中,所述NAS消息还携带以下至少之一:The method according to claim 8, wherein the NAS message further carries at least one of the following:
    所述第一设备的标识;an identifier of the first device;
    所述第一设备的地址;an address of the first device;
    所述第一终端设备的标识;an identifier of the first terminal device;
    所述第一设备和所述第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
  10. 根据权利要求1-9中任一所述的方法,还包括:The method according to any one of claims 1 to 9, further comprising:
    所述第一设备发送第一指示信息,所述第一指示信息用于请求获取地址集合。The first device sends first indication information, where the first indication information is used to request to obtain an address set.
  11. 根据权利要求10所述的方法,其中,所述第一设备发送第一指示信息,包括:The method according to claim 10, wherein the first device sending the first indication information comprises:
    所述第一设备发送NAS消息,所述NAS消息携带所述第一指示信息。The first device sends a NAS message, where the NAS message carries the first indication information.
  12. 根据权利要求11所述的方法,其中,所述NAS消息还携带以下至少之一:The method according to claim 11, wherein the NAS message further carries at least one of the following:
    所述第一设备的标识;an identifier of the first device;
    所述第一设备和所述第一终端设备所属网络的标识;An identifier of a network to which the first device and the first terminal device belong;
    请求获取的地址数量。The number of addresses requested.
  13. 根据权利要求1-12中任一所述的方法,其中,所述第一设备包括PEGC。The method according to any one of claims 1-12, wherein the first device comprises a PEGC.
  14. 根据权利要求1-13中任一所述的方法,其中,所述第一终端设备包括PINE。The method according to any one of claims 1-13, wherein the first terminal device comprises a PINE.
  15. 一种地址分配方法,包括:An address allocation method, comprising:
    第一网络设备确定地址集合,所述地址集合用于为第一设备关联的第一终端设备分配地址。The first network device determines an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  16. 根据权利要求15所述的方法,其中,所述第一网络设备确定地址集合,包括:The method according to claim 15, wherein the first network device determines the address set, comprising:
    所述第一网络设备确定帧路由信息,所述帧路由信息包含所述地址集合。The first network device determines frame routing information, wherein the frame routing information includes the address set.
  17. 根据权利要求16所述的方法,其中,所述帧路由信息还包含所述第一设备的地址。The method according to claim 16, wherein the frame routing information further includes an address of the first device.
  18. 根据权利要求16或17所述的方法,其中,所述第一网络设备采用以下方式中的至少之一,确定帧路由信息:The method according to claim 16 or 17, wherein the first network device determines the frame routing information by at least one of the following methods:
    通过查找签约信息获取所述帧路由信息;Acquire the frame routing information by searching the contract information;
    从DN-AAA服务器获取所述帧路由信息;Acquire the frame routing information from the DN-AAA server;
    生成所述帧路由信息;generating the frame routing information;
    从第二网络设备获取所述帧路由信息。The frame routing information is obtained from the second network device.
  19. 根据权利要求15所述的方法,其中,所述第一网络设备确定地址集合,包括:The method according to claim 15, wherein the first network device determines the address set, comprising:
    所述第一网络设备获取IPv4地址和子网掩码,所述IPv4地址和子网掩码用于表示所述地址集合;和/或,The first network device obtains an IPv4 address and a subnet mask, where the IPv4 address and the subnet mask are used to represent the address set; and/or,
    所述第一网络设备获取IPv6地址和前缀,所述IPv6地址和前缀用于表示所述地址集合。The first network device obtains an IPv6 address and a prefix, where the IPv6 address and the prefix are used to represent the address set.
  20. 根据权利要求19所述的方法,其中,所述IPv4地址或所述IPv6地址还表示所述第一设备的地址。The method according to claim 19, wherein the IPv4 address or the IPv6 address also represents an address of the first device.
  21. 根据权利要求19或20所述的方法,其中,所述第一网络设备采用以下方式中的至少之一,确定地址集合:The method according to claim 19 or 20, wherein the first network device determines the address set by at least one of the following methods:
    通过查找签约信息获取所述地址集合;Acquire the address set by searching the contract information;
    从DN-AAA服务器获取所述地址集合;Acquire the address set from the DN-AAA server;
    分配所述地址集合;allocating the address set;
    从第二网络设备获取所述地址集合。The address set is obtained from the second network device.
  22. 根据权利要求15-21中任一所述的方法,还包括:The method according to any one of claims 15 to 21, further comprising:
    所述第一网络设备将所述地址集合添加至所述第一设备请求建立或修改的会话对应的PDR中,将所述PDR提供给第二网络设备。The first network device adds the address set to the PDR corresponding to the session that the first device requests to establish or modify, and provides the PDR to the second network device.
  23. 根据权利要求15-22中任一所述的方法,还包括:所述第一网络设备发送所述地址集合。The method according to any one of claims 15-22 further includes: the first network device sending the address set.
  24. 根据权利要求23所述的方法,其中,所述第一网络设备发送所述地址集合包括:The method according to claim 23, wherein the first network device sending the address set comprises:
    所述第一网络设备发送Namf_Communication_N1N2MessageTransfer消息,所述Namf_Communication_N1N2MessageTransfer消息携带所述地址集合。The first network device sends a Namf_Communication_N1N2MessageTransfer message, and the Namf_Communication_N1N2MessageTransfer message carries the address set.
  25. 根据权利要求24所述的方法,其中,The method according to claim 24, wherein
    所述Namf_Communication_N1N2MessageTransfer消息还携带以下至少之一:The Namf_Communication_N1N2MessageTransfer message also carries at least one of the following:
    所述第一设备的标识;an identifier of the first device;
    所述第一设备的地址;an address of the first device;
    所述第一终端设备的标识;an identifier of the first terminal device;
    所述第一设备和所述第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
  26. 根据权利要求15-25中任一所述的方法,还包括:The method according to any one of claims 15 to 25, further comprising:
    所述第一网络设备接收第一指示信息,所述第一指示信息用于请求获取地址集合。The first network device receives first indication information, where the first indication information is used to request to obtain an address set.
  27. 根据权利要求26所述的方法,其中,所述第一网络设备接收第一指示信息包括:The method according to claim 26, wherein the first network device receiving the first indication information comprises:
    所述第一网络设备接收Nsmf_PDUSession_CreateSMContext Request消息,所述Nsmf_PDUSession_CreateSMContext Request消息携带所述第一指示信息。The first network device receives a Nsmf_PDUSession_CreateSMContext Request message, and the Nsmf_PDUSession_CreateSMContext Request message carries the first indication information.
  28. 根据权利要求27所述的方法,其中,The method according to claim 27, wherein
    所述Nsmf_PDUSession_CreateSMContext Request消息还携带以下至少之一:The Nsmf_PDUSession_CreateSMContext Request message also carries at least one of the following:
    所述第一设备的标识;an identifier of the first device;
    所述第一设备和所述第一终端设备所属网络的标识;An identifier of a network to which the first device and the first terminal device belong;
    请求获取的地址数量。The number of addresses requested.
  29. 根据权利要求15、16、17、19或20所述的方法,还包括:The method of claim 15, 16, 17, 19 or 20, further comprising:
    所述第一网络设备在所述第一设备建立的会话对应的PDR中配置所述地址集合。The first network device configures the address set in a PDR corresponding to the session established by the first device.
  30. 根据权利要求15或29所述的方法,还包括:The method according to claim 15 or 29, further comprising:
    所述第一网络设备接收第一地址请求,所述第一地址请求携带所述第一终端设备的标识;The first network device receives a first address request, where the first address request carries an identifier of the first terminal device;
    所述第一网络设备从所述地址集合中选择为所述第一终端设备分配的地址,发送所述地址。The first network device selects an address allocated to the first terminal device from the address set, and sends the address.
  31. 根据权利要求30所述的方法,其中,所述第一地址请求还携带以下至少之一:The method according to claim 30, wherein the first address request further carries at least one of the following:
    所述第一设备的标识;an identifier of the first device;
    所述第一设备的地址;an address of the first device;
    所述第一设备和所述第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
  32. 根据权利要求15-31中任一所述的方法,其中,所述第一网络设备包括SMF、UPF或其他核心网网元。According to any method described in claims 15-31, the first network device includes SMF, UPF or other core network elements.
  33. 根据权利要求15-32中任一所述的方法,其中,所述第一设备包括PEGC。The method according to any one of claims 15-32, wherein the first device comprises a PEGC.
  34. 根据权利要求15-33中任一所述的方法,其中,所述第一终端设备包括PINE。The method according to any one of claims 15-33, wherein the first terminal device comprises a PINE.
  35. 根据权利要求18或21所述的方法,其中,所述第二网络设备包括UPF。The method according to claim 18 or 21, wherein the second network device comprises a UPF.
  36. 一种地址分配方法,包括:An address allocation method, comprising:
    服务器设备接收来自第一设备的第二地址请求;The server device receives a second address request from the first device;
    所述服务器设备根据所述第二地址请求,为所述第一设备关联的第一终端设备分配地址。The server device allocates an address to a first terminal device associated with the first device according to the second address request.
  37. 根据权利要求36所述的方法,还包括,The method according to claim 36, further comprising,
    所述服务器设备将为所述第一终端设备分配的地址发送至所述第一设备。The server device sends the address allocated to the first terminal device to the first device.
  38. 根据权利要求36或37所述的方法,其中,所述第二地址请求携带以下至少之一:The method according to claim 36 or 37, wherein the second address request carries at least one of the following:
    所述第一设备的标识;an identifier of the first device;
    所述第一设备的地址;an address of the first device;
    所述第一终端设备的标识;an identifier of the first terminal device;
    所述第一设备和所述第一终端设备所属网络的标识。An identifier of the network to which the first device and the first terminal device belong.
  39. 根据权利要求36-38中任一所述的方法,还包括:The method according to any one of claims 36 to 38, further comprising:
    所述服务器设备记录所述第一设备的地址与所述第一终端设备的地址之间的路由关系。The server device records a routing relationship between the address of the first device and the address of the first terminal device.
  40. 根据权利要求39所述的方法,还包括:The method according to claim 39, further comprising:
    当需要向第一终端设备发送数据时,根据所述路由关系,将所述数据发送至与所述第一终端设备之间存在路由关系的第一设备,并在所述数据中包含所述路由关系。When data needs to be sent to the first terminal device, the data is sent to the first device having a routing relationship with the first terminal device according to the routing relationship, and the routing relationship is included in the data.
  41. 根据权利要求36-40中任一所述的方法,其中,所述第一设备包括PEGC。The method according to any one of claims 36-40, wherein the first device comprises a PEGC.
  42. 根据权利要求36-41中任一所述的方法,其中,所述第一终端设备包括PINE。The method according to any one of claims 36-41, wherein the first terminal device comprises a PINE.
  43. 一种地址分配方法,包括:An address allocation method, comprising:
    第三网络设备确定地址集合,所述地址集合用于为第一设备关联的第一终端设备分配地址。The third network device determines an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  44. 根据权利要求43所述的方法,还包括,所述第三网络设备将所述地址集合提供给第一网络设备。The method of claim 43, further comprising the third network device providing the address set to the first network device.
  45. 根据权利要求43或44所述的方法,其中,所述第三网络设备确定地址集合包括:The method according to claim 43 or 44, wherein the third network device determines the address set comprises:
    所述第三网络设备确定帧路由信息,所述帧路由信息包含所述地址集合。The third network device determines frame routing information, wherein the frame routing information includes the address set.
  46. 根据权利要求45所述的方法,其中,所述帧路由信息还包含所述第一设备的地址。The method of claim 45, wherein the frame routing information further includes an address of the first device.
  47. 根据权利要求43或44所述的方法,其中,所述第三网络设备确定地址集合包括:The method according to claim 43 or 44, wherein the third network device determines the address set comprises:
    所述第三网络设备确定IPv4地址和子网掩码,所述IPv4地址和子网掩码用于表示所述地址集合;和/或,The third network device determines an IPv4 address and a subnet mask, wherein the IPv4 address and the subnet mask are used to represent the address set; and/or,
    所述第三网络设备确定IPv6地址和前缀,所述IPv6地址和前缀用于表示所述地址集合。The third network device determines an IPv6 address and a prefix, where the IPv6 address and the prefix are used to represent the address set.
  48. 根据权利要求47所述的方法,其中,所述IPv4地址或所述IPv6地址还表示所述第一设备的地址。The method according to claim 47, wherein the IPv4 address or the IPv6 address also represents the address of the first device.
  49. 根据权利要求43-48中任一所述的方法,其中,所述第三网络设备包括UPF。The method according to any one of claims 43-48, wherein the third network device includes a UPF.
  50. 根据权利要求43-49中任一所述的方法,其中,所述第一设备包括PEGC。The method according to any one of claims 43-49, wherein the first device comprises a PEGC.
  51. 根据权利要求43-50中任一所述的方法,其中,所述第一终端设备包括PINE。The method according to any one of claims 43-50, wherein the first terminal device comprises a PINE.
  52. 根据权利要求44所述的方法,其中,所述第一网络设备包括SMF。The method of claim 44, wherein the first network device comprises an SMF.
  53. 一种第一设备,包括:A first device includes:
    第一接收模块,用于接收地址集合,所述地址集合用于为所述第一设备关联的第一终端设备分配地址。The first receiving module is used to receive an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  54. 一种第一网络设备,包括:A first network device includes:
    第一确定模块,用于确定地址集合,所述地址集合用于为第一设备关联的第一终端设备分配地址。The first determination module is used to determine an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  55. 一种服务器设备,包括:A server device, comprising:
    第三接收模块,用于接收来自第一设备的第二地址请求;A third receiving module, configured to receive a second address request from the first device;
    分配模块,用于根据所述第二地址请求,为所述第一设备关联的第一终端设备分配地址。An allocation module is used to allocate an address to a first terminal device associated with the first device according to the second address request.
  56. 一种第三网络设备,包括:A third network device, comprising:
    第二确定模块,用于确定地址集合,所述地址集合用于为第一设备关联的第一终端设备分配地址。The second determination module is used to determine an address set, where the address set is used to allocate an address to a first terminal device associated with the first device.
  57. 一种通信设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1至14、15至35、36至42、或43至52中任一项所述的方法。A communication device comprises: a processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute a method as described in any one of claims 1 to 14, 15 to 35, 36 to 42, or 43 to 52.
  58. 一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至14、15至35、36至42、或43至52中任一所述的方法。A chip, comprising: a processor, configured to call and run a computer program from a memory, so that a device equipped with the chip executes a method as described in any one of claims 1 to 14, 15 to 35, 36 to 42, or 43 to 52.
  59. 一种计算机可读存储介质,用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1至14、15至35、36至42、或43至52中任一所述的方法。A computer-readable storage medium for storing a computer program, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 14, 15 to 35, 36 to 42, or 43 to 52.
  60. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至14、15至35、36至42、或43至52中任一所述的方法。A computer program product comprising computer program instructions, the computer program instructions causing a computer to execute the method according to any one of claims 1 to 14, 15 to 35, 36 to 42, or 43 to 52.
  61. 一种计算机程序,所述计算机程序使得计算机执行如权利要求1至14、15至35、36至42、或43至52中任一所述的方法。A computer program causing a computer to execute the method of any one of claims 1 to 14, 15 to 35, 36 to 42, or 43 to 52.
PCT/CN2022/127158 2022-10-24 2022-10-24 Address allocation method and device WO2024086996A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/127158 WO2024086996A1 (en) 2022-10-24 2022-10-24 Address allocation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/127158 WO2024086996A1 (en) 2022-10-24 2022-10-24 Address allocation method and device

Publications (1)

Publication Number Publication Date
WO2024086996A1 true WO2024086996A1 (en) 2024-05-02

Family

ID=90829678

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/127158 WO2024086996A1 (en) 2022-10-24 2022-10-24 Address allocation method and device

Country Status (1)

Country Link
WO (1) WO2024086996A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021228419A1 (en) * 2020-05-13 2021-11-18 Telefonaktiebolaget Lm Ericsson (Publ) Reuse of ip addresses
CN113783976A (en) * 2021-09-24 2021-12-10 阿里巴巴达摩院(杭州)科技有限公司 Address allocation method, and address allocation method and device of live broadcast terminal
WO2022170518A1 (en) * 2021-02-09 2022-08-18 Oppo广东移动通信有限公司 Method and apparatus for determining address of terminal device, and network device
CN115086276A (en) * 2022-07-14 2022-09-20 中国联合网络通信集团有限公司 Address management method, device, equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021228419A1 (en) * 2020-05-13 2021-11-18 Telefonaktiebolaget Lm Ericsson (Publ) Reuse of ip addresses
WO2022170518A1 (en) * 2021-02-09 2022-08-18 Oppo广东移动通信有限公司 Method and apparatus for determining address of terminal device, and network device
CN113783976A (en) * 2021-09-24 2021-12-10 阿里巴巴达摩院(杭州)科技有限公司 Address allocation method, and address allocation method and device of live broadcast terminal
CN115086276A (en) * 2022-07-14 2022-09-20 中国联合网络通信集团有限公司 Address management method, device, equipment and system

Similar Documents

Publication Publication Date Title
JP7095942B2 (en) Communication methods, communication devices, and communication systems
TW202306401A (en) Communication method and apparatus
WO2020221360A1 (en) Communication method and device
WO2020151584A1 (en) Network configuration method and communication apparatus
US11877251B2 (en) Time synchronization method, electronic device and storage medium
US20230156833A1 (en) Packet Forwarding Method, Apparatus, and System
US20220263879A1 (en) Multicast session establishment method and network device
US20240107417A1 (en) Communication method and apparatus
WO2022160123A1 (en) Access mode selection method, terminal device, and network device
US20230388756A1 (en) Communication method and apparatus for multicast/broadcast service
KR101340019B1 (en) Apparatus and method to access to a local network in a communication system supporting a local network internet protocol access scheme
WO2024086996A1 (en) Address allocation method and device
WO2022160205A1 (en) Data transmission method, terminal devices, and network device
WO2023141909A1 (en) Wireless communication method, remote ue, and network element
WO2022233011A1 (en) Method for establishing connection, and terminal device
WO2024124413A1 (en) Management methods and devices
WO2023212872A1 (en) External ip interface management in 5gs ip router node
WO2023020046A1 (en) Communication method and communication apparatus
WO2022155825A1 (en) Methods for establishing communication connection, communication devices, and network function entity
WO2022198466A1 (en) Discovery method and terminal
WO2023051381A1 (en) Application server determination method and apparatus
WO2023051431A1 (en) Communication method and apparatus
WO2023283901A1 (en) Data transmission method and apparatus, terminal device and network terminal
WO2023070684A1 (en) Wireless communication method, and device
WO2022027526A1 (en) Access method, terminal device and network device

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

Country of ref document: EP

Kind code of ref document: A1