WO2020259430A1 - 用于传输业务报文的方法和装置 - Google Patents

用于传输业务报文的方法和装置 Download PDF

Info

Publication number
WO2020259430A1
WO2020259430A1 PCT/CN2020/097394 CN2020097394W WO2020259430A1 WO 2020259430 A1 WO2020259430 A1 WO 2020259430A1 CN 2020097394 W CN2020097394 W CN 2020097394W WO 2020259430 A1 WO2020259430 A1 WO 2020259430A1
Authority
WO
WIPO (PCT)
Prior art keywords
network element
user plane
source
target
plane network
Prior art date
Application number
PCT/CN2020/097394
Other languages
English (en)
French (fr)
Inventor
余芳
李岩
倪慧
李永翠
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP20833120.7A priority Critical patent/EP3979700A4/en
Publication of WO2020259430A1 publication Critical patent/WO2020259430A1/zh
Priority to US17/558,059 priority patent/US20220116828A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/12Reselecting a serving backbone network switching or routing node
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • H04W36/0011Control or signalling for completing the hand-off for data sessions of end-to-end connection
    • H04W36/0033Control or signalling for completing the hand-off for data sessions of end-to-end connection with transfer of context information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/06Reselecting a communication resource in the serving access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/08Reselecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/16Performing reselection for specific purposes
    • H04W36/165Performing reselection for specific purposes for reducing network power consumption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/20Control channels or signalling for resource management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W92/00Interfaces specially adapted for wireless communication networks
    • H04W92/16Interfaces between hierarchically similar devices
    • H04W92/24Interfaces between hierarchically similar devices between backbone network devices

Definitions

  • This application relates to the field of communications, and more specifically, to a method and device for transmitting service messages in the field of communications.
  • the terminal device When the terminal device moves from the coverage area of the original access network equipment to the coverage area of the current access network equipment, it will trigger the air interface switch, that is, switch the access network equipment of the terminal device from the original access network equipment to the current access network equipment.
  • the access network equipment Because the location of the terminal device has changed, but the terminal device still accesses the original user plane network element, but in fact, the user plane network element closest to the terminal device may have changed at this time, but the terminal device is still the same as the original user plane network element. In this case, the transmission path is longer, and accordingly, the transmission delay of the message will increase. In order to reduce the transmission delay of the message, it is necessary to switch the transmission path from the original user plane network element to the new user plane network element. During the switching process, the uplink and downlink service packets that have not yet been transmitted are prone to packet loss. Cause the transmission performance to decline.
  • This application provides a method for transmitting service messages, which helps to improve transmission performance.
  • a method for transmitting service messages including: a target user plane function receives a first uplink service message from a source user plane network element, and the first uplink service message is the source user plane network element An uplink service packet received after receiving a second uplink service packet, where the second uplink service packet is the last uplink service packet sent by the source user plane network element to the source application server;
  • the target user plane network element receives first instruction information from the source user plane network element, where the first instruction information is used to instruct the source user plane network element to end sending the first uplink service packet;
  • the target user plane network element After the target user plane network element receives the first indication information, when the first uplink service message is sent, the target user plane network element sends an uplink service report sent by the access network device to the target user plane network element to the target application server. Text.
  • the source user plane network element after the source user plane network element sends the last second uplink service packet to the source application server, the first uplink service packet after the second uplink service packet passes through the target user plane network
  • the element is sent to the target application server, so that the loss of the first uplink service packet can be avoided, and the source user plane network element can send the first indication information to the target user plane network element to indicate the first uplink sent by the source user plane network element
  • the end of the service message can prevent the target user plane network element from waiting to receive the uplink service message sent by the source user plane network element.
  • the target user plane network element After receiving the first indication information, sends the message from the source to the target application server.
  • the uplink service message sent by the access network device to the target user plane network element is sent, thereby avoiding the problem of disorder of the uplink service message.
  • the method before the target user plane network element receives the first uplink service message from the source user plane network element, the method further includes:
  • the target user plane network element sends a first uplink service packet and second indication information to the source user plane network element, where the second indication information is used to instruct the target user plane network element to end sending the first uplink service packet .
  • the first indication information and the second indication information may be signaling between different network elements, but the first indication information and the second indication information may include the same information element, that is, the same information element may be Is the end of the uplink service message, that is, after the target user plane network element sends the second indication information to the source user plane network element, the source user plane network element can determine that the uplink service message from the target user plane network element ends, That is, the target user plane network element will no longer send uplink service packets to the source user plane network element; after the source user plane network element sends the first indication information to the target user plane network element, the target user plane network element can determine the source The uplink service packet of the user plane network element ends, that is, the source user plane network element will no longer send uplink service packets to the target user plane network element.
  • the method before the target user plane network element receives the first uplink service message from the source user plane network element, the method further includes:
  • the target user plane network element receives the first downlink service message and third indication information from the source user plane network element, where the third indication information is used to indicate the end of sending the downlink service message from the source application server.
  • the method further includes:
  • the target user plane network element sends the downlink service message sent from the target application server to the access network device.
  • the target user plane network element sends the second indication information to the source user plane network element, including:
  • the target user plane network element sends the second instruction information to the source user plane network element according to the third instruction information.
  • the target user plane network element sends the second indication information to the source user plane network element, including:
  • the target user plane network element After the target user plane network element receives the downlink service message from the target application server or the context migration complete message sent from the session management function network element, the target user plane network element sends second indication information to the source user plane network element.
  • the target user plane network element before the target user plane network element sends the second indication information to the source user plane network element, the target user plane network element determines to establish tunnel information with the source user plane network element, and the tunnel information is used To establish an uplink service packet forwarding tunnel between the source user plane network element and the target user plane network element.
  • the target user plane network element can send tunnel information to the target session management network element, so that the target session management network element can send the tunnel information to the central session management network element, and the central session management network element can send The tunnel information is sent to the source session management NE, and the source session management NE sends the tunnel information to the source user plane NE, so that the source user plane NE and the target user plane NE can establish the forwarding of the upper and lower service packets based on the tunnel information tunnel.
  • the target user plane network element can send tunnel information to the central session management network element, so that the central session management network element can send the tunnel information to the source user plane network element, so that the source user plane network element and The target user plane network element can then establish a forwarding tunnel for upper and lower service packets according to the tunnel information.
  • a method for transmitting service packets including: after a source user plane function network element receives a second uplink service packet, the source user plane network element receives the first uplink service packet, The uplink service message is the last uplink service message sent by the source user plane network element to the source application server.
  • the source user plane network element sends the first uplink service message message to the target user plane network element;
  • the target user plane network element sends first indication information, where the first indication information is used to indicate that the source user plane network element ends sending the first uplink service packet.
  • the source user plane network element after the source user plane network element sends the last second uplink service packet to the source application server, the first uplink service packet after the second uplink service packet passes through the target user plane network Element to the target application server, so that the loss of the first uplink service packet can be avoided, and the source user plane network element can send the first indication information to the target user plane network element to instruct the source user plane network element to send the first uplink service packet This is the end of the article. This can prevent the target user plane network element from waiting to receive the uplink service packets sent by the source user plane network element. After receiving the first indication information, the target user plane network element sends the source user plane network element to the target application server. After the uplink service packet of the network element, the uplink service packet is sent from the access network device to the target user plane network element, so that the disorder of the uplink service packet can be avoided.
  • the method before the source user plane network element sends the first uplink service message to the target user plane network element, the method further includes:
  • the source user plane network element receives second instruction information from the target user plane network element, where the second instruction information is used to instruct the target user plane network element to end sending the first uplink service packet.
  • the source user plane network element receives the second indication information sent by the target user plane network element after receiving the first uplink service packet sent by the target user plane network element, or the source user plane network element may simultaneously receive The second indication information and the first uplink service packet sent by the target user plane network element.
  • the method before the source user plane network element sends the first uplink service message to the target user plane network element, the method further includes:
  • the source user plane network element sends the first downlink service packet and third indication information to the target user plane network element, where the third indication information is used to indicate the end of sending the downlink service packet from the source application server.
  • the source user plane network element receives the second indication information from the target user plane network element, including:
  • the source user plane network element receives the second instruction information sent by the target user plane network element according to the third instruction information.
  • the method before the source user plane network element sends the first downlink service message and the third indication information to the target user plane network element, the method further includes:
  • the source user plane network element receives the fourth indication information sent by the first network element, where the fourth indication information is used to indicate that the first downlink service packet is the last downlink service packet from the source application server;
  • the source user plane network element sends fifth indication information to the first network element, where the fifth indication information is used to indicate that the second uplink service packet is the last uplink service packet sent by the source user plane network element to the source application server.
  • the first network element may be a source application server or a management network element of the source application server or a control plane network element of the source application server.
  • the fourth indication information is the sequence number of the first downlink service packet
  • the fifth indication information is the sequence number of the second uplink service packet.
  • the method further includes that the source user plane network element receives tunnel information sent by the central session management network element or the source session management network element.
  • the tunnel information is used to establish the source user plane network element and the target user plane network. Uplink service packet forwarding tunnel between yuan.
  • a method for transmitting service messages including: a source application server receives first notification information sent by a session management function session management network element, the first notification information is used to notify a data network access point identifier When a change occurs or is used to notify a user plane network element of a change, the first notification information includes the target data network access point identifier and the terminal device identifier;
  • the source application server and the target application server corresponding to the target data network access point identifier perform the context migration of the terminal device, where the first The downlink service message is the last downlink service message sent by the source application server to the source user plane function user plane network element, and the second uplink service message is the last uplink service message sent by the source user plane network element to the source application server. Text.
  • the method before the source application server and the target application server corresponding to the target data network access point identifier perform the context migration of the terminal device, the method further includes:
  • the source application server sends fourth indication information to the source user plane network element, where the fourth indication information is used to indicate that the first downlink service packet is the last downlink service packet from the source application server;
  • the source application server receives fifth indication information sent by the source user plane network element, where the fifth indication information is used to indicate that the second uplink service packet is the last uplink service packet sent by the source user plane network element to the source application server.
  • the fourth indication information is the sequence number of the first downlink service packet
  • the fifth indication information is the sequence number of the second uplink service packet.
  • the source application server sends the fourth indication information to the source user plane network element, including: the source application server sends the fourth indication information to the source user plane network element through the source session management network element; the source application server receives The fifth instruction information sent by the source user plane network element includes: the source application server receives the fifth instruction information sent by the source user plane network element through the source session management network element.
  • the method further includes: the source application server sends the context migration to the central session management network element
  • the completion message is used to indicate that the source application server and the target application server have completed the context migration of the terminal device.
  • the method further includes: the source application server manages the network element and the source session of the central session The management network element respectively sends a context migration complete message to indicate that the source application server and the target application server have completed the context migration of the terminal device.
  • a method for transmitting service packets including: a first session management network element receives fourth instruction information sent by a source AS, and the first session management network element sends a fourth instruction to the source user plane network element. Indication information, the fourth indication information is used to indicate that the first downlink service packet is the last downlink service packet from the source application server; the first session management network element receives the fifth indication information sent by the source user plane network element, A session management network element sends fifth indication information to the source application server, where the fifth indication information is used to indicate that the second uplink service packet is the last uplink service packet sent by the source user plane network element to the source application server.
  • the fourth indication information is the sequence number of the first downlink service packet
  • the fifth indication information is the sequence number of the second uplink service packet.
  • the first session management network element is a central session management network element
  • the central session management network element is used to control one or more session management network elements
  • the one or more session management network elements include source session management Network element.
  • the first session management network element is a central session management network element
  • the method further includes: the central session management network element receives a context migration complete message sent by the source application server, and the context migration complete message is used to indicate the source application The server and the target application server have completed the context migration of the terminal device.
  • the first session management network element is the source session management network element.
  • the method further includes: the first session management network element obtains tunnel information and sends the tunnel information to the source user plane network element.
  • the source session management network element obtains tunnel information, including: the source session management network element receives the tunnel information sent by the central session management network element.
  • the present application provides a device for transmitting service messages, which is used to implement the method in the first aspect and/or any possible implementation manner thereof.
  • the device may be a target user plane network element, or a device in the target user plane network element, or a device that can be matched and used with the target user plane network element.
  • the device may include modules that perform one-to-one correspondence of the methods/operations/steps/actions described in the first aspect and/or any possible implementation manners thereof.
  • the modules may be hardware circuits or software , It can also be realized by hardware circuit combined with software.
  • the device may include a sending unit and a receiving unit.
  • the present application provides a device for transmitting service messages, which is used to implement the method in the second aspect and/or any possible implementation manners thereof.
  • the device may be a source user plane network element, a device in a source user plane network element, or a device that can be matched and used with the source user plane network element.
  • the device may include modules that perform one-to-one correspondence of the methods/operations/steps/actions described in the second aspect and/or any possible implementations thereof.
  • the module may be a hardware circuit or a software , It can also be realized by hardware circuit combined with software.
  • the device may include a sending unit and a receiving unit.
  • the present application provides a device for transmitting service messages, which is used to implement the method in the third aspect and/or any possible implementation manners thereof.
  • the device may be a source application server, a device in the source application server, or a device that can be used in a matching manner with the source application server.
  • the device may include modules that perform one-to-one correspondence of the methods/operations/steps/actions described in the third aspect and/or any possible implementations thereof.
  • the module may be a hardware circuit or a software , It can also be realized by hardware circuit combined with software.
  • the device may include a sending unit and a migration unit.
  • the present application provides a device for transmitting service messages, which is used to implement the fourth aspect and/or the method in any possible implementation manner thereof.
  • the device may be a session management network element, a device in a session management network element, or a device that can be matched and used with a session management network element.
  • the device may include modules that perform one-to-one correspondence of the methods/operations/steps/actions described in the fourth aspect and/or any possible implementation manners thereof.
  • the module may be a hardware circuit or a software , It can also be realized by hardware circuit combined with software.
  • the device may include a receiving unit and a sending unit.
  • the present application provides an apparatus for transmitting service messages, the apparatus including a processor, configured to implement the method described in the first aspect and/or any possible implementation manner thereof.
  • the apparatus may further include a memory, the memory is coupled with the processor, and the processor is configured to implement the method described in the first aspect and/or any possible implementation manner thereof.
  • the processor is configured to store instructions, and when the processor executes the instructions stored in the memory, the method described in the first aspect and/or any possible implementation manner thereof can be implemented.
  • the device may further include a communication interface for communicating with other devices.
  • the communication interface may be a transceiver, circuit, bus, module, pin, or other types of communication interfaces.
  • the present application provides an apparatus for transmitting service messages.
  • the apparatus includes a processor, configured to implement the method described in the second aspect and/or any possible implementation manner thereof.
  • the apparatus may further include a memory, the memory is coupled with the processor, and the processor is configured to implement the method described in the second aspect and/or any possible implementation manner thereof.
  • the processor is configured to store instructions, and when the processor executes the instructions stored in the memory, the method described in the second aspect and/or any possible implementation manner thereof can be implemented.
  • the device may also include a communication interface, which is used for the device to communicate with other devices.
  • the present application provides an apparatus for transmitting service messages.
  • the apparatus includes a processor for implementing the method described in the third aspect and/or any possible implementation manner thereof.
  • the apparatus may further include a memory, the memory is coupled with the processor, and the processor is configured to implement the method described in the third aspect and/or any possible implementation manner thereof.
  • the processor is configured to store instructions, and when the processor executes the instructions stored in the memory, the method described in the third aspect and/or any possible implementation manner thereof can be implemented.
  • the device may also include a communication interface, which is used for the device to communicate with other devices.
  • the present application provides an apparatus for transmitting service messages.
  • the apparatus includes a processor for implementing the method described in the fourth aspect and/or any possible implementation manners thereof.
  • the device may further include a memory, the memory is coupled with the processor, and the processor is configured to implement the method described in the fourth aspect and/or any possible implementation manner thereof.
  • the processor is configured to store instructions, and when the processor executes the instructions stored in the memory, the method described in the fourth aspect and/or any possible implementation manner thereof can be implemented.
  • the device may also include a communication interface, which is used for the device to communicate with other devices.
  • the present application provides a system for transmitting service messages.
  • the system includes the device provided in the fifth aspect, the device provided in the sixth aspect, the device provided in the seventh aspect, and the device provided in the eighth aspect. At least two aspects of the device; or
  • the system includes at least two of the device provided in the ninth aspect, the device provided in the tenth aspect, the device provided in the eleventh aspect, and the device provided in the twelfth aspect;
  • the present application provides a computer-readable storage medium in which computer instructions are stored.
  • the computer instructions When the computer instructions are executed on the computer, the computer can execute the first aspect and any of its possible designs. method.
  • this application provides a computer-readable storage medium in which computer instructions are stored.
  • the computer instructions When the computer instructions are run on the computer, the computer can execute the second aspect and any of its possible designs. method.
  • this application provides a computer-readable storage medium in which computer instructions are stored.
  • the computer instructions When the computer instructions are executed on the computer, the computer executes the third aspect and any of its possible designs. method.
  • this application provides a computer-readable storage medium.
  • the computer-readable storage medium stores computer instructions.
  • the computer instructions run on the computer, the computer executes the fourth aspect and any of its possible designs. method.
  • this application provides a chip including a processor.
  • the processor is used to execute the method in the first aspect and any possible implementation manners thereof.
  • the chip further includes a memory, and the memory is coupled with the processor.
  • the chip further includes a communication interface.
  • this application provides a chip including a processor.
  • the processor is used to execute the method in the second aspect and any possible implementation manners thereof.
  • the chip further includes a memory, and the memory is coupled with the processor.
  • this application provides a chip including a processor.
  • the processor is used to execute the method in the third aspect and any possible implementation manners thereof.
  • the chip further includes a memory, and the memory is coupled with the processor.
  • the chip further includes a communication interface.
  • this application provides a chip including a processor.
  • the processor is used to execute the method in the fourth aspect and any possible implementation manners thereof.
  • the chip further includes a memory, and the memory is coupled with the processor.
  • the present application provides a computer program product, the computer program product includes computer program code, when the computer program code runs on a computer, the computer executes the first aspect and any possible design Methods.
  • the present application provides a computer program product, the computer program product includes computer program code, when the computer program code runs on a computer, the computer executes the second aspect and any possible implementation manners thereof Method in.
  • the present application provides a computer program product, the computer program product includes computer program code, when the computer program code runs on a computer, the computer executes the third aspect and any possible design Methods.
  • this application provides a computer program product, the computer program product includes computer program code, when the computer program code runs on a computer, the computer executes the fourth aspect and any possible implementation manners thereof Method in.
  • Figure 1 is a schematic diagram of a system architecture provided by an embodiment of the present application.
  • Figure 2 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Fig. 3 is a schematic diagram of another application scenario provided by an embodiment of the present application.
  • Fig. 4 is a schematic diagram of another application scenario provided by an embodiment of the present application.
  • Fig. 5 is a schematic diagram of a method for transmitting service messages provided by an embodiment of the present application.
  • Fig. 6 is a schematic diagram of another method for transmitting service messages provided by an example of the present application.
  • Fig. 7 is a schematic diagram of another method for transmitting service messages provided by an embodiment of the present application.
  • Fig. 8 is a schematic diagram of another method for transmitting service messages provided by an embodiment of the present application.
  • Fig. 9 is a schematic diagram of another method for transmitting service messages provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram of a transmission process of a downlink service message provided by an embodiment of the present application.
  • Fig. 11 is a schematic diagram of a transmission process of an uplink service message provided by an embodiment of the present application.
  • FIG. 12 is a schematic block diagram of an apparatus for transmitting service packets provided by an embodiment of the present application.
  • FIG. 13 is a schematic block diagram of another apparatus for transmitting service packets according to an embodiment of the present application.
  • FIG. 14 is a schematic block diagram of another apparatus for transmitting service packets provided by an embodiment of the present application.
  • FIG. 15 is a schematic block diagram of another apparatus for transmitting service packets provided by an embodiment of the present application.
  • GSM global system for mobile communications
  • CDMA code division multiple access
  • WCDMA broadband code division multiple access
  • GPRS general packet radio service
  • LTE long term evolution
  • FDD frequency division duplex
  • TDD LTE Time division duplex
  • UMTS universal mobile telecommunication system
  • WiMAX worldwide interoperability for microwave access
  • Fig. 1 exemplarily shows a schematic diagram of a communication system architecture provided by the present application.
  • the communication system architecture includes a mobility management network element, a session management network element, a policy control network element, an authentication service network element, a data management network element, and a user plane network element. Further, the communication system architecture also includes access network equipment, terminal devices (user equipment, UE), and data network elements (data network, DN).
  • UE user equipment
  • DN data network
  • the terminal device can be connected to the mobility management network element, the access network device can also be connected to the mobility management network element, the access network device can also be connected to the user plane network element, and the user plane network element can be connected to the session management network element, Data network connection, mobility management network element can be connected to session management network element, data management network element, policy control network element and authentication service network element respectively, session management network element is connected to policy control network element and data management network element respectively. Both the mobility management network element and the session management network element can obtain data from the data management network element, such as user subscription data, and both the mobility management network element and the session management network element can obtain policy data from the policy control network element.
  • the policy control network element obtains the user subscription data from the data management network element and sends it to the mobility management network element and the session management network element, and then the mobility management network element and the session management network element deliver it to the access network equipment and terminal Device and user plane network elements, etc.
  • the mobility management network element is mainly used for the registration, mobility management, and tracking area update procedures of terminal devices in the mobile network.
  • the mobility management network element terminates non-access stratum (NAS) messages, completes registration management, connection management, and reachability management, assigns track area list (TA list), and mobility management, etc., And transparently route session management (SM) messages to the session management network element.
  • NAS non-access stratum
  • TA list track area list
  • SM mobility management network elements
  • AMF core access and mobility management function
  • communication will be like the 6th generation ( In the 6th generation, 6G) communication, the mobility management network element may still be an AMF network element or have other names, which is not limited in this application.
  • the session management network element is mainly used for session management in the mobile network, such as session creation, modification, and release. Specific functions include, for example, allocating internet protocol (IP) addresses for users, selecting user plane network elements that provide message forwarding functions, and so on.
  • 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 6G, the session management network element may still be an SMF network element or have other names. This application does not Make a limit.
  • the policy control network element includes user subscription data management functions, policy control functions, charging policy control functions, quality of service (QoS) control, etc.
  • the policy control network element can be a policy control function (PCF) network element.
  • PCF policy control function
  • future communications such as 6G, the policy control network element can still be a PCF network element or have other names. This application does not Make a limit.
  • the authentication server network element is mainly used to verify service functions and store keys using an extensible authentication protocol (EAP) to realize user authentication and authentication.
  • EAP extensible authentication protocol
  • the authentication server network element can be an authentication server function (authentication server function, AUSF) network element.
  • AUSF authentication server function
  • future communications such as 6G
  • the user plane network element can still be an AUSF network element or have other names. This application does not Make a limit.
  • the data management network element is mainly used to store user data, such as contract information, authentication/authorization information.
  • the data management network element can be a unified data management (UDM) network element.
  • UDM unified data management
  • future communications such as 6G, the data management network element can still be a UDM network element or have other names. This application does not Make a limit.
  • User plane network elements are mainly used for user plane service processing, such as service routing, packet forwarding, anchoring functions, quality of service (QoS) mapping and execution, uplink identification and routing to the data network,
  • There can be multiple user plane network elements such as downlink packet buffering and notification triggering of downlink data arrival, connection with external data network, etc., among which the user plane network element connected to the application server (application service, AS) is called protocol data Unit session anchor (PDU session anchor, PSA), where PDU is called protocol data unit.
  • application service, AS application service
  • PDU session anchor PSA
  • user plane network elements can be user plane function (UPF) network elements.
  • future communications such as 6G
  • user plane network elements can still be UPF network elements or have other names. This application does not Make a limit.
  • Access network equipment which may also be called radio access network (RAN) equipment, is a type of equipment that provides wireless communication functions for terminal devices.
  • Access network equipment includes, but is not limited to: next-generation base stations (gnodeB, gNB) in 5G, evolved node B (evolved node B, eNB), radio network controller (RNC), node B (node B) B, NB), base station controller (BSC), base transceiver station (base transceiver station, BTS), home base station (for example, home evolved nodeB, or home node B, HNB), baseband unit (baseBand unit, BBU), transmission point (transmitting and receiving point, TRP), transmission point (transmitting point, TP), mobile switching center, etc.
  • next-generation base stations evolved node B, eNB
  • RNC radio network controller
  • node B node B
  • BSC base station controller
  • BTS base transceiver station
  • home base station for example, home evolved nodeB, or
  • a terminal device (user equipment, UE) is a device with a wireless transceiver function. It can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; it can also be deployed on water (such as ships); it can also be deployed on In the air (such as airplanes, balloons, satellites, etc.).
  • the terminal device can be a mobile phone (mobile phone), a tablet computer (pad), a computer with wireless transceiver function, virtual reality (VR) terminal, augmented reality (AR) terminal, industrial control (industrial control)
  • DN Network Data Network
  • operators services such as operator services, Internet access services, and third-party services.
  • third-party services such as operator services, Internet access services, and third-party services.
  • network elements or functions may be network elements in hardware devices, software functions running on dedicated hardware, or virtualization functions instantiated on a platform (for example, a cloud platform).
  • the above-mentioned network elements or functions can be divided into one or more services, and further, there may be services independent of the network functions.
  • an instance of the above-mentioned function, or an instance of a service included in the above-mentioned function, or an instance of a service that exists independently of the network function may be referred to as a service instance.
  • each network element included in FIG. 1 is only a name, and the name does not limit the function of the network element itself.
  • the aforementioned network elements may also have other names, which are not specifically limited in the embodiment of the present application.
  • some or all of the above-mentioned network elements may use the terminology in 5G, or may be named in other ways, etc., which will be uniformly explained here and will not be repeated here.
  • each network element in Figure 1 does not have to exist at the same time, and which network elements are needed can be determined according to requirements.
  • the connection relationship between the various network elements in Figure 1 is not uniquely determined, and can be adjusted according to requirements.
  • This application is described by taking the user plane network element as the UPF as an example, for example, the source UPF and the target UPF.
  • the source UPF can be replaced with a source PSA
  • the target UPF can be replaced with a target PSA.
  • This application is described by taking the session management network element as an SMF network element as an example.
  • Fig. 2 shows a schematic diagram of an application scenario of an embodiment of the present application.
  • Figure 2 shows three transmission paths.
  • the uplink service message transmission process of path 1 is: terminal device-access network equipment 1-UPF1-AS1, and the downlink service message transmission process is the reverse process of the uplink service message.
  • the uplink service message transmission process of path 2 is: terminal device-access network equipment 2-UPF2-UPF1-AS1, and the downlink service message transmission process is the reverse process of the uplink service message.
  • the transmission process of the uplink service message of path 3 is: terminal device-access network equipment 2-UPF2-AS2, and the transmission process of the downlink service message is the reverse process of the uplink service message.
  • a terminal device for example, the terminal device in FIG.
  • path 1 uses path 1 to transmit a service message, the location of the terminal device changes.
  • the access network device of the terminal device needs to be switched to the access network device 2, that is, the air interface is switched, and the path is adopted at this time 2 Transmit service packets.
  • the packets on path 2 reach UPF2 through access network device 2 and then reach UPF1 (also called source UPF) and finally reach AS1. At this time, the transmission distance is longer.
  • Path 2 is the distance among the three transmission paths. The longest path, so that the delay of the packet transmitted on path 2 is longer.
  • path 2 may not meet the low Delay requirements, so it is necessary to switch the transmission path of the message from path 2 to path 3, that is, it is necessary to migrate the context of the terminal device from AS1 to AS2.
  • the message being transmitted on path 2 may be lost due to the path switching operation, which will result in a higher packet loss rate, resulting in transmission performance Poor.
  • UPF2 also referred to as target UPF
  • UPF2 may receive uplink service packets from path 2 and path 3 at the same time.
  • the messages received by UPF2 appear out of order, which is a big problem for business types that have strict requirements on the order of messages.
  • the method for transmitting service packets uses the interaction between the source UPF and the target UPF.
  • the specific interaction process refer to the description in the following embodiment.
  • the path switching process the path 2
  • the uplink service message of the network is accurately transmitted to AS2, and the downlink service message on path 2 is accurately transmitted to the terminal device.
  • FIG. 2 simply shows a schematic diagram of packet transmission in the case of a UPF change.
  • FIG. 2 simply shows a schematic diagram of packet transmission in the case of a UPF change.
  • FIG. 2 may be other network elements in FIG. 2, which are not related to this application, so there is no detailed description.
  • this application combines the transmission of uplink service messages with the transmission of downlink service messages, but the embodiments of this application do not impose restrictions on this. In the actual processing process, only uplink services may exist. For message transmission, there may also be only the transmission of downlink service messages.
  • UPF means UPF network element
  • SMF means SMF network element
  • the central data center controls one or more local data centers.
  • Figure 3 shows only two local data centers (also called local source data centers and local target data centers). Data center), but the embodiment of the present application is not limited to this. There is no SMF in each local data center.
  • the central data center includes central SMF, PCF, NEF, and AMF.
  • the central SMF is used to obtain policy data from the PCF and control the source UPF and the target UPF according to the policy data. For example, when the location of the terminal device changes, the When the coverage of the network access equipment moves to the coverage of the target access network equipment, the terminal device switches the air interface from the source access network equipment to the target access network equipment. At this time, AMF can obtain the target access equipment.
  • the access information of the terminal device is sent, and the access information of the terminal device is reported to the central SMF.
  • the access information includes the location information of the terminal device.
  • the central SMF determines the user plane network element of the terminal device according to the access information of the terminal device Handover is required.
  • the central SMF determines the data network access point identifier (DNAI) of the target AS.
  • the central SMF sends the DNAI of the target AS and the identification of the terminal device (optionally, the identification of the application of the terminal device) to the source AS, so that the source AS can determine the target AS based on the DNAI, so that the source AS and the target AS can communicate
  • the context of the terminal device is transferred.
  • the central SMF transmits signaling with the source AS and the target AS through the NEF.
  • the central data center may also include AF
  • the central SMF may interact with the source AS and the target AS through the AF
  • the central SMF may interact with the AF through the NEF.
  • the central data center controls one or more local data centers.
  • the figure only shows two local data centers (also called local source data centers and local target data centers). Center), but the embodiments of this application are not limited to this.
  • SMF and NEF exist in each local data center.
  • the source data center includes a source SMF and a source NEF
  • the target data center includes a target SMF and a target NEF.
  • the central SMF is used to control the source SMF and target SMF.
  • the central data center includes a central SMF.
  • the central SMF is used to obtain policy data from the PCF and control the source SMF and the target SMF according to the policy data. For example, when the location of the terminal device changes, the coverage of the network equipment is accessed from the source When moving to the coverage area of the target access network device, the terminal device switches the air interface from the source access network device to the target access network device. At this time, the AMF can obtain the terminal device's connection sent by the target access device. And report the access information of the terminal device to the central SMF. The central SMF determines that the UPF of the terminal device needs to be switched according to the policy data obtained from the PCF.
  • the central SMF determines the data network access point identifier (DNAI) of the target AS.
  • the central SMF sends the DNAI of the target AS and the identification of the terminal device (optionally, the identification of the application of the terminal device) to the source AS, so that the source AS can determine the target AS based on the DNAI, so that the source AS and the target AS can communicate
  • the transition of the context of the terminal device for example, the central SMF transmits signaling with the source AS and the target AS through the NEF.
  • the central SMF can also directly transmit signaling with the source AS or the target AS.
  • the central data center may also include the control plane network element AF of the AS, the central SMF may interact with the source AS and the target AS through the AF, and the central SMF may interact with the AF through the NEF.
  • the source SMF can interact with the AF through the source NEF, and the source SMF can interact with the source AS through the source NEF.
  • the target SMF can interact with the AF through the target NEF, and the target SMF can interact with the target AS through the target NEF. To avoid repetition, the embodiment of the present application is not shown.
  • the local source data center may include a source UPF, a source SMF, a source AF, and a source AS.
  • the local target data center may include target PSA, target SMF, target AF, and target AS.
  • the source SMF can interact with the source AF and the source AS, and the target SMF can interact with the target AS.
  • the transition of the context of the terminal device in this application may be the transition of the context state of the terminal device.
  • the context state includes the application layer state and the transport layer state, that is, the application layer state and the transport layer state of the terminal device are changed from The source AS is migrated to the target AS;
  • the migration of the context of the terminal device in this application can also be the migration of the application instance of the terminal, that is, an application instance only serves one terminal device, and the migration of the context of the terminal device is to migrate the application instance from the source AS to Target AS.
  • the method 200 includes:
  • the source UPF sends a first uplink service packet to the target UPF, and the target UPF receives the first uplink service packet sent from the source UPF.
  • the first uplink service packet may be one or more uplink service packets from the source UPF and need to be sent to the target UPF.
  • the first uplink service packet may be an uplink service packet that has not been processed during the path switching process, that is, it cannot be sent to the source AS along the original path, but has reached the source UPF.
  • the first uplink service message may be sent to the target UPF.
  • the source UPF sends first indication information to the target UPF, and the target UPF receives the first indication information from the source UPF.
  • the first indication information is used to indicate the end of the first uplink service packet sent by the source UPF.
  • the source UPF may send the first uplink service packet in S220 and the first indication information in S230 to the target UPF at the same time. For example, if the first uplink service packet is the last one sent by the source UPF to the target UPF For the uplink service message, the first indication information may be encapsulated in the header of the first uplink service message and sent to the target UPF.
  • the source UPF may also send the first uplink service packet first, and then send the uplink packet carrying the first indication information.
  • the uplink message carrying the first indication information has the same data packet format as the first uplink service message.
  • the first uplink service message is a general packet radio service tunneling protocol (GPRS tunnelling protocol, GTP) data packet
  • GTP general packet radio service tunneling protocol
  • GTP data packets include the user-level general packet radio service (GTP for the user plane, GTP-U) header
  • the uplink that carries the first indication information The message is also a GTP data packet, and the first indication information may be set in a specific identification bit of the GTP-U header, for example, the specific identification bit is set to "0" or "1". Except for the specific identification bit, the GTP-U header of the uplink packet carrying the first indication information is exactly the same as that of the first uplink service packet.
  • the target UPF After the target UPF receives the first indication information, when the transmission of the first uplink service packet is completed, the target UPF sends the uplink service packet sent by the access network device to the target UPF to the target AS.
  • the source UPF after the source UPF sends the last second uplink service packet to the source AS, the first uplink service packet received after the second uplink service packet is sent to the target AS through the target UPF In this way, the loss of the first uplink service packet can be avoided, and the source UPF can send the first indication information to the target UPF to indicate the end of the first uplink service packet sent through the source UPF, which can prevent the target UPF from waiting to receive the source UPF.
  • the target UPF after receiving the first indication information, the target UPF sends the uplink service packet from the source UPF to the target AS, and then sends the uplink service packet sent by the access network device to the target UPF, Thereby, the disorder problem of uplink service messages can be avoided.
  • FIG. 6 shows a method 300 for transmitting service packets provided by an embodiment of the present application, including:
  • the source application server AS receives the first notification information sent by the session management function SMF.
  • the first notification information is used to notify the data network access point identification DNAI of a change or the anchor point UPF to change, and the first notification information includes the target The data network access point identifier DNAI and the terminal device identifier.
  • the source AS receives the first notification information sent by the central SMF.
  • the source AS and the target AS corresponding to the target DNAI perform the context migration of the terminal device, where the first downlink service packet is The last downlink service packet sent by the source AS to the source user plane function UPF, and the second uplink service packet is the last uplink service packet sent by the source UPF to the source application server AS.
  • the source AS after the source AS receives the first notification information sent by the SMF network, it can determine that the context of the terminal device needs to be migrated. After determining that the context of the terminal device needs to be migrated, the source AS determines that the last downlink service needs to be processed. After the message (the first downlink service message) and the last received uplink service message (the second uplink service message), the source AS determines the corresponding target AS according to the target DNAI in the first notification message, and The context of the terminal device is migrated to the target AS. In this way, after the context of the terminal device is migrated to the target AS, continuous transmission of uplink and downlink service packets of the terminal device can be guaranteed.
  • the context migration of the terminal device in the embodiments of the present application may be the overall migration of a certain application instance of the terminal device.
  • the context migration refers to connecting the terminal device with The entire application instance related to the data network (DN) migrates from one AS (source AS) to another AS (target AS);
  • the context migration of the terminal device can also be the transfer layer and application layer context migration of the terminal device, for example
  • the context migration of the terminal device refers to the migration of the transport layer and application layer context of the application that the terminal device needs to migrate from one AS (source AS) to another AS (target AS).
  • FIG. 7 shows a method 400 for transmitting service messages provided by an embodiment of the present application, including:
  • the SMF sends first notification information to the first network element, and the first network element receives the first notification information sent by the SMF.
  • the first notification information is used to notify the data network access point of the change in DNAI or to notify the UPF of the change.
  • the first notification information includes the target data network access point identifier DNAI and the terminal device identifier.
  • the first network element may be the source AS or the management network element of the source AS or the control plane network element AF of the source AS, if the first network element is the management network element of the source AS or the control plane network element AF of the source AS , After the SMF sends the first notification information to the management network element of the source AS or the control plane network element AF of the source AS, the management network element of the source AS or the control plane network element AF of the source AS forwards the first notification information to the source AS .
  • the following description will be made by taking the first network element as the source AS as an example.
  • the source AS After receiving the first notification information, the source AS determines that the last downlink service packet sent by the source AS to the source UPF is the first downlink service packet, the source AS sends fourth indication information to the source UPF, and the source UPF receives the source Fourth indication information sent by the AS, where the fourth indication information is used to indicate that the first downlink service packet is the last downlink service packet from the source AS.
  • the fourth indication information may be the sequence number of the first downlink service packet.
  • the source AS may send the first downlink service packet to the source UPF before sending the fourth indication information to the source UPF.
  • the source AS sends the first downlink service packet to the source UPF after sending the fourth indication information to the source UPF.
  • the source AS sends the fourth indication information and the first downlink service packet to the source UPF at the same time.
  • the fourth indication information may be included in the header of the first downlink service packet. Regardless of the sending sequence of the fourth indication information and the first downlink service packet, the source AS will not send the downlink service packet to the source UPF after sending the first downlink service packet to the source UPF.
  • the source AS may pre-freeze the context of the terminal device, such as interacting with the target AS to prepare for the context migration of the terminal device, which can shorten the time for the context migration of the terminal device.
  • the source UPF After the source UPF receives the fourth indication information sent by the source AS, the source UPF sends fifth indication information to the source AS, and the source AS receives the fifth indication information sent by the source UPF, where the fifth indication information is used to indicate the second uplink
  • the service packet is the last uplink service packet sent by the source UPF to the source AS.
  • the fifth indication information may be the sequence number of the second uplink service packet.
  • the source AS sends the fourth indication information to the source UPF, which can be sent through the control plane network element AF of the source AS and the control plane network element SMF of the source UPF, that is, the source AS first sends to the AF
  • the fourth indication information the AF sends the fourth indication information to the SMF
  • the SMF then sends the source UPF.
  • the source UPF sends the fifth indication information to the source AS, which can also be sent through SMF and AF, that is, the source user plane network element sends the fifth indication information to the control plane network element SMF of the source UPF, and the SMF sends the fifth indication information
  • the instruction information is sent to the AF, and the AF then sends the fifth instruction information to the source AS.
  • this embodiment of the application does not limit the sequence in which the source UPF sends the second uplink service packet and the fifth indication information to the source AS, that is, the source UPF may send the second uplink service packet to the source AS. After the message, send the fifth indication information to the source AS; or after the source UPF receives the second uplink service message, send the fifth indication information to the source AS first, and then send the second uplink service message; After receiving the second uplink service packet, the source UPF simultaneously sends the second uplink packet and the fifth indication information to the source AS.
  • the source AS may directly send the fourth indication information to the source UPF, and the source UPF may directly send the fifth indication information to the source AS, which is not limited in this embodiment of the application.
  • the source AS may determine that the second uplink service packet is the last uplink service packet from the source UPF, and the source AS determines the processing of the first downlink service packet and the second uplink service packet complete.
  • the source AS may determine that the processing of the second uplink service packet is complete after receiving the second uplink service packet and replying to the confirmation message of the second uplink service packet; it may determine that the processing of the second uplink service packet is complete; After receiving the confirmation message of the first downlink service packet, it is determined that the processing of the first downlink service packet is completed.
  • the source AS may also consider that the processing of the second uplink service packet is complete after receiving the second uplink service packet, and that the processing of the first downlink service packet is complete after sending the first downlink service packet.
  • the source UPF sends third indication information to the target UPF, where the third indication information is used to indicate the end of sending the downlink service packet from the source AS.
  • the source UPF may send the first downlink service message first, and then send the downlink message carrying the third indication information.
  • the message has the same data packet format as the first downlink service message.
  • the first downlink service message is a GTP data packet and includes a GTP-U header
  • the downlink message carrying the third indication information is also GTP
  • the third indication information may be set in a specific identification bit of the GTP-U header, for example, the specific identification bit is set to "0" or "1".
  • the GTP-U header of the downlink message carrying the third indication information is exactly the same as that of the first downlink service message; optionally, the source UPF can combine the first downlink service message with the first downlink service message.
  • the three indication information are sent to the target UPF at the same time, for example, the third indication information is encapsulated in the header of the first downlink service message.
  • the context migration of the source AS and the target AS may be performed simultaneously with the source UPF sending the first downlink service message and the third indication information to the target UPF or may be in sequence. In other words, S404 and S405 can be performed before or after S406 and S407 or at the same time.
  • the target AS may send a downlink service packet of the terminal device to the target UPF.
  • the target UPF If the target UPF receives both the first downlink service packet from the source UPF and the downlink service packet from the target AS, the target UPF will immediately send the first downlink service packet from the source AS to the access network device Service message. If the target UPF has a downlink service message from the target AS before receiving the third indication information, buffer the downlink service message from the target AS. When the target UPF receives the third indication information, it determines After sending the first downlink service packet to the access network device, the downlink service packet from the target AS (downlink service packet of S408) is sent to the access network device. In this way, it can be ensured that the transmission from the source AS is preferred. Downlink service messages, and then transmit downlink service messages from the target AS, can avoid the disorder of downlink service messages.
  • the access network device sends the downlink service packet received in S409 to the terminal device through the air interface.
  • the terminal device does not perceive the switching of the network element on the network side, and the terminal device may also send an uplink service packet to the access network device while receiving the downlink service packet.
  • S412 The access network equipment sends an uplink service message sent from the terminal device to the target UPF.
  • S412 only needs to be after S411. There is no order restriction between S412 and the other steps mentioned above.
  • the access network equipment receives the uplink service packet sent by the terminal device and needs to send the uplink service packet to the target UPF, That is, S412 is executed, and there is no order restriction.
  • the target UPF After receiving the uplink service packet sent by the access network device, the target UPF sends the first uplink service packet to the source UPF. Until the target UPF receives the third indication information, the target UPF no longer sends uplink to the source UPF. Business message.
  • the target UPF After receiving the third indication information, the target UPF sends second indication information to the source UPF.
  • the second indication information is used to indicate the end of sending the first uplink service packet by the target UPF, that is, the target UPF will no longer send uplink to the source UPF. Business message.
  • first indication information and the second indication information may be signaling between different network elements, but the first indication information and the second indication information may include the same information element, that is, the same information element may be Is the identifier of the end of the uplink service message, that is, after the target user plane network element sends the second indication information to the source user plane network element, the source user plane network element can determine that the uplink service message from the target user plane network element ends; After the source user plane network element sends the first indication information to the target user plane network element, the target user plane network element may determine that the uplink service message from the source user plane network element ends.
  • the target UPF after the target UPF receives the downlink service message from the target AS or the context migration complete message sent from the session management function SMF, the target UPF sends the second indication information to the source UPF.
  • the target UPF can send the second indication information to the source UPF in two cases.
  • Case 1 The target UPF sends the second indication information to the source UPF after receiving the third indication information sent by the source UPF;
  • Case 2 The target UPF sends the second indication information to the source UPF after receiving the downlink service message of the target AS or the context migration complete message sent from the SMF.
  • the second indication information may be sent after the last first uplink service message, that is, the target UPF first sends the first uplink service message to the source UPF, and then sends the uplink message carrying the second indication information.
  • the uplink message of the second indication information has the same data packet format as the first uplink service message. For example, if the first uplink service message is a GTP data packet and includes a GTP-U header, then the one that carries the second indication information
  • the uplink packet is also a GTP data packet, and the second indication information may be set in a specific identification bit of the GTP-U header, for example, the specific identification bit is set to "0" or "1".
  • the GTP-U header of the downlink message carrying the second indication information is exactly the same as that of the first uplink service message.
  • the target UPF may also encapsulate the second indication information in the header of the last first uplink service packet and send it to the source UPF.
  • S415 After sending the fifth indication information to the source AS, the source UPF forwards the first uplink service packet to the target UPF when it receives the first uplink service packet from the target UPF.
  • the source UPF After receiving the second indication information of the target UPF, the source UPF sends the first indication information to the target UPF, so that the target UPF can determine the end of the uplink service packet from the source UPF through the first indication information.
  • the target UPF first sends the second indication information to the source UPF to indicate the end of the first uplink service packet sent from the target UPF, and the source UPF may use the information element in the second indication information as the information of the first indication information.
  • the element is sent to the target UPF, so that the target UPF can learn that the first uplink service message from the source UPF has also been sent.
  • the first indication information and the second indication information are used to distinguish the signaling between different network elements.
  • the first indication information and the second indication information may also be the same indication information, that is, the target UPF first Send the instruction information to the source UPF, and the source UPF sends the instruction information to the target UPF.
  • the first indication information or the second indication information may indicate the end of the transmission of the uplink service message on the original path or the old path.
  • the original path or the old path is: target UPF-source UPF-target UPF, regardless of the source UPF receiving
  • the source UPF and the target UPF can determine that there will be no more uplink service packets on the original path or the old path in the future.
  • the source UPF sends the first uplink service packet and the first indication information to the target UPF in order, that is, the source UPF sends the first uplink service packet and the first indication information to the target UPF according to the order in which the first uplink service packet and the second indication information are received.
  • the service message and the first indication information, the sequence between the second indication information and the first uplink service message (S413 and S414) and the sequence between the first indication information and the first uplink service message (S415 and S416) ) Is the same, that is, the first uplink service message in S413 is before the second indication information in S414, then the first uplink service message in S415 is also before the first indication information in S416; if the messages in S413 and S414
  • the first uplink service message and the second indication information are sent at the same time, and the first uplink service message and the first indication information in S415 and S416 are also sent at the same time.
  • the target UPF may send an uplink service message to the target AS.
  • the sending process is as follows: first send the first uplink service message, that is, the uplink service message from the source UPF, and then send the uplink service message directly from the access network device.
  • Case 1 When the source UPF is received The target UPF determines that it will no longer send uplink service packets to the source UPF, that is, sends the second indication information to the source UPF to indicate the end of the uplink service packets from the target UPF, and the target UPF will send packets 4 and Message 5 is cached first.
  • message 1, message 2, and message 3 are the first uplink service messages.
  • Send message 1, message 2, message 3 and the first indication information (the order of the first indication information in the message is the same as the order of the second indication information in the message) to the target UPF in order, the target UPF Send message 1, message 2, and message 3 to the target AS in sequence.
  • the target UPF receives the first indication information, and after sending message 1, message 2, and message 3 to the target AS in sequence, , And then send the buffered message 4 and message 5.
  • Case 2 When receiving the third indication information sent by the source UPF, the target UPF determines that the last service message sent to the source UPF is message 4, and encapsulates the second indication information in the header of message 4
  • the source UPF sends, and the target UPF buffers message 5 first.
  • message 1, message 2, message 3, and message 4 are the first uplink service messages.
  • the source UPF After the source UPF receives message 1, message 2, message 3, and message 4 in sequence, it sends message 1, message 2, message 3, and message 4 (the second indication information in message 4 at this time) (Replaced with the first instruction information) is sent to the target UPF in sequence, and the target UPF sends message 1, message 2, message 3, and message 4 to the target AS in sequence.
  • the target UPF solution message 4 is in the header After the first indication information, and after sending message 1, message 2, message 3, and message 4 to the target AS in sequence, send the buffered message 5.
  • the first uplink service message is an uplink service message that has been sent to the source UPF but has not been forwarded to the source AS during the context migration process of the terminal device.
  • the message that has been sent to the source UPF can also be called It is the old path or the message on the original path.
  • the message on the old path or the original path needs to be forwarded to the target UPF and forwarded to the target AS through the target UPF to avoid the loss of uplink service messages.
  • the first indication information indicates that the old path or the message on the original path is over, so that the target UPF ensures that the uplink service message from the access network device is sent after the uplink service message on the old path or the original path is sent. , Can avoid the problem of disorder of uplink service messages.
  • the following describes a method 500 for transmitting service messages in the scenario of FIG. 3 provided by an embodiment of the present application in conjunction with FIG. 8.
  • the method 500 includes:
  • the central SMF determines that the DNAI corresponding to the AS needs to be changed after the PSA of the terminal device is switched, and determines that context migration or application relocation of the terminal device needs to be performed, and the central SMF determines the target DNAI.
  • the central SMF sends a context migration request message to the source AS, and the source AS receives the context migration request message sent by the central SMF.
  • the context migration request message is used to trigger the migration of the context of the terminal device.
  • the context migration request message includes the target DNAI and the identification of the terminal device. .
  • the identification of the terminal device may be the identity of the terminal device (identity, ID) or the Internet protocol (IP) address of the terminal device, or it may be the generic public subscription identifier (GPSI) of the terminal device. )Wait.
  • the central SMF can directly interact with the source AS and the target AS, or interact with the source AS through the control plane network element AF of the source AS, or through the control plane network element of the target AS.
  • the AF interacts with the target AS, and the control plane network elements of the source AS and the target AS can be the same AF or different AFs.
  • the interaction between SMF and AF can be directly interacted, or through NEF and AF. In order to avoid repetition, it will not be described in detail here.
  • the embodiment of the present application only uses the source AS and the target AS to migrate the state context of the terminal device as an example.
  • the source AS and the target AS can also migrate the application instances of the terminal device.
  • the context migration request message also includes: the identification of the application or the identification of the application instance. In this way, the source AS and the target AS You can migrate terminal application instances.
  • the first notification information in method S401 may be the context migration request message in S502.
  • the method 500 includes: S503. After the source AS receives the context migration request message sent by the central SMF, the source AS pre-freezes the context of the terminal device to prepare for migration of the context of the terminal device.
  • the tunnel information is used to establish an uplink packet forwarding tunnel between the source UPF and the target UPF.
  • obtaining the tunnel information includes: the central SMF itself can determine the tunnel information.
  • obtaining tunnel information includes: the central SMF sends an N4 session modification request message to the target UPF, the N4 session modification request is used to request tunnel information from the target UPF, and the target UPF sends an N4 session modification request message to the central SMF
  • the response message of the N4 session modification request message includes tunnel information.
  • S503 can be performed before or after S504 or at the same time.
  • the central SMF sends the tunnel information to the source UPF.
  • S506 The source UPF and the target UPF establish an uplink tunnel according to the tunnel information.
  • the source AS sends fourth indication information to the source UPF through the central SMF.
  • the fourth indication information is used to indicate that the first downlink service packet is the last downlink service packet from the source AS, that is, the source AS sends After finishing the first downlink service message, no more downlink service messages are sent to the source UPF.
  • the fourth indication information may be the sequence number of the first downlink service packet.
  • the source UPF After receiving the fourth indication information, the source UPF sends fifth indication information to the source AS through the central SMF.
  • the fifth indication information is used to indicate that the second uplink service packet is the last uplink service packet sent by the source UPF to the source AS. That is, after the source UPF sends the second uplink service packet to the source AS, it no longer sends the uplink service packet to the source AS.
  • the fifth indication information may be the sequence number of the second uplink service packet.
  • the source AS determines according to the fifth indication information that the second uplink service packet is the last uplink service packet from the source UPF, and the source AS determines the last sent first downlink service packet and the last received second uplink service The message is processed.
  • the source AS determines the target AS according to the target DNAI, and completes the context migration of the terminal device with the target AS.
  • the first downlink service packet is the last downlink service packet from the source AS, and the source UPF sends the last downlink service packet from the source AS to the target UPF.
  • the source UPF After receiving the fourth indication information, the source UPF sends the first downlink service packet to the target UPF, and then sends third indication information to the target UPF, where the third indication information is used to indicate that the target UPF comes from the source AS.
  • the service message ends.
  • the third indication information may indicate that the target UPF comes from the old path or the downlink service packet on the original path ends.
  • S512 and S513 can be performed at the same time, that is, the source UPF can send the third indication information and the first downlink service packet to the target UPF at the same time, for example, encapsulate the third indication information in the first downlink service packet
  • S513 and S512 are after S507.
  • execute S512 and then execute S513, that is, the source UPF can send the third instruction information after sending the first downlink service message.
  • S513 can be after S507, and the sequence of S512 and S507 Not limited. In other words, after the source UPF receives the fourth indication information, it triggers the source UPF to send the third indication information to the target UPF.
  • the first downlink service message and the third indication information are sent at the same time, the first downlink service message and The third indication information is sent after S507; if the first downlink service packet is sent before the third indication information, the third indication information can be sent after S507, and the order of S512 and S507 is not limited.
  • the target AS may send a downlink service message to the target UPF.
  • the target UPF has received the first downlink service packet from the source UPF in S512 and the downlink service packet from the target AS in S514, if the target UPF has received the first downlink service packet from the target AS before receiving the third indication information
  • the target UPF determines to send the first downlink service message to the access network device before sending the first downlink service message to the access network device.
  • the network access device sends downlink service packets from the target AS. In this way, it can ensure that the downlink service packets from the source AS are transmitted first, and then the downlink service packets from the target AS are transmitted, which can avoid the disorder of downlink service packets.
  • S516 The access network device sends the downlink service packet received in S515 to the terminal device through the air interface.
  • S517 The terminal device does not perceive the handover on the network side, and the terminal device is also sending an uplink service packet to the access network device while receiving the downlink service packet.
  • the access network device sends an uplink service packet sent from the terminal device to the target UPF.
  • S518 only needs to be after S517. There is no order restriction between S518 and the other steps mentioned above.
  • the access network equipment receives the uplink service packet sent by the terminal device and needs to send the uplink service packet to the target UPF, That is to execute S518, there is no order restriction.
  • the target UPF After receiving the uplink service packet sent by the access network device, the target UPF sends the first uplink service packet to the source UPF. Until the target UPF receives the third indication information, the target UPF no longer sends uplink to the source UPF. Business message.
  • the target UPF After receiving the third indication information, the target UPF sends second indication information to the source UPF, where the second indication information is used to indicate that the target UPF has finished sending the first uplink service packet, that is, the target UPF will no longer send uplink to the source UPF. Business message.
  • the target UPF after the target UPF receives the downlink service message from the target AS or the context migration complete message sent from the central SMF, the target UPF sends the second indication information to the source UPF.
  • the target UPF can send the second indication information to the source UPF in two cases.
  • Case 1 The target UPF sends the first indication information to the source UPF after receiving the third indication information sent by the source UPF;
  • Case 2 The target UPF sends the second indication information to the source UPF after receiving the downlink service message of the target AS or the context migration complete message sent from the SMF.
  • S521 After sending the fifth indication information to the source AS, the source UPF, when receiving the first uplink service packet from the target UPF, forwards the first uplink service packet to the target UPF.
  • the source UPF After receiving the second indication information of the target UPF, the source UPF sends the first indication information to the target UPF, so that the target UPF can determine the end of the uplink service packet from the source UPF through the first indication information.
  • the first indication information and the second indication information refer to the description in the method 400.
  • the central SMF may send a context migration complete message to the target UPF.
  • S524 After S523, it indicates that the target UPF has established a link with the target AS, and the target UPF can send uplink service packets to the target AS. Alternatively, after the target UPF receives the downlink service message from the target AS, the target UPF determines that a link is established with the target AS, and the target UPF may send the uplink service message to the target AS. Specifically, the sending process is: first sending the first uplink service message, that is, the uplink service message from the source UPF, and then sending the uplink access message directly from the access network device. As an alternative to S523 and S524, the central SMF can send a forwarding rule to the target UPF.
  • the forwarding rule is used to instruct the target UPF to switch the path of uplink service packets.
  • the target UPF can determine that the target UPF and the target AS have been established according to the forwarding rules. Good link, the target UPF can send uplink service packets to the target AS, and the forwarding rules include the parameters of sending service packets.
  • the sending process is: if there is a first uplink service message, first send the first uplink service message, that is, the uplink service message from the source UPF, and then send the uplink access message directly from the access network device .
  • the target UPF after the target UPF sends the first indication information to the source UPF, before S524 the target UPF determines that it can send uplink service packets to the target AS, the target UPF will buffer the uplink services sent directly from the access network device Message.
  • the first uplink service message is an uplink service message that has been sent to the source UPF but has not been forwarded to the source AS during the context migration process of the terminal device.
  • the message that has been sent to the source UPF can also be called It is the old path or the message on the original path.
  • the message on the old path or the original path needs to be forwarded to the target UPF and forwarded to the target AS through the target UPF to avoid the loss of uplink service messages.
  • the first indication information indicates that the old path or the message on the original path is over, so that the target UPF ensures that the uplink service message from the access network device is sent after the uplink service message on the old path or the original path is sent. , Can avoid the problem of disorder of uplink service messages.
  • Method 600 includes:
  • S601-S603 are the same as S501-S503.
  • the method 600 further includes: the central SMF sends a context migration notification message to the source SMF, where the context migration notification message includes the identification of the terminal device and/or the identification of the application or the identification of the application instance.
  • the context relocation notification message may also include the identifier of the PDU session.
  • the identification of the terminal device may be SUPI.
  • the context migration notification message is used to indicate that the application context of the terminal device is to be migrated.
  • the central SMF After sending the context migration request message to the source AS, the central SMF sends a tunnel request message to the target SMF for requesting tunnel information from the target SMF.
  • the tunnel information is used to establish an uplink packet forwarding tunnel between the source UPF and the target UPF. .
  • S603 and S604 there is no restriction on the order of S603 and S604, and S603 can be performed before or after S604 or at the same time.
  • the target SMF obtains tunnel information.
  • the tunnel information may be allocated by the target SMF itself, and the target SMF may obtain tunnel information by itself.
  • the tunnel information can also be allocated by the target UPF. If the tunnel information is allocated by the target UPF, the target SMF sends an N4 session modification request message to the target UPF to request tunnel information from the target UPF, and the target UPF sends the target SMFN4 session modification request message In response message, the response message of the N4 session modification request message includes tunnel information.
  • the target SMF sends the obtained tunnel information to the central SMF.
  • the target SMF may send tunnel information to the central SMF through the response message of the tunnel request message.
  • the central SMF sends the tunnel information to the source UPF through the source SMF.
  • S608 The source UPF and the target UPF establish an uplink tunnel according to the tunnel information.
  • the source AS sends fourth indication information to the source UPF through the source SMF.
  • the fourth indication information is used to indicate that the first downlink service packet is the last downlink service packet from the source AS, that is, the source AS sends After finishing the first downlink service message, no more downlink service messages are sent to the source UPF.
  • the fourth indication information may be the sequence number of the first downlink service packet.
  • the source UPF After receiving the fourth indication information, the source UPF sends fifth indication information to the source AS through the source SMF, where the fifth indication information is used to indicate that the second uplink service packet is the last uplink service packet sent by the source UPF to the source AS That is, after the source UPF sends the second uplink service packet to the source AS, it no longer sends the uplink service packet to the source AS.
  • the fifth indication information may be the sequence number of the second uplink service packet.
  • the source AS determines that the second uplink service packet is the last uplink service packet from the source UPF according to the fifth indication information, and the source AS determines the last transmitted first downlink service packet and the last received second uplink service packet The message is processed.
  • the source AS determines the target AS according to the target DNAI, and completes the context migration of the terminal device with the target AS.
  • S613 and S614 can be performed at the same time, or S613 is before or after S614.
  • S615-S616 is the same as S512-S513.
  • S617 After S612, after the target AS has established a link with the target UPF, the target AS can send a downlink service message to the target UPF.
  • the target UPF has received the first downlink service packet from the source UPF in S615 and S617 received the downlink service packet from the target AS, if the target UPF has received the first downlink service packet from the target AS before receiving the third indication information
  • the downlink service packets from the target AS are cached.
  • the target UPF determines to send the first downlink service packet to the access network device before sending it to the access network device.
  • the network device sends downlink service packets from the target AS, so that it can ensure that the service packets from the source AS are transmitted first, and then the downlink service packets from the target AS are transmitted, which can avoid the disorder of the downlink service packets.
  • S619-S625 is the same as S516-S522.
  • the target UPF after the target UPF receives the downlink service message from the target AS or the context migration complete message sent from the target SMF, the target UPF sends the second indication information to the source UPF.
  • the target UPF can send the second indication information to the source UPF in two cases.
  • Case 1 The target UPF sends the second indication information to the source UPF after receiving the third indication information sent by the source UPF;
  • Case 2 The target UPF sends the second indication information to the source UPF after receiving the downlink service message of the target AS or the context migration complete message sent from the target SMF.
  • the target SMF may send a context migration complete message to the target UPF.
  • S627 After S626, it indicates that the target UPF has established a link with the target AS, and the target UPF can send uplink service packets to the target AS. Specifically, the sending process is: first sending the first uplink service message, that is, the uplink service message from the source UPF, and then sending the uplink access message directly from the access network device.
  • the target SMF can send forwarding rules to the target UPF.
  • the forwarding rules are used to instruct the target UPF to switch the path of uplink service packets.
  • the target UPF can determine that the target UPF and the target AS have been established according to the forwarding rules. Good link, the target UPF can send uplink service packets to the target AS.
  • the sending process is: if there is a first uplink service message, first send the first uplink service message, that is, the uplink service message from the source UPF, and then send the uplink access message directly from the access network device.
  • the first uplink service message is an uplink service message that has been sent to the source UPF but has not been forwarded to the source AS during the context migration process of the terminal device.
  • the message that has been sent to the source UPF can also be called It is the old path or the message on the original path.
  • the message on the old path or the original path needs to be forwarded to the target UPF and forwarded to the target AS through the target UPF to avoid the loss of uplink service messages.
  • the first indication information indicates that the old path or the message on the original path is over, so that the target UPF ensures that the uplink service message from the access network device is sent after the uplink service message on the old path or the original path is sent. , Can avoid the problem of disorder of uplink service messages.
  • the transmission path of the downlink service message is: source AS-source UPF-source access network equipment-terminal device.
  • the transmission path of the downlink service message is: source AS-source UPF-target UPF-target access network equipment-terminal device, this path is called the old path or the original path.
  • the transmission path of the service message on the old path or the original path becomes longer, resulting in a longer delay of the message on the old path or the original path.
  • Target AS-target UPF-target access network equipment-terminal device it is necessary to switch the path of the downlink service message to the new path : Target AS-target UPF-target access network equipment-terminal device.
  • the target UPF can simultaneously receive downlink service packets from the old path and the new path, that is, the target UPF can receive both the downlink service packets sent by the source UPF and the downlink service packets sent by the target AS.
  • the source AS sends fourth indication information to the source UPF to indicate that the last downlink service packet sent by the source AS to the source UPF is the first downlink service packet, and the source UPF receives the first downlink service packet.
  • the source UPF sends third indication information to the target UPF to indicate the end of the downlink service message from the source AS.
  • the target UPF Before receiving the third indication information, the target UPF sends the downlink service packets from the old path to the target access network device in sequence, and buffers the packets from the new path until the target UPF receives the third indication Information and ensure that the downlink service packets on the old path have been sent, and then the downlink service packets on the new path are sent. In this way, the problem of disorder of downlink service packets can be avoided. In other words, for the target UPF, it is necessary to ensure that the downlink service packets on the old path are all sent before the downlink service packets on the new path can be sent.
  • the transmission path of the uplink service message is: terminal device-source access network equipment-source UPF-source AS.
  • the air interface of the terminal device is switched to the target access network device.
  • the transmission path of the uplink service message is: terminal device-target Access network equipment-target UPF-source UPF-source AS, this path is called the old path or the original path.
  • the transmission path of the service message on the old path or the original path becomes longer, resulting in a longer delay of the service message on the old path or the original path.
  • the target UPF can buffer the uplink service packets sent by the target access network device. During the path switching process, some of the uplink service packets from the target access network device are sent to the source UPF (old path ), the target UPF may first buffer the uplink service message from the target access network device during the path switching process.
  • the target UPF For the uplink service packet on the old path, when the target UPF receives the third indication information sent by the source UPF, it indicates the end of sending the downlink service packet on the old path.
  • the target UPF sends the last uplink service message to the source UPF, it may also send second indication information to indicate the end of the uplink service message from the target UPF, and the target UPF starts to buffer the uplink service message from the target access network device.
  • the source UPF sends the last uplink service packet (the second uplink service packet) to the source AS, it sends all the uplink service packets received from the target UPF and the first indication information to the target UPF, the handover process is about to The packets on the old path are forwarded to the new path.
  • the target UPF can determine that the uplink service packets on the old path have been sent according to the first indication information.
  • the target UPF ensures that the service packets on the old path have been sent to the target AS in order.
  • the buffered uplink service message from the target access network device is sent. In this way, while avoiding the loss of uplink service packets, the problem of disorder of uplink service packets can be avoided. In other words, for the target UPF, it is necessary to ensure that the uplink service packets on the old path are all sent before the uplink service packets on the new path can be sent.
  • the embodiment of the present application takes the context of the terminal device to be migrated between the source AS and the target AS as an example.
  • the first notification information in S401 of method 400 includes the identification of the terminal device, and S502 of method 500 and method 600
  • the context migration request message in S602 in S602 includes the identification of the terminal device.
  • the terminal device may be running an application (application, APP).
  • the source AS and the target AS need to migrate the application context of the terminal device, for example, in S401 of method 400
  • the first notification information includes the identification of the terminal device and the identification of the application.
  • the context migration request message in S502 of the method 500 and S602 of the method 600 includes the identification of the terminal device and the identification of the application.
  • the terminal device may be running a certain PDU session.
  • the source AS and the target AS need to migrate the context of the PDU session of the terminal device.
  • the first notification information in S401 of method 400 includes the identification of the terminal device and the PDU session.
  • the context migration request message in S502 of method 500 and S602 of method 600 includes the identifier of the terminal device and the identifier of the session. In order to avoid repeating the description of the embodiments of the present application, no detailed examples are given.
  • the tunnel established by the tunnel information of the foregoing method can be at the terminal level, PDU session level, or UPF device level, that is, the terminal level means that the same terminal device shares a tunnel, and the PDU session level means the same tunnel.
  • the same PDU session of the UE shares a tunnel.
  • the UPF device-level identifier establishes a device-level tunnel between the source UPF and the target UPF, and all terminals and sessions share the tunnel.
  • the source UPF and the target UPF can establish a UPF device-level tunnel in advance, that is, there is no need to perform the aforementioned process of obtaining tunnel information and sending tunnel information.
  • the central SMF when the terminal device moves to the target access network device, the central SMF can pre-establish a terminal-level or PDU session-level tunnel between the source UPF and the target UPF, that is, the aforementioned The process of obtaining tunnel information and sending tunnel information.
  • the first downlink service message may be sent first and then the third indication information may be sent, or the first downlink service message and the third indication information may be sent at the same time.
  • a specific bit in the header of the first downlink service message may be set to a specific value, for example, a specific value. The value is 1 or 0, that is, when the specific value is 0 or 1, it means that the first downlink service packet is the last downlink service packet from the source AS.
  • the first uplink service message may be sent first and then the first indication information (or second indication information) may be sent, or the first uplink service message and the first indication information (or second indication information) may be sent at the same time .
  • the specific bit in the last service message header in the first downlink service message can be set as A specific value is used as the first indication information or the second indication information. For example, the specific value is 1 or 0, that is, when the specific value is 0 or 1, it means that the first uplink service message ends.
  • FIG. 12 shows a schematic block diagram of an apparatus 700 for transmitting service packets provided by an embodiment of the present application.
  • the apparatus 700 may correspond to the target UPF network element described in the above method, or may correspond to the chip or chip of the target UPF network element.
  • each module or unit in the device 700 can be used to execute each action or processing procedure performed by the target UPF network element in the above method.
  • the device 700 for transmitting service packets can It includes a receiving unit 710 and a sending unit 720.
  • the receiving unit 710 is configured to receive a first uplink service packet from a source user plane function user plane network element, where the first uplink service packet is an uplink service packet received after the source UPF receives the second uplink service packet,
  • the second uplink service packet is the last uplink service packet sent by the source user plane network element to the source application server AS;
  • the receiving unit 710 is further configured to: receive first indication information from the source UPF, where the first indication information is used to indicate that the source user plane network element ends sending the first uplink service packet;
  • the sending unit 720 is configured to, after receiving the first indication information, send the uplink service packet sent by the access network device to the target UPF to the target AS when the first uplink service packet is sent.
  • the sending unit 720 is further configured to: before receiving the first uplink service packet from the source user plane network element, send the first uplink service packet and the second indication information to the source user plane network element,
  • the second indication information is used to indicate that the target UPF ends sending the first uplink service packet.
  • the receiving unit 710 is further configured to: before receiving the first uplink service packet from the source UPF network element, receive the first downlink service packet and third indication information from the source UPF network element, The third indication information is used to indicate the end of sending the downlink service message from the source AS.
  • the sending unit 720 is further configured to: after receiving the third indication information from the source user plane network element, and when the transmission of the first downlink service message is completed, send the message from the target to the access network device Downlink service packets sent by the AS.
  • the sending unit 720 is specifically configured to send the second indication information to the source user plane network element according to the third indication information.
  • the sending unit 720 is specifically configured to: after receiving a downlink service message from the target AS or receiving a context migration complete message sent from a session management function SMF network element, send a second instruction to the source user plane network element information.
  • FIG. 13 shows a schematic block diagram of an apparatus 800 for transmitting service packets provided by an embodiment of the present application.
  • the apparatus 800 may correspond to the source UPF network element described in the above method, or may correspond to the chip or chip of the source UPF network element.
  • each module or unit in the device 800 can be used to execute each action or process performed by the source UPF network element in the above method.
  • the device 800 for transmitting service packets can It includes a receiving unit 810 and a sending unit 820.
  • the receiving unit 810 is configured to receive the first uplink service packet after receiving the second uplink service packet, where the second uplink service packet is the last uplink service packet sent by the device 800 to the source application server;
  • the sending unit 820 is configured to send the first uplink service message to the target UPF network element
  • the sending unit 820 is further configured to send first indication information to the target UPF, where the first indication information is used to instruct the apparatus 800 to end sending the first uplink service packet.
  • the receiving unit 810 is further configured to receive second indication information from the target UPF network element before sending the first uplink service packet to the target UPF network element, where the second indication information is used to instruct the target UPF to send The first uplink service message ends.
  • the sending unit 820 is further configured to: before sending the first uplink service packet to the target UPF network element, send the first downlink service packet and third indication information to the target UPF network element, and the third The indication information is used to indicate the end of sending the downlink service message from the source AS.
  • the receiving unit 810 is specifically configured to receive the second indication information sent by the target user plane network element according to the third indication information.
  • the receiving unit 810 is specifically configured to: before sending the first downlink service packet and the third indication information to the target user plane network element, receive the fourth indication information sent by the first network element, and the fourth indication information is sent by the first network element.
  • the indication information is used to indicate that the first downlink service packet is the last downlink service packet from the source AS;
  • the sending unit 820 is further configured to send fifth indication information to the first network element, where the fifth indication information is used to indicate that the second uplink service packet is the last uplink service packet sent by the device to the source AS
  • FIG. 14 shows a schematic block diagram of an apparatus 900 for transmitting service packets provided by an embodiment of the present application.
  • the apparatus 900 may correspond to the source AS described in the foregoing method, or may correspond to the chip or component of the source AS, and, Each module or unit in the device 900 can be used to execute each action or processing procedure performed by the source AS in the above method.
  • the device 900 for transmitting service packets can include a transceiver unit 910 and a migration unit. Unit 920.
  • the transceiver unit 910 is configured to receive first notification information sent by the session management function SMF network element, the first notification information is used to notify the data network access point identification DNAI of the change or the UPF network element is changed, the first notification information Including the target data network access point ID DNAI and the terminal device ID;
  • the migration unit 920 is configured to determine that after processing the first downlink service message and the second uplink service message, the target AS corresponding to the target DNAI performs the context migration of the terminal device, where the first downlink service message is The last downlink service message sent by the device to the source user plane function UPF network element, and the second uplink service message is the last uplink service message sent by the source UPF network element to the device.
  • the transceiver unit 910 is further configured to: before the target AS corresponding to the target DNAI performs the context migration of the terminal device, send fourth indication information to the source UPF network element, and the fourth indication information is used to indicate the first A downlink service message is the last downlink service message from the device;
  • the apparatus 700 of each of the foregoing solutions has the function of implementing the corresponding steps performed by the target UPF network element in the foregoing method
  • the apparatus 800 of each of the foregoing solutions has the function of implementing the corresponding steps performed by the source UPF network element in the foregoing method
  • the device 900 of the foregoing various solutions It has the function of realizing the corresponding steps executed by the source AS in the above method; the function can be realized by hardware or software, or by hardware executing corresponding software.
  • the hardware or software includes one or more modules corresponding to the above-mentioned functions; for example, the sending unit can be replaced by a communication interface, the receiving unit can be replaced by a communication interface, and other units, such as the determining unit, can be replaced by a processor to execute each method separately Transceiving operations and related processing operations in the embodiment.
  • the communication interface of a device is used for the device to communicate with other devices.
  • the communication interface may be a transmitter, a receiver, a transceiver, a circuit, a bus, a module, a pin, or another type of communication interface, which is not limited in the embodiment of the present application.
  • the processor can be used to perform, for example, but not limited to, baseband related processing
  • the communication interface can be used to perform, for example, but not limited to, information exchange.
  • the above-mentioned devices may be respectively arranged on independent chips, or at least partly or fully arranged on the same chip.
  • the processor can be further divided into an analog baseband processor and a digital baseband processor, where the analog baseband processor and the communication interface can be integrated on the same chip, and the digital baseband processor can be set on a separate chip. With the continuous development of integrated circuit technology, more and more devices can be integrated on the same chip.
  • a digital baseband processor can be combined with a variety of application processors (such as but not limited to graphics processors, multimedia processors, etc.) Integrated on the same chip.
  • application processors such as but not limited to graphics processors, multimedia processors, etc.
  • Such a chip may be called a system on chip (SOC).
  • SOC system on chip
  • an embodiment of the present application provides a schematic block diagram of an apparatus 1000 for transmitting packets.
  • the apparatus 1000 includes a processor 1010, a communication interface 1020, and a memory 1030.
  • the processor 1010, the communication interface 1020, and the memory 1030 are coupled to communicate with each other.
  • the memory 1030 is used to store instructions, and the processor 1010 is used to execute instructions stored in the memory 1030 to control the communication interface 1020 to send signals and/or receive signal.
  • the coupling in the embodiments of the present application is an indirect coupling or communication connection between devices, units, or modules, and may be in electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
  • the communication interface 1020 is used to receive the first uplink service packet from the source user plane function UPF network element, and the first uplink service packet is An uplink service packet received after the source UPF receives a second uplink service packet, where the second uplink service packet is the last uplink service packet sent by the source UPF network element to the source application server AS; the communication interface 1020 is also used for Receive first indication information from the source UPF, where the first indication information is used to indicate the end of sending the first uplink service packet by the source UPF; the communication interface 1020 is also used to, after receiving the first indication information, when the first uplink service packet is After the transmission is completed, the uplink service message sent by the access network device to the target UPF is sent to the target AS.
  • the communication interface 1020 is used to receive the first uplink service packet after receiving the second uplink service packet, and the second uplink service packet is the device 1000 is the last uplink service packet sent to the source application server, the communication interface 1020 is also used to send the first uplink service packet to the target user plane function UPF network element; the communication interface 1020 is also used to send first indication information to the target UPF , The first indication information is used to indicate that the first uplink service packet sent by the apparatus 1000 ends.
  • the communication interface 1020 is used to receive the first notification information sent by the session management function SMF network element, and the first notification information is used to notify the data network access point
  • the identifier DNAI is changed or used to notify the UPF network element of the change.
  • the first notification information includes the target data network access point identifier DNAI and the terminal device identifier; the processor 1010 is used to determine that the first downlink service packet and the first downlink service packet have been processed.
  • the target AS corresponding to the target DNAI performs the context migration of the terminal device, where the first downlink service message is the last downlink service message sent by the device 1000 to the source user plane function UPF network element ,
  • the second uplink service packet is the last uplink service packet sent by the source UPF to the device 1000.
  • the device in FIG. 12 or the device in FIG. 13 or the device in FIG. 14 in the embodiment of the present application can be implemented by the device 1000 in FIG. 15, and can be used to execute the target UPF and source UPF in the foregoing method embodiment. And each step and/or process corresponding to the source AS.
  • the present application also provides a computer program product, the computer program product includes: computer program code, when the computer program code runs on a computer, the computer executes the method in the above embodiment .
  • the various embodiments in this application can also be combined with each other.
  • the present application also provides a computer-readable medium with a program code stored in the computer-readable interpretation, and when the program code runs on a computer, the computer executes the method in the foregoing embodiment .
  • the foregoing method embodiments in the embodiments of the present application may be applied to a processor or implemented by a processor.
  • the processor may be an integrated circuit chip with signal processing capabilities.
  • the steps of the foregoing method embodiments can be completed by hardware integrated logic circuits in the processor or instructions in the form of software.
  • the above-mentioned processor may be a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other Programming logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • the methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the memory in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory can be read-only memory (ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), and electronic Erase programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • the volatile memory may be random access memory (RAM), which is used as an external cache.
  • RAM static RAM
  • dynamic RAM dynamic RAM
  • synchronous dynamic random access memory synchronous DRAM, SDRAM
  • double data rate Synchronous dynamic random access memory double data rate SDRAM, DDR SDRAM
  • enhanced synchronous dynamic random access memory enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory direct rambus RAM, DR RAM
  • direct memory bus random memory Take memory (direct rambus RAM, DR RAM).
  • the size of the sequence number of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, rather than corresponding to the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • the computer program product may include one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a terminal device, 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.
  • the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber (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 such as a server or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic disk), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).
  • the disclosed system, device, and method may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or It can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
  • each unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.

Landscapes

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

Abstract

本申请提供了一种用于传输业务报文的方法和装置。该方法包括:目标用户面网元接收来自源用户面的第一上行业务报文,第一上行业务报文为源用户面接收到第二上行业务报文之后所接收的上行业务报文,第二上行业务报文为源用户面向源应用服务器发送的最后一个上行业务报文;目标用户面网元接收来自源用户面网元的第一指示信息,第一指示信息用于指示源用户面网元发送第一上行业务报文结束;在目标用户面网元接收到第一指示信息之后,当第一上行业务报文发送完毕,目标用户面网元向目标AS发送由接入网设备发送给目标用户面网元的上行业务报文,可以避免上行业务报文乱序的问题,从而有助于提高传输性能。

Description

用于传输业务报文的方法和装置
本申请要求于2019年06月24日提交中国专利局、申请号为201910551334.0、申请名称为“用于传输业务报文的方法和装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信领域,并且更具体地,涉及通信领域中用于传输业务报文的方法和装置。
背景技术
当终端装置从原来的接入网设备的覆盖范围移动至当前的接入网设备的覆盖范围时,会触发空口的切换,即将终端装置的接入网设备从原来的接入网设备切换到当前的接入网设备。由于终端装置的位置发生了变化,但是终端装置仍然接入的是原来的用户面网元,但实际上此时离终端装置最近的用户面网元可能已经发生了变化,但是终端装置仍然与原来的用户面网元进行报文的传输,这种情况下传输路径较长,相应地,报文的传输时延就会变大。为了降低报文的传输时延,有必要将传输路径从原来的用户面网元切换到新的用户面网元,切换的过程中,还没有完成传输的上下行业务报文容易丢包,从而导致传输性能下降。
发明内容
本申请提供一种用于传输业务报文的方法,有助于提高传输性能。
第一方面,提供了一种用于传输业务报文的方法,包括:目标用户面功能接收来自源用户面网元的第一上行业务报文,第一上行业务报文为源用户面网元接收到第二上行业务报文之后所接收的上行业务报文,第二上行业务报文为源用户面网元向源应用服务器发送的最后一个上行业务报文;
目标用户面网元接收来自源用户面网元的第一指示信息,第一指示信息用于指示源用户面网元发送第一上行业务报文结束;
在目标用户面网元接收到第一指示信息之后,当第一上行业务报文发送完毕,目标用户面网元向目标应用服务器发送由接入网设备发送给目标用户面网元的上行业务报文。
因此,本申请实施例中,当源用户面网元向源应用服务器发送了最后一个第二上行业务报文之后,将第二上行业务报文之后的第一上行业务报文通过目标用户面网元向目标应用服务器发送,这样可以避免第一上行业务报文的丢失,并且源用户面网元可以向目标用户面网元发送第一指示信息来指示通过源用户面网元发送的第一上行业务报文结束,这样可以避免目标用户面网元一直等待接收源用户面网元发送的上行业务报文,目标用户面网元在接收到第一指示信息之后,向目标应用服务器发送完来自源用户面网元的上行业务报 文之后,再发送由接入网设备发送给目标用户面网元的上行业务报文,从而可以避免上行业务报文乱序的问题。
在一些可能的实现方式中,在目标用户面网元接收来自源用户面网元的第一上行业务报文之前,方法还包括:
目标用户面网元向源用户面网元发送第一上行业务报文和第二指示信息,所述第二指示信息用于指示所述目标用户面网元发送所述第一上行业务报文结束。
需要说明的是,第一指示信息和第二指示信息可以是不同的网元之间的信令,但是第一指示信息和第二指示信息可以包括相同的信元,即该相同的信元可以是上行业务报文结束的标识,即当目标用户面网元向源用户面网元发送了第二指示信息之后,源用户面网元可以确定来自目标用户面网元的上行业务报文结束,即目标用户面网元不会再向源用户面网元发送上行业务报文了;当源用户面网元向目标用户面网元发送第一指示信息之后,目标用户面网元可以确定来自源用户面网元的上行业务报文结束,即源用户面网元不会再向目标用户面网元发送上行业务报文了。
在一些可能的实现方式中,在目标用户面网元接收来自源用户面网元的第一上行业务报文之前,方法还包括:
目标用户面网元接收来自源用户面网元的第一下行业务报文和第三指示信息,第三指示信息用于指示来自源应用服务器的下行业务报文发送结束。
在一些可能的实现方式中,在目标用户面网元收到来自源用户面网元的第三指示信息之后,方法还包括:
当第一下行业务报文发送完毕,目标用户面网元向接入网设备发送来自目标应用服务器发送的下行业务报文。
在一些可能的实现方式中,目标用户面网元向源用户面网元发送第二指示信息,包括:
目标用户面网元根据第三指示信息向源用户面网元发送第二指示信息。
在一些可能的实现方式中,目标用户面网元向源用户面网元发送第二指示信息,包括:
目标用户面网元接收来自目标应用服务器的下行业务报文或者接收来自会话管理功能网元发送的上下文迁移完成消息之后,目标用户面网元向源用户面网元发送第二指示信息。
在一些可能的实现方式中,在目标用户面网元向源用户面网元发送第二指示信息之前,目标用户面网元确定建立与源用户面网元之间的隧道信息,隧道信息是用于建立源用户面网元与目标用户面网元之间的上行业务报文转发隧道。
在一些可能的实现方式中,目标用户面网元可以将隧道信息发送给目标会话管理网元,这样目标会话管理网元可以将隧道信息发送给中心会话管理网元,中心会话管理网元可以将隧道信息发送给源会话管理网元,源会话管理网元将隧道信息发送给源用户面网元,这样源用户面网元和目标用户面网元就可以根据隧道信息建立上下业务报文的转发隧道。
在一些可能的实现方式中,目标用户面网元可以将隧道信息发送给中心会话管理网元,这样中心会话管理网元可以将隧道信息发送给源用户面网元,这样源用户面网元和目标用户面网元就可以根据隧道信息建立上下业务报文的转发隧道。
第二方面,提供了一种用于传输业务报文的方法,包括:源用户面功能网元接收到第 二上行业务报文之后,源用户面网元接收第一上行业务报文,第二上行业务报文为源用户面网元向源应用服务器发送的最后一个上行业务报文,源用户面网元向目标用户面网元发送第一上行业务报文报文;源用户面网元向目标用户面网元发送第一指示信息,第一指示信息用于指示源用户面网元发送第一上行业务报文结束。
因此,本申请实施例中,当源用户面网元向源应用服务器发送了最后一个第二上行业务报文之后,将第二上行业务报文之后的第一上行业务报文通过目标用户面网元向目标应用服务器发送,这样可以避免第一上行业务报文的丢失,并且源用户面网元可以向目标用户面网元发送第一指示信息来指示源用户面网元发送第一上行业务报文结束,这样可以避免目标用户面网元一直等待接收源用户面网元发送的上行业务报文,目标用户面网元在接收到第一指示信息之后,向目标应用服务器发送完来自源用户面网元的上行业务报文之后,再发由接入网设备向目标用户面网元的上行业务报文,从而可以避免上行业务报文的乱序问题。
在一些可能的实现方式中,在源用户面网元向目标用户面网元发送第一上行业务报文之前,方法还包括:
源用户面网元接收来自目标用户面网元的第二指示信息,所述第二指示信息用于指示所述目标用户面网元发送所述第一上行业务报文结束。可选地,源用户面网元在接收到目标用户面网元发送的第一上行业务报文之后再接收目标用户面网元发送的第二指示信息,或者,源用户面网元可以同时接收目标用户面网元发送的第二指示信息和第一上行业务报文。
在一些可能的实现方式中,在源用户面网元向目标用户面网元发送第一上行业务报文之前,方法还包括:
源用户面网元向目标用户面网元发送第一下行业务报文和第三指示信息,第三指示信息用于指示来自源应用服务器的下行业务报文发送结束。
在一些可能的实现方式中,源用户面网元接收来自目标用户面网元的第二指示信息,包括:
源用户面网元接收目标用户面网元根据第三指示信息发送的第二指示信息。
在一些可能的实现方式中,在源用户面网元向目标用户面网元发送第一下行业务报文和第三指示信息之前,方法还包括:
源用户面网元接收第一网元发送的第四指示信息,第四指示信息用于指示第一下行业务报文为来自源应用服务器的最后一个下行业务报文;
源用户面网元向第一网元发送第五指示信息,第五指示信息用于指示第二上行业务报文为源用户面网元发送给源应用服务器的最后一个上行业务报文。
在一些可能的实现方式中,第一网元可以是源应用服务器或者源应用服务器的管理网元或者源应用服务器的控制面网元。
在一些可能的实现方式中,第四指示信息为第一下行业务报文的序列号,第五指示信息为第二上行业务报文的序列号。
在一些可能的实现方式中,方法还包括,源用户面网元接收中心会话管理网元或者源会话管理网元发送的隧道信息,隧道信息是用于建立源用户面网元与目标用户面网元之间的上行业务报文转发隧道。
第三方面,提供了一种用于传输业务报文的方法,包括:源应用服务器接收会话管理功能会话管理网元发送的第一通知信息,第一通知信息用于通知数据网络接入点标识发生变化或用于通知用户面网元发生变化,第一通知信息包括目标数据网络接入点标识和终端装置的标识;
源应用服务器确定处理完第一下行业务报文和第二上行业务报文之后,源应用服务器与目标数据网络接入点标识对应的目标应用服务器进行终端装置的上下文的迁移,其中,第一下行业务报文为源应用服务器向源用户面功能用户面网元发送的最后一个下行业务报文,第二上行业务报文为源用户面网元向源应用服务器发送的最后一个上行业务报文。
在一些可能的实现方式中,在源应用服务器与目标数据网络接入点标识对应的目标应用服务器进行终端装置的上下文的迁移之前,方法还包括:
源应用服务器向源用户面网元发送第四指示信息,第四指示信息用于指示第一下行业务报文为来自源应用服务器的最后一个下行业务报文;
源应用服务器接收源用户面网元发送的第五指示信息,第五指示信息用于指示第二上行业务报文为源用户面网元发送给源应用服务器的最后一个上行业务报文。
在一些可能的实现方式中,第四指示信息为第一下行业务报文的序列号,第五指示信息为第二上行业务报文的序列号。
在一些可能的实现方式中,源应用服务器向源用户面网元发送第四指示信息,包括:源应用服务器通过源会话管理网元向源用户面网元发送第四指示信息;源应用服务器接收源用户面网元发送的第五指示信息,包括:源应用服务器通过源会话管理网元接收源用户面网元发送的第五指示信息。
在一些可能的实现方式中,在源应用服务器与目标数据网络接入点标识对应的目标应用服务器进行终端装置的上下文的迁移之后,方法还包括:源应用服务器向中心会话管理网元发送上下文迁移完成消息,用于指示源应用服务器与目标应用服务器已经完成了终端装置的上下文迁移。
在一些可能的实现方式中,在源应用服务器与目标数据网络接入点标识对应的目标应用服务器进行终端装置的上下文的迁移之后,方法还包括:源应用服务器向中心会话管理网元和源会话管理网元分别发送上下文迁移完成消息,用于指示源应用服务器与目标应用服务器已经完成了终端装置的上下文迁移。
第四方面,提供了一种用于传输业务报文的方法,包括:第一会话管理网元接收源AS发送的第四指示信息,第一会话管理网元向源用户面网元发送第四指示信息,第四指示信息用于指示第一下行业务报文为来自源应用服务器的最后一个下行业务报文;第一会话管理网元接收源用户面网元发送的第五指示信息,第一会话管理网元向源应用服务器发送第五指示信息,第五指示信息用于指示第二上行业务报文为源用户面网元发送给源应用服务器的最后一个上行业务报文。
在一些可能的实现方式中,第四指示信息为第一下行业务报文的序列号,第五指示信息为第二上行业务报文的序列号。
在一些可能的实现方式中,第一会话管理网元为中心会话管理网元,中心会话管理网元用于控制一个或多个会话管理网元,一个或多个会话管理网元包括源会话管理网元。
在一些可能的实现方式中,第一会话管理网元为中心会话管理网元,方法还包括:中 心会话管理网元接收源应用服务器发送的上下文迁移完成消息,上下文迁移完成消息用于指示源应用服务器与目标应用服务器完成了终端装置的上下文迁移。
在一些可能的实现方式中,第一会话管理网元为源会话管理网元。
在一些可能的实现方式中,若第一会话管理网元为源会话管理网元,方法还包括:第一会话管理网元获取隧道信息,并向源用户面网元发送隧道信息。
在一些可能的实现方式中,若第一会话管理网元为源会话管理网元,源会话管理网元获取隧道信息,包括:源会话管理网元接收中心会话管理网元发送的隧道信息。
第五方面,本申请提供一种用于传输业务报文的装置,用于实现第一方面和/或其任意可能的实现方式中的方法。该装置可以是目标用户面网元,也可以是目标用户面网元中的装置,或者是能够和目标用户面网元匹配使用的装置。一种设计中,该装置可以包括执行第一方面和/或其任意可能的实现方式中所描述的方法/操作/步骤/动作所一一对应的模块,该模块可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。一种设计中,该装置可以包括发送单元和接收单元。
第六方面,本申请提供一种用于传输业务报文的装置,用于实现第二方面和/或其任意可能的实现方式中的方法。该装置可以是源用户面网元,也可以是源用户面网元中的装置,或者是能够和源用户面网元匹配使用的装置。一种设计中,该装置可以包括执行第二方面和/或其任意可能的实现方式中所描述的方法/操作/步骤/动作所一一对应的模块,该模块可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。一种设计中,该装置可以包括发送单元和接收单元。
第七方面,本申请提供一种用于传输业务报文的装置,用于实现第三方面和/或其任意可能的实现方式中的方法。该装置可以是源应用服务器,也可以是源应用服务器中的装置,或者是能够和源应用服务器匹配使用的装置。一种设计中,该装置可以包括执行第三方面和/或其任意可能的实现方式中所描述的方法/操作/步骤/动作所一一对应的模块,该模块可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。一种设计中,该装置可以包括发送单元和迁移单元。
第八方面,本申请提供一种用于传输业务报文的装置,用于实现第四方面和/或其任意可能的实现方式中的方法。该装置可以是会话管理网元,也可以是会话管理网元中的装置,或者是能够和会话管理网元匹配使用的装置。一种设计中,该装置可以包括执行第四方面和/或其任意可能的实现方式中所描述的方法/操作/步骤/动作所一一对应的模块,该模块可以是硬件电路,也可是软件,也可以是硬件电路结合软件实现。一种设计中,该装置可以包括接收单元和发送单元。
第九方面,本申请提供一种用于传输业务报文的装置,该装置包括处理器,用于实现上述第一方面和/或其任意可能的实现方式中描述的方法。所述装置还可以包括存储器,所述存储器与所述处理器耦合,所述处理器用于实现上述第一方面和/或其任意可能的实现方式中描述的方法。可选地,所述处理器用于存储指令,所述处理器执行所述存储器中存储的指令时,可以实现上述第一方面和/或其任意可能的实现方式中描述的方法。所述装置还可以包括通信接口,所述通信接口用于该装置与其它设备进行通信,示例性的,通信接口可以是收发器、电路、总线、模块、管脚或其它类型的通信接口。
第十方面,本申请提供一种用于传输业务报文的装置,该装置包括处理器,用于实现 上述第二方面和/或其任意可能的实现方式中描述的方法。所述装置还可以包括存储器,所述存储器与所述处理器耦合,所述处理器用于实现上述第二方面和/或其任意可能的实现方式中描述的方法。可选地,所述处理器用于存储指令,所述处理器执行所述存储器中存储的指令时,可以实现上述第二方面和/或其任意可能的实现方式中描述的方法。所述装置还可以包括通信接口,所述通信接口用于该装置与其它设备进行通信。
第十一方面,本申请提供一种用于传输业务报文的装置,该装置包括处理器,用于实现上述第三方面和/或其任意可能的实现方式中描述的方法。所述装置还可以包括存储器,所述存储器与所述处理器耦合,所述处理器用于实现上述第三方面和/或其任意可能的实现方式中描述的方法。可选地,所述处理器用于存储指令,所述处理器执行所述存储器中存储的指令时,可以实现上述第三方面和/或其任意可能的实现方式中描述的方法。所述装置还可以包括通信接口,所述通信接口用于该装置与其它设备进行通信。
第十二方面,本申请提供一种用于传输业务报文的装置,该装置包括处理器,用于实现上述第四方面和/或其任意可能的实现方式中描述的方法。所述装置还可以包括存储器,所述存储器与所述处理器耦合,所述处理器用于实现上述第四方面和/或其任意可能的实现方式中描述的方法。可选地,所述处理器用于存储指令,所述处理器执行所述存储器中存储的指令时,可以实现上述第四方面和/或其任意可能的实现方式中描述的方法。所述装置还可以包括通信接口,所述通信接口用于该装置与其它设备进行通信。
第十三方面,本申请提供了一种用于传输业务报文的系统,该系统包括上述第五方面提供的装置、第六方面提供的装置、第七方面提供的装置以及第八方面提供的装置中的至少两方面的装置;或者
该系统包括上述第九方面提供的装置、第十方面提供的装置、第十一方面提供的装置以及第十二方面提供的装置中的至少两方面的装置;
第十四方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得计算机执行第一方面及其任意可能的设计中的方法。
第十五方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得计算机执行第二方面及其任意可能的设计中的方法。
第十六方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得计算机执行第三方面及其任意可能的设计中的方法。
第十七方面,本申请提供一种计算机可读存储介质,计算机可读存储介质中存储有计算机指令,当计算机指令在计算机上运行时,使得计算机执行第四方面及其任意可能的设计中的方法。
第十八方面,本申请提供一种芯片,包括处理器。处理器用于执行第一方面及其任意可能的实现方式中的方法。
可选地,所述芯片还包括存储器,存储器与处理器耦合。
进一步可选地,所述芯片还包括通信接口。
第十九方面,本申请提供一种芯片,包括处理器。处理器用于执行第二方面及其任意 可能的实现方式中的方法。
可选地,所述芯片还包括存储器,存储器与处理器耦合。
第二十方面,本申请提供一种芯片,包括处理器。处理器用于执行第三方面及其任意可能的实现方式中的方法。
可选地,所述芯片还包括存储器,存储器与处理器耦合。
进一步可选地,所述芯片还包括通信接口。
第二十一方面,本申请提供一种芯片,包括处理器。处理器用于执行第四方面及其任意可能的实现方式中的方法。
可选地,所述芯片还包括存储器,存储器与处理器耦合。
第二十二方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第一方面及其任意可能的设计中的方法。
第二十三方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第二方面及其任意可能的实现方式中的方法。
第二十四方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第三方面及其任意可能的设计中的方法。
第二十五方面,本申请提供一种计算机程序产品,所述计算机程序产品包括计算机程序代码,当所述计算机程序代码在计算机上运行时,使得计算机执行第四方面及其任意可能的实现方式中的方法。
附图说明
图1是本申请实施例提供的系统架构示意图。
图2是本申请实施例提供的应用场景示意图。
图3是本申请实施例提供的另一应用场景示意图。
图4是本申请实施例提供的又一应用场景示意图。
图5是本申请实施例提供的用于传输业务报文的方法示意图。
图6是本申请实例提供的另一用于传输业务报文的方法示意图。
图7是本申请实施例提供的又一用于传输业务报文的方法示意图。
图8是本申请实施例提供的又一用于传输业务报文的方法示意图。
图9是本申请实施例提供的又一用于传输业务报文的方法示意图。
图10是本申请实施例提供的下行业务报文的传输过程示意图。
图11是本申请实施例提供的上行业务报文的传输过程示意图。
图12是本申请实施例提供的用于传输业务报文的装置的示意性框图。
图13是本申请实施例提供的另一用于传输业务报文的装置的示意性框图。
图14是本申请实施例提供的又一用于传输业务报文的装置的示意性框图。
图15是本申请实施例提供的又一用于传输业务报文的装置的示意性框图。
具体实施方式
下面将结合附图,对本申请中的技术方案进行描述。
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通信(global system for mobile communications,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、未来的第五代(5th generation,5G)系统或新无线(new radio,NR)等。
图1示例性示出了本申请提供的一种通信系统架构示意图。如图1所示,该通信系统架构包括移动性管理网元、会话管理网元、策略控制网元、认证服务网元、数据管理网元和用户面网元。进一步,该通信系统架构还包括接入网设备、终端装置(user equipment,UE)和数据网络网元(data network,DN)。终端装置可与移动性管理网元连接,接入网设备也可与移动性管理网元连接,接入网设备还可与用户面网元连接,用户面网元可分别与会话管理网元、数据网络连接,移动性管理网元可分别与会话管理网元、数据管理网元、策略控制网元和认证服务网元连接,会话管理网元分别与策略控制网元和数据管理网元连接。移动性管理网元和会话管理网元均可从数据管理网元获取数据,例如用户签约数据,移动性管理网元和会话管理网元均可从策略控制网元获取策略数据。例如,策略控制网元从数据管理网元获得用户签约数据并发送到移动性管理网元和会话管理网元,再由移动性管理网元和会话管理网元下发到接入网设备、终端装置和用户面网元等。
移动性管理网元,主要用于移动网络中的终端装置的注册、移动性管理、跟踪区更新流程。移动性管理网元终结了非接入层(non access stratum,NAS)消息、完成注册管理、连接管理以及可达性管理、分配跟踪区域列表(track area list,TA list)以及移动性管理等,并且透明路由会话管理(session management,SM)消息到会话管理网元。在第5代(5th generation,5G)通信中,移动性管理网元可以是核心网接入和移动性管理功能(core access and mobility management function,AMF)网元,在未来通信如第6代(6th generation,6G)通信中,移动性管理网元仍可以是AMF网元,或者有其它名称,本申请对此不作限定。
会话管理网元,主要用于移动网络中的会话管理,如会话创建、修改、释放。具体功能比如包括为用户分配互联网协议(internet protocol,IP)地址、选择提供报文转发功能的用户面网元等。在5G中,会话管理网元可以是会话管理功能(session management function,SMF)网元,在未来通信如6G中,会话管理网元仍可以是SMF网元,或有其它的名称,本申请不做限定。
策略控制网元,其包含用户签约数据管理功能,策略控制功能,计费策略控制功能,服务质量(quality of service,QoS)控制等。在5G中,策略控制网元可以是策略控制功能(policy control function,PCF)网元,在未来通信如6G中,策略控制网元仍可以是PCF网元,或有其它的名称,本申请不做限定。
认证服务器网元,主要用于使用可扩展的身份验证协议(extensible authentication protocol,EAP)验证服务功能、存储密钥,以实现对用户的鉴权和认证。在5G中,认证 服务器网元可以是认证服务器功能(authentication server function,AUSF)网元,在未来通信如6G中,用户面网元仍可以是AUSF网元,或有其它的名称,本申请不做限定。
数据管理网元,主要用于存储用户数据,如签约信息、鉴权/授权信息。在5G中,数据管理网元可以是统一数据管理(unified data management,UDM)网元,在未来通信如6G中,数据管理网元仍可以是UDM网元,或有其它的名称,本申请不做限定。
用户面网元,主要用于用户平面的业务处理,例如业务路由、包转发、锚定功能、业务质量(quality of service,QoS)映射和执行、上行链路的标识识别并路由到数据网络、下行包缓存和下行链路数据到达的通知触发、与外部数据网络连接等,可以存在多个用户面网元,其中与应用服务器(application service,AS)连接的用户面网元称之为协议数据单元会话锚点(PDU session anchor,PSA),其中,PDU全称为protocol data unit。在5G中,用户面网元可以是用户面功能(user plane function,UPF)网元,在未来通信如6G中,用户面网元仍可以是UPF网元,或有其它的名称,本申请不做限定。
接入网设备,也可以称为无线接入网(radio access network,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)、基带单元(baseBand unit,BBU)、传输点(transmitting and receiving point,TRP)、发射点(transmitting point,TP)、移动交换中心等。
终端装置(user equipment,UE),是一种具有无线收发功能的设备,可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。终端装置可以是手机(mobile phone)、平板电脑(pad)、带无线收发功能的电脑、虚拟现实(virtual reality,VR)终端、增强现实(augmented reality,AR)终端、工业控制(industrial control)中的无线终端、无人驾驶(self driving)中的无线终端、远程医疗(remote medical)中的无线终端、智能电网(smart grid)中的无线终端、运输安全(transportation safety)中的无线终端、智慧城市(smart city)中的无线终端、智慧家庭(smart home)中的无线终端等。
数据网络(Data Network,DN),主要用于为用户提供业务,比如运营商的业务、互联网接入业务和第三方业务。
可以理解的是,上述网元或者功能既可以是硬件设备中的网络元件,也可以是在专用硬件上运行软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。上述网元或者功能可划分出一个或多个服务,进一步,还可能会出现独立于网络功能存在的服务。在本申请中,上述功能的实例、或上述功能中包括的服务的实例、或独立于网络功能存在的服务实例均可称为服务实例。
需要说明的是,图1中包括的各个网元的命名仅是一个名字,名字对网元本身的功能不构成限定。在5G网络以及未来其它的网络中,上述各个网元也可以是其他的名字,本申请实施例对此不作具体限定。例如,在6G网络中,上述各个网元中的部分或全部可以沿用5G中的术语,也可能是其他命名,等等,在此进行统一说明,以下不再赘述。
需要说明的是,图1中的各个网元不是必须同时存在的,可以根据需求确定需要哪些 网元。图1中的各个网元之间的连接关系也不是唯一确定的,可以根据需求进行调整。
本申请以用户面网元为UPF为例进行描述,例如,源UPF和目标UPF。可选地,可以将源UPF替换成源PSA,将目标UPF替换成目标PSA。本申请以会话管理网元为SMF网元为例进行描述。
图2示出了本申请实施例的一个应用场景示意图。图2示出了三条传输路径,路径1的上行业务报文传输过程为:终端装置-接入网设备1-UPF1-AS1,下行业务报文的传输过程为上行业务报文的逆过程。路径2的上行业务报文传输过程为:终端装置-接入网设备2-UPF2-UPF1-AS1,下行业务报文的传输过程为上行业务报文的逆过程。路径3的上行业务报文的传输过程为:终端装置-接入网设备2-UPF2-AS2,下行业务报文的传输过程为上行业务报文的逆过程。终端装置(例如可以为图1的终端设备)采用路径1传输业务报文的过程中,终端装置的位置发生变化。当终端装置从接入网设备1覆盖的位置移动到接入网设备2覆盖的位置时,终端装置的接入网设备需要切换至接入网设备2,即空口进行了切换,此时采用路径2传输业务报文,路径2上的报文通过接入网设备2到达UPF2再到达UPF1(也称为源UPF)最后到达AS1,此时传输距离较长,路径2是三个传输路径中距离最长的路径,从而在路径2上传输的报文的时延较长,例如,对于低时延高可靠(ultra reliable low latency communications,URLLC)类型的报文,在路径2上可能无法满足低时延性要求,因此有必要将报文的传输路径从路径2切换至路径3,也就是说有必要将终端装置的上下文从AS1迁移到AS2。但是在将报文的传输路径从路径2切换至路径3的过程中,在路径2上正在传输的报文有可能由于路径切换操作导致丢失,这样会造成丢包率较高,从而导致传输性能较差。并且在路径切换时,UPF2(也称为目标UPF)有可能会同时收到来自路径2和路径3的上行业务报文。从而导致UPF2收到的报文出现乱序,这对报文的顺序有严格要求的业务类型是一个很大的问题。
针对上述问题,本申请实施例提供的用于传输业务报文的方法,通过源UPF与目标UPF之间的交互,具体交互过程参见下面实施例中的描述,在路径切换过程中将路径2上的上行业务报文准确的传到AS2,将路径2上的下行业务报文准确的传到终端装置。
需要说明的是图2简单示出了UPF改变的情况下报文传输示意图,在实际的传输过程中图2还可以存在其他的网元,由于与本申请无关,所以没有详细的描述。
需要说明的是,本申请是将上行业务报文的传输与下行业务报文的传输结合到一起描述的,但本申请实施例对此不作限制,在实际处理的过程中,可以只存在上行业务报文的传输,也可以只存在下行业务报文的传输。
需要说明的是,为了方便描述,去掉了“网元”,例如,UPF表示UPF网元,SMF表示SMF网元等。
下面结合图3和图4描述本申请实施例的两种应用场景。
如图3所示中央数据中心(central data center)控制一个或多个本地数据中心(local data center),图3中仅示出了两个本地数据中心(也称为本地源数据中心和本地目标数据中心),但本申请实施例不限于此。每个本地数据中心没有SMF。
具体地,中央数据中心包括中心SMF、PCF、NEF以及AMF,中心SMF用于从PCF获取策略数据,并根据策略数据控制源UPF和目标UPF,例如,当终端装置的位置发生变化,从源接入网设备的覆盖范围移动到目标接入网设备的覆盖范围时,终端装置的进行 空口的切换,从源接入网设备切换到目标接入网设备,此时AMF可以获取到目标接入设备发送的终端装置的接入信息,并将终端装置的接入信息上报给中心SMF,该接入信息包括终端装置的位置信息,中心SMF根据终端装置的接入信息确定终端装置的用户面网元需要切换,当发现需要切换到的用户面网元对应的应用服务器也变化时,中心SMF确定目标AS的数据网络接入点标识(data network access identifier,DNAI)。中心SMF将目标AS的DNAI以及终端装置的标识(可选地,也可以发送终端装置的应用的标识)发送给源AS,以便于源AS根据DNAI确定目标AS,从而使得源AS与目标AS进行终端装置的上下文问的迁移,例如,中心SMF通过NEF与源AS和目标AS传输信令。
需要说明的是,图3中,中央数据中心还可以包括AF,中心SMF可以通过AF与源AS和目标AS交互,中心SMF可以通过NEF与AF交互。
如图4所示中央数据中心(central data center)控制一个或多个本地数据中心(local data center),图中仅示出了两个本地数据中心(也称为本地源数据中心和本地目标数据中心),但本申请实施例不限于此。每个本地数据中心存在SMF和NEF。例如,源数据中心包括源SMF和源NEF,目标数据中心包括目标SMF和目标NEF。中心SMF用于控制源SMF和目标SMF。
具体地,中央数据中心包括中心SMF,中心SMF用于从PCF获取策略数据,并根据策略数据控制源SMF和目标SMF,例如,当终端装置的位置发生变化,从源接入网设备的覆盖范围移动到目标接入网设备的覆盖范围时,终端装置的进行空口的切换,从源接入网设备切换到目标接入网设备,此时AMF可以获取到目标接入设备发送的终端装置的接入信息,并将终端装置的接入信息上报给中心SMF,中心SMF根据从PCF获取的策略数据确定终端装置的UPF需要切换,当发现需要切换到的目标UPF对应的应用服务器也变化时,中心SMF确定目标AS的数据网络接入点标识(data network access identifier,DNAI)。中心SMF将目标AS的DNAI以及终端装置的标识(可选地,也可以发送终端装置的应用的标识)发送给源AS,以便于源AS根据DNAI确定目标AS,从而使得源AS与目标AS进行终端装置的上下文的迁移,例如,中心SMF通过NEF与源AS和目标AS传输信令。可选的,中心SMF也可以直接与源AS或目标AS传输信令。
需要说明的是,图4中,中央数据中心还可以包括AS的控制面网元AF,中心SMF可以通过AF与源AS和目标AS交互,中心SMF可以通过NEF与AF交互。源SMF可以通过源NEF与AF交互,源SMF可以通过源NEF与源AS交互。目标SMF可以通过目标NEF与AF交互,目标SMF可以通过目标NEF与目标AS交互。为了避免赘述,本申请实施例并未示出。
在一种可能的实现方式中,本地源数据中心可以包括源UPF、源SMF、源AF和源AS。本地目标数据中心可以包括目标PSA、目标SMF、目标AF和目标AS。源SMF可以源AF与源AS交互,目标SMF可以目标AF与目标AS交互。
可选地,本申请中终端装置的上下文的迁移,可以是终端装置的上下文状态的迁移,例如,上下文的状态包括应用层状态以及传输层状态,即将终端装置的应用层状态和传输层状态从源AS迁移到目标AS;本申请中终端装置的上下文的迁移也可以是终端的应用实例的迁移,即一个应用实例只服务一个终端装置,终端装置上下文的迁移就是将应用实例从源AS迁移到目标AS。
下面结合图5描述本申请实施例提供的用于传输业务报文的方法200,方法200包括:
S210,源UPF接收到第二上行业务报文之后,源UPF接收第一上行业务报文,第二上行业务报文为源UPF向源应用服务器发送的最后一个上行业务报文
S220,源UPF向目标UPF发送第一上行业务报文,目标UPF接收来自源UPF发送的第一上行业务报文。需要说明的是,在本申请实施例中,第一上行业务报文可以为一个或多个来自源UPF,并且需要向目标UPF发送的上行业务报文。换句话说,第一上行业务报文可以是在路径切换过程中还没有处理完,即不能按照原路径发给源AS,但是已经到达源UPF的上行业务报文,为了避免报文的丢失,可以将第一上行业务报文发送给目标UPF。
S230,源UPF向目标UPF发送第一指示信息,目标UPF接收来自源UPF的第一指示信息。第一指示信息用于指示源UPF发送的第一上行业务报文结束。
可选地,源UPF可以将S220中的第一上行业务报文和S230中的第一指示信息同时向目标UPF发送,例如,若第一上行业务报文为源UPF向目标UPF发送的最后一个上行业务报文,则可以将第一指示信息封装在第一上行业务报文的报文头中向目标UPF发送。可选地,源UPF也可以是先发送第一上行业务报文,再发送携带第一指示信息的上行报文。例如,该携带第一指示信息的上行报文与第一上行业务报文具有相同的数据包格式,比如,第一上行业务报文是通用分组无线服务隧道协议(GPRS tunnelling protocol,GTP)数据包,其中,GPRS表示通用分组无线服务(general packet radio service),GTP数据包包括用户层面的通用分组无线服务(GTP for the user plane,GTP-U)的头,那么携带该第一指示信息的上行报文也是GTP数据包,第一指示信息可以设置于GTP-U的头的特定标识位,比如将特定标识位设置为“0”或“1”。除了特定标识位外,携带第一指示信息的上行报文的GTP-U头,与第一上行业务报文的完全相同。
S240,在目标UPF接收到第一指示信息之后,当第一上行业务报文发送完毕,目标UPF向目标AS发送由接入网设备向目标UPF发送的上行业务报文。
因此,本申请实施例中,当源UPF向源AS发送了最后一个第二上行业务报文之后,将第二上行业务报文之后的接收到第一上行业务报文通过目标UPF向目标AS发送,这样可以避免第一上行业务报文的丢失,并且源UPF可以向目标UPF发送第一指示信息来指示通过源UPF发送的第一上行业务报文结束,这样可以避免目标UPF一直等待接收源UPF发送的上行业务报文,目标UPF在接收到第一指示信息之后,向目标AS发送完来自源UPF的上行业务报文之后,再发由接入网设备发送给目标UPF的上行业务报文,从而可以避免上行业务报文的乱序问题。
图6示出了本申请实施例提供的用于传输业务报文的方法300,包括:
S310,源应用服务器AS接收会话管理功能SMF发送的第一通知信息,第一通知信息用于通知数据网络接入点标识DNAI发生变化或用于通知锚点UPF发生变化,第一通知信息包括目标数据网络接入点标识DNAI和终端装置的标识。
例如,在图3所示的场景下,S310中,源AS接收的是中心SMF发送的第一通知信息。
S320,源AS确定处理完第一下行业务报文和第二上行业务报文之后,源AS与目标DNAI对应的目标AS进行终端装置的上下文的迁移,其中,第一下行业务报文为源AS 向源用户面功能UPF发送的最后一个下行业务报文,第二上行业务报文为源UPF向源应用服务器AS发送的最后一个上行业务报文。
在本申请实施例中,源AS接收到SMF网络发送的第一通知信息之后,可以确定终端装置的上下文需要迁移,在确定需要迁移终端装置的上下文之后,源AS确定要处理完最后一个下行业务报文(第一下行业务报文)和最后一个接收到的上行业务报文(第二上行业务报文)之后,源AS根据第一通知信息中的目标DNAI确定对应的目标AS,并将终端装置的上下文迁移至目标AS,这样,将终端装置的上下文迁移至目标AS之后,可以保证终端装置的上下行业务报文的连续传输。
需要说明的是,本申请实施例中的终端装置的上下文迁移可以是终端装置的某个应用实例的整体迁移,例如,当一个应用实例只服务一个终端装置时,上下文迁移是指将终端装置与数据网络(data network,DN)相关的整个应用实例从一个AS(源AS)迁移到另一个AS(目标AS);终端装置的上下文迁移也可以是终端装置的传输层和应用层上下文迁移,例如,当多个终端装置共享一个应用实例时,终端装置的上下文迁移是指将终端装置需要迁移的应用的传输层和应用层上下文从一个AS(源AS)迁移到另一个AS(目标AS)。
图7示出了本申请实施例提供的用于传输业务报文的方法400,包括:
S401,SMF向第一网元发送第一通知信息,第一网元接收SMF发送的第一通知信息,第一通知信息用于通知数据网络接入点标识DNAI发生变化或用于通知UPF发生变化,第一通知信息包括目标数据网络接入点标识DNAI和终端装置的标识。
可选地,第一网元可以是源AS或者源AS的管理网元或者源AS的控制面网元AF,如果第一网元是源AS的管理网元或者源AS的控制面网元AF,则SMF向源AS的管理网元或者源AS的控制面网元AF发送第一通知信息之后,源AS的管理网元或者源AS的控制面网元AF将第一通知信息转发给源AS。下面以第一网元为源AS为例进行描述。
S402,源AS接收到第一通知信息之后,确定源AS向源UPF发送的最后一个下行业务报文是第一下行业务报文,源AS向源UPF发送第四指示信息,源UPF接收源AS发送的第四指示信息,该第四指示信息用于指示第一下行业务报文为来自源AS的最后一个下行业务报文。例如,该第四指示信息可以是第一下行业务报文的序列号。
可选地,源AS可以在向源UPF发送第四指示信息之前,向源UPF发送第一下行业务报文。可选地,源AS在向源UPF发送第四指示信息之后,向源UPF发送第一下行业务报文。可选地,源AS向源UPF同时发送第四指示信息和第一下行业务报文,例如第四指示信息可以包括在第一下行业务报文的报文头中。无论第四指示信息和第一下行业务报文的发送顺序如何,源AS向源UPF发送第一下行业务报文之后不会再向源UPF发送下行业务报文。
可选地,在S402中,源AS在接收到第一通知信息之后,可以预冻结终端装置的上下文,比如与目标AS交互为终端装置上下文迁移做准备,这样可以缩短终端装置上下文迁移的时间。
S403,源UPF接收到源AS发送的第四指示信息之后,源UPF向源AS发送第五指示信息,源AS接收源UPF发送的第五指示信息,该第五指示信息用于指示第二上行业务报文为源UPF发送给源AS的最后一个上行业务报文。例如,该第五指示信息可以是第二 上行业务报文的序列号。
可选地,S402和S403中,源AS向源UPF发送第四指示信息,可以通过源AS的控制面网元AF以及源UPF的控制面网元SMF来发送的,即源AS先向AF发送第四指示信息,AF将第四指示信息发送给SMF,SMF再发送给源UPF。可选地,源UPF向源AS发送第五指示信息,也可以通过SMF和AF来发送的,即源用户面网元向源UPF的控制面网元SMF发送第五指示信息,SMF将第五指示信息发送给AF,AF再将第五指示信息发送给源AS。
需要说明的是,本申请实施例并不限定源UPF向源AS发送第二上行业务报文和第五指示信息的先后顺序,也就是说,源UPF可以在向源AS发送第二上行业务报文之后,再向源AS发送第五指示信息;也可以在源UPF收到第二上行业务报文后,先向源AS发送第五指示信息,再发送第二上行业务报文;还可以在源UPF收到第二上行业务报文后,同时向源AS发送第二上行报文和第五指示信息。
可选地,源AS可以直接向源UPF发送第四指示信息,源UPF可以直接向源AS发送第五指示信息,本申请实施例对此不作限定。
S404,源AS接收到第五指示信息之后,可以确定第二上行业务报文为来自源UPF的最后一个上行业务报文,源AS确定第一下行业务报文和第二上行业务报文处理完毕。
具体的,源AS可以在收到第二上行业务报文,并回复该第二上行业务报文的确认消息后即确定第二上行业务报文处理完毕;可以在发送完第一下行业务报文并收到该第一下行业务报文的确认消息后即确定第一下行业务报文处理完毕。源AS也可以在收到第二上行业务报文即认为第二上行业务报文处理完毕,在发送了第一下行业务报文后即认为第一下行业务报文处理完毕。
S405,源AS在处理完第一下行业务报文和第二上行业务报文之后,与目标DNAI对应的目标AS进行终端装置的上下文的迁移。
S406,源UPF接收到源AS发送的第一下行业务报文之后,源UPF向目标UPF发送第一下行业务报文。
S407,源UPF向目标UPF发送第三指示信息,该第三指示信息用于指示来自源AS的下行业务报文发送结束。
需要说明的是S406与S407的顺序不作限定,可选地,源UPF可以先发送第一下行业务报文,然后再发送携带第三指示信息下行报文,该携带第三指示信息的下行报文与第一下行业务报文具有相同的数据包格式,比如,第一下行业务报文是GTP数据包,包括GTP-U的头,那么携带该第三指示信息的下行报文也是GTP数据包,第三指示信息可以设置于GTP-U的头的特定标识位,比如将特定标识位设置为“0”或“1”。除了特定标识位外,携带第三指示信息的下行报文的GTP-U头,与第一下行业务报文的完全相同;可选地,源UPF可以将第一下行业务报文和第三指示信息同时发送给目标UPF,例如将第三指示信息封装在第一下行业务报文的报文头中。也需要说明的是,源AS和目标AS进行上下文的迁移可以与源UPF向目标UPF发送第一下行业务报文和第三指示信息同时进行或者可以有先后顺序。换句话说,S404以及S405可以在S406以及S407之前或者之后或者同时进行。
S408,当源AS与目标AS完成终端装置的上下文迁移之后,并且目标AS与目标UPF 之间的链路建立好之后,目标AS就可以向目标UPF发送终端装置的下行业务报文。
S409,若目标UPF既有接收到来自源UPF的第一下行业务报文也有接收到来自目标AS的下行业务报文,目标UPF会立即向接入网设备发送来自源AS的第一下行业务报文,若目标UPF在接收到第三指示信息之前有来自目标AS的下行业务报文时,将来自目标AS的下行业务报文缓存,当目标UPF在接收到第三指示信息之后,确定向接入网设备发送完第一下行业务报文之后,再向接入网设备发送来自目标AS的下行业务报文(S408的下行业务报文),这样,可以保证优先传输来自源AS的下行业务报文,再传输来自目标AS的下行业务报文,可以避免下行业务报文的乱序。
S410,接入网设备将S409中接收到的下行业务报文通过空口发送给终端装置。
S411,终端装置不感知网络侧的网元的切换,终端装置在接收下行业务报文的同时也可以向接入网设备发送上行业务报文。
需要说明的是,S411与前述的任何一个步骤都没有顺序的限制,终端装置需要发送上行业务报文时,即执行S411,并没有任何顺序限制。
S412,接入网设备向目标UPF发送来自终端装置发送的上行业务报文。
同理,S412只要在S411之后即可,S412与前述的其他步骤都没有顺序的限制,接入网设备接收到终端装置发送的上行业务报文,有需要向目标UPF发送上行业务报文时,即执行S412,并没有任何顺序限制。
S413,目标UPF在接收到接入网设备发送的上行业务报文之后,向源UPF发送第一上行业务报文,直到目标UPF接收到第三指示信息之后,目标UPF不再向源UPF发送上行业务报文。
S414,目标UPF接收到第三指示信息之后向源UPF发送第二指示信息,该第二指示信息用于指示目标UPF发送第一上行业务报文结束,即目标UPF不会再向源UPF发送上行业务报文。
需要说明的是,第一指示信息和第二指示信息可以是不同的网元之间的信令,但是第一指示信息和第二指示信息可以包括相同的信元,即该相同的信元可以是上行业务报文结束的标识,即当目标用户面网元向源用户面网元发送了第二指示信息之后,源用户面网元可以确定来自目标用户面网元的上行业务报文结束;当源用户面网元向目标用户面网元发送第一指示信息之后,目标用户面网元可以确定来自源用户面网元的上行业务报文结束。
作为S414可替换的方式,目标UPF接收来自目标AS的下行业务报文或者接收来自会话管理功能SMF发送的上下文迁移完成消息之后,目标UPF向源UPF发送第二指示信息。
换句话说,目标UPF向源UPF发送第二指示信息可以是分两种情况,情况一:目标UPF在接收到源UPF发送的第三指示信息之后,向源UPF发送第二指示信息;情况二:目标UPF在接收到目标AS的下行业务报文或者来自SMF发送的上下文迁移完成消息之后,向源UPF发送第二指示信息。
可选地,第二指示信息可以在最后一个第一上行业务报文之后发送,即目标UPF先向源UPF发送第一上行业务报文,再发送携带第二指示信息的上行报文,该携带第二指示信息的上行报文与第一上行业务报文具有相同的数据包格式,比如,第一上行业务报文是GTP数据包,包括GTP-U的头,那么携带该第二指示信息的上行报文也是GTP数据包, 第二指示信息可以设置于GTP-U的头的特定标识位,比如将特定标识位设置为“0”或“1”。除了特定标识位外,携带第二指示信息的下行报文的GTP-U头,与第一上行业务报文的完全相同。可选地,目标UPF也可以将第二指示信息封装在最后一个第一上行业务报文的报文头中发送给源UPF。
S415,源UPF在向源AS发送第五指示信息之后,接收到来自目标UPF的第一上行业务报文时,则将第一上行业务报文转发给目标UPF。
S416,源UPF接收到目标UPF的第二指示信息之后,向目标UPF发送第一指示信息,这样,目标UPF就可以通过第一指示信息确定来自源UPF的上行业务报文结束。换句话说,目标UPF先向源UPF发送第二指示信息来指示来自目标UPF发送的第一上行业务报文发送结束,源UPF可以将第二指示信息中的信元作为第一指示信息的信元向目标UPF发送,这样目标UPF就可以获知来自源UPF的第一上行业务报文也发送结束。当然,第一指示信息与第二指示信息是为了区分不同网元之间的信令,在实际处理过程中,第一指示信息和第二指示信息也可以为同一个指示信息,即目标UPF先向源UPF发送该指示信息,源UPF再将该指示信息发送给目标UPF。换种方式理解,第一指示信息或第二指示信息可以指示原始路径或者旧路径上的上行业务报文发送结束,原始路径或旧路径为:目标UPF-源UPF-目标UPF,不管源UPF接收到第二指示信息还是目标UPF接收到第一指示信息,源UPF和目标UPF就可以确定后续不会再有原始路径或者旧路径上的上行业务报文了。
需要说明的是,源UPF按序向目标UPF发送第一上行业务报文和第一指示信息,即源UPF根据接收第一上行业务报文和第二指示信息的顺序向目标UPF发送第一上行业务报文和第一指示信息,第二指示信息与第一上行业务报文的之间的顺序(S413和S414)与第一指示信息与第一上行业务报文之间的顺序(S415和S416)相同,即S413中的第一上行业务报文在S414中的第二指示信息之前,则S415中的第一上行业务报文也在S416中的第一指示信息之前;如果S413和S414中的第一上行业务报文和第二指示信息同时发送,则S415和S416中的第一上行业务报文和第一指示信息也同时发送。
S417,目标UPF与目标AS建立好上行链路之后,目标UPF可以向目标AS发送上行业务报文。具体的,发送过程是:先发送第一上行业务报文,即来自源UPF的上行业务报文,再发送直接来自接入网设备的上行业务报文。
为了更好的说明S412-S417,下面进行举例描述,假设S412中,接入网设备向目标UPF按序发送的业务报文为报文1、报文2、报文3、报文4和报文5,目标UPF按序接收这5个报文,目标UPF按序向源UPF发送报文1、报文2和报文3,下面分两种情况描述,情况一:当接收到源UPF发送的第三指示信息时,目标UPF确定不再向源UPF发送上行业务报文,即向源UPF发送第二指示信息,来指示来自目标UPF的上行业务报文结束,目标UPF将报文4和报文5先缓存下来,此时报文1、报文2和报文3为第一上行业务报文,源UPF按序接收到报文1、报文2、报文3以及第二指示信息之后,将报文1、报文2、报文3以及第一指示信息(第一指示信息的报文中的次序与第二指示信息在报文中次序相同)按序发送给目标UPF,目标UPF向目标AS按序发送报文1、报文2、报文3,目标UPF在接收到第一指示信息之后,并且在向目标AS按序发送完报文1、报文2和报文3之后,再发送缓存的报文4和报文5。情况二,当接收到源UPF发送的第三指示 信息时,目标UPF确定最后向源UPF发送的业务报文为报文4,并将第二指示信息封装在报文4的报文头中向源UPF发送,目标UPF将报文5先缓存下来,此时报文1、报文2、报文3和报文4为第一上行业务报文。源UPF按序接收到报文1、报文2、报文3以及报文4之后,将报文1、报文2、报文3以及报文4(此时报文4中的第二指示信息被替换为第一指示信息)按序发送给目标UPF,目标UPF向目标AS按序发送报文1、报文2、报文3和报文4,目标UPF解报文4的报文头中的第一指示信息之后,并且在向目标AS按序发送完报文1、报文2、报文3和报文4,再发送缓存的报文5。
需要说明的是,第一上行业务报文为在终端装置的上下文迁移过程中,已经发送到源UPF但还没有转发给源AS的上行业务报文,已经发送到源UPF的报文也可以称为旧路径或者原路径上的报文,此时需要将旧路径或者原路径上的报文转发到目标UPF,通过目标UPF转发至目标AS,以避免上行业务报文的丢失。并且通过第一指示信息指示旧路径或者原路径上的报文结束了,这样目标UPF保证旧路径或者原路径上的上行业务报文发送完成之后,再发送来自接入网设备的上行业务报文,可以避免上行业务报文出现乱序的问题。
下面结合图8描述本申请实施例提供的在图3场景下的用于传输业务报文的方法500,方法500包括:
S501,中心SMF确定终端装置的PSA切换后AS对应的DNAI要变化,确定需要执行终端装置的上下文迁移或者应用迁移(application relocation),中心SMF确定目标DNAI。
S502,中心SMF向源AS发送上下文迁移请求消息,源AS接收中心SMF发送的上下文迁移请求消息,上下文迁移请求消息用于触发迁移终端装置的上下文,上下文迁移请求消息包括目标DNAI以及终端装置的标识。
例如,终端装置的标识可以是终端装置的身份标识(identity,ID)或者终端装置的网络协议地址(internet protocol,IP)地址或者也可以是终端装置的通用公共签约标识(generic public subscription identifier,GPSI)等。
需要说明的是,在本申请实施例中,中心SMF可以与源AS和目标AS直接交互,也可以通过源AS的控制面网元AF与源AS交互,也可以通过目标AS的控制面网元AF与目标AS进行交互,源AS和目标AS的控制面网元可以是相同的AF或者不同的AF。SMF与AF的交互可以直接交互,也可以通过NEF与AF交互。为避免赘述,在此不详细说明。
需要说明的是,本申请实施例仅以源AS与目标AS要迁移终端装置的状态上下文为例描述。但本申请实施例不限于此,源AS与目标AS也可以迁移终端装置的应用实例,鉴于此,上下文迁移请求消息还包括:应用的标识或应用实例的标识,这样,源AS和目标AS就可以迁移终端应用实例。
可选地,方法S401中的第一通知信息可以是S502中的上下文迁移请求消息。
可选地,方法500包括:S503,源AS在接收到中心SMF发送的上下文迁移请求消息之后,源AS预冻结终端装置的上下文,为迁移终端装置的上下文做准备。
S504,中心SMF向源AS发送上下文迁移请求消息之后,获取隧道信息。
隧道信息是用于建立源UPF与目标UPF之间的上行报文转发隧道,可选地,在S504中,获取隧道信息,包括:中心SMF自身可以确定隧道信息。可选地,在S504中,获取隧道信息,包括:中心SMF向目标UPF发送N4会话修改请求消息,N4会话修改请求用 于向目标UPF请求隧道信息,目标UPF向中心SMF发送N4会话修改请求消息的响应消息,该N4会话修改请求消息的响应消息包括隧道信息。
需要说明的是,S503与S504的顺序并没有任何限制,S503可以在S504之前或之后或同时进行。
S505,中心SMF将隧道信息发送给源UPF。
S506,源UPF和目标UPF根据隧道信息建立上行隧道。
S507,在S503之后,源AS通过中心SMF向源UPF发送第四指示信息,第四指示信息用于指示第一下行业务报文为来自源AS的最后一个下行业务报文,即源AS发送完第一下行业务报文之后,不再向源UPF发送下行业务报文。例如,第四指示信息可以是第一下行业务报文的序列号。
S508,源UPF接收到第四指示信息之后,通过中心SMF向源AS发送第五指示信息,第五指示信息用于指示第二上行业务报文为源UPF发送给源AS的最后一个上行业务报文,即源UPF向源AS发送完第二上行业务报文后,不再向源AS发送上行业务报文。例如,第五指示信息可以是第二上行业务报文的序列号。
S509,源AS根据第五指示信息确定第二上行业务报文为来自源UPF的最后一个上行业务报文,并且源AS确定最后发送的第一下行业务报文和最后接收的第二上行业务报文处理完毕。
S510,源AS根据目标DNAI确定目标AS,并与目标AS完成终端装置的上下文的迁移。
S511,源AS与目标AS完成终端装置的上下文的迁移之后,源AS向中心SMF发送上下文迁移完成消息。
S512,第一下行业务报文为来自源AS的最后一个下行业务报文,源UPF向目标UPF发送来自源AS的最后一个下行业务报文。
S513,源UPF接收到第四指示信息之后,并向目标UPF发送第一下行业务报文之后,向目标UPF发送第三指示信息,该第三指示信息用于指示目标UPF来自源AS的下行业务报文结束。换句话说,该第三指示信息可以指示目标UPF来自旧路径或者原路径上的下行业务报文结束。
可选地,S512与S513可以同时进行,即源UPF可以将第三指示信息与第一下行业务报文同时发送给目标UPF,例如,将第三指示信息封装在第一下行业务报文的报文头中发送,这种情况下,S513和S512在S507之后。可选地,先执行S512再执行S513,即源UPF可以将第一下行业务报文发送之后,再发送第三指示信息,这种情况下,S513在S507之后即可,S512与S507的顺序也不限定。换句话说,源UPF接收到第四指示信息之后触发源UPF向目标UPF发送第三指示信息,若第一下行业务报文与第三指示信息同时发送,则第一下行业务报文与第三指示信息是在S507之后发送;若第一下行业务报文在第三指示信息之前发送,则第三指示信息在S507之后发送即可,S512与S507的顺序不限定。
需要说明的是,S513与S508-S511的顺序没有任何限制,S513只要在S507之后即可。
S514,在S510之后,目标AS与目标UPF已经建立好链路之后,目标AS就可以向目标UPF发送下行业务报文。
S515,目标UPF既有S512中接收到来自源UPF的第一下行业务报文也有S514中接 收到来自目标AS的下行业务报文,若目标UPF在接收到第三指示信息之前有来自目标AS的下行业务报文时,将来自目标AS的下行业务报文缓存,当目标UPF在接收到第三指示信息之后,确定向接入网设备发送完第一下行业务报文之后,再向接入网设备发送来自目标AS的下行业务报文,这样,可以保证优先传输来自源源AS的下行业务报文,再传输来自目标AS的下行业务报文,可以避免下行业务报文的乱序。
S516,接入网设备将S515中接收到的下行业务报文通过空口发送给终端装置。
S517,终端装置不感知网络侧的切换,终端装置在接收下行业务报文的同时也在向接入网设备发送上行业务报文。
需要说明的是,S517与前述的任何一个步骤都没有顺序的限制,终端装置需要发送上行业务报文时,即执行S517,并没有任何顺序限制。
S518,接入网设备向目标UPF发送来自终端装置发送的上行业务报文。
同理,S518只要在S517之后即可,S518与前述的其他步骤都没有顺序的限制,接入网设备接收到终端装置发送的上行业务报文,有需要向目标UPF发送上行业务报文时,即执行S518,并没有任何顺序限制。
S519,目标UPF在接收到接入网设备发送的上行业务报文之后,向源UPF发送第一上行业务报文,直到目标UPF接收到第三指示信息之后,目标UPF不再向源UPF发送上行业务报文。
S520,目标UPF接收到第三指示信息之后向源UPF发送第二指示信息,该第二指示信息用于指示目标UPF发送第一上行业务报文结束,即目标UPF不会再向源UPF发送上行业务报文。
作为S520可替换的方式,目标UPF接收来自目标AS的下行业务报文或者接收来自中心SMF发送的上下文迁移完成消息之后,目标UPF向源UPF发送第二指示信息。
换句话说,目标UPF向源UPF发送第二指示信息可以是分两种情况,情况一:目标UPF在接收到源UPF发送的第三指示信息之后,向源UPF发送第指示信息;情况二:目标UPF在接收到目标AS的下行业务报文或者来自SMF发送的上下文迁移完成消息之后,向源UPF发送第二指示信息。
S521,源UPF在向源AS发送第五指示信息之后,接收到来自目标UPF的第一上行业务报文时,则将第一上行业务报文转发给目标UPF。
S522,源UPF接收到目标UPF的第二指示信息之后,向目标UPF发送第一指示信息,这样,目标UPF就可以通过第一指示信息确定来自源UPF的上行业务报文结束。第一指示信息与第二指示信息的相关描述参见方法400中的描述。
S523,在S511之后,中心SMF可以向目标UPF发送上下文迁移完成消息。
S524,在S523之后,表示目标UPF与目标AS建立好链路,目标UPF可以向目标AS发送上行业务报文。或者,在目标UPF接收到来自目标AS的下行业务报文后,目标UPF确定与目标AS建立好链路,目标UPF可以向目标AS发送上行业务报文。具体的,发送过程是:先发送第一上行业务报文,即来自源UPF的上行业务报文,再发送直接来自接入网设备的上行接入报文。作为S523和S524的可替换的方式,中心SMF可以向目标UPF发送转发规则,该转发规则用于指示目标UPF切换上行业务报文的路径,目标UPF可以根据转发规则确定目标UPF与目标AS已经建立好链路,目标UPF可以向目标AS 发送上行业务报文,转发规则包括发送业务报文的参数等。具体的,发送过程是:如果有第一上行业务报文,先发送第一上行业务报文,即来自源UPF的上行业务报文,再发送来直接自接入网设备的上行接入报文。
也就是说,在S520中,目标UPF向源UPF发送第一指示信息之后,在S524目标UPF确定可以向目标AS发送上行业务报文之前,目标UPF都会缓存直接来自接入网设备发送的上行业务报文。
需要说明的是,第一上行业务报文为在终端装置的上下文迁移过程中,已经发送到源UPF但还没有转发给源AS的上行业务报文,已经发送在源UPF的报文也可以称为旧路径或者原路径上的报文,此时需要将旧路径或者原路径上的报文转发到目标UPF,通过目标UPF转发至目标AS,以避免上行业务报文的丢失。并且通过第一指示信息指示旧路径或者原路径上的报文结束了,这样目标UPF保证旧路径或者原路径上的上行业务报文发送完成之后,再发送来自接入网设备的上行业务报文,可以避免上行业务报文出现乱序的问题。
下面结合图9描述本申请实施例提供的在图4场景下的用于传输业务报文的方法600,方法600与方法500的区别在于场景不同,在方法600中只描述与方法500不同的步骤,其他的步骤参考方法500,方法600包括:
S601-S603同S501-S503。
可选地,方法600还包括:中心SMF向源SMF发送上下文迁移通知消息,上下文迁移通知消息包括:终端装置的标识和/或应用的标识或应用实例的标识。可选地,上下文迁移通知消息还可以包括PDU会话的标识。可选地,终端装置的标识可以是SUPI。上下文迁移通知消息用于指示终端装置的应用上下文要迁移。
S604,中心SMF向源AS发送上下文迁移请求消息之后,向目标SMF发送隧道请求消息,用于向目标SMF请求隧道信息,隧道信息是用于建立源UPF与目标UPF之间的上行报文转发隧道。
需要说明的是,S603与S604的顺序并没有任何限制,S603可以在S604之前或之后或同时进行。
S605,目标SMF获取隧道信息,隧道信息可以是目标SMF自身分配的,目标SMF自身可以得到隧道信息。隧道信息也可以是目标UPF分配的,如果隧道信息是目标UPF分配的,目标SMF向目标UPF发送N4会话修改请求消息,用于向目标UPF请求隧道信息,目标UPF向目标SMFN4会话修改请求消息的响应消息,该N4会话修改请求消息的响应消息包括隧道信息。
S606,目标SMF将得到的隧道信息发送给中心SMF。
可选地,目标SMF可以通过隧道请求消息的响应消息向中心SMF发送隧道信息。
S607,中心SMF将隧道信息通过源SMF发送给源UPF。
S608,源UPF和目标UPF根据隧道信息建立上行隧道。
S609,在S603之后,源AS通过源SMF向源UPF发送第四指示信息,第四指示信息用于指示第一下行业务报文为来自源AS的最后一个下行业务报文,即源AS发送完第一下行业务报文之后,不再向源UPF发送下行业务报文。例如,第四指示信息可以是第一下行业务报文的序列号。
S610,源UPF接收到第四指示信息之后,通过源SMF向源AS发送第五指示信息,第五指示信息用于指示第二上行业务报文为源UPF发送给源AS的最后一个上行业务报文,即源UPF向源AS发送完第二上行业务报文后,不再向源AS发送上行业务报文。例如,第五指示信息可以是第二上行业务报文的序列号。
S611,源AS根据第五指示信息确定第二上行业务报文为来自源UPF的最后一个上行业务报文,并且源AS确定最后发送的第一下行业务报文和最后接收的第二上行业务报文处理完毕。
S612,源AS根据目标DNAI确定目标AS,并与目标AS完成终端装置的上下文的迁移。
S613,源AS与目标AS完成终端装置的上下文的迁移之后,源AS向源SMF发送上下文迁移完成消息。
S614,源AS与目标AS完成终端装置的上下文的迁移之后,目标AS向目标SMF发送上下文迁移完成消息。
可选地,S613与S614可以同时进行,或者S613在S614之前或之后。
S615-S616同S512-S513。
需要说明的是,S616与S610-S614的顺序没有任何限制,S616只要在S609之后即可。
S617,在S612之后,目标AS与目标UPF建立好链路之后,目标AS就可以向目标UPF发送下行业务报文。
S618,目标UPF既有S615中接收到来自源UPF的第一下行业务报文也有S617接收到来自目标AS的下行业务报文,若目标UPF在接收到第三指示信息之前有来自目标AS的下行业务报文时,将来自目标AS的下行业务报文缓存,当目标UPF在接收到第三指示信息之后,确定向接入网设备发送完第一下行业务报文之后,再向接入网设备发送来自目标AS的下行业务报文,这样,可以保证优先传输来自源AS的业务报文,再传输来自目标AS的下行业务报文,可以避免下行业务报文的乱序。
S619-S625同S516-S522。
需要说明的是,S620与前述的任何一个步骤都没有顺序的限制,终端装置需要发送上行业务报文时,即执行S620,并没有任何顺序限制。
作为S623可替换的方式,目标UPF接收来自目标AS的下行业务报文或者接收来自目标SMF发送的上下文迁移完成消息之后,目标UPF向源UPF发送第二指示信息。
换句话说,目标UPF向源UPF发送第二指示信息可以是分两种情况,情况一:目标UPF在接收到源UPF发送的第三指示信息之后,向源UPF发送第二指示信息;情况二:目标UPF在接收到目标AS的下行业务报文或者来自目标SMF发送的上下文迁移完成消息之后,向源UPF发送第二指示信息。
S626,在S614之后,目标SMF可以向目标UPF发送上下文迁移完成消息。
S627,在S626之后,表示目标UPF与目标AS建立好链路,目标UPF可以向目标AS发送上行业务报文。具体的,发送过程是:先发送第一上行业务报文,即来自源UPF的上行业务报文,再发送来直接自接入网设备的上行接入报文。
作为S626和S627的可替换的方式,目标SMF可以向目标UPF发送转发规则,该转发规则用于指示目标UPF切换上行业务报文的路径,目标UPF可以根据转发规则确定目 标UPF与目标AS已经建立好链路,目标UPF可以向目标AS发送上行业务报文。具体的,发送过程是:如果有第一上行业务报文,先发送第一上行业务报文,即来自源UPF的上行业务报文,再发送直接来自接入网设备的上行接入报文。
需要说明的是,第一上行业务报文为在终端装置的上下文迁移过程中,已经发送到源UPF但还没有转发给源AS的上行业务报文,已经发送在源UPF的报文也可以称为旧路径或者原路径上的报文,此时需要将旧路径或者原路径上的报文转发到目标UPF,通过目标UPF转发至目标AS,以避免上行业务报文的丢失。并且通过第一指示信息指示旧路径或者原路径上的报文结束了,这样目标UPF保证旧路径或者原路径上的上行业务报文发送完成之后,再发送来自接入网设备的上行业务报文,可以避免上行业务报文出现乱序的问题。
对于下行业务报文,如图10所示,终端装置在移动之前,下行业务报文的传输路径为:源AS-源UPF-源接入网设备-终端装置。终端装置从源接入网设备的覆盖范围内移动到目标接入网设备的范围时,终端装置空口切换到目标接入网设备,此时,下行业务报文的传输路径为:源AS-源UPF-目标UPF-目标接入网设备-终端装置,此路径为称之为旧路径或者原路径。在旧路径或者原路径上业务报文的传输路径变长,导致旧路径或者原路径上的报文的时延较大,因此,有必要将下行业务报文的路径进行切换,切换至新路径:目标AS-目标UPF-目标接入网设备-终端装置。但是在将下行业务报文的路径从旧路径或者原路径切换至新路径上时,旧路径上的下行业务报文容易乱序。本申请实施例中,目标UPF可以同时接收来自旧路径以及新路径上的下行业务报文,即目标UPF可以既接收源UPF发送的下行业务报文也可以接收目标AS发送的下行业务报文。对于旧路径上的下行业务报文,源AS向源UPF发送第四指示信息,来指示源AS向源UPF发送的最后一个下行业务报文为第一下行业务报文,源UPF接收到第四指示信息之后,并发送完第一下行业务报文之后,源UPF向目标UPF发送第三指示信息,来指示来自源AS的下行业务报文结束。目标UPF在接收到第三指示信息之前,将来自旧路径上的下行业务报文按序向目标接入网设备发送,将来自新路径上的报文进行缓存,直到目标UPF接收到第三指示信息,并且保证旧路径上的下行业务报文都已经发送完毕之后,再发送新路径上的下行业务报文,这样,可以避免下行业务报文乱序的问题。换句话说,对于目标UPF需要保证旧路径上的下行业务报文都发送完毕之后才能发送新路径上的下行业务报文。
对于上行业务报文,如图11所示,终端装置在移动之前,上行业务报文的传输路径为:终端装置-源接入网设备-源UPF-源AS。终端装置从源接入网设备的覆盖范围内移动到目标接入网设备的范围时,终端装置空口切换到目标接入网设备,此时,上行业务报文的传输路径为:终端装置-目标接入网设备-目标UPF-源UPF-源AS,此路径为称之为旧路径或者原路径。在旧路径或者原路径上业务报文的传输路径变长,导致旧路径或者原路径上的业务报文的时延较大。因此,有必要将上行业务报文的路径进行切换,切换至新路径:终端装置-目标接入网设备-目标UPF-目标AS。但是在将上行业务报文的路径从旧路径或者原路径切换至新路径上时,旧路径上的上行业务报文容易丢失。本申请实施例中,目标UPF可以缓存目标接入网设备发送的上行业务报文,在切换路径的过程中,有一部分来自目标接入网设备的上行业务报文发送给了源UPF(旧路径),目标UPF可以先缓存路径切换过程中来自目标接入网设备的上行业务报文。对于旧路径上的上行业务报文,当目标 UPF接收到源UPF发送的第三指示信息,来指示旧路上的下行业务报文发送结束。目标UPF向源UPF发送最后一个上行业务报文的同时可以发送第二指示信息,来指示来自目标UPF的上行业务报文结束,目标UPF开始缓存来自目标接入网设备的上行业务报文。源UPF在向源AS发送完最后一个上行业务报文(第二上行业务报文)之后,将接收到来自目标UPF的所有的上行业务报文以及第一指示信息发送给目标UPF,即将切换过程中旧路径上的报文转发至新路径上,目标UPF可以根据第一指示信息确定旧路径上的上行业务报文发送结束,目标UPF确保旧路径上的业务报文都已经按序向目标AS发送完毕之后,再发送缓存的来自目标接入网设备的上行业务报文。这样,在避免上行业务报文丢失的同时可以避免上行业务报文乱序的问题。换句话说,对于目标UPF需要保证旧路径上的上行业务报文都发送完毕之后才能发送新路径上的上行业务报文。
需要说明的是,本申请实施例以源AS与目标AS需要迁移终端装置的上下文为例描述,例如,方法400的S401中的第一通知信息包括终端装置的标识,方法500的S502和方法600中的S602中的上下文迁移请求消息包括终端装置的标识。但是本申请实施例不限于此,终端装置可能正在运行某个应用(application,APP),这种情况下,源AS与目标AS需要迁移终端装置的应用的上下文,例如,方法400的S401中的第一通知信息包括终端装置的标识和应用的标识,方法500的S502和方法600中的S602中的上下文迁移请求消息包括终端装置的标识和应用的标识。终端装置可能正在运行某个PDU会话,这种情况下,源AS与目标AS需要迁移终端装置的PDU会话的上下文,例如,方法400的S401中的第一通知信息包括终端装置的标识和PDU会话的标识,方法500的S502和方法600中的S602中的上下文迁移请求消息包括终端装置的标识和会话的标识。为了避免赘述本申请实施例不详细举例说明。
也需要说明的是,前述方法的隧道信息建立的隧道可以是终端级别的或者PDU会话级别的或者UPF设备级别的,即终端级别的表示同一个终端装置共用一个隧道,PDU会话级别的表示同一个UE的同一个PDU会话共用一个隧道,UPF设备级别的标识在源UPF和目标UPF之间建立一个设备级的隧道,所有的终端和会话都共用该隧道。在一些可能的实现方式中,源UPF与目标UPF可以提前建立好UPF设备级的隧道,即就不需要执行前述的获取隧道信息以及发送隧道信息的过程。在另外一些可能的实现方式中,当终端装置移动到目标接入网设备时,中心SMF可以预先建立好源UPF与目标UPF之间的终端级别的或者PDU会话级别的隧道,即就不需要前述的获取隧道信息以及发送隧道信息的过程。
也需要说明的是,本申请实施例中可以先发送第一下行业务报文再发送第三指示信息,或者可以同时发送第一下行业务报文和第三指示信息。在同时发送第一下行业务报文和第三指示信息的情况下,可以在第一下行业务报文的报文头中的特定的比特为设置为特定的取值,例如,特定的取值为1或0,即特定的取值为0或1时,表示该第一下行业务报文为来自源AS的最后一个下行业务报文。
本申请实施例中可以先发送第一上行业务报文再发送第一指示信息(或者第二指示信息),或者可以同时发送第一上行业务报文和第一指示信息(或者第二指示信息)。在同时发送第一上行业务报文和第一指示信息(或者第二指示信息)的情况下,可以在第一下行业务报文中的最后一个的业务报文头中的特定的比特为设置为特定的取值作为第一指 示信息或第二指示信息,例如,特定的取值为1或0,即特定的取值为0或1时,表示该第一上行业务报文结束。
以上结合图1至图11,详细得描述了本申请实施例提供的用于传输业务报文的方法,下面结合图12至图15,详细描述本申请实施例提供的用于传输业务报文的装置。
图12示出了本申请实施例提供的用于传输业务报文的装置700的示意性框图,该装置700可以对应上述方法中描述的目标UPF网元,也可以对应目标UPF网元的芯片或者组件,并且,该装置700中各个模块或者单元分别可以用于执行上述方法中目标UPF网元所执行的各动作或处理过程,如图12所示,该用于传输业务报文的装置700可以包括接收单元710和发送单元720。
接收单元710,用于接收来自源用户面功能用户面网元的第一上行业务报文,第一上行业务报文为源UPF接收到第二上行业务报文之后所接收的上行业务报文,第二上行业务报文为源用户面网元向源应用服务器AS发送的最后一个上行业务报文;
接收单元710还用于:接收来自源UPF的第一指示信息,第一指示信息用于指示源用户面网元发送第一上行业务报文结束;
发送单元720,用于在接收到第一指示信息之后,当第一上行业务报文发送完毕,向目标AS发送由接入网设备发送给目标UPF的上行业务报文。
作为一个可选实施例,发送单元720还用于:在接收来自源用户面网元的第一上行业务报文之前,向源用户面网元发送第一上行业务报文和第二指示信息,第二指示信息用于指示目标UPF发送第一上行业务报文结束。
作为一个可选实施例,接收单元710还用于:在接收来自源UPF网元的第一上行业务报文之前,接收来自源UPF网元的第一下行业务报文和第三指示信息,第三指示信息用于指示来自源AS的下行业务报文发送结束。
作为一个可选实施例,发送单元720还用于:在收到来自源用户面网元的第三指示信息之后,并且当第一下行业务报文发送完毕,向接入网设备发送来自目标AS发送的下行业务报文。
作为一个可选实施例,发送单元720具体用于:根据第三指示信息向源用户面网元发送第二指示信息。
作为一个可选实施例,发送单元720具体用于:接收来自目标AS的下行业务报文或者接收来自会话管理功能SMF网元发送的上下文迁移完成消息之后,向源用户面网元发送第二指示信息。
应理解,装置700中各单元执行上述相应步骤的具体过程请参照前文中结合图5-图11的方法实施例的描述,为了简洁,这里不加赘述。
图13示出了本申请实施例提供的用于传输业务报文的装置800的示意性框图,该装置800可以对应上述方法中描述的源UPF网元,也可以对应源UPF网元的芯片或者组件,并且,该装置800中各个模块或者单元分别可以用于执行上述方法中源UPF网元所执行的各动作或处理过程,如图13所示,该用于传输业务报文的装置800可以包括接收单元810和发送单元820。
接收单元810,用于接收到第二上行业务报文之后,接收第一上行业务报文,第二上行业务报文为装置800向源应用服务器发送的最后一个上行业务报文;
发送单元820,用于向目标UPF网元发送第一上行业务报文;
发送单元820还用于向目标UPF发送第一指示信息,第一指示信息用于指示装置800发送第一上行业务报文结束。
作为一个可选实施例,接收单元810还用于在向目标UPF网元发送第一上行业务报文之前,接收来自目标UPF网元的第二指示信息,第二指示信息用于指示目标UPF发送第一上行业务报文结束。
作为一个可选实施例,发送单元820还用于:在向目标UPF网元发送第一上行业务报文之前,向目标UPF网元发送第一下行业务报文和第三指示信息,第三指示信息用于指示来自源AS的下行业务报文发送结束。
作为一个可选实施例,接收单元810具体用于:接收目标用户面网元根据第三指示信息发送的第二指示信息。
作为一个可选实施例,接收单元810具体用于:在向目标用户面网元发送第一下行业务报文和第三指示信息之前,接收第一网元发送的第四指示信息,第四指示信息用于指示第一下行业务报文为来自源AS的最后一个下行业务报文;
发送单元820还用于:向第一网元发送第五指示信息,第五指示信息用于指示第二上行业务报文为装置发送给源AS的最后一个上行业务报文
应理解,装置800中各单元执行上述相应步骤的具体过程请参照前文中结合图5-图11的方法实施例的描述,为了简洁,这里不加赘述。
图14示出了本申请实施例提供的用于传输业务报文的装置900的示意性框图,该装置900可以对应上述方法中描述的源AS,也可以对应源AS的芯片或者组件,并且,该装置900中各个模块或者单元分别可以用于执行上述方法中源AS所执行的各动作或处理过程,如图14所示,该用于传输业务报文的装置900可以包括收发单元910和迁移单元920。
收发单元910,用于接收会话管理功能SMF网元发送的第一通知信息,第一通知信息用于通知数据网络接入点标识DNAI发生变化或用于通知UPF网元发生变化,第一通知信息包括目标数据网络接入点标识DNAI和终端装置的标识;
迁移单元920,用于确定处理完第一下行业务报文和第二上行业务报文之后,与目标DNAI对应的目标AS进行终端装置的上下文的迁移,其中,第一下行业务报文为装置向源用户面功能UPF网元发送的最后一个下行业务报文,第二上行业务报文为源UPF网元向装置发送的最后一个上行业务报文。
作为一个可选实施例,收发单元910还用于:在与目标DNAI对应的目标AS进行终端装置的上下文的迁移之前,向源UPF网元发送第四指示信息,第四指示信息用于指示第一下行业务报文为来自装置的最后一个下行业务报文;
接收源UPF网元发送的第五指示信息,第五指示信息用于指示第二上行业务报文为源UPF网元发送给装置的最后一个上行业务报文。
应理解,装置900中各单元执行上述相应步骤的具体过程请参照前文中结合图5-图11的方法实施例的描述,为了简洁,这里不加赘述。
上述各个方案的装置700具有实现上述方法中目标UPF网元执行的相应步骤的功能,上述各个方案的装置800具有实现上述方法中源UPF网元执行的相应步骤的功能;上述 各个方案的装置900具有实现上述方法中源AS执行的相应步骤的功能;功能可以通过硬件或软件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的模块;例如发送单元可以由通信接口替代,接收单元可以由通信接口替代,其它单元,如确定单元等可以由处理器替代,分别执行各个方法实施例中的收发操作以及相关的处理操作。在本申请实施例中,一个装置的通信接口用于该装置与其它设备进行通信。示例性的,通信接口可以是发射机、接收机、收发器、电路、总线、模块、管脚或其它类型的通信接口,本申请实施例不做限制。
在具体实现过程中,处理器可用于进行,例如但不限于,基带相关处理,通信接口可用于进行,例如但不限于,信息交互。上述器件可以分别设置在彼此独立的芯片上,也可以至少部分的或者全部的设置在同一块芯片上。例如,处理器可以进一步划分为模拟基带处理器和数字基带处理器,其中模拟基带处理器可以与通信接口集成在同一块芯片上,数字基带处理器可以设置在独立的芯片上。随着集成电路技术的不断发展,可以在同一块芯片上集成的器件越来越多,例如,数字基带处理器可以与多种应用处理器(例如但不限于图形处理器,多媒体处理器等)集成在同一块芯片之上。这样的芯片可以称为系统芯片(system on chip,SOC)。将各个器件独立设置在不同的芯片上,还是整合设置在一个或者多个芯片上,往往取决于产品设计的具体需要。本申请实施例对上述器件的具体实现形式不做限定。
可以理解的是,对于前述实施例中所涉及的处理器可以通过具有处理器和通信接口的硬件平台执行程序指令来分别实现其在本申请前述实施例中任一设计中涉及的功能,基于此,如图15所示,本申请实施例提供了一种用于传输报文的装置1000的示意性框图,装置1000包括:处理器1010、通信接口1020和存储器1030。其中,处理器1010、通信接口1020和存储器1030耦合以互相通信,该存储器1030用于存储指令,该处理器1010用于执行该存储器1030存储的指令,以控制该通信接口1020发送信号和/或接收信号。本申请实施例中的耦合是装置、单元或模块之间的间接耦合或通信连接,可以是电性,机械或其它的形式,用于装置、单元或模块之间的信息交互。
其中,在一种可能的实现方式中,若该装置1000为目标UPF网元,通信接口1020用于接收来自源用户面功能UPF网元的第一上行业务报文,第一上行业务报文为源UPF接收到第二上行业务报文之后所接收的上行业务报文,第二上行业务报文为源UPF网元向源应用服务器AS发送的最后一个上行业务报文;通信接口1020还用于接收来自源UPF的第一指示信息,第一指示信息用于指示源UPF发送第一上行业务报文结束;通信接口1020还用于在接收到第一指示信息之后,当第一上行业务报文发送完毕,向目标AS发送由接入网设备发送给目标UPF的上行业务报文。
在一种可能的实现方式中,若该装置1000为源UPF网元,通信接口1020用于接收到第二上行业务报文之后,接收第一上行业务报文,第二上行业务报文为装置1000向源应用服务器发送的最后一个上行业务报文,通信接口1020还用于向目标用户面功能UPF网元发送第一上行业务报文;通信接口1020还用于向目标UPF发送第一指示信息,第一指示信息用于指示装置1000发送的第一上行业务报文结束。
在一种可能的实现方式中,若该装置1000为源AS网元,通信接口1020用于接收会话管理功能SMF网元发送的第一通知信息,第一通知信息用于通知数据网络接入点标识 DNAI发生变化或用于通知UPF网元发生变化,第一通知信息包括目标数据网络接入点标识DNAI和终端装置的标识;处理器1010用于确定处理完第一下行业务报文和第二上行业务报文之后,与目标DNAI对应的目标AS进行终端装置的上下文的迁移,其中,第一下行业务报文为装置1000向源用户面功能UPF网元发送的最后一个下行业务报文,第二上行业务报文为源UPF向装置1000发送的最后一个上行业务报文。
应理解,本申请实施例图12中的装置或图13中的装置或图14中的装置可以通过图15中的装置1000来实现,并且可以用于执行上述方法实施例中目标UPF、源UPF以及源AS对应的各个步骤和/或流程。
可以理解的是,本申请实施例描述的各种设计涉及的方法,流程,操作或者步骤,能够以一一对应的方式,通过计算机软件,电子硬件,或者计算机软件和电子硬件的结合来一一对应实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件,比如,考虑通用性好成本低软硬件解耦等方面,可以采纳执行程序指令的方式来实现,又比如,考虑系统性能和可靠性等方面,可以采纳使用专用电路来实现。普通技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,此处不做限定。
根据本申请实施例提供的方法,本申请还提供一种计算机程序产品,该计算机程序产品包括:计算机程序代码,当该计算机程序代码在计算机上运行时,使得该计算机执行上述实施例中的方法。本申请中的各个实施例也可以互相结合。
根据本申请实施例提供的方法,本申请还提供一种计算机可读介质,该计算机可读解释存储有程序代码,当该程序代码在计算机上运行时,使得该计算机执行上述实施例中的方法。
在本申请实施例中,应注意,本申请实施例上述的方法实施例可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(Field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。RAM有多种不同的类型,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
本申请中出现的术语“第一”、“第二”等仅是为了区分不同的对象,“第一”、“第二”本身并不对其修饰的对象的实际顺序或功能进行限定。本申请中被描述为“示例性的”,“示例”,“例如”,“可选地”或者“在某些实现方式中”的任何实施例或设计方案都不应被解释为比其他实施例或设计方案更优选或更具优势。确切而言,使用这些词旨在以具体方式呈现相关概念。
在本申请中可能出现的对各种消息/信息/设备/网元/系统/装置/操作/等各类客体进行了赋名,可以理解的是,这些具体的名称并不构成对相关客体的限定,所赋名称可随着场景,语境或者使用习惯等因素而变更,对本申请中技术术语的技术含义的理解,应主要从其在技术方案中所体现/执行的功能和技术效果来确定。
上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品可以包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、网络设备、终端装置或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁盘)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本申请实施例中,在无逻辑矛盾的前提下,各实施例之间可以相互引用,例如方法实施例之间的方法和/或术语可以相互引用,例如装置实施例之间的功能和/或术语可以相互引用,例如装置实施例和方法实施例之间的功能和/或术语可以相互引用。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间 接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (23)

  1. 一种用于传输业务报文的方法,其特征在于,包括:
    目标用户面网元接收来自源用户面网元的第一上行业务报文,所述第一上行业务报文为所述源用户面网元接收到第二上行业务报文之后所接收的上行业务报文,所述第二上行业务报文为所述源用户面网元向源应用服务器发送的最后一个上行业务报文;
    所述目标用户面网元接收来自所述源用户面网元的第一指示信息,所述第一指示信息用于指示所述源用户面网元发送第一上行业务报文结束;
    在所述目标用户面网元接收到所述第一指示信息之后,当所述第一上行业务报文发送完毕,所述目标用户面网元向目标应用服务器发送由接入网设备发送给所述目标用户面网元的上行业务报文。
  2. 根据权利要求1所述的方法,其特征在于,在所述目标用户面网元接收来自源用户面网元的第一上行业务报文之前,所述方法还包括:
    所述目标用户面网元向所述源用户面网元发送所述第一上行业务报文和第二指示信息,所述第二指示信息用于指示所述目标用户面网元发送所述第一上行业务报文结束。
  3. 根据权利要求2所述的方法,其特征在于,在所述目标用户面网元接收来自源用户面网元的第一上行业务报文之前,所述方法还包括:
    所述目标用户面网元接收来自源用户面网元的第一下行业务报文和第三指示信息,所述第三指示信息用于指示来自所述源应用服务器的下行业务报文发送结束。
  4. 根据权利要求3所述的方法,其特征在于,在所述目标用户面网元收到来自所述源用户面网元的所述第三指示信息之后,所述方法还包括:
    当所述第一下行业务报文发送完毕,所述目标用户面网元向所述接入网设备发送来自所述目标应用服务器发送的下行业务报文。
  5. 根据权利要求3或4所述的方法,其特征在于,所述目标用户面网元向所述源用户面网元发送所述第二指示信息,包括:
    所述目标用户面网元根据所述第三指示信息向所述源用户面网元发送所述第二指示信息。
  6. 根据权利要求2至4中任一项所述的方法,其特征在于,所述目标用户面网元向所述源用户面网元发送所述第二指示信息,包括:
    所述目标用户面网元接收来自所述目标应用服务器的下行业务报文或者接收来自会话管理功能网元发送的上下文迁移完成消息之后,所述目标用户面网元向所述源用户面网元发送所述第二指示信息。
  7. 一种用于传输业务报文的方法,其特征在于,包括:
    所述源用户面网元接收到第二上行业务报文之后,所述源用户面网元接收目标用户面网元发送的第一上行业务报文,所述第二上行业务报文为所述源用户面网元向源应用服务器发送的最后一个上行业务报文;
    所述源用户面网元向所述目标用户面网元发送所述第一上行业务报文;
    所述源用户面功能网元向所述目标用户面功能网元发送第一指示信息,所述第一指示 信息用于指示所述源用户面网元发送第一上行业务报文结束。
  8. 根据权利要求7所述的方法,其特征在于,在所述源用户面网元向目标用户面网元发送第一上行业务报文之前,所述方法还包括:
    所述源用户面网元接收来自所述目标用户面网元的所述第二指示信息,所述第二指示信息用于指示所述目标用户面网元发送所述第一上行业务报文结束。
  9. 根据权利要求8所述的方法,其特征在于,在所述源用户面网元向目标用户面网元发送第一上行业务报文之前,所述方法还包括:
    所述源用户面网元向所述目标用户面网元发送第一下行业务报文和第三指示信息,所述第三指示信息用于指示来自所述源应用服务器的下行业务报文发送结束。
  10. 根据权利要求9所述的方法,其特征在于,所述源用户面网元接收来自所述目标用户面网元的所述第二指示信息,包括:
    所述源用户面网元接收所述目标用户面网元根据所述第三指示信息发送的所述第二指示信息。
  11. 根据权利要求9所述的方法,其特征在于,在所述源用户面网元向目标用户面网元发送第一下行业务报文和第三指示信息之前,所述方法还包括:
    所述源用户面网元接收第一网元发送的第四指示信息,所述第四指示信息用于指示所述第一下行业务报文为来自所述源应用服务器的最后一个下行业务报文;
    所述源用户面网元向所述第一网元发送所述第五指示信息,所述第五指示信息用于指示所述第二上行业务报文为所述源用户面网元发送给所述源应用服务器的最后一个上行业务报文。
  12. 一种用于传输业务报文的方法,其特征在于,包括:
    源应用服务器接收会话管理功能网元发送的第一通知信息,所述第一通知信息用于通知数据网络接入点标识发生变化或用于通知目标用户面功能用户面网元发生变化,所述第一通知信息包括目标数据网络接入点标识和终端装置的标识;
    当所述源应用服务器处理完第一下行业务报文和第二上行业务报文之后,所述源应用服务器与所述目标数据网络接入点标识对应的目标应用服务器进行所述终端装置的上下文的迁移,其中,所述第一下行业务报文为所述源应用服务器向源用户面网元发送的最后一个下行业务报文,所述第二上行业务报文为所述源用户面网元向所述源AS发送的最后一个上行业务报文。
  13. 根据权利要求12所述的方法,其特征在于,在所述源应用服务器与所述目标数据网络接入点标识对应的目标应用服务器进行所述终端装置的上下文的迁移之前,所述方法还包括:
    所述源应用服务器向所述源用户面网元发送第四指示信息,所述第四指示信息用于指示所述第一下行业务报文为来自所述源应用服务器的最后一个下行业务报文;
    所述源应用服务器接收所述源用户面网元发送的第五指示信息,所述第五指示信息用于指示所述第二上行业务报文为所述源用户面网元发送给所述源应用服务器的最后一个上行业务报文。
  14. 一种用于传输业务报文的装置,其特征在于,包括用于执行权利要求1-6中任一项方法的单元。
  15. 一种用于传输业务报文的的装置,其特征在于,包括用于执行权利要求7-11中任一项方法的单元。
  16. 一种用于传输业务报文的装置,其特征在于,包括用于执行权利要求12或13所述方法的单元。
  17. 一种用于传输业务报文的系统,包括权利要求14所述的装置和权利要求15所述装置,或者包括权利要求14所述的装置、权利要求15所述的装置以及权利要求16所述的装置,或者包括权利要求14所述的装置、权利要求15所述的装置以及接入网设备,或者包括权利要求14所述的装置、权利要求15所述的装置、权利要求16所述的装置以及接入网设备,所述接入网设备用于与权利要求14所述的装置传输业务报文。
  18. 一种计算机可读存储介质,其特征在于,包括计算机程序,所述计算机程序在计算机上被执行时,使得计算机执行如权利要求1-6中任一项所述的方法。
  19. 一种计算机可读存储介质,其特征在于,包括计算机程序,所述计算机程序在计算机上被执行时,使得计算机执行如权利要求7-11中任一项所述的方法。
  20. 一种计算机可读存储介质,其特征在于,包括计算机程序,所述计算机程序在计算机上被执行时,使得计算机执行如权利要求12或13所述的方法。
  21. 一种芯片,其特征在于,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行如权利要求1-6中任一项所述的方法。
  22. 一种芯片,其特征在于,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行如权利要求7-11中任一项所述的方法。
  23. 一种芯片,其特征在于,包括处理器和存储器,所述存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以执行如权利要求12或13所述的方法。
PCT/CN2020/097394 2019-06-24 2020-06-22 用于传输业务报文的方法和装置 WO2020259430A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20833120.7A EP3979700A4 (en) 2019-06-24 2020-06-22 METHOD AND DEVICE FOR TRANSMITTING A SERVICE MESSAGE
US17/558,059 US20220116828A1 (en) 2019-06-24 2021-12-21 Service packet transmission method and apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910551334.0A CN112135320B (zh) 2019-06-24 2019-06-24 用于传输业务报文的方法和装置
CN201910551334.0 2019-06-24

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/558,059 Continuation US20220116828A1 (en) 2019-06-24 2021-12-21 Service packet transmission method and apparatus

Publications (1)

Publication Number Publication Date
WO2020259430A1 true WO2020259430A1 (zh) 2020-12-30

Family

ID=73849755

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/097394 WO2020259430A1 (zh) 2019-06-24 2020-06-22 用于传输业务报文的方法和装置

Country Status (4)

Country Link
US (1) US20220116828A1 (zh)
EP (1) EP3979700A4 (zh)
CN (1) CN112135320B (zh)
WO (1) WO2020259430A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021065012A1 (ja) * 2019-10-04 2021-04-08 株式会社Nttドコモ アクセス制御装置、及びユーザプレーン装置
CN116866885A (zh) * 2022-03-28 2023-10-10 华为技术有限公司 一种通信方法和装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018137489A1 (zh) * 2017-01-26 2018-08-02 中兴通讯股份有限公司 一种策略控制方法、装置、系统及存储介质
WO2019035406A1 (en) * 2017-08-15 2019-02-21 Nec Corporation APPARATUS AND METHOD FOR RECOVERING AND APPLYING POLICIES FOR POST-UPF MOBILE TRAFFIC ORIENTATION IN THE NEXT GENERATION (5G) 3GPP ARCHITECTURE
CN109842639A (zh) * 2017-11-24 2019-06-04 华为技术有限公司 实现切换过程中业务连续性的方法、设备及系统

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101651971B (zh) * 2009-09-15 2012-05-09 新邮通信设备有限公司 一种下行切换方法及系统
US10321371B2 (en) * 2016-04-11 2019-06-11 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for communication over network slices in wireless communication systems
KR102549946B1 (ko) * 2017-01-09 2023-06-30 삼성전자주식회사 이동통신 환경에서 단말의 초기 접속 요청 메시지를 라우팅하는 방법 및 관련 파라미터
CN109691179B (zh) * 2017-03-22 2021-01-29 华为技术有限公司 一种会话迁移方法及设备
CN108632928B (zh) * 2017-03-24 2020-08-14 华为技术有限公司 一种切换核心网的方法及装置
US20180324631A1 (en) * 2017-05-05 2018-11-08 Mediatek Inc. Using sdap headers for handling of as/nas reflective qos and to ensure in-sequence packet delivery during remapping in 5g communication systems
WO2018206844A1 (en) * 2017-05-08 2018-11-15 Nokia Technologies Oy Routing and policy management at network edge
CN113194157B (zh) * 2017-06-30 2022-10-28 华为技术有限公司 一种应用实例地址的转换方法和装置
CN109673008B (zh) * 2017-10-17 2022-04-22 华为技术有限公司 终端设备的状态的确定方法、装置及设备
CN109756937A (zh) * 2017-11-01 2019-05-14 中国移动通信有限公司研究院 业务连续性保障方法、功能网元及存储介质
CN109788513B (zh) * 2017-11-13 2021-03-23 中国电信股份有限公司 边缘计算应用的数据同步方法、系统及控制器
CN109788514B (zh) * 2017-11-13 2021-03-23 中国电信股份有限公司 边缘计算应用的数据同步方法、系统及边缘计算平台

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018137489A1 (zh) * 2017-01-26 2018-08-02 中兴通讯股份有限公司 一种策略控制方法、装置、系统及存储介质
WO2019035406A1 (en) * 2017-08-15 2019-02-21 Nec Corporation APPARATUS AND METHOD FOR RECOVERING AND APPLYING POLICIES FOR POST-UPF MOBILE TRAFFIC ORIENTATION IN THE NEXT GENERATION (5G) 3GPP ARCHITECTURE
CN109842639A (zh) * 2017-11-24 2019-06-04 华为技术有限公司 实现切换过程中业务连续性的方法、设备及系统

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HUAWEI ET AL.: "S2-1903580: I-SMF Relocation With I-UPF As An ULCL Or BP.", 3GPP TSG-SA WG2 MEETING #132., 12 April 2019 (2019-04-12), XP051719727, DOI: 20200903221527A *
See also references of EP3979700A4

Also Published As

Publication number Publication date
EP3979700A4 (en) 2022-08-31
CN112135320B (zh) 2022-02-01
EP3979700A1 (en) 2022-04-06
US20220116828A1 (en) 2022-04-14
CN112135320A (zh) 2020-12-25

Similar Documents

Publication Publication Date Title
US11109263B2 (en) Data transmission method and data transmission apparatus
US11076317B2 (en) Radio access network node, core network node, radio terminal, and methods therefor
US20170019945A1 (en) Dual Connectivity Re-Establishment
KR102339053B1 (ko) 데이터 전달 방법, 장치, 및 시스템
US11259344B2 (en) Network architecture and information exchange method and apparatus
EP4027684A1 (en) Service configuration method, communication device, and communication system
US11895084B2 (en) IAB node dual connectivity setup method and communication apparatus
CN113507718B (zh) 通信方法和通信装置
WO2023011049A1 (zh) 一种通信方法及装置
US20230336269A1 (en) Service Packet Transmission Method and Apparatus
WO2020259430A1 (zh) 用于传输业务报文的方法和装置
JP2023535969A (ja) 論理チャネルlch設定方法、通信装置、および通信システム
WO2020042037A1 (zh) 无线通信方法和通信设备
US20230262790A1 (en) Method for releasing f1 connection and apparatus, and system
WO2021160057A1 (zh) 系统间切换方法和通信装置
WO2023020481A1 (zh) 用于传输数据的方法和装置
WO2023143270A1 (zh) 一种通信方法及装置
WO2020103086A1 (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: 20833120

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2020833120

Country of ref document: EP

Effective date: 20211229