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

一种通信方法及装置 Download PDF

Info

Publication number
WO2020073921A1
WO2020073921A1 PCT/CN2019/110136 CN2019110136W WO2020073921A1 WO 2020073921 A1 WO2020073921 A1 WO 2020073921A1 CN 2019110136 W CN2019110136 W CN 2019110136W WO 2020073921 A1 WO2020073921 A1 WO 2020073921A1
Authority
WO
WIPO (PCT)
Prior art keywords
identification information
information
data stream
mptcp
application
Prior art date
Application number
PCT/CN2019/110136
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 华为技术有限公司
Publication of WO2020073921A1 publication Critical patent/WO2020073921A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/163In-band adaptation of TCP data exchange; In-band control procedures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0268Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present application relates to the field of mobile communication technology, and in particular, to a communication method and device.
  • the terminal In the 5th generation (5G) communication, for a common Transmission Control Protocol / Internet Protocol (Transmission Control / Protocol / Internet Protocol, TCP / IP) connection, when the terminal ’s application layer establishes a connection with the application server, it is Establish a TCP connection between the application and the application server.
  • TCP / IP Transmission Control Protocol / Internet Protocol
  • the general process for the terminal to process data packets is as follows: the application layer of the terminal generates an application layer packet of the application data stream, and the application layer packet contains the active IP address, source port number, application server IP address, and application server port number , Protocol type and other information, and then, the terminal processes the application layer data packet according to the processing policy information of the data packet received from the network side.
  • the processing strategy information of the data packet includes a packet filter set (packet filter set) and the corresponding data flow processing strategy.
  • the packet filter includes one or more information of source IP address, destination IP address, source port number, destination port number, and protocol type, where the destination IP address is the IP address of the application server, and the destination port number is the application server's The port number. Therefore, the terminal can identify the corresponding application layer data packet according to a certain data packet filter in the data packet filter, and then process the application layer data packet according to the data flow processing strategy corresponding to the data packet filter.
  • MultiPath TCP proxy MultiPath TCP proxy, MPTCP proxy
  • MPTCP proxy MultiPath TCP proxy server
  • the terminal replaces the destination address of the application layer data packet with the IP address of the application server by the IP address of the MPTCP proxy server, and replaces the destination port number of the application layer data packet with the port number of the application server by MPTCP The port number of the proxy server to obtain the first data packet.
  • the terminal processes the first data packet according to the processing policy information of the data packet received from the network side.
  • the terminal Since the destination address and destination port number of the first data packet to be processed by the terminal have been replaced by the IP address and port number of the MPTCP proxy server, respectively, the terminal cannot use the packet filter received from the network side to identify the first data Packet, so that the first data packet cannot be processed.
  • the present application provides a communication method and device for realizing correct identification of data packets of application data streams.
  • the present application provides a communication method, the method includes: a terminal establishing an MPTCP connection with an MPTCP proxy server for a first application data stream; the terminal receives a QoS policy from a session management network element, and the QoS policy includes the first application data The identification information of the flow and the QoS parameters corresponding to the first application data flow; the terminal obtains the first data packet of the first application data flow, and the terminal determines the QoS parameters corresponding to the first data packet according to the identification information of the first application data flow; The QoS parameters process the first data packet.
  • the terminal can identify the data packet of the first application data stream according to the identification information of the first application data stream in the QoS policy, to achieve the correct identification of the data packet of the first application data stream, and further, according to the first application data
  • the identification information of the flow determines the QoS parameter corresponding to the first data packet, and processes the first data packet according to the QoS parameter, thereby realizing correct processing of the data packet.
  • the identification information of the first application data stream includes the connection identification of the MPTCP connection.
  • the terminal may allocate the connection identifier of the MPTCP connection to the MPTCP connection; the terminal sends the connection identifier of the MPTCP connection to the session management network element.
  • the MPTCP connection includes a first data transmission path, and the first data transmission path is used to transmit the first application data stream using the first access technology; the identification information of the first application data stream includes the first data For the first identification information corresponding to the transmission path, the QoS parameter includes the first QoS parameter corresponding to the first data transmission path.
  • the first identification information includes information of a first destination address corresponding to the first data transmission path, and the information of the first destination address is address information of the MPTCP proxy server.
  • the terminal before the terminal receives the QoS policy from the session management network element, the terminal also receives the information of the first destination address; the terminal obtains the application layer data packet and uses the first destination address as the address of the application layer data packet to obtain the first data pack.
  • the information of the first destination address includes an IP address and / or port number.
  • the first identification information includes information about the first source address corresponding to the first data transmission path.
  • the terminal allocates the first source address; the terminal sends the information of the first source address to the session management network element.
  • the terminal before the terminal receives the QoS policy from the session management network element, the terminal obtains the application layer data packet and uses the address of the MPTCP proxy server as the address of the application layer data packet to obtain the first data packet.
  • the first source address information includes an IP address and / or port number.
  • the MPTCP connection further includes a second data transmission path, and the second data transmission path is used to transmit the first application data stream by using the second access technology; the identification information of the first application data stream It includes the second identification information corresponding to the second data transmission path, and the QoS parameter also includes the second QoS parameter corresponding to the second data transmission path.
  • the second identification information includes information of a second destination address corresponding to the second data transmission path, and the information of the second destination address is address information of the MPTCP proxy server.
  • the information of the second destination address includes an IP address and / or port number.
  • the terminal before the terminal receives the QoS policy from the session management network element, the terminal receives the information of the second destination address; the terminal obtains the application layer data packet and uses the second destination address information as the address of the application layer data packet to obtain the first data pack.
  • the second identification information includes information about the second source address corresponding to the second data transmission path.
  • the terminal allocates the second source address; the terminal sends the information of the second source address to the session management network element.
  • the information of the second source address includes an IP address and / or a port number.
  • the terminal before the terminal receives the QoS policy from the session management network element, the terminal receives the information of the second source address; the terminal obtains the application layer data packet, and the application layer data packet includes the information of the second source address to obtain the first data package.
  • the present application provides a communication method.
  • the method includes: the first logical layer of the terminal establishes an MPTCP connection with the MPTCP proxy server for the first application data stream; the second logical layer of the terminal generates an application layer data packet, which will The application data packet is sent to the first logical layer of the terminal; the first logical layer of the terminal adds the connection identifier of the MPTCP connection to the application layer data packet to obtain the first data packet, and sends the first data packet to the third logical layer of the terminal.
  • the third logical layer of the terminal determines the Qos parameter corresponding to the connection identifier of the MPTCP connection in the first data packet; the third logical layer of the terminal processes the first data packet according to the QoS parameters.
  • the third logical layer of the terminal can identify the data packet of the first application data stream according to the connection identifier of the MPTCP connection, thereby realizing the correct identification of the data packet of the first application data stream. Further, the third logical layer of the terminal determines The QoS parameter corresponding to the first data packet, and processing the first data packet according to the QoS parameter, to achieve correct processing of the data packet.
  • the first logical layer of the terminal allocates the connection identifier of the MPTCP connection to the MPTCP connection; the first logical layer of the terminal sends the connection identifier of the MPTCP connection to the third logical layer of the terminal; the third logic of the terminal The layer establishes an association relationship between the first application data stream and the connection identifier of the MPTCP connection.
  • the present application provides a communication method including: an MPTCP proxy server establishing an MPTCP connection with a terminal for a first application data stream; an MPTCP proxy server acquiring identification information of the first application data stream; and an MPTCP proxy server
  • the management network element sends the identification information of the first application data stream.
  • the MPTCP proxy server can obtain the identification information of the first application data stream and send the identification information of the first application data stream to the session management network element, so that the session management network element can send the identification information of the first application data stream Sent to the terminal, and then the terminal can identify the data packet of the first application data stream according to the identification information of the first application data stream, so as to correctly identify the data packet of the first application data stream.
  • the identification information of the first application data stream includes the connection identification of the MPTCP connection.
  • the MPTCP proxy server obtains the identification information of the first application data stream, including: the MPTCP proxy server allocates the connection identifier of the MPTCP connection to the MPTCP connection; or, the MPTCP proxy server receives the connection identifier of the MPTCP connection from the terminal.
  • the MPTCP connection includes a first data transmission path, and the first data transmission path is used to transmit the first application data stream using the first access technology; the identification information of the first application data stream includes the first data For the first identification information corresponding to the transmission path, the QoS parameter includes the first QoS parameter corresponding to the first data transmission path.
  • the MPTCP proxy server obtains the identification information of the first application data stream, which includes: the MPTCP proxy server allocates the first identification information, and the first identification information includes the first data transmission Information about the first destination address corresponding to the path.
  • the MPTCP proxy server sends the first identification information to the terminal.
  • the information of the first destination address includes an IP address and / or port number.
  • the first identification information includes information of a first source address corresponding to the first data transmission path, and the information of the first source address is address information of the terminal.
  • the MPTCP proxy server receives the first source address information from the terminal.
  • the first source address information includes an IP address and / or port number.
  • the MPTCP connection further includes a second data transmission path, and the second data transmission path is used to transmit the first application data stream by using the second access technology; the identification information of the first application data stream It includes the second identification information corresponding to the second data transmission path, and the QoS parameter also includes the second QoS parameter corresponding to the second data transmission path.
  • the MPTCP proxy server obtains the identification information of the first application data stream, which includes: the MPTCP proxy server allocates second identification information, and the second identification information includes information about the second destination address corresponding to the second data transmission path.
  • the MPTCP proxy server sends the second identification information to the terminal.
  • the information of the second destination address includes an IP address and / or port number.
  • the second identification information includes information of a second source address corresponding to the second data transmission path, and the information of the second source address is address information of the terminal.
  • the MPTCP proxy server receives the information of the second source address from the terminal.
  • the second source address information includes an IP address and / or port number.
  • the present application provides a communication method.
  • the method includes: the session management network element obtains identification information from the first application data stream; the session management network element sends a QoS policy to the terminal, and the QoS policy includes the first application data stream ’s The identification information and the QoS parameter corresponding to the first application data stream.
  • the session management network element can obtain the identification information of the first application data stream, and send the identification information of the first application data stream and the QoS parameters corresponding to the first application data stream to the terminal through the QoS policy, so that the terminal can
  • the identification information of the first application data stream identifies the data packet of the first application data stream, so that the data packet of the first application data stream is correctly identified.
  • the QoS parameter corresponding to the first data packet is determined according to the identification information of the first application data stream, and the first data packet is processed according to the QoS parameter, so as to achieve correct processing of the data packet.
  • the identification information of the first application data stream includes the connection identification of the MPTCP connection between the MPTCP proxy server and the terminal.
  • the session management network element sends a request message to the MPTCP proxy server, the request message includes a packet filter of the first application data stream, and the first application data The packet filter of the stream is used to identify the first application data stream, and the request message is used to request to obtain the identification information of the first application data stream; the session management network element receives the connection identifier of the MPTCP connection from the MPTCP proxy server; or, the session management network element Assign the connection identifier of the MPTCP connection to the terminal.
  • the MPTCP connection includes a first data transmission path, and the first data transmission path is used to transmit the first application data stream using the first access technology; the identifier of the first application data stream The information includes first identification information corresponding to the first data transmission path, and the QoS parameter includes the first QoS parameter corresponding to the first data transmission path.
  • the first identification information includes information of a first destination address corresponding to the first data transmission path, and the information of the first destination address is address information of the MPTCP proxy server.
  • the session management network element receives the information of the first destination address from the MPTCP proxy server.
  • the information of the first destination address includes an IP address and / or port number.
  • the first identification information includes information about the first source address corresponding to the first data transmission path, and the information about the first source address is allocated by the session management network element.
  • the session management network element receives information from the first source address of the terminal.
  • the first source address information includes an IP address and / or port number.
  • the MPTCP connection further includes a second data transmission path, and the second data transmission path is used to transmit the first application data stream by using the second access technology; the identification information of the first application data stream The second identification information corresponding to the second data transmission path is included, and the QoS parameter includes the second QoS parameter corresponding to the second data transmission path.
  • the second identification information includes information of a second destination address corresponding to the second data transmission path, and the information of the second destination address is address information of the MPTCP proxy server.
  • the session management network element receives the information of the second destination address from the MPTCP proxy server.
  • the information of the second destination address includes an IP address and / or port number.
  • the second identification information includes information of a second source address corresponding to the second data transmission path, and the information of the second source address is address information of the terminal.
  • the session management network element receives information from the second source address of the terminal.
  • the second source address information includes an IP address and / or port number.
  • the present application provides an apparatus, which may be a terminal or a chip.
  • This device has the function of realizing the embodiments of the first aspect described above.
  • This function can be realized by hardware, and can also be realized by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the present application provides an apparatus, which may be a terminal or a chip.
  • This device has the function of realizing the embodiments in the second aspect described above.
  • This function can be realized by hardware, and can also be realized by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the present application provides an apparatus, which may be an MPTCP proxy server or a chip.
  • This device has the function of realizing the embodiments in the third aspect described above.
  • This function can be realized by hardware, and can also be realized by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • the present application provides an apparatus, which may be a session management network element or a chip.
  • This device has the function of realizing the embodiments in the above fourth aspect.
  • This function can be realized by hardware, and can also be realized by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above functions.
  • an apparatus including: a processor and a memory; the memory is used to store computer-executed instructions, and when the apparatus is running, the processor executes the computer-executed instructions stored in the memory to cause the apparatus to execute The communication method as described in the first aspect or any one of the first aspects above.
  • an apparatus including: a processor and a memory; the memory is used to store computer-executed instructions, and when the apparatus is running, the processor executes the computer-executed instructions stored in the memory to cause the apparatus to execute The communication method as described in the second aspect or any one of the second aspects above.
  • an apparatus including: a processor and a memory; the memory is used to store computer-executed instructions, and when the apparatus is running, the processor executes the computer-executed instructions stored in the memory to cause the apparatus Perform the communication method as described in any of the third aspect or your aspect above.
  • an apparatus including: a processor and a memory; the memory is used to store computer-executed instructions, and when the apparatus is running, the processor executes the computer-executed instructions stored in the memory to cause the apparatus
  • the communication method as described in the fourth aspect or any of the fourth aspect above is performed.
  • the present application also provides a computer-readable storage medium, in which instructions are stored in the computer-readable storage medium, which when executed on a computer, causes the computer to execute the method described in the first aspect.
  • the present application also provides a computer-readable storage medium having instructions stored therein, which when executed on a computer, causes the computer to execute the method described in the second aspect above.
  • the present application also provides a computer-readable storage medium that stores instructions, which when executed on a computer, causes the computer to perform the method described in the third aspect.
  • the present application also provides a computer-readable storage medium having instructions stored therein, which when executed on a computer, causes the computer to perform the method described in the fourth aspect above.
  • the present application also provides a computer program product including instructions, which when executed on a computer, causes the computer to perform the method described in the first aspect above.
  • the present application also provides a computer program product including instructions that, when run on a computer, cause the computer to perform the method described in the second aspect above.
  • the present application also provides a computer program product including instructions that, when run on a computer, cause the computer to perform the method described in the third aspect above.
  • the present application also provides a computer program product including instructions that, when run on a computer, cause the computer to perform the method described in the fourth aspect above.
  • FIG. 1 is a schematic diagram of a possible network architecture applicable to this application
  • FIG. 2 is a schematic diagram of another possible network architecture applicable to this application.
  • FIG. 3 is a schematic diagram of a communication method provided by the application.
  • FIG. 5 is a schematic diagram of a device provided by this application.
  • FIG. 6 is a schematic diagram of a terminal provided by this application.
  • FIG. 7 is a schematic diagram of another device provided by the present application.
  • the network architecture and business scenarios described in the embodiments of the present application are to more clearly explain the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. With the evolution of the architecture and the emergence of new business scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
  • the network architecture includes a session management network element, MPTCP proxy server and terminal.
  • the session management network element is mainly used for session management in a mobile network, such as session creation, modification, and release. Specific functions include, for example, assigning Internet protocol (IP) addresses to users, and selecting user plane network elements that provide message forwarding functions.
  • IP Internet protocol
  • the session management network element may be a session management function (SMF) network element.
  • SMF session management function
  • future communications such as 6th generation (6th generation, 6G) communication, the session management network element may still be an SMF network element , Or have other names, this application is not limited.
  • MPTCP proxy server can be used to establish MPTCP connection with the terminal.
  • MPTCP allows multiple sub-channels to be established in a TCP connection. These sub-channels belong to the same MPTCP session.
  • the identifier of the MPTCP session is called the MPTCP session identifier (the MPTCP session identifier can also be called the connection identifier of the MPTCP connection).
  • One of the channels transmits, or simultaneously transmits on two transmission channels.
  • the MPTCP proxy server may be a user plane network element.
  • the user plane network element may be, for example, a user plane function (user plane function, UPF) network element.
  • the terminal is a device with wireless transceiver function, which can be deployed on land, including indoor or outdoor, hand-held or vehicle-mounted; it can also be deployed on the water (such as ships, etc.); it can also be deployed in the air (such as aircraft, balloons, and satellites) First class).
  • the terminal may be a mobile phone, a tablet computer, a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, and an industrial control (industrial control) Wireless terminal in self-driving, wireless terminal in self-driving, wireless terminal in remote medical, wireless terminal in smart grid, wireless terminal in transportation safety, Wireless terminals in smart cities (smart cities), wireless terminals in smart homes (smart homes), etc.
  • the terminal may also be a user equipment (UE).
  • UE user equipment
  • the network architecture includes a mobility management network element (the mobility management network element in the figure is an access and mobility management function (AMF) network element as an example), and a session management network element (the figure uses a session
  • the management network element is an SMF network element as an example
  • the user plane network element the user plane network element is a UPF network element in the figure
  • the policy control network element the policy control network element is a policy control function in the figure) function, PCF) as an example.
  • the mobility management network element is mainly used for the process of terminal registration, mobility management, and tracking area update in the mobile network.
  • the mobility management network element terminates non-access stratum (NAS) messages, completes registration management, connection management, and reachability management, assigns tracking area lists (track, area list, TA list), and mobility management, etc. And transparently route the session management (session management, SM) message to the session management network element.
  • NAS non-access stratum
  • the mobility management network element may be an AMF network element.
  • future communications, such as 6G communication the mobility management network element may still be an AMF network element, or have another name, which is not limited in this application.
  • Policy control network elements including user contract data management functions, policy control functions, billing policy control functions, quality of service (QoS) control, etc.
  • the policy control network element may be a PCF network element.
  • future communications such as 6G communication, the policy control network element may still be a PCF network element, or have another name, which is not limited in this application.
  • the network architecture shown in FIG. 2 may be a specific implementation manner of the network architecture shown in FIG. 1, and the MPTCP proxy server in FIG. 1 may specifically be integrated with the UPF network element in FIG. 2 for deployment.
  • PDU connection service is the business of exchanging PDU data packets between a terminal and a data network (data, network, DN).
  • the PDU connection service is implemented by the terminal initiating the establishment of a PDU session. After a PDU session is established, a data transmission channel between the terminal and the DN is established.
  • the terminal can exchange data packets with the DN through the 3GPP access technology.
  • the terminal uses the 3GPP access technology, through the UPF network element (specifically, the UPF network element can serve as an MPTCP proxy server) and Data packets are exchanged between DNs.
  • the terminal can exchange data packets with the DN through non-3GPP (non-3GPP) access technology.
  • the terminal uses non-3GPP access technology through the UPF network element (specifically, the UPF network Yuan can act as an MPTCP proxy server) and exchange data packets between DN.
  • the terminal may implement 3GPP access through a radio access network (RAN) device.
  • the RAN device here is a device that provides a wireless communication function for the terminal.
  • RAN equipment includes, for example, but not limited to: 5G next-generation base station (gNodeB, gNB), evolved node B (evolved node B, eNB), radio network controller (radio network controller, RNC), node B (node B , NB), base station controller (BSC), base transceiver station (BTS), home base station (for example, home evolved node B, or home node B, HNB), etc.
  • 5G next-generation base station gNodeB, gNB
  • evolved node B evolved node B
  • eNB radio network controller
  • RNC radio network controller
  • node B node B
  • BSC base station controller
  • BTS base transceiver station
  • home base station for example, home evolved node B, or home node B, HNB
  • the terminal can realize non-3GPP access through a non-3GPP interworking function (N3IWF) device, where the N3IWF device is a device that connects the non-3GPP access network and the 5G core network, such as N3IWF
  • N3IWF non-3GPP interworking function
  • the device may be an evolved packet data gateway (evolved Packet Data Gateway, ePDG) or 5G data gateway.
  • ePDG evolved Packet Data Gateway
  • 5G data gateway evolved packet data gateway
  • the above function may be a network element in a hardware device, or a software function running on dedicated hardware, or a virtualized function instantiated on a platform (for example, a cloud platform).
  • the following application takes the session management network element as the SMF network element and the terminal as the UE as an example for description.
  • the SMF network element is simply referred to as SMF. That is, the SMF described later in this application can be replaced by a session management network element, and the UE described later in this application can be replaced by a terminal.
  • FIG. 3 it is a schematic diagram of a communication method provided by the present application. The method includes the following steps:
  • step 301 the UE establishes an MPTCP connection with the MPTCP proxy server for the first application data stream.
  • the UE and the MPTCP proxy server may learn that the first application data stream transmitted on the MPTCP connection is one application data stream for each MPTCP connection.
  • Step 302 the SMF sends a QoS policy to the UE. Accordingly, the UE can receive the QoS policy.
  • the process of the SMF sending the QoS policy to the UE may be implemented through the AMF.
  • the SMF sends the first message to the AMF, the first message includes the QoS policy, and the AMF sends the second message to the UE.
  • the second message contains the QOS strategy.
  • the QoS policy includes the identification information of the first application data flow and the QoS parameters corresponding to the first application data flow, where the identification information of the first application data flow is used to identify the first application data flow, and the QoS parameter information may include, for example, QoS flow One or more information such as identifier (QoS flow identifier, QFI), guaranteed bit rate (guaranteed bit rate, GBR), 5G QoS identifier (5G QoS identifier, 5QI), maximum bit rate (maximum bit rate, MBR), etc.
  • QoS flow identifier QFI
  • guaranteed bit rate guaranteed bit rate
  • GBR guaranteed bit rate
  • 5G QoS identifier 5G QoS identifier
  • maximum bit rate maximum bit rate
  • Step 303 The UE obtains the first data packet of the first application data stream, and determines the QoS parameter corresponding to the first data packet according to the identification information of the first application data stream.
  • Step 304 the UE processes the first data packet according to the QoS parameters.
  • the processing of the first data packet here includes, but is not limited to:
  • the MPTCP proxy server sends the first data packet according to the QoS parameters.
  • the UE can send the first data packet according to the MBR and GBR parameters in the QOS parameters.
  • the terminal may identify QFI for the first data packet, that is, add QFI to the first data packet to identify the first data packet.
  • the UE can identify the data packet of the first application data stream according to the identification information of the first application data stream in the QoS policy, to achieve the correct identification of the data packet of the first application data stream, and further, according to the first application data
  • the identification information of the flow determines the QoS parameter corresponding to the first data packet, and processes the first data packet according to the QoS parameter, thereby realizing correct processing of the data packet.
  • the application (APP) of the UE generates an application layer data packet of the first data stream.
  • the application layer data packet includes one or more of five-tuple information, such as a triplet, and the triplet is specifically a protocol type, Destination address and destination port number, and the destination address is the IP address of the application server, the destination port number is the port number of the application server, or the application layer data packet includes a 5-tuple, the 5-tuple is specifically the protocol type, source address, The source port number, destination address and destination port number, and the source address is the UE's IP address, the source port number is the UE's port number, the destination address is the application server's IP address, and the destination port number is the application server's port number.
  • the UE replaces the destination address in the generated application layer packet with the IP address of the MPTCP proxy server from the application server's IP address, and replaces the destination port number in the application layer packet with the MPTCP proxy server from the application server's port number To get the first data packet. That is, the difference between the first data packet and the application layer data packet is that the logical meaning of the destination address and the destination port number are different.
  • the destination address information of the first data packet is the address information of the MPTCP proxy server, and the destination address information of the application layer data packet is Address information of the application server.
  • the UE can generate a first data packet, the first data packet is to be sent to the MPTCP proxy server, and the MPTCP proxy server sends the first data packet or the data in the first data packet to the application server.
  • the UE identifies the first data packet of the first application data stream according to the identification information of the first application data stream in the QoS policy delivered by the SMF through the above steps 301-303.
  • processing the data packet according to the QoS parameter corresponding to the identification information of the first application data flow in the QoS policy that is, processing the data packet according to the QoS parameter corresponding to the identification information of the first application data flow in the QoS policy.
  • the QFI is identified in the first data packet, or the corresponding GBR, 5QI, etc. are executed for the first data packet.
  • the identification information of the first application data stream may have multiple implementation methods. As an example, three different implementation methods are described below. Further, with reference to different implementation methods of the identification information of the first application data stream, different methods for the UE to process the first data packet are specifically described.
  • the identification information of the first application data stream includes the connection identification of the MPTCP connection.
  • an MPTCP connection is established between the terminal and the MPTCP proxy server for the application data stream.
  • the connection identifier of the MPTCP connection can be used to identify the application data stream.
  • the connection identifier of the MPTCP connection can be a token or Connection ID
  • the connection identifier of the MPTCP connection established between the UE and the MPTCP proxy server for the first application data stream may be used to identify the first application data stream.
  • the UE allocates the connection identifier of the MPTCP connection for the first application data stream.
  • the connection identifier of the MPTCP connection is sent to the SMF, for example, it can be sent directly to the SMF, or the connection identifier of the MPTCP connection is sent to the MPTCP proxy server, and then the MPTCP proxy server connects the MPTCP connection The logo is sent to SMF.
  • the MPTCP proxy server assigns the connection identifier of the MPTCP connection to the first application data stream. After the MPTCP proxy server allocates the connection identifier of the MPTCP connection, it sends the connection identifier of the MPTCP connection to the SMF and the UE.
  • SMF assigns the connection identifier of the MPTCP connection to the first application data stream, and then the SMF assigns the connection identifier of the MPTCP connection Send to UE and MPTCP proxy server.
  • the SMF may determine the QoS policy according to the connection identifier of the MPTCP connection.
  • the determined QoS policy may include the connection identifier of the MPTCP connection and the QoS parameter corresponding to the first application data flow.
  • the connection identifier of the MPTCP connection in the QoS policy can be used as the identifier information of the first application data stream.
  • the QoS policy may further include an application identifier of the first application data stream.
  • the application identifier of the first application data stream may be a packet filter set (packet filter set), and the packet filter set includes one or more packet filters.
  • a packet filter may include one or more of five-tuple information, specifically a three-tuple or five-tuple. Packet filters in the packet filter set can be used to identify application data streams. The difference between the application identifier of the first application data stream and the identification information of the first application data stream is that the application identifier of the first application data stream refers to the packet filter set in the prior art, that is, to identify the original application layer data. The identification information of the package is the same throughout the concept of the application identification of the first application data stream. In this implementation, the identification information of the first application data stream refers to the connection identifier of the MPTCP connection, and the connection identifier of the MPTCP connection corresponds to the application identifier of the first application data stream.
  • the QoS parameters corresponding to the first application data stream are used to indicate the processing method for processing the first application data stream, and the QoS parameters may include one or more of information such as QFI, MBR, GBR, or 5QI, and the UE processes the data according to these QoS parameters Packets, such as identifying QFI in data packets.
  • the specific implementation manner of the QoS policy is determined according to the connection identifier of the MPTCP connection.
  • SMF sends the obtained connection identifier of the MPTCP connection and the application identifier of the first application data stream (one or more pieces of information in the 5-tuple information) to the PCF, and the PCF according to the MPTCP connection
  • the connection identifier and the QoS parameter information corresponding to the application identifier of the first application data stream (one or more information in the 5-tuple information) generate a QoS policy, and then send the QoS policy to the SMF.
  • the SMF can receive The connection identification of the MPTCP connection in the received QoS policy is used as identification information of the first application data flow.
  • the SMF obtains the connection identifier of the MPTCP connection, and also obtains the application identifier (one or more pieces of information in the 5-tuple information) of the first application data stream from the PCF, the first application data stream
  • the application identifier includes the address information of the application server associated with the application layer data packet, and is used to indicate the application layer data packet.
  • SMF also obtains the QoS parameter information of the first application data stream from the PCF, and then the SMF can connect according to the MPTCP
  • the connection identifier of the connection and the QoS parameter information of the first application data flow determine the QoS policy.
  • the application identification of the first application data stream (one or more pieces of information in the quintuple information) is used as the identification information of the first application data stream.
  • the connection identifier of the MPTCP connection is used as the identification information of the first application data stream.
  • the connection identifier of the MPTCP connection may be carried in the QoS policy , but does not carry the application identifier of the first application data stream, that is, it can be understood that the connection identifier of the MPTCP connection is used to replace the application identifier of the first application data stream.
  • the QoS policy may carry the connection identifier of the MPTCP connection and the application identifier of the first application data stream, and the connection identifier of the MPTCP connection is used as the identification information of the first application data stream.
  • the specific application method of the application identifier of the first application data stream is not limited in this application.
  • SMF can obtain the connection identifier of the MPTCP connection from the MPTCP proxy server by any of the following methods:
  • Method A SMF subscribes to the MPTCP proxy server for the connection identifier of the MPTCP connection. After the MPTCP proxy server obtains the connection identifier of the MPTCP connection (it can be assigned by the MPTCP proxy server or obtained by the MPTCP proxy server from the UE), according to the SMF ’s The subscription sends the connection identifier of the MPTCP connection to SMF.
  • SMF may carry a packet filter in the subscription request, the packet filter is used to identify the first application data stream, and optionally, the packet filter includes a destination address and a destination port Number, and the destination address and destination port number are the IP address and port number of the application server.
  • Method B after obtaining the connection identifier of the MPTCP connection (which may be assigned by the MPTCP proxy server or obtained by the MPTCP proxy server from the UE), the MPTCP proxy server actively sends the connection identifier of the MPTCP connection to the SMF.
  • the connection identifier of the MPTCP connection which may be assigned by the MPTCP proxy server or obtained by the MPTCP proxy server from the UE
  • the WeChat APP of the UE establishes a TCP connection with the WeChat application server on the network side.
  • the MPTCP connection is established between the WeChat APP of the UE and the MPTCP proxy server, and then a TCP connection is established between the MPTCP proxy server and the WeChat application server.
  • the application data stream between the UE and the WeChat server is called the first application data stream.
  • the UE or MPTCP proxy server or SMF assigns a connection identifier to the MPTCP connection, and after obtaining the connection identifier of the MPTCP connection, the SMF determines the QoS policy and sends the QoS policy to the UE.
  • the WeChat APP of the UE generates an application layer data packet of the WeChat data stream.
  • the application layer data packet includes one or more of the five-tuple information, which may specifically be a triple or five-tuple, and the triple or five
  • the destination address and destination port number of the tuple are the IP address and port number of the WeChat application server.
  • the triples are: protocol type, IP1 and port1, where IP1 is the IP address of the WeChat application server and port1 is the port number of the WeChat application server.
  • the UE replaces the destination IP address and destination port number of the triplet in the application layer packet with the IP address and port number of the MPTCP proxy server, such as IP2 and port2, where IP2 is the IP address of the MPTCP proxy server port2 is the port number of the MPTCP proxy server. And, the UE adds Cnnection ID1 to the application layer data packet. Thus, the first data packet is obtained. Therefore, the destination address of the triplet in the first data packet is IP2, the destination port number is port2, and the first data packet includes Cnnection ID1.
  • the UE recognizes the WeChat application data flow according to the QoS policy received from the SMF.
  • the UE receives one or more QoS policies from SMF, for example, QoS policies:
  • Cnnection ID1 is the connection identifier of the MPTCP connection established between the UE and the MPTCP proxy server for the WeChat application data stream (can be called the first application data stream), QoS parameter 1 is the QoS parameter corresponding to the WeChat application data stream; Cnnection ID2 is the UE The connection identifier of the MPTCP connection established with the MPTCP proxy server for the Weibo application data stream (may be called the second application data stream), QoS parameter 2 is the QoS parameter corresponding to the Weibo application data stream; The connection identifier of the MPTCP connection established for the Alipay application data stream (which may be referred to as a third application data stream), and the QoS parameter 3 is the QoS parameter corresponding to the Alipay application data stream.
  • the UE can identify the first data packet of the WeChat application data stream according to the Cnnection ID1 in the QoS policy. Furthermore, the UE may process the first data packet according to the QoS parameter 1 corresponding to Cnnection ID1, for example, perform corresponding QoS control according to the QoS parameter 1.
  • the MPTCP connection between the UE and the MPTCP proxy server includes a first data transmission path, the first data transmission path is used to transmit the first application data stream using the first access technology, and the identification information of the first application data stream It includes first identification information corresponding to the first data transmission path, and the first identification information includes information of the first destination address corresponding to the first data transmission path, and the information of the first destination address is address information of the MPTCP proxy server.
  • the MPTCP connection between the UE and the MPTCP proxy server includes at least a first data transmission path, and the first data transmission path is used to transmit a first application data stream using a first access technology, and the first access
  • the technology may be a 3GPP access technology or a non-3GPP access technology.
  • the first identification information includes information of a first destination address corresponding to the first data transmission path, the information of the first destination address is address information of the MPTCP proxy server, and the address information may be the IP address of the MPTCP proxy server, Either the port number of the MPTCP proxy server, or the IP address and port number of the MPTCP proxy server.
  • the first identification information is the IP address of the MPTCP proxy server
  • SMF assigns an IP address to the MPTCP proxy server
  • SMF sends the IP address of the MPTCP proxy server to the UE, so that the UE uses the The IP address of the MPTCP proxy server is used as the destination address of the first application data stream.
  • SMF sends the IP address of the MPTCP proxy server to AMF
  • AMF sends the IP address of the MPTCP proxy server to the UE through the first access technology.
  • SMF sends the IP address and access technology type of the MPTCP proxy server to AMF, the access technology type indicates the first access technology, wherein the data using the IP address is indicated by the first access technology
  • the data transmission channel performs transmission, and then the AMF sends the IP address and access technology type of the MPTCP proxy server to the UE, so that the UE learns that the application data stream identified by the IP address of the MPTCP proxy server is transmitted using the first access technology.
  • the first identification information is the port number of the MPTCP proxy server
  • the SMF or MPTCP proxy server assigns the port number to the MPTCP proxy server
  • the SMF or MPTCP proxy server assigns the port of the MPTCP proxy server Number is sent to the UE, so that the UE uses the port number of the MPTCP proxy server as the destination port number of the first application data stream.
  • SMF assigns a port number to the MPTCP proxy server
  • SMF sends the port number of the MPTCP proxy server to AMF, and then AMF sends the port number of the MPTCP proxy server through the first access technology To the UE.
  • the SMF sends the port number and access technology type of the MPTCP proxy server to the AMF, the access technology type indicates the first access technology, wherein the data using the port number is passed through the first The data transmission channel of the access technology is transmitted, and then the AMF sends the port number and access technology type of the MPTCP proxy server to the UE, so that the UE learns that the application data stream identified by the port number address of the MPTCP proxy server uses the first access Technology transmission.
  • the MPTCP proxy server may use the first access technology to establish an MPTCP connection with the UE for the first application data stream, and then the MPTCP proxy server passes the first The access technology sends the assigned port number to the UE. Further, the MPTCP server also sends the assigned port number to SMF.
  • the first identification information is the IP address and port number of the MPTCP proxy server
  • SMF assigns the IP address to the MPTCP proxy server
  • the SMF or MPTCP proxy server assigns the port number to the MPTCP proxy server
  • the IP address and port number of the MPTCP proxy server are sent to the UE by SMF, so that the UE uses the IP address and port number of the MPTCP proxy server as the destination IP address and destination port number of the first application data stream.
  • the MPTCP proxy server sends the port number to SMF.
  • SMF assigns the port number.
  • the method for the SMF to send the IP address and port number to the UE may be, for example, SMF sends the IP address and port number of the MPTCP proxy server to the AMF, and then the AMF uses the first access technology to send the IP address and port number of the MPTCP proxy server Send to UE.
  • SMF sends the IP address, port number, and access technology type of the MPTCP proxy server to AMF.
  • the access technology type indicates the first access technology, where data using the IP address and port number is passed through the first A data transmission channel indicated by the access technology is transmitted, and then the AMF sends the IP address, port number and access technology type of the MPTCP proxy server to the UE, so that the UE knows the application identified by the IP address and port number of the MPTCP proxy server The data stream is transmitted using the first access technology.
  • step of sending the first identification information to the UE by the SMF or MPTCP server may be performed after step 301 and before step 302, where if SMF is required to allocate an IP address to the MPTCP server, SMF may be performed in step 301 Assign an IP address before or after step 301.
  • the QoS parameters in the QoS policy sent by the SMF in the above step 302 include the first QoS parameters corresponding to the first data transmission path.
  • the SMF may determine the QoS policy according to the first identification information.
  • the determined QoS policy may include first identification information and first QoS parameters.
  • the first identification information may be carried in a packet filter (packet filter), and the packet filter may include one or more of five-tuple information, specifically, may be a triple or five-tuple, Packet filters are used to identify application data streams.
  • the specific implementation manner of the SMF determining the QoS policy may be, for example, in one implementation manner, the SMF will acquire the first identification information and the application identification of the first application data stream (one or more of the 5-tuple information) Information) is sent to the PCF, the PCF determines the QoS policy according to the first identification information and the QoS parameter information corresponding to the application identification of the first application data stream (one or more information in the 5-tuple information), and then sends the QoS policy to the SMF
  • the SMF obtains the first identification information, and also obtains the QoS parameter information corresponding to the application identification (one or more information in the 5-tuple information) of the first application data stream from the PCF, and then The SMF determines the QoS policy according to the first identification information and the QoS parameter information corresponding to the application identification of the first application data stream (one or more information in the 5-tuple information).
  • the application identification of the first application data stream (one or more pieces of information in the quintuple information) is used as the identification information of the first application data stream.
  • the first identification information is used as the identification information of the first application data stream.
  • the QoS policy may carry the first identification information, specifically The first identification information may be carried in the packet filter.
  • the MPTCP connection between the UE and the MPTCP proxy server may further include a second data transmission path.
  • the second data transmission path is used to transmit the first application data stream by using the second access technology.
  • the first access technology When it is a 3GPP access technology, the second access technology is a non-3GPP access technology, and when the first access technology is a non-3GPP access technology, the second access technology is a 3GPP access technology.
  • the identification information of the first application data stream includes second identification information corresponding to the second data transmission path, and the second identification information includes information of the second destination address corresponding to the second data transmission path.
  • the information is the address information of the MPTCP proxy server.
  • the address information may be the IP address of the MPTCP proxy server, or the port number of the MPTCP proxy server, or the IP address and port number of the MPTCP proxy server.
  • the specific implementation method for the SMF or MPTCP proxy server to generate the second identification information is similar to the implementation method for the SMF or MPTCP proxy server to generate the first identification information, and reference may be made to the foregoing description.
  • the specific implementation method of the SMF or MPTCP proxy server sending the second identification information to the UE and the implementation method of the SMF or MPTCP proxy server sending the first identification information to the UE refer to the foregoing description.
  • the SMF may determine the QoS policy according to the second identification information.
  • the determined QoS policy may include second identification information and second QoS parameters.
  • the second identification information may be carried in a packet filter, and the packet filter may be one or more of five-tuple information, specifically, including a triple or five-tuple, packet Filters are used to identify application data streams.
  • the specific implementation manner of the SMF determining the QoS policy may be, for example, in one implementation manner, the SMF will acquire the second identification information and the application identification of the first application data stream (one or more of the 5-tuple information) Information) is sent to the PCF, and the application identifier of the first application data stream includes the address information of the application server associated with the application layer data packet, and is used to indicate the application layer data packet.
  • the PCF determines the QoS policy according to the second identification information and the QoS parameters corresponding to the application identification of the first application data flow, and then sends the QoS policy to the SMF. After receiving the QOS policy, the SMF uses the second identification information as the first application data flow Identification information.
  • the SMF obtains the second identification information and also obtains the QoS parameter information of the first application data stream from the PCF, and then the SMF uses the second identification information and the acquired QoS of the first application data stream The parameter information determines the QoS strategy.
  • the application identification of the first application data stream (one or more pieces of information in the quintuple information) is used as the identification information of the first application data stream.
  • the second identification information is used as the identification information of the first application data stream.
  • the second identification information may be carried in the QoS policy.
  • the second identification information may be carried in the packet filter.
  • the QoS policy may include first QoS policy information and second QoS policy information, the first QoS policy information includes first identification information and first QoS parameters, and the second QoS policy information includes second identification information and second QoS parameters.
  • the QoS policy includes first identification information, first QoS parameters, second identification information, and second QoS parameters.
  • the MPTCP connection between the UE and the MPTCP proxy server includes a first data transmission path and a second data transmission path, where the first data transmission path uses 3GPP access technology transmits application data streams, the second data transmission path uses non-3GPP access technology to transmit application data streams, or the first data transmission path uses non-3GPP access technology to transmit application data streams, and the second data transmission path uses 3GPP Access technology transmits application data streams.
  • the WeChat APP of the UE establishes a TCP connection with the WeChat application server on the network side. Specifically, the WeChat APP of the UE establishes an MPTCP connection with the MPTCP proxy server through the first access technology and through the second access technology, and then the MPTCP proxy A TCP connection is established between the server and the WeChat application server.
  • the application data stream between the UE and the WeChat server is called the first application data stream.
  • the MPTCP proxy server or SMF allocates first identification information (for example, the first identification information includes IP2 and port2) and second identification information (for example, the second identification information includes IP3 and port3) for the MPTCP connection, and the SMF obtains the first identification After the information and the second identification information, the QoS policy is determined, and the QoS policy is sent to the UE.
  • first identification information for example, the first identification information includes IP2 and port2
  • second identification information for example, the second identification information includes IP3 and port3
  • the WeChat APP of the UE generates an application layer data packet of the WeChat data stream.
  • the application layer data packet includes one or more of five-tuple information, and the destination address and destination port number in the five-tuple information are the IP of the WeChat application server Address and port number.
  • the triples are: protocol type, IP1 and port1, where IP1 is the IP address of the WeChat application server and port1 is the port number of the WeChat application server.
  • the UE replaces the destination IP address and destination port number in the application layer data packet with the IP address and port number of the MPTCP proxy server, so as to obtain the first data packet. For example, if the UE determines to use the first data transmission path to transmit the application layer data packet, the UE replaces the destination IP address and destination port number of the triplet in the application layer data packet with IP2 and port2, respectively. For another example, if the UE determines to use the second data transmission path to transmit the application layer data packet, the UE replaces the destination IP address and destination port number of the triplet in the application layer data packet with IP3 and port3, respectively.
  • the UE recognizes the WeChat application data flow according to the QoS policy received from the SMF.
  • the UE receives one or more QoS policies from the SMF.
  • the QoS policies include:
  • Packet filter 1, QoS parameter 1, and packet filter 1 includes IP2 and port2;
  • Packet filter 2 QoS parameter 2, and packet filter 2 includes IP3 and port3.
  • the UE After the UE obtains the first data packet of the WeChat application data stream, it can identify the first data packet through the packet filter 1, and then use the first data transmission path to send to the MPTCP proxy server according to the QoS parameter 1 The first packet.
  • the UE replaces the destination IP address and destination port number in the application layer data packet with IP3 and port3, respectively, the UE can identify the first data packet according to the packet filter 2 and then use the second data transmission path , Processing the first data packet sent to the MPTCP proxy server according to the QoS parameter 2.
  • QFI is included in the QoS parameter data
  • the UE is using the corresponding QFI to identify the upstream data packet (flow).
  • the MPTCP connection between the UE and the MPTCP proxy server includes a first data transmission path, the first data transmission path is used to transmit the first application data stream using the first access technology, and the identification information of the first application data stream It includes first identification information corresponding to the first data transmission path, and the first identification information includes information of the first source address corresponding to the first data transmission path, and the information of the first source address corresponds to the first data transmission channel Address information of the UE.
  • the MPTCP connection between the UE and the MPTCP proxy server includes at least a first data transmission path, and the first data transmission path is used to transmit a first application data stream using a first access technology, and the first access
  • the technology may be a 3GPP access technology or a non-3GPP access technology.
  • the first identification information includes information of a first source address corresponding to the first data transmission path, and the information of the first source address is address information of the UE, and the address information may be the IP address of the UE or the UE's The port number, or the IP address and port number of the UE.
  • the first identification information is the IP address of the UE
  • the first identification information is the port number of the UE, it may be SMF or the UE assigns the port number to the UE. If the port number is assigned by the UE, the UE also needs to send the port number to the SMF. In one implementation, the UE sends the port number of the UE to the AMF through the first access technology, and then the AMF sends the port number of the UE To SMF.
  • the UE sends the port number and access technology type of the UE to the AMF, where the access technology type indicates the first access technology, wherein the data using the port number is through the first access technology
  • the indicated data transmission channel is transmitted, and then the AMF sends the port number and access technology type of the UE to the SMF, so that the SMF learns that the application data stream identified by the port number address of the UE is transmitted using the first access technology.
  • the SMF allocates a port number to the UE
  • the SMF sends the port number of the UE to the AMF, and then the AMF sends the port number of the UE to the UE through the first access technology.
  • the SMF sends the port number and access technology type of the UE to the AMF, the access technology type indicates the first access technology, and then the AMF sends the port number and access technology type of the UE to the UE , So that the UE learns that the application data stream identified by the port number of the UE is transmitted using the first access technology.
  • the SMF allocates the IP address to the UE, and the SMF or the UE allocates the port number to the UE. For example, if the port number is allocated by the UE, the UE sends the port number to the AMF through the first access technology, and then the AMF sends the port number of the UE to the SMF, or the UE sends the port number and access technology type of the UE to the AMF, The access technology type indicates the first access technology, and then the AMF sends the port number and access technology type of the UE to the SMF. Further, the SMF also needs to send the IP address of the UE to the UE.
  • the SMF can send the IP address of the UE to the AMF, and then the AMF sends the IP address of the UE to the UE through the first access technology, or the SMF sends the UE's IP address to the AMF.
  • IP address and access technology type indicates the first access technology, wherein the data using the IP address and port number is transmitted through the data transmission channel indicated by the first access technology, and then the AMF sends The UE sends the UE's IP address and access technology type.
  • SMF sends the IP address and port number of the UE to the UE
  • SMF can send the IP address and port number of the UE to the AMF, and then the AMF sends the UE to the UE through the first access technology IP address and port number, or SMF sends the IP address, port number and access technology type of the UE to the AMF, the access technology type indicates the first access technology, and then the AMF sends the UE IP address and port number to the UE And access technology types.
  • SMF can send the IP address and port number to the UE in one step, or it can send the IP address and port number to the UE in two different steps and send the IP address to the UE and the port number to the UE.
  • the order is not limited.
  • the step of sending the first identification information to the UE by the SMF or the first identification information to the SMF by the UE may be performed after the step 301 and before the step 302, where if the SMF needs to allocate an IP address to the UE, the SMF The IP address may be allocated before step 301 or after step 301.
  • the QoS parameters in the QoS policy sent by the SMF in the above step 302 include the first QoS parameters corresponding to the first data transmission path.
  • the SMF may determine the QoS policy according to the first identification information.
  • the determined QoS policy may include first identification information and first QoS parameters.
  • the first identification information may be carried in a packet filter set (packet filter), the packet filter may be one or more of the quintuple information, specifically may be a triple or quintuple, packet Filters are used to identify application data streams.
  • the specific implementation manner of the SMF determining the QoS policy may be, for example, in one implementation manner, the SMF will acquire the first identification information and the application identification of the first application data stream (one or more of the 5-tuple information) Information) is sent to the PCF, the PCF determines the QoS policy according to the first identification information and the QoS parameter information corresponding to the application identification of the first application data stream (one or more information in the 5-tuple information), and then sends the QoS policy to the SMF
  • the SMF obtains the first identification information, and also obtains the QoS parameter information corresponding to the application identification (one or more information in the 5-tuple information) of the first application data stream from the PCF, and then The SMF determines the QoS policy according to the first identification information and the QoS parameter information corresponding to the application identification of the first application data stream (one or more information in the 5-tuple information).
  • the application identification of the first application data stream (one or more pieces of information in the quintuple information) is used as the identification information of the first application data stream.
  • the first identification information is used as the identification information of the first application data stream.
  • the QoS policy may carry the first identification information, specifically The first identification information may be carried in the packet filter.
  • the MPTCP connection between the UE and the MPTCP proxy server may further include a second data transmission path.
  • the second data transmission path is used to transmit the first application data stream by using the second access technology.
  • the first access technology When it is a 3GPP access technology, the second access technology is a non-3GPP access technology, and when the first access technology is a non-3GPP access technology, the second access technology is a 3GPP access technology.
  • the identification information of the second application data stream includes second identification information corresponding to the second data transmission path, the second identification information includes information of the second source address corresponding to the second data transmission path, and the information of the second source address
  • the address information of the UE The address information may be the IP address of the UE, or the port number of the UE, or the IP address and port number of the UE.
  • the specific implementation method of the second identification information generated by the SMF or the UE is similar to the implementation method of the first identification information generated by the SMF or the UE, and reference may be made to the foregoing description.
  • the specific implementation method of the SMF sending the second identification information to the UE or the UE sending the second identification information to the SMF is similar to the implementation method of the SMF sending the first identification information to the UE or the UE sending the first identification information to the SMF, and reference may be made to the foregoing description.
  • the SMF may determine the QoS policy according to the second identification information.
  • the determined QoS policy may include second identification information and second QoS parameters.
  • the second identification information may be carried in a packet filter set, and the packet filter may be one or more of five-tuple information, specifically, may be a triple or five-tuple, packet Filters are used to identify application data streams.
  • the specific implementation manner of the SMF determining the QoS policy may be, for example, in one implementation manner, the SMF will acquire the second identification information and the application identification of the first application data stream (one or more of the 5-tuple information) Information) is sent to the PCF, and the application identifier of the first application data stream includes the address information of the application server associated with the application layer data packet, and is used to indicate the application layer data packet.
  • the PCF determines the QoS policy according to the second identification information and the QoS parameters corresponding to the application identification of the first application data flow, and then sends the QoS policy to the SMF. After receiving the QOS policy, the SMF uses the second identification information as the first application data flow Identification information.
  • the SMF obtains the second identification information and also obtains the QoS parameter information of the first application data stream from the PCF, and then the SMF uses the second identification information and the acquired QoS of the first application data stream The parameter information determines the QoS strategy.
  • the application identification of the first application data stream (one or more pieces of information in the quintuple information) is used as the identification information of the first application data stream.
  • the second identification information is used as the identification information of the first application data stream.
  • the second identification information may be carried in the QoS policy.
  • the second identification information may be carried in the packet filter.
  • the QoS policy may include first QoS policy information and second QoS policy information, the first QoS policy information includes first identification information and first QoS parameters, and the second QoS policy information includes second identification information and second QoS parameters.
  • the QoS policy includes first identification information, first QoS parameters, second identification information, and second QoS parameters.
  • the MPTCP connection between the UE and the MPTCP proxy server includes a first data transmission path and a second data transmission path, where the first data transmission path uses 3GPP access technology transmits application data streams, the second data transmission path uses non-3GPP access technology to transmit application data streams, or the first data transmission path uses non-3GPP access technology to transmit application data streams, and the second data transmission path uses 3GPP Access technology transmits application data streams.
  • the WeChat APP of the UE establishes a TCP connection with the WeChat application server on the network side. Specifically, the WeChat APP of the UE establishes an MPTCP connection with the MPTCP proxy server through the first access technology and through the second access technology, and then the MPTCP proxy A TCP connection is established between the server and the WeChat application server.
  • the application data stream between the UE and the WeChat server is called the first application data stream.
  • the UE or SMF allocates first identification information (such as the first identification information includes IP1 and port1) and second identification information (such as the second identification information includes IP3 and port3) to the MPTCP connection, and the SMF obtains the first identification information and After the second identification information, the QoS policy is determined, and the QoS policy is sent to the UE.
  • first identification information such as the first identification information includes IP1 and port1
  • second identification information such as the second identification information includes IP3 and port3
  • the WeChat APP of the UE generates an application layer data packet of the WeChat data stream.
  • the application layer data packet includes one or more of five-tuple information.
  • the destination address and destination port number in the application layer data packet are the IP address and WeChat application server.
  • Port number, the source address and / or source port number of the 5-tuple is the IP address and / or port number assigned by the UE or SMF.
  • the 5-tuple can be specifically: protocol type, IP1, port1, IP2, port2, of which IP1 It is the IP address of the UE, IP2 the IP address of the WeChat application server, port1 is the port number of the UE, and port2 is the port number of the WeChat application server.
  • the UE replaces the destination IP address and destination port number of the 5-tuple in the application layer data packet with the IP address and port number of the MPTCP proxy server, so as to obtain the first data packet. For example, if the UE determines to use the first data transmission path to transmit the application layer data packet, the UE replaces the destination IP address and destination port number of the 5-tuple in the application layer data packet with IP3 and port3, respectively. For another example, if the UE decides to use the second data transmission path to transmit the application layer data packet, the UE replaces the destination IP address and destination port number of the 5-tuple in the application layer data packet with IP4 and port4, respectively.
  • one or more QoS policies received by the UE from the SMF may be as follows:
  • Packet filter 1, QoS parameter 1, and the source address and port number included in packet filter 1 are IP1 and port1, respectively;
  • Packet filter 2 QoS parameter 2 and the source address and port number included in packet filter 2 are IP3 and port3, respectively.
  • the UE obtains the first data packet of the WeChat application data stream, the first data packet can be identified through the packet filter 1, and then the first data transmission path is adopted to process to the MPTCP proxy server according to the QoS parameter 1.
  • the first packet sent.
  • the source address and source port number carried by the UE in the application layer data packet are IP3 and port3, respectively, the UE can identify the first data packet according to the packet filter 2, and then use the second data transmission path according to The QoS parameter 2 process sends the first data packet to the MPTCP proxy server.
  • FIG. 4 it is another communication method provided by the present application.
  • the method includes the following steps:
  • step 401 the first logical layer of the UE establishes an MPTCP connection with the MPTCP proxy server for the first application data stream.
  • Step 404 the second logic layer of the UE generates an application layer data packet of the first application data stream, and sends the application data packet to the first logic layer of the UE.
  • step 404 may be executed before step 401, or may be executed after step 401.
  • Step 405 The first logical layer of the UE adds the connection identifier of the MPTCP connection to the application layer data packet to obtain the first data packet, and sends the first data packet to the third logical layer of the UE.
  • Step 406 The third logical layer of the UE determines the Qos parameter corresponding to the connection identifier of the MPTCP connection in the first data packet.
  • Step 407 The third logical layer of the UE processes the first data packet according to the QoS parameters.
  • the UE has three logical functions, which are represented as a first logic layer, a second logic layer, and a third logic layer.
  • the first logic layer may be the terminal's kernel layer
  • the second logic layer It may be an application layer (App)
  • the third logical layer may be a modulation layer (modem).
  • the second logic layer generates an application layer data packet, and the application layer data packet includes one or more information of an active IP address, a source port number, an IP address of the application server, a port number, and a protocol number of the application server.
  • the first logical layer is responsible for establishing an MPTCP connection with the MPTCP proxy server, receiving application layer data packets from the second logical layer, and replacing the application server IP address in the application layer data packet with the MPTCP proxy server IP address, and / or, Replace the port number of the application server in the application layer data packet with the port number of the MPTCP proxy server.
  • the third logical layer receives the data packet sent from the first logical layer, and executes the processing of the data packet according to the information such as the QoS policy of the data flow. For example, according to the QFI of the QoS policy, the data packet is identified, or information such as GBR or MBR in the QoS policy is executed.
  • the third logical layer of the UE obtains the association relationship between the first application data stream and the connection identifier of the MPTCP connection, and obtains the association relationship between the connection identifier of the MPTCP connection and the QoS parameter.
  • the third logical layer when the third logical layer receives the first data packet of the first application data stream from the first logical layer, it can determine the first data packet according to the association relationship between the first application data stream and the connection identifier of the MPTCP connection.
  • the connection identifier of the MPTCP connection corresponding to the connection identifier of the MPTCP connection may further determine the QoS parameter corresponding to the first data packet according to the association relationship between the connection identifier of the MPTCP connection and the QoS parameter, and process the first data packet according to the QoS parameter.
  • step 402 the first logical layer of the UE allocates the connection identifier of the MPTCP connection to the MPTCP connection.
  • Step 403 The first logical layer of the UE sends the connection identifier of the MPTCP connection to the third logical layer of the UE.
  • the first logical layer of the UE may also send the application identifier of the first application data stream corresponding to the connection identifier of the MPTCP connection to the third logical layer of the UE, the application identifier is used to identify the application layer data Packet information, for example, including one or more of five-tuple information, the five-tuple information includes source IP address, source port number, destination IP address (application server IP address), destination port number (application server port number) And the agreement number.
  • the third logical layer of the UE may establish an association relationship between the first application data stream and the connection identifier of the MPTCP connection, that is, use the connection identifier to identify the first application data stream.
  • FIG. 5 shows a possible exemplary block diagram of the device involved in the embodiment of the present invention.
  • the device 500 may exist in the form of software, hardware, or software and hardware. The application examples are not limited.
  • the apparatus 500 may include a processing unit 502 and a communication unit 503.
  • the communication unit 503 may include a receiving unit and / or a sending unit.
  • the processing unit 502 is used to control and manage the device 500.
  • the communication unit 503 is used to support communication between the device 500 and other network entities.
  • the device 500 may further include a storage unit 501 for storing program codes and data of the device 500.
  • the processing unit 502 may be a processor or a controller, such as a general-purpose central processing unit (CPU), general-purpose processor, digital signal processing (DSP), application-specific integrated circuit (application-specific integrated) circuits, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of the embodiments of the present invention.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, DSP and microprocessor combinations, and so on.
  • the communication unit 503 may be a communication interface, a transceiver or a transceiver circuit, etc., wherein the communication interface is collectively referred to, and in a specific implementation, the communication interface may include multiple interfaces.
  • the storage unit 501 may be a memory.
  • the device 500 may be the terminal in any of the foregoing embodiments, or may be a chip in the terminal.
  • the processing unit 502 may be, for example, a processor
  • the communication unit may be, for example, a transceiver including a radio frequency circuit
  • the storage unit may be, for example, a memory.
  • the processing unit 502 may be, for example, a processor
  • the communication unit may be, for example, an input / output interface, a pin, or a circuit.
  • the storage unit is a storage unit in the chip, such as a register, a cache, etc.
  • the storage unit may also be a storage unit located outside the chip in the terminal, such as a read-only memory (read-only memory, ROM) ) Or other types of static storage devices that can store static information and instructions, random access memory (random access memory, RAM), etc.
  • ROM read-only memory
  • RAM random access memory
  • the processing unit is used to establish an MPTCP connection with the MPTCP proxy server for the first application data stream; the receiving unit is used to receive the QoS policy from the session management network element,
  • the QoS policy includes the identification information of the first application data stream and the QoS parameters corresponding to the first application data stream;
  • the processing unit is also used to obtain the first data packet of the first application data stream, and is determined according to the identification information of the first application data stream QoS parameters corresponding to the first data packet; and, processing the first data packet according to the QoS parameters.
  • the identification information of the first application data stream includes a connection identification of the MPTCP connection.
  • the processing unit is specifically configured to allocate the connection identifier of the MPTCP connection to the MPTCP connection; the terminal sends the connection identifier of the MPTCP connection to the session management network element.
  • the MPTCP connection includes a first data transmission path, and the first data transmission path is used to transmit the first application data stream using the first access technology; the identification information of the first application data stream includes In the first identification information corresponding to the data transmission path, the QoS parameter includes the first QoS parameter corresponding to the first data transmission path.
  • the first identification information includes information of a first destination address corresponding to the first data transmission path, and the information of the first destination address is address information of the MPTCP proxy server.
  • the receiving unit is also used to receive the information of the first destination address before receiving the QoS policy from the session management network element; the processing unit is also used to obtain the application layer data packet and convert the first A destination address is used as the address of the application layer data packet to obtain the first data packet.
  • the information of the first destination address includes an IP address and / or a port number.
  • the first identification information includes information about the first source address corresponding to the first data transmission path.
  • the processing unit is further used to allocate the first source address; the sending unit is used to send the first source address information to the session management network element.
  • the processing unit is further used to obtain the application layer data packet before the receiving unit receives the QoS policy from the session management network element, and use the address of the MPTCP proxy server as the application layer data packet address To get the first packet.
  • the first source address information includes an IP address and / or port number.
  • the MPTCP connection further includes a second data transmission path, and the second data transmission path is used to transmit the first application data stream by using the second access technology;
  • the identification information of the first application data stream includes In the second identification information corresponding to the second data transmission path, the QoS parameter further includes a second QoS parameter corresponding to the second data transmission path.
  • the second identification information includes information of a second destination address corresponding to the second data transmission path, and the information of the second destination address is address information of the MPTCP proxy server.
  • the information of the second destination address includes an IP address and / or a port number.
  • the receiving unit is also used to receive the second destination address information before receiving the QoS policy from the session management network element; the processing unit is also used to obtain the application layer data packet The second destination address information is used as the address of the application layer data packet to obtain the first data packet.
  • the second identification information includes information about the second source address corresponding to the second data transmission path.
  • the processing unit is also used to allocate the second source address; the sending unit is used to send the second source address information to the session management network element.
  • the information of the second source address includes an IP address and / or a port number.
  • the device 500 may be the MPTCP proxy server in any of the foregoing embodiments, or may be a chip in the MPTCP proxy server.
  • the processing unit 503 is used to establish an MPTCP connection with the terminal for the first application data stream; the identification information of the first application data stream is acquired; the sending unit is used to communicate The management network element sends the identification information of the first application data stream.
  • the identification information of the first application data stream includes a connection identification of the MPTCP connection.
  • the processing unit is specifically configured to allocate the connection identifier of the MPTCP connection to the MPTCP connection; or, the sending unit is configured to receive the connection identifier of the MPTCP connection from the terminal.
  • the MPTCP connection includes a first data transmission path, and the first data transmission path is used to transmit the first application data stream using the first access technology; the identification information of the first application data stream includes In the first identification information corresponding to the data transmission path, the QoS parameter includes the first QoS parameter corresponding to the first data transmission path.
  • the processing unit is specifically configured to allocate the first identification information, and the first identification information includes information about the first destination address corresponding to the first data transmission path.
  • the MPTCP proxy server sends the first identification information to the terminal.
  • the information of the first destination address includes an IP address and / or a port number.
  • the first identification information includes information of a first source address corresponding to the first data transmission path, and the information of the first source address is address information of the terminal.
  • the receiving unit is configured to receive the first source address information from the terminal.
  • the first source address information includes an IP address and / or port number.
  • the MPTCP connection further includes a second data transmission path, and the second data transmission path is used to transmit the first application data stream by using the second access technology;
  • the identification information of the first application data stream includes In the second identification information corresponding to the second data transmission path, the QoS parameter further includes a second QoS parameter corresponding to the second data transmission path.
  • the processing unit is specifically configured to allocate second identification information, and the second identification information includes information about the second destination address corresponding to the second data transmission path.
  • the sending unit is configured to send the second identification information to the terminal.
  • the information of the second destination address includes an IP address and / or a port number.
  • the second identification information includes information of a second source address corresponding to the second data transmission path, and the information of the second source address is address information of the terminal.
  • the receiving unit is configured to receive the second source address information from the terminal.
  • the second source address information includes an IP address and / or port number.
  • the device 500 may be the session management network element in any of the foregoing embodiments, or may be a chip in the session management network element.
  • the communication unit 503 includes a sending unit and a receiving unit: a processing unit is used to obtain identification information from the first application data stream; a sending unit is used to send a QoS policy to the terminal, and the QoS policy includes the first application data stream And the QoS parameters corresponding to the first application data stream.
  • the identification information of the first application data stream includes a connection identification of the MPTCP connection between the MPTCP proxy server and the terminal.
  • the sending unit is configured to send a request message to the MPTCP proxy server.
  • the request message includes a packet filter of the first application data stream, and the packet filter of the first application data stream is used to identify the first application data.
  • Stream the request message is used to request to obtain the identification information of the first application data stream;
  • the receiving unit is used to receive the connection identifier of the MPTCP connection from the MPTCP proxy server; or, the processing unit allocates the connection identifier of the MPTCP connection to the terminal.
  • the MPTCP connection includes a first data transmission path, and the first data transmission path is used to transmit the first application data stream using the first access technology; the identification information of the first application data stream includes In the first identification information corresponding to the data transmission path, the QoS parameter includes the first QoS parameter corresponding to the first data transmission path.
  • the first identification information includes information of a first destination address corresponding to the first data transmission path, and the information of the first destination address is address information of the MPTCP proxy server.
  • the receiving unit is further configured to receive the first destination address information from the MPTCP proxy server.
  • the information of the first destination address includes an IP address and / or a port number.
  • the first identification information includes information of a first source address corresponding to the first data transmission path, and the information of the first source address is allocated by the session management network element.
  • the receiving unit is configured to receive the first source address information from the terminal.
  • the first source address information includes an IP address and / or port number.
  • the MPTCP connection further includes a second data transmission path, and the second data transmission path is used to transmit the first application data stream by using the second access technology;
  • the identification information of the first application data stream includes In the second identification information corresponding to the second data transmission path, the QoS parameter includes a second QoS parameter corresponding to the second data transmission path.
  • the second identification information includes information of a second destination address corresponding to the second data transmission path, and the information of the second destination address is address information of the MPTCP proxy server.
  • the receiving unit is configured to receive the second destination address information from the MPTCP proxy server.
  • the information of the second destination address includes an IP address and / or a port number.
  • the second identification information includes information of a second source address corresponding to the second data transmission path, and the information of the second source address is address information of the terminal.
  • the receiving unit is configured to receive the second source address information from the terminal.
  • the second source address information includes an IP address and / or port number.
  • the device shown in FIG. 5 is a terminal, or an MPTCP proxy server, or a session management network element
  • the specific beneficial effects of the communication method used for execution can be referred to the related description in the foregoing method embodiments, which will not be repeated here.
  • FIG. 6 shows a simplified schematic diagram of a possible design structure of the terminal involved in the embodiment of the present invention.
  • the terminal 600 includes a transmitter 601, a receiver 602, and a processor 603.
  • the processor 603 may also be a controller, which is represented as “controller / processor 603” in FIG. 6.
  • the terminal 600 may further include a modem processor 605, where the modem processor 605 may include an encoder 606, a modulator 607, a decoder 608, and a demodulator 609.
  • the transmitter 601 adjusts (eg, analog conversion, filtering, amplification, and up-conversion, etc.) output samples and generates an uplink signal, which is transmitted via an antenna to the base station or N3IWF device.
  • the antenna receives the downlink signal transmitted by the base station or the N3IWF device in the above embodiment.
  • the receiver 602 adjusts (eg, filters, amplifies, down-converts, digitizes, etc.) the signal received from the antenna and provides input samples.
  • the encoder 606 receives service data and signaling messages to be sent on the uplink, and processes the service data and signaling messages (eg, formatting, encoding, and interleaving).
  • the modulator 607 further processes (eg, symbol mapping and modulation) the encoded service data and signaling messages and provides output samples.
  • the demodulator 609 processes (eg, demodulates) the input samples and provides symbol estimates.
  • the decoder 608 processes (eg, deinterleaves and decodes) the symbol estimates and provides the decoded data and signaling messages sent to the terminal 600.
  • the encoder 606, the modulator 607, the demodulator 609, and the decoder 608 may be implemented by a synthesized modem processor 605. These units are processed according to the wireless access technology adopted by the wireless access network. It should be noted that, when the terminal 600 does not include the modem processor 605, the above functions of the modem processor 605 may also be completed by the processor 603.
  • the processor 603 controls and manages the terminal 600, and is used to execute the processing procedure performed by the terminal in the foregoing embodiment of the present invention.
  • the processor 603 is used to execute the processing procedure related to the terminal and / or other procedures of the technical solution described in the present application in the communication method of any embodiment of the present application.
  • the terminal 600 may further include a memory 604, which is used to store program codes and data for the terminal 600.
  • the apparatus may be the foregoing session management network element, or the foregoing MPTCP proxy server.
  • the device 700 includes a processor 702, a communication interface 703, and a memory 701.
  • the apparatus 700 may further include a bus 704.
  • the communication interface 703, the processor 702, and the memory 701 can be connected to each other through a communication line 704;
  • the communication line 704 can be a peripheral component interconnection (PCI) bus or an extended industry standard architecture , Referred to as EISA) bus.
  • PCI peripheral component interconnection
  • EISA extended industry standard architecture
  • the communication line 704 can be divided into an address bus, a data bus, and a control bus. For ease of representation, only a thick line is used in FIG. 7, but it does not mean that there is only one bus or one type of bus.
  • the processor 702 may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the present application.
  • the communication interface 703 uses any transceiver-like device to communicate with other devices or communication networks, such as Ethernet, wireless access network (RAN), wireless local area network (WLAN), Wired access network, etc.
  • Ethernet wireless access network
  • WLAN wireless local area network
  • Wired access network etc.
  • the memory 701 may be a ROM or other type of static storage device that can store static information and instructions, a RAM or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (electrically server) able to programmable read-only memory (EEPROM), CD-ROM (compact disc read-only memory, CD-ROM) or other optical disc storage, optical disc storage (including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.) , Disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
  • the memory may exist independently and be connected to the processor through the communication line 704. The memory can also be integrated with the processor.
  • the memory 701 is used to store computer execution instructions for executing the solution of the present application, and the processor 702 controls execution.
  • the processor 702 is used to execute computer-executed instructions stored in the memory 701, so as to implement the communication method provided by the foregoing embodiments of the present application.
  • the computer execution instructions in the embodiments of the present application may also be called application program codes, which are not specifically limited in the embodiments of the present application.
  • At least one (a, b) of a, b, or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be a single or can be Multiple.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may 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 may be from a website site, computer, server or data center Transmit to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including one or more available medium integrated servers, data centers, and the like.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, Solid State Disk (SSD)), or the like.
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
  • an optical medium for example, a DVD
  • a semiconductor medium for example, Solid State Disk (SSD)
  • the various illustrative logic units and circuits described in the embodiments of the present application may be implemented by general-purpose processors, digital signal processors, application specific integrated circuits (ASICs), field programmable gate arrays (FPGAs), or other programmable logic devices. Discrete gate or transistor logic, discrete hardware components, or any combination of the above are designed to implement or operate the described functions.
  • the general-purpose processor may be a microprocessor, and optionally, the general-purpose processor may also be any conventional processor, controller, microcontroller, or state machine.
  • the processor may also be implemented by a combination of computing devices, such as a digital signal processor and a microprocessor, multiple microprocessors, one or more microprocessors combined with a digital signal processor core, or any other similar configuration achieve.
  • the steps of the method or algorithm described in the embodiments of the present application may be directly embedded in hardware, a software unit executed by a processor, or a combination of both.
  • the software unit may be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium in the art.
  • the storage medium may be connected to the processor, so that the processor can read information from the storage medium and can write information to the storage medium.
  • the storage medium may also be integrated into the processor.
  • the processor and the storage medium may be provided in the ASIC, and the ASIC may be provided in the terminal.
  • the processor and the storage medium may also be provided in different components in the terminal.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operating steps are performed on the computer or other programmable device to produce computer-implemented processing, which is executed on the computer or other programmable device
  • the instructions provide steps for implementing the functions specified in one block or multiple blocks of the flowchart one flow or multiple flows and / or block diagrams.

Landscapes

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

Abstract

本申请提供一种通信方法及装置。该方法包括:终端根据QoS策略中的第一应用数据流的标识信息识别第一应用数据流的数据包,实现了正确识别第一应用数据流的数据包,进一步地,根据第一应用数据流的标识信息确定第一数据包对应的QoS参数,并根据该QoS参数处理第一数据包,实现了对数据包的正确处理。

Description

一种通信方法及装置
相关申请的交叉引用
本申请要求在2018年10月09日提交中国专利局、申请号为201811173841.7、申请名称为“一种通信方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及移动通信技术领域,尤其涉及一种通信方法及装置。
背景技术
在第五代(the 5h generation,5G)通信中,对于普通的传输控制协议/因特网互联协议(Transmission Control Protocol/Internet Protocol,TCP/IP)连接,终端的应用层与应用服务器建立连接时,是在应用与应用服务器之间建立一条TCP连接。终端处理数据包的大致流程为:终端的应用层产生应用数据流的应用层数据包,该应用层数据包中包含有源IP地址、源端口号、应用服务器的IP地址、应用服务器的端口号、协议类型等信息中一个或者多个,接着,终端根据从网络侧接收到的数据包的处理策略信息处理该应用层数据包。其中,数据包的处理策略信息包括数据包过滤器集(packet filter set)以及相应的数据流的处理策略。数据包过滤器包括源IP地址、目的IP地址、源端口号、目的端口号以及协议类型中的一个或者多个信息,这里的目的IP地址为应用服务器的IP地址、目的端口号为应用服务器的端口号。从而终端可以根据数据包过滤器中的某个数据包过滤器识别出相应的应用层数据包,然后根据该数据包过滤器对应的数据流的处理策略处理该应用层数据包。
为了提高数据传输效率等原因,目前提出采用多路径TCP代理服务器(MultiPath TCP proxy,MPTCP proxy)作为MPTCP协议的代理,即在终端与MPTCP代理服务器之间建立MPTCP连接,在MPTCP代理服务器与应用服务器之间建立一个TCP连接。基于MPTCP连接,终端需要将应用数据流的数据包发送至MPTCP代理服务器,因此终端处理数据包的流程中,终端的应用层在产生应用数据流的应用层数据包之后,需要建立与MPTCP代理服务器之间的MPTCP连接,那么,终端将应用层数据包的目的地址由应用服务器的IP地址替换为MPTCP代理服务器的IP地址,将应用层数据包的目的端口号由应用服务器的端口号替换为MPTCP代理服务器的端口号,从而得到第一数据包。终端根据从网络侧接收到的数据包的处理策略信息,处理该第一数据包。
由于终端将要处理的第一数据包的目的地址和目的端口号已经分别替换为MPTCP代理服务器的IP地址和端口号,将导致终端无法使用从网络侧接收到的数据包过滤器识别该第一数据包,从而无法处理该第一数据包。
发明内容
本申请提供一种通信方法及装置,用以实现正确识别应用数据流的数据包。
第一方面,本申请提供一种通信方法,该方法包括:终端为第一应用数据流建立与MPTCP代理服务器的MPTCP连接;终端接收来自会话管理网元的QoS策略,QoS策略包括第一应用数据流的标识信息和第一应用数据流对应的QoS参数;终端获取第一应用数据流的第一数据包,终端根据第一应用数据流的标识信息确定第一数据包对应的QoS参数;终端根据QoS参数处理第一数据包。基于该方案,终端可以根据QoS策略中的第一应用数据流的标识信息识别第一应用数据流的数据包,实现了正确识别第一应用数据流的数据包,进一步地,根据第一应用数据流的标识信息确定第一数据包对应的QoS参数,并根据该QoS参数处理第一数据包,实现了对数据包的正确处理。
在第一种实现方式中,第一应用数据流的标识信息包括MPTCP连接的连接标识。
基于该第一种实现方式,可选的,终端可以为MPTCP连接分配MPTCP连接的连接标识;终端向会话管理网元发送MPTCP连接的连接标识。
在第二种实现方式中,MPTCP连接包括第一数据传输路径,第一数据传输路径用于采用第一接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第一数据传输路径对应的第一标识信息,QoS参数包括与第一数据传输路径对应的第一QoS参数。
基于该第二种实现方式,在一种实现方式中,第一标识信息包括与第一数据传输路径对应的第一目的地址的信息,第一目的地址的信息为MPTCP代理服务器的地址信息。
可选的,终端接收来自会话管理网元的QoS策略之前,终端还接收第一目的地址的信息;终端获取到应用层数据包,将第一目的地址作为应用层数据包的地址,得到第一数据包。
可选的,第一目的地址的信息包括IP地址和/或端口号。
基于该第二种实现方式,在又一种实现方式中,第一标识信息包括与第一数据传输路径对应的第一源地址的信息。
可选的,终端分配第一源地址;终端向会话管理网元发送第一源地址的信息。
可选的,终端接收来自会话管理网元的QoS策略之前,终端获取到应用层数据包,将MPTCP代理服务器的地址作为应用层数据包的地址,得到第一数据包。
可选的,第一源地址信息包括IP地址和/或端口号。
基于上述第二种实现方式,可选的,MPTCP连接还包括第二数据传输路径,第二数据传输路径用于采用第二接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第二数据传输路径对应的第二标识信息,QoS参数还包括与第二数据传输路径对应的第二QoS参数。
在一种实现方式中,第二标识信息包括与第二数据传输路径对应的第二目的地址的信息,第二目的地址的信息为MPTCP代理服务器的地址信息。
可选的,第二目的地址的信息包括IP地址和/或端口号。
可选的,终端接收来自会话管理网元的QoS策略之前,终端接收第二目的地址的信息;终端获取到应用层数据包,将第二目的地址信息作为应用层数据包的地址,得到第一数据包。
在又一种实现方式中,第二标识信息包括与第二数据传输路径对应的第二源地址的信息。
可选的,终端分配第二源地址;终端向会话管理网元发送第二源地址的信息。
可选的,第二源地址的信息包括IP地址和/或端口号。
可选的,终端接收来自会话管理网元的QoS策略之前,终端接收第二源地址的信息;终端获取到应用层数据包,应用层数据包中包括第二源地址的信息,得到第一数据包。
第二方面,本申请提供一种通信方法,该方法包括:终端的第一逻辑层为第一应用数据流建立与MPTCP代理服务器的MPTCP连接;终端的第二逻辑层产生应用层数据包,将应用数据包发送至终端的第一逻辑层;终端的第一逻辑层将MPTCP连接的连接标识添加至应用层数据包,得到第一数据包,将第一数据包发送至终端的第三逻辑层;终端的第三逻辑层确定第一数据包中的MPTCP连接的连接标识对应的Qos参数;终端的第三逻辑层根据QoS参数,处理第一数据包。基于该方案,终端的第三逻辑层可以根据MPTCP连接的连接标识识别第一应用数据流的数据包,实现了正确识别第一应用数据流的数据包,进一步地,终端的第三逻辑层确定第一数据包对应的QoS参数,并根据该QoS参数处理第一数据包,实现了对数据包的正确处理。
在一种可能的实现方式中,终端的第一逻辑层为MPTCP连接分配MPTCP连接的连接标识;终端的第一逻辑层向终端的第三逻辑层发送MPTCP连接的连接标识;终端的第三逻辑层建立第一应用数据流与MPTCP连接的连接标识的关联关系。
第三方面,本申请提供一种通信方法,该方法包括:MPTCP代理服务器为第一应用数据流建立与终端的MPTCP连接;MPTCP代理服务器获取第一应用数据流的标识信息;MPTCP代理服务器向会话管理网元发送第一应用数据流的标识信息。基于该方案,MPTCP代理服务器可以获取第一应用数据流的标识信息,并将第一应用数据流的标识信息发送至会话管理网元,从而会话管理网元可以将第一应用数据流的标识信息发送至终端,进而终端可以根据第一应用数据流的标识信息识别第一应用数据流的数据包,实现了正确识别第一应用数据流的数据包。
在第一种实现方式中,第一应用数据流的标识信息包括MPTCP连接的连接标识。
可选的,MPTCP代理服务器获取第一应用数据流的标识信息,包括:MPTCP代理服务器为MPTCP连接分配MPTCP连接的连接标识;或者,MPTCP代理服务器接收来自终端的MPTCP连接的连接标识。
在第二种实现方式中,MPTCP连接包括第一数据传输路径,第一数据传输路径用于采用第一接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第一数据传输路径对应的第一标识信息,QoS参数包括与第一数据传输路径对应的第一QoS参数。
基于该第二种实现方式,作为一种可能的实现方式,MPTCP代理服务器获取第一应用数据流的标识信息,包括:MPTCP代理服务器分配第一标识信息,第一标识信息包括与第一数据传输路径对应的第一目的地址的信息。
可选的,MPTCP代理服务器向终端发送第一标识信息。
可选的,第一目的地址的信息包括IP地址和/或端口号。
基于该第二种实现方式,作为又一种可能的实现方式,第一标识信息包括与第一数据传输路径对应的第一源地址的信息,第一源地址的信息为终端的地址信息。
可选的,MPTCP代理服务器接收来自终端的第一源地址的信息。
可选的,第一源地址信息包括IP地址和/或端口号。
基于上述第二种实现方式,可选的,MPTCP连接还包括第二数据传输路径,第二数据传输路径用于采用第二接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第二数据传输路径对应的第二标识信息,QoS参数还包括与第二数据传输路径对应的第 二QoS参数。
可选的,MPTCP代理服务器获取第一应用数据流的标识信息,包括:MPTCP代理服务器分配第二标识信息,第二标识信息包括与第二数据传输路径对应的第二目的地址的信息。
可选的,MPTCP代理服务器向终端发送第二标识信息。
可选的,第二目的地址的信息包括IP地址和/或端口号。
可选的,第二标识信息包括与第二数据传输路径对应的第二源地址的信息,第二源地址的信息为终端的地址信息。
可选的,MPTCP代理服务器接收来自终端的第二源地址的信息。
可选的,第二源地址信息包括IP地址和/或端口号。
第四方面,本申请提供一种通信方法,该方法包括:会话管理网元获取来自第一应用数据流的标识信息;会话管理网元向终端发送QoS策略,QoS策略包括第一应用数据流的标识信息和第一应用数据流对应的QoS参数。基于该方案,会话管理网元可以获取第一应用数据流的标识信息,并将第一应用数据流的标识信息和第一应用数据流对应的QoS参数通过QoS策略发送至终端,从而终端可以根据第一应用数据流的标识信息识别第一应用数据流的数据包,实现了正确识别第一应用数据流的数据包。进一步地,根据第一应用数据流的标识信息确定第一数据包对应的QoS参数,并根据该QoS参数处理第一数据包,实现了对数据包的正确处理。
在第一种实现方式中,第一应用数据流的标识信息包括MPTCP代理服务器与终端之间的MPTCP连接的连接标识。
可选的,会话管理网元获取第一应用数据流的标识信息之前,包括:会话管理网元向MPTCP代理服务器发送请求消息,请求消息包括第一应用数据流的包过滤器,第一应用数据流的包过滤器用于标识第一应用数据流,请求消息用于请求获取第一应用数据流的标识信息;会话管理网元接收来自MPTCP代理服务器的MPTCP连接的连接标识;或者,会话管理网元为终端分配MPTCP连接的连接标识。
在第二种实现方式中,作为一种实现方式,MPTCP连接包括第一数据传输路径,第一数据传输路径用于采用第一接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第一数据传输路径对应的第一标识信息,QoS参数包括与第一数据传输路径对应的第一QoS参数。
可选的,第一标识信息包括与第一数据传输路径对应的第一目的地址的信息,第一目的地址的信息为MPTCP代理服务器的地址信息。
可选的,会话管理网元接收来自MPTCP代理服务器的第一目的地址的信息。
可选的,第一目的地址的信息包括IP地址和/或端口号。
在第二种实现方式中,作为又一种实现方式,第一标识信息包括与第一数据传输路径对应的第一源地址的信息,第一源地址的信息为会话管理网元分配的。
可选的,会话管理网元接收来自终端的第一源地址的信息。
可选的,第一源地址信息包括IP地址和/或端口号。
基于上述第二种实现方式,可选的,MPTCP连接还包括第二数据传输路径,第二数据传输路径用于采用第二接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第二数据传输路径对应的第二标识信息,QoS参数包括与第二数据传输路径对应的第二 QoS参数。
可选的,第二标识信息包括与第二数据传输路径对应的第二目的地址的信息,第二目的地址的信息为MPTCP代理服务器的地址信息。
可选的,会话管理网元接收来自MPTCP代理服务器的第二目的地址的信息。
可选的,第二目的地址的信息包括IP地址和/或端口号。
可选的,第二标识信息包括与第二数据传输路径对应的第二源地址的信息,第二源地址的信息为终端的地址信息。
可选的,会话管理网元接收来自终端的第二源地址的信息。
可选的,第二源地址信息包括IP地址和/或端口号。
第五方面,本申请提供一种装置,该装置可以是终端,也可以是芯片。该装置具有实现上述第一方面的各实施例的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第六方面,本申请提供一种装置,该装置可以是终端,也可以是芯片。该装置具有实现上述第二方面中的各实施例的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第七方面,本申请提供一种装置,该装置可以是MPTCP代理服务器,也可以是芯片。该装置具有实现上述第三方面中的各实施例的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第八方面,本申请提供一种装置,该装置可以是会话管理网元,也可以是芯片。该装置具有实现上述第四方面中的各实施例的功能。该功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。该硬件或软件包括一个或多个与上述功能相对应的模块。
第九方面,提供了一种装置,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第一方面或第一方面中任一所述的通信方法。
第十方面,提供了一种装置,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第二方面或第二方面中任一所述的通信方法。
第十一方面,提供了一种装置,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第三方面或第你方面中任一所述的通信方法。
第十二方面,提供了一种装置,包括:处理器和存储器;该存储器用于存储计算机执行指令,当该装置运行时,该处理器执行该存储器存储的该计算机执行指令,以使该装置执行如上述第四方面或第四方面中任一所述的通信方法。
第十三方面,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面所述的方法。
第十四方面,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第二方面所述的方法。
第十五方面,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第三方面所述的方法。
第十六方面,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质中存 储有指令,当其在计算机上运行时,使得计算机执行上述第四方面所述的方法。
第十七方面,本申请还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面所述的方法。
第十八方面,本申请还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第二方面所述的方法。
第十九方面,本申请还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第三方面所述的方法。
第二十方面,本申请还提供一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第四方面所述的方法。
附图说明
图1为本申请适用的一种可能的网络架构示意图;
图2为本申请适用的又一种可能的网络架构示意图;
图3为本申请提供的一种通信方式示意图;
图4为本申请提供的又一种通信方式示意图;
图5为本申请提供的一种装置示意图;
图6为本申请提供的一种终端示意图;
图7为本申请提供的又一种装置示意图。
具体实施方式
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述。方法实施例中的具体操作方法也可以应用于装置实施例或系统实施例中。其中,在本申请的描述中,除非另有说明,“多个”的含义是两个或两个以上。
本申请实施例描述的网络架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
如图1所示,为本申请适用的一种可能的网络架构示意图。该网络架构包括会话管理网元、MPTCP代理服务器和终端。
会话管理网元,主要用于移动网络中的会话管理,如会话创建、修改、释放。具体功能比如包括为用户分配互联网协议(internet protocol,IP)地址、选择提供报文转发功能的用户面网元。在5G通信中,会话管理网元可以是会话管理功能(session management function,SMF)网元,在未来通信如第6代(6th generation,6G)通信中,会话管理网元仍可以是SMF网元,或有其它的名称,本申请不做限定。
MPTCP代理服务器(MultiPathTCP proxy,MPTCP proxy),可用于建立与终端之间的MPTCP连接。MPTCP允许在TCP连接中建立多个子通道,这些子通道属于同一个MPTCP会话,该MPTCP会话的标识称为MPTCP会话标识(MPTCP会话标识也可以称为MPTCP连接的连接标识),发送端的数据可以选择其中一条通道进行传输,或者,在两条传输通道上同时传输。当终端通过多种接入技术接入网络时,比如同时支持第三代合作伙伴(3rd  generation partnership project,3GPP)接入技术和非3GPP(non-3GPP)接入技术,那么,3GPP与非3GPP接入技术建立的数据传输通道均对应一个子通道。在具体实现中,MPTCP代理服务器可以是一个用户面网元。该用户面网元例如可以是用户面功能(user plane function,UPF)网元。
终端是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。所述终端可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。另外,终端还可以是用户设备(user equipment,UE)等。
如图2所示,为本申请适用的又一种可能的网络架构示意图。该网络架构包括移动性管理网元(图中以移动性管理网元为接入与移动性管理功能(access and mobility management function,AMF)网元为例)、会话管理网元(图中以会话管理网元为SMF网元为例)、用户面网元(图中以用户面网元为UPF网元为例)、策略控制网元(图中以策略控制网元为策略控制功能(policy control function,PCF)为例)。
其中,移动性管理网元,主要用于移动网络中的终端的注册、移动性管理、跟踪区更新流程。移动性管理网元终结了非接入层(non access stratum,NAS)消息、完成注册管理、连接管理以及可达性管理、分配跟踪区域列表(track area list,TA list)以及移动性管理等,并且透明路由会话管理(session management,SM)消息到会话管理网元。在5G通信中,移动性管理网元可以是AMF网元,在未来通信如6G通信中,移动性管理网元仍可以是AMF网元,或者有其它名称,本申请对此不作限定。
策略控制网元,包含用户签约数据管理功能,策略控制功能,计费策略控制功能,服务质量(quality of service,QoS)控制等。在5G通信中,策略控制网元可以是PCF网元,在未来通信如6G通信中,策略控制网元仍可以是PCF网元,或有其它的名称,本申请不做限定。
其中,图2所示的网络架构可以是图1所示的网络架构的一种具体实现方式,且图1中的MPTCP代理服务器具体可以与图2中的UPF网元集成部署。
5G支持协议数据单元(protocol data unit,PDU)连接业务,PDU连接业务就是终端和数据网络(data network,DN)之间交换PDU数据包的业务。PDU连接业务通过终端发起PDU会话的建立来实现。一个PDU会话建立后,也就是建立了一条终端和DN的数据传输通道。
在一种实现方式中,终端可以通过3GPP接入技术与DN之间交互数据包,具体的,终端使用3GPP接入技术,通过UPF网元(具体地,UPF网元可以作为MPTCP代理服务器)与DN之间交互数据包。在又一种实现方式中,终端可以通过非3GPP(non-3GPP)接入技术与DN之间交互数据包,具体的,终端使用非3GPP接入技术,通过UPF网元(具体地,UPF网元可以作为MPTCP代理服务器)与DN之间交互数据包。
在具体实现中,终端可以通过无线接入网络(radio access network,RAN)设备实现3GPP接入,这里的RAN设备是一种为终端提供无线通信功能的设备。RAN设备例如包 括但不限于:5G中的下一代基站(g nodeB,gNB)、演进型节点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)等。
在具体实现中,终端可以通过非3GPP交互功能(non-3GPP interworking function,N3IWF)设备实现非3GPP接入,这里的N3IWF设备是一种连接非3GPP接入网络和5G核心网络的设备,例如N3IWF设备可以是演进分组数据网关(evolved Packet Data Gateway,ePDG)或5G数据网关。
可以理解的是,上述功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。
为方便说明,本申请后续以会话管理网元为SMF网元,终端为UE为例进行说明。进一步地,将SMF网元简称为SMF。即本申请后续所描述的SMF均可替换为会话管理网元,本申请后续所描述的UE均可替换为终端。
如图3所示,为本申请提供的一种通信方法示意图。该方法包括以下步骤:
步骤301,UE为第一应用数据流建立与MPTCP代理服务器的MPTCP连接。
UE与MPTCP代理服务器建立MPTCP连接之后,则UE和MPTCP代理服务器可以获知在该MPTCP连接上传输的为第一应用数据流,即一个MPTCP连接对应一个应用数据流。
步骤302,SMF向UE发送QoS策略。相应地,UE可以接收到该QoS策略。
作为一种实现方式,SMF向UE发送QoS策略的过程可以是通过AMF实现的,具体地,SMF向AMF发送第一消息,该第一消息中包含QoS策略,AMF向UE发送第二消息,该第二消息中包含QOS策略。QoS策略包括第一应用数据流的标识信息和第一应用数据流对应的QoS参数,其中,第一应用数据流的标识信息用于标识该第一应用数据流,QoS参数信息比如可以包括QoS流标识(QoS flow identifier,QFI)、保证比特速率(guaranteed bit rate,GBR)、5G QoS标识(5G QoS identifier,5QI)、最大比特率(maximum bit rate,MBR)等一个或者多个信息。
需要说明的是,对上述步骤302与步骤301的顺序没有严格的限制。
步骤303,UE获取第一应用数据流的第一数据包,根据第一应用数据流的标识信息确定第一数据包对应的QoS参数。
步骤304,UE根据QoS参数处理第一数据包。
这里的处理第一数据包,比如包括但不限于:
1)、MPTCP代理服务器根据QoS参数,发送该第一数据包,比如,UE可以根据QOS参数中的MBR、GBR等参数发送第一数据包。
2)、如果QoS参数包括QFI,则终端可以针对第一数据包标识QFI,即在第一数据包添加QFI,用于标识第一数据包。
通过上述方案,UE可以根据QoS策略中的第一应用数据流的标识信息识别第一应用数据流的数据包,实现了正确识别第一应用数据流的数据包,进一步地,根据第一应用数据流的标识信息确定第一数据包对应的QoS参数,并根据该QoS参数处理第一数据包,实现了对数据包的正确处理。
下面介绍UE产生第一数据包的过程。
首先,UE的应用(APP)产生第一数据流的应用层数据包,该应用层数据包包括五元组信息中的一个或者多个,比如三元组,该三元组具体为协议类型、目的地址和目的端口号,且目的地址为应用服务器的IP地址,目的端口号为应用服务器的端口号,或者该应用层数据包包括五元组,该五元组具体为协议类型、源地址、源端口号、目的地址和目的端口号,且源地址为UE的IP地址,源端口号为UE的端口号、目的地址为应用服务器的IP地址,目的端口号为应用服务器的端口号。
然后,UE将产生的应用层数据包中的目的地址由应用服务器的IP地址替换为MPTCP代理服务器的IP地址,将应用层数据包中的目的端口号由应用服务器的端口号替换为MPTCP代理服务器的端口号,从而得到第一数据包。即第一数据包与应用层数据包的区别在于目的地址和目的端口号的逻辑意义不同,第一数据包的目的地址信息是MPTCP代理服务器的地址信息,而应用层数据包的目的地址信息是应用服务器的地址信息。
通过以上方法,UE可以产生第一数据包,该第一数据包将要发送至MPTCP代理服务器,并由MPTCP代理服务器将第一数据包或者第一数据包中的数据发送至应用服务器。并且,UE在发送第一数据包之前,通过上述步骤301-步骤303的方法,根据SMF下发的QoS策略中的第一应用数据流的标识信息识别第一应用数据流的第一数据包,并根据QoS策略中与第一应用数据流的标识信息对应的QoS参数,处理该数据包,即根据QoS策略中与第一应用数据流的标识信息对应的QoS参数,处理该数据包。比如,根据QoS参数中的QFI,在第一数据包中标识QFI,或者,针对第一数据包执行相应的GBR、5QI等。
在图3所示的实施例中,第一应用数据流的标识信息可以有多种实现方法,作为示例,下面给出三种不同的实现方法进行说明。进一步地,结合第一应用数据流的标识信息的不同实现方法,分别对UE处理第一数据包的不同方法进行具体说明。
实现方法一,第一应用数据流的标识信息包括MPTCP连接的连接标识。
针对支持MPTCP的应用数据流,终端与MPTCP代理服务器之间为该应用数据流建立MPTCP连接,该MPTCP连接的连接标识可用于标识该应用数据流,该MPTCP连接的连接标识可以是token或者Connection ID,该UE与MPTCP代理服务器为第一应用数据流建立的MPTCP连接的连接标识可以用于标识第一应用数据流。
在一种实现方式中,在UE与MPTCP代理服务器为第一应用数据流建立MPTCP连接的过程中,UE为该第一应用数据流分配MPTCP连接的连接标识。UE分配MPTCP连接的连接标识后,将MPTCP连接的连接标识发送至SMF,比如可以是直接发送至SMF,或者是将MPTCP连接的连接标识发送至MPTCP代理服务器,然后MPTCP代理服务器将MPTCP连接的连接标识发送至SMF。
在又一种实现方式中,在UE与MPTCP代理服务器为第一应用数据流建立MPTCP连接的过程中,MPTCP代理服务器为该第一应用数据流分配MPTCP连接的连接标识。MPTCP代理服务器分配MPTCP连接的连接标识后,将MPTCP连接的连接标识发送至SMF和UE。
在又一种实现方式中,在UE与MPTCP代理服务器为第一应用数据流建立MPTCP连接的过程中,SMF为该第一应用数据流分配MPTCP连接的连接标识,然后SMF将MPTCP连接的连接标识发送至UE和MPTCP代理服务器。
SMF在根据上述任一方式获取到MPTCP连接的连接标识后,可以根据MPTCP连接的连接标识确定QoS策略。其中,确定的QoS策略可以包括MPTCP连接的连接标识、第 一应用数据流对应的QoS参数。QoS策略中的MPTCP连接的连接标识可以作为第一应用数据流的标识信息。可选的,QoS策略中还可以包括第一应用数据流的应用标识,第一应用数据流的应用标识可以是包过滤器集(packet filter set),包过滤器集包括一个或多个包过滤器,一个包过滤器可以包括五元组信息中的一个或者多个,具体地可以是三元组或五元组。包过滤器集中的包过滤器可以用于识别应用数据流。第一应用数据流的应用标识与第一应用数据流的标识信息的区别在于:第一应用数据流的应用标识指的是现有技术中的包过滤器集,即为标识原始的应用层数据包的标识信息,该第一应用数据流的应用标识的概念全文中相同。而第一应用数据流的标识信息在该实现方式中是指MPTCP连接的连接标识,该MPTCP连接的连接标识与第一应用数据流的应用标识是对应的。第一应用数据流对应的QoS参数用于指示处理第一应用数据流的处理方式,QoS参数可以包括QFI、MBR、GBR或者5QI等信息中的一个或多个信息,UE根据这些QoS参数处理数据包,比如在数据包中标识QFI。
需要说明的是,SMF根据上述任一方式获取到MPTCP连接的连接标识后,根据MPTCP连接的连接标识确定QoS策略的具体实现方式。例如可以是:在一种实现方式中,SMF将获取的MPTCP连接的连接标识以及第一应用数据流的应用标识(五元组信息中一个或多个信息)发送至PCF,PCF根据MPTCP连接的连接标识以及第一应用数据流的应用标识(五元组信息中一个或多个信息)对应的QoS参数信息生成QoS策略,然后将QoS策略发送至SMF,在这种情况下,SMF可以将接收到的QoS策略中的MPTCP连接的连接标识作为第一应用数据流的标识信息。在又一种实现方式中,SMF获取到MPTCP连接的连接标识,以及还从PCF获取到第一应用数据流的应用标识(五元组信息中一个或多个信息),该第一应用数据流的应用标识包括应用层数据包关联的应用服务器的地址信息等,用于指示应用层的数据包,另外,SMF还从PCF获取到第一应用数据流的QoS参数信息,然后SMF可以根据MPTCP连接的连接标识和第一应用数据流的QoS参数信息确定QoS策略。
需要说明的是,在现有技术中,使用第一应用数据流的应用标识(五元组信息中一个或多个信息)作为第一应用数据流的标识信息。在本申请的上述实现方式一中,使用MPTCP连接的连接标识作为第一应用数据流的标识信息,在具体实现中,比如SMF向UE发送QoS策略时,可以在QoS策略携带MPTCP连接的连接标识,但不携带第一应用数据流的应用标识,即可以理解为,使用MPTCP连接的连接标识替换第一应用数据流的应用标识。再比如,SMF向UE发送QoS策略时,可以在QoS策略携带MPTCP连接的连接标识和第一应用数据流的应用标识,并且是使用MPTCP连接的连接标识作为第一应用数据流的标识信息,对于第一应用数据流的应用标识的具体使用方法,本申请不做限定。
需要说明的是,若SMF是从MPTCP代理服务器获取到的MPTCP连接的连接标识,则SMF可以通过以下任一方法从MPTCP代理服务器获取到MPTCP连接的连接标识:
方法A,SMF向MPTCP代理服务器订阅MPTCP连接的连接标识,MPTCP代理服务器在获取到MPTCP连接的连接标识后(可以是MPTCP代理服务器分配的,或者是MPTCP代理服务器从UE获取的),根据SMF的订阅向SMF发送MPTCP连接的连接标识。
其中,SMF在向MPTCP代理服务器发送订阅请求时,可以在订阅请求中携带包过滤器,该包过滤器用于标识第一应用数据流,可选的,该包过滤器中包括目的地址和目的端口号,且该目的地址和目的端口号是应用服务器的IP地址和端口号。
方法B,MPTCP代理服务器在获取到MPTCP连接的连接标识后(可以是MPTCP代理服务器分配的,或者是MPTCP代理服务器从UE获取的),主动向SMF发送MPTCP连接的连接标识。
下面结合一个具体示例,对该实现方法一进行具体说明。
比如,UE的微信APP与网络侧的微信应用服务器建立TCP连接,具体的,UE的微信APP与MPTCP代理服务器之间建立MPTCP连接,然后MPTCP代理服务器与微信应用服务器之间建立一个TCP连接。UE与微信服务器之间的应用数据流称为第一应用数据流。
UE或MPTCP代理服务器或SMF为该MPTCP连接分配连接标识,且SMF在获取到MPTCP连接的连接标识后,确定QoS策略,并将QoS策略发送至UE。
UE的微信APP产生微信数据流的应用层数据包,该应用层数据包包括五元组信息中的一个或者得多个,具体地可以是三元组或五元组,且三元组或五元组的目的地址和目的端口号为微信应用服务器的IP地址和端口号。以应用层数据包包括三元组为例,则三元组为:协议类型、IP1和port1,其中,IP1为微信应用服务器的IP地址,port1为微信应用服务器的端口号。
接着,UE将应用层数据包中三元组的目的IP地址和目的端口号替换为MPTCP代理服务器的IP地址和端口号,比如替换为IP2和port2,其中,IP2为MPTCP代理服务器的IP地址,port2为MPTCP代理服务器的端口号。以及,UE在应用层数据包中添加Cnnection ID1。从而得到第一数据包。因此,第一数据包中三元组的目的地址为IP2,目的端口号为port2,且第一数据包包括Cnnection ID1。
接着,UE根据从SMF接收到的QoS策略,识别微信应用数据流。在具体应用中,UE从SMF接收到一个或者多个QoS策略,例如QoS策略:
Cnnection ID1、QoS参数1;
Cnnection ID2、QoS参数2;
Cnnection ID3、QoS参数3。
其中,Cnnection ID1为UE与MPTCP代理服务器为微信应用数据流(可以称为第一应用数据流)建立的MPTCP连接的连接标识,QoS参数1为微信应用数据流对应的QoS参数;Cnnection ID2为UE与MPTCP代理服务器为微博应用数据流(可以称为第二应用数据流)建立的MPTCP连接的连接标识,QoS参数2为微博应用数据流对应的QoS参数;Cnnection ID3为UE与MPTCP代理服务器为支付宝应用数据流(可以称为第三应用数据流)建立的MPTCP连接的连接标识,QoS参数3为支付宝应用数据流对应的QoS参数。
因此,由于微信应用数据流的第一数据包包括Cnnection ID1,因此UE可以根据QoS策略中的Cnnection ID1识别出微信应用数据流的第一数据包。进而UE可以根据Cnnection ID1对应的QoS参数1处理该第一数据包,比如根据QoS参数1执行相应的QoS控制。
实现方法二,UE与MPTCP代理服务器之间的MPTCP连接包括第一数据传输路径,该第一数据传输路径用于采用第一接入技术传输第一应用数据流,第一应用数据流的标识信息包括与第一数据传输路径对应的第一标识信息,第一标识信息包括与第一数据传输路径对应的第一目的地址的信息,所述第一目的地址的信息为MPTCP代理服务器的地址信息。
基于该实现方法二,UE与MPTCP代理服务器之间的MPTCP连接至少包括第一数据 传输路径,该第一数据传输路径用于采用第一接入技术传输第一应用数据流,该第一接入技术可以是3GPP接入技术或非3GPP接入技术。并且,第一标识信息包括与第一数据传输路径对应的第一目的地址的信息,所述第一目的地址的信息为MPTCP代理服务器的地址信息,该地址信息可以是MPTCP代理服务器的IP地址,或者是MPTCP代理服务器的端口号,或者是MPTCP代理服务器的IP地址和端口号。
在一种实现方式中,若第一标识信息为MPTCP代理服务器的IP地址,则可以是SMF为MPTCP代理服务器分配IP地址,然后SMF将该MPTCP代理服务器的IP地址发送至UE,从而UE使用该MPTCP代理服务器的IP地址作为第一应用数据流的目的地址。比如,SMF将该MPTCP代理服务器的IP地址发送至AMF,然后AMF通过第一接入技术将该MPTCP代理服务器的IP地址发送至UE。再比如,SMF向AMF发送该MPTCP代理服务器的IP地址和接入技术类型,该接入技术类型指示第一接入技术,其中,使用该IP地址的数据是通过该第一接入技术指示的数据传输通道进行传输,然后AMF向UE发送该MPTCP代理服务器的IP地址和接入技术类型,从而UE获知该MPTCP代理服务器的IP地址所标识的应用数据流采用第一接入技术传输。
在又一种实现方式中,若第一标识信息为MPTCP代理服务器的端口号,则可以是SMF或MPTCP代理服务器为MPTCP代理服务器分配端口号,然后SMF或MPTCP代理服务器将该MPTCP代理服务器的端口号发送至UE,从而UE使用该MPTCP代理服务器的端口号作为第一应用数据流的目的端口号。比如,若由SMF为MPTCP代理服务器分配端口号,则一种实现方式中,SMF将该MPTCP代理服务器的端口号发送至AMF,然后AMF通过第一接入技术将该MPTCP代理服务器的端口号发送至UE。在又一种实现方式中,SMF向AMF发送该MPTCP代理服务器的端口号和接入技术类型,该接入技术类型指示第一接入技术,其中,使用该端口号的数据是通过该第一接入技术的数据传输通道进行传输,然后AMF向UE发送该MPTCP代理服务器的端口号和接入技术类型,从而UE获知该MPTCP代理服务器的端口号址所标识的应用数据流采用第一接入技术传输。再比如,若由MPTCP代理服务器分配端口号,则上述步骤301中,MPTCP代理服务器可以采用第一接入技术为第一应用数据流建立与UE之间的MPTCP连接,然后MPTCP代理服务器通过第一接入技术将分配的端口号发送至UE。进一步地,MPTCP服务器还将分配的端口号发送至SMF。
在又一种实现方式中,若第一标识信息为MPTCP代理服务器的IP地址和端口号,则可以是SMF为MPTCP代理服务器分配IP地址,SMF或MPTCP代理服务器为MPTCP代理服务器分配端口号,然后由SMF将该MPTCP代理服务器的IP地址和端口号发送至UE,从而UE使用该MPTCP代理服务器的IP地址和端口号作为第一应用数据流的目的IP地址和目的端口号。比如,若由MPTCP代理服务器分配端口号,则MPTCP代理服务器将端口号发送至SMF。或者由SMF分配端口号。SMF向UE发送IP地址和端口号的方法比如可以是由SMF将该MPTCP代理服务器的IP地址和端口号发送至AMF,然后AMF通过第一接入技术将该MPTCP代理服务器的IP地址和端口号发送至UE。再比如,SMF向AMF发送该MPTCP代理服务器的IP地址、端口号和接入技术类型,该接入技术类型指示第一接入技术,其中,使用该IP地址和端口号的数据是通过该第一接入技术指示的数据传输通道进行传输,然后AMF向UE发送该MPTCP代理服务器的IP地址、端口号和接入技术类型,从而UE获知该MPTCP代理服务器的IP地址和端口号所标识的应用数据 流采用第一接入技术传输。
需要说明的是,上述SMF或MPTCP服务器向UE发送第一标识信息的步骤可以是在上述步骤301之后步骤302之前执行,其中,若需要SMF为MPTCP服务器分配IP地址,则SMF可以是在步骤301之前或步骤301之后分配IP地址。
在采用上述实现方法二的实施例中,则上述步骤302中SMF发送的QoS策略中的QoS参数包括与第一数据传输路径对应的第一QoS参数。
SMF在根据上述任一方式获取到第一标识信息后,可以根据第一标识信息确定QoS策略。其中,确定的QoS策略可以包括第一标识信息、第一QoS参数。可选的,该第一标识信息可以携带于包过滤集(packet filter)中,包过滤器可以包括五元组信息中的一个或者多个,具体地,可以是三元组或五元组,包过滤器用于识别应用数据流。
需要说明的是,SMF确定QoS策略的具体实现方式例如可以是:在一种实现方式中,SMF将获取的第一标识信息以及第一应用数据流的应用标识(五元组信息中一个或多个信息)发送至PCF,PCF根据第一标识信息以及第一应用数据流的应用标识(五元组信息中一个或多个信息)对应的QoS参数信息确定QoS策略,然后将QoS策略发送至SMF;在又一种实现方式中,SMF获取到第一标识信息,以及还从PCF获取到第一应用数据流的应用标识(五元组信息中一个或多个信息)对应的QoS参数信息,然后SMF根据第一标识信息以及第一应用数据流的应用标识(五元组信息中一个或多个信息)对应的QoS参数信息确定QoS策略。
需要说明的是,在现有技术中,使用第一应用数据流的应用标识(五元组信息中一个或多个信息)作为第一应用数据流的标识信息。在本申请的上述实现方式二中,使用第一标识信息作为第一应用数据流的标识信息,在具体实现中,比如SMF向UE发送QoS策略时,可以在QoS策略携带第一标识信息,具体的,该第一标识信息可以携带于包过滤器中。
可选的,UE与MPTCP代理服务器之间的MPTCP连接还可以包括第二数据传输路径,该第二数据传输路径用于采用第二接入技术传输第一应用数据流,当第一接入技术为3GPP接入技术时,则第二接入技术为非3GPP接入技术,当第一接入技术为非3GPP接入技术时,则第二接入技术为3GPP接入技术。第一应用数据流的标识信息包括与第二数据传输路径对应的第二标识信息,且第二标识信息包括与第二数据传输路径对应的第二目的地址的信息,所述第二目的地址的信息为MPTCP代理服务器的地址信息,该地址信息可以是MPTCP代理服务器的IP地址,或者是MPTCP代理服务器的端口号,或者是MPTCP代理服务器的IP地址和端口号。
SMF或MPTCP代理服务器生成第二标识信息的具体实现方法与SMF或MPTCP代理服务器生成第一标识信息的实现方法类似,可参考前述描述。并且SMF或MPTCP代理服务器向UE发送第二标识信息的具体实现方法与SMF或MPTCP代理服务器向UE发送第一标识信息的实现方法类型,可参考前述描述。
SMF在获取到第二标识信息后,可以根据第二标识信息确定QoS策略。其中,确定的QoS策略可以包括第二标识信息、第二QoS参数。可选的,该第二标识信息可以携带于包过滤集(packet filter)中,包过滤器可以是五元组信息中的一个或者多个,具体地,包括三元组或五元组,包过滤器用于识别应用数据流。
需要说明的是,SMF确定QoS策略的具体实现方式例如可以是:在一种实现方式中, SMF将获取的第二标识信息以及第一应用数据流的应用标识(五元组信息中一个或多个信息)发送至PCF,该第一应用数据流的应用标识包括应用层数据包关联的应用服务器的地址信息等,用于指示应用层的数据包。PCF根据第二标识信息以及第一应用数据流的应用标识对应的QoS参数确定QoS策略,然后将QoS策略发送至SMF,SMF在接收到QOS策略之后,将第二标识信息作为第一应用数据流的标识信息。在又一种实现方式中,SMF获取到第二标识信息,以及还从PCF获取到第一应用数据流的QoS参数信息,然后SMF根据第二标识信息以及获取到的第一应用数据流的QoS参数信息确定QoS策略。
需要说明的是,在现有技术中,使用第一应用数据流的应用标识(五元组信息中一个或多个信息)作为第一应用数据流的标识信息。在本申请的上述实现方式二中,使用第二标识信息作为第一应用数据流的标识信息,在具体实现中,比如SMF向UE发送QoS策略时,可以在QoS策略携带第二标识信息,具体的,该第二标识信息可以携带于包过滤器中。
需要说明的是,QoS策略可以包括第一QoS策略信息和第二QoS策略信息,第一QoS策略信息包括第一标识信息、第一QoS参数,第二QoS策略信息包括第二标识信息、第二QoS参数。或者,QoS策略包括第一标识信息、第一QoS参数、第二标识信息和第二QoS参数。
如图2所示,以图2中的UPF为MPTCP代理服务器为例,则UE与MPTCP代理服务器之间的MPTCP连接包括第一数据传输路径和第二数据传输路径,其中第一数据传输路径采用3GPP接入技术传输应用数据流,第二数据传输路径采用非3GPP接入技术传输应用数据流,或者,第一数据传输路径采用非3GPP接入技术传输应用数据流,第二数据传输路径采用3GPP接入技术传输应用数据流。
下面结合一个具体示例,对该实现方法二进行具体说明。
比如,UE的微信APP与网络侧的微信应用服务器建立TCP连接,具体的,UE的微信APP通过第一接入技术以及通过第二接入技术与MPTCP代理服务器之间建立MPTCP连接,然后MPTCP代理服务器与微信应用服务器之间建立一个TCP连接。UE与微信服务器之间的应用数据流称为第一应用数据流。
MPTCP代理服务器或SMF为该MPTCP连接分配第一标识信息(比如第一标识信息包括IP2和port2)和第二标识信息(比如第二标识信息包括IP3和port3),且SMF在获取到第一标识信息和第二标识信息后,确定QoS策略,并将QoS策略发送至UE。
UE的微信APP产生微信数据流的应用层数据包,该应用层数据包包括五元组信息中的一个或者多个,且五元组信息中的目的地址和目的端口号为微信应用服务器的IP地址和端口号。以应用层数据包包括三元组为例,则三元组为:协议类型、IP1和port1,其中,IP1为微信应用服务器的IP地址,port1为微信应用服务器的端口号。
接着,UE将应用层数据包中的目的IP地址和目的端口号替换为MPTCP代理服务器的IP地址和端口号,从而得到第一数据包。比如,UE确定采用第一数据传输路径传输应用层数据包,则UE将应用层数据包中三元组的目的IP地址和目的端口号分别替换为IP2和port2。再比如,UE确定采用第二数据传输路径传输应用层数据包,则UE将应用层数据包中三元组的目的IP地址和目的端口号分别替换为IP3和port3。
接着,UE根据从SMF接收到的QoS策略,识别微信应用数据流。在具体应用中,UE从SMF接收到一个或者多个的QoS策略,例如QoS策略包括:
数据包过滤器1、QoS参数1,且数据包过滤器1包括IP2和port2;
数据包过滤器2、QoS参数2,且数据包过滤器2包括IP3和port3。
因此,UE获取到微信应用数据流的第一数据包后,则可以通过数据包过滤器1识别出该第一数据包,然后采用第一数据传输路径,根据QoS参数1处理向MPTCP代理服务器发送的第一数据包。当然,若UE是将应用层数据包中的目的IP地址和目的端口号分别替换为IP3和port3,则UE可以根据数据包过滤器2识别出该第一数据包,然后采用第二数据传输路径,根据QoS参数2处理向MPTCP代理服务器发送的第一数据包。具体地,比如QoS参数据中包含有QFI,那么,UE在采用相应的QFI标识上行数据包(流)。或者,根据QoS参数据中的MBR或GBR等信息处理该数据包。
实现方法三,UE与MPTCP代理服务器之间的MPTCP连接包括第一数据传输路径,该第一数据传输路径用于采用第一接入技术传输第一应用数据流,第一应用数据流的标识信息包括与第一数据传输路径对应的第一标识信息,第一标识信息包括与第一数据传输路径对应的第一源地址的信息,所述第一源地址的信息为对应该第一数据传输通道的UE的地址信息。
基于该实现方法三,UE与MPTCP代理服务器之间的MPTCP连接至少包括第一数据传输路径,该第一数据传输路径用于采用第一接入技术传输第一应用数据流,该第一接入技术可以是3GPP接入技术或非3GPP接入技术。并且,第一标识信息包括与第一数据传输路径对应的第一源地址的信息,所述第一源地址的信息为UE的地址信息,该地址信息可以是UE的IP地址,或者是UE的端口号,或者是UE的IP地址和端口号。
在一种实现方式中,若第一标识信息为UE的IP地址,则可以是SMF为UE分配IP地址,然后SMF将该UE的IP地址发送至UE,从而UE使用该IP地址作为第一应用数据流的源地址。
在又一种实现方式中,若第一标识信息为UE的端口号,则可以是SMF或UE为UE分配端口号。若由UE分配端口号,则UE还需要将端口号发送至SMF,在一种实现方式中,UE通过第一接入技术将该UE的端口号发送至AMF,然后AMF将UE的端口号发送至SMF。在又一种实现方式中,UE向AMF发送UE的端口号和接入技术类型,该接入技术类型指示第一接入技术,其中,使用该端口号的数据是通过该第一接入技术指示的数据传输通道进行传输,然后AMF向SMF发送该UE的端口号和接入技术类型,从而SMF获知该UE的端口号址所标识的应用数据流采用第一接入技术传输。再比如,若由SMF为UE分配端口号,则一种实现方式中,SMF将该UE的端口号发送至AMF,然后AMF通过第一接入技术将该UE的端口号发送至UE。在又一种实现方式中,SMF向AMF发送该UE的端口号和接入技术类型,该接入技术类型指示第一接入技术,然后AMF向UE发送该UE的端口号和接入技术类型,从而UE获知该UE的端口号所标识的应用数据流采用第一接入技术传输。
在又一种实现方式中,若第一标识信息为UE的IP地址和端口号,则可以是SMF为UE分配IP地址,SMF或UE为UE分配端口号。比如,若由UE分配端口号,则UE将端口号通过第一接入技术发送至AMF,然后AMF将UE的端口号发送至SMF,或者UE向AMF发送UE的端口号和接入技术类型,该接入技术类型指示第一接入技术,然后AMF向SMF发送UE的端口号和接入技术类型。进一步地,SMF还需要将UE的IP地址发送至UE,比如SMF可以向AMF发送UE的IP地址,然后AMF通过第一接入技术向UE 发送UE的IP地址,或者,SMF向AMF发送UE的IP地址和接入技术类型,该接入技术类型指示第一接入技术,其中,使用该IP地址和端口号的数据是通过该第一接入技术指示的数据传输通道进行传输,然后AMF向UE发送UE的IP地址和接入技术类型。再比如,若由SMF分配端口号,则SMF将UE的IP地址和端口号发送至UE,比如SMF可以向AMF发送UE的IP地址和端口号,然后AMF通过第一接入技术向UE发送UE的IP地址和端口号,或者,SMF向AMF发送UE的IP地址、端口号和接入技术类型,该接入技术类型指示第一接入技术,然后AMF向UE发送UE的IP地址、端口号和接入技术类型。需要说明的时,SMF可以在一个步骤中向UE发送IP地址和端口号,也可以是通过两个不同的步骤向UE发送IP地址和端口号且向UE发送IP地址与向UE发送端口号的顺序不限制。
需要说明的是,上述SMF向UE发送第一标识信息或者UE向SMF发送第一标识信息的步骤可以是在上述步骤301之后步骤302之前执行,其中,若需要SMF为UE分配IP地址,则SMF可以是在步骤301之前或步骤301之后分配IP地址。
在采用上述实现方法三的实施例中,则上述步骤302中SMF发送的QoS策略中的QoS参数包括与第一数据传输路径对应的第一QoS参数。
SMF在根据上述任一方式获取到第一标识信息后,可以根据第一标识信息确定QoS策略。其中,确定的QoS策略可以包括第一标识信息、第一QoS参数。可选的,该第一标识信息可以携带于包过滤集(packet filter)中,包过滤器可以是五元组信息中的一个或者多个,具体地可以是三元组或五元组,包过滤器用于识别应用数据流。
需要说明的是,SMF确定QoS策略的具体实现方式例如可以是:在一种实现方式中,SMF将获取的第一标识信息以及第一应用数据流的应用标识(五元组信息中一个或多个信息)发送至PCF,PCF根据第一标识信息以及第一应用数据流的应用标识(五元组信息中一个或多个信息)对应的QoS参数信息确定QoS策略,然后将QoS策略发送至SMF;在又一种实现方式中,SMF获取到第一标识信息,以及还从PCF获取到第一应用数据流的应用标识(五元组信息中一个或多个信息)对应的QoS参数信息,然后SMF根据第一标识信息以及第一应用数据流的应用标识(五元组信息中一个或多个信息)对应的QoS参数信息确定QoS策略。
需要说明的是,在现有技术中,使用第一应用数据流的应用标识(五元组信息中一个或多个信息)作为第一应用数据流的标识信息。在本申请的上述实现方式三中,使用第一标识信息作为第一应用数据流的标识信息,在具体实现中,比如SMF向UE发送QoS策略时,可以在QoS策略携带第一标识信息,具体的,该第一标识信息可以携带于包过滤器中。
可选的,UE与MPTCP代理服务器之间的MPTCP连接还可以包括第二数据传输路径,该第二数据传输路径用于采用第二接入技术传输第一应用数据流,当第一接入技术为3GPP接入技术时,则第二接入技术为非3GPP接入技术,当第一接入技术为非3GPP接入技术时,则第二接入技术为3GPP接入技术。第二应用数据流的标识信息包括与第二数据传输路径对应的第二标识信息,第二标识信息包括与第二数据传输路径对应的第二源地址的信息,所述第二源地址的信息为UE的地址信息,该地址信息可以是UE的IP地址,或者是UE的端口号,或者是UE的IP地址和端口号。
SMF或UE生成第二标识信息的具体实现方法与SMF或UE生成第一标识信息的实现 方法类似,可参考前述描述。并且SMF向UE发送第二标识信息或者UE向SMF发送第二标识信息的具体实现方法与SMF向UE发送第一标识信息或UE向SMF发送第一标识信息的实现方法类似,可参考前述描述。
SMF在获取到第二标识信息后,可以根据第二标识信息确定QoS策略。其中,确定的QoS策略可以包括第二标识信息、第二QoS参数。可选的,该第二标识信息可以携带于包过滤集(packet filter)中,包过滤器可以五元组信息中的一个或者多个,具体地,可以是三元组或五元组,包过滤器用于识别应用数据流。
需要说明的是,SMF确定QoS策略的具体实现方式例如可以是:在一种实现方式中,SMF将获取的第二标识信息以及第一应用数据流的应用标识(五元组信息中一个或多个信息)发送至PCF,该第一应用数据流的应用标识包括应用层数据包关联的应用服务器的地址信息等,用于指示应用层的数据包。PCF根据第二标识信息以及第一应用数据流的应用标识对应的QoS参数确定QoS策略,然后将QoS策略发送至SMF,SMF在接收到QOS策略之后,将第二标识信息作为第一应用数据流的标识信息。在又一种实现方式中,SMF获取到第二标识信息,以及还从PCF获取到第一应用数据流的QoS参数信息,然后SMF根据第二标识信息以及获取到的第一应用数据流的QoS参数信息确定QoS策略。
需要说明的是,在现有技术中,使用第一应用数据流的应用标识(五元组信息中一个或多个信息)作为第一应用数据流的标识信息。在本申请的上述实现方式二中,使用第二标识信息作为第一应用数据流的标识信息,在具体实现中,比如SMF向UE发送QoS策略时,可以在QoS策略携带第二标识信息,具体的,该第二标识信息可以携带于包过滤器中。
需要说明的是,QoS策略可以包括第一QoS策略信息和第二QoS策略信息,第一QoS策略信息包括第一标识信息、第一QoS参数,第二QoS策略信息包括第二标识信息、第二QoS参数。或者,QoS策略包括第一标识信息、第一QoS参数、第二标识信息和第二QoS参数。
如图2所示,以图2中的UPF为MPTCP代理服务器为例,则UE与MPTCP代理服务器之间的MPTCP连接包括第一数据传输路径和第二数据传输路径,其中第一数据传输路径采用3GPP接入技术传输应用数据流,第二数据传输路径采用非3GPP接入技术传输应用数据流,或者,第一数据传输路径采用非3GPP接入技术传输应用数据流,第二数据传输路径采用3GPP接入技术传输应用数据流。
下面结合一个具体示例,对该实现方法二进行具体说明。
比如,UE的微信APP与网络侧的微信应用服务器建立TCP连接,具体的,UE的微信APP通过第一接入技术以及通过第二接入技术与MPTCP代理服务器之间建立MPTCP连接,然后MPTCP代理服务器与微信应用服务器之间建立一个TCP连接。UE与微信服务器之间的应用数据流称为第一应用数据流。
UE或SMF为该MPTCP连接分配第一标识信息(比如第一标识信息包括IP1和port1)和第二标识信息(比如第二标识信息包括IP3和port3),且SMF在获取到第一标识信息和第二标识信息后,确定QoS策略,并将QoS策略发送至UE。
UE的微信APP产生微信数据流的应用层数据包,该应用层数据包包括五元组信息中一个或者多个,应用层数据包中的目的地址和目的端口号为微信应用服务器的IP地址和端口号,五元组的源地址和/或源端口号为UE或SMF分配的IP地址和/或端口号,五元组具 体可以为:协议类型、IP1、port1、IP2、port2,其中,IP1为UE的IP地址,IP2微信应用服务器的IP地址,port1为UE的端口号,port2为微信应用服务器的端口号。
接着,UE将应用层数据包中五元组的目的IP地址和目的端口号替换为MPTCP代理服务器的IP地址和端口号,从而得到第一数据包。比如,UE确定采用第一数据传输路径传输应用层数据包,则UE将应用层数据包中五元组的目的IP地址和目的端口号分别替换为IP3和port3。再比如,UE决策采用第二数据传输路径传输应用层数据包,则UE将应用层数据包中五元组的目的IP地址和目的端口号分别替换为IP4和port4。
接着,UE根据从SMF接收到的QoS策略,识别微信应用数据流。在具体应用中,UE从SMF接收到的一个或者多个QoS策略,例如当UE接收到多个QoS策略时,可以如下:
数据包过滤器1、QoS参数1,且数据包过滤器1包括的源地址和端口号分别为IP1和port1;
数据包过滤器2、QoS参数2,且数据包过滤器2包括的源地址和端口号分别为IP3和port3。
因此,若UE获取的是微信应用数据流的第一数据包,则可以通过数据包过滤器1识别出该第一数据包,然后采用第一数据传输路径,根据QoS参数1处理向MPTCP代理服务器发送的第一数据包。当然,若UE在应用层数据包中携带的源地址和源端口号分别为IP3和port3,则UE可以根据数据包过滤器2识别出该第一数据包,然后采用第二数据传输路径,根据QoS参数2处理向MPTCP代理服务器发送第一数据包。
如图4所示,为本申请提供的又一种通信方法,该方法包括以下步骤:
步骤401,UE的第一逻辑层为第一应用数据流建立与MPTCP代理服务器的MPTCP连接。
步骤404,UE的第二逻辑层产生第一应用数据流的应用层数据包,将应用数据包发送至UE的第一逻辑层。
需要说明的是,上述步骤404可以在步骤401之前执行,也可以是在步骤401之后执行。
步骤405,UE的第一逻辑层将MPTCP连接的连接标识添加至应用层数据包,得到第一数据包,将第一数据包发送至UE的第三逻辑层。
步骤406,UE的第三逻辑层确定第一数据包中的MPTCP连接的连接标识对应的Qos参数。
步骤407,UE的第三逻辑层根据QoS参数,处理第一数据包。
UE在逻辑上有三个功能部分,分别表示为第一逻辑层、第二逻辑层和第三逻辑层,在具体应用中,第一逻辑层可以是终端的内核层(kernel),第二逻辑层可以是应用层(App),第三逻辑层可以是调制层(modem)。
其中,第二逻辑层产生应用层数据包,该应用层数据包中包含有源IP地址、源端口号以及应用服务器的IP地址以及应用服务器的端口号以及协议号中的一个或者多个信息。第一逻辑层负责与MPTCP代理服务器建立MPTCP连接,从第二逻辑层接收应用层数据包,以及将应用层数据包中的应用服务器的IP地址替换成MPTCP代理服务器的IP地址,和/或,将应用层数据包中的应用服务器的端口号替换成MPTCP代理服务器的端口号。第三 逻辑层接收第一逻辑层发过来的数据包,根据数据流的QoS策略等信息,执行数据包的处理。比如,根据QoS策略的QFI标识数据包,或者执行QoS策略中的GBR或MBR等信息。
基于上述方案,UE的第三逻辑层获取有第一应用数据流与MPTCP连接的连接标识的关联关系,以及获取MPTCP连接的连接标识与QoS参数的关联关系。因此,当第三逻辑层接收到来自第一逻辑层的第一应用数据流的第一数据包后,可以根据第一应用数据流与MPTCP连接的连接标识的关联关系,确定第一数据包中的MPTCP连接的连接标识对应的MPTCP连接的连接标识,进而可以根据MPTCP连接的连接标识与QoS参数的关联关系,确定第一数据包对应的QoS参数,并根据QoS参数处理第一数据包。
作为一种实现方式,在上述步骤401之后还可以包括以下步骤:
步骤402,UE的第一逻辑层为MPTCP连接分配所MPTCP连接的连接标识。
步骤403,UE的第一逻辑层向UE的第三逻辑层发送MPTCP连接的连接标识。
在又一种实现方式中,UE的第一逻辑层还可以向UE的第三逻辑层发送MPTCP连接的连接标识对应的第一应用数据流的应用标识,该应用标识是用于标识应用层数据包的信息,比如包括五元组信息的一种或者多种,五元组信息包括源IP地址、源端口号、目的IP地址(应用服务器的IP地址)、目的端口号(应用服务器端口号)以及协议号等。
UE的第三逻辑层在接收到MPTCP连接的连接标识之后,可以建立第一应用数据流与MPTCP连接的连接标识的关联关系,即使用该连接标识来标识第一应用数据流。
图5示出了本发明实施例中所涉及的装置的可能的示例性框图,该装置500可以以软件的形式存在,也可以以硬件的形式存在,还可以以软件和硬件的形式存在,本申请实施例不做限定。装置500可以包括:处理单元502和通信单元503。作为一种实现方式,该通信单元503可以包括接收单元和/或发送单元。处理单元502用于对装置500进行控制管理。通信单元503用于支持装置500与其他网络实体的通信。装置500还可以包括存储单元501,用于存储装置500的程序代码和数据。
其中,处理单元502可以是处理器或控制器,例如可以是通用中央处理器(central processing unit,CPU),通用处理器,数字信号处理(digital signal processing,DSP),专用集成电路(application specific integrated circuits,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明实施例公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包括一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元503可以是通信接口、收发器或收发电路等,其中,该通信接口是统称,在具体实现中,该通信接口可以包括多个接口。存储单元501可以是存储器。
在第一种应用中,该装置500可以为上述任一实施例中的终端,还可以为终端中的芯片。例如,装置500可以为终端时,该处理单元502例如可以是处理器,该通信单元例如可以是收发器,该收发器包括射频电路,可选地,该存储单元例如可以是存储器。例如,装置500可以为终端中的芯片时,该处理单元502例如可以是处理器,该通信单元例如可以是输入/输出接口、管脚或电路等。可选地,该存储单元为该芯片内的存储单元,如寄存器、缓存等,该存储单元还可以是该终端内的位于该芯片外部的存储单元,如只读存储器 (read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)等。
具体地,当通信单元503包括发送单元和接收单元时,处理单元,用于为第一应用数据流建立与MPTCP代理服务器的MPTCP连接;接收单元,用于接收来自会话管理网元的QoS策略,QoS策略包括第一应用数据流的标识信息和第一应用数据流对应的QoS参数;处理单元,还用于获取第一应用数据流的第一数据包,根据第一应用数据流的标识信息确定第一数据包对应的QoS参数;以及,根据QoS参数处理第一数据包。
在一种可能的实现方式中,第一应用数据流的标识信息包括MPTCP连接的连接标识。
在一种可能的实现方式中,处理单元,具体用于为MPTCP连接分配MPTCP连接的连接标识;终端向会话管理网元发送MPTCP连接的连接标识。
在一种可能的实现方式中,MPTCP连接包括第一数据传输路径,第一数据传输路径用于采用第一接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第一数据传输路径对应的第一标识信息,QoS参数包括与第一数据传输路径对应的第一QoS参数。
在一种可能的实现方式中,第一标识信息包括与第一数据传输路径对应的第一目的地址的信息,第一目的地址的信息为MPTCP代理服务器的地址信息。
在一种可能的实现方式中,接收单元,还用于在接收来自会话管理网元的QoS策略之前,接收第一目的地址的信息;处理单元,还用于获取到应用层数据包,将第一目的地址作为应用层数据包的地址,得到第一数据包。
在一种可能的实现方式中,第一目的地址的信息包括IP地址和/或端口号。
在一种可能的实现方式中,第一标识信息包括与第一数据传输路径对应的第一源地址的信息。
在一种可能的实现方式中,处理单元,还用于分配第一源地址;发送单元,用于向会话管理网元发送第一源地址的信息。
在一种可能的实现方式中,处理单元,还用于在接收单元接收来自会话管理网元的QoS策略之前,获取到应用层数据包,并将MPTCP代理服务器的地址作为应用层数据包的地址,得到第一数据包。
在一种可能的实现方式中,第一源地址信息包括IP地址和/或端口号。
在一种可能的实现方式中,MPTCP连接还包括第二数据传输路径,第二数据传输路径用于采用第二接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第二数据传输路径对应的第二标识信息,QoS参数还包括与第二数据传输路径对应的第二QoS参数。
在一种可能的实现方式中,第二标识信息包括与第二数据传输路径对应的第二目的地址的信息,第二目的地址的信息为MPTCP代理服务器的地址信息。
在一种可能的实现方式中,第二目的地址的信息包括IP地址和/或端口号。
在一种可能的实现方式中,接收单元,还用于在接收来自会话管理网元的QoS策略之前,接收第二目的地址的信息;处理单元,还用于获取到应用层数据包,将第二目的地址信息作为应用层数据包的地址,得到第一数据包。
在一种可能的实现方式中,第二标识信息包括与第二数据传输路径对应的第二源地址的信息。
在一种可能的实现方式中,处理单元,还用于分配第二源地址;发送单元,用于向会 话管理网元发送第二源地址的信息。
在一种可能的实现方式中,第二源地址的信息包括IP地址和/或端口号。
在第二种应用中,该装置500可以为上述任一实施例中的MPTCP代理服务器,还可以为MPTCP代理服务器中的芯片。
具体地,当通信单元503包括发送单元和接收单元时:处理单元,用于为第一应用数据流建立与终端的MPTCP连接;获取第一应用数据流的标识信息;发送单元,用于向会话管理网元发送第一应用数据流的标识信息。
在一种可能的实现方式中,第一应用数据流的标识信息包括MPTCP连接的连接标识。
在一种可能的实现方式中,处理单元,具体用于为MPTCP连接分配MPTCP连接的连接标识;或者,发送单元,用于接收来自终端的MPTCP连接的连接标识。
在一种可能的实现方式中,MPTCP连接包括第一数据传输路径,第一数据传输路径用于采用第一接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第一数据传输路径对应的第一标识信息,QoS参数包括与第一数据传输路径对应的第一QoS参数。
在一种可能的实现方式中,处理单元,具体用于分配第一标识信息,第一标识信息包括与第一数据传输路径对应的第一目的地址的信息。
在一种可能的实现方式中,MPTCP代理服务器向终端发送第一标识信息。
在一种可能的实现方式中,第一目的地址的信息包括IP地址和/或端口号。
在一种可能的实现方式中,第一标识信息包括与第一数据传输路径对应的第一源地址的信息,第一源地址的信息为终端的地址信息。
在一种可能的实现方式中,接收单元,用于接收来自终端的第一源地址的信息。
在一种可能的实现方式中,第一源地址信息包括IP地址和/或端口号。
在一种可能的实现方式中,MPTCP连接还包括第二数据传输路径,第二数据传输路径用于采用第二接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第二数据传输路径对应的第二标识信息,QoS参数还包括与第二数据传输路径对应的第二QoS参数。
在一种可能的实现方式中,处理单元,具体用于分配第二标识信息,第二标识信息包括与第二数据传输路径对应的第二目的地址的信息。
在一种可能的实现方式中,发送单元,用于向终端发送第二标识信息。
在一种可能的实现方式中,第二目的地址的信息包括IP地址和/或端口号。
在一种可能的实现方式中,第二标识信息包括与第二数据传输路径对应的第二源地址的信息,第二源地址的信息为终端的地址信息。
在一种可能的实现方式中,接收单元,用于接收来自终端的第二源地址的信息。
在一种可能的实现方式中,第二源地址信息包括IP地址和/或端口号。
在第三种应用中,该装置500可以为上述任一实施例中的会话管理网元,还可以为会话管理网元中的芯片。
具体地,当通信单元503包括发送单元和接收单元时:处理单元,用于获取来自第一应用数据流的标识信息;发送单元,用于向终端发送QoS策略,QoS策略包括第一应用数据流的标识信息和第一应用数据流对应的QoS参数。
在一种可能的实现方式中,第一应用数据流的标识信息包括MPTCP代理服务器与终端之间的MPTCP连接的连接标识。
在一种可能的实现方式中,发送单元,用于向MPTCP代理服务器发送请求消息,请求消息包括第一应用数据流的包过滤器,第一应用数据流的包过滤器用于标识第一应用数据流,请求消息用于请求获取第一应用数据流的标识信息;接收单元,用于接收来自MPTCP代理服务器的MPTCP连接的连接标识;或者,处理单元为终端分配MPTCP连接的连接标识。
在一种可能的实现方式中,MPTCP连接包括第一数据传输路径,第一数据传输路径用于采用第一接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第一数据传输路径对应的第一标识信息,QoS参数包括与第一数据传输路径对应的第一QoS参数。
在一种可能的实现方式中,第一标识信息包括与第一数据传输路径对应的第一目的地址的信息,第一目的地址的信息为MPTCP代理服务器的地址信息。
在一种可能的实现方式中,接收单元,还用于接收来自MPTCP代理服务器的第一目的地址的信息。
在一种可能的实现方式中,第一目的地址的信息包括IP地址和/或端口号。
在一种可能的实现方式中,第一标识信息包括与第一数据传输路径对应的第一源地址的信息,第一源地址的信息为会话管理网元分配的。
在一种可能的实现方式中,接收单元,用于接收来自终端的第一源地址的信息。
在一种可能的实现方式中,第一源地址信息包括IP地址和/或端口号。
在一种可能的实现方式中,MPTCP连接还包括第二数据传输路径,第二数据传输路径用于采用第二接入技术传输第一应用数据流;第一应用数据流的标识信息包括与第二数据传输路径对应的第二标识信息,QoS参数包括与第二数据传输路径对应的第二QoS参数。
在一种可能的实现方式中,第二标识信息包括与第二数据传输路径对应的第二目的地址的信息,第二目的地址的信息为MPTCP代理服务器的地址信息。
在一种可能的实现方式中,接收单元,用于接收来自MPTCP代理服务器的第二目的地址的信息。
在一种可能的实现方式中,第二目的地址的信息包括IP地址和/或端口号。
在一种可能的实现方式中,第二标识信息包括与第二数据传输路径对应的第二源地址的信息,第二源地址的信息为终端的地址信息。
在一种可能的实现方式中,接收单元,用于接收来自终端的第二源地址的信息。
在一种可能的实现方式中,第二源地址信息包括IP地址和/或端口号。
图5所示的装置为终端、或为MPTCP代理服务器、或会话管理网元时,所用于执行的通信方法的具体有益效果,可参考前述方法实施例中的相关描述,这里不再赘述。
图6示出了本发明实施例中所涉及的终端的一种可能的设计结构的简化示意图。所述终端600包括发射器601,接收器602和处理器603。其中,处理器603也可以为控制器,图6中表示为“控制器/处理器603”。可选的,所述终端600还可以包括调制解调处理器605,其中,调制解调处理器605可以包括编码器606、调制器607、解码器608和解调器609。
在一个示例中,发射器601调节(例如,模拟转换、滤波、放大和上变频等)输出采样并生成上行链路信号,该上行链路信号经由天线发射给上述实施例中所述的基站或N3IWF设备。在下行链路上,天线接收上述实施例中基站或N3IWF设备发射的下行链路信号。 接收器602调节(例如,滤波、放大、下变频以及数字化等)从天线接收的信号并提供输入采样。在调制解调处理器605中,编码器606接收要在上行链路上发送的业务数据和信令消息,并对业务数据和信令消息进行处理(例如,格式化、编码和交织)。调制器607进一步处理(例如,符号映射和调制)编码后的业务数据和信令消息并提供输出采样。解调器609处理(例如,解调)该输入采样并提供符号估计。解码器608处理(例如,解交织和解码)该符号估计并提供发送给终端600的已解码的数据和信令消息。编码器606、调制器607、解调器609和解码器608可以由合成的调制解调处理器605来实现。这些单元根据无线接入网采用的无线接入技术来进行处理。需要说明的是,当终端600不包括调制解调处理器605时,调制解调处理器605的上述功能也可以由处理器603完成。
处理器603对终端600进行控制管理,用于执行上述本发明实施例中由终端进行的处理过程。例如,处理器603用于执行本申请任一实施例的通信方法中涉及终端的处理过程和/或本申请所描述的技术方案的其他过程。
进一步的,终端600还可以包括存储器604,存储器604用于存储用于终端600的程序代码和数据。
参阅图7所示,为本申请提供的一种装置示意图,该装置可以是上述会话管理网元,或者是上述MPTCP代理服务器。该装置700包括:处理器702、通信接口703、存储器701。可选的,装置700还可以包括总线704。其中,通信接口703、处理器702以及存储器701可以通过通信线路704相互连接;通信线路704可以是外设部件互连标准(peripheral component interconnect,简称PCI)总线或扩展工业标准结构(extended industry standard architecture,简称EISA)总线等。所述通信线路704可以分为地址总线、数据总线、控制总线等。为便于表示,图7中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
处理器702可以是一个CPU,微处理器,ASIC,或一个或多个用于控制本申请方案程序执行的集成电路。
通信接口703,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网,无线接入网(radio access network,RAN),无线局域网(wireless local area networks,WLAN),有线接入网等。
存储器701可以是ROM或可存储静态信息和指令的其他类型的静态存储设备,RAM或者可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically er服务器able programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路704与处理器相连接。存储器也可以和处理器集成在一起。
其中,存储器701用于存储执行本申请方案的计算机执行指令,并由处理器702来控制执行。处理器702用于执行存储器701中存储的计算机执行指令,从而实现本申请上述实施例提供的通信方法。
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施 例对此不作具体限定。
本领域普通技术人员可以理解:本申请中涉及的第一、第二等各种数字编号仅为描述方便进行的区分,并不用来限制本申请实施例的范围,也表示先后顺序。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。“至少一个”是指一个或者多个。至少两个是指两个或者多个。“至少一个”、“任意一个”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个、种),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包括一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State Disk,SSD))等。
本申请实施例中所描述的各种说明性的逻辑单元和电路可以通过通用处理器,数字信号处理器,专用集成电路(ASIC),现场可编程门阵列(FPGA)或其它可编程逻辑装置,离散门或晶体管逻辑,离散硬件部件,或上述任何组合的设计来实现或操作所描述的功能。通用处理器可以为微处理器,可选地,该通用处理器也可以为任何传统的处理器、控制器、微控制器或状态机。处理器也可以通过计算装置的组合来实现,例如数字信号处理器和微处理器,多个微处理器,一个或多个微处理器联合一个数字信号处理器核,或任何其它类似的配置来实现。
本申请实施例中所描述的方法或算法的步骤可以直接嵌入硬件、处理器执行的软件单元、或者这两者的结合。软件单元可以存储于RAM存储器、闪存、ROM存储器、EPROM存储器、EEPROM存储器、寄存器、硬盘、可移动磁盘、CD-ROM或本领域中其它任意形式的存储媒介中。示例性地,存储媒介可以与处理器连接,以使得处理器可以从存储媒介中读取信息,并可以向存储媒介存写信息。可选地,存储媒介还可以集成到处理器中。处理器和存储媒介可以设置于ASIC中,ASIC可以设置于终端中。可选地,处理器和存储媒介也可以设置于终端中的不同的部件中。
本申请是参照本申请的方法、装置(设备)和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一 个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包括这些改动和变型在内。

Claims (30)

  1. 一种通信方法,其特征在于,包括:
    终端为第一应用数据流建立与多路径传输控制协议MPTCP代理服务器的MPTCP连接;
    所述终端接收来自会话管理网元的服务质量QoS策略,所述QoS策略包括所述第一应用数据流的标识信息和所述第一应用数据流对应的QoS参数;
    所述终端获取所述第一应用数据流的第一数据包,所述终端根据所述第一应用数据流的标识信息确定所述第一数据包对应的所述QoS参数;
    所述终端根据所述QoS参数处理所述第一数据包。
  2. 如权利要求1所述的方法,其特征在于,所述第一应用数据流的标识信息包括所述MPTCP连接的连接标识。
  3. 如权利要求2所述的方法,其特征在于,所述方法还包括:
    所述终端为所述MPTCP连接分配所述MPTCP连接的连接标识;
    所述终端向所述会话管理网元发送所述MPTCP连接的连接标识。
  4. 如权利要求1所述的方法,其特征在于,
    所述MPTCP连接包括第一数据传输路径,所述第一数据传输路径用于采用第一接入技术传输所述第一应用数据流;
    所述第一应用数据流的标识信息包括与所述第一数据传输路径对应的第一标识信息,所述QoS参数包括与所述第一数据传输路径对应的第一QoS参数。
  5. 如权利要求4所述的方法,其特征在于,
    所述第一标识信息包括与所述第一数据传输路径对应的第一目的地址的信息,所述第一目的地址的信息为所述MPTCP代理服务器的地址信息。
  6. 如权利要求5所述的方法,其特征在于,
    所述第一目的地址的信息包括IP地址和/或端口号。
  7. 如权利要求4所述的方法,其特征在于,
    所述第一标识信息包括与所述第一数据传输路径对应的第一源地址的信息。
  8. 如权利要求7所述的方法,其特征在于,
    所述第一源地址信息包括IP地址和/或端口号。
  9. 如权利要求4至8任一项所述的方法,其特征在于,
    所述MPTCP连接还包括第二数据传输路径,所述第二数据传输路径用于采用第二接入技术传输所述第一应用数据流;
    所述第一应用数据流的标识信息包括与所述第二数据传输路径对应的第二标识信息,所述QoS参数还包括与所述第二数据传输路径对应的第二QoS参数。
  10. 如权利要求9所述的方法,其特征在于,
    所述第二标识信息包括与所述第二数据传输路径对应的第二目的地址的信息,所述第二目的地址的信息为所述MPTCP代理服务器的地址信息。
  11. 如权利要求10所述的方法,其特征在于,
    所述第二目的地址的信息包括IP地址和/或端口号。
  12. 如权利要求9所述的方法,其特征在于,
    所述第二标识信息包括与所述第二数据传输路径对应的第二源地址的信息。
  13. 如权利要12所述的方法,其特征在于,
    所述第二源地址的信息包括IP地址和/或端口号。
  14. 一种通信方法,其特征在于,包括:
    多路径传输控制协议MPTCP代理服务器为第一应用数据流建立与终端的MPTCP连接;
    所述MPTCP代理服务器获取第一应用数据流的标识信息;
    所述MPTCP代理服务器向会话管理网元发送所述第一应用数据流的标识信息。
  15. 如权利要求14所述的方法,其特征在于,所述第一应用数据流的标识信息包括所述MPTCP连接的连接标识。
  16. 如权利要求15所述的方法,其特征在于,所述MPTCP代理服务器获取第一应用数据流的标识信息,包括:
    所述MPTCP代理服务器为所述MPTCP连接分配所述MPTCP连接的连接标识;或者,
    所述MPTCP代理服务器接收来自所述终端的所述MPTCP连接的连接标识。
  17. 如权利要求14所述的方法,其特征在于,所述MPTCP连接包括第一数据传输路径,所述第一数据传输路径用于采用第一接入技术传输所述第一应用数据流;
    所述第一应用数据流的标识信息包括与所述第一数据传输路径对应的第一标识信息,所述QoS参数包括与所述第一数据传输路径对应的第一QoS参数。
  18. 如权利要求17所述的方法,其特征在于,所述MPTCP代理服务器获取第一应用数据流的标识信息,包括:
    所述MPTCP代理服务器分配所述第一标识信息,所述第一标识信息包括与所述第一数据传输路径对应的第一目的地址的信息。
  19. 如权利要求18所述的方法,其特征在于,
    所述第一目的地址的信息包括IP地址和/或端口号。
  20. 如权利要求17所述的方法,其特征在于,
    所述第一标识信息包括与所述第一数据传输路径对应的第一源地址的信息,所述第一源地址的信息为所述终端的地址信息。
  21. 如权利要求20所述的方法,其特征在于,
    所述第一源地址信息包括IP地址和/或端口号。
  22. 一种通信方法,其特征在于,包括:
    会话管理网元获取来自第一应用数据流的标识信息;
    所述会话管理网元向终端发送服务质量QoS策略,所述QoS策略包括所述第一应用数据流的标识信息和所述第一应用数据流对应的QoS参数。
  23. 如权利要求22所述的方法,其特征在于,所述第一应用数据流的标识信息包括MPTCP代理服务器与所述终端之间的MPTCP连接的连接标识。
  24. 如权利要求23所述的方法,其特征在于,会话管理网元获取第一应用数据流的标识信息之前,包括:
    所述会话管理网元向所述MPTCP代理服务器发送请求消息,所述请求消息包括所述第一应用数据流的包过滤器,所述第一应用数据流的包过滤器用于标识所述第一应用数据流,所述请求消息用于请求获取所述第一应用数据流的标识信息;所述会话管理网元接收 来自所述MPTCP代理服务器的所述MPTCP连接的连接标识;或者,
    会话管理网元为所述终端分配MPTCP连接的连接标识。
  25. 如权利要求24所述的方法,其特征在于,所述MPTCP连接包括第一数据传输路径,所述第一数据传输路径用于采用第一接入技术传输所述第一应用数据流;
    所述第一应用数据流的标识信息包括与所述第一数据传输路径对应的第一标识信息,所述QoS参数包括与所述第一数据传输路径对应的第一QoS参数。
  26. 如权利要求25所述的方法,其特征在于,所述第一标识信息包括与所述第一数据传输路径对应的第一目的地址的信息,所述第一目的地址的信息为所述MPTCP代理服务器的地址信息。
  27. 如权利要求25所述的方法,其特征在于,
    所述第一标识信息包括与所述第一数据传输路径对应的第一源地址的信息,所述第一源地址的信息为所述会话管理网元分配的。
  28. 一种装置,其特征在于,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序,当所述程序被所述处理器执行时,使得装置以执行如权利要求1至13任一项所述的方法。
  29. 一种装置,其特征在于,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序,当所述程序被所述处理器执行时,使得装置以执行如权利要求14至21任一项所述的方法。
  30. 一种装置,其特征在于,包括:处理器,所述处理器与存储器耦合,所述存储器用于存储程序,当所述程序被所述处理器执行时,使得装置以执行如权利要求22至27任一项所述的方法。
PCT/CN2019/110136 2018-10-09 2019-10-09 一种通信方法及装置 WO2020073921A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811173841.7A CN111031078B (zh) 2018-10-09 2018-10-09 一种通信方法及装置
CN201811173841.7 2018-10-09

Publications (1)

Publication Number Publication Date
WO2020073921A1 true WO2020073921A1 (zh) 2020-04-16

Family

ID=70164453

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110136 WO2020073921A1 (zh) 2018-10-09 2019-10-09 一种通信方法及装置

Country Status (2)

Country Link
CN (1) CN111031078B (zh)
WO (1) WO2020073921A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676924A (zh) * 2020-05-15 2021-11-19 华为技术有限公司 通信方法、装置及系统
CN113824648A (zh) * 2021-09-14 2021-12-21 新乡学院 一种基于QoE的MPTCP数据包调度方法及装置
CN114666265A (zh) * 2022-03-28 2022-06-24 阿里巴巴(中国)有限公司 数据传输方法、装置、计算设备及介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20240008933A (ko) * 2021-06-25 2024-01-19 애플 인크. 확장 현실 애플리케이션들을 위한 통신 조정 및 전력 절감 기법들
CN116016460A (zh) * 2021-10-22 2023-04-25 华为技术有限公司 通信方法及装置
CN114189912B (zh) * 2021-12-21 2024-01-09 中国联合网络通信集团有限公司 会话方法、控制面功能实体及代理、会话系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811453A (zh) * 2012-08-17 2012-12-05 武汉大学 一种工业无线网状网络多径路由的选路判定方法
CN104581892A (zh) * 2014-12-05 2015-04-29 华为技术有限公司 一种终端的数据传输方法和装置
CN106454959A (zh) * 2016-11-01 2017-02-22 佛山科学技术学院 一种分布式网络的服务质量控制方法、及服务器

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9456464B2 (en) * 2013-06-06 2016-09-27 Apple Inc. Multipath TCP subflow establishment and control
CN104285472B (zh) * 2014-04-24 2019-03-01 华为技术有限公司 Mptcp连接的移动性管理方法和装置
US9742659B2 (en) * 2015-01-28 2017-08-22 Dell Products Lp Multipath bandwidth usage
WO2017049505A1 (zh) * 2015-09-23 2017-03-30 华为技术有限公司 数据传输方法及通信装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102811453A (zh) * 2012-08-17 2012-12-05 武汉大学 一种工业无线网状网络多径路由的选路判定方法
CN104581892A (zh) * 2014-12-05 2015-04-29 华为技术有限公司 一种终端的数据传输方法和装置
CN106454959A (zh) * 2016-11-01 2017-02-22 佛山科学技术学院 一种分布式网络的服务质量控制方法、及服务器

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
APPLE, INC. ET AL.: "New Solution: MPTCP Proxy Architecture", 3GPP SA WG2 MEETING #127 S2-184471, 30 April 2018 (2018-04-30), XP051433036 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113676924A (zh) * 2020-05-15 2021-11-19 华为技术有限公司 通信方法、装置及系统
CN113676924B (zh) * 2020-05-15 2023-10-13 华为技术有限公司 通信方法、装置及系统
CN113824648A (zh) * 2021-09-14 2021-12-21 新乡学院 一种基于QoE的MPTCP数据包调度方法及装置
CN114666265A (zh) * 2022-03-28 2022-06-24 阿里巴巴(中国)有限公司 数据传输方法、装置、计算设备及介质
CN114666265B (zh) * 2022-03-28 2024-04-02 阿里巴巴(中国)有限公司 数据传输方法、装置、计算设备及介质

Also Published As

Publication number Publication date
CN111031078A (zh) 2020-04-17
CN111031078B (zh) 2021-05-04

Similar Documents

Publication Publication Date Title
WO2020073921A1 (zh) 一种通信方法及装置
CN111010673B (zh) 一种通信方法及装置
US11765686B2 (en) Packet transmission method and apparatus for communicating between terminals of a same 5G LAN group
WO2020253456A1 (zh) 数据传输的方法、管理服务质量流的方法、设备及介质
US11812496B2 (en) User group session management method and apparatus
WO2021174884A1 (zh) 通信方法和装置
WO2019185062A1 (zh) 一种通信方法及装置
CN114124618B (zh) 一种报文传输方法及电子设备
WO2022033558A1 (zh) 一种中继管理方法及通信装置
JP6373399B2 (ja) データパケットを転送するためのアクセスノードデバイス
CN114342332B (zh) 一种通信方法、装置及系统
WO2020001562A1 (zh) 一种通信方法及装置
WO2020020096A1 (zh) 一种群组创建方法、装置及系统
WO2020024881A1 (zh) 一种通信方法及装置
WO2022033543A1 (zh) 一种中继通信方法及通信装置
WO2021204277A1 (zh) 通信方法、装置及系统
CN113453284B (zh) 一种服务质量Qos控制方法、设备及存储介质
WO2021042381A1 (zh) 一种通信方法、装置及系统
WO2014169590A1 (zh) 一种数据业务通信方法、设备及系统
WO2023056784A1 (zh) 数据收集方法、通信装置及通信系统
WO2023246649A1 (zh) 通信方法、通信装置及通信系统
JP7472279B2 (ja) 通信方法、装置、およびシステム
US20230017423A1 (en) Tenant deployment of mobile network components
WO2023082858A1 (zh) 确定移动性管理策略的方法、通信装置及通信系统
WO2024012376A1 (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: 19871371

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19871371

Country of ref document: EP

Kind code of ref document: A1