WO2019185062A1 - 一种通信方法及装置 - Google Patents

一种通信方法及装置 Download PDF

Info

Publication number
WO2019185062A1
WO2019185062A1 PCT/CN2019/080637 CN2019080637W WO2019185062A1 WO 2019185062 A1 WO2019185062 A1 WO 2019185062A1 CN 2019080637 W CN2019080637 W CN 2019080637W WO 2019185062 A1 WO2019185062 A1 WO 2019185062A1
Authority
WO
WIPO (PCT)
Prior art keywords
network
message
packet
address
session
Prior art date
Application number
PCT/CN2019/080637
Other languages
English (en)
French (fr)
Inventor
周润泽
聂胜贤
陈中平
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to BR112020020034-4A priority Critical patent/BR112020020034A2/pt
Priority to EP19775010.2A priority patent/EP3761708B1/en
Publication of WO2019185062A1 publication Critical patent/WO2019185062A1/zh
Priority to US17/036,909 priority patent/US11528225B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/38Flow based routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/04Communication route or path selection, e.g. power-based or shortest path routing based on wireless node resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • H04L47/125Avoiding congestion; Recovering from congestion by balancing the load, e.g. traffic engineering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Definitions

  • the present application relates to the field of communications technologies, and in particular, to a communication method and apparatus.
  • a packet data unit (PDU) session is a session between a user equipment (UE) and a data network (DN) to provide a PDU connection service.
  • the session management device for example, a session management function (SMF) network element
  • SMF session management function
  • UPF user plane function
  • the UPF together with the radio access network (RAN) serving the UE, constitutes a data channel for processing a message of the PDU session.
  • NAS non-access stratum
  • IP internet protocol
  • a PDU session can be associated with a network instance. For example, the access network device of the data channel of the PDU session belongs to a network instance.
  • the user plane device receives the packets of multiple access network devices.
  • the user plane device accurately forwards the packets.
  • the embodiment of the present invention provides a communication method and device, which are used to solve the problem of how a user plane device forwards a packet.
  • an embodiment of the present application provides a communication method, where the method includes:
  • the user plane device receives a first message from the session management device; the first message is used to request to establish or update a first session, where the first message includes a first instance of a network instance to which the access network device serving the terminal belongs a network instance identifier, and a network address of the access network device; the network address is located in a packet forwarding rule of the first message;
  • the user plane device receives the packet, and determines that the received packet is applicable to the packet forwarding rule in the first message, and uses the packet forwarding address to send the packet.
  • the network address of the access network device and the first network instance identifier of the network instance to which the access network device belongs may be The unique identifier of the access network device determines the packet forwarding address of the packet sent to the access network device, so that the receiver of the packet can be uniquely determined, and the receiver cannot be determined when the packet is only routed according to the network address.
  • the first network instance identifier is located in the packet forwarding rule; or the first network instance identifier is located in the first message and is located outside the packet forwarding rule. .
  • the first message further includes at least one packet detection rule associated with the packet forwarding rule
  • the user plane device determines that the received packet is applicable to the packet forwarding rule in the first message, and includes:
  • the user plane device matches the at least one packet detection rule according to the received packet header information of the packet, if the matching succeeds, it is determined that the packet applies the packet forwarding rule.
  • the message forwarding address is any one or more of the following combinations:
  • the tunnel endpoint identifies the TEID
  • the virtual LAN identifies the VLAN ID.
  • the embodiment of the present application provides a communication apparatus, and the communication apparatus can perform any one of the foregoing methods.
  • the above apparatus includes one or more processing units, communication units.
  • the one or more processing units are configured to support the apparatus to perform the corresponding functions of the session management device in the above method.
  • the communication unit is configured to support the device to communicate with other devices to implement receiving and/or transmitting functions. For example, the first message is sent.
  • the device may be a UPF or the like, and the communication unit may be a communication interface.
  • the communication interface may also be an input/output circuit or an interface.
  • the device can also be a communication chip.
  • the communication unit may be an input/output circuit or interface of a communication chip.
  • the above device includes a communication interface and a processor.
  • the processor is configured to control a communication interface to send and receive signals, and the processor is configured to perform the method of the user plane device in the first aspect or the first aspect of the possible implementation.
  • the device comprises a memory for storing a computer program that can perform any of the first aspect or the first aspect.
  • an embodiment of the present application provides a communication method, including:
  • the session management device receives a request to establish or update a second session for the terminal
  • the session management device sends a first message to the user plane device, where the first message is used to request to establish or update a first session, where the first session is associated with the second session, in the first message
  • the first network instance identifier and the network address are included; the network address is located in a packet forwarding rule of the first message.
  • the session management device obtains the first network instance identifier of the network instance to which the access network device serving the terminal belongs, including:
  • the session management device receives the first network instance identifier from an access and mobility management device;
  • the session management device receives the first network instance identifier from the access network device;
  • the session management device Determining, by the session management device, the first network instance identifier according to a first parameter from the terminal or the access network device, and a second parameter saved by the session management device;
  • the first parameter is The identifier of the access network device, one or a combination of the network addresses of the access network device;
  • the second parameter is a correspondence between one or more of the first parameters and the network instance identifier.
  • the method further includes:
  • the session management device sends the second network instance identifier to the access network device.
  • the embodiment of the present application provides a communication apparatus, and the communication apparatus can perform any one of the foregoing methods.
  • the above apparatus includes one or more processing units, communication units.
  • the one or more processing units are configured to support the apparatus to perform the corresponding functions of the user plane device in the above method.
  • the communication unit is configured to support the device to communicate with other devices to implement receiving and/or transmitting functions. For example, receiving the first message.
  • the device may be an SMF or the like, and the communication unit may be a communication interface.
  • the communication interface may also be an input/output circuit or an interface.
  • the device can also be a communication chip.
  • the communication unit may be an input/output circuit or interface of a communication chip.
  • the above device includes a communication interface and a processor.
  • the processor is configured to control a communication interface to transmit and receive signals, and the processor is configured to perform the method performed by the session management device in any of the possible implementations of the second aspect or the second aspect.
  • the device comprises a memory for storing a computer program that can perform any of the possible implementations of the second aspect or the second aspect.
  • an embodiment of the present application provides a communication method, including:
  • the user plane device receives a first message from the session management device; the first message is used to request to establish or update a first session, where the first message includes a packet forwarding address of an access network device serving the terminal, and Packet forwarding rules.
  • the user plane device receives the packet, and determines that the received packet is applicable to the packet forwarding rule in the first message, and uses the packet forwarding address to send the packet.
  • the packet forwarding address of the access network device is corresponding to the network address of the access network device and the first network instance identifier of the network instance to which the access network device belongs,
  • the network address of the network device and the first network instance identifier of the network instance to which the access network device belongs may uniquely identify the access network device. Therefore, the packet forwarding address of the access network device can be avoided, and the network address can be avoided only according to the network address.
  • the receiver's problem cannot be determined when routing messages.
  • the embodiment of the present application provides a communication apparatus, and the communication apparatus can perform any one of the foregoing methods.
  • the above apparatus includes one or more processing units, communication units.
  • the one or more processing units are configured to support the apparatus to perform the corresponding functions of the terminal in the above method.
  • the communication unit is configured to support the device to communicate with other devices to implement receiving and/or transmitting functions. For example, a NAS session request message is sent.
  • the device may be a UPF or the like, and the communication unit may be a communication interface or a transceiver circuit.
  • the communication interface may also be an input/output circuit or an interface.
  • the device can also be a communication chip.
  • the communication unit may be an input/output circuit or interface of a communication chip.
  • the above device includes a communication interface and a processor.
  • the processor is configured to control a communication interface to send and receive signals, and the processor is configured to perform the method for completing the user plane device in any of the possible implementations of the third aspect or the third aspect.
  • the device comprises a memory for storing a computer program that can perform any of the possible implementations of the third aspect or the third aspect.
  • an embodiment of the present application provides a system, where the system includes one or more of the foregoing session management device and user plane device.
  • the session management device may also be used to perform the steps performed by the session management device in the solution provided by the embodiment of the present application;
  • the user plane device may also be used to perform the steps performed by the user plane device in the solution provided by the embodiment of the present application.
  • system may further include other devices that interact with the session management device and/or the user plane device in the solution provided by the embodiment of the present application, for example, an access and mobility management device, and access Network equipment, or terminal equipment.
  • other devices that interact with the session management device and/or the user plane device in the solution provided by the embodiment of the present application, for example, an access and mobility management device, and access Network equipment, or terminal equipment.
  • the embodiment of the present application provides a computer readable storage medium, for storing a computer program, where the computer program includes a method for performing the method in any one of the foregoing aspects or any of the possible implementations. instruction.
  • an embodiment of the present application provides a computer program product, where the computer program product includes: computer program code, when the computer program code is run on a computer, causing the computer to perform any one or any of the foregoing aspects A method in any of the possible implementations.
  • FIG. 1 is a schematic diagram of a communication system suitable for use in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a communication method according to an embodiment of the present application.
  • FIG. 3 is a schematic flowchart of a communication method according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a communication apparatus according to an embodiment of the present application.
  • NR new radio
  • 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
  • UMTS universal mobile telecommunication system
  • eLTE evolved long term evolution
  • FIG. 1 shows a schematic diagram of a communication system suitable for the communication method of the embodiment of the present application.
  • the communication system 100 includes a network device 102 and a terminal device 106.
  • the network device 102 can be configured with multiple antennas, and the terminal device can also be configured with multiple antennas.
  • the communication system may also include a network device 104, which may also be configured with multiple antennas.
  • network device 102 or network device 104 may also include multiple components (eg, processors, modulators, multiplexers, demodulators or demultiplexers, etc.) associated with signal transmission and reception.
  • multiple components eg, processors, modulators, multiplexers, demodulators or demultiplexers, etc.
  • the terminal is a device having a wireless transceiver function or a chip that can be disposed on the device, and may also be referred to as a user equipment (UE), an access terminal, a subscriber unit, a subscriber station, a mobile station, Mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device.
  • UE user equipment
  • the terminal in the embodiment of the present application may be a mobile phone, a tablet, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, and an industrial Wireless terminal in industrial control, wireless terminal in self driving, wireless terminal in remote medical, wireless terminal in smart grid, transportation safety A wireless terminal in a wireless terminal, a wireless terminal in a smart city, a wireless terminal in a smart home, and the like.
  • the embodiment of the present application does not limit the application scenario.
  • the aforementioned terminal and a chip that can be disposed in the terminal are collectively referred to as a terminal.
  • the access network device is a device with a wireless transceiver function or a chip that can be disposed on the device, including but not limited to: next generation radio access networks (NG-RAN), evolved node B (evolved Node B, eNB), radio network controller (RNC), Node B (Node B, NB), base station controller (BSC), base transceiver station (BTS) , a home base station (for example, home evolved NodeB, or home Node B, HNB), a baseband unit (BBU), an access point (AP) in a wireless fidelity (WIFI) system, wireless
  • the relay node, the wireless backhaul node, the transmission and reception point (TRP or transmission point, TP), etc. may also be 5G, such as NR, gNB in the system, or transmission point (TRP or TP), One or a group (including multiple antenna panels) antenna panels of a base station in a 5G system, or may also be a network node constituting a gNB or
  • the session management network element is mainly responsible for session management functions in the mobile network, such as session establishment, modification, and release. Specific functions include assigning an IP address to a user, and selecting a user plane function network element that provides a packet forwarding function.
  • the session management network element may be an SMF network element.
  • future communication such as a 6th generation (6th generation, 6G)
  • the session management network element may still be an SMF network element. , or have other names, this application is not limited.
  • the user plane network element is mainly responsible for processing user packets, such as forwarding and accounting.
  • the user plane network element may be a UPF network element.
  • the user plane network element may still be a UPF network element, or have other names, which are not limited in this application.
  • the network element may be a physical device, a network component in a hardware device, a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
  • the network architecture and the service scenario described in the embodiments of the present application are for the purpose of more clearly illustrating the technical solutions of the embodiments of the present application, and do not constitute a limitation of the technical solutions provided by the embodiments of the present application.
  • the technical solutions provided by the embodiments of the present application are equally applicable to similar technical problems.
  • a network instance is used to represent a domain in a network.
  • the network addresses of all network devices in a domain cannot be the same, or the MAC addresses of each device are different.
  • a network instance ID is an identifier used to identify a network instance.
  • the packet forwarding rule may be a user plane function for performing packet exchange or transmission.
  • the SMF sends a packet forwarding rule to the UPF.
  • the rule is used to indicate how the UPF forwards the packet.
  • the forwarding logic may include Cache, send, or drop packets.
  • the packet forwarding rule may include one or more of the following: 1. a first network instance identifier of a network instance to which the access network device belongs; 2: an interface address of the access network device; 3. an access network device The network address, wherein the network address is a network address of the access network device accessed by the terminal, the network address may be an IP address, etc.; 4. The network instance identifier is associated with the access network device tunnel identifier.
  • the interface address is relative to the access network device.
  • the interface address is generally the hardware address of the access network device, and is written to the device when the access network device leaves the factory, such as a MAC address.
  • the virtual interface address created in the access network device may be an address of the access network device outside the IP layer, and used to mark the access network device outside the IP layer.
  • the interface address may be any one or more of the following combinations:
  • the tunnel endpoint identifies the TEID
  • the virtual LAN identifies the VLAN ID.
  • the network address, the network address can be the address of the device in the network, for example, can be an IP address, etc., no longer one by one.
  • the packet forwarding address which is relative to the user plane device, and the user plane device can forward the received packet to the device corresponding to the packet forwarding address.
  • the interface address is equivalent to the packet forwarding address, that is, the interface address of the access network device, and from the perspective of the user plane device, the packet is forwarded to the access network device. Text forwarding address.
  • the packet forwarding address may be any one or more of the following combinations:
  • the tunnel endpoint identifies the TEID
  • the virtual LAN identifies the VLAN ID.
  • the tunnel identifier which can be a tunnel endpoint identifier (TEID), is used to identify the forwarding channel of the packet.
  • TEID tunnel endpoint identifier
  • the first session the session between the session management device and the user plane device, may be an N4 session in 5G, and the session name may change in a future network.
  • the N4 session is taken as an example, but a person skilled in the art can replace the situation according to the actual situation;
  • the second session the session between the terminal and the data network, can be a NAS session in 5G, and the name in the future network. May change.
  • the NAS session is taken as an example, but a person skilled in the art can perform the replacement according to the actual situation;
  • the first session has an association relationship with the second session.
  • the session management device can create after determining that the NAS session needs to be established.
  • FIG. 2 it is a schematic flowchart of a communication method according to an embodiment of the present application.
  • the user plane device may be referred to as a UPF network element
  • the session management device may be an SMF network element, etc., which is not limited in this embodiment of the present application.
  • the method includes:
  • Step 201 The session management device receives a request for establishing or updating a second session for the terminal, and acquires a first network instance identifier of the network instance to which the access network device serving the terminal belongs.
  • the session management device may be a separate physical device or a functional module in one device.
  • Other devices in the embodiments of the present application may be an independent physical device, or may be a functional module in one device.
  • the second session can be a NAS session.
  • Step 202 The session management device sends a first message to the user plane device.
  • the first message is used to request to establish or update a first session, where the first session has an association relationship with the second session, and the first message includes the first network instance identifier and a network address.
  • the network address is located in a packet forwarding rule of the first message, where the first message is used to request to establish or update an N4 session, where the first message includes the network instance identifier and a network address;
  • the network address is located in a packet forwarding rule of the first message.
  • the first message may be a message such as an N4 session establishment request message.
  • the name of the first message is not limited in this embodiment of the present application, and is not illustrated herein.
  • Step 203 The user plane device receives the first message from the session management device.
  • Step 204 The user plane device determines a packet forwarding address according to the first network instance identifier and the network address.
  • Step 205 The user plane device receives the packet, and determines that the received packet is applicable to the packet forwarding rule in the first message, and uses the packet forwarding address to send the packet.
  • the user plane device may receive the message first, or may receive the first message first, which is not limited in this embodiment of the present application.
  • the session management device may receive the request for establishing or updating the second session sent by the terminal, or may receive the request for establishing or updating the second session sent by the access network device served by the terminal, where the application is implemented.
  • This example is not limited to this.
  • the method for establishing or updating the second session is not limited. For details, refer to the description in the prior art, and details are not described herein again.
  • the session management device receives the request for establishing or updating the second session for the terminal, and the time sequence between the first network instance identifier and the first network instance identifier.
  • the embodiment of the present application does not limit this, and may occur simultaneously or sequentially.
  • the session management device may obtain the first network instance identifier in multiple manners, which is described in detail below.
  • the session management device receives the first network instance identifier sent by the access and mobility management device.
  • the access and mobility management device acquires the first network instance identifier of the access network device.
  • the device start request message including the identifier of the first network instance is sent through the access network.
  • the device start request message is used to indicate that the access network device has access to the network and can work normally.
  • the first network instance identifier of the access network device is received.
  • the access and mobility management device receives the NAS session establishment request sent by the access network device
  • the first network of the network instance to which the access network device belongs is sent to the session management device.
  • An instance identifier, and a session request message the session request message is used to request to establish a NAS session.
  • the network instance to which the access network device belongs may be pre-configured.
  • the operator divides the network instance in the entire network, and configures the network instance to which the access network device belongs.
  • the access network device 1 belongs to the network instance 1
  • the access network device 10 belongs to the network instance 2.
  • the device start request message may further include information such as an interface address of the access network device, and the access and mobility management device receives the location during the NAS session establishment process.
  • the interface address and the session request message of the access network device are sent to the session management device, and details are not described herein.
  • the receiving access and mobility management device may be referred to as an access and mobility management function (AMF), etc., which is not limited in this embodiment of the present application.
  • AMF access and mobility management function
  • the session management device receives the first network instance identifier sent by the access network device.
  • the terminal sends a session request message to the access network device, where the session request message is used to request to establish a NAS session, and the session request message includes information such as the NAS session identifier.
  • the access network device After receiving the session request message, the access network device sends, to the session management device, a first network instance identifier of the network instance to which the access network device belongs, and a session establishment request message, where the session establishment request message is used. Upon requesting to establish a NAS session, the session management device obtains the first network instance identifier.
  • the access network device after receiving the session request message, sends the interface address of the access network device and the session request message to the session management device.
  • the first parameter sent by the session management device from the terminal or the access network device, and the second parameter saved by the session management device determine the first network instance identifier.
  • the terminal sends a request message to the access network device, where the request message is used to request to establish a NAS session.
  • the access network device may send the first parameter to the session management device.
  • the first parameter is an identifier of the access network device, one or a combination of network addresses of the access network device, and the second parameter is one or more of the first parameters and a network instance.
  • the corresponding relationship of the logo is an identifier of the access network device, one or a combination of network addresses of the access network device, and the second parameter is one or more of the first parameters and a network instance. The corresponding relationship of the logo.
  • the first parameter is a network address of the access network device
  • the second parameter is a correspondence between the network address of the access network device and the network instance identifier.
  • the second parameter is pre-configured in the session management device. After the session management device receives the network address sent by the access network device, the session management device associates the second parameter with the network address sent by the access network device.
  • the network instance identifier is determined to be a first network instance identifier associated with the NAS session.
  • the first parameter is an identifier of the access network device
  • the second parameter is a correspondence between the identifier of the access network device and the network instance identifier.
  • the second parameter is pre-configured in the session management device. After the session management device receives the identifier sent by the access network device, the session management device sends the network instance corresponding to the identifier sent by the access network device.
  • the identifier is determined to be a first network instance identifier associated with the NAS session.
  • the identifier of the access network device may refer to an identifier of the access network device
  • the network address of the access network device may refer to an IP of the access network device. Address, etc.
  • the first session is an N4 session
  • the second session is a NAS session
  • the session management device obtains the first network instance identifier, when receiving the NAS session establishment or update request of the terminal or the access network device
  • the NAS session establishes or updates an N4 session corresponding to the NAS session.
  • the N4 session and the NAS session may have a one-to-one correspondence.
  • the N4 session is a session between the session management device and the user plane device on the N4 interface. If the interface name between the session management device and the user plane device changes, the N4 session may be The session is replaced with the corresponding interface name, which is not limited here.
  • the session management device may determine an N4 session identifier of the N4 session that needs to be established or updated, and a parameter such as a packet detection rule and a packet forwarding rule associated with the N4 session, where the packet forwarding rule and the at least one packet Detection rules have an association relationship.
  • the packet detection rule and the packet forwarding rule may be pre-configured in the session management device, or may be configured in the session management device by other methods, or may be obtained by the session management device in other manners.
  • the application embodiment is not limited thereto.
  • each of the packet detection rules may be configured with an IP address and a tunnel identifier, and the IP address may be an IP address of the user plane device, and the tunnel identifier may be a tunnel for forwarding the packet of the first session. Tunnel identification.
  • the packet detection rule may be used to determine whether the received packet is applicable to the packet forwarding rule associated with the packet detection rule, which will be described later.
  • the packet forwarding rule may include the first network instance identifier, or may not include the first network instance identifier.
  • the content included in the first message may be different.
  • the first message when the packet forwarding rule does not include the first network instance identifier, the first message includes the first network instance identifier and the packet forwarding rule, where the packet forwarding rule includes the a network address, where the first network instance identifier is located outside the packet forwarding rule.
  • the first network instance identifier and the packet forwarding rule are independent, and may be located in different fields in the first message.
  • the first message when the packet forwarding rule includes the first network instance identifier, the first message includes a packet forwarding rule, where the packet forwarding rule includes a network address and a first network instance identifier.
  • the packet forwarding rule may include Carry the packet forwarding address.
  • subsequent user plane devices can obtain the packet forwarding address directly according to the packet forwarding rule.
  • the session management device sends the packet forwarding rule by using the first message, and may also send the packet detection rule associated with the packet forwarding rule by using the first message.
  • Other content may be included in the first message, and details are not described herein again.
  • the user plane device may also establish an association relationship between the N4 session identifier and the interface address in the access network device, and the user plane device establishes an association relationship between the N4 session identifier and the interface address.
  • the action may be to install the N4 session identifier on the interface address.
  • the user plane device may pre-configure the association relationship between the network address of the access network device, the first network instance identifier of the network instance to which the access network device belongs, and the packet forwarding address of the access network device.
  • the user plane device may determine the interface address associated with the first network instance identifier and the network address in the first message as the packet forwarding address of the access network device, so as to forward the packet to the access network device according to the packet forwarding address.
  • the packet forwarding address of the access network device may be reported by the access network device to the session management device, or may be obtained by the session management device by using other methods.
  • the embodiments of the present application are not limited thereto.
  • the packet forwarding address of the access network device is sent to the user plane device, and the user plane device does not need to perform step 204.
  • the network device in the network instance may be identified by means of the network instance identifier plus the network address.
  • the network address of the access network device that belongs to the same network instance is different. Therefore, the network address of the access network device and the first network instance identifier of the network instance to which the access network device belongs can uniquely identify the access network device.
  • the packet forwarding address of the packet sent to the access network device is determined, so that the receiver of the packet can be uniquely determined, and the problem of the receiver cannot be determined when the network address routing message only occurs.
  • the user plane device matches the at least one packet detection rule according to the received packet header information of the packet, and if the matching succeeds, determining the location
  • the packet is applied to the packet forwarding rule.
  • the packet header information may include the destination address of the packet and the tunnel identifier, and may also include the IP address of the terminal that receives the packet, and the quintuple of the packet (source address, destination address, source port number, destination port). No., agreement number).
  • the user plane device matches the at least one packet detection rule according to the received destination address of the packet and the tunnel identifier. If the matching is successful, it is determined that the packet applies the packet forwarding rule. Specifically, the user plane device matches the destination address and the tunnel identifier of the received packet with the pre-configured IP address and the tunnel identifier in the packet detection rule, and if it is determined that there is a packet detection rule pre-configured The IP address is the same as the destination address of the packet, and the pre-configured tunnel identifier in the packet detection rule is the same as the tunnel identifier in the packet, and the packet can be determined to match the packet detection rule. Successful, otherwise the match is determined to be unsuccessful. After the matching is successful, the user plane device may determine that the packet is applicable to the packet forwarding rule.
  • the user plane device may send the packet to the access network device corresponding to the packet forwarding address.
  • the access network device can finally forward the received message from the user plane device to the corresponding terminal.
  • the user plane device may save the network instance identifier and the network address in the first message after receiving the first message, and then determine when the user plane device receives the packet.
  • Message forwarding address After receiving the first message, the user equipment may first determine the packet forwarding address according to the identifier of the first network instance and the network address, and directly use the packet forwarding address after receiving the packet, which is used by the embodiment of the present application. Not limited.
  • the access network device may need to send an uplink packet to the user plane device.
  • the access network device does not need to determine the packet forwarding of the user plane device. Address, the step of directly entering the upstream packet forwarding.
  • the user plane device needs to send the second network instance identifier of the network instance to which the user belongs to the session management device, where the second network instance identifier is identified by the session management device. Sending to the access network device, so that the access network device can determine the second interface address of the user plane device according to the network address (for example, the IP address) of the user plane device and the second network instance identifier, and is used by the subsequent access network device. Upstream packet forwarding.
  • the user plane device directly sends its second interface address to the session management device, and the session management device forwards the second interface address of the user plane device to the access network device, so that the access network device
  • the uplink packet forwarding can be performed according to the second interface address of the user plane device.
  • the session management device may directly obtain the packet forwarding address sent by the access network device, and send the packet forwarding address to the user plane device, which will be described in detail below.
  • FIG. 3 is a schematic flowchart of a communication method according to an embodiment of the present application.
  • the user plane device may be referred to as a UPF network element
  • the session management device may be an SMF network element, etc., which is not limited in this embodiment of the present application.
  • the method includes:
  • Step 301 The user plane device receives the first message from the session management device, where the first message is used to request to establish or update the first session, where the first message includes packet forwarding of the access network device serving the terminal. Address, and packet forwarding rules.
  • the packet forwarding address is sent by the access network device to the session management device, and may also be requested by the session management device to the access network device.
  • the packet forwarding address is associated with the network address of the access network device and the first network instance identifier of the network instance to which the access network device belongs.
  • the association relationship may be pre-configured on the user plane device.
  • the user plane device may send the received packet belonging to the access network device to the access network device according to the packet forwarding address.
  • Step 302 The user plane device receives the packet, and determines that the received packet is applicable to the packet forwarding rule in the first message, and uses the packet forwarding address to send the packet.
  • the user plane device After receiving the packet sent to the access network device, the user plane device can determine the destination address and the tunnel identifier of the packet.
  • the packet detection rule that is associated with the packet forwarding rule including the destination address of the packet and the tunnel identifier, determining that the packet applies the packet forwarding rule.
  • the association between the packet forwarding rule and the packet detection rule may be pre-configured. For details, refer to the description in steps 201 to 205.
  • the user plane device may send the packet to the access network device corresponding to the packet forwarding address.
  • step 301 to step 302 For other terms or contents in step 301 to step 302, reference may be made to the related descriptions in steps 201 to 205, and details are not described herein again.
  • the communication device 400 includes a transceiver unit 401 and a processing unit 402.
  • the transceiver unit 401 is configured to receive a first message from the session management device, where the first message is used to request to establish or update a first session, where the first message includes a network instance to which the access network device serving the terminal belongs a first network instance identifier, and a network address of the access network device; the network address is located in a packet forwarding rule of the first message;
  • the processing unit 402 is configured to determine a packet forwarding address according to the first network instance identifier and the network address.
  • the transceiver unit 401 is configured to receive a packet, and determine that the received packet is applicable to the packet forwarding rule in the first message, and send the packet by using the packet forwarding address.
  • the first network instance identifier is located in the packet forwarding rule; or the first network instance identifier is located in the first message, and is located in the packet forwarding rule. outer.
  • the first message further includes at least one packet detection rule associated with the packet forwarding rule
  • the processing unit 402 is specifically configured to:
  • the packet forwarding address is any one or more of the following combinations:
  • the tunnel endpoint identifies the TEID
  • the virtual LAN identifies the VLAN ID.
  • the communication device 500 includes a receiving unit 501 and a sending unit 502.
  • the receiving unit 501 is configured to receive a request for establishing or updating a second session for the terminal, and obtain a first network instance identifier of the network instance to which the access network device serving the terminal belongs;
  • the sending unit 502 is configured to send a first message to the user plane device, where the first message is used to request to establish or update the first session, where the first session is associated with the second session, the first message
  • the first network instance identifier and the network address are included; the network address is located in a packet forwarding rule of the first message.
  • the receiving unit 501 is specifically configured to:
  • the first parameter is an identifier of the access network device, one or a combination of network addresses of the access network device; and the second parameter is one or more of the first parameters and the network instance identifier Correspondence relationship.
  • the receiving unit 501 is further configured to:
  • the sending unit 502 is further configured to send the second network instance identifier to the access network device.
  • the communication device can be a user plane device that can perform the actions of the user plane device in the various method embodiments described above.
  • the communication device may be a network element such as a UPF.
  • the communication device 600 includes a processor 601, a communication interface 602, and a memory 603.
  • the processor 601, the communication interface 602, and the memory 603 are connected to each other through a bus 604.
  • the communication interface 602 is configured to receive a first message from the session management device, where the first message is used to request to establish or update a first session, where the first message includes a network instance to which the access network device serving the terminal belongs a first network instance identifier, and a network address of the access network device; the network address is located in a packet forwarding rule of the first message;
  • the processor 601 is configured to determine, according to the first network instance identifier and the network address, a packet forwarding address.
  • the communication interface 602 is configured to receive the packet, and determine that the received packet is applicable to the packet forwarding rule in the first message, and use the packet forwarding address to send the packet.
  • the first network instance identifier is located in the packet forwarding rule; or the first network instance identifier is located in the first message, and is located in the packet forwarding rule. outer.
  • the first message further includes at least one packet detection rule associated with the packet forwarding rule
  • the processor 601 is specifically configured to:
  • the packet forwarding address is any one or more of the following combinations:
  • the tunnel endpoint identifies the TEID
  • the virtual LAN identifies the VLAN ID.
  • the communication device may be a session management device that performs the actions of the session management device in the various method embodiments described above.
  • the communication device may be a network element such as an SMF.
  • the communication device 700 includes a processor 701, a communication interface 702, and a memory 703.
  • the processor 701, the communication interface 702, and the memory 703 are connected to each other through a bus 704.
  • the communication interface 702 is configured to receive a request for establishing or updating a second session for the terminal, and obtain a first network instance identifier of the network instance to which the access network device serving the terminal belongs;
  • the communication interface 702 is configured to send a first message to the user plane device, where the first message is used to request to establish or update the first session, where the first session is associated with the second session, the first message
  • the first network instance identifier and the network address are included; the network address is located in a packet forwarding rule of the first message.
  • the communication interface 702 is specifically configured to:
  • the first parameter is an identifier of the access network device, one or a combination of network addresses of the access network device; and the second parameter is one or more of the first parameters and the network instance identifier Correspondence relationship.
  • the communication interface 702 is further configured to:
  • the communication interface may be a wired communication interface, a wireless communication interface, or a combination thereof.
  • the processor may be a central processing unit (English: central processing unit, abbreviated: CPU), a network processor (English: network processor, abbreviated: NP) or a combination of CPU and NP.
  • the processor may further include a hardware chip.
  • the hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (abbreviated as PLD), or a combination thereof.
  • ASIC application-specific integrated circuit
  • PLD programmable logic device
  • the above PLD can be a complex programmable logic device (English: complex programmable logic device, abbreviation: CPLD), field-programmable gate array (English: field-programmable gate array, abbreviation: FPGA), general array logic (English: generic array Logic, abbreviation: GAL) or any combination thereof.
  • the memory may include a volatile memory (English: volatile memory), such as random access memory (English: random-access memory, abbreviation: RAM); the memory may also include non-volatile memory (English: non-volatile memory).
  • read-only memory (English: read-only memory, abbreviation: ROM), flash memory (English: flash memory), hard disk (English: hard disk drive, abbreviation: HDD) or solid state drive (English: solid-state drive, Abbreviation: SSD); the memory may also include a combination of the above types of memory.

Abstract

一种通信方法及装置,其中方法包括:用户面设备接收来自会话管理设备的第一消息;所述第一消息用于请求建立或更新第一会话,所述第一消息中包括为终端服务的接入网设备所属的网络实例的第一网络实例标识,以及接入网设备的网络地址;所述网络地址位于所述第一消息的报文转发规则中;所述用户面设备根据所述第一网络实例标识以及所述网络地址确定报文转发地址;所述用户面设备接收报文,并确定接收到的所述报文适用所述第一消息中的所述报文转发规则,使用所述报文转发地址发送所述报文。

Description

一种通信方法及装置
本申请要求在2018年3月31日提交国家专利局、申请号为201810278762.6、发明名称为“一种通信方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及一种通信方法及装置。
背景技术
分组数据单元(packet data unit,PDU)会话是终端(User equipment,UE)和数据网络(data network,DN)之间的会话,用以提供PDU连接服务。PDU会话在建立过程中,会话管理设备(例如会话管理功能(session management function,SMF)网元)需要为PDU会话选择核心网侧的用户面功能网元(user plane function,UPF)。UPF,和为UE服务的接入网设备(radio access network,RAN)共同组成处理PDU会话的报文的数据通道。因为PDU会话的建立流程采用非接入层(non-access stratum,NAS)层协议,也可以称为NAS会话。
通常一个网络设备有其网络协议(internet protocol,IP)地址,且与其他设备的IP地址不同。然而在未来通信系统中,随着设备的数量增加,可能无法保证每个设备都有唯一的,不与其他设备冲突的IP地址。在这个背景下,一种解决方法是将设备划分在一个特定网络实例(network instance,NWI)内,在一个网络实例中的设备,设备间的IP地址必须不同,但是在不同网络实例内的设备,设备的IP地址可以相同,这样就实现了同一个IP地址在多个设备上的复用。一个PDU会话可以关联一个网络实例,比如:PDU会话的数据通道的接入网设备属于一个网络实例。
目前,5G通信系统中,用户面设备会接收到多个接入网设备的报文,在多个接入网设备出现重叠IP地址的情况下,用户面设备如何报文的准确转发,还没有一个明确的解决方案。
发明内容
本申请实施例提供一种通信方法及装置,用以解决用户面设备如何进行报文的转发的问题。
第一方面,本申请实施例提供一种通信方法,该方法包括:
用户面设备接收来自会话管理设备的第一消息;所述第一消息用于请求建立或更新第一会话,所述第一消息中包括为终端服务的接入网设备所属的网络实例的第一网络实例标识,以及接入网设备的网络地址;所述网络地址位于所述第一消息的报文转发规则中;
所述用户面设备根据所述第一网络实例标识以及所述网络地址确定报文转发地址;
所述用户面设备接收报文,并确定接收到的所述报文适用所述第一消息中的所述报文转发规则,使用所述报文转发地址发送所述报文。
根据本申请实施例提供的方法,由于属于同一网络实例的接入网设备的网络地址不同,因此通过接入网设备的网络地址以及接入网设备所属的网络实例的第一网络实例标识,可以唯一的标识接入网设备,从而确定出向该接入网设备发送报文的报文转发地址,从而可 以唯一确定该报文的接收方,避免出现仅根据网络地址路由报文时无法确定接收方的问题。
在一种可能的设计中,所述第一网络实例标识位于所述报文转发规则中;或者,所述第一网络实例标识位于所述第一消息中,且位于所述报文转发规则外。
在一种可能的设计中,第一消息中还包括与报文转发规则关联的至少一个报文检测规则;
所述用户面设备确定接收到的所述报文适用所述第一消息中的所述报文转发规则,包括:
当用户面设备根据接收到的所述报文的报文头部信息与所述至少一个报文检测规则进行匹配,如果匹配成功,则确定所述报文适用所述报文转发规则。
在一种可能的设计中,所述报文转发地址为以下任意一项或多项组合:
媒体接入控制MAC地址;
隧道端点标识TEID;
数据链路层地址;
虚拟局域网标识VLAN ID。
本申请实施例提供了一种通信装置,所述通信装置可以执行上述任意一种方法。
在一种可能的设计中,上述装置包括一个或多个处理单元,通信单元。所述一个或多个处理单元被配置为支持所述装置执行上述方法中会话管理设备相应的功能。所述通信单元用于支持所述装置与其他设备通信,实现接收和/或发送功能。例如,发送第一消息。
所述装置可以为UPF等,所述通信单元可以是通信接口。可选的,所述通信接口也可以为输入/输出电路或者接口。
所述装置还可以为通信芯片。所述通信单元可以为通信芯片的输入/输出电路或者接口。
另一个可能的设计中,上述装置,包括通信接口、处理器。该处理器用于控制通信接口收发信号,该处理器用于执行第一方面或第一方面中任一种可能实现方式中用户面设备完成的方法。
可选的,所述装置包括存储器,该存储器用于存储可以执行第一方面或第一方面中任一种可能实现方式计算机程序。
第二方面,本申请实施例提供了一种通信方法,包括:
会话管理设备接收为终端建立或更新第二会话的请求;
所述会话管理设备获取为所述终端服务的接入网设备所属的网络实例的第一网络实例标识;
所述会话管理设备向用户面设备发送第一消息,所述第一消息用于请求建立或更新第一会话,其中,所述第一会话与所述第二会话关联,所述第一消息中包括所述第一网络实例标识,以及网络地址;所述网络地址位于所述第一消息的报文转发规则中。
在一种可能的设计中,所述会话管理设备获取为所述终端服务的接入网设备所属的网络实例的第一网络实例标识,包括:
所述会话管理设备接收来自接入和移动性管理设备的所述第一网络实例标识;或者,
所述会话管理设备接收来自所述接入网设备的所述第一网络实例标识;或者,
所述会话管理设备根据来自所述终端或者所述接入网设备的第一参数,以及所述会话管理设备保存的第二参数,确定所述第一网络实例标识;所述第一参数为所述接入网设备的标识,所述接入网设备的网络地址中的一个或者组合;所述第二参数为第一参数中的一 个或者多个与网络实例标识的对应关系。
在一种可能的设计中,所述方法还包括:
所述会话管理设备获取所述用户面设备所属的网络实例的第二网络实例标识;
所述会话管理设备向所述接入网设备发送所述第二网络实例标识。
本申请实施例提供了一种通信装置,所述通信装置可以执行上述任意一种方法。
在一种可能的设计中,上述装置包括一个或多个处理单元,通信单元。所述一个或多个处理单元被配置为支持所述装置执行上述方法中用户面设备相应的功能。所述通信单元用于支持所述装置与其他设备通信,实现接收和/或发送功能。例如,接收第一消息。
所述装置可以为SMF等,所述通信单元可以是通信接口。可选的,所述通信接口也可以为输入/输出电路或者接口。
所述装置还可以为通信芯片。所述通信单元可以为通信芯片的输入/输出电路或者接口。
另一个可能的设计中,上述装置,包括通信接口、处理器。该处理器用于控制通信接口收发信号,该处理器用于执行第二方面或第二方面中任一种可能实现方式中会话管理设备完成的方法。
可选的,所述装置包括存储器,该存储器用于存储可以执行第二方面或第二方面中任一种可能实现方式计算机程序。
第三方面,本申请实施例提供了一种通信方法,包括:
用户面设备接收来自会话管理设备的第一消息;所述第一消息用于请求建立或更新第一会话,所述第一消息中包括为终端服务的接入网设备的报文转发地址,以及报文转发规则。
所述用户面设备接收报文,并确定接收到的所述报文适用所述第一消息中的所述报文转发规则,使用所述报文转发地址发送所述报文。
根据本申请实施例提供的方法,接入网设备的报文转发地址是与接入网设备的网络地址以及接入网设备所属的网络实例的第一网络实例标识存在对应关系,由于通过接入网设备的网络地址以及接入网设备所属的网络实例的第一网络实例标识,可以唯一的标识接入网设备,因此可以通过接入网设备的报文转发地址,可以避免出现仅根据网络地址路由报文时无法确定接收方的问题。
本申请实施例提供了一种通信装置,所述通信装置可以执行上述任意一种方法。
在一种可能的设计中,上述装置包括一个或多个处理单元,通信单元。所述一个或多个处理单元被配置为支持所述装置执行上述方法中终端相应的功能。所述通信单元用于支持所述装置与其他设备通信,实现接收和/或发送功能。例如,发送NAS会话请求消息。
所述装置可以为UPF等,所述通信单元可以是通信接口,或收发电路。可选的,所述通信接口也可以为输入/输出电路或者接口。
所述装置还可以为通信芯片。所述通信单元可以为通信芯片的输入/输出电路或者接口。
另一个可能的设计中,上述装置,包括通信接口、处理器。该处理器用于控制通信接口收发信号,该处理器用于执行第三方面或第三方面中任一种可能实现方式中用户面设备完成的方法。
可选的,所述装置包括存储器,该存储器用于存储可以执行第三方面或第三方面中任一种可能实现方式计算机程序。
第四方面,本申请实施例提供了一种系统,该系统包括上述会话管理设备、用户面设 备中的一个或者多个。其中,所述会话管理设备还可用于执行本申请实施例提供的方案中由会话管理设备执行的步骤;用户面设备还可用于执行本申请实施例提供的方案中由用户面设备执行的步骤。
在一种可能的设计中,该系统还可以包括本申请实施例提供的方案中与该会话管理设备和/或用户面设备进行交互的其他设备,例如,接入和移动性管理设备,接入网设备,或者终端设备等。
第五方面,本申请实施例提供了一种计算机可读存储介质,用于存储计算机程序,该计算机程序包括用于执行上述任一方面或任一方面中任一种可能实现方式中的方法的指令。
第六方面,本申请实施例提供了一种计算机程序产品,所述计算机程序产品包括:计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行上述任一方面或任一方面中任一种可能实现方式中的方法。
附图说明
图1为适用于本申请实施例的一种通信系统示意图;
图2为本申请实施例提供的一种通信方法流程示意图;
图3为本申请实施例提供的一种通信方法流程示意图;
图4为本申请实施例提供的一种通信装置结构示意图;
图5为本申请实施例提供的一种通信装置结构示意图;
图6为本申请实施例提供的一种通信装置结构示意图;
图7为本申请实施例提供的一种通信装置结构示意图。
具体实施方式
下面结合说明书附图对本申请实施例做详细描述。
本申请实施例可以应用于各种移动通信系统,例如:新无线(new radio,NR)系统、全球移动通讯(global system of mobile communication,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general pcket radio service,GPRS)、长期演进(long term evolution,LTE)系统、先进的长期演进(advanced long term evolution,LTE-A)系统、通用移动通信系统(universal mobile telecommunication system,UMTS)、演进的长期演进(evolved long term evolution,eLTE)系统、未来通信系统等其它通信系统,具体的,在此不做限制。
为便于理解本申请实施例,首先以图1中示出的通信系统为例详细说明适用于本申请实施例的通信系统。图1示出了适用于本申请实施例的通信方法的通信系统的示意图。如图1所示,该通信系统100包括网络设备102和终端设备106,网络设备102可配置有多个天线,终端设备也可配置有多个天线。可选地,该通信系统还可包括网络设备104,网络设备104也可配置有多个天线。
应理解,网络设备102或网络设备104还可包括与信号发送和接收相关的多个部件(例如,处理器、调制器、复用器、解调器或解复用器等)。
本申请实施例中,终端,为具有无线收发功能的设备或可设置于该设备的芯片,也可以称为用户设备(user equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。本申请的实施例中的终端可以是手机(mobile phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等等。本申请的实施例对应用场景不做限定。本申请中将前述终端及可设置于前述终端的芯片统称为终端。
接入网设备,为具有无线收发功能的设备或可设置于该设备的芯片,该设备包括但不限于:下一代无线接入网(next generation radio access networks,NG-RAN)、演进型节点B(evolved Node B,eNB)、无线网络控制器(radio network controller,RNC)、节点B(Node B,NB)、基站控制器(base station controller,BSC)、基站收发台(base transceiver station,BTS)、家庭基站(例如,home evolved NodeB,或home Node B,HNB)、基带单元(baseband unit,BBU),无线保真(wireless fidelity,WIFI)系统中的接入点(access point,AP)、无线中继节点、无线回传节点、传输点(transmission and reception point,TRP或者transmission point,TP)等,还可以为5G,如,NR,系统中的gNB,或,传输点(TRP或TP),5G系统中的基站的一个或一组(包括多个天线面板)天线面板,或者,还可以为构成gNB或传输点的网络节点,如基带单元(BBU),或,分布式单元(DU,distributed unit)等。
会话管理网元,主要负责移动网络中的会话管理功能,如会话建立、修改、释放。具体功能如为用户分配IP地址、选择提供报文转发功能的用户面功能网元等。在第5代网络(5th generation,5G)中,会话管理网元可以是SMF网元,在未来通信,如第6代网络(6th generation,6G)中,会话管理网元仍可以是SMF网元,或有其它的名称,本申请不做限定。
用户面网元,主要负责对用户报文进行处理,如转发、计费等。在5G中,用户面网元可以是UPF网元,在未来通信,如6G中,用户面网元仍可以是UPF网元,或有其它的名称,本申请不做限定。
可以理解,上述网元可以是一个物理设备,还可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。
另外,在本申请实施例中,“示例的”一词用于表示作例子、例证或说明。本申请中被描述为“示例”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用示例的一词旨在以具体方式呈现概念。
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
下面先描述本申请实施例中可能出现的技术术语:
1、网络实例,是用来表示一个网络中的一个域,一个域中的所有网络设备的网络地址不能相同,或者每个设备的MAC地址都不相同。网络实例标识是用来标识一个网络实 例的标识。
2、报文转发规则,可以是指用户面功能,进行报文交换或传输的方法,比如:SMF发送报文转发规则至UPF,该规则用于指示UPF如何转发报文,转发的逻辑可以包括缓存、发送或丢弃报文。
所述报文转发规则中可以包括以下一项或多项:1、接入网设备所属的网络实例的第一网络实例标识;2:接入网设备的接口地址;3、接入网设备的网络地址,其中,所述网络地址为终端接入的接入网设备的网络地址,所述网络地址可以为IP地址等;4、网络实例标识关联的接入网设备隧道标识。
3、接口地址,是相对于是接入网设备来说的,所述接口地址一般是接入网设备的硬件地址,在接入网设备出厂时就写入设备中,比如MAC地址。在虚拟化技术下,也可以是接入网设备中创建的虚拟接口地址,为接入网设备在IP层之外的地址,用于对所述接入网设备在IP层之外进行标记。
本申请实施例中,所述接口地址可以为以下任意一项或多项组合:
媒体接入控制MAC地址;
隧道端点标识TEID;
数据链路层地址;
IP地址;
虚拟局域网标识VLAN ID。
4、网络地址,网络地址可以为设备在网络中的地址,例如可以为IP地址等,在此不再逐一举例说明。
5、报文转发地址,该地址是相对于用户面设备来说的,用户面设备可以将接收到的报文转发至报文转发地址对应的设备中。一种可能的实现方式中,接口地址与报文转发地址之间等价,即一个接入网设备的接口地址,从用户面设备的角度看,就是向该接入网设备转发报文的报文转发地址。
本申请实施例中,所述报文转发地址可以为以下任意一项或多项组合:
媒体接入控制MAC地址;
隧道端点标识TEID;
数据链路层地址;
虚拟局域网标识VLAN ID。
6、隧道标识,可以为隧道端点标识符(tunnel endpoint identifier,TEID),用来标识报文的转发通道。
7、第一会话,会话管理设备和用户面设备之间的会话,在5G中可以为N4会话,在未来的网络中,会话名称可能会发生变化。后续实施例中以N4会话为例,但是本领域技术人员可以根据实际情况进行替换;第二会话,终端和数据网络之间的会话,在5G中可以为NAS会话,在未来的网络中,名称可能会发生变化。后续实施例中以NAS会话为例,但是本领域技术人员可以根据实际情况进行替换;第一会话与第二会话之间有关联关系,例如,会话管理设备可以在确定需要建立NAS会话后,创建与NAS会话相关联的N4会话。
结合前面的描述,参见图2,为本申请实施例提供的一种通信方法流程示意图。图2所示的流程中,用户面设备可以是指UPF网元等,会话管理设备可以是指SMF网元等, 本申请实施例对此并不限定。
如图2所示,该方法包括:
步骤201:会话管理设备接收为终端建立或更新第二会话的请求,并获取为所述终端服务的接入网设备所属的网络实例的第一网络实例标识。
需要说明的是,会话管理设备可以是一个独立的物理设备,也可以是一个设备中的功能模块。本申请实施例中的其他设备都可以是一个独立的物理设备,也可以是一个设备中的功能模块。
其中,第二会话可以为NAS会话。
步骤202:所述会话管理设备向用户面设备发送第一消息。
所述第一消息用于请求建立或更新第一会话,其中,所述第一会话与所述第二会话具有关联关系,所述第一消息中包括所述第一网络实例标识,以及网络地址;所述网络地址位于所述第一消息的报文转发规则中,所述第一消息用于请求建立或更新N4会话,所述第一消息中包括所述网络实例标识,以及网络地址;所述网络地址位于所述第一消息的报文转发规则中。
第一会话为N4会话时,所述第一消息可以为N4会话建立请求消息等消息,本申请实施例对第一消息的名称并不限定,在此不再逐一举例说明。
步骤203:用户面设备接收来自会话管理设备的第一消息。
步骤204:所述用户面设备根据所述第一网络实例标识以及所述网络地址确定报文转发地址。
步骤205:所述用户面设备接收报文,并确定接收到的所述报文适用所述第一消息中的所述报文转发规则,使用所述报文转发地址发送所述报文。
需要说明的是,用户面设备接收报文与接收第一消息之间没有先后顺序,用户面设备可以先接收报文,也可以先接收第一消息,本申请实施例对此并不限定。
步骤201中,会话管理设备可以接收到终端发送的建立或更新第二会话的请求,也可以接收到为所述终端服务的接入网设备发送的建立或更新第二会话的请求,本申请实施例对此并不限定。同时,本申请实施例中,对于如何建立或更新第二会话,并不限定,具体可以参考现有技术中的描述,在此不再赘述。
会话管理设备接收为终端建立或更新第二会话的请求,与获取第一网络实例标识之间的时间顺序,本申请实施例对此并不限定,可以同时发生,也可以先后发生。
本申请实施例中,会话管理设备可以通过多种方式获取所述第一网络实例标识,下面详细描述。
第一种可能的场景中,所述会话管理设备接收接入和移动性管理设备发送的所述第一网络实例标识。
具体的,接入和移动性管理设备获取接入网设备的第一网络实例标识。比如1:通过接入网发送包括所述第一网络实例标识的设备开工请求消息。所述设备开工请求消息用于指示所述接入网设备已经接入网络,可以正常工作。比如2:在UE的附着流程中,收到接入网设备的第一网络实例标识。
在NAS会话建立过程中,当接入和移动性管理设备接收到所述接入网设备发送的NAS会话建立请求之后,向会话管理设备发送所述接入网设备所属的网络实例的第一网络实例标识,以及会话请求消息,所述会话请求消息用于请求建立NAS会话。
需要说明是,本申请实施例中,接入网设备中所属的网络实例可以为预先配置的。例如,运营商会在整个网络内划分网络实例,会为每一个接入网设备配置其所属的网络实例,比如:接入网设备1属于网络实例1,接入网设备10属于网络实例2等。
可选的,在另一种实施方式中,所述设备开工请求消息还可以包括接入网设备的接口地址等信息,则在NAS会话建立过程中,当接入和移动性管理设备接收到所述接入网设备发送的NAS会话建立请求之后,向会话管理设备发送接入网设备的接口地址以及会话请求消息,在此不再赘述。
需要说明的是,接收接入和移动性管理设备可以是指接收接入和移动性管理(access and mobility management function,AMF)等,本申请实施例对此并不限定。
第二种可能的场景中,所述会话管理设备接收接入网设备发送的所述第一网络实例标识。
具体的,在NAS会话建立过程中,所述终端向接入网设备发送会话请求消息,所述会话请求消息用于请求建立NAS会话,所述会话请求消息中包括所述NAS会话标识等信息。
接入网设备接收到所述会话请求消息后,向所述会话管理设备发送所述接入网设备所属的网络实例的第一网络实例标识,以及会话建立请求消息,所述会话建立请求消息用于请求建立NAS会话,会话管理设备从而获取到所述第一网络实例标识。
可选的,在另一种实施方式中,在NAS会话建立过程中,接入网设备接收到所述会话请求消息后,向会话管理设备发送接入网设备的接口地址以及会话请求消息。
第三种可能的场景中,所述会话管理设备从终端或者接入网设备发来的第一参数,以及所述会话管理设备保存的第二参数,确定所述第一网络实例标识。
具体的,在NAS会话建立过程中,所述终端向接入网设备发送请求消息,所述请求消息用于请求建立NAS会话。所述接入网设备接收到所述终端的请求消息之后,可以向所述会话管理设备发送第一参数。
其中,所述第一参数为所述接入网设备的标识,所述接入网设备的网络地址中的一个或者组合;所述第二参数为第一参数中的一个或者多个与网络实例标识的对应关系。
举例来说,第一参数为接入网设备的网络地址,第二参数为接入网设备的网络地址与网络实例标识的对应关系。会话管理设备中预先配置了第二参数,在NAS会话建立过程中,当会话管理设备接收到接入网设备发送的网络地址后,将第二参数中与接入网设备发送的网络地址对应的网络实例标识,确定为与所述NAS会话关联的第一网络实例标识。
再举例来说,第一参数为接入网设备的标识,第二参数为接入网设备的标识与网络实例标识的对应关系。会话管理设备中预先配置了第二参数,在NAS会话建立过程中,当会话管理设备接收到接入网设备发送的标识后,将第二参数中与接入网设备发送的标识对应的网络实例标识,确定为与所述NAS会话关联的第一网络实例标识。
需要说明的是,本申请实施例中,所述接入网设备的标识可以是指所述接入网设备的标识码,所述接入网设备的网络地址可以是指接入网设备的IP地址等。
步骤202中,第一会话为N4会话,第二会话为NAS会话时,会话管理设备获取到第一网络实例标识之后,在接收到终端或接入网设备的NAS会话建立或更新请求时,为所述NAS会话建立或更新与所述NAS会话对应的N4会话。N4会话与NAS会话可以是一一对应的关系,N4会话为会话管理设备与用户面设备之间在N4接口上的会话,如果会话 管理设备与用户面设备之间的接口名称变化,N4会话可以替换为对应的接口名称的会话,在此不做限定。
会话管理设备可以确定需要建立或更新的N4会话的N4会话标识,以及与所述N4会话关联的报文检测规则和报文转发规则等参数,其中,所述报文转发规则与至少一个报文检测规则具有关联关系。其中,报文检测规则和报文转发规则可以为预配置在会话管理设备中的,也可以为通过其他方式配置在会话管理设备中的,也可以是会话管理设备通过其他方式获取到的,本申请实施例对此并不限定。
本申请实施例中,每个报文检测规则中可以预先配置一个IP地址和隧道标识,该IP地址可以为用户面设备的IP地址,该隧道标识可以为转发第一会话的报文的隧道的隧道标识。本申请实施例中,可以通过报文检测规则,确定接收到的报文是否适用与所述报文检测规则关联的报文转发规则,具体的将在后面描述。
如前所述,本申请实施例中,报文转发规则中可以包括第一网络实例标识,也可以不包括第一网络实例标识,不同情况下,第一消息中包含的内容可能不同。
一种可能的实现方式中,报文转发规则中不包括第一网络实例标识时,此时第一消息包括第一网络实例标识以及报文转发规则,其中,所述报文转发规则包括所述网络地址,所述第一网络实例标识位于所述报文转发规则外。
此时,第一网络实例标识以及报文转发规则分别独立,可以位于第一消息中的不同字段。
另一种可能的实现方式中,报文转发规则中包括第一网络实例标识时,第一消息中包括报文转发规则,所述报文转发规则包括网络地址以及第一网络实例标识。
可选的,在另一种实施方式中,会话管理设备从接入网设备或者接入和移动性管理设备接收到的是报文转发地址以及会话请求消息时,则报文转发规则中可以包括携带报文转发地址。在该方式下,后续用户面设备则可以直接根据报文转发规则获得报文转发地址
可选的,会话管理设备通过第一消息发送报文转发规则的同时,还可以通过第一消息发送与所述报文转发规则关联的报文检测规则。第一消息中还可以包括其他内容,本申请实施例在此不再赘述。
步骤203中,第一会话为N4会话时,用户面设备还可以建立N4会话标识与接入网设备中的接口地址的关联关系,用户面设备建立了N4会话标识与接口地址的关联关系所执行的动作,可以是指将N4会话标识安装在所述接口地址上。
步骤204中,用户面设备中可以预先配置接入网设备的网络地址、接入网设备所属的网络实例的第一网络实例标识、接入网设备的报文转发地址之间的关联关系。用户面设备可以将与第一消息中的第一网络实例标识以及网络地址关联的接口地址确定为接入网设备的报文转发地址,从而根据报文转发地址向接入网设备转发报文。
可选的,本申请实施例中,所述接入网设备的报文转发地址还可以为所述接入网设备主动向所述会话管理设备上报的,也可以是会话管理设备通过其他方式获取到的,本申请实施例对此并不限定。会话管理设备获取到接入网设备的报文转发地址之后,再将接入网设备的报文转发地址发给用户面设备,此时用户面设备可以不需要执行步骤204。
由于不同域的网络设备的网络地址(例如,IP地址)可能相同,为了唯一的标识一个网络设备,可以用网络实例标识加网络地址的方式,标识网络实例中的网络设备。由于属 于同一网络实例的接入网设备的网络地址不同,因此通过接入网设备的网络地址以及接入网设备所属的网络实例的第一网络实例标识,可以唯一的标识接入网设备,从而确定出向该接入网设备发送报文的报文转发地址,从而可以唯一确定该报文的接收方,避免出现仅网络地址路由报文时无法确定接收方的问题。
步骤205中,用户面设备接收到报文之后,当用户面设备根据接收到的所述报文的报文头部信息与所述至少一个报文检测规则进行匹配,如果匹配成功,则确定所述报文适用所述报文转发规则。报文头部信息可以包括报文的目的地址以及隧道标识,也可以包括接收该报文的终端的IP地址,以及该报文的五元组(源地址,目的地址,源端口号,目的端口号,协议号)。
报头头部信息包括目的地址以及隧道标识时,用户面设备接收到报文之后,当用户面设备根据接收到的所述报文的目的地址以及隧道标识与所述至少一个报文检测规则进行匹配,如果匹配成功,则确定所述报文适用所述报文转发规则。具体的,用户面设备将接收到的所述报文的目的地址以及隧道标识,与报文检测规则中预先配置的IP地址以及隧道标识,进行匹配,若确定存在一个报文检测规则中预先配置的IP地址与所述报文的目的地址相同,且该报文检测规则中预先配置的隧道标识与所述报文中的隧道标识相同,则可以确定所述报文与该报文检测规则匹配成功,否则确定匹配不成功。匹配成功后,用户面设备可以确定所述报文适用所述报文转发规则。
所述用户面设备确定所述报文适用所述报文转发规则之后,可以将所述报文发送至所述报文转发地址对应的接入网设备。接入网设备最终可以将接收到的来自用户面设备的报文转发至相应的终端。
需要说明的是,本申请实施例中,用户面设备可以在接收到第一消息之后,先将第一消息中的网络实例标识以及网络地址保存,当用户面设备接收到报文时,再确定报文转发地址。用户设备也可以在接收到第一消息之后,先根据第一网络实例标识以及网络地址确定报文转发地址,在接收到报文之后,直接使用所述报文转发地址,本申请实施例对此并不限定。
可选的,本申请实施例中,接入网设备可能需要向用户面设备发送上行报文,当用户面设备不归属任何网络实例时,接入网设备不需要确定用户面设备的报文转发地址,后续直接进入上行报文转发的步骤。
用户面设备归属网络实例时,第一种可能的场景中,用户面设备需要把自己归属的网络实例的第二网络实例标识发送给会话管理设备,由会话管理设备将所述第二网络实例标识发送给接入网设备,这样接入网设备可以根据用户面设备的网络地址(例如,IP地址)以及第二网络实例标识确定用户面设备的第二接口地址,用于后续接入网设备进行上行报文转发。
第二种可能的场景中,用户面设备直接把自己的第二接口地址发给会话管理设备,由会话管理设备将用户面设备的第二接口地址转发给接入网设备,这样接入网设备可以根据用户面设备的第二接口地址,进行上行报文转发。
接入网设备具体进行上行报文转发的详细过程,本申请实施例对此并不限定,在此不再赘述。
如前所述,本申请实施例中,会话管理设备还可以直接获取接入网设备发送的报文转发地址,并将报文转发地址发送至用户面设备,下面将详细描述。
参见图3,为本申请实施例提供的一种通信方法流程示意图。图3所示的流程中,用户面设备可以是指UPF网元等,会话管理设备可以是指SMF网元等,本申请实施例对此并不限定。
该方法包括:
步骤301:用户面设备接收来自会话管理设备的第一消息;所述第一消息用于请求建立或更新第一会话,所述第一消息中包括为终端服务的接入网设备的报文转发地址,以及报文转发规则。
其中,所述报文转发地址为接入网设备发送给会话管理设备的,也可以为会话管理设备主动向接入网设备请求的。
本申请实施例中,报文转发地址与接入网设备的网络地址、接入网设备所属的网络实例的第一网络实例标识之间存在关联关系,上述关联关系可以预先配置在用户面设备。用户面设备可以根据所述报文转发地址将接收到的属于所述接入网设备的报文,发送给所述接入网设备。
步骤302:所述用户面设备接收报文,并确定接收到的所述报文适用所述第一消息中的所述报文转发规则,使用所述报文转发地址发送所述报文。
用户面设备收到发送给接入网设备的报文之后,可以确定所述报文的目的地址以及隧道标识。
所述用户面设备若确定所述报文转发规则关联的报文检测规则,包括所述报文的目的地址以及隧道标识,则确定所述报文适用所述报文转发规则。其中,报文转发规则与报文检测规则的关联关系可以为预先配置的,具体可以参考步骤201至步骤205中的描述。
所述用户面设备确定所述报文适用所述报文转发规则之后,可以将所述报文发送至所述报文转发地址对应的接入网设备。
步骤301至步骤302中的其他术语或内容,可以参考步骤201至步骤205中相关的描述,在此不再赘述。
如图4所示,为本申请实施例提供一种通信装置的结构示意图。该通信装置可以用于执行上述各方法实施例中用户面设备的动作,该通信装置400包括:收发单元401和处理单元402。
收发单元401,用于接收来自会话管理设备的第一消息;所述第一消息用于请求建立或更新第一会话,所述第一消息中包括为终端服务的接入网设备所属的网络实例的第一网络实例标识,以及接入网设备的网络地址;所述网络地址位于所述第一消息的报文转发规则中;
处理单元402,用于根据所述第一网络实例标识以及所述网络地址确定报文转发地址;
所述收发单元401,用于接收报文,并确定接收到的所述报文适用所述第一消息中的所述报文转发规则,使用所述报文转发地址发送所述报文。
一种可选地实施方式中,所述第一网络实例标识位于所述报文转发规则中;或者,所述第一网络实例标识位于所述第一消息中,且位于所述报文转发规则外。
一种可选地实施方式中,第一消息中还包括与报文转发规则关联的至少一个报文检测规则;
处理单元402具体用于:
当根据接收到的所述报文的目的地址以及隧道标识与所述至少一个报文检测规则进 行匹配,如果匹配成功,则确定所述报文适用所述报文转发规则。
一种可选地实施方式中,所述报文转发地址为以下任意一项或多项组合:
媒体接入控制MAC地址;
隧道端点标识TEID;
数据链路层地址;
虚拟局域网标识VLAN ID。
如图5所示,为本申请实施例提供一种通信装置的结构示意图。该通信装置可以用于执行上述各方法实施例中会话管理设备的动作,该通信装置500包括:接收单元501和发送单元502。
接收单元501,用于接收为终端建立或更新第二会话的请求;获取为所述终端服务的接入网设备所属的网络实例的第一网络实例标识;
发送单元502,用于向用户面设备发送第一消息,所述第一消息用于请求建立或更新第一会话,其中,所述第一会话与所述第二会话关联,所述第一消息中包括所述第一网络实例标识,以及网络地址;所述网络地址位于所述第一消息的报文转发规则中。
一种可选地实施方式中,所述接收单元501具体用于:
接收来自接入和移动性管理设备的所述第一网络实例标识;或者,
接收来自所述接入网设备的所述第一网络实例标识;或者,
根据来自所述终端或者所述接入网设备的第一参数,以及所述会话管理设备保存的第二参数,确定所述第一网络实例标识;
所述第一参数为所述接入网设备的标识,所述接入网设备的网络地址中的一个或者组合;所述第二参数为第一参数中的一个或者多个与网络实例标识的对应关系。
一种可选地实施方式中,所述接收单元501还用于:
获取所述用户面设备所属的网络实例的第二网络实例标识;
所述发送单元502还用于,向所述接入网设备发送所述第二网络实例标识。
如图6所示,为本申请实施例提供一种通信装置的结构示意图。该通信装置可以是用户面设备,该装置可执行上述各方法实施例中的用户面设备的动作。可选的,该通信装置可以为UPF等网元。
参见图6,该通信装置600包括:处理器601、通信接口602、存储器603;其中,处理器601、通信接口602、存储器603通过总线604相互连接。
通信接口602,用于接收来自会话管理设备的第一消息;所述第一消息用于请求建立或更新第一会话,所述第一消息中包括为终端服务的接入网设备所属的网络实例的第一网络实例标识,以及接入网设备的网络地址;所述网络地址位于所述第一消息的报文转发规则中;
处理器601,用于根据所述第一网络实例标识以及所述网络地址确定报文转发地址;
通信接口602,用于接收报文,并确定接收到的所述报文适用所述第一消息中的所述报文转发规则,使用所述报文转发地址发送所述报文。
一种可选地实施方式中,所述第一网络实例标识位于所述报文转发规则中;或者,所述第一网络实例标识位于所述第一消息中,且位于所述报文转发规则外。
一种可选地实施方式中,第一消息中还包括与报文转发规则关联的至少一个报文检测规则;
处理器601具体用于:
当根据接收到的所述报文的目的地址以及隧道标识与所述至少一个报文检测规则进行匹配,如果匹配成功,则确定所述报文适用所述报文转发规则。
一种可选地实施方式中,所述报文转发地址为以下任意一项或多项组合:
媒体接入控制MAC地址;
隧道端点标识TEID;
数据链路层地址;
虚拟局域网标识VLAN ID。
如图7所示,为本申请实施例提供一种通信装置的结构示意图。该通信装置可以是会话管理设备,该装置可执行上述各方法实施例中的会话管理设备的动作。可选的,该通信装置可以为SMF等网元。
参见图7,该通信装置700包括:处理器701、通信接口702、存储器703;其中,处理器701、通信接口702、存储器703通过总线704相互连接。
通信接口702,用于接收为终端建立或更新第二会话的请求;获取为所述终端服务的接入网设备所属的网络实例的第一网络实例标识;
通信接口702,用于向用户面设备发送第一消息,所述第一消息用于请求建立或更新第一会话,其中,所述第一会话与所述第二会话关联,所述第一消息中包括所述第一网络实例标识,以及网络地址;所述网络地址位于所述第一消息的报文转发规则中。
一种可选地实施方式中,所述通信接口702具体用于:
接收来自接入和移动性管理设备的所述第一网络实例标识;或者,
接收来自所述接入网设备的所述第一网络实例标识;或者,
根据来自所述终端或者所述接入网设备的第一参数,以及所述会话管理设备保存的第二参数,确定所述第一网络实例标识;
所述第一参数为所述接入网设备的标识,所述接入网设备的网络地址中的一个或者组合;所述第二参数为第一参数中的一个或者多个与网络实例标识的对应关系。
一种可选地实施方式中,所述通信接口702还用于:
获取所述用户面设备所属的网络实例的第二网络实例标识;
向所述接入网设备发送所述第二网络实例标识。
本申请实施例中,通信接口可以是有线通信接口,无线通信接口或其组合。处理器可以是中央处理器(英文:central processing unit,缩写:CPU),网络处理器(英文:network processor,缩写:NP)或者CPU和NP的组合。处理器还可以进一步包括硬件芯片。上述硬件芯片可以是专用集成电路(英文:application-specific integrated circuit,缩写:ASIC),可编程逻辑器件(英文:programmable logic device,缩写:PLD)或其组合。上述PLD可以是复杂可编程逻辑器件(英文:complex programmable logic device,缩写:CPLD),现场可编程逻辑门阵列(英文:field-programmable gate array,缩写:FPGA),通用阵列逻辑(英文:generic array logic,缩写:GAL)或其任意组合。存储器可以包括易失性存储器(英文:volatile memory),例如随机存取存储器(英文:random-access memory,缩写:RAM);存储器也可以包括非易失性存储器(英文:non-volatile memory),例如只读存储器(英文:read-only memory,缩写:ROM),快闪存储器(英文:flash memory),硬盘(英文:hard disk drive,缩写:HDD)或固态硬盘(英文:solid-state drive,缩写:SSD);存 储器还可以包括上述种类的存储器的组合。
显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (17)

  1. 一种通信方法,其特征在于,包括:
    用户面设备接收来自会话管理设备的第一消息;所述第一消息用于请求建立或更新第一会话,所述第一消息中包括为终端服务的接入网设备所属的网络实例的第一网络实例标识,以及接入网设备的网络地址;所述网络地址位于所述第一消息的报文转发规则中;
    所述用户面设备根据所述第一网络实例标识以及所述网络地址确定报文转发地址;
    所述用户面设备接收报文,并确定接收到的所述报文适用所述第一消息中的所述报文转发规则,使用所述报文转发地址发送所述报文。
  2. 根据权利要求1所述的方法,其特征在于,所述第一网络实例标识位于所述报文转发规则中;或者,所述第一网络实例标识位于所述第一消息中,且位于所述报文转发规则外。
  3. 根据权利要求1或2所述的方法,其特征在于,第一消息中还包括与报文转发规则关联的至少一个报文检测规则;
    所述用户面设备确定接收到的所述报文适用所述第一消息中的所述报文转发规则,包括:
    当用户面设备根据接收到的所述报文的报文头部信息与所述至少一个报文检测规则进行匹配,如果匹配成功,则确定所述报文适用所述报文转发规则。
  4. 根据权利要求1至3任一所述的方法,其特征在于,所述报文转发地址为以下任意一项或多项组合:
    媒体接入控制MAC地址;
    隧道端点标识TEID;
    数据链路层地址;
    虚拟局域网标识VLAN ID。
  5. 一种通信方法,其特征在于,包括:
    会话管理设备接收为终端建立或更新第二会话的请求;
    所述会话管理设备获取为所述终端服务的接入网设备所属的网络实例的第一网络实例标识;
    所述会话管理设备向用户面设备发送第一消息,所述第一消息用于请求建立或更新第一会话,其中,所述第一会话与所述第二会话关联,所述第一消息中包括所述第一网络实例标识,以及网络地址;所述网络地址位于所述第一消息的报文转发规则中。
  6. 根据权利要求5所述的方法,其特征在于,所述会话管理设备获取为所述终端服务的接入网设备所属的网络实例的第一网络实例标识,包括:
    所述会话管理设备接收来自接入和移动性管理设备的所述第一网络实例标识;或者,
    所述会话管理设备接收来自所述接入网设备的所述第一网络实例标识;或者,
    所述会话管理设备根据来自所述终端或者所述接入网设备的第一参数,以及所述会话管理设备保存的第二参数,确定所述第一网络实例标识;所述第一参数为所述接入网设备的标识,所述接入网设备的网络地址中的一个或者组合;所述第二参数为第一参数中的一个或者多个与网络实例标识的对应关系。
  7. 根据权利要求5或6所述的方法,其特征在于,所述方法还包括:
    所述会话管理设备获取所述用户面设备所属的网络实例的第二网络实例标识;
    所述会话管理设备向所述接入网设备发送所述第二网络实例标识。
  8. 一种通信装置,其特征在于,包括:
    收发单元,用于接收来自会话管理设备的第一消息;所述第一消息用于请求建立或更新第一会话,所述第一消息中包括为终端服务的接入网设备所属的网络实例的第一网络实例标识,以及接入网设备的网络地址;所述网络地址位于所述第一消息的报文转发规则中;
    处理单元,用于根据所述第一网络实例标识以及所述网络地址确定报文转发地址;
    所述收发单元,用于接收报文,并确定接收到的所述报文适用所述第一消息中的所述报文转发规则,使用所述报文转发地址发送所述报文。
  9. 根据权利要求8所述的通信装置,其特征在于,所述第一网络实例标识位于所述报文转发规则中;或者,所述第一网络实例标识位于所述第一消息中,且位于所述报文转发规则外。
  10. 根据权利要求8或9所述的通信装置,其特征在于,第一消息中还包括与报文转发规则关联的至少一个报文检测规则;
    处理单元具体用于:
    当根据接收到的所述报文的报文头部信息与所述至少一个报文检测规则进行匹配,如果匹配成功,则确定所述报文适用所述报文转发规则。
  11. 根据权利要求8至10任一所述的通信装置,其特征在于,所述报文转发地址为以下任意一项或多项组合:
    媒体接入控制MAC地址;
    隧道端点标识TEID;
    数据链路层地址;
    虚拟局域网标识VLAN ID。
  12. 一种通信装置,其特征在于,包括:
    接收单元,用于接收为终端建立或更新第二会话的请求;获取为所述终端服务的接入网设备所属的网络实例的第一网络实例标识;
    发送单元,用于向用户面设备发送第一消息,所述第一消息用于请求建立或更新第一会话,其中,所述第一会话与所述第二会话关联,所述第一消息中包括所述第一网络实例标识,以及网络地址;所述网络地址位于所述第一消息的报文转发规则中。
  13. 根据权利要求12所述的通信装置,其特征在于,所述接收单元具体用于:
    接收来自接入和移动性管理设备的所述第一网络实例标识;或者,
    接收来自所述接入网设备的所述第一网络实例标识;或者,
    根据来自所述终端或者所述接入网设备的第一参数,以及所述会话管理设备保存的第二参数,确定所述第一网络实例标识;
    所述第一参数为所述接入网设备的标识,所述接入网设备的网络地址中的一个或者组合;所述第二参数为第一参数中的一个或者多个与网络实例标识的对应关系。
  14. 根据权利要求12或13所述的通信装置,其特征在于,所述接收单元还用于:
    获取所述用户面设备所属的网络实例的第二网络实例标识;
    所述发送单元还用于,向所述接入网设备发送所述第二网络实例标识。
  15. 一种通信装置,其特征在于,用于执行如权利要求1至7中任一项所述的方法。
  16. 一种通信装置,其特征在于,包括至少一个处理器,所述至少一个处理器与至少一个存储器耦合:
    所述至少一个处理器,用于执行如权利要求1至7中任一项所述的方法。
  17. 一种可读存储介质,其特征在于,包括程序或指令,当所述程序或指令被执行时,如权利要求1至7中任意一项所述的方法被执行。
PCT/CN2019/080637 2018-03-31 2019-03-29 一种通信方法及装置 WO2019185062A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
BR112020020034-4A BR112020020034A2 (pt) 2018-03-31 2019-03-29 Método de comunicação, aparelho de comunicações, meio de armazenamento legível, produto de programa de computador, e sistema de comunicações
EP19775010.2A EP3761708B1 (en) 2018-03-31 2019-03-29 Communication method and device
US17/036,909 US11528225B2 (en) 2018-03-31 2020-09-29 Communication method, session management device, and system for packet routing by access network devices belonging to a same network instance having different network addresses

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810278762.6 2018-03-31
CN201810278762.6A CN110324246B (zh) 2018-03-31 2018-03-31 一种通信方法及装置

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/036,909 Continuation US11528225B2 (en) 2018-03-31 2020-09-29 Communication method, session management device, and system for packet routing by access network devices belonging to a same network instance having different network addresses

Publications (1)

Publication Number Publication Date
WO2019185062A1 true WO2019185062A1 (zh) 2019-10-03

Family

ID=68059492

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/080637 WO2019185062A1 (zh) 2018-03-31 2019-03-29 一种通信方法及装置

Country Status (5)

Country Link
US (1) US11528225B2 (zh)
EP (1) EP3761708B1 (zh)
CN (1) CN110324246B (zh)
BR (1) BR112020020034A2 (zh)
WO (1) WO2019185062A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4187977A4 (en) * 2020-07-23 2024-01-03 Huawei Tech Co Ltd ROUTING CONFIGURATION METHOD AND DEVICE

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113285780B (zh) * 2020-02-20 2022-08-19 华为技术有限公司 配置传送管道的方法、装置及系统
CN113573326B (zh) * 2020-04-28 2023-08-22 华为技术有限公司 一种地址获取方法及装置
CN113573330A (zh) * 2020-04-29 2021-10-29 华为技术有限公司 一种通信方法及装置
CN114172753B (zh) * 2020-09-10 2023-04-07 华为技术有限公司 地址预留的方法、网络设备和系统
EP4243554A4 (en) * 2020-12-15 2024-01-03 Huawei Tech Co Ltd COMMUNICATION METHOD AND COMMUNICATION DEVICE
CN113114617B (zh) * 2021-02-25 2022-11-11 深圳艾灵网络有限公司 一种通信方法、系统及存储介质
CN115334014B (zh) * 2021-04-27 2023-05-16 阿里巴巴新加坡控股有限公司 虚拟交换机和数据传输系统
CN114143905B (zh) * 2022-01-29 2022-12-02 阿里巴巴达摩院(杭州)科技有限公司 会话建立方法、通信系统、电子设备和存储介质
WO2023230812A1 (en) * 2022-05-31 2023-12-07 Nokia Shanghai Bell Co., Ltd. Rma generation

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096394A (zh) * 2011-11-01 2013-05-08 中兴通讯股份有限公司 一种流移动中的策略管理方法和系统
CN104301141A (zh) * 2014-10-10 2015-01-21 华为技术有限公司 一种保存配置信息的方法、装置及系统
CN104301221A (zh) * 2014-10-11 2015-01-21 华为技术有限公司 一种路由消息的方法及装置

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10484278B2 (en) * 2015-03-18 2019-11-19 Fortinet, Inc. Application-based network packet forwarding
CN107318158A (zh) * 2016-04-26 2017-11-03 中兴通讯股份有限公司 一种消息发送、识别及移动性、会话管理的方法及节点
EP3493649B1 (en) * 2016-07-29 2022-03-02 LG Electronics Inc. Method and apparatus for performing cell specific procedure or mobility procedure for network slice-based nr in wireless communication system.
EP3493648B1 (en) 2016-07-29 2021-04-21 LG Electronics Inc. Method and apparatus for performing cell specification procedure for network slice-based nr in wireless communication system
CN107690161B (zh) * 2016-08-05 2019-08-30 电信科学技术研究院 一种pdu会话的处理方法及设备
CN109661853B (zh) * 2016-09-07 2020-12-08 华为技术有限公司 本地分组数据网络的动态创建方法、装置及系统
CN110049504B (zh) * 2018-01-15 2021-06-22 华为技术有限公司 一种会话管理方法及装置
CN112567879A (zh) * 2018-08-08 2021-03-26 诺基亚技术有限公司 将逻辑网络资源映射到传输资源
CN111901242B (zh) * 2019-05-06 2022-04-22 华为技术有限公司 一种路由规则的管理方法及通信装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103096394A (zh) * 2011-11-01 2013-05-08 中兴通讯股份有限公司 一种流移动中的策略管理方法和系统
CN104301141A (zh) * 2014-10-10 2015-01-21 华为技术有限公司 一种保存配置信息的方法、装置及系统
CN104301221A (zh) * 2014-10-11 2015-01-21 华为技术有限公司 一种路由消息的方法及装置

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3GPP WORKING GROUP: "Technical Specification Group Services and System Aspects, System Architecture for the 5G System, Stage 2 (Release 15", 3GPP TS 23.501, 30 September 2017 (2017-09-30), XP051334856 *
See also references of EP3761708A4

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4187977A4 (en) * 2020-07-23 2024-01-03 Huawei Tech Co Ltd ROUTING CONFIGURATION METHOD AND DEVICE

Also Published As

Publication number Publication date
BR112020020034A2 (pt) 2021-01-05
US20210014164A1 (en) 2021-01-14
EP3761708A4 (en) 2021-04-21
EP3761708B1 (en) 2022-08-17
CN110324246A (zh) 2019-10-11
US11528225B2 (en) 2022-12-13
CN110324246B (zh) 2021-12-24
EP3761708A1 (en) 2021-01-06

Similar Documents

Publication Publication Date Title
WO2019185062A1 (zh) 一种通信方法及装置
US20210076444A1 (en) Session Management Method, Apparatus, and System
US11159976B2 (en) Handling of mapped EPS bearer context for invalid QoS flow description
US20190141169A1 (en) User-plane protocol stack determining method, control-plane network element, and system
KR101814969B1 (ko) 네트워크에 액세스하는 시스템 및 방법
US11026165B2 (en) Radio network node, network node, database, configuration control node, and methods performed thereby
US11864103B2 (en) Network slicing method and device, and storage medium
US20210168902A1 (en) User Group Session Management Method and Apparatus
WO2018232570A1 (zh) 一种注册及会话建立的方法、终端和amf实体
US11259344B2 (en) Network architecture and information exchange method and apparatus
US20210120620A1 (en) Communication Method and Apparatus
WO2019196811A1 (zh) 通信方法和相关装置
JP2024020336A (ja) データ伝送方法、通信デバイス、及び通信システム
US11419027B2 (en) User plane link establishment method, base station, and mobility management device
JP2019521588A (ja) 通信制御方法および関連するネットワーク要素
WO2017219355A1 (zh) 多连接通信方法和设备
WO2016191963A1 (zh) 一种建立承载的方法、用户设备及基站
WO2020024881A1 (zh) 一种通信方法及装置
US20230239940A1 (en) Data transmission method and apparatus
US11838891B2 (en) Paging of idle state wireless communication devices
WO2019174582A1 (zh) 一种消息传输方法和装置
WO2013053133A1 (zh) 业务数据传输处理方法、设备以及通信系统
JP2023531845A (ja) 時刻同期方法、電子設備および記憶媒体
US20220182910A1 (en) Data Processing Method, Apparatus, And System
CN112291845B (zh) 一种寻呼方法及通信装置

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2019775010

Country of ref document: EP

Effective date: 20201001

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112020020034

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112020020034

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20200930