[go: up one dir, main page]

WO2018040232A1 - Switching method and device - Google Patents

Switching method and device Download PDF

Info

Publication number
WO2018040232A1
WO2018040232A1 PCT/CN2016/101825 CN2016101825W WO2018040232A1 WO 2018040232 A1 WO2018040232 A1 WO 2018040232A1 CN 2016101825 W CN2016101825 W CN 2016101825W WO 2018040232 A1 WO2018040232 A1 WO 2018040232A1
Authority
WO
WIPO (PCT)
Prior art keywords
network device
core network
address
terminal
message
Prior art date
Legal status (The legal status 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 status listed.)
Ceased
Application number
PCT/CN2016/101825
Other languages
French (fr)
Chinese (zh)
Inventor
吴晓波
辛阳
李岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2016/105044 priority Critical patent/WO2018040278A1/en
Publication of WO2018040232A1 publication Critical patent/WO2018040232A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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
    • 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/14Reselecting a network or an air interface
    • H04W36/144Reselecting a network or an air interface over a different radio air interface technology
    • H04W36/1443Reselecting a network or an air interface over a different radio air interface technology between licensed networks

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a handover method and device.
  • 4th Generation (4G) mobile communication networks such as Long Term Evolution (LTE) networks
  • 4G network has won the praise of users and operators because of its fast communication speed, wide network spectrum and flexible communication.
  • 5G mobile communication network for example, requiring continuous wide-area coverage of 100 megabytes.
  • Mbps User experience rate per second
  • Gbps gigabyte per second
  • ms air interface delay within 1 millisecond
  • end-to-end delay within 100ms, reliability Guarantee and so on.
  • Interoperability between 4G networks and 2nd Generation (2G) mobile communication networks or 3rd Generation (3G) mobile communication networks involves many complex processes, such as mapping of bearer/tunnel models, mapping of quality of service (QoS) parameters, mapping of security parameters, default bearers, and allowable There is no default bearer handover, and so on.
  • QoS quality of service
  • Embodiments of the present invention provide a handover method and device, in order to simplify between different standard networks Interoperability process.
  • a first aspect of the embodiments of the present invention provides a handover method, including:
  • the first core network device receives a first handover request from the second core network device, where the first handover request carries a first internet protocol IP address and an address of a third core network device, the first IP address and the third The address of the core network device is used to establish a first access point name APN, where the first core network device is applied to the first standard network, and the second core network device and the third core network device are applied.
  • the first IP address is an IP address assigned by the second standard network to the terminal; and the first core network device is the first terminal in the first standard network to initiate the first a process of establishing an APN; the first core network device sends a second handover request to the access network device, wherein the access network device is applied to the first standard network; the first core network device is from the The access network device receives the response message of the second handover request; the first core network device sends a response message of the first handover request to the second core network device.
  • the first core network device of the first-standard network is the terminal according to the address of the first IP address and the third core network device. Initiating a setup process of the first APN, and sending a second handover request to the access network device, and receiving a response message of the second handover request sent by the access network device, after which the first handover request is sent to the second core network device. Response message.
  • the terminal can switch from the second network system to the first network standard.
  • the solution provided by the embodiment of the present invention does not require complicated mapping processes such as QoS mapping, Bearer ID mapping, and location identification, which simplifies the interoperation process between different standard networks, and is beneficial to the process of switching the terminal to a different standard network. Reduce the signaling interaction process of the network side device and improve the switching efficiency.
  • the first core network device initiates the establishment process of the first APN in the first standard network, and the first core network device sends the first core network device to the first gateway.
  • a first create session request message the first create session request message carrying the first IP address and an address of the third core network device; the first core network device receiving a first creation from the first gateway a session response message, the first create session response message is used to instruct the terminal to use the first IP address.
  • the first handover request further carries indication information, and the indication information The information is used to send the first notification message to the second core network device after the first core network device completes the process of establishing the first APN, and the method further includes: the first core network device The second core network device sends the first notification message, where the first notification message is used to notify the second core network device: the first core network device establishes the terminal for the terminal based on the first IP address.
  • the first APN The first APN.
  • the method before the first core network device sends the second handover request to the first access network device, the method further includes: the first core network device receiving from the first gateway Carrying a create request message; the first core network device sends a bearer creation response message to the first gateway.
  • the method further includes: the first core network device Initiating a process of establishing a second APN in the first standard network for the terminal.
  • the first handover request further carries a second IP address and an address of a fourth core network device, where the second IP address is an IP allocated by the second standard network to the terminal An address, the fourth core network device is applied to the second standard network, where the first core network device is a process for the terminal to initiate a second APN in the first standard network, including: a core network device sends a second create session request message to the first gateway, where the second create session request message carries the second IP address and an address of the fourth core network device; the first core network device The first gateway receives a second create session response message, where the second create session response message is used to indicate that the terminal uses the second IP address.
  • the method further includes: the first core The network device sends a second notification message to the second core network device, where the second notification message is used to notify the second core network device that the first core network device is based on the second IP address.
  • the terminal establishes the second APN.
  • the response message of the first handover request carries at least one of the following: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.
  • the first handover request further carries at least one of: an international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, the terminal a session management class context or terminal network capability information of the terminal in the first system network.
  • the method further includes: the first core network device from the first Receiving, by the gateway, a bearer creation request message; the first core network device receiving a completion message sent from the access network device and switching to the first standard network; the first core network device sending a bearer to the access network device Establishing a request message; the first core network device receives a bearer setup response message from the access network device; the first core network device sends a bearer creation response message to the first gateway.
  • the method further includes: the first core network device The second core network device sends a handover complete notification message; the first core network device receives a handover complete confirmation message from the second core network device.
  • a second aspect of the embodiments of the present invention further provides a handover method, including:
  • the second core network device receives the handover request message from the access network device, where the second core network device and the access network device are applied to the second standard network; and the second core network device is applied to the first core network
  • the device sends a first handover request, where the first handover request carries a first Internet Protocol IP address and an address of a third core network device, where the first IP address and the address of the third core network device are used by the terminal.
  • a process for establishing a first access point name APN of a standard network wherein the first core network device is applied to the first standard network, and the third core network device is applied to the second standard network.
  • the first IP address is an IP address assigned by the second standard network to the terminal; the second core network device receives a response message of the first handover request from the first core network device; the second core The network device sends a handover request response message to the access network device.
  • the second core network device of the second standard network receives the handover request message sent by the access network device of the second standard network, and the second core network device sends the first handover to the first core network device of the first standard network.
  • the first handover request carries the first internet protocol IP address and the address of the third core network device, and the first IP address and the address of the third core network device are used for the terminal in the first standard network
  • the second core network device receives the response message of the first handover request sent by the first core network device, and sends a handover request response message to the access network device.
  • the solution of the embodiment of the present invention does not require complex QoS mapping, Bearer ID mapping, location identification and other mapping processes, which simplifies the interoperation process between different standard networks, and is beneficial to reduce the terminal switching to different standard networks.
  • the signaling interaction process of the network side device improves the switching efficiency.
  • the first handover request further carries indication information, where the indication information is used to indicate to the second core network device after the first core network device completes the setup process of the first APN.
  • the method further includes: the second core network device receiving, by the first core network device, the a first notification message, the first notification message is used to notify the second core network device that the first core network device establishes the first APN for the terminal based on the first IP address.
  • the method further includes: sending, by the second core network device, to the second policy device a third notification message, the third notification message is used to notify the second policy device: the first core network device establishes the first APN for the terminal based on the first IP address, where The second policy device is applied to the second system network.
  • the first handover request further carries a second IP address and an address of a fourth core network device, where the second IP address and the address of the fourth core network device are used by the terminal a process of establishing a second APN of the first-standard network, where the fourth core network device is applied to the second-standard network, and the second IP address is allocated by the second-standard network to the terminal IP address.
  • the method further includes: the second core network device receiving the first core network device And a second notification message, where the second notification message is used to notify the second core network device that the first core network device establishes the second APN for the terminal based on the second IP address.
  • the second core network device receives from the first core network device After the second notification message, the method further includes: the second core network device sending a fourth notification message to the second policy device, where the fourth notification message is used to notify the second policy device: the first The core network device establishes the second APN for the terminal based on the second IP address, and the second policy device is applied to the second standard network.
  • the method before the second core network device sends the first handover request to the first core network device, the method further includes: the second core network device receiving an attach request message from the terminal, where The attach request message carries terminal network capability information of the terminal in the first standard network.
  • the method before the sending, by the second core network device, the first handover request to the first core network device, the method further includes: the second core network device sending a query request message to the terminal; The second core network device receives a query request response message from the terminal, and the query request response message carries terminal network capability information of the terminal in the first standard network.
  • the first handover request further carries at least one of: an international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, the terminal The session management class context or the terminal network capability information of the terminal in the first system network.
  • the response message of the first handover request carries at least one of the following: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.
  • the method further includes: the second core network device to the second The policy device sends a seventh notification message, where the seventh notification message is used to notify the second policy device that the terminal switches from the second standard network to the first standard network.
  • the method further includes: the second core network device to the first The core network device sends a handover complete confirmation message; the second core network device sends a ninth notification message to the second policy device, where the ninth notification message is used to notify the second policy device: the terminal The second system network switches to the first system network.
  • a third aspect of the embodiments of the present invention provides a method for creating a session, including:
  • the first gateway receives a first create session request message from the first core network device, where the first create session request message carries a first internet protocol IP address and a third core network device address, the first IP address and the first The address of the third core network device is used to establish a first access point name APN of the terminal in the first standard network, and the first core network device is applied to the first standard network, and the third core network device is applied.
  • the first IP address is an IP address assigned by the second standard network to the terminal; the first gateway sends a third create session request message to the second gateway, where the third creation is The session request message carries the first IP address and an address of the third core network device; the first gateway receives a third create session response message from the second gateway, where the third create session response message is used Instructing the terminal to use the first IP address; the first gateway sends a first create session response message to the first core network device, where the first create session response message is used to indicate Terminal uses the first IP address.
  • the method further includes: the first gateway receiving the second creation from the first core network device a session request message, where the second create session request message carries a second internet protocol IP address and an address of a fourth core network device, where the second IP address and the address of the fourth core network device are used by the terminal a process of establishing a second APN of the first-standard network, where the fourth core network device is applied to the second-standard network, and the second IP is allocated by the second-standard network to the terminal An IP address; the first gateway sends a fourth create session request message to the second gateway, where the fourth create session request message carries the second IP address and an address of the fourth core network device; The first gateway receives a fourth create session response message from the second gateway, where the fourth create session response message is used to indicate that the terminal uses the second IP address; the first gateway is to the first A second core network apparatus transmits a Create Session Response message, the first message is used to create
  • a fourth aspect of the embodiments of the present invention provides a method for creating a session, including:
  • the second gateway receives a third create session request message from the first gateway, where the third create session request message carries a first internet protocol IP address and an address of a third core network device, the first IP address and the third The address of the core network device is used for the first access point name of the terminal in the first standard network.
  • the APN establishing process wherein the third core network device is applied to the second standard network, the first IP address is an IP address allocated by the second standard network to the terminal; and the second gateway is a policy device sends a first credit control request message, where the first credit control request message is used to request to establish an IP connectivity access network session for the terminal based on the first IP address, where the first policy device Applying to the first standard network; the second gateway receives a first credit control response message from the first policy device; the second gateway sends a third create session response message to the first gateway, The third create session response message is used to instruct the terminal to use the first IP address.
  • the method further includes: the second gateway according to the address of the third core network device
  • the third core network device sends a first session establishment request message, where the first session establishment request message carries an address of the second gateway; and the second gateway receives a first session establishment response from the third core network device Message.
  • the first session establishment request message further carries an address of the first gateway.
  • the method further includes: the second gateway receiving a fourth create session request from the first gateway a message, the fourth create session request message carries a second internet protocol IP address and an address of a fourth core network device, where the second IP address and the address of the fourth core network device are used by the terminal a process of establishing a second APN of the first standard network, wherein the fourth core network device is applied to the second standard network, and the second IP address is an IP allocated by the second standard network to the terminal
  • the second gateway sends a second credit control request message to the first policy device, where the second credit control request message is used to request to establish an IP connectivity access network for the terminal based on the second IP a second gateway receives a second credit control response message from the first policy device; the second gateway sends a fourth create session response message to the first gateway, the fourth create session Message should be used to instruct the terminal to use the second IP address.
  • the method further includes: the second gateway according to the address of the second core network device
  • the fourth core network device sends a second session establishment request message, the second session establishment request The message carries an address of the second gateway; the second gateway receives a second session establishment response message from the fourth core network device.
  • the second session establishment request message further carries an address of the first gateway.
  • a fifth aspect of the embodiments of the present invention provides a method for creating a session, including:
  • the second policy device receives a service establishment request message from the application function device, where the service establishment request message carries the service requirement information, where the second policy device is applied to the second system network, and the application function device is applied to the first system.
  • the method further includes: the second policy device receiving a third notification message or a fourth notification message from the second core network device, where the third notification message is used to notify the second policy
  • the first core network device establishes a first access point name APN in the first standard network
  • the fourth notification message is used to notify the second policy, based on the first Internet Protocol IP address.
  • the device the first core network device establishes a second APN in the second standard network for the terminal based on the second IP address, where the first core network device is applied to the first standard network, The second core network device is applied to the second standard network, and the first IP address and the second IP address are IP addresses allocated by the second standard network to the terminal; the second policy The device establishes a second bearer for the terminal in the first standard network.
  • the method further includes: the second policy device sending the fifth message to the application function device a notification message, the fifth notification message is used to notify the application function device that the first core network device establishes the first APN in the first standard network for the terminal based on the first IP address And/or, the first core network device establishes the second APN in the first standard network for the terminal based on the second IP address.
  • the second policy device establishes a second bearer for the terminal in the first standard network, including: the second policy device according to the first IP address or the second IP The address is used to search for the service request information; the second policy device establishes the second bearer in the first standard network for the terminal according to the service requirement information.
  • the method further includes: the second policy device transmitting a credit re-authorization request message to the second gateway; the second policy device receiving a credit re-authorization response message from the second gateway.
  • the method before the second policy device sends a credit re-authorization request message to the second gateway, the method further includes: the second policy device according to the radio access technology type of the first-standard network And addressing to the second gateway according to the first IP address or the second IP address.
  • the method further includes: the second policy device receiving a seventh notification message or a ninth notification message from the second core network device, where the seventh notification message or the ninth notification message is used for notification
  • the second policy device the terminal switches from the second standard network to the first standard network, wherein the second core network device is applied to the second standard network.
  • the method further includes: the second policy device is configured according to the service requirement information The terminal establishes the second bearer in the first standard network.
  • the method further includes: sending, by the second policy device, the application function device And an eighth notification message, where the eighth notification message is used to notify the application function device that the terminal switches from the second standard network to the first standard network.
  • a sixth aspect of the embodiments of the present invention provides a method for establishing a bearer, including:
  • the application function device sends a service establishment request message to the second policy device, where the service establishment request message carries the service requirement information, so that the second policy device establishes a first bearer for the terminal in the second standard network, where the application The functional device is applied to the first system network and the second system network, and the second policy device is applied to the second system network; the application function device receives a fifth notification message from the second policy device, where The fifth notification message is used to notify the application function device that the first core network device establishes the first access point name APN in the first standard network for the terminal based on the first internet protocol IP address, and/or The first core network device establishes a second APN in the first standard network for the terminal based on the second IP address, where the first core network device is applied to the first standard network, where the first An IP address and the second IP address are the second system The IP address assigned by the network to the terminal; the application function device is a process for the terminal to initiate a second bearer in the first-standard network.
  • the application function device is a process for the terminal to initiate a second bearer in the first-standard network, including: the application function device according to the first IP address or the second The IP address is used to search for the service request information.
  • the application function device initiates the process of establishing the second bearer in the first standard network according to the service requirement information.
  • the method further includes: the application function device sending an authentication authorization request message to the first policy device, where the first policy device is applied to the first system network; The device receives an authentication authorization response message from the first policy device.
  • the method before the application function device sends an authentication authorization request message to the first policy device, the method further includes: the application function device according to the wireless access technology type of the first system network, and Addressing the first policy device according to the first IP address or the second IP address.
  • a seventh aspect of the embodiments of the present invention provides a handover method, including:
  • the second access network device sends a handover request message to the second core network device, where the handover request message is used to request to switch the terminal from the second standard network to the first standard network, where the second access network device and The second core network device is applied to the second standard network; the second access network device receives a handover request response message from the second core network device, where the handover request response message carries at least one of the following: a message, a packet data network PDN connection establishment accept message or a session management SM request message, wherein the attach accept message carries a first access point name APN established by the first core network device for the terminal in the first standard network Information that the first access network device and the first core network device are applied to the first standard network; the second access network device sends a handover command message to the terminal, the handover command message Carrying at least one of the following: the attach accept message, the PDN connection setup accept message, or the SM request message.
  • An eighth aspect of the embodiments of the present invention provides a handover method, including:
  • the terminal receives a handover command message from the second access network device, where the handover command message carries at least one of: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message, where the attach accept message Carrying the first core network device as the terminal in the first
  • the network access device and the first core network device are applied to the first standard network, and the second access network device is applied to a second standard network; the terminal establishes according to the attach accept message and the PDN connection At least one of the accept message or the SM request message accesses the first standard network; the terminal sends a handover complete message to the first access network device.
  • the attach accept message carries a first internet protocol IP address, and the first IP address is used in a process of establishing the first APN, wherein the first IP address is the second The IP address assigned by the standard network to the terminal.
  • the PDN connection establishment accept message carries a second IP address, and the second IP address is used for the establishment process of the second APN, where the second IP address is the second The IP address assigned by the standard network to the terminal.
  • the method before the terminal receives the handover command message from the second access network device, the method further includes: the terminal receiving a query request message from the second core network device, where the second core The network device is applied to the second system network; the terminal sends a query request response message to the second core network device, where the query request response message carries terminal network capability information of the terminal in the first standard network. .
  • the method further includes: the terminal establishing a second bearer for the terminal in the first standard network.
  • the method further includes: the terminal sending an eleventh notification message to the application function device, where the eleventh The notification message is used to notify the application function device that the terminal switches from the second system network to the first system network, wherein the application function device is applied to the first system network and the second system network .
  • a ninth aspect of the embodiments of the present invention further provides a joint attachment method, including:
  • the joint attach request message carries a first internet protocol IP address and an address of a third core network device, where the first The IP address and the address of the third core network device are used for establishing a first access point name APN, wherein the first core network device is applied to a first standard network, and the second core network device and The third core network device is applied to the second standard network, where the first IP address is an IP address assigned by the second standard network to the terminal; and the first core network device is the terminal in the first format Initiating a process of establishing the first APN in the network; the first core network device sending a joint attach request response message to the second core network device.
  • the first core network device initiates the establishment process of the first APN in the first standard network, and the first core network device sends the first core network device to the first gateway.
  • a first create session request message the first create session request message carrying the first IP address and an address of the third core network device; the first core network device receiving a first creation from the first gateway a session response message, the first create session response message is used to instruct the terminal to use the first IP address.
  • the method further includes: the first core network device Initiating a process of establishing a second APN in the first standard network for the terminal.
  • the joint attach request message further carries a second internet protocol IP address and an address of a fourth core network device, wherein the second IP address is allocated by the second standard network to the terminal
  • the IP address of the fourth core network device is applied to the second system network, where the first core network device initiates a process for establishing a second APN in the first standard network, including: The first core network device sends a second create session request message to the first gateway, where the second create session request message carries the second IP address and the address of the fourth core network device; the first core network The device receives a second create session response message from the first gateway, where the second create session response message is used to indicate that the terminal uses the second IP address.
  • the joint attach request response message carries at least one of the following: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.
  • the joint attach request message further carries at least one of: an international mobile subscriber identity (IMSI) of the terminal, a security context of the terminal, and a shift of the terminal.
  • IMSI international mobile subscriber identity
  • a dynamic management context a session management class context of the terminal, or terminal network capability information of the terminal in the first system network.
  • a tenth aspect of the embodiments of the present invention further provides a joint attachment method, including:
  • the second core network device receives an attach request message from the terminal, where the attach request message is used to request attachment to the first standard network, wherein the second core network device is applied to the second standard network; the second core network device Sending a joint attach request message to the first core network device, where the joint attach request message carries a first internet protocol IP address and an address of a third core network device, the first IP address and an address of the third core network device a process for establishing a first access point name APN of the terminal in the first standard network, where the first core network device is applied to the first standard network, and the third core network device is applied.
  • the first IP address is an IP address assigned by the second standard network to the terminal; and the second core network device receives a joint attach request response from the first core network device.
  • the second core network device sends an attach request response message to the terminal.
  • the method further includes: the second core network device sending a notification to the second policy device a message, the notification message is used to notify the second policy device: the first core network device establishes the first APN for the terminal based on the first IP address, where the second policy device Applied to the second system network.
  • the joint attach request message further carries a second IP address and an address of a fourth core network device, where the second IP address and the address of the fourth core network device are used by the terminal a process of establishing a second APN of the first-standard network, where the fourth core network device is applied to the second-standard network, and the second IP address is allocated by the second-standard network to the terminal IP address.
  • the notification message is further used to notify the second policy device that the first core network device establishes the second APN for the terminal based on the second IP address.
  • the attach request message carries terminal network capability information of the terminal in the first standard network.
  • the joint attach request message carries at least one of the following: The international mobile subscriber identity IMSI of the terminal, the security context of the terminal, the mobility management context of the terminal, the session management class context of the terminal, or the terminal network capability information of the terminal in the first standard network.
  • the joint attach request response message carries at least one of the following: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.
  • An eleventh aspect of the embodiments of the present invention provides a method for establishing a bearer, including:
  • the second policy device receives a service establishment request message from the application function device, where the service establishment request message carries the service requirement information, where the second policy device is applied to the second system network, and the application function device is applied to the first system.
  • the method further includes: the second policy device receiving a notification message from the second core network device, where the notification message is used to notify the second policy device: the first core network device is based on the An Internet IP address is used to establish a first access point name APN for the terminal, where the first core network device is applied to the first standard network, and the second core network device is applied to the second standard And the first IP address is an IP address allocated by the second standard network to the terminal; and the second policy device establishes a second bearer for the terminal in the first standard network.
  • the notification message is further used to notify the second policy device: the first core network device establishes a second in the second standard network for the terminal based on the second IP address.
  • the APN wherein the second IP address is an IP address assigned by the second standard network to the terminal.
  • the second policy device establishes a second bearer for the terminal in the first standard network, including: the second policy device according to the first IP address or the second IP The address is used to search for the service request information; the second policy device establishes the second bearer in the first standard network for the terminal according to the service requirement information.
  • the method further includes: the second policy device transmitting a credit re-authorization request message to the second gateway; the second policy device receiving a credit re-authorization response message from the second gateway.
  • the method before the second policy device sends a credit re-authorization request message to the second gateway, the method further includes: the second policy device according to the type of the radio access technology of the first-standard network And addressing to the second gateway according to the first IP address or the second IP address.
  • a twelfth aspect of the embodiments of the present invention further provides an attaching method, including:
  • the terminal sends an attach request message to the second core network device, where the attach request message is used to request to be attached to the first standard network, where the second core network device is applied to the second standard network;
  • the second core network device receives the response message of the attach request message, where the response message carries at least one of: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message, where the attach accept message Carrying the first core network device as the information of the first access point name APN established by the terminal in the first standard network, where the PDN connection establishment accept message carries the first core network device, and the terminal establishes the terminal in the first standard network.
  • the attach accept message carries a first internet protocol IP address, and the first IP address is used in a process of establishing the first APN, wherein the first IP address is the second The IP address assigned by the standard network to the terminal.
  • the PDN connection establishment accept message carries a second Internet Protocol IP address, and the second IP address is used for the establishment process of the second APN, wherein the second IP address is the The second system network assigns an IP address to the terminal.
  • the attach request message carries terminal network capability information of the terminal in the first standard network.
  • a first core network device is provided, and the device has a function of implementing behavior of a first core network device in the foregoing method design.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the first core network device includes a processor configured to support the first core network device to perform a corresponding function in the above method. Further, the first core network device may further include a receiver and a transmitter, and the receiver and the transmitter are configured to support communication between the first core network device and other network elements. Further, the first core network device may further include a memory for coupling with the processor, which stores necessary program instructions and data of the first core network device.
  • a second core network device is provided, and the device has a function of implementing behavior of a second core network device in the foregoing method design.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • the second core network device includes a processor configured to support the second core network device to perform corresponding functions in the above methods. Further, the second core network device may further include a receiver and a transmitter, and the receiver and the transmitter are configured to support communication between the second core network device and other network elements. Further, the second core network device may further include a memory for coupling with the processor, which stores necessary program instructions and data of the second core network device.
  • a first gateway is provided, the device having a function of implementing the behavior of the first gateway in the design of the foregoing method.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • a second gateway is provided, the device having a function of implementing the behavior of the second gateway in the design of the foregoing method.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • a policy device having a function of implementing behavior of a second policy device in the above method design.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • an application function device having a function of implementing an action of applying a function device in the design of the foregoing method.
  • the functions can be implemented by hardware, also The corresponding software implementation can be performed by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • an access network device has a function of implementing behavior of a second access network device in the foregoing method design.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • a terminal having a function of implementing a behavior of a terminal in the design of the foregoing method.
  • the functions may be implemented by hardware or by corresponding software implemented by hardware.
  • the hardware or software includes one or more modules corresponding to the functions described above.
  • a twenty-first aspect of the embodiments of the present invention provides a method for establishing a bearer, including:
  • the application function device sends a service establishment request message to the second policy device, where the service establishment request message carries the service requirement information, so that the second policy device establishes a first bearer for the terminal in the second standard network, where the application The functional device is applied to the first standard network and the second standard network, and the second policy device is applied to the second standard network;
  • the application function device receives an eighth notification message from the second policy device, where the eighth notification message is used to notify the application function device: the terminal switches from the second standard network to the first system The internet;
  • the application function device is a process for the terminal to initiate a second bearer in the first standard network.
  • a twenty-second aspect of the embodiments of the present invention provides a method for establishing a bearer, including:
  • the application function device sends a service establishment request message to the second policy device, where the service establishment request message carries the service requirement information, so that the second policy device establishes a first bearer for the terminal in the second standard network, where the application The functional device is applied to the first standard network and the second standard network, and the second policy device is applied to the second standard network;
  • the application function device receives an eleventh notification message from the terminal, where the eleventh notification message is used to notify the application function device that the terminal switches from the second standard network to the first standard network;
  • the application function device is that the terminal initiates establishment of a second bearer in the first standard network. process.
  • a twenty-third aspect of the embodiments of the present invention further provides a handover method, including:
  • the second core network device receives the handover request message from the access network device, where the second core network device and the access network device are applied to the second standard network; and the second core network device is applied to the first core network
  • the device sends a first handover request, where the first handover request carries an address of the second core network device, and the second core network device receives a response message of the first handover request from the first core network device;
  • the core network device sends a seventh notification message to the second policy device, where the seventh notification message is used to notify the second policy device: the terminal switches from the second standard network to the first standard network
  • the second policy device is applied to the second standard network.
  • a twenty-fourth aspect of the embodiments of the present invention provides a handover method, including:
  • the second core network device receives the handover request message from the access network device, where the second core network device and the access network device are applied to the second standard network; and the second core network device is applied to the first core network
  • the device sends a first handover request, where the first handover request carries an address of the second core network device, and the second core network device receives a response message of the first handover request from the first core network device; Receiving, by the core network device, a handover completion notification message from the first core network device; the second core network device sending a handover complete confirmation message to the first core network device; the second core network device to the second
  • the policy device sends a ninth notification message, where the ninth notification message is used to notify the second policy device that the terminal switches from the second standard network to the first standard network.
  • a twenty-fifth aspect of the embodiments of the present invention further provides a handover method, including:
  • the first core network device receives a first handover request from the second core network device, where the first handover request carries an address of the second core network device, the first core network device is applied to the first standard network, and the second The core network device is applied to the second system network; the first core network device sends a response message of the first handover request to the second core network device; the first core network device sends the response message to the second core network device Switching completion notification message; the first core network device receiving a handover complete confirmation message from the first core network device.
  • the method further includes: the first core network device is the terminal initiating the first in the first standard network The process of establishing an APN.
  • the second core network device is deployed in combination with the second gateway, and the address of the second core network device carried by the first handover request is used to find the first APN in the process of establishing the first APN. Addressing the second core network device.
  • the response message of the first handover request sent by the first core network device to the second core network device carries an attach accept message, where the attach accept message carries the first core network device.
  • the first core network device of the first-standard network After receiving the first handover request sent by the second core network device of the second standard network, the first core network device of the first-standard network receives the address according to the first IP address and the third core network device. And initiating a process of establishing a first APN for the terminal, and sending a second handover request to the access network device, and receiving a response message of the second handover request sent by the access network device, where the second core network device sends the A response message to switch requests. Thereby, the terminal can switch from the second network system to the first network standard.
  • the solution provided by the embodiment of the present invention does not require complicated mapping processes such as QoS mapping, Bearer ID mapping, and location identification, which simplifies the interoperation process between different standard networks, and is beneficial to the process of switching the terminal to a different standard network. Reduce the signaling interaction process of the network side device and improve the switching efficiency.
  • FIG. 1 is a schematic diagram of a possible network architecture according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of communication of a handover method according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of communication of a joint attachment method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of communication of another handover method according to an embodiment of the present invention.
  • 4a is a schematic diagram of communication of another handover method according to an embodiment of the present invention.
  • FIG. 4b is a schematic diagram of communication of another handover method according to an embodiment of the present invention.
  • 4c is a schematic diagram of communication of another handover method according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of communication of another handover method according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of communication of a bearer establishment method according to an embodiment of the present invention.
  • FIG. 5a is a schematic diagram of communication of another bearer establishment method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of communication of another handover method according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of communication of another handover method according to an embodiment of the present invention.
  • 6b is a schematic diagram of communication of another handover method according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of communication of another bearer establishment method according to an embodiment of the present invention.
  • FIG. 7a is a schematic diagram of communication of another bearer establishment method according to an embodiment of the present invention.
  • FIG. 7b is a schematic diagram of communication of another bearer establishing method according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of communication of another joint attachment method according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of communication of a session creation method according to an embodiment of the present invention.
  • FIG. 10 is a schematic diagram of communication of another session creation method according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a first core network device according to an embodiment of the present disclosure.
  • FIG. 11B is a schematic structural diagram of another first core network device according to an embodiment of the present disclosure.
  • FIG. 12A is a schematic structural diagram of a second core network device according to an embodiment of the present invention.
  • FIG. 12B is a schematic structural diagram of another second core network device according to an embodiment of the present disclosure.
  • the network architecture and the service scenario described in the embodiments of the present invention are used to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation of the technical solutions provided by the embodiments of the present invention.
  • the technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.
  • FIG. 1 shows a possible network architecture provided by an embodiment of the present invention.
  • the network architecture includes 4G network, 5G network and IP Multimedia Subsystem (IMS) network.
  • IMS IP Multimedia Subsystem
  • the terminal and the evolved base station (eNB, Evolved NodeB) in the 4G network may be connected by using a wireless link.
  • the network side device of the 4G network mainly includes a Mobility Management Entity (MME), a Serving Gateway (SGW), a Policy and Charging Rules Function (PCRF) entity, and a packet data network. Gateway (PGW, PDN Gateway), etc.
  • the network side device of the 5G network mainly includes a CP (Control Plane Function) entity, a first user plane control function (UP Function 1, User Plane Function 1) entity, and a second user plane control function (UP Function 2). , User Plane Function 2) entity.
  • CP Control Plane Function
  • UP Function 1 User Plane Function 1
  • UP Function 2 User Plane Function 2
  • the IMS network includes a Proxy-Call Session Control Function (P-CSCF) entity, an Access Transfer Control Function (ATCF) entity, and an Access Forward Gate (ATGW) entity.
  • P-CSCF Proxy-Call Session Control Function
  • ATCF Access Transfer Control Function
  • ATGW Access Forward Gate
  • AF Application Function
  • an application layer entity that provides policy and charging control for a transport plane resource, and corresponds to a P-CSCF entity and an ATCF entity in the IMS network.
  • the terminal involved in the embodiments of the present invention may include various handheld devices, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms of user equipment (User Equipment). , UE), mobile station (MS), terminal device, and the like. For convenience of description, the devices mentioned above are collectively referred to as terminals.
  • an embodiment of the present invention provides a handover method, and a first core based on the method.
  • Heart network equipment and second core network equipment The method includes: the second core network device receives a handover request message from the second access network device, where the second core network device and the second access network device are applied to the second standard network; the second core network device is first The core network device sends a first handover request, where the first handover request carries a first Internet Protocol (IP) address and an address of the third core network device, where the address of the first IP address and the third core network device is used by the terminal
  • IP Internet Protocol
  • APN access point name
  • the IP address is an IP address assigned by the second standard network to the terminal; the first core network device is a process in which the terminal initiates the establishment of the first APN in the first standard network; the first core network device sends the second access to the first access network
  • the first access network device is applied to the first standard network; the first core network device receives a response message of the second handover request from the first access network device; The network device sends a response message of the first handover request to the second core network device, and the second core network device sends a handover request response message to the second access network device.
  • the establishment process of the foregoing first APN may also be referred to as an attachment process of the first APN.
  • the first handover is sent to the first core network device of the first-standard network.
  • the request carries the first IP address and the address of the third core network device of the second standard network for the establishment process of the first APN of the terminal in the first standard network, and then receives the first handover from the first core network device.
  • a handover request response message is sent to the access network device, so that the terminal switches from the second-standard network to the first-standard network.
  • the first standard network may be a 4G network, a 3G network, or a 2G network
  • the second standard network may be a 5G network
  • the first standard network may be a 5G network
  • the second standard network may be 4G network, 3G network or 2G network.
  • the solution of the embodiment of the present invention may be applied to other scenarios, which are not limited in the embodiment of the present invention.
  • FIG. 2 shows a handover method provided by an embodiment of the present invention.
  • the method includes: sections 201-207, as follows:
  • the second core network device receives a handover request message from the second access network device.
  • the second core network device and the second access network device are applied to the second standard network.
  • the second core network device sends a first handover request to the first core network device, where the first handover request carries the first IP address and the address of the third core network device, and the first IP address and the third core network device The address is used in the process of establishing the first APN of the terminal in the first-standard network.
  • the first core network device is applied to the first standard network
  • the third core network device is applied to the second standard network
  • the first IP address is the IP address allocated by the second standard network for the terminal.
  • the method of the embodiment of the present invention may further include: the second core network device receives the attach request message from the terminal, and the attach request message carries the terminal. Terminal network capability information in a first-standard network.
  • the method of the embodiment of the present invention may further include: the second core network device sends a query request message to the terminal; the second core network device The query request response message is received from the terminal, and the query request response message carries the terminal network capability information of the terminal in the first standard network.
  • the first handover request may further carry at least one of the following: an International Mobile Subscriber Identity (IMSI) of the terminal, a security context of the terminal, a mobility management context of the terminal, and a terminal.
  • IMSI International Mobile Subscriber Identity
  • the session management class context or the terminal network capability information of the terminal in the first standard network may be further carried.
  • the first core network device initiates a process of establishing a first APN in the first standard network.
  • the process of the first core network device initiating the first APN may include: the first core network device sends a first create session request message to the first gateway, where the first create session request message carries the first The IP address and the address of the third core network device; the first core network device receives a first create session response message from the first gateway, where the first create session response message is used to indicate that the terminal uses the first IP address.
  • the first gateway may be applied to the first-standard network, or the first gateway may also be applied to the first-standard network and the second-standard network.
  • the IP address used by the terminal in the first-standard network is the IP address used in the second-standard network, that is, after the terminal switches from the second-standard network to the first-standard network, The IP address used remains unchanged.
  • the method of the embodiment of the present invention may further include: the first gateway sends a third create session request message to the second gateway, and the third The session creation session request message carries the first IP address and the address of the third core network device; the first gateway receives a third creation session response message from the second gateway, and the third session creation response message is used to indicate that the terminal uses the first IP address.
  • the second gateway may be applied to the first standard network, or the second gateway may be applied to the first standard network and the second standard network.
  • the method of the embodiment of the present invention may further include: the second gateway sends the first credit control request message to the first policy device, the first credit The control request message is configured to request to establish an IP connectivity access network session for the terminal based on the first IP address, where the first policy device is applied to the first standard network; and the second gateway receives the first credit control response message from the first policy device.
  • the method of the embodiment of the present invention may further include: the second gateway sends the third core network device according to the address of the third core network device.
  • a session establish request message, the first session establishment request message carries an address of the second gateway; and the second gateway receives a first session establishment response message from the third core network device.
  • the first session establishment request message may further carry an address of the first gateway.
  • the first handover request further carries the indication information, where the indication information is used to indicate that the first core network device sends the first notification message to the second core network device after completing the setup process of the first APN, and the method of the embodiment of the present invention
  • the first core network device sends a first notification message to the second core network device, where the first notification message is used to notify the second core network device that the first core network device establishes the first terminal for the terminal based on the first IP address.
  • APN APN.
  • the method of the embodiment of the present invention may further include: the first core network device receives a bearer creation request message from the first gateway; and the first core network device sends a bearer creation response message to the first gateway.
  • the method of the embodiment of the present invention may further include: the second core network device sends a third notification message to the second policy device, where The third notification message is used to notify the second policy device: the first core network device is based on the first The IP address establishes a first APN for the terminal, and the second policy device is applied to the second standard network.
  • the method of the embodiment of the present invention may further include: the first core network device is a process for the terminal to initiate the establishment of the second APN in the first standard network.
  • the first handover request further carries the second IP address and the address of the fourth core network device, and the second IP address and the address of the fourth core network device are used for the establishment process of the second APN, where the second IP The address is the IP address assigned by the second-standard network to the terminal, and the fourth core network device is applied to the second-standard network.
  • the process of the first core network device initiating the second APN may include: sending, by the first core network device, the first gateway And creating a session request message, where the second create session request message carries the second IP address and the address of the fourth core network device; the first core network device receives the second create session response message from the first gateway, and the second create session response message The second terminal is used to instruct the terminal to use the second IP address.
  • the method of the embodiment of the present invention may further include: the first gateway sends a fourth create session request message to the second gateway, and fourth The session creation session request message carries the second IP address and the address of the fourth core network device; the first gateway receives the fourth creation session response message from the second gateway, and the fourth session creation response message is used to indicate that the terminal uses the second IP address.
  • the method of the embodiment of the present invention may further include: the second gateway sends a second credit control request message to the first policy device, the second credit The control request message is used to request to establish an IP connectivity access network session for the terminal based on the second IP address; the second gateway receives the second credit control response message from the first policy device.
  • the method of the embodiment of the present invention may further include: the second gateway sends the first core network device according to the address of the fourth core network device.
  • the second session establishment request message carries the address of the second gateway; the second gateway receives the second session establishment response message from the fourth core network device.
  • the second session establishment request message may further carry an address of the first gateway.
  • the method of the embodiment of the present invention may further include: the first core network device sends a second notification message to the second core network device, where the second notification message is used to notify the second core network device: the first core network device A second APN is established for the terminal based on the second IP address.
  • the second core network device receives the second notification message from the first core network device.
  • the method of the embodiment of the present invention may further include: the second core network device sends a fourth notification message to the second policy device, where the fourth notification message is used to notify the second policy device that the first core network device is based on the second IP address.
  • a second APN is established for the terminal.
  • the method of the embodiment of the present invention may further include: the second policy device from the application function (AF)
  • the device receives the service establishment request message, where the service establishment request message carries the service requirement information, where the application function device is applied to the first system network and the second system network; and the second policy device establishes the terminal for the terminal according to the service requirement information in the second system network.
  • the application function device may be an application server (Application Server).
  • the method of the embodiment of the present invention may further include: the second policy device establishes the terminal for the terminal in the first standard network. Two bearers.
  • the establishing, by the second policy device, the second bearer for the terminal in the first-standard network may include: the second policy device searches for service requirement information according to the first IP address or the second IP address; and the second policy device is configured according to the service requirement information. Establishing a second bearer for the terminal in the first standard network.
  • the method of the embodiment of the present invention may further include: the second policy device sends the fifth notification message to the application function device.
  • the fifth notification message is used to notify the application function device: the first core network device establishes the first APN in the first standard network for the terminal based on the first IP address, and/or the first core network device is based on the second IP address
  • the terminal establishes a second APN in the first-standard network.
  • the terminal may initiate a process of establishing the second bearer in the first-standard network.
  • the application function device initiates the establishment process of the second bearer, which may include: the application function device searches for service requirement information according to the first IP address or the second IP address; and the application function device uses the service requirement information as the terminal in the first format.
  • the network initiates the establishment process of the second bearer.
  • the method of the embodiment of the present invention may further include: the second policy device receiving, by the second core network device, a seventh notification message or a ninth notification message, where the seventh notification message or the ninth notification message is used by Notifying the second policy device: the terminal switches from the second standard network to the The first system network, wherein the second core network device is applied to the second system network.
  • the method of the embodiment of the present invention may further include: the second policy device from the second core network After the device receives the seventh notification message or the ninth notification message, the method further includes: the second policy device establishing, by the second policy device, the second bearer in the first standard network according to the service requirement information.
  • the method of the embodiment of the present invention may further include: the second policy device to the application function The device sends an eighth notification message, where the eighth notification message is used to notify the application function device that the terminal switches from the second standard network to the first standard network.
  • the method of the embodiment of the present invention may further include: the application function device sends an authentication authorization request message to the first policy device; and the application function device receives the authentication authorization response message from the first policy device.
  • the method of the embodiment of the present invention may further include: applying the function device according to the wireless access technology type of the first standard network, and according to the first The IP address or the second IP address is addressed to the first policy device.
  • the method of the embodiment of the present invention may further include: the second policy device sends a credit re-authorization request message to the second gateway; and the second policy device receives the credit re-authorization response message from the second gateway.
  • the method of the embodiment of the present invention may further include: the second policy device according to the type of the radio access technology of the first-standard network, and according to the An IP address or a second IP address is addressed to the second gateway.
  • the first core network device sends a second handover request to the first access network device.
  • the first access network device is applied to the first standard network.
  • the first core network device receives a response message of the second handover request from the first access network device.
  • the first core network device sends a response message of the first handover request to the second core network device.
  • the response message of the first handover request may carry at least one of the following: an attach accept message, a packet data network (PDN) connection establishment accept message, or a session management (SM) request message.
  • PDN packet data network
  • SM session management
  • the method of the embodiment of the present invention may further include: the first core network device receives the bearer creation request message from the first gateway. After the first core network device receives the completion message sent from the access network device and switches to the first standard network, the first core network device sends a bearer setup request message to the access network device; the first core network device accesses the access network. The device receives the bearer setup response message; the first core network device sends a bearer creation response message to the first gateway.
  • the method of the embodiment of the present invention may further include: the first core network device to the second core network device Sending a handover complete notification message; the first core network device receives a handover complete confirmation message from the second core network device.
  • the second core network device sends a handover request response message to the second access network device.
  • the method of the embodiment of the present invention may further include: the second core network device sends the seventh notification to the second policy device.
  • the message, the seventh notification message is used to notify the second policy device that the terminal switches from the second standard network to the first standard network.
  • the method of the embodiment of the present invention may further include: the second core network device sends the handover completion to the first core network device. And confirming the message; the second core network device sends a ninth notification message to the second policy device, where the ninth notification message is used to notify the second policy device that the terminal switches from the second standard network to the first standard network.
  • the handover request response message may carry at least one of the following: an attach accept message, a PDN connection setup accept message, or an SM request message, where the attach accept message may carry the first core network device as a terminal established in the first standard network.
  • the information of the first APN, the PDN connection establishment accept message may carry the information of the second APN established by the first core network device in the first standard network, and the SM request message may carry the bearer information of the terminal in the first standard network.
  • the method of the embodiment of the present invention may further include: the second access network device sends a handover command message to the terminal.
  • the handover command message may carry at least one of the following: an attach accept message, a PDN connection setup accept message, or an SM request message.
  • the method of the embodiment of the present invention may further include: the terminal receiving, by the second access network device, a handover command message, where the handover command message carries at least one of the following: an attach accept message, a PDN connection setup accept message, or an SM request message.
  • the terminal accesses the first-standard network according to at least one of an attach accept message, a PDN connection establishment accept message, or an SM request message; the terminal sends a handover complete message to the first access network device.
  • the method of the embodiment of the present invention may further include: the terminal establishing the second bearer for the terminal in the first standard network.
  • the method of the embodiment of the present invention may further include: the terminal sends an eleventh notification message to the application function device, where the eleventh notification message is used to notify the application.
  • Functional device The terminal switches from the second standard network to the first standard network, wherein the application function device is applied to the first system network and the second system network.
  • the attach accept message can carry the first IP address.
  • the PDN Connection Setup Accept message may carry a second IP address.
  • the interoperation process between the first standard network and the second standard network is simple, and complex processes including various parameter mappings are not required.
  • the embodiment of the invention further provides a joint attachment method, and a first core network device and a second core network device based on the method.
  • the method includes: the second core network device receives an attach request message from the terminal, where the second core network device is applied to the second standard network; the second core network device sends a joint attach request message to the first core network device, and the joint attach request
  • the message carries the first IP address and the address of the third core network device, where the first IP address and the address of the third core network device are used for establishing the first APN of the terminal in the first standard network, where the first core network device
  • the first core network device is applied to the second standard network, the first IP address is the IP address assigned by the second standard network to the terminal, and the first core network device is the terminal initiated in the first standard network.
  • An APN establishing process the first core network device sends a joint attach request response message to the second core network device; the second core The heart network device sends an attach request response message to the terminal.
  • the establishment process of the foregoing first APN may also be referred to as an attachment process of the first APN.
  • the second core network device of the second-standard network after receiving the attach request message from the terminal, the second core network device of the second-standard network carries the first in the joint attach request message sent to the first core network device of the first-standard network.
  • An IP address and an address of the third core network device of the second standard network for the establishment process of the first APN of the terminal in the first standard network, and then receiving the joint attach request response message from the first core network device, and The terminal sends an attach request response message. It can be seen from the above that in the embodiment of the present invention, the interoperation process between the first standard network and the second standard network is simple, and complex processes including various parameter mappings are not required.
  • FIG. 3 shows a joint attachment method provided by an embodiment of the present invention.
  • the method includes: sections 301 to 306, as follows:
  • the second core network device receives an attach request message from the terminal, and the attach request message is used to request attachment to the first standard network.
  • the second core network device is applied to the second standard network.
  • the attach request message may carry terminal network capability information of the terminal in the first-standard network.
  • the second core network device sends a joint attach request message to the first core network device, where the joint attach request message carries the first IP address and the address of the third core network device, the first IP address and the third core network device.
  • the address is used in the process of establishing the first APN of the terminal in the first-standard network.
  • the first core network device is applied to the first standard network
  • the third core network device is applied to the second standard network
  • the first IP address is the IP address allocated by the second standard network for the terminal.
  • the joint attach request message further carries the second IP address and the address of the fourth core network device, and the second IP address and the address of the fourth core network device are used by the terminal in the second APN of the first standard network.
  • the establishing process wherein the fourth core network device is applied to the second standard network, and the second IP address is an IP address allocated by the second standard network for the terminal.
  • the joint attach request message may further carry at least one of the following: an IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, or a terminal network capability of the terminal in the first standard network. information.
  • the portion 302 is similar to the portion 203 in FIG. 2. For the specific implementation of the portion 302, reference may be made to the detailed description of the portion 203 in FIG. 2, and details are not described herein.
  • the first core network device initiates a process of establishing a first APN in the first-standard network.
  • the first core network device sends a joint attach request response message to the second core network device.
  • the method of the embodiment of the present invention may further include: the second core network device sends a notification message to the second policy device, and the notification message is The second policy device is configured to: the first core network device establishes a first APN for the terminal based on the first IP address, where the second policy device is applied to the second standard network.
  • the notification message is further used to notify the second policy device that the first core network device establishes the second APN for the terminal based on the second IP address.
  • the method of the embodiment of the present invention may further include: the second policy device receives the service establishment request message from the application function device, where the service establishment request message carries the service. Requirement information, wherein the application function device is applied to the first system network and the second system network.
  • the method of the embodiment of the present invention may further include: the second policy device establishing the second bearer for the terminal in the first standard network.
  • the second policy device establishes the second bearer for the terminal in the first mode network
  • the method includes: the second policy device searches for the service requirement information according to the first IP address or the second IP address; and the second policy device is configured according to the service request.
  • the information is that the terminal establishes a second bearer in the first standard network.
  • the method of the embodiment of the present invention may further include: the second policy device sends a credit re-authorization request message to the second gateway; and the second policy device receives the credit re-authorization response message from the second gateway.
  • the method of the embodiment of the present invention may further include: the second policy device according to the type of the radio access technology of the first-standard network, and according to the An IP address or a second IP address is addressed to the second gateway.
  • the Federated Attach Request Response message may carry at least one of the following: an Attach Accept message, a PDN Connection Setup Accept message, or a Session Management SM Request message.
  • the attach accept message can carry the first IP address.
  • the PDN Connection Setup Accept message may carry a second IP address.
  • the SM request message may carry bearer information of the terminal in the first mode network.
  • the second core network device sends an attach request response message to the terminal.
  • the terminal accesses the first standard network.
  • the terminal may access the first-standard network according to at least one of an attach accept message, a PDN connection setup accept message, or an SM request message.
  • the joint attachment method provided by the embodiment of the present invention has many similarities with the above-mentioned handover method shown in FIG. 2, and is simple for description.
  • the joint attachment method is similar to the handover method shown in FIG. 2, and can be referred to.
  • the detailed description in the method shown in FIG. 2 is not described herein.
  • each network element involved in the foregoing handover method and the joint attachment method may be the corresponding network element in FIG. 1.
  • the first core network device may be an MME
  • the core network device may be a CP function
  • the first gateway may be a SGW
  • the second gateway may be a PGW
  • the first policy device may be a PCRF
  • the second policy device may be a Policy Function
  • the application function device may be an AF
  • the second access network device may be an NG RAN
  • the first access network device may be an eNB
  • the third core network device and the fourth core network device may be an UP function.
  • the first-standard network is a 4G network
  • the second-standard network is a 5G network
  • the first core network device is a mobility management entity MME of the 4G network
  • the second core network device is a control plane function of the 5G network.
  • the CP function entity, the third core network device is a first user plane control function UP Function 1 entity of the 5G network, and the fourth core network device is a second user plane control function UP Function 2 entity of the 5G network, the first access network device
  • the evolved base station eNB of the 4G network, the second access network device is the next-generation radio access network NG RAN entity of the 5G network, the first gateway is the serving gateway SGW of the 4G network, and the second gateway is the PDN gateway PGW of the 4G network
  • the function of the service gateway user plane may be included in the third core network device and the fourth core network device, so the figure is identified as UP Function1 & PGW-U and UP Function 2 & PGW-U, respectively, for convenience.
  • the third core network device represents UP Function1
  • the fourth core network device represents UP Function2
  • the first policy device is a policy and charging rule function PCRF entity of the 4G network
  • the second policy device is a policy function policy of the 5G network.
  • the function of the service is as follows: The PCRF in the 4G network and the Policy Function in the 5G network are deployed independently.
  • the service switching method disclosed in the embodiment of the present invention includes:
  • the terminal reports the neighbor cell signal measurement result to the 5G access network device NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G;
  • the NG RAN entity sends a handover request message Handover Required to the CP Function entity;
  • the CP Function entity After receiving the handover request message, the CP Function entity sends a first handover request Forward Relocation Request to the MME.
  • the first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN ;
  • the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.
  • the first handover request may further carry at least one of the following:
  • An international mobile subscriber identity IMSI of the terminal a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network ;
  • the terminal network capability information can be obtained by the following two methods:
  • the terminal carries the terminal network capability information in an attach request message Attach Request sent to the CP Function entity;
  • the route 2 the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function entity.
  • the first handover request may further carry preset first indication information;
  • the preset first indication information is used to indicate that the MME sends the first notification message to the CP Function entity after completing the establishment process of the first access point name APN.
  • the first handover request may further carry preset second indication information, where the preset second indication information is used to indicate that the MME sends the CP to the CP after completing the establishment process of the second access point name APN.
  • the Function entity sends a second notification message.
  • the MME After the first MME receives the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.
  • the MME sends a first notification message Notify1 to the CP Function entity after completing the establishment process of the first access point name (APN, Access Point Name);
  • the MME performs the step S404 only when it is detected that the first indication request carries the preset first indication information.
  • the first notification message is used to notify the CP Function entity that the MME establishes the first APN for the terminal based on the first IP address.
  • the CP Function entity after receiving the first notification message, the CP Function entity sends a third notification message Notify3 to the policy function Policy Function entity;
  • the third notification message is used to notify the Policy Function entity that the MME establishes the first APN for the terminal based on the first IP address.
  • the Policy Function entity after receiving the third notification message, the Policy Function entity sends a fifth notification message Notify5 to the application function AF device;
  • the fifth notification message is used to notify the AF device that the MME establishes the first APN for the terminal based on the first IP address.
  • the MME is a process for the terminal to initiate a second access point APN in the 4G network.
  • the MME after completing the establishment process of the second APN, the MME sends a second notification message Notify2 to the CP Function entity;
  • the MME performs the step S408 only after detecting that the first handover request carries the preset second indication information.
  • the second notification message is used to notify the CP Function entity that the MME establishes the terminal for the terminal based on the second IP address.
  • the second APN is used to notify the CP Function entity that the MME establishes the terminal for the terminal based on the second IP address.
  • the CP Function entity receives the second notification message, and sends a fourth notification message Notify4 to the policy function Policy Function entity;
  • the fourth notification message is used to notify the Policy Function entity that the MME establishes the second APN for the terminal based on the second IP address.
  • the Policy Function entity after receiving the fourth notification message, the Policy Function entity sends a sixth notification message Notify6 to the AF device;
  • the sixth notification message is used to notify the AF device that the MME establishes the second APN for the terminal based on the second IP address.
  • the AF device After receiving the sixth notification message, the AF device initiates a process of creating a second bearer.
  • the MME detects that the first APN and the second APN are established, and after the second bearer is created, sends a second handover request Handover Request to the eNB.
  • the eNB After receiving the second handover request, the eNB sends a second handover request response Handover Request Acknowledge to the MME.
  • the MME After receiving the second handover request response, the MME sends a first handover request response Forward Relocation Response to the CP Function entity.
  • the first handover request response carries at least one of the following:
  • An attach accept message a packet data network PDN connection setup accept message, and a session management SM request message.
  • the CP Function entity After receiving the first handover request response, the CP Function entity sends a handover request response message Handover Required Response to the NG RAN entity.
  • the handover request response message carries at least one of the following:
  • An attach accept message a packet data network PDN connection setup accept message, or a session management SM request message.
  • the NG RAN after receiving the handover request response message, the NG RAN sends a handover command Handover Command to the terminal;
  • the switching command carries at least one of the following:
  • the terminal sends a handover complete message Handover Complete to the eNB.
  • the handover completion message carries at least one of the following:
  • An attach accept message a packet data network PDN connection setup accept message, and a session management SM request message.
  • FIG. 5 is a possible implementation manner of the process of creating a second bearer by the AF device in step 411, which is described in FIG.
  • the process of establishing the first bearer is the same as the process of establishing the first bearer of the first IP address.
  • the following takes the second IP address as an example to describe the specific process of establishing the second bearer, which specifically includes the following steps:
  • the AF device sends a service establishment request message to the Policy Function entity, that is, the establishment request of the first bearer, and the service establishment request message carries the service request information;
  • the AF device searches for the service requirement information by using the first IP address, and after addressing the PCRF by using the first IP address and the radio access technology type of the 4G network, to the PCRF.
  • the AAR carries the first IP address
  • the PCRF after receiving the AAR, the PCRF is addressed to the PGW-C by using the first IP address, and sends a re-authentication request message RAR to the PGW-C;
  • the PGW-C after receiving the RAR, the PGW-C sends a re-authentication response message RAA to the PCRF;
  • the PCRF After receiving the RAA, the PCRF sends an authentication authorization response message to the AF device.
  • the PGW-C sends a bearer creation request message Create Bearer Request to the MME through the SGW.
  • the SGW forwards the bearer creation request message to the MME;
  • the MME After receiving the bearer creation request message, the MME sends a bearer creation response message Create Bearer Response to the SGW.
  • the MME sends a bearer creation response message to the PGW-C by using the SGW.
  • the first-standard network is a 4G network
  • the second-standard network is a 5G network
  • the first core network device is a mobility management entity MME of the 4G network
  • the second core network device is a control plane function of the 5G network.
  • the CP function entity, the third core network device is the first user plane control function UP Function1 entity of the 5G network, the fourth core network device is the second user plane control function UP Function2 entity of the 5G network, and the first access network device is 4G
  • the evolved base station eNB of the network is a next-generation radio access network NG RAN entity of the 5G network
  • the first gateway is a serving gateway SGW of the 4G network
  • the second gateway is a PDN gateway PGW of the 4G network
  • the function of the service gateway user plane may be included, so the figure is identified as UP Function1&PGW-U and UP Function2&PGW-U respectively.
  • the third core The network device represents UP Function1
  • the fourth core network device represents UP Function2
  • the first policy device is a policy and charging rule function PCRF entity of the 4G network
  • the second policy device is
  • the service switching method disclosed in the embodiment of the present invention includes:
  • the terminal reports the signal measurement result of the neighboring cell to the NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G;
  • the NG RAN sends a handover request message Handover Required to the CP Function entity;
  • the CP Function entity After receiving the handover request message Handover Required, the CP Function entity sends a first handover request Forward Relocation Request to the MME.
  • the first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN ;
  • the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.
  • the first handover request may further carry at least one of the following:
  • An international mobile subscriber identity IMSI of the terminal, a security context of the terminal, and the terminal a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network;
  • the terminal network capability information can be obtained by the following two methods:
  • the terminal carries the terminal network capability information Attach Request in an attach request message sent to the CP Function entity;
  • the route 2 the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function.
  • the first handover request may further carry preset first indication information, where the preset first indication information is used to indicate that the MME sends the CP to the CP after completing the establishment process of the first access point name APN.
  • the Function entity sends a first notification message.
  • the first handover request may further carry preset second indication information, where the preset second indication information is used to indicate that the MME sends the CP to the CP after completing the establishment process of the second access point name APN.
  • the Function entity sends a second notification message.
  • the MME After the first MME receives the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.
  • the MME after completing the establishment process of the first APN, the MME sends a first notification message Notify1 to the CP Function entity;
  • the MME performs the step S604 only after detecting that the first handover request carries the preset first indication information.
  • the first notification message is used to notify the CP Function entity that the MME establishes the first APN for the terminal based on the first IP address.
  • the CP Function entity after receiving the first notification message, the CP Function entity sends a third notification message Notify3 to the policy function Policy Function entity;
  • the third notification message is used to notify the Policy Function that the MME establishes the first APN for the terminal based on the first IP address.
  • the MME is a process for the terminal to initiate a second access point name APN in a 4G network.
  • the MME after completing the establishment process of the second APN, the MME sends a second notification message Notify2 to the CP Function entity;
  • the MME performs the step S408 only after detecting that the first handover request carries the preset second indication information.
  • the second notification message is used to notify the CP Function entity that the MME establishes the second APN for the terminal based on the second IP address.
  • the MME after completing the establishment process of the second APN, the MME sends a fourth notification message Notify4 to the CP Function;
  • the fourth notification message is used to notify the Policy Function entity that the MME establishes the second APN for the terminal based on the second IP address.
  • the Policy Function entity After receiving the fourth notification message, the Policy Function entity initiates a process of creating a second bearer.
  • the MME detects that the first APN and the second APN are established, and after the second bearer is created, sends a second handover request Handover Request to the eNB.
  • the eNB sends a second handover request response Handover Request Acknowledge to the MME;
  • the MME sends a first handover request response Forward Relocation Response to the CP Function entity;
  • the first handover request response carries at least one of the following:
  • An attach accept message a packet data network PDN connection setup accept message, and a session management SM request message.
  • the CP Function entity sends a handover request response message Handover Required Response to the NG RAN entity.
  • the handover request response message carries at least one of the following:
  • An attach accept message a packet data network PDN connection setup accept message, or a session management SM request message.
  • the NG RAN sends a handover command Handover Command to the terminal;
  • the switching command carries at least one of the following:
  • An attach accept message a packet data network PDN connection setup accept message, or a session management SM request message.
  • the terminal sends a handover complete Handover Complete message to the eNB.
  • FIG. 7 is a possible implementation manner of a process for creating a second dedicated bearer in step 609, which is described in FIG.
  • the process of establishing the first bearer of the first IP address is the same.
  • the following takes the second IP address as an example to describe the specific process of establishing the second bearer.
  • the specific steps include the following steps:
  • the Policy Function entity receives a service establishment request message sent by the AF device, and the service establishment request message carries service request information, before the terminal initiates the process of establishing the second bearer;
  • the Policy Function entity searches for the service requirement information by using the first IP address, and addresses the PGW-C by using the first IP address and the wireless access technology type of the 4G network, and sends the PGW-C to the PGW- C sends a re-authentication request message RAR;
  • the PGW-C after receiving the RAR, the PGW-C sends a re-authentication response message RAA to the PCRF;
  • the PGW-C sends a bearer creation request message Create Bearer Request to the SGW;
  • the SGW forwards the bearer creation request message to the MME;
  • the MME After receiving the bearer creation request message, the MME sends a bearer creation response message Create Bearer Response to the SGW.
  • the SGW forwards the bearer creation response message to the PGW-C.
  • the first-standard network is a 4G network
  • the second-standard network is a 5G network
  • the first core network device is a mobility management entity MME of the 4G network
  • the second core network device is a control plane function of the 5G network.
  • the CP function entity, the third core network device is a first user plane control function UP Function 1 entity of the 5G network, and the fourth core network device is a second user plane control function UP Function 2 entity of the 5G network, the first access network device
  • the evolved base station eNB of the 4G network, the second access network device is the next-generation radio access network NG RAN entity of the 5G network, the first gateway is the serving gateway SGW of the 4G network, and the second gateway is the PDN gateway PGW of the 4G network
  • the function of the service gateway user plane may be included in the third core network device and the fourth core network device, so
  • the third core network device represents UP Function1
  • the fourth core network device represents UP Function2
  • the first policy device is a 4G network policy
  • the charging rule function is a PCRF entity
  • the second policy device is a policy function of the 5G network, and the PCRF in the 4G network is deployed independently.
  • the service switching method disclosed in the embodiment of the present invention includes:
  • the terminal reports the neighbor cell signal measurement result to the 5G access network device NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.
  • the NG RAN entity sends a handover request message (for example, Handover Required) to the CP Function entity.
  • a handover request message for example, Handover Required
  • the CP Function entity After receiving the handover request message, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.
  • a first handover request for example, Forward Relocation Request
  • the first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN .
  • the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.
  • the first handover request may further carry at least one of the following:
  • An international mobile subscriber identity IMSI of the terminal a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network .
  • the terminal network capability information can be obtained by the following two methods:
  • the terminal 1 carries the terminal network capability information in an attach request message Attach Request sent to the CP Function entity.
  • the route 2 the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function entity.
  • the MME after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.
  • the MME is a process for the terminal to initiate a second access point APN in the 4G network.
  • the MME detects that the first APN and the second APN are established, and sends a second handover request (for example, a Handover Request) to the eNB.
  • a second handover request for example, a Handover Request
  • the eNB After receiving the second handover request, the eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.
  • a second handover request response for example, Handover Request Acknowledge
  • the MME After receiving the second handover request response, the MME sends a first handover request response (for example, Forward Relocation Response) to the CP Function entity.
  • a first handover request response for example, Forward Relocation Response
  • the first handover request response carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the CP Function entity after receiving the first handover request response, the CP Function entity sends a seventh notification message (for example, Notify7) to the Policy Function entity.
  • a seventh notification message for example, Notify7
  • the seventh notification message is used to notify the Policy Function entity that the terminal switches from the 5G network to the 4G network.
  • the first handover request in the step S4a02 may not carry the The first IP address and the address of the UP Function 1 entity, or the address of the second IP address and the UP Function 2 entity, but the address of the CP Function is directly carried, wherein the address of the CP Function is used in step S4a03
  • the CP Function entity is addressed during the establishment of the first APN in the process of establishing the second APN in step S4a04, in which case the CP Function entity receives the first handover request response. Afterwards, the seventh notification message Notify7 is sent to the Policy Function entity.
  • the Policy Function entity after receiving the seventh notification message, the Policy Function entity sends an eighth notification message (for example, Notify8) to the AF device.
  • an eighth notification message for example, Notify8
  • the eighth notification message is used to notify the AF device that the terminal switches from the 5G network to the 4G network.
  • the first-standard network is a 4G network
  • the second-standard network is a 5G network
  • the first core network device is a mobility management entity MME of the 4G network
  • the second core network device is a control plane function of the 5G network.
  • the CP function entity, the third core network device is a first user plane control function UP Function 1 entity of the 5G network, and the fourth core network device is a second user plane control function UP Function 2 entity of the 5G network, the first access network device
  • the evolved base station eNB of the 4G network, the second access network device is the next-generation radio access network NG RAN entity of the 5G network, the first gateway is the serving gateway SGW of the 4G network, and the second gateway is the PDN gateway PGW of the 4G network
  • the function of the service gateway user plane may be included in the third core network device and the fourth core network device, so the figure is identified as UP Function1 & PGW-U and UP Function 2 & PGW-U respectively.
  • the third core network device represents UP Function1
  • the fourth core network device represents UP Function2
  • the first policy device is a 4G network policy and charging rule function PCRF entity
  • the second policy is set.
  • 5G network policy function as a Policy Function entity; a handover method and a business network 4G and 5G the PCRF Policy Function entity independent of the network deployment, embodiments of the present invention is disclosed comprising:
  • the terminal reports the neighbor cell signal measurement result to the 5G access network device NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.
  • the NG RAN entity sends a handover request message (for example, Handover Required) to the CP Function entity.
  • a handover request message for example, Handover Required
  • the CP Function entity After receiving the handover request message, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.
  • a first handover request for example, Forward Relocation Request
  • the first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN ;
  • the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.
  • the first handover request may further carry at least one of the following:
  • An international mobile subscriber identity IMSI of the terminal a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network ;
  • the terminal network capability information can be obtained by the following two methods:
  • the terminal 1 carries the terminal network capability information in an attach request message Attach Request sent to the CP Function entity.
  • the route 2 the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function entity.
  • the MME after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.
  • the MME is a process for the terminal to initiate a second access point APN in the 4G network.
  • the MME detects that the first APN and the second APN are established, and sends a second handover request (for example, a Handover Request) to the eNB.
  • a second handover request for example, a Handover Request
  • the eNB After receiving the second handover request, the eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.
  • a second handover request response for example, Handover Request Acknowledge
  • the MME After receiving the second handover request response, the MME sends a first handover request response (for example, Forward Relocation Response) to the CP Function entity.
  • a first handover request response for example, Forward Relocation Response
  • the first handover request response carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the CP Function entity after receiving the first handover request response, the CP Function entity sends a handover request response message (for example, Handover Required Response) to the NG RAN entity.
  • a handover request response message for example, Handover Required Response
  • the handover request response message carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the NG RAN after receiving the handover request response message, the NG RAN sends a handover command (for example, a Handover Command) to the terminal.
  • a handover command for example, a Handover Command
  • the switching command carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • S4b10 The terminal sends a handover complete message (for example, Handover Complete) to the eNB.
  • a handover complete message for example, Handover Complete
  • the eNB entity After receiving the handover complete message, the eNB entity sends a handover to a 4G network completion message (for example, Handover to E-UTRAN Complete) to the MME entity.
  • a 4G network completion message for example, Handover to E-UTRAN Complete
  • the MME entity After receiving the handover to the 4G network completion message, the MME entity sends a handover completion notification message (for example, Forward Relocation Complete Notification) to the CP Function entity.
  • a handover completion notification message for example, Forward Relocation Complete Notification
  • the CP Function entity After receiving the handover completion notification message, the CP Function entity sends a handover complete acknowledgement message (for example, Forward Relocation Complete Acknowledge) to the MME entity.
  • a handover complete acknowledgement message for example, Forward Relocation Complete Acknowledge
  • S4b14 After sending the handover complete confirmation message, the CP Function entity sends a ninth notification message (for example, Notify9) to the Policy Function entity.
  • a ninth notification message for example, Notify9
  • the ninth notification message is used to notify the Policy Function entity that the terminal switches from the 5G network to the 4G network.
  • the first handover request in the step S4b02 may not carry the The first IP address and the address of the UP Function 1 entity, or the address of the second IP address and the UP Function 2 entity, but the address of the CP Function is directly carried, wherein the address of the CP Function is used in step S4b03 Addressing the CP Function entity during the establishment of the second APN in step S4b04 in the process of establishing the first APN, in which case the CP Function entity sends the handover completion acknowledgement message Sending the ninth notification message Notify9 to the Policy Function entity.
  • the Policy Function entity After receiving the ninth notification message, the Policy Function entity sends a tenth notification message (for example, Notify10) to the AF device.
  • a tenth notification message for example, Notify10
  • the tenth notification message is used to notify the AF device that the terminal switches from the 5G network to the 4G network.
  • the process of creating the second bearer is a live network process, and details are not described herein.
  • the first-standard network is a 4G network
  • the second-standard network is a 5G network
  • the first core network device is a mobility management entity MME of the 4G network
  • the second core network device is a control plane function of the 5G network.
  • the CP function entity, the third core network device is a first user plane control function UP Function 1 entity of the 5G network, and the fourth core network device is a second user plane control function UP Function 2 entity of the 5G network, the first access network device
  • the evolved base station eNB of the 4G network, the second access network device is the next-generation radio access network NG RAN entity of the 5G network, the first gateway is the serving gateway SGW of the 4G network, and the second gateway is the PDN gateway PGW of the 4G network
  • the function of the service gateway user plane may be included in the third core network device and the fourth core network device, so the figure is identified as UP Function1 & PGW-U and UP Function 2 & PGW-U respectively.
  • the third core network device represents UP Function1
  • the fourth core network device represents UP Function2
  • the first policy device is a 4G network policy and charging rule function PCRF entity
  • the second policy is set.
  • 5G network policy function as a Policy Function entity; a handover method and a business network 4G and 5G the PCRF Policy Function entity independent of the network deployment, embodiments of the present invention is disclosed comprising:
  • the terminal reports the neighbor cell signal measurement result to the 5G access network device NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.
  • the NG RAN entity sends a handover request message (for example, Handover Required) to the CP Function entity.
  • a handover request message for example, Handover Required
  • the CP Function entity After receiving the handover request message, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.
  • a first handover request for example, Forward Relocation Request
  • the first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN .
  • the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.
  • the first handover request may further carry at least one of the following:
  • An international mobile subscriber identity IMSI of the terminal a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network .
  • the terminal network capability information can be obtained by the following two methods:
  • the terminal 1 carries the terminal network capability information in an attach request message Attach Request sent to the CP Function entity.
  • the route 2 the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function entity.
  • the MME after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.
  • the MME is a process for the terminal to initiate a second access point APN in the 4G network.
  • the MME detects that the first APN and the second APN are established, and sends a second handover request (for example, a Handover Request) to the eNB.
  • a second handover request for example, a Handover Request
  • the eNB After receiving the second handover request, the eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.
  • a second handover request response for example, Handover Request Acknowledge
  • the MME after receiving the second handover request response, the MME sends a first handover request response (for example, Forward Relocation Response) to the CP Function entity.
  • a first handover request response for example, Forward Relocation Response
  • the first handover request response carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the CP Function entity after receiving the first handover request response, the CP Function entity sends a handover request response message (for example, Handover Required Response) to the NG RAN entity.
  • a handover request response message for example, Handover Required Response
  • the handover request response message carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the NG RAN after receiving the handover request response message, the NG RAN sends a handover command (for example, a Handover Command) to the terminal.
  • a handover command for example, a Handover Command
  • the switching command carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the terminal After receiving the handover command, the terminal sends a handover complete message (for example, Handover Complete) to the eNB.
  • a handover complete message for example, Handover Complete
  • the terminal after receiving the handover complete message, the terminal sends an eleventh notification message (for example, Notify11) to the AF device, where the terminal may send the to the AF device by using session initiation protocol SIP signaling.
  • the eleventh notification message for example, Notify11
  • the eleventh notification message is used to notify the AF device that the terminal switches from the 5G network to the 4G network.
  • the process of creating the second bearer is a live network process, and details are not described herein.
  • the first-standard network is a 4G network
  • the second-standard network is a 5G network
  • the first core network device is a mobility management entity MME of the 4G network
  • the second core network device is a control plane function of the 5G network.
  • the CP function entity, the third core network device is a first user plane control function UP Function 1 entity of the 5G network, and the fourth core network device is a second user plane control function UP Function 2 entity of the 5G network, the first access network device
  • the evolved base station eNB of the 4G network, the second access network device is the next-generation radio access network NG RAN entity of the 5G network, the first gateway is the serving gateway SGW of the 4G network, and the second gateway is the PDN gateway PGW of the 4G network
  • the function of the service gateway user plane may be included in the third core network device and the fourth core network device, so the figure is identified as UP Function1 & PGW-U and UP Function 2 & PGW-U respectively.
  • the third core network device represents UP Function1
  • the fourth core network device represents UP Function2
  • the first policy device is a 4G network policy and charging rule function PCRF entity
  • the second policy is set.
  • 5G network policy function as a Policy Function entity; a handover method and a business network 4G and 5G the PCRF Policy Function entity independent of the network deployment, embodiments of the present invention is disclosed comprising:
  • the terminal reports the neighbor cell signal measurement result to the 5G access network device NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.
  • the NG RAN entity sends a handover request message to the CP Function entity (for example) Such as: Handover Required).
  • the CP Function entity After receiving the handover request message, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.
  • a first handover request for example, Forward Relocation Request
  • the first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN ;
  • the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.
  • the first handover request may further carry at least one of the following:
  • An international mobile subscriber identity IMSI of the terminal a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network ;
  • the terminal network capability information can be obtained by the following two methods:
  • the terminal carries the terminal network capability information in an attach request message Attach Request sent to the CP Function entity;
  • the route 2 the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function entity.
  • the MME after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.
  • the MME is a process for the terminal to initiate a second access point APN in the 4G network.
  • the MME detects that the first APN and the second APN are established, and sends a second handover request (for example, a Handover Request) to the eNB.
  • a second handover request for example, a Handover Request
  • S4d06 After receiving the second handover request, the eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.
  • a second handover request response for example, Handover Request Acknowledge
  • the MME after receiving the second handover request response, the MME sends the CP Function to the CP Function.
  • the entity sends a first handover request response Forward Relocation Response.
  • the first handover request response carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the CP Function entity after receiving the first handover request response, the CP Function entity sends a handover request response message (for example, Handover Required Response) to the NG RAN entity.
  • a handover request response message for example, Handover Required Response
  • the handover request response message carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the NG RAN After receiving the handover request response message, the NG RAN sends a handover command (for example, a Handover Command) to the terminal.
  • a handover command for example, a Handover Command
  • the switching command carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the terminal After receiving the handover command, the terminal sends a handover complete message (for example, Handover Complete) to the eNB.
  • a handover complete message for example, Handover Complete
  • the terminal after receiving the handover complete message, the terminal initiates a process of creating a second bearer
  • the process of creating the second bearer is a live network process, and details are not described herein.
  • FIG. 5a is a possible implementation manner of the process of creating a second bearer by the AF device in step 4a10, which is described in FIG. 4a, the second bearer setup process for the second IP address
  • the process of establishing the first bearer is the same as the process of establishing the first bearer of the first IP address.
  • the following takes the second IP address as an example to describe the specific process of establishing the second bearer, which specifically includes the following steps:
  • the AF device sends a service establishment request message to the Policy Function entity, that is, the establishment request of the first bearer, and the service establishment request message carries the service requirement information.
  • the AF device searches for the service request information by using the first IP address, and after addressing the PCRF by using the first IP address and the radio access technology type of the 4G network, to the PCRF.
  • Send an authentication authorization request message (for example: AAR).
  • the AAR carries the first IP address.
  • the PCRF entity after receiving the AAR, addresses the PGW-C entity by using the first IP address, and sends a re-authentication request message (for example, RAR) to the PGW-C entity.
  • a re-authentication request message for example, RAR
  • the PGW-C entity after receiving the RAR, the PGW-C entity sends a re-authentication response message (for example, RAA) to the PCRF entity.
  • a re-authentication response message for example, RAA
  • the PGW-C entity sends a bearer creation request message (for example, Create Bearer Request) to the MME entity by using the SGW entity.
  • a bearer creation request message for example, Create Bearer Request
  • the SGW entity forwards the bearer creation request message to the MME entity;
  • the MME entity When the MME entity receives the bearer creation request message, it needs to wait for the handover to complete, and then execute the remaining bearer creation process.
  • S5a07-S5a09 corresponds to the steps S415-S417 in FIG. 4, and details are not described herein again.
  • the eNB entity After receiving the handover complete message, the eNB entity sends a handover to a 4G network completion message (for example, Handover to E-UTRAN Complete) to the MME entity.
  • a 4G network completion message for example, Handover to E-UTRAN Complete
  • S5a11 After receiving the handover from the eNB entity to the 4G network completion message Handover to E-UTRAN Complete, the MME entity sends a bearer setup request message (for example, Bearer Setup Request) to the eNB entity.
  • a bearer setup request message for example, Bearer Setup Request
  • the eNB entity After receiving the bearer setup message, the eNB entity sends a radio resource control connection reset message (for example, RRC Connection Reconfiguration) to the terminal.
  • a radio resource control connection reset message for example, RRC Connection Reconfiguration
  • the terminal After receiving the radio resource control connection reset message, the terminal sends a radio resource control connection reset complete message (for example, RRC Connection Reconfiguration Complete) to the eNB entity.
  • a radio resource control connection reset complete message for example, RRC Connection Reconfiguration Complete
  • the eNB After receiving the radio resource control connection reset complete message, the eNB sends a bearer setup response message (for example, a Bearer Setup Response message) to the MME entity.
  • a bearer setup response message for example, a Bearer Setup Response message
  • the MME After receiving the bearer setup response message, the MME sends a bearer creation response message (for example, Create Bearer Response) Create Bearer Response to the SGW.
  • a bearer creation response message for example, Create Bearer Response
  • S5a16 The SGW sends a bearer creation response message to the PGW-C.
  • the first-standard network is a 4G network
  • the second-standard network is a 5G network
  • the first core network device is a mobility management entity MME of the 4G network
  • the second core network device is a control plane function of the 5G network.
  • CP Function entity the third core network device is the first user of the 5G network
  • the second control network function is an UP Function1 entity
  • the fourth core network device is a second user plane control function UP Function2 entity of the 5G network
  • the first access network device is an evolved base station eNB of the 4G network
  • the second access network device is a 5G network.
  • the next-generation radio access network NG RAN entity the first gateway is a serving gateway SGW of the 4G network
  • the second gateway is a PDN gateway PGW of the 4G network
  • the third core network device and the fourth core network device may include
  • the function of the service gateway user plane is therefore identified as UP Function1&PGW-U and UP Function2&PGW-U respectively.
  • the third core network device represents UP Function1
  • the fourth core network device represents UP Function2
  • the policy device is a policy and charging rule function PCRF entity of the 4G network
  • the second policy device is a policy function of the 5G network
  • the policy function of the 5G network is combined with the policy function of the 5G network.
  • the service switching method disclosed in the embodiment of the invention includes:
  • the terminal reports the signal measurement result of the neighboring cell to the NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.
  • the NG RAN sends a handover request message (for example, Handover Required) to the CP Function entity.
  • a handover request message for example, Handover Required
  • the CP Function entity After receiving the handover request message Handover Required, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.
  • a first handover request for example, Forward Relocation Request
  • the first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN .
  • the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.
  • the first handover request may further carry at least one of the following:
  • An international mobile subscriber identity IMSI of the terminal a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network .
  • the terminal network capability information can be obtained by the following two methods:
  • the terminal carries the terminal network capability information Attach Request in an attach request message sent to the CP Function entity.
  • the route 2 the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function.
  • the MME after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.
  • the MME is a process for the terminal to initiate a second access point name APN in a 4G network.
  • the MME detects that the first APN and the second APN are established, and after the second bearer is created, sends a second handover request (for example, Handover Request) to the eNB.
  • a second handover request for example, Handover Request
  • S6a06 The eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.
  • a second handover request response for example, Handover Request Acknowledge
  • the MME sends a first handover request response (for example, Forward Relocation Response) to the CP Function entity.
  • a first handover request response for example, Forward Relocation Response
  • the first handover request response carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the CP Function entity after receiving the first handover request response, the CP Function entity sends a seventh notification message to the Policy Function entity after receiving the first handover request response to the CP Function entity (for example, Notify7). .
  • the seventh notification message is used to notify the Policy Function entity that the terminal switches from the 5G network to the 4G network.
  • the first handover request in the step S6a02 may not carry the The address of the first IP address and the UP Function 1 entity, or the address of the second IP address and the UP Function 2 entity, but the address of the CP Function is directly carried, wherein the address of the CP Function is used in step S6a03
  • the first-standard network is a 4G network
  • the second-standard network is a 5G network
  • the first core network device is a mobility management entity MME of the 4G network
  • the second core network device is a control plane function of the 5G network.
  • the CP function entity, the third core network device is the first user plane control function UP Function1 entity of the 5G network, the fourth core network device is the second user plane control function UP Function2 entity of the 5G network, and the first access network device is 4G
  • the evolved base station eNB of the network is a next-generation radio access network NG RAN entity of the 5G network
  • the first gateway is a serving gateway SGW of the 4G network
  • the second gateway is a PDN gateway PGW of the 4G network
  • the function of the service gateway user plane may be included, so the figure is identified as UP Function1&PGW-U and UP Function2&PGW-U respectively.
  • the third core The network device represents UP Function1
  • the fourth core network device represents UP Function2
  • the first policy device is a policy and charging rule function PCRF entity of the 4G network
  • the second policy device 5G network policy function of the Policy Function entity
  • 4G networks Policy PCRF and 5G network entity Function unity when deployed, operational embodiment of the present invention as disclosed in Example handover method comprising:
  • the terminal reports the signal measurement result of the neighboring cell to the NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.
  • the NG RAN sends a handover request message (for example, Handover Required) to the CP Function entity.
  • a handover request message for example, Handover Required
  • the CP Function entity After receiving the handover request message Handover Required, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.
  • a first handover request for example, Forward Relocation Request
  • the first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used for the first access Point name APN establishment process.
  • the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.
  • the first handover request may further carry at least one of the following:
  • An international mobile subscriber identity IMSI of the terminal a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network .
  • the terminal network capability information can be obtained by the following two methods:
  • the terminal carries the terminal network capability information Attach Request in an attach request message sent to the CP Function entity.
  • the route 2 the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function.
  • the MME after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.
  • the MME is a process for the terminal to initiate a second access point name APN in the 4G network.
  • the MME detects that the first APN and the second APN are established, and after the second bearer is created, sends a second handover request (for example, a Handover Request) to the eNB.
  • a second handover request for example, a Handover Request
  • the eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.
  • a second handover request response for example, Handover Request Acknowledge
  • the MME sends a first handover request response (for example, Forward Relocation Response) to the CP Function entity.
  • a first handover request response for example, Forward Relocation Response
  • the first handover request response carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the CP Function entity sends a handover request response to the NG RAN entity.
  • Information for example: Handover Required Response
  • the handover request response message carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the NG RAN sends a handover command (for example, a Handover Command) to the terminal.
  • a handover command for example, a Handover Command
  • the switching command carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • S6b10 The terminal sends a handover complete message (for example, Handover Complete) to the eNB.
  • a handover complete message for example, Handover Complete
  • the eNB entity After receiving the handover complete message, the eNB entity sends a handover to a 4G network completion message (for example, Handover to E-UTRAN Complete) to the MME entity.
  • a 4G network completion message for example, Handover to E-UTRAN Complete
  • the MME entity After receiving the handover to the 4G network completion message, the MME entity sends a handover completion notification message (for example, Forward Relocation Complete Notification) to the CP Function entity.
  • a handover completion notification message for example, Forward Relocation Complete Notification
  • the CP Function entity After receiving the handover completion notification message, the CP Function entity sends a handover complete acknowledgement message (for example, Forward Relocation Complete Acknowledge) to the MME entity.
  • a handover complete acknowledgement message for example, Forward Relocation Complete Acknowledge
  • S6b14 After sending the handover complete confirmation message, the CP Function entity sends a ninth notification message (for example, Notify9) to the Policy Function entity.
  • a ninth notification message for example, Notify9
  • the ninth notification message is used to notify the Policy Function entity that the terminal switches from the 5G network to the 4G network.
  • the first handover request in the step S6b02 may not carry the The address of the first IP address and the UP Function 1 entity, or the address of the second IP address and the UP Function 2 entity, but the address of the CP Function is directly carried, wherein the address of the CP Function is used in step S6b03 Addressing the CP Function entity during the establishment of the second APN in step S6b04 in the process of establishing the first APN, in which case the CP Function entity sends the handover completion acknowledgement message To The Policy Function entity sends the ninth notification message Notify9.
  • FIG. 7a is a possible implementation manner of a process for creating a second dedicated bearer in the step 6a09 described in FIG. 6a, where the second bearer setup process for the second IP address is performed,
  • the process of establishing the first bearer of the first IP address is the same.
  • the following takes the second IP address as an example to describe the specific process of establishing the second bearer.
  • the specific steps include the following steps:
  • the Policy Function entity receives a service establishment request message sent by the AF device, and the service establishment request message carries the service requirement information.
  • the Policy Function entity searches for the service requirement information by using the first IP address, and addresses the PGW-C by using the first IP address and the wireless access technology type of the 4G network, and sends the PGW-C to the PGW- C sends a re-authentication request message (for example: RAR).
  • a re-authentication request message for example: RAR
  • the PGW-C After receiving the RAR, the PGW-C sends a re-authentication response message (for example, RAA) to the PCRF.
  • a re-authentication response message for example, RAA
  • the PGW-C sends a bearer creation request message (for example, Create Bearer Request) to the SGW.
  • a bearer creation request message for example, Create Bearer Request
  • the SGW forwards the bearer creation request message to the MME.
  • the MME entity When the MME entity receives the bearer creation request message, it needs to wait for the handover to complete, and then execute the remaining bearer creation process.
  • the eNB entity after receiving the handover complete message, the eNB entity sends a handover to a 4G network completion message (for example, Handover to E-UTRAN Complete) to the MME entity.
  • a 4G network completion message for example, Handover to E-UTRAN Complete
  • the eNB entity After receiving the bearer setup message, the eNB entity sends a radio resource control connection reset message (for example, RRC Connection Reconfiguration) to the terminal.
  • a radio resource control connection reset message for example, RRC Connection Reconfiguration
  • the terminal After receiving the radio resource control connection reset message, the terminal sends a radio resource control connection reset complete message (for example, RRC Connection Reconfiguration Complete) to the eNB entity.
  • a radio resource control connection reset complete message for example, RRC Connection Reconfiguration Complete
  • the eNB After receiving the radio resource control connection reset complete message, the eNB sends a bearer setup response message message (for example, Bearer Setup Response) to the MME entity.
  • a bearer setup response message message for example, Bearer Setup Response
  • the MME After receiving the bearer setup response message, the MME sends a bearer creation response message (for example, Create Bearer Response) to the SGW.
  • a bearer creation response message for example, Create Bearer Response
  • S7a14 The SGW sends a bearer creation response message to the PGW-C.
  • FIG. 7b is a possible implementation manner of the process of creating a second dedicated bearer of the step 6b15 described in FIG. 6b, the second bearer establishment process for the second IP address, and the The process of establishing the first bearer of an IP address is the same.
  • the following takes the second IP address as an example to describe the specific process of establishing the second bearer.
  • the specific steps include the following steps:
  • the Policy Function entity receives a service establishment request message sent by the AF device, and the service establishment request message carries service request information, before the terminal initiates the process of establishing the second bearer;
  • the Policy Function entity searches for the service requirement information by using the first IP address, and addresses the PGW-C by using the first IP address and the wireless access technology type of the 4G network, and sends the PGW-C to the PGW- C sends a re-authentication request message (for example: RAR).
  • a re-authentication request message for example: RAR
  • the PGW-C after receiving the RAR, the PGW-C sends a re-authentication response message (for example, RAA:) to the PCRF.
  • a re-authentication response message for example, RAA:
  • the PGW-C sends a bearer creation request message (for example, Create Bearer Request) to the SGW.
  • a bearer creation request message for example, Create Bearer Request
  • the SGW forwards the bearer creation request message to the MME.
  • the MME entity sends a bearer setup request message (for example, Bearer Setup Request) to the eNB entity.
  • a bearer setup request message for example, Bearer Setup Request
  • the eNB entity After receiving the bearer setup message, the eNB entity sends a radio resource control connection reset message (for example, RRC Connection Reconfiguration) to the terminal.
  • a radio resource control connection reset message for example, RRC Connection Reconfiguration
  • the terminal after receiving the radio resource control connection reset message, the terminal sends a radio resource control connection reset complete message to the eNB entity (for example: RRC Connection Reconfiguration Complete).
  • a radio resource control connection reset complete message for example: RRC Connection Reconfiguration Complete.
  • the eNB after receiving the RRC connection reset complete message, the eNB sends a bearer setup response message message (for example, Bearer Setup Response) to the MME entity.
  • a bearer setup response message message for example, Bearer Setup Response
  • the MME After receiving the bearer setup response message, the MME sends a bearer creation response message (for example, Create Bearer Response) to the SGW.
  • a bearer creation response message for example, Create Bearer Response
  • S7b10 The SGW sends a bearer creation response message to the PGW-C.
  • the first-standard network is a 4G network
  • the second-standard network is a 5G network
  • the first core network device is a mobility management entity MME of the 4G network
  • the second core network device is a control plane function of the 5G network.
  • the third core network device is the first user plane control function UP Function 1 entity of the 5G network
  • the fourth core network device is the second user plane control function UP Function 2 entity of the 5G network
  • the first gateway is the 4G network.
  • the service gateway SGW, the second gateway is the PDN gateway PGW of the 4G network
  • the third core network device and the fourth core network device may include the function of the service gateway user plane, so the figure is respectively identified as UP Function1&PGW-U And UP Function2&PGW-U.
  • the third core network device represents UP Function1
  • the fourth core network device represents UP Function2
  • the first policy device is a 4G network policy and charging rule function PCRF entity
  • the second policy device may be a policy function of the 5G network
  • the service switching method disclosed in the embodiment of the present invention includes:
  • the terminal in the 5G network sends an attach request message Attach Request to the CP Function entity;
  • the attach request message includes a network bearer capability information UE network capability of the terminal.
  • the CP Function entity After receiving the attach request message, the CP Function entity sends a joint attach request to the MME.
  • the joint attach request carries: a first Internet Protocol IP address of the terminal and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used for a first access point name APN Establishment process
  • the joint attach request may further carry: a second IP address of the terminal and an address of the UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used. Establishing a second access point name APN;
  • joint attach request may further carry at least one of the following:
  • An international mobile subscriber identity IMSI of the terminal a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network;
  • the terminal network capability information can be obtained by the following two methods:
  • the terminal carries the terminal network capability information in the attach request message Attach Request sent to the CP Function entity;
  • the route 2 the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function.
  • the MME initiates a process of establishing a first access point name APN.
  • the MME initiates a process of establishing a second access point name APN.
  • the MME sends a joint attach request response to the CP Function entity, a Combined Attach Response
  • the joint attach request response message carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • the MME After the MME establishes that the MME establishes the first APN, it sends a notification message to notify the Policy Function that the MME has established the first UE in the first-standard network based on the first IP address.
  • An APN optionally, if the MME establishes the second APN, the notification message further includes: the MME has established the second APN in the first-standard network for the UE based on the second IP address. ;
  • the CP Function entity after receiving the joint attach request response, the CP Function entity sends an attach request response Attach Request Response to the terminal;
  • the attach accept message carries at least one of the following:
  • the attach accept message the packet data network PDN connection establishment accept message.
  • FIG. 9 is a possible implementation manner of the process for establishing the first APN according to the embodiment of the present invention.
  • the establishment process includes the following steps:
  • S901 The MME sends a location update request Update Location Request message to the user home server HSS.
  • the HSS After receiving the location update request message, the HSS sends a location update confirmation Update Location Response message to the MME.
  • the MME after receiving the location update confirmation message, the MME sends a first session creation request Create Session Request 1 to the SGW;
  • the first session creation request carries the first IP address and the address of the third core network device UP Function1 of the second standard network;
  • the SGW after receiving the first session creation request, the SGW sends a third session creation request Create Session Request 3 to the PGW-C;
  • the third session creation request message carries the first IP address and the address of the third core network device UP Function1 of the second standard network;
  • the PGW-C after receiving the third session creation request, sends a first session establishment request Session Establishment Request1 to the UP Function1 &PGW-U;
  • the first session establishment request message carries the address PGW-C Address of the PGW-C, and may also carry the address SGW Address of the SGW;
  • the UP Function 1 entity sends a first session establishment response message to the PGW-C.
  • the PGW-C After receiving the first session establishment response, the PGW-C sends a first credit control request message CCR1 to the PCRF, requesting to establish an IP connectivity access network session for the first IP address.
  • the PCRF after receiving the CCR1, the PCRF sends a first credit control response message CCA1 to the PGW-C;
  • the PGW-C after receiving the first credit control response message, the PGW-C sends a third session creation response Create Session Response3 to the SGW;
  • the third session creation response includes a 5G IP1, and is used to indicate that the terminal uses the first IP address.
  • the SGW after receiving the third session creation response, the SGW sends a first session creation response Create Session Response1 to the MME;
  • the first session creation response includes a 5G IP1, and is used to instruct the terminal to use the first IP address.
  • FIG. 10 is a possible implementation manner of the process of establishing the second APN according to the embodiment of the present invention.
  • the APN establishment process includes the following steps:
  • the MME sends a second session creation request Create Session Request 2 to the SGW;
  • the second session creation request message carries a second IP address 5G IP2 and an address UP Function Address2 of the UP Function 2 entity;
  • the SGW after receiving the second session creation request, the SGW sends a fourth session creation request Create Session Request 4 to the PGW-C;
  • the fourth session creation request carries the second IP address and the address UP Function Address2 of the UP Function 2 entity.
  • the PGW-C after receiving the fourth session creation request, sends a second session establishment request Session Establishment Request2 to the UP Function2 &PGW-U;
  • the second session establishment request carries the address PGW-C Address of the PGW-C, and may also carry the address SGW Address of the SGW.
  • the UP Function 2 entity after receiving the second session establishment request, the UP Function 2 entity sends a second session establishment response Session Establishment Rsponse2 to the PGW-C;
  • the PGW-C After receiving the second session establishment response, the PGW-C sends a second credit control request message CCR2 to the PCRF, requesting to establish an IP connectivity access network session for the second IP address.
  • the PCRF after receiving the second credit control request message, the PCRF sends a second credit control response message CCA2 to the PGW-C;
  • the PGW-C after receiving the second credit control response message, the PGW-C sends a fourth session creation response Create Session Response4 to the SGW;
  • the fourth session creation response carries 5G IP2, and the fourth session creation response message Used to instruct the terminal to use the second IP address
  • the SGW after receiving the fourth session creation response, the SGW sends a second session creation response Create Session Response2 to the MME;
  • the second session creation response carries 5G IP2, and the second session creation response message is used to indicate that the terminal uses the second IP address.
  • each network element such as the first core network device, the second core network device, and the like, in order to implement the above functions, includes corresponding hardware structures and/or software modules for performing the respective functions.
  • the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
  • the embodiments of the present invention may perform functional unit division on the first core network device, the first core network device, and the like according to the foregoing method.
  • each functional unit may be divided according to each function, or two or more functions may be used.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.
  • FIG. 11A shows a possible structural diagram of the first core network device involved in the above embodiment.
  • the first core network device 1100 includes a processing unit 1102 and a communication unit 1103.
  • the processing unit 1102 is configured to control and control the action of the first core network device.
  • the processing unit 1002 is configured to support the first core network device to perform steps S403, S404, S407, S408, S412, and S414 in FIG. 4, FIG. Steps S507, S508, steps S603, S604, S606, S607, S608, S610, S612 in Fig. 6, S705 in Fig. 7, steps S803-S805 in Fig. 8, S901, S903 in Fig.
  • Step S1001 in 10 S4a03, S4a04, S4a05, S4a07 in Fig. 4a, steps S4b03, S4b04, S4b05, S4b07, S4b012 in Fig. 4b, Steps S4c03, S4c04, S4c05, S4c07 in Fig. 4c, steps S4d03, S4d04, S4d05, S4d07 in Fig. 4d, steps S5a07, S5a11, S5a15 in Fig. 5a, steps S6a03, S6a04, S6a05, S6a07 in Fig.
  • the communication unit 1103 is for supporting communication between the first core network device and other network entities, such as communication with the eNB, SGW, etc. shown in FIG.
  • the first core network device may further include a storage unit 1101 for storing program codes and data of the MME.
  • the processing unit 1102 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 1103 may be a communication interface, a transceiver, a transceiver circuit, or the like.
  • the communication interface is a generic name and may include one or more interfaces.
  • the communication interface may include an interface between the MME and the SGW, and an interface between the MME and the eNB. / or other interface.
  • the storage unit 1101 may be a memory.
  • the MME according to the embodiment of the present invention may be the MME shown in FIG. 11B.
  • the first core network device 1110 includes a processor 1112, a communication interface 1113, and a memory 1111.
  • the first core network device 1110 may further include a bus 1114.
  • the communication interface 1113, the processor 1112, and the memory 1111 may be connected to each other through a bus 1114.
  • the bus 1114 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (abbreviated). EISA) bus and so on.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus 1114 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 11B, but it does not mean that there is only one bus or one type of bus.
  • the first core network device shown in FIG. 11A or FIG. 11B can also be understood as a device for the first core network device, which is not limited in the embodiment of the present invention.
  • FIG. 12A shows a possible structural diagram of the second core network device involved in the above embodiment.
  • the second core network device 1200 includes a processing unit 1202 and a communication unit 1203.
  • the processing unit 1202 is configured to perform control management on the action of the second core network device.
  • the processing unit 1202 is configured to support the second core network device to perform steps S402, S405, S409, and S415 in FIG. 4, and step S602 in FIG. , S605, S613, steps S802, S807 in FIG. 8, steps S4a02, S4a08 in FIG. 4a, steps S4b02, S4b08, S4b13 in FIG. 4b, steps S4c02, S4c08 in FIG.
  • the communication unit 1203 is configured to support communication between the second core network device and other network entities, such as communication with the NG RAN entity, the UP Function entity, and the like shown in FIG.
  • the second core network device may further include a storage unit 1201 for storing program codes and data of the second core network device.
  • the processing unit 1202 may be a processor or a controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure.
  • the processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like.
  • the communication unit 1203 may be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name, and may include one or more interfaces, for example, may include: an interface between a CP Function entity and an NG RAN entity, and a CP Function entity and Interfaces and/or other interfaces between UP Function entities.
  • the storage unit 1201 may be a memory.
  • the second core network device may be the second core network device shown in FIG. 12B.
  • the second core network device 1210 includes a processor 1212, a communication interface 1213, and a memory 1211.
  • the second core network device 1210 may further include a bus 1214.
  • the communication interface 1213, the processor 1212, and the memory 1211 may be connected to each other through a bus 1214.
  • the bus 1214 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (abbreviated). EISA) bus and so on.
  • PCI Peripheral Component Interconnect
  • EISA Extended Industry Standard Architecture
  • the bus 1214 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 12B, but it does not mean that there is only one bus or one type of bus.
  • the second core network device shown in FIG. 12A or FIG. 12B can also be understood as a device for the CP Function entity, which is not limited in the embodiment of the present invention.
  • the embodiment of the present invention also provides the following device: a first gateway, a second gateway, a first access network device, a second access network device, a first policy device, a second policy device, and an application function device,
  • the terminal, the third core network device, the fourth core network device, and the like, and the structure of the network element is similar to the structure of the first core network device or the second core network device, which is not described in detail in the embodiment of the present invention.
  • the steps of the method or algorithm described in the embodiments of the present invention may be implemented in a hardware manner, or may be implemented by a processor executing software instructions.
  • the software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable Programmable ROM (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art.
  • An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium.
  • the storage medium can also be an integral part of the processor.
  • the processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a gateway device or mobility management network element. Of course, the processor and the storage medium may also exist as discrete components in the gateway device or the mobility management network

Landscapes

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

Abstract

A switching method and device comprise: a first core network device receiving a first switching request from a second core network device, the first switching request carrying a first IP address and an address of a third core network device (202), the first IP address and the address of the third core network device being used for an establishment process of a first APN, the first core network device being applied to a first-standard network, the second core network device and the third core network device being applied to a second-standard network, and the first IP address being an IP address allocated by the second-standard network to a terminal; the first core network device initiating an establishment process of the first APN for the terminal in the first-standard network (203); the first core network device sending a second switching request to an access network device (204), the access network device being applied to the first-standard network; the first core network device receives a response message for the second switching request from the access network device (205); and the first core network device sending a response message for the first switching request to the second core network device (206).

Description

一种切换方法及设备Switching method and device

本发明要求2016年8月29日递交的发明名称为“一种切换方法及设备”的申请号PCT/CN2016/097247的在先申请优先权,上述在先申请的内容以引入的方式并入本文本中。The present invention claims priority to the priority of the application Serial No. PCT/CN2016/097247, filed on Aug. 29, 2016, which is incorporated herein by reference. This.

技术领域Technical field

本发明涉及通信技术领域,尤其涉及一种切换方法及设备。The present invention relates to the field of communications technologies, and in particular, to a handover method and device.

背景技术Background technique

第4代(4th Generation,4G)移动通信网络,例如长期演进(Long Term Evolution,LTE)网络,目前已经实现了广覆盖。4G网络因其通信速度快、网络频谱宽、通信灵活等特点,赢得了用户和运营商的一致好评。但物联网、车联网等网络需求的出现,用户对于下一代移动通信网络,即第5代(5th Generation,5G)移动通信网络的诉求越来越多,例如要求连续广域覆盖100兆字节/每秒(Mbps)的用户体验速率、热点1千兆字节/每秒(Gbps)的用户体验速率、1毫秒(ms)以内的空口时延、100ms以内的端到端时延、可靠性保障等等。4th Generation (4G) mobile communication networks, such as Long Term Evolution (LTE) networks, have now achieved wide coverage. 4G network has won the praise of users and operators because of its fast communication speed, wide network spectrum and flexible communication. However, with the emergence of network requirements such as the Internet of Things and the Internet of Vehicles, users are increasingly demanding the next generation mobile communication network, that is, the 5th Generation (5G) mobile communication network, for example, requiring continuous wide-area coverage of 100 megabytes. User experience rate per second (Mbps), user experience rate of 1 gigabyte per second (Gbps), air interface delay within 1 millisecond (ms), end-to-end delay within 100ms, reliability Guarantee and so on.

4G网络商用初期,实践中需要保障4G网络与第二代(2nd Generation,2G)移动通信网络或第三代(3rd Generation,3G)移动通信网络之间的互操作,以保证业务的连续性。而4G网络与2G网络或3G网络之间的互操作涉及诸多复杂流程,例如承载/隧道模型的映射、服务质量(Quality of Service,QoS)参数的映射、安全参数的映射、缺省承载、允许无缺省承载的交接等等。In the early stage of commercialization of 4G networks, in practice, it is necessary to ensure interoperability between 4G networks and 2nd Generation (2G) mobile communication networks or 3rd Generation (3G) mobile communication networks to ensure continuity of services. Interoperability between 4G networks and 2G networks or 3G networks involves many complex processes, such as mapping of bearer/tunnel models, mapping of quality of service (QoS) parameters, mapping of security parameters, default bearers, and allowable There is no default bearer handover, and so on.

类似的,在5G网络部署初期,也需要保障5G网络与4G网络或其他网络之间的互操作,然而现有技术中不同制式网络(例如4G网络与2G网络或3G网络)之间的互操作流程过于复杂,不利于保障5G网络的部署进程。Similarly, in the initial stage of 5G network deployment, interoperability between 5G networks and 4G networks or other networks needs to be guaranteed. However, interoperability between different standard networks (such as 4G networks and 2G networks or 3G networks) in the prior art. The process is too complicated, which is not conducive to guarantee the deployment process of 5G networks.

发明内容Summary of the invention

本发明的实施例提供一种切换方法及设备,以期简化不同制式网络之间 的互操作流程。Embodiments of the present invention provide a handover method and device, in order to simplify between different standard networks Interoperability process.

本发明实施例的第一方面,提供一种切换方法,包括:A first aspect of the embodiments of the present invention provides a handover method, including:

第一核心网设备从第二核心网设备接收第一切换请求,所述第一切换请求携带第一互联网协议IP地址和第三核心网设备的地址,所述第一IP地址和所述第三核心网设备的地址用于第一接入点名称APN的建立过程,其中,所述第一核心网设备应用于第一制式网络,所述第二核心网设备和所述第三核心网设备应用于第二制式网络,所述第一IP地址为所述第二制式网络为终端分配的IP地址;所述第一核心网设备为所述终端在所述第一制式网络中发起所述第一APN的建立过程;所述第一核心网设备向接入网设备发送第二切换请求,其中,所述接入网设备应用于所述第一制式网络;所述第一核心网设备从所述接入网设备接收第二切换请求的响应消息;所述第一核心网设备向所述第二核心网设备发送第一切换请求的响应消息。The first core network device receives a first handover request from the second core network device, where the first handover request carries a first internet protocol IP address and an address of a third core network device, the first IP address and the third The address of the core network device is used to establish a first access point name APN, where the first core network device is applied to the first standard network, and the second core network device and the third core network device are applied. In the second mode network, the first IP address is an IP address assigned by the second standard network to the terminal; and the first core network device is the first terminal in the first standard network to initiate the first a process of establishing an APN; the first core network device sends a second handover request to the access network device, wherein the access network device is applied to the first standard network; the first core network device is from the The access network device receives the response message of the second handover request; the first core network device sends a response message of the first handover request to the second core network device.

由上可见,第一制式网络的第一核心网设备接收到第二制式网络的第二核心网设备发送的第一切换请求后,根据第一IP地址和第三核心网设备的地址,为终端发起第一APN的建立过程,并向接入网设备发送第二切换请求,以及接收接入网设备发送的第二切换请求的响应消息,这之后,向第二核心网设备发送第一切换请求的响应消息。从而,终端可以从第二网络制式切换至第一网络制式。可见,本发明实施例提供的方案无需复杂的QoS映射、Bearer ID映射、位置标识等映射的流程,简化了不同制式网络之间的互操作流程,有利于在终端切换至不同制式网络过程中,减少网络侧设备的信令交互过程,提升切换效率。It can be seen that, after receiving the first handover request sent by the second core network device of the second standard network, the first core network device of the first-standard network is the terminal according to the address of the first IP address and the third core network device. Initiating a setup process of the first APN, and sending a second handover request to the access network device, and receiving a response message of the second handover request sent by the access network device, after which the first handover request is sent to the second core network device. Response message. Thereby, the terminal can switch from the second network system to the first network standard. It can be seen that the solution provided by the embodiment of the present invention does not require complicated mapping processes such as QoS mapping, Bearer ID mapping, and location identification, which simplifies the interoperation process between different standard networks, and is beneficial to the process of switching the terminal to a different standard network. Reduce the signaling interaction process of the network side device and improve the switching efficiency.

在一个可能的设计中,所述第一核心网设备为所述终端在所述第一制式网络中发起所述第一APN的建立过程,包括:所述第一核心网设备向第一网关发送第一创建会话请求消息,所述第一创建会话请求消息携带所述第一IP地址和所述第三核心网设备的地址;所述第一核心网设备从所述第一网关接收第一创建会话响应消息,所述第一创建会话响应消息用于指示所述终端使用所述第一IP地址。In a possible design, the first core network device initiates the establishment process of the first APN in the first standard network, and the first core network device sends the first core network device to the first gateway. a first create session request message, the first create session request message carrying the first IP address and an address of the third core network device; the first core network device receiving a first creation from the first gateway a session response message, the first create session response message is used to instruct the terminal to use the first IP address.

在一个可能的设计中,所述第一切换请求还携带指示信息,所述指示信 息用于指示所述第一核心网设备完成所述第一APN的建立过程之后向所述第二核心网设备发送第一通知消息,所述方法还包括:所述第一核心网设备向所述第二核心网设备发送所述第一通知消息,所述第一通知消息用于通知所述第二核心网设备:所述第一核心网设备基于所述第一IP地址为所述终端建立了所述第一APN。In a possible design, the first handover request further carries indication information, and the indication information The information is used to send the first notification message to the second core network device after the first core network device completes the process of establishing the first APN, and the method further includes: the first core network device The second core network device sends the first notification message, where the first notification message is used to notify the second core network device: the first core network device establishes the terminal for the terminal based on the first IP address. The first APN.

在一个可能的设计中,所述第一核心网设备向所述第一接入网设备发送第二切换请求之前,所述方法还包括:所述第一核心网设备从所述第一网关接收承载创建请求消息;所述第一核心网设备向所述第一网关发送承载创建响应消息。In a possible design, before the first core network device sends the second handover request to the first access network device, the method further includes: the first core network device receiving from the first gateway Carrying a create request message; the first core network device sends a bearer creation response message to the first gateway.

在一个可能的设计中,所述第一核心网设备为所述终端在所述第一制式网络中发起所述第一APN的建立过程之后,所述方法还包括:所述第一核心网设备为所述终端在所述第一制式网络中发起第二APN的建立过程。In a possible design, after the first core network device initiates the process of establishing the first APN in the first standard network, the method further includes: the first core network device Initiating a process of establishing a second APN in the first standard network for the terminal.

在一个可能的设计中,所述第一切换请求还携带第二IP地址和第四核心网设备的地址,其中,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址,所述第四核心网设备应用于所述第二制式网络,所述第一核心网设备为所述终端在所述第一制式网络中发起第二APN的建立过程,包括:所述第一核心网设备向第一网关发送第二创建会话请求消息,所述第二创建会话请求消息携带所述第二IP地址和所述第四核心网设备的地址;所述第一核心网设备从所述第一网关接收第二创建会话响应消息,所述第二创建会话响应消息用于指示所述终端使用所述第二IP地址。In a possible design, the first handover request further carries a second IP address and an address of a fourth core network device, where the second IP address is an IP allocated by the second standard network to the terminal An address, the fourth core network device is applied to the second standard network, where the first core network device is a process for the terminal to initiate a second APN in the first standard network, including: a core network device sends a second create session request message to the first gateway, where the second create session request message carries the second IP address and an address of the fourth core network device; the first core network device The first gateway receives a second create session response message, where the second create session response message is used to indicate that the terminal uses the second IP address.

在一个可能的设计中,所述第一核心网设备为所述终端在所述第一制式网络中发起第二接入点名称APN的建立过程之后,所述方法还包括:所述第一核心网设备向所述第二核心网设备发送第二通知消息,所述第二通知消息用于通知所述第二核心网设备:所述第一核心网设备为基于所述第二IP地址为所述终端建立了所述第二APN。In a possible design, after the first core network device initiates a process of establishing a second access point name APN in the first standard network, the method further includes: the first core The network device sends a second notification message to the second core network device, where the second notification message is used to notify the second core network device that the first core network device is based on the second IP address. The terminal establishes the second APN.

在一个可能的设计中,所述第一切换请求的响应消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。 In a possible design, the response message of the first handover request carries at least one of the following: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.

在一个可能的设计中,所述第一切换请求还携带以下至少一项:所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文或所述终端在所述第一制式网络的终端网络能力信息。In a possible design, the first handover request further carries at least one of: an international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, the terminal a session management class context or terminal network capability information of the terminal in the first system network.

在一个可能的设计中,所述第一核心网设备向所述第二核心网设备发送第一切换请求的响应消息之后,所述方法还包括:所述第一核心网设备从所述第一网关接收承载创建请求消息;所述第一核心网设备接收来自所述接入网设备发送的切换到第一制式网络的完成消息;所述第一核心网设备向所述接入网设备发送承载建立请求消息;所述第一核心网设备从所述接入网设备接收承载建立响应消息;所述第一核心网设备向所述第一网关发送承载创建响应消息。In a possible design, after the first core network device sends a response message of the first handover request to the second core network device, the method further includes: the first core network device from the first Receiving, by the gateway, a bearer creation request message; the first core network device receiving a completion message sent from the access network device and switching to the first standard network; the first core network device sending a bearer to the access network device Establishing a request message; the first core network device receives a bearer setup response message from the access network device; the first core network device sends a bearer creation response message to the first gateway.

在一个可能的设计中,所述第一核心网设备接收来自所述接入网设备发送的切换到第一制式网络的完成消息之后,所述方法还包括:所述第一核心网设备向所述第二核心网设备发送切换完成通知消息;所述第一核心网设备从所述第二核心网设备接收切换完成确认消息。In a possible design, after the first core network device receives the completion message sent from the access network device and switches to the first-standard network, the method further includes: the first core network device The second core network device sends a handover complete notification message; the first core network device receives a handover complete confirmation message from the second core network device.

本发明实施例的第二方面,还提供一种切换方法,包括:A second aspect of the embodiments of the present invention further provides a handover method, including:

第二核心网设备从接入网设备接收切换要求消息,其中,所述第二核心网设备和所述接入网设备应用于第二制式网络;所述第二核心网设备向第一核心网设备发送第一切换请求,所述第一切换请求携带第一互联网协议IP地址和第三核心网设备的地址,所述第一IP地址和所述第三核心网设备的地址用于终端在第一制式网络的第一接入点名称APN的建立过程,其中,所述第一核心网设备应用于所述第一制式网络,所述第三核心网设备应用于所述第二制式网络,所述第一IP地址为所述第二制式网络为所述终端分配的IP地址;所述第二核心网设备从所述第一核心网设备接收第一切换请求的响应消息;所述第二核心网设备向所述接入网设备发送切换要求响应消息。The second core network device receives the handover request message from the access network device, where the second core network device and the access network device are applied to the second standard network; and the second core network device is applied to the first core network The device sends a first handover request, where the first handover request carries a first Internet Protocol IP address and an address of a third core network device, where the first IP address and the address of the third core network device are used by the terminal. a process for establishing a first access point name APN of a standard network, wherein the first core network device is applied to the first standard network, and the third core network device is applied to the second standard network. The first IP address is an IP address assigned by the second standard network to the terminal; the second core network device receives a response message of the first handover request from the first core network device; the second core The network device sends a handover request response message to the access network device.

由上可见,第二制式网络的第二核心网设备接收第二制式网络的接入网设备发送的切换要求消息,第二核心网设备向第一制式网络的第一核心网设备发送第一切换请求,第一切换请求携带第一互联网协议IP地址和第三核心网设备的地址,第一IP地址和第三核心网设备的地址用于终端在第一制式网络 的第一APN的建立过程,第一APN建立过程完成后,第二核心网设备接收第一核心网设备发送的第一切换请求的响应消息,并向接入网设备发送切换要求响应消息。可见,本发明实施例的方案无需复杂的QoS映射、Bearer ID映射、位置标识等映射的流程,简化了不同制式网络之间的互操作流程,有利于在终端切换至不同制式网络过程中,减少网络侧设备的信令交互过程,提升切换效率。It can be seen that the second core network device of the second standard network receives the handover request message sent by the access network device of the second standard network, and the second core network device sends the first handover to the first core network device of the first standard network. Requesting, the first handover request carries the first internet protocol IP address and the address of the third core network device, and the first IP address and the address of the third core network device are used for the terminal in the first standard network After the first APN establishment process is completed, the second core network device receives the response message of the first handover request sent by the first core network device, and sends a handover request response message to the access network device. It can be seen that the solution of the embodiment of the present invention does not require complex QoS mapping, Bearer ID mapping, location identification and other mapping processes, which simplifies the interoperation process between different standard networks, and is beneficial to reduce the terminal switching to different standard networks. The signaling interaction process of the network side device improves the switching efficiency.

在一个可能的设计中,所述第一切换请求还携带指示信息,所述指示信息用于指示所述第一核心网设备完成所述第一APN的建立过程之后向所述第二核心网设备发送第一通知消息,所述第二核心网设备向第一核心网设备发送第一切换请求之后,所述方法还包括:所述第二核心网设备从所述第一核心网设备接收所述第一通知消息,所述第一通知消息用于通知所述第二核心网设备:所述第一核心网设备基于所述第一IP地址为所述终端建立了所述第一APN。In a possible design, the first handover request further carries indication information, where the indication information is used to indicate to the second core network device after the first core network device completes the setup process of the first APN. After the first notification message is sent, after the second core network device sends the first handover request to the first core network device, the method further includes: the second core network device receiving, by the first core network device, the a first notification message, the first notification message is used to notify the second core network device that the first core network device establishes the first APN for the terminal based on the first IP address.

在一个可能的设计中,所述第二核心网设备从所述第一核心网设备接收所述第一通知消息之后,所述方法还包括:所述第二核心网设备向第二策略设备发送第三通知消息,所述第三通知消息用于通知所述第二策略设备:所述第一核心网设备基于所述第一IP地址为所述终端建立了所述第一APN,其中,所述第二策略设备应用于所述第二制式网络。In a possible design, after the second core network device receives the first notification message from the first core network device, the method further includes: sending, by the second core network device, to the second policy device a third notification message, the third notification message is used to notify the second policy device: the first core network device establishes the first APN for the terminal based on the first IP address, where The second policy device is applied to the second system network.

在一个可能的设计中,所述第一切换请求还携带第二IP地址和第四核心网设备的地址,所述第二IP地址和所述第四核心网设备的地址用于所述终端在所述第一制式网络的第二APN的建立过程,其中,所述第四核心网设备应用于所述第二制式网络,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址。In a possible design, the first handover request further carries a second IP address and an address of a fourth core network device, where the second IP address and the address of the fourth core network device are used by the terminal a process of establishing a second APN of the first-standard network, where the fourth core network device is applied to the second-standard network, and the second IP address is allocated by the second-standard network to the terminal IP address.

在一个可能的设计中,所述第二核心网设备向第一核心网设备发送第一切换请求之后,所述方法还包括:所述第二核心网设备从所述第一核心网设备接收第二通知消息,所述第二通知消息用于通知所述第二核心网设备:所述第一核心网设备基于所述第二IP地址为所述终端建立了所述第二APN。In a possible design, after the second core network device sends the first handover request to the first core network device, the method further includes: the second core network device receiving the first core network device And a second notification message, where the second notification message is used to notify the second core network device that the first core network device establishes the second APN for the terminal based on the second IP address.

在一个可能的设计中,所述第二核心网设备从所述第一核心网设备接收 第二通知消息之后,所述方法还包括:所述第二核心网设备向第二策略设备发送第四通知消息,所述第四通知消息用于通知所述第二策略设备:所述第一核心网设备基于所述第二IP地址为所述终端建立了所述第二APN,所述第二策略设备应用于所述第二制式网络。In a possible design, the second core network device receives from the first core network device After the second notification message, the method further includes: the second core network device sending a fourth notification message to the second policy device, where the fourth notification message is used to notify the second policy device: the first The core network device establishes the second APN for the terminal based on the second IP address, and the second policy device is applied to the second standard network.

在一个可能的设计中,所述第二核心网设备向第一核心网设备发送第一切换请求之前,所述方法还包括:所述第二核心网设备从所述终端接收附着请求消息,所述附着请求消息携带所述终端在所述第一制式网络中的终端网络能力信息。In a possible design, before the second core network device sends the first handover request to the first core network device, the method further includes: the second core network device receiving an attach request message from the terminal, where The attach request message carries terminal network capability information of the terminal in the first standard network.

在一个可能的设计中,所述第二核心网设备向第一核心网设备发送第一切换请求之前,所述方法还包括:所述第二核心网设备向所述终端发送查询请求消息;所述第二核心网设备从所述终端接收查询请求响应消息,所述查询请求响应消息携带所述终端在所述第一制式网络中的终端网络能力信息。In a possible design, before the sending, by the second core network device, the first handover request to the first core network device, the method further includes: the second core network device sending a query request message to the terminal; The second core network device receives a query request response message from the terminal, and the query request response message carries terminal network capability information of the terminal in the first standard network.

在一个可能的设计中,所述第一切换请求还携带以下至少一项:所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文或所述终端在第一制式网络的终端网络能力信息。In a possible design, the first handover request further carries at least one of: an international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, the terminal The session management class context or the terminal network capability information of the terminal in the first system network.

在一个可能的设计中,所述第一切换请求的响应消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。In a possible design, the response message of the first handover request carries at least one of the following: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.

在一个可能的设计中,所述第二核心网设备从所述第一核心网设备接收第一切换请求的响应消息之后,所述方法还包括:所述第二核心网设备向所述第二策略设备发送第七通知消息,所述第七通知消息用于通知所述第二策略设备:所述终端从所述第二制式网络切换到所述第一制式网络。In a possible design, after the second core network device receives the response message of the first handover request from the first core network device, the method further includes: the second core network device to the second The policy device sends a seventh notification message, where the seventh notification message is used to notify the second policy device that the terminal switches from the second standard network to the first standard network.

在一个可能的设计中,所述第二核心网设备从所述第一核心网设备接收第一切换请求的响应消息之后,所述方法还包括:所述第二核心网设备向所述第一核心网设备发送切换完成确认消息;所述第二核心网设备向所述第二策略设备发送第九通知消息,所述第九通知消息用于通知所述第二策略设备:所述终端从所述第二制式网络切换到所述第一制式网络。 In a possible design, after the second core network device receives the response message of the first handover request from the first core network device, the method further includes: the second core network device to the first The core network device sends a handover complete confirmation message; the second core network device sends a ninth notification message to the second policy device, where the ninth notification message is used to notify the second policy device: the terminal The second system network switches to the first system network.

本发明实施例的第三方面,还提供一种会话创建的方法,包括:A third aspect of the embodiments of the present invention provides a method for creating a session, including:

第一网关从第一核心网设备接收第一创建会话请求消息,所述第一创建会话请求消息携带第一互联网协议IP地址和第三核心网设备地址,所述第一IP地址和所述第三核心网设备的地址用于终端在第一制式网络的第一接入点名称APN的建立过程,所述第一核心网设备应用于所述第一制式网络,所述第三核心网设备应用于第二制式网络,所述第一IP地址为所述第二制式网络为所述终端分配的IP地址;所述第一网关向第二网关发送第三创建会话请求消息,所述第三创建会话请求消息携带所述第一IP地址和所述第三核心网设备的地址;所述第一网关从所述第二网关接收第三创建会话响应消息,所述第三创建会话响应消息用于指示所述终端使用所述第一IP地址;所述第一网关向所述第一核心网设备发送第一创建会话响应消息,所述第一创建会话响应消息用于指示所述终端使用所述第一IP地址。The first gateway receives a first create session request message from the first core network device, where the first create session request message carries a first internet protocol IP address and a third core network device address, the first IP address and the first The address of the third core network device is used to establish a first access point name APN of the terminal in the first standard network, and the first core network device is applied to the first standard network, and the third core network device is applied. In the second mode network, the first IP address is an IP address assigned by the second standard network to the terminal; the first gateway sends a third create session request message to the second gateway, where the third creation is The session request message carries the first IP address and an address of the third core network device; the first gateway receives a third create session response message from the second gateway, where the third create session response message is used Instructing the terminal to use the first IP address; the first gateway sends a first create session response message to the first core network device, where the first create session response message is used to indicate Terminal uses the first IP address.

在一个可能的设计中,所述第一网关从第一核心网设备接收第一创建会话请求消息之后,所述方法还包括:所述第一网关从所述第一核心网设备接收第二创建会话请求消息,所述第二创建会话请求消息携带第二互联网协议IP地址和第四核心网设备的地址,所述第二IP地址和所述第四核心网设备的地址用于所述终端在所述第一制式网络的第二APN的建立过程,其中,所述第四核心网设备应用于所述第二制式网络,所述第二IP为所述第二制式网络为所述终端分配的IP地址;所述第一网关向所述第二网关发送第四创建会话请求消息,所述第四创建会话请求消息携带所述第二IP地址和所述第四核心网设备的地址;所述第一网关从所述第二网关接收第四创建会话响应消息,所述第四创建会话响应消息用于指示所述终端使用所述第二IP地址;所述第一网关向所述第一核心网设备发送第二创建会话响应消息,所述第一创建会话响应消息用于指示所述终端使用所述第二IP地址。In a possible design, after the first gateway receives the first create session request message from the first core network device, the method further includes: the first gateway receiving the second creation from the first core network device a session request message, where the second create session request message carries a second internet protocol IP address and an address of a fourth core network device, where the second IP address and the address of the fourth core network device are used by the terminal a process of establishing a second APN of the first-standard network, where the fourth core network device is applied to the second-standard network, and the second IP is allocated by the second-standard network to the terminal An IP address; the first gateway sends a fourth create session request message to the second gateway, where the fourth create session request message carries the second IP address and an address of the fourth core network device; The first gateway receives a fourth create session response message from the second gateway, where the fourth create session response message is used to indicate that the terminal uses the second IP address; the first gateway is to the first A second core network apparatus transmits a Create Session Response message, the first message is used to create a session response indicating the second terminal using the IP address.

本发明实施例的第四方面,还提供一种会话创建的方法,包括:A fourth aspect of the embodiments of the present invention provides a method for creating a session, including:

第二网关从第一网关接收第三创建会话请求消息,所述第三创建会话请求消息携带第一互联网协议IP地址和第三核心网设备的地址,所述第一IP地址和所述第三核心网设备的地址用于终端在第一制式网络的第一接入点名称 APN的建立过程,其中,所述第三核心网设备应用于第二制式网络,所述第一IP地址为所述第二制式网络为所述终端分配的IP地址;所述第二网关向第一策略设备发送第一信用控制请求消息,所述第一信用控制请求消息用于请求基于所述第一IP地址为所述终端建立IP连通性接入网会话,其中,所述第一策略设备应用于所述第一制式网络;所述第二网关从所述第一策略设备接收第一信用控制应答消息;所述第二网关向所述第一网关发送第三创建会话响应消息,所述第三创建会话响应消息用于指示所述终端使用所述第一IP地址。The second gateway receives a third create session request message from the first gateway, where the third create session request message carries a first internet protocol IP address and an address of a third core network device, the first IP address and the third The address of the core network device is used for the first access point name of the terminal in the first standard network. The APN establishing process, wherein the third core network device is applied to the second standard network, the first IP address is an IP address allocated by the second standard network to the terminal; and the second gateway is a policy device sends a first credit control request message, where the first credit control request message is used to request to establish an IP connectivity access network session for the terminal based on the first IP address, where the first policy device Applying to the first standard network; the second gateway receives a first credit control response message from the first policy device; the second gateway sends a third create session response message to the first gateway, The third create session response message is used to instruct the terminal to use the first IP address.

在一个可能的设计中,所述第二网关从所述第一网关接收第三创建会话请求消息之后,所述方法还包括:所述第二网关根据所述第三核心网设备的地址向所述第三核心网设备发送第一会话建立请求消息,所述第一会话建立请求消息携带所述第二网关的地址;所述第二网关从所述第三核心网设备接收第一会话建立响应消息。In a possible design, after the second gateway receives the third create session request message from the first gateway, the method further includes: the second gateway according to the address of the third core network device The third core network device sends a first session establishment request message, where the first session establishment request message carries an address of the second gateway; and the second gateway receives a first session establishment response from the third core network device Message.

在一个可能的设计中,所述第一会话建立请求消息还携带所述第一网关的地址。In a possible design, the first session establishment request message further carries an address of the first gateway.

在一个可能的设计中,所述第二网关向所述第一网关发送第三创建会话响应消息之后,所述方法还包括:所述第二网关从所述第一网关接收第四创建会话请求消息,所述第四创建会话请求消息携带第二互联网协议IP地址和第四核心网设备的地址,所述第二IP地址和所述第四核心网设备的地址用于所述终端在所述第一制式网络的第二APN的建立过程,其中,所述第四核心网设备应用于所述第二制式网络,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址;所述第二网关向所述第一策略设备发送第二信用控制请求消息,所述第二信用控制请求消息用于请求基于所述第二IP为所述终端建立IP连通性接入网会话;所述第二网关从所述第一策略设备接收第二信用控制应答消息;所述第二网关向所述第一网关发送第四创建会话响应消息,所述第四创建会话响应消息用于指示所述终端使用所述第二IP地址。In a possible design, after the second gateway sends a third create session response message to the first gateway, the method further includes: the second gateway receiving a fourth create session request from the first gateway a message, the fourth create session request message carries a second internet protocol IP address and an address of a fourth core network device, where the second IP address and the address of the fourth core network device are used by the terminal a process of establishing a second APN of the first standard network, wherein the fourth core network device is applied to the second standard network, and the second IP address is an IP allocated by the second standard network to the terminal The second gateway sends a second credit control request message to the first policy device, where the second credit control request message is used to request to establish an IP connectivity access network for the terminal based on the second IP a second gateway receives a second credit control response message from the first policy device; the second gateway sends a fourth create session response message to the first gateway, the fourth create session Message should be used to instruct the terminal to use the second IP address.

在一个可能的设计中,所述第二网关从所述第一网关接收第四创建会话请求消息之后,所述方法还包括:所述第二网关根据所述第二核心网设备的地址向所述第四核心网设备发送第二会话建立请求消息,所述第二会话建立请求 消息携带所述第二网关的地址;所述第二网关从所述第四核心网设备接收第二会话建立响应消息。In a possible design, after the second gateway receives the fourth create session request message from the first gateway, the method further includes: the second gateway according to the address of the second core network device The fourth core network device sends a second session establishment request message, the second session establishment request The message carries an address of the second gateway; the second gateway receives a second session establishment response message from the fourth core network device.

在一个可能的设计中,所述第二会话建立请求消息还携带所述第一网关的地址。In a possible design, the second session establishment request message further carries an address of the first gateway.

本发明实施例的第五方面,还提供一种会话创建的方法,包括:A fifth aspect of the embodiments of the present invention provides a method for creating a session, including:

第二策略设备从应用功能设备接收业务建立请求消息,所述业务建立请求消息携带业务要求信息,其中,所述第二策略设备应用于第二制式网络,所述应用功能设备应用于第一制式网络和所述第二制式网络;所述第二策略设备根据所述业务要求信息在所述第二制式网络为终端建立第一承载。The second policy device receives a service establishment request message from the application function device, where the service establishment request message carries the service requirement information, where the second policy device is applied to the second system network, and the application function device is applied to the first system. The network and the second-standard network; the second policy device establishes a first bearer for the terminal in the second-standard network according to the service requirement information.

在一个可能的设计中,所述方法还包括:所述第二策略设备从第二核心网设备接收第三通知消息或第四通知消息,所述第三通知消息用于通知所述第二策略设备:第一核心网设备基于第一互联网协议IP地址为所述终端在所述第一制式网络中建立了第一接入点名称APN,所述第四通知消息用于通知所述第二策略设备:所述第一核心网设备基于第二IP地址为所述终端在所述第二制式网络中建立了第二APN,其中,所述第一核心网设备应用于所述第一制式网络,所述第二核心网设备应用于所述第二制式网络,所述第一IP地址和所述第二IP地址为所述第二制式网络为所述终端分配的IP地址;所述第二策略设备在所述第一制式网络为所述终端建立第二承载。In a possible design, the method further includes: the second policy device receiving a third notification message or a fourth notification message from the second core network device, where the third notification message is used to notify the second policy The first core network device establishes a first access point name APN in the first standard network, and the fourth notification message is used to notify the second policy, based on the first Internet Protocol IP address. The device: the first core network device establishes a second APN in the second standard network for the terminal based on the second IP address, where the first core network device is applied to the first standard network, The second core network device is applied to the second standard network, and the first IP address and the second IP address are IP addresses allocated by the second standard network to the terminal; the second policy The device establishes a second bearer for the terminal in the first standard network.

在一个可能的设计中,第二策略设备从第二核心网设备接收第三通知消息或第四通知消息之后,所述方法还包括:所述第二策略设备向所述应用功能设备发送第五通知消息,所述第五通知消息用于通知所述应用功能设备所述第一核心网设备基于所述第一IP地址为所述终端在所述第一制式网络中建立了所述第一APN,和/或,所述第一核心网设备基于所述第二IP地址为所述终端在所述第一制式网络中建立了所述第二APN。In a possible design, after the second policy device receives the third notification message or the fourth notification message from the second core network device, the method further includes: the second policy device sending the fifth message to the application function device a notification message, the fifth notification message is used to notify the application function device that the first core network device establishes the first APN in the first standard network for the terminal based on the first IP address And/or, the first core network device establishes the second APN in the first standard network for the terminal based on the second IP address.

在一个可能的设计中,所述第二策略设备在所述第一制式网络为所述终端建立第二承载,包括:所述第二策略设备根据所述第一IP地址或所述第二IP地址查找所述业务要求信息;所述第二策略设备根据所述业务要求信息为所述终端在所述第一制式网络建立所述第二承载。 In a possible design, the second policy device establishes a second bearer for the terminal in the first standard network, including: the second policy device according to the first IP address or the second IP The address is used to search for the service request information; the second policy device establishes the second bearer in the first standard network for the terminal according to the service requirement information.

在一个可能的设计中,所述方法还包括:所述第二策略设备向第二网关发送信用重授权请求消息;所述第二策略设备从所述第二网关接收信用重授权应答消息。In one possible design, the method further includes: the second policy device transmitting a credit re-authorization request message to the second gateway; the second policy device receiving a credit re-authorization response message from the second gateway.

在一个可能的设计中,所述第二策略设备向第二网关发送信用重授权请求消息之前,所述方法还包括,所述第二策略设备根据所述第一制式网络的无线接入技术类型,以及根据所述第一IP地址或所述第二IP地址寻址到所述第二网关。In a possible design, before the second policy device sends a credit re-authorization request message to the second gateway, the method further includes: the second policy device according to the radio access technology type of the first-standard network And addressing to the second gateway according to the first IP address or the second IP address.

在一个可能的设计中,所述方法还包括:所述第二策略设备从第二核心网设备接收第七通知消息或第九通知消息,所述第七通知消息或第九通知消息用于通知所述第二策略设备:所述终端从所述第二制式网络切换到所述第一制式网络,其中,所述第二核心网设备应用于所述第二制式网络。In a possible design, the method further includes: the second policy device receiving a seventh notification message or a ninth notification message from the second core network device, where the seventh notification message or the ninth notification message is used for notification The second policy device: the terminal switches from the second standard network to the first standard network, wherein the second core network device is applied to the second standard network.

在一个可能的设计中,所述第二策略设备从第二核心网设备接收第七通知消息或第九通知消息之后,所述方法还包括:所述第二策略设备根据所述业务要求信息为所述终端在所述第一制式网络建立所述第二承载。In a possible design, after the second policy device receives the seventh notification message or the ninth notification message from the second core network device, the method further includes: the second policy device is configured according to the service requirement information The terminal establishes the second bearer in the first standard network.

在一个可能的设计中,所述第二策略设备从第二核心网设备接收第七通知消息或第九通知消息之后,所述方法还包括:所述第二策略设备向所述应用功能设备发送第八通知消息,所述第八通知消息用于通知所述应用功能设备:所述终端从所述第二制式网络切换到所述第一制式网络。In a possible design, after the second policy device receives the seventh notification message or the ninth notification message from the second core network device, the method further includes: sending, by the second policy device, the application function device And an eighth notification message, where the eighth notification message is used to notify the application function device that the terminal switches from the second standard network to the first standard network.

本发明实施例的第六方面,还提供一种承载建立方法,包括:A sixth aspect of the embodiments of the present invention provides a method for establishing a bearer, including:

应用功能设备向第二策略设备发送业务建立请求消息,所述业务建立请求消息携带业务要求信息,以使得所述第二策略设备在第二制式网络为终端建立第一承载,其中,所述应用功能设备应用于第一制式网络和所述第二制式网络,所述第二策略设备应用于所述第二制式网络;所述应用功能设备从所述第二策略设备接收第五通知消息,所述第五通知消息用于通知所述应用功能设备第一核心网设备基于第一互联网协议IP地址为所述终端在所述第一制式网络中建立了第一接入点名称APN,和/或,第一核心网设备基于第二IP地址为所述终端在所述第一制式网络中建立了第二APN,其中,所述第一核心网设备应用于所述第一制式网络,所述第一IP地址和所述第二IP地址为所述第二制 式网络为所述终端分配的IP地址;所述应用功能设备为所述终端在所述第一制式网络发起第二承载的建立过程。The application function device sends a service establishment request message to the second policy device, where the service establishment request message carries the service requirement information, so that the second policy device establishes a first bearer for the terminal in the second standard network, where the application The functional device is applied to the first system network and the second system network, and the second policy device is applied to the second system network; the application function device receives a fifth notification message from the second policy device, where The fifth notification message is used to notify the application function device that the first core network device establishes the first access point name APN in the first standard network for the terminal based on the first internet protocol IP address, and/or The first core network device establishes a second APN in the first standard network for the terminal based on the second IP address, where the first core network device is applied to the first standard network, where the first An IP address and the second IP address are the second system The IP address assigned by the network to the terminal; the application function device is a process for the terminal to initiate a second bearer in the first-standard network.

在一个可能的设计中,所述应用功能设备为所述终端在所述第一制式网络发起第二承载的创建过程,包括:所述应用功能设备根据所述第一IP地址或所述第二IP地址查找所述业务要求信息;所述应用功能设备根据所述业务要求信息为所述终端在所述第一制式网络发起所述第二承载的建立过程。In a possible design, the application function device is a process for the terminal to initiate a second bearer in the first-standard network, including: the application function device according to the first IP address or the second The IP address is used to search for the service request information. The application function device initiates the process of establishing the second bearer in the first standard network according to the service requirement information.

在一个可能的设计中,所述方法还包括:所述应用功能设备向第一策略设备发送认证授权请求消息,其中,所述第一策略设备应用于所述第一制式网络;所述应用功能设备从所述第一策略设备接收认证授权应答消息。In a possible design, the method further includes: the application function device sending an authentication authorization request message to the first policy device, where the first policy device is applied to the first system network; The device receives an authentication authorization response message from the first policy device.

在一个可能的设计中,所述应用功能设备向第一策略设备发送认证授权请求消息之前,所述方法还包括,所述应用功能设备根据所述第一制式网络的无线接入技术类型,以及根据所述第一IP地址或所述第二IP地址寻址到所述第一策略设备。In a possible design, before the application function device sends an authentication authorization request message to the first policy device, the method further includes: the application function device according to the wireless access technology type of the first system network, and Addressing the first policy device according to the first IP address or the second IP address.

本发明实施例的第七方面,还提供一种切换方法,包括:A seventh aspect of the embodiments of the present invention provides a handover method, including:

第二接入网设备向第二核心网设备发送切换要求消息,所述切换要求消息用于要求将终端从第二制式网络切换到第一制式网络,其中,所述第二接入网设备和所述第二核心网设备应用于所述第二制式网络;第二接入网设备从所述第二核心网设备接收切换要求响应消息,所述切换要求响应消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息,其中,所述附着接受消息携带第一核心网设备为所述终端在所述第一制式网络建立的第一接入点名称APN的信息,所述第一接入网设备和所述第一核心网设备应用于所述第一制式网络;所述第二接入网设备向所述终端发送切换命令消息,所述切换命令消息携带以下至少一项:所述附着接受消息、所述PDN连接建立接受消息或所述SM请求消息。The second access network device sends a handover request message to the second core network device, where the handover request message is used to request to switch the terminal from the second standard network to the first standard network, where the second access network device and The second core network device is applied to the second standard network; the second access network device receives a handover request response message from the second core network device, where the handover request response message carries at least one of the following: a message, a packet data network PDN connection establishment accept message or a session management SM request message, wherein the attach accept message carries a first access point name APN established by the first core network device for the terminal in the first standard network Information that the first access network device and the first core network device are applied to the first standard network; the second access network device sends a handover command message to the terminal, the handover command message Carrying at least one of the following: the attach accept message, the PDN connection setup accept message, or the SM request message.

本发明实施例的第八方面,还提供一种切换方法,包括:An eighth aspect of the embodiments of the present invention provides a handover method, including:

终端从第二接入网设备接收切换命令消息,所述切换命令消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息,其中,所述附着接受消息携带第一核心网设备为所述终端在第 一制式网络建立的第一接入点名称APN的信息,所述PDN连接建立接受消息携带第一核心网设备为所述终端在第一制式网络建立的第二APN的信息,所述第一接入网设备和所述第一核心网设备应用于所述第一制式网络,所述第二接入网设备应用于第二制式网络;所述终端根据所述附着接受消息、所述PDN连接建立接受消息或所述SM请求消息中的至少一项接入所述第一制式网络;所述终端向所述第一接入网设备发送切换完成消息。The terminal receives a handover command message from the second access network device, where the handover command message carries at least one of: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message, where the attach accept message Carrying the first core network device as the terminal in the first The information of the first access point name APN established by the one-standard network, the PDN connection establishment accept message carrying the information of the second APN established by the first core network device in the first-standard network, the first connection The network access device and the first core network device are applied to the first standard network, and the second access network device is applied to a second standard network; the terminal establishes according to the attach accept message and the PDN connection At least one of the accept message or the SM request message accesses the first standard network; the terminal sends a handover complete message to the first access network device.

在一个可能的设计中,所述附着接受消息携带第一互联网协议IP地址,所述第一IP地址用于所述第一APN的建立过程,其中,所述第一IP地址为所述第二制式网络为所述终端分配的IP地址。In a possible design, the attach accept message carries a first internet protocol IP address, and the first IP address is used in a process of establishing the first APN, wherein the first IP address is the second The IP address assigned by the standard network to the terminal.

在一个可能的设计中,所述PDN连接建立接受消息携带第二IP地址,所述第二IP地址用于所述第二APN的建立过程,其中,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址。In a possible design, the PDN connection establishment accept message carries a second IP address, and the second IP address is used for the establishment process of the second APN, where the second IP address is the second The IP address assigned by the standard network to the terminal.

在一个可能的设计中,所述终端从第二接入网设备接收切换命令消息之前,所述方法还包括:所述终端从第二核心网设备接收查询请求消息,其中,所述第二核心网设备应用于所述第二制式网络;所述终端向所述第二核心网设备发送查询请求响应消息,所述查询请求响应消息携带所述终端在所述第一制式网络的终端网络能力信息。In a possible design, before the terminal receives the handover command message from the second access network device, the method further includes: the terminal receiving a query request message from the second core network device, where the second core The network device is applied to the second system network; the terminal sends a query request response message to the second core network device, where the query request response message carries terminal network capability information of the terminal in the first standard network. .

在一个可能的设计中,所述终端向所述第一接入网设备发送切换完成消息之后,所述方法还包括:所述终端在所述第一制式网络为所述终端建立第二承载。In a possible design, after the terminal sends a handover complete message to the first access network device, the method further includes: the terminal establishing a second bearer for the terminal in the first standard network.

在一个可能的设计中,所述终端向所述第一接入网设备发送切换完成消息之后,所述方法还包括:所述终端向应用功能设备发送第十一通知消息,所述第十一通知消息用于通知所述应用功能设备:所述终端从所述第二制式网络切换到所述第一制式网络,其中,所述应用功能设备应用于第一制式网络和所述第二制式网络。In a possible design, after the terminal sends a handover complete message to the first access network device, the method further includes: the terminal sending an eleventh notification message to the application function device, where the eleventh The notification message is used to notify the application function device that the terminal switches from the second system network to the first system network, wherein the application function device is applied to the first system network and the second system network .

本发明实施例的第九方面,还提供一种联合附着方法,包括:A ninth aspect of the embodiments of the present invention further provides a joint attachment method, including:

第一核心网设备从第二核心网设备接收联合附着请求消息,所述联合附着请求消息携带第一互联网协议IP地址和第三核心网设备的地址,所述第一 IP地址和所述第三核心网设备的地址用于第一接入点名称APN的建立过程,其中,所述第一核心网设备应用于第一制式网络,所述第二核心网设备和所述第三核心网设备应用于第二制式网络,所述第一IP地址为所述第二制式网络为终端分配的IP地址;所述第一核心网设备为所述终端在所述第一制式网络中发起所述第一APN的建立过程;所述第一核心网设备向所述第二核心网设备发送联合附着请求响应消息。Receiving, by the first core network device, a joint attach request message, where the joint attach request message carries a first internet protocol IP address and an address of a third core network device, where the first The IP address and the address of the third core network device are used for establishing a first access point name APN, wherein the first core network device is applied to a first standard network, and the second core network device and The third core network device is applied to the second standard network, where the first IP address is an IP address assigned by the second standard network to the terminal; and the first core network device is the terminal in the first format Initiating a process of establishing the first APN in the network; the first core network device sending a joint attach request response message to the second core network device.

在一个可能的设计中,所述第一核心网设备为所述终端在所述第一制式网络中发起所述第一APN的建立过程,包括:所述第一核心网设备向第一网关发送第一创建会话请求消息,所述第一创建会话请求消息携带所述第一IP地址和所述第三核心网设备的地址;所述第一核心网设备从所述第一网关接收第一创建会话响应消息,所述第一创建会话响应消息用于指示所述终端使用所述第一IP地址。In a possible design, the first core network device initiates the establishment process of the first APN in the first standard network, and the first core network device sends the first core network device to the first gateway. a first create session request message, the first create session request message carrying the first IP address and an address of the third core network device; the first core network device receiving a first creation from the first gateway a session response message, the first create session response message is used to instruct the terminal to use the first IP address.

在一个可能的设计中,所述第一核心网设备为所述终端在所述第一制式网络中发起所述第一APN的建立过程之后,所述方法还包括:所述第一核心网设备为所述终端在所述第一制式网络中发起第二APN的建立过程。In a possible design, after the first core network device initiates the process of establishing the first APN in the first standard network, the method further includes: the first core network device Initiating a process of establishing a second APN in the first standard network for the terminal.

在一个可能的设计中,所述联合附着请求消息还携带第二互联网协议IP地址和第四核心网设备的地址,其中,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址,所述第四核心网设备应用于所述第二制式网络,所述第一核心网设备为所述终端在所述第一制式网络中发起第二APN的建立过程,包括:所述第一核心网设备向第一网关发送第二创建会话请求消息,所述第二创建会话请求消息携带所述第二IP地址和所述第四核心网设备的地址;所述第一核心网设备从所述第一网关接收第二创建会话响应消息,所述第二创建会话响应消息用于指示所述终端使用所述第二IP地址。In a possible design, the joint attach request message further carries a second internet protocol IP address and an address of a fourth core network device, wherein the second IP address is allocated by the second standard network to the terminal The IP address of the fourth core network device is applied to the second system network, where the first core network device initiates a process for establishing a second APN in the first standard network, including: The first core network device sends a second create session request message to the first gateway, where the second create session request message carries the second IP address and the address of the fourth core network device; the first core network The device receives a second create session response message from the first gateway, where the second create session response message is used to indicate that the terminal uses the second IP address.

在一个可能的设计中,所述联合附着请求响应消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。In one possible design, the joint attach request response message carries at least one of the following: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.

在一个可能的设计中,所述联合附着请求消息还携带以下至少一项:所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移 动性管理上下文、所述终端的会话管理类上下文或所述终端在所述第一制式网络的终端网络能力信息。In a possible design, the joint attach request message further carries at least one of: an international mobile subscriber identity (IMSI) of the terminal, a security context of the terminal, and a shift of the terminal. a dynamic management context, a session management class context of the terminal, or terminal network capability information of the terminal in the first system network.

本发明实施例的第十方面,还提供一种联合附着方法,包括:A tenth aspect of the embodiments of the present invention further provides a joint attachment method, including:

第二核心网设备从终端接收附着请求消息,所述附着请求消息用于请求附着到第一制式网络,其中,所述第二核心网设备应用于第二制式网络;所述第二核心网设备向第一核心网设备发送联合附着请求消息,所述联合附着请求消息携带第一互联网协议IP地址和第三核心网设备的地址,所述第一IP地址和所述第三核心网设备的地址用于所述终端在所述第一制式网络的第一接入点名称APN的建立过程,其中,所述第一核心网设备应用于所述第一制式网络,所述第三核心网设备应用于所述第二制式网络,所述第一IP地址为所述第二制式网络为所述终端分配的IP地址;所述第二核心网设备从所述第一核心网设备接收联合附着请求响应消息;所述第二核心网设备向所述终端发送附着请求响应消息。The second core network device receives an attach request message from the terminal, where the attach request message is used to request attachment to the first standard network, wherein the second core network device is applied to the second standard network; the second core network device Sending a joint attach request message to the first core network device, where the joint attach request message carries a first internet protocol IP address and an address of a third core network device, the first IP address and an address of the third core network device a process for establishing a first access point name APN of the terminal in the first standard network, where the first core network device is applied to the first standard network, and the third core network device is applied. In the second standard network, the first IP address is an IP address assigned by the second standard network to the terminal; and the second core network device receives a joint attach request response from the first core network device. The second core network device sends an attach request response message to the terminal.

在一个可能的设计中,所述第二核心网设备从所述第一核心网设备接收联合附着请求响应消息之后,所述方法还包括:所述第二核心网设备向第二策略设备发送通知消息,所述通知消息用于通知所述第二策略设备:所述第一核心网设备基于所述第一IP地址为所述终端建立了所述第一APN,其中,所述第二策略设备应用于所述第二制式网络。In a possible design, after the second core network device receives the joint attach request response message from the first core network device, the method further includes: the second core network device sending a notification to the second policy device a message, the notification message is used to notify the second policy device: the first core network device establishes the first APN for the terminal based on the first IP address, where the second policy device Applied to the second system network.

在一个可能的设计中,所述联合附着请求消息还携带第二IP地址和第四核心网设备的地址,所述第二IP地址和所述第四核心网设备的地址用于所述终端在所述第一制式网络的第二APN的建立过程,其中,所述第四核心网设备应用于所述第二制式网络,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址。In a possible design, the joint attach request message further carries a second IP address and an address of a fourth core network device, where the second IP address and the address of the fourth core network device are used by the terminal a process of establishing a second APN of the first-standard network, where the fourth core network device is applied to the second-standard network, and the second IP address is allocated by the second-standard network to the terminal IP address.

在一个可能的设计中,所述通知消息还用于通知所述第二策略设备:所述第一核心网设备基于所述第二IP地址为所述终端建立了所述第二APN。In a possible design, the notification message is further used to notify the second policy device that the first core network device establishes the second APN for the terminal based on the second IP address.

在一个可能的设计中,所述附着请求消息携带所述终端在所述第一制式网络的终端网络能力信息。In a possible design, the attach request message carries terminal network capability information of the terminal in the first standard network.

在一个可能的设计中,所述联合附着请求消息还携带以下至少一项:所 述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文或所述终端在第一制式网络的终端网络能力信息。In a possible design, the joint attach request message carries at least one of the following: The international mobile subscriber identity IMSI of the terminal, the security context of the terminal, the mobility management context of the terminal, the session management class context of the terminal, or the terminal network capability information of the terminal in the first standard network.

在一个可能的设计中,所述联合附着请求响应消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。In one possible design, the joint attach request response message carries at least one of the following: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.

本发明实施例的第十一方面,还提供一种承载建立方法,包括:An eleventh aspect of the embodiments of the present invention provides a method for establishing a bearer, including:

第二策略设备从应用功能设备接收业务建立请求消息,所述业务建立请求消息携带业务要求信息,其中,所述第二策略设备应用于第二制式网络,所述应用功能设备应用于第一制式网络和所述第二制式网络;所述第二策略设备根据所述业务要求信息在所述第二制式网络为终端建立第一承载。The second policy device receives a service establishment request message from the application function device, where the service establishment request message carries the service requirement information, where the second policy device is applied to the second system network, and the application function device is applied to the first system. The network and the second-standard network; the second policy device establishes a first bearer for the terminal in the second-standard network according to the service requirement information.

在一个可能的设计中,所述方法还包括:所述第二策略设备从第二核心网设备接收通知消息,所述通知消息用于通知所述第二策略设备:第一核心网设备基于第一互联网IP地址为所述终端建立了第一接入点名称APN,其中,所述第一核心网设备应用于所述第一制式网络,所述第二核心网设备应用于所述第二制式网络,所述第一IP地址为所述第二制式网络为所述终端分配的IP地址;所述第二策略设备在所述第一制式网络为所述终端建立第二承载。In a possible design, the method further includes: the second policy device receiving a notification message from the second core network device, where the notification message is used to notify the second policy device: the first core network device is based on the An Internet IP address is used to establish a first access point name APN for the terminal, where the first core network device is applied to the first standard network, and the second core network device is applied to the second standard And the first IP address is an IP address allocated by the second standard network to the terminal; and the second policy device establishes a second bearer for the terminal in the first standard network.

在一个可能的设计中,所述通知消息还用于通知所述第二策略设备:所述第一核心网设备基于第二IP地址为所述终端在所述第二制式网络中建立了第二APN,其中,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址。In a possible design, the notification message is further used to notify the second policy device: the first core network device establishes a second in the second standard network for the terminal based on the second IP address. The APN, wherein the second IP address is an IP address assigned by the second standard network to the terminal.

在一个可能的设计中,所述第二策略设备在所述第一制式网络为所述终端建立第二承载,包括:所述第二策略设备根据所述第一IP地址或所述第二IP地址查找所述业务要求信息;所述第二策略设备根据所述业务要求信息为所述终端在所述第一制式网络建立所述第二承载。In a possible design, the second policy device establishes a second bearer for the terminal in the first standard network, including: the second policy device according to the first IP address or the second IP The address is used to search for the service request information; the second policy device establishes the second bearer in the first standard network for the terminal according to the service requirement information.

在一个可能的设计中,所述方法还包括:所述第二策略设备向第二网关发送信用重授权请求消息;所述第二策略设备从所述第二网关接收信用重授权应答消息。 In one possible design, the method further includes: the second policy device transmitting a credit re-authorization request message to the second gateway; the second policy device receiving a credit re-authorization response message from the second gateway.

在一个可能的设计中,所述第二策略设备向第二网关发送信用重授权请求消息之前,所述方法还包括:所述第二策略设备根据所述第一制式网络的无线接入技术类型,以及根据所述第一IP地址或所述第二IP地址寻址到所述第二网关。In a possible design, before the second policy device sends a credit re-authorization request message to the second gateway, the method further includes: the second policy device according to the type of the radio access technology of the first-standard network And addressing to the second gateway according to the first IP address or the second IP address.

本发明实施例的第十二方面,还提供一种附着方法,包括:A twelfth aspect of the embodiments of the present invention further provides an attaching method, including:

终端向第二核心网设备发送附着请求消息,所述附着请求消息用于请求附着到第一制式网络,其中,所述第二核心网设备应用于所述第二制式网络;所述终端从所述第二核心网设备接收附着请求消息的响应消息,所述响应消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息,其中,所述附着接受消息携带第一核心网设备为所述终端在第一制式网络建立的第一接入点名称APN的信息,所述PDN连接建立接受消息携带第一核心网设备为所述终端在第一制式网络建立的第二APN的信息,所述第一接入网设备和所述第一核心网设备应用于所述第一制式网络,所述第二接入网设备应用于第二制式网络;所述终端根据所述附着接受消息、所述PDN连接建立接受消息或所述SM请求消息中的至少一项接入所述第一制式网络。The terminal sends an attach request message to the second core network device, where the attach request message is used to request to be attached to the first standard network, where the second core network device is applied to the second standard network; The second core network device receives the response message of the attach request message, where the response message carries at least one of: an attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message, where the attach accept message Carrying the first core network device as the information of the first access point name APN established by the terminal in the first standard network, where the PDN connection establishment accept message carries the first core network device, and the terminal establishes the terminal in the first standard network. Information of the second APN, the first access network device and the first core network device are applied to the first standard network, and the second access network device is applied to a second standard network; the terminal And accessing the first-standard network according to at least one of the attach accept message, the PDN connection establishment accept message, or the SM request message.

在一个可能的设计中,所述附着接受消息携带第一互联网协议IP地址,所述第一IP地址用于所述第一APN的建立过程,其中,所述第一IP地址为所述第二制式网络为所述终端分配的IP地址。In a possible design, the attach accept message carries a first internet protocol IP address, and the first IP address is used in a process of establishing the first APN, wherein the first IP address is the second The IP address assigned by the standard network to the terminal.

在一个可能的设计中,所述PDN连接建立接受消息携带第二互联网协议IP地址,所述第二IP地址用于所述第二APN的建立过程,其中,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址。In a possible design, the PDN connection establishment accept message carries a second Internet Protocol IP address, and the second IP address is used for the establishment process of the second APN, wherein the second IP address is the The second system network assigns an IP address to the terminal.

在一个可能的设计中,所述附着请求消息携带所述终端在所述第一制式网络的终端网络能力信息。In a possible design, the attach request message carries terminal network capability information of the terminal in the first standard network.

本发明实施例的第十三方面,提供一种第一核心网设备,该装置具有实现上述方法设计中第一核心网设备的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。 According to a thirteenth aspect of the embodiments of the present invention, a first core network device is provided, and the device has a function of implementing behavior of a first core network device in the foregoing method design. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.

在一个可能的设计中,第一核心网设备包括处理器,所述处理器被配置为支持第一核心网设备执行上述方法中相应的功能。进一步的,第一核心网设备还可以包括接收器和发射器,所述接收器和发射器用于支持第一核心网设备与其他网元之间的通信。进一步的,第一核心网设备还可以包括存储器,所述存储器用于与处理器耦合,其保存第一核心网设备必要的程序指令和数据。In one possible design, the first core network device includes a processor configured to support the first core network device to perform a corresponding function in the above method. Further, the first core network device may further include a receiver and a transmitter, and the receiver and the transmitter are configured to support communication between the first core network device and other network elements. Further, the first core network device may further include a memory for coupling with the processor, which stores necessary program instructions and data of the first core network device.

本发明实施例的第十四方面,提供一种第二核心网设备,该装置具有实现上述方法设计中第二核心网设备的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。According to a fourteenth aspect of the embodiments of the present invention, a second core network device is provided, and the device has a function of implementing behavior of a second core network device in the foregoing method design. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.

在一个可能的设计中,第二核心网设备包括处理器,所述处理器被配置为支持第二核心网设备执行上述方法中相应的功能。进一步的,第二核心网设备还可以包括接收器和发射器,所述接收器和发射器用于支持第二核心网设备与其他网元之间的通信。进一步的,第二核心网设备还可以包括存储器,所述存储器用于与处理器耦合,其保存第二核心网设备必要的程序指令和数据。In one possible design, the second core network device includes a processor configured to support the second core network device to perform corresponding functions in the above methods. Further, the second core network device may further include a receiver and a transmitter, and the receiver and the transmitter are configured to support communication between the second core network device and other network elements. Further, the second core network device may further include a memory for coupling with the processor, which stores necessary program instructions and data of the second core network device.

本发明实施例的第十五方面,提供一种第一网关,该装置具有实现上述方法设计中第一网关的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a fifteenth aspect of the embodiments of the present invention, a first gateway is provided, the device having a function of implementing the behavior of the first gateway in the design of the foregoing method. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.

本发明实施例的第十六方面,提供一种第二网关,该装置具有实现上述方法设计中第二网关的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a sixteenth aspect of the embodiments of the present invention, a second gateway is provided, the device having a function of implementing the behavior of the second gateway in the design of the foregoing method. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.

本发明实施例的第十七方面,提供一种策略设备,该装置具有实现上述方法设计中第二策略设备的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。In a seventeenth aspect of the embodiments of the present invention, a policy device is provided, the device having a function of implementing behavior of a second policy device in the above method design. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.

本发明实施例的第十八方面,提供一种应用功能设备,该装置具有实现上述方法设计中应用功能设备的行为的功能。所述功能可以通过硬件实现,也 可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。According to an eighteenth aspect of the embodiments of the present invention, an application function device is provided, the device having a function of implementing an action of applying a function device in the design of the foregoing method. The functions can be implemented by hardware, also The corresponding software implementation can be performed by hardware. The hardware or software includes one or more modules corresponding to the functions described above.

本发明实施例的第十九方面,提供一种接入网设备,该装置具有实现上述方法设计中第二接入网设备的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。According to a nineteenth aspect of the embodiments of the present invention, an access network device is provided, and the device has a function of implementing behavior of a second access network device in the foregoing method design. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.

本发明实施例的第二十方面,提供一种终端,该装置具有实现上述方法设计中终端的行为的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的模块。According to a twentieth aspect of the embodiments of the present invention, a terminal is provided, the device having a function of implementing a behavior of a terminal in the design of the foregoing method. The functions may be implemented by hardware or by corresponding software implemented by hardware. The hardware or software includes one or more modules corresponding to the functions described above.

本发明实施例的第二十一方面,还提供一种承载建立方法,包括:A twenty-first aspect of the embodiments of the present invention provides a method for establishing a bearer, including:

应用功能设备向第二策略设备发送业务建立请求消息,所述业务建立请求消息携带业务要求信息,以使得所述第二策略设备在第二制式网络为终端建立第一承载,其中,所述应用功能设备应用于第一制式网络和所述第二制式网络,所述第二策略设备应用于所述第二制式网络;The application function device sends a service establishment request message to the second policy device, where the service establishment request message carries the service requirement information, so that the second policy device establishes a first bearer for the terminal in the second standard network, where the application The functional device is applied to the first standard network and the second standard network, and the second policy device is applied to the second standard network;

所述应用功能设备从所述第二策略设备接收第八通知消息,所述第八通知消息用于通知所述应用功能设备:所述终端从所述第二制式网络切换到所述第一制式网络;The application function device receives an eighth notification message from the second policy device, where the eighth notification message is used to notify the application function device: the terminal switches from the second standard network to the first system The internet;

所述应用功能设备为所述终端在所述第一制式网络发起第二承载的建立过程。The application function device is a process for the terminal to initiate a second bearer in the first standard network.

本发明实施例的第二十二方面,还提供一种承载建立方法,包括:A twenty-second aspect of the embodiments of the present invention provides a method for establishing a bearer, including:

应用功能设备向第二策略设备发送业务建立请求消息,所述业务建立请求消息携带业务要求信息,以使得所述第二策略设备在第二制式网络为终端建立第一承载,其中,所述应用功能设备应用于第一制式网络和所述第二制式网络,所述第二策略设备应用于所述第二制式网络;The application function device sends a service establishment request message to the second policy device, where the service establishment request message carries the service requirement information, so that the second policy device establishes a first bearer for the terminal in the second standard network, where the application The functional device is applied to the first standard network and the second standard network, and the second policy device is applied to the second standard network;

所述应用功能设备从终端接收第十一通知消息,所述第十一通知消息用于通知所述应用功能设备:所述终端从所述第二制式网络切换到所述第一制式网络;The application function device receives an eleventh notification message from the terminal, where the eleventh notification message is used to notify the application function device that the terminal switches from the second standard network to the first standard network;

所述应用功能设备为所述终端在所述第一制式网络发起第二承载的建立 过程。The application function device is that the terminal initiates establishment of a second bearer in the first standard network. process.

本发明实施例的第二十三方面,还提供一种切换方法,包括:A twenty-third aspect of the embodiments of the present invention further provides a handover method, including:

第二核心网设备从接入网设备接收切换要求消息,其中,所述第二核心网设备和所述接入网设备应用于第二制式网络;所述第二核心网设备向第一核心网设备发送第一切换请求,所述第一切换请求携带第二核心网设备的地址;所述第二核心网设备从所述第一核心网设备接收第一切换请求的响应消息;所述第二核心网设备向所述第二策略设备发送第七通知消息,所述第七通知消息用于通知所述第二策略设备:所述终端从所述第二制式网络切换到所述第一制式网络,所述第二策略设备应用于第二制式网络。The second core network device receives the handover request message from the access network device, where the second core network device and the access network device are applied to the second standard network; and the second core network device is applied to the first core network The device sends a first handover request, where the first handover request carries an address of the second core network device, and the second core network device receives a response message of the first handover request from the first core network device; The core network device sends a seventh notification message to the second policy device, where the seventh notification message is used to notify the second policy device: the terminal switches from the second standard network to the first standard network The second policy device is applied to the second standard network.

本发明实施例的第二十四方面,还提供一种切换方法,包括:A twenty-fourth aspect of the embodiments of the present invention provides a handover method, including:

第二核心网设备从接入网设备接收切换要求消息,其中,所述第二核心网设备和所述接入网设备应用于第二制式网络;所述第二核心网设备向第一核心网设备发送第一切换请求,所述第一切换请求携带第二核心网设备的地址;所述第二核心网设备从所述第一核心网设备接收第一切换请求的响应消息;所述第二核心网设备从所述第一核心网络设备接收切换完成通知消息;所述第二核心网设备向所述第一核心网设备发送切换完成确认消息;所述第二核心网设备向所述第二策略设备发送第九通知消息,所述第九通知消息用于通知所述第二策略设备:所述终端从所述第二制式网络切换到所述第一制式网络。The second core network device receives the handover request message from the access network device, where the second core network device and the access network device are applied to the second standard network; and the second core network device is applied to the first core network The device sends a first handover request, where the first handover request carries an address of the second core network device, and the second core network device receives a response message of the first handover request from the first core network device; Receiving, by the core network device, a handover completion notification message from the first core network device; the second core network device sending a handover complete confirmation message to the first core network device; the second core network device to the second The policy device sends a ninth notification message, where the ninth notification message is used to notify the second policy device that the terminal switches from the second standard network to the first standard network.

本发明实施例的第二十五方面,还提供一种切换方法,包括:A twenty-fifth aspect of the embodiments of the present invention further provides a handover method, including:

第一核心网设备从第二核心网设备接收第一切换请求,所述第一切换请求携带第二核心网设备的地址,所述第一核心网设备应用于第一制式网络,所述第二核心网设备应用于第二制式网络;所述第一核心网设备向所述第二核心网设备发送第一切换请求的响应消息;所述第一核心网络设备向所述第二核心网络设备发送切换完成通知消息;所述第一核心网设备从所述第一核心网设备接收切换完成确认消息。The first core network device receives a first handover request from the second core network device, where the first handover request carries an address of the second core network device, the first core network device is applied to the first standard network, and the second The core network device is applied to the second system network; the first core network device sends a response message of the first handover request to the second core network device; the first core network device sends the response message to the second core network device Switching completion notification message; the first core network device receiving a handover complete confirmation message from the first core network device.

在一个可能的设计中,第一核心网设备从第二核心网设备接收第一切换请求之后,所述方法还包括:第一核心网设备为终端在所述第一制式网络中发起所述第一APN的建立过程。 In a possible design, after the first core network device receives the first handover request from the second core network device, the method further includes: the first core network device is the terminal initiating the first in the first standard network The process of establishing an APN.

在一个可能的设计中,所述第二核心网设备与第二网关合一部署,所述第一切换请求携带的第二核心网设备的地址用于在所述第一APN的建立过程中寻址所述第二核心网设备。In a possible design, the second core network device is deployed in combination with the second gateway, and the address of the second core network device carried by the first handover request is used to find the first APN in the process of establishing the first APN. Addressing the second core network device.

在一个可能的设计中,所述第一核心网设备向所述第二核心网设备发送的第一切换请求的响应消息中携带附着接受消息,其中,所述附着接受消息携带第一核心网设备为终端在第一制式网络建立的第一接入点名称APN的信息。In a possible design, the response message of the first handover request sent by the first core network device to the second core network device carries an attach accept message, where the attach accept message carries the first core network device. Information about the first access point name APN established by the terminal in the first-standard network.

相较于现有技术,第一制式网络的第一核心网设备接收到第二制式网络的第二核心网设备发送的第一切换请求后,根据第一IP地址和第三核心网设备的地址,为终端发起第一APN的建立过程,并向接入网设备发送第二切换请求,以及接收接入网设备发送的第二切换请求的响应消息,这之后,向第二核心网设备发送第一切换请求的响应消息。从而,终端可以从第二网络制式切换至第一网络制式。可见,本发明实施例提供的方案无需复杂的QoS映射、Bearer ID映射、位置标识等映射的流程,简化了不同制式网络之间的互操作流程,有利于在终端切换至不同制式网络过程中,减少网络侧设备的信令交互过程,提升切换效率。Compared with the prior art, after receiving the first handover request sent by the second core network device of the second standard network, the first core network device of the first-standard network receives the address according to the first IP address and the third core network device. And initiating a process of establishing a first APN for the terminal, and sending a second handover request to the access network device, and receiving a response message of the second handover request sent by the access network device, where the second core network device sends the A response message to switch requests. Thereby, the terminal can switch from the second network system to the first network standard. It can be seen that the solution provided by the embodiment of the present invention does not require complicated mapping processes such as QoS mapping, Bearer ID mapping, and location identification, which simplifies the interoperation process between different standard networks, and is beneficial to the process of switching the terminal to a different standard network. Reduce the signaling interaction process of the network side device and improve the switching efficiency.

附图说明DRAWINGS

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below. Obviously, the drawings in the following description are only It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any inventive labor.

图1为本发明实施例提供的一种可能的网络架构的示意图;FIG. 1 is a schematic diagram of a possible network architecture according to an embodiment of the present invention;

图2为本发明实施例提供的一种切换方法的通信示意图;2 is a schematic diagram of communication of a handover method according to an embodiment of the present invention;

图3为本发明实施例提供的一种联合附着方法的通信示意图;FIG. 3 is a schematic diagram of communication of a joint attachment method according to an embodiment of the present invention; FIG.

图4为本发明实施例提供的另一种切换方法的通信示意图;4 is a schematic diagram of communication of another handover method according to an embodiment of the present invention;

图4a为本发明实施例提供的另一种切换方法的通信示意图;4a is a schematic diagram of communication of another handover method according to an embodiment of the present invention;

图4b为本发明实施例提供的另一种切换方法的通信示意图; FIG. 4b is a schematic diagram of communication of another handover method according to an embodiment of the present invention; FIG.

图4c为本发明实施例提供的另一种切换方法的通信示意图;4c is a schematic diagram of communication of another handover method according to an embodiment of the present invention;

图4d为本发明实施例提供的另一种切换方法的通信示意图;FIG. 4 is a schematic diagram of communication of another handover method according to an embodiment of the present invention; FIG.

图5为本发明实施例提供的一种承载建立方法的通信示意图;FIG. 5 is a schematic diagram of communication of a bearer establishment method according to an embodiment of the present invention;

图5a为本发明实施例提供的另一种承载建立方法的通信示意图;FIG. 5a is a schematic diagram of communication of another bearer establishment method according to an embodiment of the present invention;

图6为本发明实施例提供的又一种切换方法的通信示意图;FIG. 6 is a schematic diagram of communication of another handover method according to an embodiment of the present invention;

图6a为本发明实施例提供的又一种切换方法的通信示意图;FIG. 6 is a schematic diagram of communication of another handover method according to an embodiment of the present invention; FIG.

图6b为本发明实施例提供的又一种切换方法的通信示意图;6b is a schematic diagram of communication of another handover method according to an embodiment of the present invention;

图7为本发明实施例提供的另一种承载建立方法的通信示意图;FIG. 7 is a schematic diagram of communication of another bearer establishment method according to an embodiment of the present invention;

图7a为本发明实施例提供的另一种承载建立方法的通信示意图;FIG. 7a is a schematic diagram of communication of another bearer establishment method according to an embodiment of the present invention;

图7b为本发明实施例提供的另一种承载建立方法的通信示意图;FIG. 7b is a schematic diagram of communication of another bearer establishing method according to an embodiment of the present invention;

图8为本发明实施例提供的另一种联合附着方法的通信示意图;FIG. 8 is a schematic diagram of communication of another joint attachment method according to an embodiment of the present invention; FIG.

图9为本发明实施例提供的一种会话创建方法的通信示意图;FIG. 9 is a schematic diagram of communication of a session creation method according to an embodiment of the present invention;

图10为本发明实施例提供的另一种会话创建方法的通信示意图;FIG. 10 is a schematic diagram of communication of another session creation method according to an embodiment of the present invention;

图11A为本发明实施例提供的一种第一核心网设备的结构示意图;FIG. 11 is a schematic structural diagram of a first core network device according to an embodiment of the present disclosure;

图11B为本发明实施例提供的另一种第一核心网设备的结构示意图;FIG. 11B is a schematic structural diagram of another first core network device according to an embodiment of the present disclosure;

图12A为本发明实施例提供的一种第二核心网设备的结构示意图;12A is a schematic structural diagram of a second core network device according to an embodiment of the present invention;

图12B为本发明实施例提供的另一种第二核心网设备的结构示意图;FIG. 12B is a schematic structural diagram of another second core network device according to an embodiment of the present disclosure;

具体实施方式detailed description

为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述。The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.

本发明实施例描述的网络架构以及业务场景是为了更加清楚的说明本发明实施例的技术方案,并不构成对于本发明实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本发明实施例提供的技术方案对于类似的技术问题,同样适用。The network architecture and the service scenario described in the embodiments of the present invention are used to more clearly illustrate the technical solutions of the embodiments of the present invention, and do not constitute a limitation of the technical solutions provided by the embodiments of the present invention. The technical solutions provided by the embodiments of the present invention are equally applicable to similar technical problems.

下面首先结合图1对本发明实施例适用的一些可能的应用场景及网络架构进行介绍。The following is a description of some possible application scenarios and network architectures applicable to the embodiments of the present invention.

图1示出了本发明实施例提供的一种可能的网络架构。该网络架构包括 4G网络、5G网络和IP多媒体子系统(IP Multimedia Subsystem,IMS)网络。FIG. 1 shows a possible network architecture provided by an embodiment of the present invention. The network architecture includes 4G network, 5G network and IP Multimedia Subsystem (IMS) network.

其中,终端与4G网络中的演进型基站(eNB,Evolved NodeB)之间可以通过无线链路通信连接。该4G网络的网络侧设备主要包括移动性管理实体(MME,Mobility Management Entity)、服务网关(SGW,Serving Gateway)、策略和计费规则功能(PCRF,Policy and Charging Rules Function)实体和分组数据网络网关(PGW,PDN Gateway)等。The terminal and the evolved base station (eNB, Evolved NodeB) in the 4G network may be connected by using a wireless link. The network side device of the 4G network mainly includes a Mobility Management Entity (MME), a Serving Gateway (SGW), a Policy and Charging Rules Function (PCRF) entity, and a packet data network. Gateway (PGW, PDN Gateway), etc.

当终端接入5G网络时,终端与下一代无线接入网(NG RAN,Next Generation Radio Access Network)设备之间可以通过无线链路通信连接。该5G网络的网络侧设备主要包括控制面功能(CP Function,Control Plane Function)实体、第一用户面控制功能(UP Function 1,User Plane Function 1)实体以及第二用户面控制功能(UP Function 2,User Plane Function 2)实体。When the terminal accesses the 5G network, the terminal and the Next Generation Radio Access Network (NG RAN) device can be connected by wireless link communication. The network side device of the 5G network mainly includes a CP (Control Plane Function) entity, a first user plane control function (UP Function 1, User Plane Function 1) entity, and a second user plane control function (UP Function 2). , User Plane Function 2) entity.

IMS网络包括代理呼叫会话控制功能(P-CSCF,Proxy-Call Session Control Function)实体、接入转发控制功能(ATCF,Access Transfer Control Function)实体以及接入转发网关(ATGW,Access Transfer GateWay)实体,另外,应用功能(Application Function,AF)设备是提供需要对传输平面资源进行策略、计费控制的应用层实体,对应于IMS网络中的P-CSCF实体和ATCF实体。The IMS network includes a Proxy-Call Session Control Function (P-CSCF) entity, an Access Transfer Control Function (ATCF) entity, and an Access Forward Gate (ATGW) entity. In addition, an Application Function (AF) device is an application layer entity that provides policy and charging control for a transport plane resource, and corresponds to a P-CSCF entity and an ATCF entity in the IMS network.

本发明实施例中,名词“网络”和“系统”经常交替使用,但本领域技术人员可以理解其含义。本发明实施例所涉及到的终端可以包括各种具有无限通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),终端设备(terminal device)等等。为方便描述,上面提到的设备统称为终端。In the embodiments of the present invention, the terms "network" and "system" are often used interchangeably, but those skilled in the art can understand the meaning thereof. The terminal involved in the embodiments of the present invention may include various handheld devices, in-vehicle devices, wearable devices, computing devices, or other processing devices connected to the wireless modem, and various forms of user equipment (User Equipment). , UE), mobile station (MS), terminal device, and the like. For convenience of description, the devices mentioned above are collectively referred to as terminals.

下面将基于上面所述的本发明实施例涉及的共性方面,对本发明实施例进一步详细说明。The embodiments of the present invention will be further described in detail below based on the common aspects of the embodiments of the present invention described above.

现有方案中,不同制式网络之间的互操作流程过于复杂,不利于保障5G网络的部署进程。In the existing solution, the interoperation process between different standard networks is too complicated, which is not conducive to ensuring the deployment process of the 5G network.

有鉴于此,本发明实施例提供一种切换方法,和基于这个方法的第一核 心网设备和第二核心网设备等。该方法包括:第二核心网设备从第二接入网设备接收切换要求消息,其中,第二核心网设备和第二接入网设备应用于第二制式网络;第二核心网设备向第一核心网设备发送第一切换请求,第一切换请求携带第一互联网协议(Internet Protocol,IP)地址和第三核心网设备的地址,第一IP地址和第三核心网设备的地址用于终端在第一制式网络的第一接入点名称(Access Point Name,APN)的建立过程,其中,第一核心网设备应用于第一制式网络,第三核心网设备应用于第二制式网络,第一IP地址为第二制式网络为终端分配的IP地址;第一核心网设备为终端在第一制式网络中发起第一APN的建立过程;第一核心网设备向第一接入网设备发送第二切换请求,其中,第一接入网设备应用于第一制式网络;第一核心网设备从第一接入网设备接收第二切换请求的响应消息;第一核心网设备向第二核心网设备发送第一切换请求的响应消息;第二核心网设备向第二接入网设备发送切换要求响应消息。上述第一APN的建立过程也可以称为第一APN的附着过程。本发明实施例提供的切换方法中,第二制式网络的第二核心网设备从第二接入网设备接收切换要求消息后,在向第一制式网络的第一核心网设备发送的第一切换请求中携带第一IP地址和第二制式网络的第三核心网设备的地址,以用于终端在第一制式网络的第一APN的建立过程,然后在从第一核心网设备接收第一切换请求的响应消息后,向接入网设备发送切换要求响应消息,以使得终端从第二制式网络切换到第一制式网络中。由上可见,本发明实施例中,第一制式网络与第二制式网络之间的互操作流程简单,不需要进行包括各种参数映射在内的复杂流程。In view of this, an embodiment of the present invention provides a handover method, and a first core based on the method. Heart network equipment and second core network equipment. The method includes: the second core network device receives a handover request message from the second access network device, where the second core network device and the second access network device are applied to the second standard network; the second core network device is first The core network device sends a first handover request, where the first handover request carries a first Internet Protocol (IP) address and an address of the third core network device, where the address of the first IP address and the third core network device is used by the terminal The first access point name (APN) establishment process of the first standard network, wherein the first core network device is applied to the first standard network, and the third core network device is applied to the second system network, first The IP address is an IP address assigned by the second standard network to the terminal; the first core network device is a process in which the terminal initiates the establishment of the first APN in the first standard network; the first core network device sends the second access to the first access network device. a handover request, where the first access network device is applied to the first standard network; the first core network device receives a response message of the second handover request from the first access network device; The network device sends a response message of the first handover request to the second core network device, and the second core network device sends a handover request response message to the second access network device. The establishment process of the foregoing first APN may also be referred to as an attachment process of the first APN. In the handover method provided by the embodiment of the present invention, after the second core network device of the second-standard network receives the handover request message from the second access network device, the first handover is sent to the first core network device of the first-standard network. The request carries the first IP address and the address of the third core network device of the second standard network for the establishment process of the first APN of the terminal in the first standard network, and then receives the first handover from the first core network device. After the response message is requested, a handover request response message is sent to the access network device, so that the terminal switches from the second-standard network to the first-standard network. It can be seen from the above that in the embodiment of the present invention, the interoperation process between the first standard network and the second standard network is simple, and complex processes including various parameter mappings are not required.

本发明实施例提供的方案中,第一制式网络可以是4G网络、3G网络或2G网络,第二制式网络可以是5G网络;或者,第一制式网络可以是5G网络,第二制式网络可以是4G网络、3G网络或2G网络。当然,本发明实施例的方案还可以应用于其它场景,本发明实施例并不限定。In the solution provided by the embodiment of the present invention, the first standard network may be a 4G network, a 3G network, or a 2G network, and the second standard network may be a 5G network; or the first standard network may be a 5G network, and the second standard network may be 4G network, 3G network or 2G network. Of course, the solution of the embodiment of the present invention may be applied to other scenarios, which are not limited in the embodiment of the present invention.

下面结合附图2,对本发明实施例提供的切换方法进行说明。图2示出了本发明实施例提供的一种切换方法。该方法包括:201~207部分,具体如下:The switching method provided by the embodiment of the present invention is described below with reference to FIG. FIG. 2 shows a handover method provided by an embodiment of the present invention. The method includes: sections 201-207, as follows:

在201部分,第二核心网设备从第二接入网设备接收切换要求消息。 In section 201, the second core network device receives a handover request message from the second access network device.

其中,第二核心网设备和第二接入网设备应用于第二制式网络。The second core network device and the second access network device are applied to the second standard network.

在202部分,第二核心网设备向第一核心网设备发送第一切换请求,第一切换请求携带第一IP地址和第三核心网设备的地址,第一IP地址和第三核心网设备的地址用于终端在第一制式网络的第一APN的建立过程。In the 202 part, the second core network device sends a first handover request to the first core network device, where the first handover request carries the first IP address and the address of the third core network device, and the first IP address and the third core network device The address is used in the process of establishing the first APN of the terminal in the first-standard network.

其中,第一核心网设备应用于第一制式网络,第三核心网设备应用于第二制式网络,第一IP地址为第二制式网络为终端分配的IP地址。The first core network device is applied to the first standard network, the third core network device is applied to the second standard network, and the first IP address is the IP address allocated by the second standard network for the terminal.

在一个示例中,第二核心网设备向第一核心网设备发送第一切换请求之前,本发明实施例的方法还可以包括:第二核心网设备从终端接收附着请求消息,附着请求消息携带终端在第一制式网络中的终端网络能力信息。In an example, before the second core network device sends the first handover request to the first core network device, the method of the embodiment of the present invention may further include: the second core network device receives the attach request message from the terminal, and the attach request message carries the terminal. Terminal network capability information in a first-standard network.

在一个示例中,第二核心网设备向第一核心网设备发送第一切换请求之前,本发明实施例的方法还可以包括:第二核心网设备向终端发送查询请求消息;第二核心网设备从终端接收查询请求响应消息,查询请求响应消息携带终端在第一制式网络中的终端网络能力信息。In an example, before the second core network device sends the first handover request to the first core network device, the method of the embodiment of the present invention may further include: the second core network device sends a query request message to the terminal; the second core network device The query request response message is received from the terminal, and the query request response message carries the terminal network capability information of the terminal in the first standard network.

在一个示例中,第一切换请求还可以携带以下至少一项:终端的国际移动用户识别码(International Mobile Subscriber Identity,IMSI)、终端的安全上下文(security context)、终端的移动性管理上下文、终端的会话管理类上下文或终端在第一制式网络的终端网络能力信息。In an example, the first handover request may further carry at least one of the following: an International Mobile Subscriber Identity (IMSI) of the terminal, a security context of the terminal, a mobility management context of the terminal, and a terminal. The session management class context or the terminal network capability information of the terminal in the first standard network.

在203部分,第一核心网设备为终端在第一制式网络中发起第一APN的建立过程。In section 203, the first core network device initiates a process of establishing a first APN in the first standard network.

在一个示例中,第一核心网设备发起第一APN的过程可以包括:第一核心网设备向第一网关发送第一创建会话请求(create session request)消息,第一创建会话请求消息携带第一IP地址和第三核心网设备的地址;第一核心网设备从第一网关接收第一创建会话响应(create session response)消息,第一创建会话响应消息用于指示终端使用该第一IP地址。其中,第一网关可以应用于第一制式网络,或者,第一网关也可以应用于第一制式网络和第二制式网络。可见,本发明实施例中,终端在第一制式网络中所使用的IP地址为其在第二制式网络中所使用的IP地址,即终端从第二制式网络切换到第一制式网络后,所使用的IP地址保持不变。 In an example, the process of the first core network device initiating the first APN may include: the first core network device sends a first create session request message to the first gateway, where the first create session request message carries the first The IP address and the address of the third core network device; the first core network device receives a first create session response message from the first gateway, where the first create session response message is used to indicate that the terminal uses the first IP address. The first gateway may be applied to the first-standard network, or the first gateway may also be applied to the first-standard network and the second-standard network. It can be seen that, in the embodiment of the present invention, the IP address used by the terminal in the first-standard network is the IP address used in the second-standard network, that is, after the terminal switches from the second-standard network to the first-standard network, The IP address used remains unchanged.

在这个示例中,第一网关从第一核心网设备接收第一创建会话请求消息之后,本发明实施例的方法还可以包括:第一网关向第二网关发送第三创建会话请求消息,第三会话创建会话请求消息携带第一IP地址和第三核心网设备的地址;第一网关从第二网关接收第三创建会话响应消息,第三会话创建响应消息用于指示终端使用第一IP地址。其中,第二网关可以应用于第一制式网络,或者,第二网关可以应用于第一制式网络和第二制式网络。In this example, after the first gateway receives the first create session request message from the first core network device, the method of the embodiment of the present invention may further include: the first gateway sends a third create session request message to the second gateway, and the third The session creation session request message carries the first IP address and the address of the third core network device; the first gateway receives a third creation session response message from the second gateway, and the third session creation response message is used to indicate that the terminal uses the first IP address. The second gateway may be applied to the first standard network, or the second gateway may be applied to the first standard network and the second standard network.

在这个示例中,第二网关从第一网关接收第三创建会话请求消息之后,本发明实施例的方法还可以包括:第二网关向第一策略设备发送第一信用控制请求消息,第一信用控制请求消息用于请求基于第一IP地址为终端建立IP连通性接入网会话,其中,第一策略设备应用于第一制式网络;第二网关从第一策略设备接收第一信用控制应答消息。In this example, after the second gateway receives the third create session request message from the first gateway, the method of the embodiment of the present invention may further include: the second gateway sends the first credit control request message to the first policy device, the first credit The control request message is configured to request to establish an IP connectivity access network session for the terminal based on the first IP address, where the first policy device is applied to the first standard network; and the second gateway receives the first credit control response message from the first policy device. .

在这个示例中,第二网关从第一网关接收第三创建会话请求消息之后,本发明实施例的方法还可以包括:第二网关根据第三核心网设备的地址向第三核心网设备发送第一会话建立请求(session establish request)消息,第一会话建立请求消息携带第二网关的地址;第二网关从第三核心网设备接收第一会话建立响应(session establish response)消息。可选的,第一会话建立请求消息还可以携带第一网关的地址。In this example, after the second gateway receives the third create session request message from the first gateway, the method of the embodiment of the present invention may further include: the second gateway sends the third core network device according to the address of the third core network device. A session establish request message, the first session establishment request message carries an address of the second gateway; and the second gateway receives a first session establishment response message from the third core network device. Optionally, the first session establishment request message may further carry an address of the first gateway.

在一个示例中,第一切换请求还携带指示信息,指示信息用于指示第一核心网设备完成第一APN的建立过程之后向第二核心网设备发送第一通知消息,本发明实施例的方法还可以包括:第一核心网设备向第二核心网设备发送第一通知消息,第一通知消息用于通知第二核心网设备:第一核心网设备基于第一IP地址为终端建立了第一APN。In an example, the first handover request further carries the indication information, where the indication information is used to indicate that the first core network device sends the first notification message to the second core network device after completing the setup process of the first APN, and the method of the embodiment of the present invention The first core network device sends a first notification message to the second core network device, where the first notification message is used to notify the second core network device that the first core network device establishes the first terminal for the terminal based on the first IP address. APN.

在一个示例中,本发明实施例的方法还可以包括:第一核心网设备从第一网关接收承载创建请求消息;第一核心网设备向第一网关发送承载创建响应消息。In an example, the method of the embodiment of the present invention may further include: the first core network device receives a bearer creation request message from the first gateway; and the first core network device sends a bearer creation response message to the first gateway.

在一个示例中,第二核心网设备从第一核心网设备接收第一通知消息之后,本发明实施例的方法还可以包括:第二核心网设备向第二策略设备发送第三通知消息,第三通知消息用于通知第二策略设备:第一核心网设备基于第一 IP地址为终端建立了第一APN,其中,第二策略设备应用于第二制式网络。In an example, after the second core network device receives the first notification message from the first core network device, the method of the embodiment of the present invention may further include: the second core network device sends a third notification message to the second policy device, where The third notification message is used to notify the second policy device: the first core network device is based on the first The IP address establishes a first APN for the terminal, and the second policy device is applied to the second standard network.

在一个示例中,本发明实施例的方法还可以包括:第一核心网设备为终端在第一制式网络中发起第二APN的建立过程。In an example, the method of the embodiment of the present invention may further include: the first core network device is a process for the terminal to initiate the establishment of the second APN in the first standard network.

在一个示例中,第一切换请求还携带第二IP地址和第四核心网设备的地址,第二IP地址和第四核心网设备的地址用于第二APN的建立过程,其中,第二IP地址为第二制式网络为终端分配的IP地址,第四核心网设备应用于第二制式网络,第一核心网设备发起第二APN的过程可以包括:第一核心网设备向第一网关发送第二创建会话请求消息,第二创建会话请求消息携带第二IP地址和第四核心网设备的地址;第一核心网设备从第一网关接收第二创建会话响应消息,第二创建会话响应消息用于指示终端使用该第二IP地址。In an example, the first handover request further carries the second IP address and the address of the fourth core network device, and the second IP address and the address of the fourth core network device are used for the establishment process of the second APN, where the second IP The address is the IP address assigned by the second-standard network to the terminal, and the fourth core network device is applied to the second-standard network. The process of the first core network device initiating the second APN may include: sending, by the first core network device, the first gateway And creating a session request message, where the second create session request message carries the second IP address and the address of the fourth core network device; the first core network device receives the second create session response message from the first gateway, and the second create session response message The second terminal is used to instruct the terminal to use the second IP address.

在这个示例中,第一网关从第一核心网设备接收第二创建会话请求消息之后,本发明实施例的方法还可以包括:第一网关向第二网关发送第四创建会话请求消息,第四会话创建会话请求消息携带第二IP地址和第四核心网设备的地址;第一网关从第二网关接收第四创建会话响应消息,第四会话创建响应消息用于指示终端使用第二IP地址。In this example, after the first gateway receives the second create session request message from the first core network device, the method of the embodiment of the present invention may further include: the first gateway sends a fourth create session request message to the second gateway, and fourth The session creation session request message carries the second IP address and the address of the fourth core network device; the first gateway receives the fourth creation session response message from the second gateway, and the fourth session creation response message is used to indicate that the terminal uses the second IP address.

在这个示例中,第二网关从第一网关接收第四创建会话请求消息之后,本发明实施例的方法还可以包括:第二网关向第一策略设备发送第二信用控制请求消息,第二信用控制请求消息用于请求基于第二IP地址为终端建立IP连通性接入网会话;第二网关从第一策略设备接收第二信用控制应答消息。In this example, after the second gateway receives the fourth create session request message from the first gateway, the method of the embodiment of the present invention may further include: the second gateway sends a second credit control request message to the first policy device, the second credit The control request message is used to request to establish an IP connectivity access network session for the terminal based on the second IP address; the second gateway receives the second credit control response message from the first policy device.

在这个示例中,第二网关从第一网关接收第四创建会话请求消息之后,本发明实施例的方法还可以包括:第二网关根据第四核心网设备的地址向第四核心网设备发送第二会话建立请求消息,第二会话建立请求消息携带第二网关的地址;第二网关从第四核心网设备接收第二会话建立响应消息。可选的,第二会话建立请求消息还可以携带第一网关的地址。In this example, after the second gateway receives the fourth create session request message from the first gateway, the method of the embodiment of the present invention may further include: the second gateway sends the first core network device according to the address of the fourth core network device. The second session establishment request message carries the address of the second gateway; the second gateway receives the second session establishment response message from the fourth core network device. Optionally, the second session establishment request message may further carry an address of the first gateway.

在一个示例中,本发明实施例的方法还可以包括:第一核心网设备向第二核心网设备发送第二通知消息,第二通知消息用于通知第二核心网设备:第一核心网设备基于第二IP地址为终端建立了第二APN。In an example, the method of the embodiment of the present invention may further include: the first core network device sends a second notification message to the second core network device, where the second notification message is used to notify the second core network device: the first core network device A second APN is established for the terminal based on the second IP address.

在一个示例中,第二核心网设备从第一核心网设备接收第二通知消息之 后,本发明实施例的方法还可以包括:第二核心网设备向第二策略设备发送第四通知消息,第四通知消息用于通知第二策略设备:第一核心网设备基于第二IP地址为终端建立了第二APN。In one example, the second core network device receives the second notification message from the first core network device. The method of the embodiment of the present invention may further include: the second core network device sends a fourth notification message to the second policy device, where the fourth notification message is used to notify the second policy device that the first core network device is based on the second IP address. A second APN is established for the terminal.

在一个示例中,第二策略设备从第二核心网设备接收第三通知消息或第四通知消息之前,本发明实施例的方法还可以包括:第二策略设备从应用功能(Application Function,AF)设备接收业务建立请求消息,业务建立请求消息携带业务要求信息,其中,应用功能设备应用于第一制式网络和第二制式网络;第二策略设备根据业务要求信息在第二制式网络为终端建立第一承载。其中,应用功能设备可以是应用服务器(Application Server)。In an example, before the second policy device receives the third notification message or the fourth notification message from the second core network device, the method of the embodiment of the present invention may further include: the second policy device from the application function (AF) The device receives the service establishment request message, where the service establishment request message carries the service requirement information, where the application function device is applied to the first system network and the second system network; and the second policy device establishes the terminal for the terminal according to the service requirement information in the second system network. One bearer. The application function device may be an application server (Application Server).

在一个示例中,第二策略设备从第二核心网设备接收第三通知消息或第四通知消息之后,本发明实施例的方法还可以包括:第二策略设备在第一制式网络为终端建立第二承载。In an example, after the second policy device receives the third notification message or the fourth notification message from the second core network device, the method of the embodiment of the present invention may further include: the second policy device establishes the terminal for the terminal in the first standard network. Two bearers.

在这个示例中,第二策略设备在第一制式网络为终端建立第二承载可以包括:第二策略设备根据第一IP地址或第二IP地址查找业务要求信息;第二策略设备根据业务要求信息为终端在第一制式网络建立第二承载。In this example, the establishing, by the second policy device, the second bearer for the terminal in the first-standard network may include: the second policy device searches for service requirement information according to the first IP address or the second IP address; and the second policy device is configured according to the service requirement information. Establishing a second bearer for the terminal in the first standard network.

在一个示例中,第二策略设备从第二核心网设备接收第三通知消息或第四通知消息之后,本发明实施例的方法还可以包括:第二策略设备向应用功能设备发送第五通知消息,第五通知消息用于通知应用功能设备:第一核心网设备基于第一IP地址为终端在第一制式网络建立了第一APN,和/或,第一核心网设备基于第二IP地址为终端在第一制式网络建立了第二APN。应用功能设备从第二策略设备接收第五通知消息之后,可以为终端在第一制式网络发起第二承载的建立过程。In an example, after the second policy device receives the third notification message or the fourth notification message from the second core network device, the method of the embodiment of the present invention may further include: the second policy device sends the fifth notification message to the application function device. The fifth notification message is used to notify the application function device: the first core network device establishes the first APN in the first standard network for the terminal based on the first IP address, and/or the first core network device is based on the second IP address The terminal establishes a second APN in the first-standard network. After the application function device receives the fifth notification message from the second policy device, the terminal may initiate a process of establishing the second bearer in the first-standard network.

在这个示例中,应用功能设备发起第二承载的建立过程,可以包括:应用功能设备根据第一IP地址或第二IP地址查找业务要求信息;应用功能设备根据业务要求信息为终端在第一制式网络发起第二承载的建立过程。In this example, the application function device initiates the establishment process of the second bearer, which may include: the application function device searches for service requirement information according to the first IP address or the second IP address; and the application function device uses the service requirement information as the terminal in the first format. The network initiates the establishment process of the second bearer.

在一个示例中,本发明实施例的方法还可以包括:所述第二策略设备从第二核心网设备接收第七通知消息或第九通知消息,所述第七通知消息或第九通知消息用于通知所述第二策略设备:所述终端从所述第二制式网络切换到所 述第一制式网络,其中,所述第二核心网设备应用于所述第二制式网络。In an example, the method of the embodiment of the present invention may further include: the second policy device receiving, by the second core network device, a seventh notification message or a ninth notification message, where the seventh notification message or the ninth notification message is used by Notifying the second policy device: the terminal switches from the second standard network to the The first system network, wherein the second core network device is applied to the second system network.

在这个示例中,所述第二策略设备从第二核心网设备接收第七通知消息或第九通知消息之后,本发明实施例的方法还可以包括:所述第二策略设备从第二核心网设备接收第七通知消息或第九通知消息之后,所述方法还包括:所述第二策略设备根据所述业务要求信息为所述终端在所述第一制式网络建立所述第二承载。In this example, after the second policy device receives the seventh notification message or the ninth notification message from the second core network device, the method of the embodiment of the present invention may further include: the second policy device from the second core network After the device receives the seventh notification message or the ninth notification message, the method further includes: the second policy device establishing, by the second policy device, the second bearer in the first standard network according to the service requirement information.

在这个示例中,所述第二策略设备从第二核心网设备接收第七通知消息或第九通知消息之后,本发明实施例的方法还可以包括:所述第二策略设备向所述应用功能设备发送第八通知消息,所述第八通知消息用于通知所述应用功能设备:所述终端从所述第二制式网络切换到所述第一制式网络。In this example, after the second policy device receives the seventh notification message or the ninth notification message from the second core network device, the method of the embodiment of the present invention may further include: the second policy device to the application function The device sends an eighth notification message, where the eighth notification message is used to notify the application function device that the terminal switches from the second standard network to the first standard network.

在一个示例中,本发明实施例的方法还可以包括:应用功能设备向第一策略设备发送认证授权请求消息;应用功能设备从第一策略设备接收认证授权应答消息。In an example, the method of the embodiment of the present invention may further include: the application function device sends an authentication authorization request message to the first policy device; and the application function device receives the authentication authorization response message from the first policy device.

在这个示例中,应用功能设备向第一策略设备发送认证鉴权请求消息之前,本发明实施例的方法还可以包括:应用功能设备根据第一制式网络的无线接入技术类型,以及根据第一IP地址或第二IP地址寻址到第一策略设备。In this example, before the application function device sends the authentication authentication request message to the first policy device, the method of the embodiment of the present invention may further include: applying the function device according to the wireless access technology type of the first standard network, and according to the first The IP address or the second IP address is addressed to the first policy device.

在一个示例中,本发明实施例的方法还可以包括:第二策略设备向第二网关发送信用重授权请求消息;第二策略设备从第二网关接收信用重授权应答消息。In an example, the method of the embodiment of the present invention may further include: the second policy device sends a credit re-authorization request message to the second gateway; and the second policy device receives the credit re-authorization response message from the second gateway.

在这个示例中,第二策略设备向第二网关发送信用重授权请求消息之前,本发明实施例的方法还可以包括:第二策略设备根据第一制式网络的无线接入技术类型,以及根据第一IP地址或第二IP地址寻址到第二网关。In this example, before the second policy device sends the credit re-authorization request message to the second gateway, the method of the embodiment of the present invention may further include: the second policy device according to the type of the radio access technology of the first-standard network, and according to the An IP address or a second IP address is addressed to the second gateway.

在204部分,第一核心网设备向第一接入网设备发送第二切换请求。In section 204, the first core network device sends a second handover request to the first access network device.

其中,第一接入网设备应用于第一制式网络。The first access network device is applied to the first standard network.

在205部分,第一核心网设备从第一接入网设备接收第二切换请求的响应消息。In section 205, the first core network device receives a response message of the second handover request from the first access network device.

在206部分,第一核心网设备向第二核心网设备发送第一切换请求的响应消息。 In section 206, the first core network device sends a response message of the first handover request to the second core network device.

在一个示例中,第一切换请求的响应消息可以携带以下至少一项:附着接受消息、分组数据网络(Packet Data Network,PDN)连接建立接受消息或会话管理(Session Management,SM)请求消息。In an example, the response message of the first handover request may carry at least one of the following: an attach accept message, a packet data network (PDN) connection establishment accept message, or a session management (SM) request message.

在一个示例中,第一核心网设备向第二核心网设备发送第一切换请求的响应消息之后,本发明实施例的方法还可以包括:第一核心网设备从第一网关接收承载创建请求消息;第一核心网设备接收来自接入网设备发送的切换到第一制式网络的完成消息之后,第一核心网设备向接入网设备发送承载建立请求消息;第一核心网设备从接入网设备接收承载建立响应消息;第一核心网设备向第一网关发送承载创建响应消息。In an example, after the first core network device sends the response message of the first handover request to the second core network device, the method of the embodiment of the present invention may further include: the first core network device receives the bearer creation request message from the first gateway. After the first core network device receives the completion message sent from the access network device and switches to the first standard network, the first core network device sends a bearer setup request message to the access network device; the first core network device accesses the access network. The device receives the bearer setup response message; the first core network device sends a bearer creation response message to the first gateway.

在一个示例中,第一核心网设备接收来自接入网设备发送的切换到第一制式网络的完成消息之后,本发明实施例的方法还可以包括:第一核心网设备向第二核心网设备发送切换完成通知消息;第一核心网设备从第二核心网设备接收切换完成确认消息。In an example, after the first core network device receives the completion message that is sent from the access network device and is switched to the first-standard network, the method of the embodiment of the present invention may further include: the first core network device to the second core network device Sending a handover complete notification message; the first core network device receives a handover complete confirmation message from the second core network device.

在207部分,第二核心网设备向第二接入网设备发送切换要求响应消息。In section 207, the second core network device sends a handover request response message to the second access network device.

在一个示例中,第二核心网设备从第一核心网设备接收第一切换请求的响应消息之后,本发明实施例的方法还可以包括:第二核心网设备向第二策略设备发送第七通知消息,第七通知消息用于通知第二策略设备:终端从第二制式网络切换到第一制式网络。In an example, after the second core network device receives the response message of the first handover request from the first core network device, the method of the embodiment of the present invention may further include: the second core network device sends the seventh notification to the second policy device. The message, the seventh notification message is used to notify the second policy device that the terminal switches from the second standard network to the first standard network.

在一个示例中,第二核心网设备从第一核心网设备接收第一切换请求的响应消息之后,本发明实施例的方法还可以包括:第二核心网设备向第一核心网设备发送切换完成确认消息;第二核心网设备向第二策略设备发送第九通知消息,第九通知消息用于通知第二策略设备:终端从第二制式网络切换到第一制式网络。In an example, after the second core network device receives the response message of the first handover request from the first core network device, the method of the embodiment of the present invention may further include: the second core network device sends the handover completion to the first core network device. And confirming the message; the second core network device sends a ninth notification message to the second policy device, where the ninth notification message is used to notify the second policy device that the terminal switches from the second standard network to the first standard network.

在一个示例中,切换要求响应消息可以携带以下至少一项:附着接受消息、PDN连接建立接受消息或SM请求消息,其中,附着接受消息可以携带第一核心网设备为终端在第一制式网络建立的第一APN的信息,PDN连接建立接受消息可以携带第一核心网设备为终端在第一制式网络建立的第二APN的信息,SM请求消息可以携带终端在第一制式网络的承载信息。 In an example, the handover request response message may carry at least one of the following: an attach accept message, a PDN connection setup accept message, or an SM request message, where the attach accept message may carry the first core network device as a terminal established in the first standard network. The information of the first APN, the PDN connection establishment accept message may carry the information of the second APN established by the first core network device in the first standard network, and the SM request message may carry the bearer information of the terminal in the first standard network.

在一个示例中,第二接入网设备从第二核心网设备接收切换要求响应消息之后,本发明实施例的方法还可以包括:第二接入网设备向终端发送切换命令消息。切换命令消息可以携带以下至少一项:附着接受消息、PDN连接建立接受消息或SM请求消息。In an example, after the second access network device receives the handover request response message from the second core network device, the method of the embodiment of the present invention may further include: the second access network device sends a handover command message to the terminal. The handover command message may carry at least one of the following: an attach accept message, a PDN connection setup accept message, or an SM request message.

在一个示例中,本发明实施例的方法还可以包括:终端从第二接入网设备接收切换命令消息,切换命令消息携带以下至少一项:附着接受消息、PDN连接建立接受消息或SM请求消息;终端根据附着接受消息、PDN连接建立接受消息或SM请求消息中的至少一项接入第一制式网络;终端向第一接入网设备发送切换完成消息。In an example, the method of the embodiment of the present invention may further include: the terminal receiving, by the second access network device, a handover command message, where the handover command message carries at least one of the following: an attach accept message, a PDN connection setup accept message, or an SM request message. The terminal accesses the first-standard network according to at least one of an attach accept message, a PDN connection establishment accept message, or an SM request message; the terminal sends a handover complete message to the first access network device.

在这个示例中,终端向第一接入网设备发送切换完成消息之后,本发明实施例的方法还可以包括:终端在第一制式网络为终端建立第二承载。In this example, after the terminal sends the handover complete message to the first access network device, the method of the embodiment of the present invention may further include: the terminal establishing the second bearer for the terminal in the first standard network.

在这个示例中,终端向第一接入网设备发送切换完成消息之后,本发明实施例的方法还可以包括:终端向应用功能设备发送第十一通知消息,第十一通知消息用于通知应用功能设备:终端从第二制式网络切换到第一制式网络,其中,应用功能设备应用于第一制式网络和第二制式网络。In this example, after the terminal sends the handover complete message to the first access network device, the method of the embodiment of the present invention may further include: the terminal sends an eleventh notification message to the application function device, where the eleventh notification message is used to notify the application. Functional device: The terminal switches from the second standard network to the first standard network, wherein the application function device is applied to the first system network and the second system network.

在一个示例中,附着接受消息可以携带第一IP地址。In one example, the attach accept message can carry the first IP address.

在一个示例中,PDN连接建立接受消息可以携带第二IP地址。In one example, the PDN Connection Setup Accept message may carry a second IP address.

由上可见,本发明实施例中,第一制式网络与第二制式网络之间的互操作流程简单,不需要进行包括各种参数映射在内的复杂流程。It can be seen from the above that in the embodiment of the present invention, the interoperation process between the first standard network and the second standard network is simple, and complex processes including various parameter mappings are not required.

本发明实施例还提供一种联合附着方法,和基于这个方法的第一核心网设备和第二核心网设备等。该方法包括:第二核心网设备从终端接收附着请求消息,其中,第二核心网设备应用于第二制式网络;第二核心网设备向第一核心网设备发送联合附着请求消息,联合附着请求消息携带第一IP地址和第三核心网设备的地址,第一IP地址和第三核心网设备的地址用于终端在第一制式网络的第一APN的建立过程,其中,第一核心网设备应用于第一制式网络,第三核心网设备应用于第二制式网络,第一IP地址为第二制式网络为终端分配的IP地址;第一核心网设备为终端在第一制式网络中发起第一APN的建立过程;第一核心网设备向第二核心网设备发送联合附着请求响应消息;第二核 心网设备向终端发送附着请求响应消息。上述第一APN的建立过程也可以称为第一APN的附着过程。本发明实施例提供的联合附着方法中,第二制式网络的第二核心网设备从终端接收附着请求消息后,在向第一制式网络的第一核心网设备发送的联合附着请求消息中携带第一IP地址和第二制式网络的第三核心网设备的地址,以用于终端在第一制式网络的第一APN的建立过程,然后从第一核心网设备接收联合附着请求响应消息,并向终端发送附着请求响应消息。由上可见,本发明实施例中,第一制式网络与第二制式网络之间的互操作流程简单,不需要进行包括各种参数映射在内的复杂流程。The embodiment of the invention further provides a joint attachment method, and a first core network device and a second core network device based on the method. The method includes: the second core network device receives an attach request message from the terminal, where the second core network device is applied to the second standard network; the second core network device sends a joint attach request message to the first core network device, and the joint attach request The message carries the first IP address and the address of the third core network device, where the first IP address and the address of the third core network device are used for establishing the first APN of the terminal in the first standard network, where the first core network device The first core network device is applied to the second standard network, the first IP address is the IP address assigned by the second standard network to the terminal, and the first core network device is the terminal initiated in the first standard network. An APN establishing process; the first core network device sends a joint attach request response message to the second core network device; the second core The heart network device sends an attach request response message to the terminal. The establishment process of the foregoing first APN may also be referred to as an attachment process of the first APN. In the joint attaching method provided by the embodiment of the present invention, after receiving the attach request message from the terminal, the second core network device of the second-standard network carries the first in the joint attach request message sent to the first core network device of the first-standard network. An IP address and an address of the third core network device of the second standard network for the establishment process of the first APN of the terminal in the first standard network, and then receiving the joint attach request response message from the first core network device, and The terminal sends an attach request response message. It can be seen from the above that in the embodiment of the present invention, the interoperation process between the first standard network and the second standard network is simple, and complex processes including various parameter mappings are not required.

下面结合附图3,对本发明实施例提供的联合附着方法进行说明。图3示出了本发明实施例提供的一种联合附着方法。该方法包括:301~306部分,具体如下:The joint attachment method provided by the embodiment of the present invention will be described below with reference to FIG. FIG. 3 shows a joint attachment method provided by an embodiment of the present invention. The method includes: sections 301 to 306, as follows:

在301部分,第二核心网设备从终端接收附着请求消息,附着请求消息用于请求附着到第一制式网络。In Section 301, the second core network device receives an attach request message from the terminal, and the attach request message is used to request attachment to the first standard network.

其中,第二核心网设备应用于第二制式网络。The second core network device is applied to the second standard network.

在一个示例中,附着请求消息中可以携带终端在第一制式网络的终端网络能力信息。In an example, the attach request message may carry terminal network capability information of the terminal in the first-standard network.

在302部分,第二核心网设备向第一核心网设备发送联合附着请求消息,联合附着请求消息携带第一IP地址和第三核心网设备的地址,第一IP地址和第三核心网设备的地址用于终端在第一制式网络的第一APN的建立过程。In section 302, the second core network device sends a joint attach request message to the first core network device, where the joint attach request message carries the first IP address and the address of the third core network device, the first IP address and the third core network device. The address is used in the process of establishing the first APN of the terminal in the first-standard network.

其中,第一核心网设备应用于第一制式网络,第三核心网设备应用于第二制式网络,第一IP地址为第二制式网络为终端分配的IP地址。The first core network device is applied to the first standard network, the third core network device is applied to the second standard network, and the first IP address is the IP address allocated by the second standard network for the terminal.

在一个示例中,联合附着请求消息中还携带第二IP地址和第四核心网设备的地址,第二IP地址和第四核心网设备的地址用于终端在第一制式网络的第二APN的建立过程,其中,第四核心网设备应用于第二制式网络,第二IP地址为第二制式网络为终端分配的IP地址。In an example, the joint attach request message further carries the second IP address and the address of the fourth core network device, and the second IP address and the address of the fourth core network device are used by the terminal in the second APN of the first standard network. The establishing process, wherein the fourth core network device is applied to the second standard network, and the second IP address is an IP address allocated by the second standard network for the terminal.

在一个示例中,联合附着请求消息还可以携带以下至少一项:终端的IMSI、终端的安全上下文、终端的移动性管理上下文、终端的会话管理类上下文或终端在第一制式网络的终端网络能力信息。 In an example, the joint attach request message may further carry at least one of the following: an IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, or a terminal network capability of the terminal in the first standard network. information.

302部分与图2中的203部分类似,302部分的具体实施可以参考图2中的203部分的详细描述,此处不作赘述。The portion 302 is similar to the portion 203 in FIG. 2. For the specific implementation of the portion 302, reference may be made to the detailed description of the portion 203 in FIG. 2, and details are not described herein.

在303部分,第一核心网设备为终端在第一制式网络发起第一APN的建立过程。In section 303, the first core network device initiates a process of establishing a first APN in the first-standard network.

在304部分,第一核心网设备向第二核心网设备发送联合附着请求响应消息。In section 304, the first core network device sends a joint attach request response message to the second core network device.

在一个示例中,第二核心网设备从第一核心网设备接收联合附着请求响应消息之后,本发明实施例的方法还可以包括:第二核心网设备向第二策略设备发送通知消息,通知消息用于通知第二策略设备:第一核心网设备基于第一IP地址为终端建立了第一APN,其中,第二策略设备应用于第二制式网络。In an example, after the second core network device receives the joint attach request response message from the first core network device, the method of the embodiment of the present invention may further include: the second core network device sends a notification message to the second policy device, and the notification message is The second policy device is configured to: the first core network device establishes a first APN for the terminal based on the first IP address, where the second policy device is applied to the second standard network.

在一个示例中,通知消息还用于通知第二策略设备:第一核心网设备基于第二IP地址为终端建立了第二APN。In one example, the notification message is further used to notify the second policy device that the first core network device establishes the second APN for the terminal based on the second IP address.

在一个示例中,第二策略设备从第二核心网设备接收通知消息之前,本发明实施例的方法还可以包括:第二策略设备从应用功能设备接收业务建立请求消息,业务建立请求消息携带业务要求信息,其中,应用功能设备应用于第一制式网络和第二制式网络。In an example, before the second policy device receives the notification message from the second core network device, the method of the embodiment of the present invention may further include: the second policy device receives the service establishment request message from the application function device, where the service establishment request message carries the service. Requirement information, wherein the application function device is applied to the first system network and the second system network.

在这个示例中,第二策略设备从第二核心网设备接收通知消息之后,本发明实施例的方法还可以包括:第二策略设备在第一制式网络为终端建立第二承载。In this example, after the second policy device receives the notification message from the second core network device, the method of the embodiment of the present invention may further include: the second policy device establishing the second bearer for the terminal in the first standard network.

在一个示例中,第二策略设备在第一制式网络为终端建立第二承载,可以包括:第二策略设备根据第一IP地址或第二IP地址查找业务要求信息;第二策略设备根据业务要求信息为终端在第一制式网络建立第二承载。In an example, the second policy device establishes the second bearer for the terminal in the first mode network, and the method includes: the second policy device searches for the service requirement information according to the first IP address or the second IP address; and the second policy device is configured according to the service request. The information is that the terminal establishes a second bearer in the first standard network.

在一个示例中,本发明实施例的方法还可以包括:第二策略设备向第二网关发送信用重授权请求消息;第二策略设备从第二网关接收信用重授权应答消息。In an example, the method of the embodiment of the present invention may further include: the second policy device sends a credit re-authorization request message to the second gateway; and the second policy device receives the credit re-authorization response message from the second gateway.

在这个示例中,第二策略设备向第二网关发送信用重授权请求消息之前,本发明实施例的方法还可以包括:第二策略设备根据第一制式网络的无线接入技术类型,以及根据第一IP地址或第二IP地址寻址到第二网关。 In this example, before the second policy device sends the credit re-authorization request message to the second gateway, the method of the embodiment of the present invention may further include: the second policy device according to the type of the radio access technology of the first-standard network, and according to the An IP address or a second IP address is addressed to the second gateway.

在一个示例中,联合附着请求响应消息可以携带以下至少一项:附着接受消息、PDN连接建立接受消息或会话管理SM请求消息。In one example, the Federated Attach Request Response message may carry at least one of the following: an Attach Accept message, a PDN Connection Setup Accept message, or a Session Management SM Request message.

在一个示例中,附着接受消息可以携带第一IP地址。In one example, the attach accept message can carry the first IP address.

在一个示例中,PDN连接建立接受消息可以携带第二IP地址。In one example, the PDN Connection Setup Accept message may carry a second IP address.

在一个示例中,SM请求消息可以携带终端在第一制式网络的承载信息。In one example, the SM request message may carry bearer information of the terminal in the first mode network.

在305部分,第二核心网设备向终端发送附着请求响应消息。In section 305, the second core network device sends an attach request response message to the terminal.

在306部分,终端接入第一制式网络。In section 306, the terminal accesses the first standard network.

在一个示例中,终端可以根据附着接受消息、PDN连接建立接受消息或SM请求消息中的至少一项接入第一制式网络。In one example, the terminal may access the first-standard network according to at least one of an attach accept message, a PDN connection setup accept message, or an SM request message.

本发明实施例提供的联合附着方法与上述图2所示的切换方法在具体实施上有很多类似的地方,为描述简便,联合附着方法中与图2所示的切换方法类似的地方,可以参考图2所示方法中的详细描述,此处不作赘述。The joint attachment method provided by the embodiment of the present invention has many similarities with the above-mentioned handover method shown in FIG. 2, and is simple for description. The joint attachment method is similar to the handover method shown in FIG. 2, and can be referred to. The detailed description in the method shown in FIG. 2 is not described herein.

当应用图1所示的网络架构时,上述切换方法和联合附着方法所涉及的各个网元可以是图1中的对应网元。例如,第一核心网设备可以是MME,核心网设备可以是CP function,第一网关可以是SGW,第二网关可以是PGW,第一策略设备可以是PCRF,第二策略设备可以是Policy Function,应用功能设备可以是AF,第二接入网设备可以是NG RAN,第一接入网设备可以是eNB,第三核心网设备和第四核心网设备可以是UP function。When the network architecture shown in FIG. 1 is applied, each network element involved in the foregoing handover method and the joint attachment method may be the corresponding network element in FIG. 1. For example, the first core network device may be an MME, the core network device may be a CP function, the first gateway may be a SGW, the second gateway may be a PGW, the first policy device may be a PCRF, and the second policy device may be a Policy Function, The application function device may be an AF, the second access network device may be an NG RAN, the first access network device may be an eNB, and the third core network device and the fourth core network device may be an UP function.

下面结合更多的附图对本发明实施例的方案做进一步说明。The solution of the embodiment of the present invention is further described below with reference to more drawings.

如图4所示,假设第一制式网络为4G网络、第二制式网络为5G网络,第一核心网设备为4G网络的移动性管理实体MME,第二核心网设备为5G网络的控制面功能CP Function实体,第三核心网设备为5G网络的第一用户面控制功能UP Function 1实体,第四核心网设备为5G网络的第二用户面控制功能UP Function 2实体,第一接入网设备为4G网络的演进型基站eNB,第二接入网设备为5G网络的下一代无线接入网NG RAN实体,第一网关为4G网络的服务网关SGW,第二网关为4G网络的PDN网关PGW,另外,在第三核心网设备以及第四核心网设备中可能包含服务网关用户面的功能,因此图中分别标识为UP Function1&PGW-U以及UP Function2&PGW-U,为方便起见, 流程描述中,第三核心网设备表示UP Function1,第四核心网设备表示UP Function2,第一策略设备为4G网络的策略与计费规则功能PCRF实体,第二策略设备为5G网络的策略功能Policy Function实体;且4G网络中的PCRF和5G网络中的Policy Function实体独立部署,本发明实施例所公开的业务切换方法包括:As shown in FIG. 4, it is assumed that the first-standard network is a 4G network, and the second-standard network is a 5G network, the first core network device is a mobility management entity MME of the 4G network, and the second core network device is a control plane function of the 5G network. The CP function entity, the third core network device is a first user plane control function UP Function 1 entity of the 5G network, and the fourth core network device is a second user plane control function UP Function 2 entity of the 5G network, the first access network device The evolved base station eNB of the 4G network, the second access network device is the next-generation radio access network NG RAN entity of the 5G network, the first gateway is the serving gateway SGW of the 4G network, and the second gateway is the PDN gateway PGW of the 4G network In addition, the function of the service gateway user plane may be included in the third core network device and the fourth core network device, so the figure is identified as UP Function1 & PGW-U and UP Function 2 & PGW-U, respectively, for convenience. In the process description, the third core network device represents UP Function1, the fourth core network device represents UP Function2, the first policy device is a policy and charging rule function PCRF entity of the 4G network, and the second policy device is a policy function policy of the 5G network. The function of the service is as follows: The PCRF in the 4G network and the Policy Function in the 5G network are deployed independently. The service switching method disclosed in the embodiment of the present invention includes:

1a、终端将邻居小区信号测量结果上报给5G接入网设备NG RAN,NG RAN决定将所述终端从5G切换到4G;1a, the terminal reports the neighbor cell signal measurement result to the 5G access network device NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G;

S401,所述NG RAN实体向所述CP Function实体发送切换要求消息Handover Required;S401, the NG RAN entity sends a handover request message Handover Required to the CP Function entity;

S402,所述CP Function实体接收所述切换要求消息之后,向所述MME发送第一切换请求Forward Relocation Request;S402. After receiving the handover request message, the CP Function entity sends a first handover request Forward Relocation Request to the MME.

其中,所述第一切换请求携带有:第一互联网协议IP地址和UP Function1实体的地址,所述第一IP地址和所述UP Function1实体的地址用于第一接入点名称APN的建立过程;The first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN ;

此外,所述第一切换请求还可以携带有:所述终端的第二互联网协议IP地址和UP Function2实体的地址,所述第二IP地址和所述UP Function2实体的地址用于第二接入点名称APN的建立过程。In addition, the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.

进一步地,所述第一切换请求还可以携带有以下至少一种:Further, the first handover request may further carry at least one of the following:

所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文、所述终端的在第一制式网络的终端网络能力信息;An international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network ;

其中,所述终端网络能力信息可通过如下两种途径获取:The terminal network capability information can be obtained by the following two methods:

途径1、所述终端在向CP Function实体发送的附着请求消息Attach Request中携带所述终端网络能力信息;Route 1, the terminal carries the terminal network capability information in an attach request message Attach Request sent to the CP Function entity;

途径2、CP Function实体向所述终端发送查询请求消息Query Request,所述终端在向CP Function实体发送的查询请求响应消息中携带所述终端网络能力信息。The route 2, the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function entity.

更进一步地,所述第一切换请求还可以携带有预设的第一指示信息;该 预设的第一指示信息用于指示MME在完成第一接入点名称APN的建立过程之后,向CP Function实体发送第一通知消息。Further, the first handover request may further carry preset first indication information; The preset first indication information is used to indicate that the MME sends the first notification message to the CP Function entity after completing the establishment process of the first access point name APN.

更进一步地,所述第一切换请求还可以携带有预设的第二指示信息;该预设的第二指示信息用于指示MME在完成第二接入点名称APN的建立过程之后,向CP Function实体发送第二通知消息。Further, the first handover request may further carry preset second indication information, where the preset second indication information is used to indicate that the MME sends the CP to the CP after completing the establishment process of the second access point name APN. The Function entity sends a second notification message.

S403,所述MME接收所述第一切换请求后,为所述终端在所述4G网络中发起第一接入点名称APN的建立过程;S403. After the first MME receives the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.

S404,所述MME完成所述第一接入点名称(APN,Access Point Name)的建立过程后,向所述CP Function实体发送第一通知消息Notify1;S404, the MME sends a first notification message Notify1 to the CP Function entity after completing the establishment process of the first access point name (APN, Access Point Name);

其中,所述MME在检测到上述第一切换请求中携带有预设的所述第一指示信息的情况下,才会执行本步骤S404。所述第一通知消息用于通知所述CP Function实体如下信息:所述MME基于所述第一IP地址为所述终端建立了所述第一APN。The MME performs the step S404 only when it is detected that the first indication request carries the preset first indication information. The first notification message is used to notify the CP Function entity that the MME establishes the first APN for the terminal based on the first IP address.

S405,所述CP Function实体接收所述第一通知消息后,向策略功能Policy Function实体发送第三通知消息Notify3;S405, after receiving the first notification message, the CP Function entity sends a third notification message Notify3 to the policy function Policy Function entity;

其中,所述第三通知消息用于通知所述Policy Function实体如下信息:所述MME基于所述第一IP地址为所述终端建立了所述第一APN。The third notification message is used to notify the Policy Function entity that the MME establishes the first APN for the terminal based on the first IP address.

S406,所述Policy Function实体接收所述第三通知消息后,向应用功能AF设备发送第五通知消息Notify5;S406, after receiving the third notification message, the Policy Function entity sends a fifth notification message Notify5 to the application function AF device;

其中,所述第五通知消息用于通知所述AF设备如下信息:所述MME基于所述第一IP地址为所述终端建立了所述第一APN。The fifth notification message is used to notify the AF device that the MME establishes the first APN for the terminal based on the first IP address.

S407,所述MME为所述终端在所述4G网络中发起第二接入点APN的建立过程;S407, the MME is a process for the terminal to initiate a second access point APN in the 4G network.

S408,所述MME完成所述第二APN的建立过程后,向所述CP Function实体发送第二通知消息Notify2;S408, after completing the establishment process of the second APN, the MME sends a second notification message Notify2 to the CP Function entity;

其中,所述MME在检测到上述第一切换请求在携带有预设的所述第二指示信息的情况下,才会执行本步骤S408。所述第二通知消息用于通知所述CP Function实体如下信息:所述MME基于所述第二IP地址为所述终端建立 了所述第二APN。The MME performs the step S408 only after detecting that the first handover request carries the preset second indication information. The second notification message is used to notify the CP Function entity that the MME establishes the terminal for the terminal based on the second IP address. The second APN.

S409,所述CP Function实体接收所述第二通知消息,向所述策略功能Policy Function实体发送第四通知消息Notify4;S409, the CP Function entity receives the second notification message, and sends a fourth notification message Notify4 to the policy function Policy Function entity;

其中,所述第四通知消息用于通知所述Policy Function实体如下信息:所述MME基于所述第二IP地址为所述终端建立了所述第二APN。The fourth notification message is used to notify the Policy Function entity that the MME establishes the second APN for the terminal based on the second IP address.

S410,所述Policy Function实体接收所述第四通知消息后,向所述AF设备发送第六通知消息Notify6;S410, after receiving the fourth notification message, the Policy Function entity sends a sixth notification message Notify6 to the AF device;

其中,所述第六通知消息用于通知所述AF设备如下信息:所述MME基于所述第二IP地址为所述终端建立了所述第二APN。The sixth notification message is used to notify the AF device that the MME establishes the second APN for the terminal based on the second IP address.

S411,AF设备接收所述第六通知消息后,发起第二承载的创建过程;S411. After receiving the sixth notification message, the AF device initiates a process of creating a second bearer.

S412,所述MME检测到所述第一APN、所述第二APN建立完成,且所述第二承载创建完成后,向eNB发送第二切换请求Handover Request;S412, the MME detects that the first APN and the second APN are established, and after the second bearer is created, sends a second handover request Handover Request to the eNB.

S413,所述eNB接收所述第二切换请求后,向所述MME发送第二切换请求响应Handover Request Acknowledge;S413. After receiving the second handover request, the eNB sends a second handover request response Handover Request Acknowledge to the MME.

S414,所述MME接收所述第二切换请求响应后,向所述CP Function实体发送第一切换请求响应Forward Relocation Response;S414. After receiving the second handover request response, the MME sends a first handover request response Forward Relocation Response to the CP Function entity.

其中,所述第一切换请求响应携带有以下至少一种:The first handover request response carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息以及会话管理SM请求消息。An attach accept message, a packet data network PDN connection setup accept message, and a session management SM request message.

S415,所述CP Function实体接收所述第一切换请求响应后,向所述NG RAN实体发送切换要求响应消息Handover Required Response;S415. After receiving the first handover request response, the CP Function entity sends a handover request response message Handover Required Response to the NG RAN entity.

其中,所述切换要求响应消息携带有以下至少一种:The handover request response message carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。An attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.

S416,所述NG RAN接收所述切换要求响应消息后,向所述终端发送切换命令Handover Command;S416, after receiving the handover request response message, the NG RAN sends a handover command Handover Command to the terminal;

其中,所述切换命令携带有以下至少一种:The switching command carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请 求消息。Attach Accept Message, Packet Data Network PDN Connection Setup Accept Message or Session Management SM Ask for news.

S417,所述终端向所述eNB发送切换完成消息Handover Complete。S417. The terminal sends a handover complete message Handover Complete to the eNB.

其中,所述切换完成消息携带以下至少一种:The handover completion message carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息以及会话管理SM请求消息。An attach accept message, a packet data network PDN connection setup accept message, and a session management SM request message.

进一步地,请参阅图5,图5是图4中所描述的步骤411中AF设备发起第二承载的创建过程的一种可能的实现方式,该针对第二IP地址的第二承载建立过程,与第一IP地址的第一承载的建立过程相同,以下以第二IP地址为例,说明第二承载的建立具体过程,具体包括以下步骤:Further, please refer to FIG. 5. FIG. 5 is a possible implementation manner of the process of creating a second bearer by the AF device in step 411, which is described in FIG. The process of establishing the first bearer is the same as the process of establishing the first bearer of the first IP address. The following takes the second IP address as an example to describe the specific process of establishing the second bearer, which specifically includes the following steps:

1a,AF设备为终端发起第二承载的建立过程之前,向Policy Function实体发送业务建立请求消息,也就是第一承载的建立请求,所述业务建立请求消息中携带业务要求信息;1a, the AF device sends a service establishment request message to the Policy Function entity, that is, the establishment request of the first bearer, and the service establishment request message carries the service request information;

S501,所述AF设备在通过上述第一IP地址查找到所述业务要求信息,并通过所述第一IP地址和所述4G网络的无线接入技术类型寻址到所述PCRF之后,向PCRF发送认证授权请求消息AAR;S501. The AF device searches for the service requirement information by using the first IP address, and after addressing the PCRF by using the first IP address and the radio access technology type of the 4G network, to the PCRF. Sending an authentication authorization request message AAR;

其中,所述AAR携带有所述第一IP地址;Wherein the AAR carries the first IP address;

S502,所述PCRF接收所述AAR之后,通过所述第一IP地址寻址到PGW-C,向所述PGW-C发送重新认证请求消息RAR;S502, after receiving the AAR, the PCRF is addressed to the PGW-C by using the first IP address, and sends a re-authentication request message RAR to the PGW-C;

S503,所述PGW-C接收所述RAR后,向所述PCRF发送重新认证应答消息RAA;S503, after receiving the RAR, the PGW-C sends a re-authentication response message RAA to the PCRF;

S504,所述PCRF接收所述RAA后,向所述AF设备发送认证授权应答消息;S504. After receiving the RAA, the PCRF sends an authentication authorization response message to the AF device.

S505,所述PGW-C通过所述SGW向MME发送承载创建请求消息Create Bearer Request;S505, the PGW-C sends a bearer creation request message Create Bearer Request to the MME through the SGW.

S506,所述SGW将所述承载创建请求消息转发给所述MME;S506, the SGW forwards the bearer creation request message to the MME;

S507,所述MME接收所述承载创建请求消息后,向所述SGW发送承载创建响应消息Create Bearer Response;S507. After receiving the bearer creation request message, the MME sends a bearer creation response message Create Bearer Response to the SGW.

S508,所述MME通过所述SGW向所述PGW-C发送承载创建响应消息。 S508. The MME sends a bearer creation response message to the PGW-C by using the SGW.

如图6所示,假设第一制式网络为4G网络、第二制式网络为5G网络,第一核心网设备为4G网络的移动性管理实体MME,第二核心网设备为5G网络的控制面功能CP Function实体,第三核心网设备为5G网络的第一用户面控制功能UP Function1实体,第四核心网设备为5G网络的第二用户面控制功能UP Function2实体,第一接入网设备为4G网络的演进型基站eNB,第二接入网设备为5G网络的下一代无线接入网NG RAN实体,第一网关为4G网络的服务网关SGW,第二网关为4G网络的PDN网关PGW,另外,在第三核心网设备以及第四核心网设备中可能包含服务网关用户面的功能,因此图中分别标识为UP Function1&PGW-U以及UP Function2&PGW-U,为方便起见,流程描述中,第三核心网设备表示UP Function1,第四核心网设备表示UP Function2,第一策略设备为4G网络的策略与计费规则功能PCRF实体,第二策略设备为5G网络的策略功能Policy Function实体;且4G网络中的PCRF和5G网络中的Policy Function实体合一部署时,本发明实施例所公开的业务切换方法包括:As shown in FIG. 6, it is assumed that the first-standard network is a 4G network, and the second-standard network is a 5G network, the first core network device is a mobility management entity MME of the 4G network, and the second core network device is a control plane function of the 5G network. The CP function entity, the third core network device is the first user plane control function UP Function1 entity of the 5G network, the fourth core network device is the second user plane control function UP Function2 entity of the 5G network, and the first access network device is 4G The evolved base station eNB of the network, the second access network device is a next-generation radio access network NG RAN entity of the 5G network, the first gateway is a serving gateway SGW of the 4G network, and the second gateway is a PDN gateway PGW of the 4G network, and In the third core network device and the fourth core network device, the function of the service gateway user plane may be included, so the figure is identified as UP Function1&PGW-U and UP Function2&PGW-U respectively. For convenience, the process description, the third core The network device represents UP Function1, the fourth core network device represents UP Function2, the first policy device is a policy and charging rule function PCRF entity of the 4G network, and the second policy device is When the policy function of the 5G network is a policy function entity, and the PCRF in the 4G network and the policy function in the 5G network are deployed in a unified manner, the service switching method disclosed in the embodiment of the present invention includes:

1a,终端将邻居小区的信号测量结果上报给NG RAN,所述NG RAN决定将所述终端从5G切换到4G;1a, the terminal reports the signal measurement result of the neighboring cell to the NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G;

S601,所述NG RAN向所述CP Function实体发送切换要求消息Handover Required;S601, the NG RAN sends a handover request message Handover Required to the CP Function entity;

S602,所述CP Function实体接收所述切换要求消息Handover Required后,向所述MME发送第一切换请求Forward Relocation Request;S602. After receiving the handover request message Handover Required, the CP Function entity sends a first handover request Forward Relocation Request to the MME.

其中,所述第一切换请求携带有:第一互联网协议IP地址和UP Function1实体的地址,所述第一IP地址和所述UP Function1实体的地址用于第一接入点名称APN的建立过程;The first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN ;

此外,所述第一切换请求还可以携带有:所述终端的第二互联网协议IP地址和UP Function2实体的地址,所述第二IP地址和所述UP Function2实体的地址用于第二接入点名称APN的建立过程。In addition, the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.

进一步地,所述第一切换请求还可以携带有以下至少一种:Further, the first handover request may further carry at least one of the following:

所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终 端的移动性管理上下文、所述终端的会话管理类上下文、所述终端的在第一制式网络的终端网络能力信息;An international mobile subscriber identity IMSI of the terminal, a security context of the terminal, and the terminal a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network;

其中,所述终端网络能力信息可通过如下两种途径获取:The terminal network capability information can be obtained by the following two methods:

途径1、所述终端在向CP Function实体发送的附着请求消息中携带所述终端网络能力信息Attach Request;Route 1, the terminal carries the terminal network capability information Attach Request in an attach request message sent to the CP Function entity;

途径2、CP Function实体向所述终端发送查询请求消息Query Request,所述终端在向CP Function发送的查询请求响应消息中携带所述终端网络能力信息。The route 2, the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function.

更进一步地,所述第一切换请求还可以携带有预设的第一指示信息;该预设的第一指示信息用于指示MME在完成第一接入点名称APN的建立过程之后,向CP Function实体发送第一通知消息。Further, the first handover request may further carry preset first indication information, where the preset first indication information is used to indicate that the MME sends the CP to the CP after completing the establishment process of the first access point name APN. The Function entity sends a first notification message.

更进一步地,所述第一切换请求还可以携带有预设的第二指示信息;该预设的第二指示信息用于指示MME在完成第二接入点名称APN的建立过程之后,向CP Function实体发送第二通知消息。Further, the first handover request may further carry preset second indication information, where the preset second indication information is used to indicate that the MME sends the CP to the CP after completing the establishment process of the second access point name APN. The Function entity sends a second notification message.

S603,所述MME接收所述第一切换请求后,为所述终端在所述4G网络中发起第一接入点名称APN的建立过程;S603. After the first MME receives the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.

S604,所述MME完成所述第一APN的建立过程后,向所述CP Function实体发送第一通知消息Notify1;S604, after completing the establishment process of the first APN, the MME sends a first notification message Notify1 to the CP Function entity;

其中,所述MME在检测到上述第一切换请求在携带有预设的所述第一指示信息的情况下,才会执行本步骤S604。所述第一通知消息用于通知所述CP Function实体如下信息:所述MME基于所述第一IP地址为所述终端建立了所述第一APN。The MME performs the step S604 only after detecting that the first handover request carries the preset first indication information. The first notification message is used to notify the CP Function entity that the MME establishes the first APN for the terminal based on the first IP address.

S605,所述CP Function实体接收所述第一通知消息后,向所述策略功能Policy Function实体发送第三通知消息Notify3;S605, after receiving the first notification message, the CP Function entity sends a third notification message Notify3 to the policy function Policy Function entity;

其中,所述第三通知消息用于通知所述Policy Function如下信息:所述MME基于所述第一IP地址为所述终端建立了所述第一APN。The third notification message is used to notify the Policy Function that the MME establishes the first APN for the terminal based on the first IP address.

S606,所述MME为所述终端在4G网络中发起第二接入点名称APN的建立过程; S606, the MME is a process for the terminal to initiate a second access point name APN in a 4G network.

S607,所述MME完成所述第二APN的建立过程后,向所述CP Function实体发送第二通知消息Notify2;S607, after completing the establishment process of the second APN, the MME sends a second notification message Notify2 to the CP Function entity;

其中,所述MME在检测到上述第一切换请求在携带有预设的所述第二指示信息的情况下,才会执行本步骤S408。所述第二通知消息用于通知所述CP Function实体如下信息:所述MME基于所述第二IP地址为所述终端建立了所述第二APN。The MME performs the step S408 only after detecting that the first handover request carries the preset second indication information. The second notification message is used to notify the CP Function entity that the MME establishes the second APN for the terminal based on the second IP address.

S608,所述MME完成所述第二APN的建立过程后,向所述CP Function发送第四通知消息Notify4;S608, after completing the establishment process of the second APN, the MME sends a fourth notification message Notify4 to the CP Function;

其中,所述第四通知消息用于通知所述Policy Function实体如下信息:所述MME基于所述第二IP地址为所述终端建立了所述第二APN。The fourth notification message is used to notify the Policy Function entity that the MME establishes the second APN for the terminal based on the second IP address.

S609,所述Policy Function实体在接收到所述第四通知消息之后,发起第二承载的创建过程;S609. After receiving the fourth notification message, the Policy Function entity initiates a process of creating a second bearer.

S610,所述MME检测到所述第一APN、所述第二APN建立完成,且所述第二承载创建完成后,向eNB发送第二切换请求Handover Request;S610, the MME detects that the first APN and the second APN are established, and after the second bearer is created, sends a second handover request Handover Request to the eNB.

S611,所述eNB向所述MME发送第二切换请求响应Handover Request Acknowledge;S611, the eNB sends a second handover request response Handover Request Acknowledge to the MME;

S612,所述MME向所述CP Function实体发送第一切换请求响应Forward Relocation Response;S612, the MME sends a first handover request response Forward Relocation Response to the CP Function entity;

其中,所述第一切换请求响应携带有以下至少一种:The first handover request response carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息以及会话管理SM请求消息。An attach accept message, a packet data network PDN connection setup accept message, and a session management SM request message.

S613,所述CP Function实体向所述NG RAN实体发送切换要求响应消息Handover Required Response;S613. The CP Function entity sends a handover request response message Handover Required Response to the NG RAN entity.

其中,所述切换要求响应消息携带有以下至少一种:The handover request response message carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。An attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.

S614,所述NG RAN向所述终端发送切换命令Handover Command;S614, the NG RAN sends a handover command Handover Command to the terminal;

其中,所述切换命令携带有以下至少一种: The switching command carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。An attach accept message, a packet data network PDN connection setup accept message, or a session management SM request message.

S615,所述终端向所述eNB发送切换完成Handover Complete消息。S615. The terminal sends a handover complete Handover Complete message to the eNB.

进一步地,请参阅图7,图7是图6中所描述的步骤609中专有第二承载的创建过程的一种可能的实现方式,该针对第二IP地址的第二承载建立过程,与第一IP地址的第一承载的建立过程相同,以下以第二IP地址为例,说明第二承载的建立具体过程,具体包括以下步骤:Further, please refer to FIG. 7. FIG. 7 is a possible implementation manner of a process for creating a second dedicated bearer in step 609, which is described in FIG. The process of establishing the first bearer of the first IP address is the same. The following takes the second IP address as an example to describe the specific process of establishing the second bearer. The specific steps include the following steps:

1a,Policy Function实体为终端发起第二承载的建立过程之前,接收AF设备发送的业务建立请求消息,所述业务建立请求消息中携带业务要求信息;1a, the Policy Function entity receives a service establishment request message sent by the AF device, and the service establishment request message carries service request information, before the terminal initiates the process of establishing the second bearer;

S701,Policy Function实体通过所述第一IP地址查找到业务要求信息,并通过所述第一IP地址以及所述4G网络的无线接入技术类型寻址到所述PGW-C,并向PGW-C发送重新认证请求消息RAR;S701. The Policy Function entity searches for the service requirement information by using the first IP address, and addresses the PGW-C by using the first IP address and the wireless access technology type of the 4G network, and sends the PGW-C to the PGW- C sends a re-authentication request message RAR;

S702,所述PGW-C接收所述RAR后,向PCRF发送重新认证应答消息RAA;S702, after receiving the RAR, the PGW-C sends a re-authentication response message RAA to the PCRF;

S703,所述PGW-C向所述SGW发送承载创建请求消息Create Bearer Request;S703, the PGW-C sends a bearer creation request message Create Bearer Request to the SGW;

S704,所述SGW将所述承载创建请求消息转发给所述MME;S704, the SGW forwards the bearer creation request message to the MME;

S705,所述MME接收所述承载创建请求消息后,向SGW发送承载创建响应消息Create Bearer Response;S705. After receiving the bearer creation request message, the MME sends a bearer creation response message Create Bearer Response to the SGW.

S706,所述SGW将所述承载创建响应消息转发给所述PGW-C。S706. The SGW forwards the bearer creation response message to the PGW-C.

如图4a所示,假设第一制式网络为4G网络、第二制式网络为5G网络,第一核心网设备为4G网络的移动性管理实体MME,第二核心网设备为5G网络的控制面功能CP Function实体,第三核心网设备为5G网络的第一用户面控制功能UP Function 1实体,第四核心网设备为5G网络的第二用户面控制功能UP Function 2实体,第一接入网设备为4G网络的演进型基站eNB,第二接入网设备为5G网络的下一代无线接入网NG RAN实体,第一网关为4G网络的服务网关SGW,第二网关为4G网络的PDN网关PGW,另外,在第三核心网设备以及第四核心网设备中可能包含服务网关用户面的功能,因此图 中分别标识为UP Function1&PGW-U以及UP Function2&PGW-U,为方便起见,流程描述中,第三核心网设备表示UP Function1,第四核心网设备表示UP Function2,第一策略设备为4G网络的策略与计费规则功能PCRF实体,第二策略设备为5G网络的策略功能Policy Function实体;且4G网络中的PCRF和5G网络中的Policy Function实体独立部署,本发明实施例所公开的业务切换方法包括:As shown in FIG. 4a, it is assumed that the first-standard network is a 4G network, the second-standard network is a 5G network, the first core network device is a mobility management entity MME of the 4G network, and the second core network device is a control plane function of the 5G network. The CP function entity, the third core network device is a first user plane control function UP Function 1 entity of the 5G network, and the fourth core network device is a second user plane control function UP Function 2 entity of the 5G network, the first access network device The evolved base station eNB of the 4G network, the second access network device is the next-generation radio access network NG RAN entity of the 5G network, the first gateway is the serving gateway SGW of the 4G network, and the second gateway is the PDN gateway PGW of the 4G network In addition, the function of the service gateway user plane may be included in the third core network device and the fourth core network device, so In the process description, the third core network device represents UP Function1, the fourth core network device represents UP Function2, and the first policy device is a 4G network policy and The charging rule function is a PCRF entity, and the second policy device is a policy function of the 5G network, and the PCRF in the 4G network is deployed independently. The service switching method disclosed in the embodiment of the present invention includes:

1a、终端将邻居小区信号测量结果上报给5G接入网设备NG RAN,NG RAN决定将所述终端从5G切换到4G。1a. The terminal reports the neighbor cell signal measurement result to the 5G access network device NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.

S4a01,所述NG RAN实体向所述CP Function实体发送切换要求消息(例如:Handover Required)。S4a01, the NG RAN entity sends a handover request message (for example, Handover Required) to the CP Function entity.

S4a02,所述CP Function实体接收所述切换要求消息之后,向所述MME发送第一切换请求(例如:Forward Relocation Request)。S4a02: After receiving the handover request message, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.

其中,所述第一切换请求携带有:第一互联网协议IP地址和UP Function1实体的地址,所述第一IP地址和所述UP Function1实体的地址用于第一接入点名称APN的建立过程。The first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN .

此外,所述第一切换请求还可以携带有:所述终端的第二互联网协议IP地址和UP Function2实体的地址,所述第二IP地址和所述UP Function2实体的地址用于第二接入点名称APN的建立过程。In addition, the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.

进一步地,所述第一切换请求还可以携带有以下至少一种:Further, the first handover request may further carry at least one of the following:

所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文、所述终端的在第一制式网络的终端网络能力信息。An international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network .

其中,所述终端网络能力信息可通过如下两种途径获取:The terminal network capability information can be obtained by the following two methods:

途径1、所述终端在向CP Function实体发送的附着请求消息Attach Request中携带所述终端网络能力信息。The terminal 1 carries the terminal network capability information in an attach request message Attach Request sent to the CP Function entity.

途径2、CP Function实体向所述终端发送查询请求消息Query Request,所述终端在向CP Function实体发送的查询请求响应消息中携带所述终端网络能力信息。 The route 2, the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function entity.

S4a03,所述MME接收所述第一切换请求后,为所述终端在所述4G网络中发起第一接入点名称APN的建立过程。S4a03, after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.

S4a04,所述MME为所述终端在所述4G网络中发起第二接入点APN的建立过程。S4a04, the MME is a process for the terminal to initiate a second access point APN in the 4G network.

S4a05,所述MME检测到所述第一APN、所述第二APN建立完成,向eNB发送第二切换请求(例如:Handover Request)。S4a05: The MME detects that the first APN and the second APN are established, and sends a second handover request (for example, a Handover Request) to the eNB.

S4a06,所述eNB接收所述第二切换请求后,向所述MME发送第二切换请求响应(例如:Handover Request Acknowledge)。S4a06: After receiving the second handover request, the eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.

S4a07,所述MME接收所述第二切换请求响应后,向所述CP Function实体发送第一切换请求响应(例如:Forward Relocation Response)。S4a07: After receiving the second handover request response, the MME sends a first handover request response (for example, Forward Relocation Response) to the CP Function entity.

其中,所述第一切换请求响应携带有以下至少一种:The first handover request response carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S4a08,所述CP Function实体接收所述第一切换请求响应后,向所述Policy Function实体发送第七通知消息(例如:Notify7)。S4a08, after receiving the first handover request response, the CP Function entity sends a seventh notification message (for example, Notify7) to the Policy Function entity.

其中,所述第七通知消息用于通知所述Policy Function实体如下信息:所述终端从所述5G网络切换到所述4G网络。The seventh notification message is used to notify the Policy Function entity that the terminal switches from the 5G network to the 4G network.

可选地,所述CP Function实体如果与所述PGW-C实体合一部署,也就是说,所述CP Function拥有PGW-C的功能,步骤S4a02中所述第一切换请求可以不携带所述第一IP地址和UP Function1实体的地址,或者不携带所述第二IP地址和UP Function2实体的地址,而是直接携带所述CP Function的地址,其中所述CP Function的地址用于在步骤S4a03的所述第一APN的建立过程中、步骤S4a04的所述第二APN的建立过程中寻址所述CP Function实体,在这种情况下,所述CP Function实体接收所述第一切换请求响应后,向所述Policy Function实体发送所述第七通知消息Notify7。Optionally, if the CP Function entity is deployed in the same manner as the PGW-C entity, that is, the CP Function has the function of the PGW-C, the first handover request in the step S4a02 may not carry the The first IP address and the address of the UP Function 1 entity, or the address of the second IP address and the UP Function 2 entity, but the address of the CP Function is directly carried, wherein the address of the CP Function is used in step S4a03 The CP Function entity is addressed during the establishment of the first APN in the process of establishing the second APN in step S4a04, in which case the CP Function entity receives the first handover request response. Afterwards, the seventh notification message Notify7 is sent to the Policy Function entity.

S4a09,所述Policy Function实体接收所述第七通知消息后,向所述AF设备发送第八通知消息(例如:Notify8)。S4a09, after receiving the seventh notification message, the Policy Function entity sends an eighth notification message (for example, Notify8) to the AF device.

其中,所述第八通知消息用于通知所述AF设备如下信息:所述终端从所述5G网络切换到所述4G网络。 The eighth notification message is used to notify the AF device that the terminal switches from the 5G network to the 4G network.

S4a10,AF设备接收所述第八通知消息后,发起第二承载的创建过程。S4a10: After receiving the eighth notification message, the AF device initiates a process of creating a second bearer.

其中,S4a10的具体流程请参见图5a。For the specific process of S4a10, please refer to Figure 5a.

如图4b所示,假设第一制式网络为4G网络、第二制式网络为5G网络,第一核心网设备为4G网络的移动性管理实体MME,第二核心网设备为5G网络的控制面功能CP Function实体,第三核心网设备为5G网络的第一用户面控制功能UP Function 1实体,第四核心网设备为5G网络的第二用户面控制功能UP Function 2实体,第一接入网设备为4G网络的演进型基站eNB,第二接入网设备为5G网络的下一代无线接入网NG RAN实体,第一网关为4G网络的服务网关SGW,第二网关为4G网络的PDN网关PGW,另外,在第三核心网设备以及第四核心网设备中可能包含服务网关用户面的功能,因此图中分别标识为UP Function1&PGW-U以及UP Function2&PGW-U,为方便起见,流程描述中,第三核心网设备表示UP Function1,第四核心网设备表示UP Function2,第一策略设备为4G网络的策略与计费规则功能PCRF实体,第二策略设备为5G网络的策略功能Policy Function实体;且4G网络中的PCRF和5G网络中的Policy Function实体独立部署,本发明实施例所公开的业务切换方法包括:As shown in FIG. 4b, it is assumed that the first-standard network is a 4G network, and the second-standard network is a 5G network, the first core network device is a mobility management entity MME of the 4G network, and the second core network device is a control plane function of the 5G network. The CP function entity, the third core network device is a first user plane control function UP Function 1 entity of the 5G network, and the fourth core network device is a second user plane control function UP Function 2 entity of the 5G network, the first access network device The evolved base station eNB of the 4G network, the second access network device is the next-generation radio access network NG RAN entity of the 5G network, the first gateway is the serving gateway SGW of the 4G network, and the second gateway is the PDN gateway PGW of the 4G network In addition, the function of the service gateway user plane may be included in the third core network device and the fourth core network device, so the figure is identified as UP Function1 & PGW-U and UP Function 2 & PGW-U respectively. For convenience, the process description, The third core network device represents UP Function1, the fourth core network device represents UP Function2, the first policy device is a 4G network policy and charging rule function PCRF entity, and the second policy is set. 5G network policy function as a Policy Function entity; a handover method and a business network 4G and 5G the PCRF Policy Function entity independent of the network deployment, embodiments of the present invention is disclosed comprising:

1a、终端将邻居小区信号测量结果上报给5G接入网设备NG RAN,NG RAN决定将所述终端从5G切换到4G。1a. The terminal reports the neighbor cell signal measurement result to the 5G access network device NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.

S4b01,所述NG RAN实体向所述CP Function实体发送切换要求消息(例如:Handover Required)。S4b01, the NG RAN entity sends a handover request message (for example, Handover Required) to the CP Function entity.

S4b02,所述CP Function实体接收所述切换要求消息之后,向所述MME发送第一切换请求(例如:Forward Relocation Request)。S4b02: After receiving the handover request message, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.

其中,所述第一切换请求携带有:第一互联网协议IP地址和UP Function1实体的地址,所述第一IP地址和所述UP Function1实体的地址用于第一接入点名称APN的建立过程;The first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN ;

此外,所述第一切换请求还可以携带有:所述终端的第二互联网协议IP地址和UP Function2实体的地址,所述第二IP地址和所述UP Function2实体的地址用于第二接入点名称APN的建立过程。 In addition, the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.

进一步地,所述第一切换请求还可以携带有以下至少一种:Further, the first handover request may further carry at least one of the following:

所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文、所述终端的在第一制式网络的终端网络能力信息;An international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network ;

其中,所述终端网络能力信息可通过如下两种途径获取:The terminal network capability information can be obtained by the following two methods:

途径1、所述终端在向CP Function实体发送的附着请求消息Attach Request中携带所述终端网络能力信息。The terminal 1 carries the terminal network capability information in an attach request message Attach Request sent to the CP Function entity.

途径2、CP Function实体向所述终端发送查询请求消息Query Request,所述终端在向CP Function实体发送的查询请求响应消息中携带所述终端网络能力信息。The route 2, the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function entity.

S4b03,所述MME接收所述第一切换请求后,为所述终端在所述4G网络中发起第一接入点名称APN的建立过程。S4b03, after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.

S4b04,所述MME为所述终端在所述4G网络中发起第二接入点APN的建立过程。S4b04, the MME is a process for the terminal to initiate a second access point APN in the 4G network.

S4b05,所述MME检测到所述第一APN、所述第二APN建立完成,向eNB发送第二切换请求(例如:Handover Request)。S4b05, the MME detects that the first APN and the second APN are established, and sends a second handover request (for example, a Handover Request) to the eNB.

S4b06,所述eNB接收所述第二切换请求后,向所述MME发送第二切换请求响应(例如:Handover Request Acknowledge)。S4b06: After receiving the second handover request, the eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.

S4b07,所述MME接收所述第二切换请求响应后,向所述CP Function实体发送第一切换请求响应(例如:Forward Relocation Response)。S4b07: After receiving the second handover request response, the MME sends a first handover request response (for example, Forward Relocation Response) to the CP Function entity.

其中,所述第一切换请求响应携带有以下至少一种:The first handover request response carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S4b08,所述CP Function实体接收所述第一切换请求响应后,向所述NG RAN实体发送切换要求响应消息(例如:Handover Required Response)。S4b08, after receiving the first handover request response, the CP Function entity sends a handover request response message (for example, Handover Required Response) to the NG RAN entity.

其中,所述切换要求响应消息携带有以下至少一种:The handover request response message carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S4b09,所述NG RAN接收所述切换要求响应消息后,向所述终端发送切换命令(例如:Handover Command)。 S4b09, after receiving the handover request response message, the NG RAN sends a handover command (for example, a Handover Command) to the terminal.

其中,所述切换命令携带有以下至少一种:The switching command carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S4b10,所述终端向所述eNB发送切换完成消息(例如:Handover Complete)。S4b10: The terminal sends a handover complete message (for example, Handover Complete) to the eNB.

S4b11,所述eNB实体接收到所述切换完成消息后,向所述MME实体发送切换到4G网络完成消息(例如:Handover to E-UTRAN Complete)。S4b11: After receiving the handover complete message, the eNB entity sends a handover to a 4G network completion message (for example, Handover to E-UTRAN Complete) to the MME entity.

S4b12,所述MME实体收到所述切换到4G网络完成消息后,向所述CP Function实体发送切换完成通知消息(例如:Forward Relocation Complete Notification)。S4b12: After receiving the handover to the 4G network completion message, the MME entity sends a handover completion notification message (for example, Forward Relocation Complete Notification) to the CP Function entity.

S4b13,所述CP Function实体接收到所述切换完成通知消息后,向所述MME实体发送切换完成确认消息(例如:Forward Relocation Complete Acknowledge)。S4b13: After receiving the handover completion notification message, the CP Function entity sends a handover complete acknowledgement message (for example, Forward Relocation Complete Acknowledge) to the MME entity.

S4b14,所述CP Function实体发送所述切换完成确认消息后,向所述Policy Function实体发送第九通知消息(例如:Notify9)。S4b14: After sending the handover complete confirmation message, the CP Function entity sends a ninth notification message (for example, Notify9) to the Policy Function entity.

其中,所述第九通知消息用于通知所述Policy Function实体如下信息:所述终端从所述5G网络切换到所述4G网络。The ninth notification message is used to notify the Policy Function entity that the terminal switches from the 5G network to the 4G network.

可选地,所述CP Function实体如果与所述PGW-C实体合一部署,也就是说,所述CP Function拥有PGW-C的功能,步骤S4b02中所述第一切换请求可以不携带所述第一IP地址和UP Function1实体的地址,或者不携带所述第二IP地址和UP Function2实体的地址,而是直接携带所述CP Function的地址,其中所述CP Function的地址用于在步骤S4b03的所述第一APN的建立过程中、步骤S4b04的所述第二APN的建立过程中寻址所述CP Function实体,在这种情况下,所述CP Function实体发送所述切换完成确认消息后,向所述Policy Function实体发送所述第九通知消息Notify9。Optionally, if the CP Function entity is deployed in the same manner as the PGW-C entity, that is, the CP Function has the function of the PGW-C, the first handover request in the step S4b02 may not carry the The first IP address and the address of the UP Function 1 entity, or the address of the second IP address and the UP Function 2 entity, but the address of the CP Function is directly carried, wherein the address of the CP Function is used in step S4b03 Addressing the CP Function entity during the establishment of the second APN in step S4b04 in the process of establishing the first APN, in which case the CP Function entity sends the handover completion acknowledgement message Sending the ninth notification message Notify9 to the Policy Function entity.

S4b15,所述Policy Function实体接收所述第九通知消息后,向所述AF设备发送第十通知消息(例如:Notify10)。S4b15: After receiving the ninth notification message, the Policy Function entity sends a tenth notification message (for example, Notify10) to the AF device.

其中,所述第十通知消息用于通知所述AF设备如下信息:所述终端从所述5G网络切换到所述4G网络。 The tenth notification message is used to notify the AF device that the terminal switches from the 5G network to the 4G network.

S4b16,AF设备接收所述第十通知消息后,发起第二承载的创建过程。S4b16: After receiving the tenth notification message, the AF device initiates a process of creating a second bearer.

所述第二承载的创建过程为现网流程,不再赘述。The process of creating the second bearer is a live network process, and details are not described herein.

如图4c所示,假设第一制式网络为4G网络、第二制式网络为5G网络,第一核心网设备为4G网络的移动性管理实体MME,第二核心网设备为5G网络的控制面功能CP Function实体,第三核心网设备为5G网络的第一用户面控制功能UP Function 1实体,第四核心网设备为5G网络的第二用户面控制功能UP Function 2实体,第一接入网设备为4G网络的演进型基站eNB,第二接入网设备为5G网络的下一代无线接入网NG RAN实体,第一网关为4G网络的服务网关SGW,第二网关为4G网络的PDN网关PGW,另外,在第三核心网设备以及第四核心网设备中可能包含服务网关用户面的功能,因此图中分别标识为UP Function1&PGW-U以及UP Function2&PGW-U,为方便起见,流程描述中,第三核心网设备表示UP Function1,第四核心网设备表示UP Function2,第一策略设备为4G网络的策略与计费规则功能PCRF实体,第二策略设备为5G网络的策略功能Policy Function实体;且4G网络中的PCRF和5G网络中的Policy Function实体独立部署,本发明实施例所公开的业务切换方法包括:As shown in FIG. 4c, it is assumed that the first-standard network is a 4G network, the second-standard network is a 5G network, the first core network device is a mobility management entity MME of the 4G network, and the second core network device is a control plane function of the 5G network. The CP function entity, the third core network device is a first user plane control function UP Function 1 entity of the 5G network, and the fourth core network device is a second user plane control function UP Function 2 entity of the 5G network, the first access network device The evolved base station eNB of the 4G network, the second access network device is the next-generation radio access network NG RAN entity of the 5G network, the first gateway is the serving gateway SGW of the 4G network, and the second gateway is the PDN gateway PGW of the 4G network In addition, the function of the service gateway user plane may be included in the third core network device and the fourth core network device, so the figure is identified as UP Function1 & PGW-U and UP Function 2 & PGW-U respectively. For convenience, the process description, The third core network device represents UP Function1, the fourth core network device represents UP Function2, the first policy device is a 4G network policy and charging rule function PCRF entity, and the second policy is set. 5G network policy function as a Policy Function entity; a handover method and a business network 4G and 5G the PCRF Policy Function entity independent of the network deployment, embodiments of the present invention is disclosed comprising:

1a、终端将邻居小区信号测量结果上报给5G接入网设备NG RAN,NG RAN决定将所述终端从5G切换到4G。1a. The terminal reports the neighbor cell signal measurement result to the 5G access network device NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.

S4c01,所述NG RAN实体向所述CP Function实体发送切换要求消息(例如:Handover Required)。S4c01, the NG RAN entity sends a handover request message (for example, Handover Required) to the CP Function entity.

S4c02,所述CP Function实体接收所述切换要求消息之后,向所述MME发送第一切换请求(例如:Forward Relocation Request)。S4c02: After receiving the handover request message, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.

其中,所述第一切换请求携带有:第一互联网协议IP地址和UP Function1实体的地址,所述第一IP地址和所述UP Function1实体的地址用于第一接入点名称APN的建立过程。The first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN .

此外,所述第一切换请求还可以携带有:所述终端的第二互联网协议IP地址和UP Function2实体的地址,所述第二IP地址和所述UP Function2实体的地址用于第二接入点名称APN的建立过程。 In addition, the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.

进一步地,所述第一切换请求还可以携带有以下至少一种:Further, the first handover request may further carry at least one of the following:

所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文、所述终端的在第一制式网络的终端网络能力信息。An international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network .

其中,所述终端网络能力信息可通过如下两种途径获取:The terminal network capability information can be obtained by the following two methods:

途径1、所述终端在向CP Function实体发送的附着请求消息Attach Request中携带所述终端网络能力信息。The terminal 1 carries the terminal network capability information in an attach request message Attach Request sent to the CP Function entity.

途径2、CP Function实体向所述终端发送查询请求消息Query Request,所述终端在向CP Function实体发送的查询请求响应消息中携带所述终端网络能力信息。The route 2, the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function entity.

S4c03,所述MME接收所述第一切换请求后,为所述终端在所述4G网络中发起第一接入点名称APN的建立过程。S4c03, after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.

S4c04,所述MME为所述终端在所述4G网络中发起第二接入点APN的建立过程。S4c04, the MME is a process for the terminal to initiate a second access point APN in the 4G network.

S4c05,所述MME检测到所述第一APN、所述第二APN建立完成,向eNB发送第二切换请求(例如:Handover Request)。S4c05, the MME detects that the first APN and the second APN are established, and sends a second handover request (for example, a Handover Request) to the eNB.

S4c06,所述eNB接收所述第二切换请求后,向所述MME发送第二切换请求响应(例如:Handover Request Acknowledge)。S4c06: After receiving the second handover request, the eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.

S4c07,所述MME接收所述第二切换请求响应后,向所述CP Function实体发送第一切换请求响应(例如:Forward Relocation Response)。S4c07, after receiving the second handover request response, the MME sends a first handover request response (for example, Forward Relocation Response) to the CP Function entity.

其中,所述第一切换请求响应携带有以下至少一种:The first handover request response carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S4c08,所述CP Function实体接收所述第一切换请求响应后,向所述NG RAN实体发送切换要求响应消息(例如:Handover Required Response)。S4c08, after receiving the first handover request response, the CP Function entity sends a handover request response message (for example, Handover Required Response) to the NG RAN entity.

其中,所述切换要求响应消息携带有以下至少一种:The handover request response message carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S4c09,所述NG RAN接收所述切换要求响应消息后,向所述终端发送切换命令(例如:Handover Command)。 S4c09, after receiving the handover request response message, the NG RAN sends a handover command (for example, a Handover Command) to the terminal.

其中,所述切换命令携带有以下至少一种:The switching command carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S4c10,所述终端接受所述切换命令后,向所述eNB发送切换完成消息(例如:Handover Complete)。S4c10: After receiving the handover command, the terminal sends a handover complete message (for example, Handover Complete) to the eNB.

S4c11,所述终端接收所述切换完成消息后,向所述AF设备发送第十一通知消息(例如:Notify11),这里所述终端可以通过会话发起协议SIP信令向所述AF设备发送所述第十一通知消息。S4c11, after receiving the handover complete message, the terminal sends an eleventh notification message (for example, Notify11) to the AF device, where the terminal may send the to the AF device by using session initiation protocol SIP signaling. The eleventh notification message.

其中,所述第十一通知消息用于通知所述AF设备如下信息:所述终端从所述5G网络切换到所述4G网络。The eleventh notification message is used to notify the AF device that the terminal switches from the 5G network to the 4G network.

S4c12,AF设备接收所述第十一通知消息后,发起第二承载的创建过程;S4c12: After receiving the eleventh notification message, the AF device initiates a process of creating a second bearer.

所述第二承载的创建过程为现网流程,不再赘述。The process of creating the second bearer is a live network process, and details are not described herein.

如图4d所示,假设第一制式网络为4G网络、第二制式网络为5G网络,第一核心网设备为4G网络的移动性管理实体MME,第二核心网设备为5G网络的控制面功能CP Function实体,第三核心网设备为5G网络的第一用户面控制功能UP Function 1实体,第四核心网设备为5G网络的第二用户面控制功能UP Function 2实体,第一接入网设备为4G网络的演进型基站eNB,第二接入网设备为5G网络的下一代无线接入网NG RAN实体,第一网关为4G网络的服务网关SGW,第二网关为4G网络的PDN网关PGW,另外,在第三核心网设备以及第四核心网设备中可能包含服务网关用户面的功能,因此图中分别标识为UP Function1&PGW-U以及UP Function2&PGW-U,为方便起见,流程描述中,第三核心网设备表示UP Function1,第四核心网设备表示UP Function2,第一策略设备为4G网络的策略与计费规则功能PCRF实体,第二策略设备为5G网络的策略功能Policy Function实体;且4G网络中的PCRF和5G网络中的Policy Function实体独立部署,本发明实施例所公开的业务切换方法包括:As shown in FIG. 4d, it is assumed that the first-standard network is a 4G network, the second-standard network is a 5G network, the first core network device is a mobility management entity MME of the 4G network, and the second core network device is a control plane function of the 5G network. The CP function entity, the third core network device is a first user plane control function UP Function 1 entity of the 5G network, and the fourth core network device is a second user plane control function UP Function 2 entity of the 5G network, the first access network device The evolved base station eNB of the 4G network, the second access network device is the next-generation radio access network NG RAN entity of the 5G network, the first gateway is the serving gateway SGW of the 4G network, and the second gateway is the PDN gateway PGW of the 4G network In addition, the function of the service gateway user plane may be included in the third core network device and the fourth core network device, so the figure is identified as UP Function1 & PGW-U and UP Function 2 & PGW-U respectively. For convenience, the process description, The third core network device represents UP Function1, the fourth core network device represents UP Function2, the first policy device is a 4G network policy and charging rule function PCRF entity, and the second policy is set. 5G network policy function as a Policy Function entity; a handover method and a business network 4G and 5G the PCRF Policy Function entity independent of the network deployment, embodiments of the present invention is disclosed comprising:

1a、终端将邻居小区信号测量结果上报给5G接入网设备NG RAN,NG RAN决定将所述终端从5G切换到4G。1a. The terminal reports the neighbor cell signal measurement result to the 5G access network device NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.

S4d01,所述NG RAN实体向所述CP Function实体发送切换要求消息(例 如:Handover Required)。S4d01, the NG RAN entity sends a handover request message to the CP Function entity (for example) Such as: Handover Required).

S4d02,所述CP Function实体接收所述切换要求消息之后,向所述MME发送第一切换请求(例如:Forward Relocation Request)。S4d02: After receiving the handover request message, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.

其中,所述第一切换请求携带有:第一互联网协议IP地址和UP Function1实体的地址,所述第一IP地址和所述UP Function1实体的地址用于第一接入点名称APN的建立过程;The first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN ;

此外,所述第一切换请求还可以携带有:所述终端的第二互联网协议IP地址和UP Function2实体的地址,所述第二IP地址和所述UP Function2实体的地址用于第二接入点名称APN的建立过程。In addition, the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.

进一步地,所述第一切换请求还可以携带有以下至少一种:Further, the first handover request may further carry at least one of the following:

所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文、所述终端的在第一制式网络的终端网络能力信息;An international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network ;

其中,所述终端网络能力信息可通过如下两种途径获取:The terminal network capability information can be obtained by the following two methods:

途径1、所述终端在向CP Function实体发送的附着请求消息Attach Request中携带所述终端网络能力信息;Route 1, the terminal carries the terminal network capability information in an attach request message Attach Request sent to the CP Function entity;

途径2、CP Function实体向所述终端发送查询请求消息Query Request,所述终端在向CP Function实体发送的查询请求响应消息中携带所述终端网络能力信息。The route 2, the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function entity.

S4d03,所述MME接收所述第一切换请求后,为所述终端在所述4G网络中发起第一接入点名称APN的建立过程。S4d03, after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.

S4d04,所述MME为所述终端在所述4G网络中发起第二接入点APN的建立过程。S4d04, the MME is a process for the terminal to initiate a second access point APN in the 4G network.

S4d05,所述MME检测到所述第一APN、所述第二APN建立完成,向eNB发送第二切换请求(例如:Handover Request)。S4d05, the MME detects that the first APN and the second APN are established, and sends a second handover request (for example, a Handover Request) to the eNB.

S4d06,所述eNB接收所述第二切换请求后,向所述MME发送第二切换请求响应(例如:Handover Request Acknowledge)。S4d06: After receiving the second handover request, the eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.

S4d07,所述MME接收所述第二切换请求响应后,向所述CP Function 实体发送第一切换请求响应Forward Relocation Response。S4d07, after receiving the second handover request response, the MME sends the CP Function to the CP Function. The entity sends a first handover request response Forward Relocation Response.

其中,所述第一切换请求响应携带有以下至少一种:The first handover request response carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S4d08,所述CP Function实体接收所述第一切换请求响应后,向所述NG RAN实体发送切换要求响应消息(例如:Handover Required Response)。S4d08, after receiving the first handover request response, the CP Function entity sends a handover request response message (for example, Handover Required Response) to the NG RAN entity.

其中,所述切换要求响应消息携带有以下至少一种:The handover request response message carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S4d09,所述NG RAN接收所述切换要求响应消息后,向所述终端发送切换命令(例如:Handover Command)。S4d09: After receiving the handover request response message, the NG RAN sends a handover command (for example, a Handover Command) to the terminal.

其中,所述切换命令携带有以下至少一种:The switching command carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S4d10,所述终端接收所述切换命令后,向所述eNB发送切换完成消息(例如:Handover Complete)。S4d10: After receiving the handover command, the terminal sends a handover complete message (for example, Handover Complete) to the eNB.

S4d11,所述终端接收所述切换完成消息后,发起第二承载的创建过程;S4d11, after receiving the handover complete message, the terminal initiates a process of creating a second bearer;

所述第二承载的创建过程为现网流程,不再赘述。The process of creating the second bearer is a live network process, and details are not described herein.

进一步地,请参阅图5a,图5a是图4a中所描述的步骤4a10中AF设备发起第二承载的创建过程的一种可能的实现方式,该针对第二IP地址的第二承载建立过程,与第一IP地址的第一承载的建立过程相同,以下以第二IP地址为例,说明第二承载的建立具体过程,具体包括以下步骤:Further, please refer to FIG. 5a, which is a possible implementation manner of the process of creating a second bearer by the AF device in step 4a10, which is described in FIG. 4a, the second bearer setup process for the second IP address, The process of establishing the first bearer is the same as the process of establishing the first bearer of the first IP address. The following takes the second IP address as an example to describe the specific process of establishing the second bearer, which specifically includes the following steps:

1a,AF设备为终端发起第二承载的建立过程之前,向Policy Function实体发送业务建立请求消息,也就是第一承载的建立请求,所述业务建立请求消息中携带业务要求信息。1a, the AF device sends a service establishment request message to the Policy Function entity, that is, the establishment request of the first bearer, and the service establishment request message carries the service requirement information.

S5a01,所述AF设备在通过上述第一IP地址查找到所述业务要求信息,并通过所述第一IP地址和所述4G网络的无线接入技术类型寻址到所述PCRF之后,向PCRF发送认证授权请求消息(例如:AAR)。S5a01, the AF device searches for the service request information by using the first IP address, and after addressing the PCRF by using the first IP address and the radio access technology type of the 4G network, to the PCRF. Send an authentication authorization request message (for example: AAR).

其中,所述AAR携带有所述第一IP地址。The AAR carries the first IP address.

S5a02,所述PCRF实体接收所述AAR之后,通过所述第一IP地址寻址到PGW-C实体,向所述PGW-C实体发送重新认证请求消息(例如:RAR)。 S5a02, after receiving the AAR, the PCRF entity addresses the PGW-C entity by using the first IP address, and sends a re-authentication request message (for example, RAR) to the PGW-C entity.

S5a03,所述PGW-C实体接收所述RAR后,向所述PCRF实体发送重新认证应答消息(例如:RAA)。S5a03, after receiving the RAR, the PGW-C entity sends a re-authentication response message (for example, RAA) to the PCRF entity.

S5a04,所述PCRF实体接收所述RAA后,向所述AF设备发送认证授权应答消息。S5a04: After receiving the RAA, the PCRF entity sends an authentication authorization response message to the AF device.

S5a05,所述PGW-C实体通过所述SGW实体向所述MME实体发送承载创建请求消息(例如:Create Bearer Request)。S5a05, the PGW-C entity sends a bearer creation request message (for example, Create Bearer Request) to the MME entity by using the SGW entity.

S5a06,所述SGW实体将所述承载创建请求消息转发给所述MME实体;S5a06, the SGW entity forwards the bearer creation request message to the MME entity;

其中,所述MME实体收到所述承载创建请求消息时,需等待切换完成之后,再执行剩余承载创建流程。When the MME entity receives the bearer creation request message, it needs to wait for the handover to complete, and then execute the remaining bearer creation process.

S5a07-S5a09,对应图4中S415-S417步骤,这里不再赘述。S5a07-S5a09 corresponds to the steps S415-S417 in FIG. 4, and details are not described herein again.

S5a10,所述eNB实体接收到所述切换完成消息后,向所述MME实体发送切换到4G网络完成消息(例如:Handover to E-UTRAN Complete)。S5a10: After receiving the handover complete message, the eNB entity sends a handover to a 4G network completion message (for example, Handover to E-UTRAN Complete) to the MME entity.

S5a11,所述MME实体收到来自所述eNB实体的切换到4G网络完成消息Handover to E-UTRAN Complete后,向所述eNB实体发送承载建立请求消息(例如:Bearer Setup Request)。S5a11: After receiving the handover from the eNB entity to the 4G network completion message Handover to E-UTRAN Complete, the MME entity sends a bearer setup request message (for example, Bearer Setup Request) to the eNB entity.

S5a12,所述eNB实体接收到所述承载建立消息后,向所述终端发送无线资源控制连接重置消息(例如:RRC Connection Reconfiguration)。S5a12: After receiving the bearer setup message, the eNB entity sends a radio resource control connection reset message (for example, RRC Connection Reconfiguration) to the terminal.

S5a13,所述终端接收到所述无线资源控制连接重置消息后,向所述eNB实体发送无线资源控制连接重置完成消息(例如:RRC Connection Reconfiguration Complete)。S5a13: After receiving the radio resource control connection reset message, the terminal sends a radio resource control connection reset complete message (for example, RRC Connection Reconfiguration Complete) to the eNB entity.

S5a14,所述eNB接收到所述无线资源控制连接重置完成消息后,向所述MME实体发送承载建立响应消息(例如:Bearer Setup Response消息)。S5a14: After receiving the radio resource control connection reset complete message, the eNB sends a bearer setup response message (for example, a Bearer Setup Response message) to the MME entity.

S5a15,所述MME接收所述承载建立响应消息后,向所述SGW发送承载创建响应消息(例如:Create Bearer Response)Create Bearer Response。S5a15: After receiving the bearer setup response message, the MME sends a bearer creation response message (for example, Create Bearer Response) Create Bearer Response to the SGW.

S5a16,所述SGW向所述PGW-C发送承载创建响应消息。S5a16: The SGW sends a bearer creation response message to the PGW-C.

如图6a所示,假设第一制式网络为4G网络、第二制式网络为5G网络,第一核心网设备为4G网络的移动性管理实体MME,第二核心网设备为5G网络的控制面功能CP Function实体,第三核心网设备为5G网络的第一用户 面控制功能UP Function1实体,第四核心网设备为5G网络的第二用户面控制功能UP Function2实体,第一接入网设备为4G网络的演进型基站eNB,第二接入网设备为5G网络的下一代无线接入网NG RAN实体,第一网关为4G网络的服务网关SGW,第二网关为4G网络的PDN网关PGW,另外,在第三核心网设备以及第四核心网设备中可能包含服务网关用户面的功能,因此图中分别标识为UP Function1&PGW-U以及UP Function2&PGW-U,为方便起见,流程描述中,第三核心网设备表示UP Function1,第四核心网设备表示UP Function2,第一策略设备为4G网络的策略与计费规则功能PCRF实体,第二策略设备为5G网络的策略功能Policy Function实体;且4G网络中的PCRF和5G网络中的Policy Function实体合一部署时,本发明实施例所公开的业务切换方法包括:As shown in FIG. 6a, it is assumed that the first-standard network is a 4G network, and the second-standard network is a 5G network, the first core network device is a mobility management entity MME of the 4G network, and the second core network device is a control plane function of the 5G network. CP Function entity, the third core network device is the first user of the 5G network The second control network function is an UP Function1 entity, the fourth core network device is a second user plane control function UP Function2 entity of the 5G network, the first access network device is an evolved base station eNB of the 4G network, and the second access network device is a 5G network. The next-generation radio access network NG RAN entity, the first gateway is a serving gateway SGW of the 4G network, the second gateway is a PDN gateway PGW of the 4G network, and the third core network device and the fourth core network device may include The function of the service gateway user plane is therefore identified as UP Function1&PGW-U and UP Function2&PGW-U respectively. For convenience, in the process description, the third core network device represents UP Function1, and the fourth core network device represents UP Function2, The policy device is a policy and charging rule function PCRF entity of the 4G network, and the second policy device is a policy function of the 5G network, and the policy function of the 5G network is combined with the policy function of the 5G network. The service switching method disclosed in the embodiment of the invention includes:

1a,终端将邻居小区的信号测量结果上报给NG RAN,所述NG RAN决定将所述终端从5G切换到4G。1a. The terminal reports the signal measurement result of the neighboring cell to the NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.

S6a01,所述NG RAN向所述CP Function实体发送切换要求消息(例如:Handover Required)。S6a01, the NG RAN sends a handover request message (for example, Handover Required) to the CP Function entity.

S6a02,所述CP Function实体接收所述切换要求消息Handover Required后,向所述MME发送第一切换请求(例如:Forward Relocation Request)。S6a02: After receiving the handover request message Handover Required, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.

其中,所述第一切换请求携带有:第一互联网协议IP地址和UP Function1实体的地址,所述第一IP地址和所述UP Function1实体的地址用于第一接入点名称APN的建立过程。The first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used to establish a first access point name APN .

此外,所述第一切换请求还可以携带有:所述终端的第二互联网协议IP地址和UP Function2实体的地址,所述第二IP地址和所述UP Function2实体的地址用于第二接入点名称APN的建立过程。In addition, the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.

进一步地,所述第一切换请求还可以携带有以下至少一种:Further, the first handover request may further carry at least one of the following:

所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文、所述终端的在第一制式网络的终端网络能力信息。An international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network .

其中,所述终端网络能力信息可通过如下两种途径获取: The terminal network capability information can be obtained by the following two methods:

途径1、所述终端在向CP Function实体发送的附着请求消息中携带所述终端网络能力信息Attach Request。Route 1, the terminal carries the terminal network capability information Attach Request in an attach request message sent to the CP Function entity.

途径2、CP Function实体向所述终端发送查询请求消息Query Request,所述终端在向CP Function发送的查询请求响应消息中携带所述终端网络能力信息。The route 2, the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function.

S6a03,所述MME接收所述第一切换请求后,为所述终端在所述4G网络中发起第一接入点名称APN的建立过程。S6a03, after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.

S6a04,所述MME为所述终端在4G网络中发起第二接入点名称APN的建立过程。S6a04, the MME is a process for the terminal to initiate a second access point name APN in a 4G network.

S6a05,所述MME检测到所述第一APN、所述第二APN建立完成,且所述第二承载创建完成后,向eNB发送第二切换请求(例如:Handover Request)。S6a05, the MME detects that the first APN and the second APN are established, and after the second bearer is created, sends a second handover request (for example, Handover Request) to the eNB.

S6a06,所述eNB向所述MME发送第二切换请求响应(例如:Handover Request Acknowledge)。S6a06: The eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.

S6a07,所述MME向所述CP Function实体发送第一切换请求响应(例如:Forward Relocation Response)。S6a07: The MME sends a first handover request response (for example, Forward Relocation Response) to the CP Function entity.

其中,所述第一切换请求响应携带有以下至少一种:The first handover request response carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S6a08,所述CP Function实体收到所述第一切换请求响应后,向所述CP Function实体接收所述第一切换请求响应后,向所述Policy Function实体发送第七通知消息(例如:Notify7)。S6a08, after receiving the first handover request response, the CP Function entity sends a seventh notification message to the Policy Function entity after receiving the first handover request response to the CP Function entity (for example, Notify7). .

其中,所述第七通知消息用于通知所述Policy Function实体如下信息:所述终端从所述5G网络切换到所述4G网络。The seventh notification message is used to notify the Policy Function entity that the terminal switches from the 5G network to the 4G network.

可选地,所述CP Function实体如果与所述PGW-C实体合一部署,也就是说,所述CP Function拥有PGW-C的功能,步骤S6a02中所述第一切换请求可以不携带所述第一IP地址和UP Function1实体的地址,或者不携带所述第二IP地址和UP Function2实体的地址,而是直接携带所述CP Function的地址,其中所述CP Function的地址用于在步骤S6a03的所述第一APN的建立过 程中、步骤S6a04的所述第二APN的建立过程中寻址所述CP Function实体,在这种情况下,所述CP Function实体接收所述第一切换请求响应后,向所述Policy Function实体发送所述第七通知消息Notify7。Optionally, if the CP Function entity is deployed in the same manner as the PGW-C entity, that is, the CP Function has the function of the PGW-C, the first handover request in the step S6a02 may not carry the The address of the first IP address and the UP Function 1 entity, or the address of the second IP address and the UP Function 2 entity, but the address of the CP Function is directly carried, wherein the address of the CP Function is used in step S6a03 The establishment of the first APN Addressing the CP Function entity in the process of establishing the second APN in step S6a04, in which case the CP Function entity receives the first handover request response, and then goes to the Policy Function entity. Sending the seventh notification message Notify7.

S6a09,所述Policy Function实体接收所述第七通知消息后,发起第二承载的创建过程。S6a09: After receiving the seventh notification message, the Policy Function entity initiates a process of creating a second bearer.

其中,S6a09的具体流程请参见图7a。For the specific process of S6a09, please refer to Figure 7a.

如图6b所示,假设第一制式网络为4G网络、第二制式网络为5G网络,第一核心网设备为4G网络的移动性管理实体MME,第二核心网设备为5G网络的控制面功能CP Function实体,第三核心网设备为5G网络的第一用户面控制功能UP Function1实体,第四核心网设备为5G网络的第二用户面控制功能UP Function2实体,第一接入网设备为4G网络的演进型基站eNB,第二接入网设备为5G网络的下一代无线接入网NG RAN实体,第一网关为4G网络的服务网关SGW,第二网关为4G网络的PDN网关PGW,另外,在第三核心网设备以及第四核心网设备中可能包含服务网关用户面的功能,因此图中分别标识为UP Function1&PGW-U以及UP Function2&PGW-U,为方便起见,流程描述中,第三核心网设备表示UP Function1,第四核心网设备表示UP Function2,第一策略设备为4G网络的策略与计费规则功能PCRF实体,第二策略设备为5G网络的策略功能Policy Function实体;且4G网络中的PCRF和5G网络中的Policy Function实体合一部署时,本发明实施例所公开的业务切换方法包括:As shown in FIG. 6b, it is assumed that the first-standard network is a 4G network, the second-standard network is a 5G network, the first core network device is a mobility management entity MME of the 4G network, and the second core network device is a control plane function of the 5G network. The CP function entity, the third core network device is the first user plane control function UP Function1 entity of the 5G network, the fourth core network device is the second user plane control function UP Function2 entity of the 5G network, and the first access network device is 4G The evolved base station eNB of the network, the second access network device is a next-generation radio access network NG RAN entity of the 5G network, the first gateway is a serving gateway SGW of the 4G network, and the second gateway is a PDN gateway PGW of the 4G network, and In the third core network device and the fourth core network device, the function of the service gateway user plane may be included, so the figure is identified as UP Function1&PGW-U and UP Function2&PGW-U respectively. For convenience, the process description, the third core The network device represents UP Function1, the fourth core network device represents UP Function2, the first policy device is a policy and charging rule function PCRF entity of the 4G network, and the second policy device 5G network policy function of the Policy Function entity; and 4G networks Policy PCRF and 5G network entity Function unity when deployed, operational embodiment of the present invention as disclosed in Example handover method comprising:

1a,终端将邻居小区的信号测量结果上报给NG RAN,所述NG RAN决定将所述终端从5G切换到4G。1a. The terminal reports the signal measurement result of the neighboring cell to the NG RAN, and the NG RAN decides to switch the terminal from 5G to 4G.

S6b01,所述NG RAN向所述CP Function实体发送切换要求消息(例如:Handover Required)。S6b01, the NG RAN sends a handover request message (for example, Handover Required) to the CP Function entity.

S6b02,所述CP Function实体接收所述切换要求消息Handover Required后,向所述MME发送第一切换请求(例如:Forward Relocation Request)。S6b02: After receiving the handover request message Handover Required, the CP Function entity sends a first handover request (for example, Forward Relocation Request) to the MME.

其中,所述第一切换请求携带有:第一互联网协议IP地址和UP Function1实体的地址,所述第一IP地址和所述UP Function1实体的地址用于第一接入 点名称APN的建立过程。The first handover request carries: a first Internet Protocol IP address and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used for the first access Point name APN establishment process.

此外,所述第一切换请求还可以携带有:所述终端的第二互联网协议IP地址和UP Function2实体的地址,所述第二IP地址和所述UP Function2实体的地址用于第二接入点名称APN的建立过程。In addition, the first handover request may further carry: a second Internet Protocol IP address of the terminal and an address of an UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used for the second access Point name APN establishment process.

进一步地,所述第一切换请求还可以携带有以下至少一种:Further, the first handover request may further carry at least one of the following:

所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文、所述终端的在第一制式网络的终端网络能力信息。An international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network .

其中,所述终端网络能力信息可通过如下两种途径获取:The terminal network capability information can be obtained by the following two methods:

途径1、所述终端在向CP Function实体发送的附着请求消息中携带所述终端网络能力信息Attach Request。Route 1, the terminal carries the terminal network capability information Attach Request in an attach request message sent to the CP Function entity.

途径2、CP Function实体向所述终端发送查询请求消息Query Request,所述终端在向CP Function发送的查询请求响应消息中携带所述终端网络能力信息。The route 2, the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function.

S6b03,所述MME接收所述第一切换请求后,为所述终端在所述4G网络中发起第一接入点名称APN的建立过程。S6b03, after receiving the first handover request, the MME initiates a process of establishing a first access point name APN in the 4G network.

S6b04,所述MME为所述终端在4G网络中发起第二接入点名称APN的建立过程。S6b04, the MME is a process for the terminal to initiate a second access point name APN in the 4G network.

S6b05,所述MME检测到所述第一APN、所述第二APN建立完成,且所述第二承载创建完成后,向eNB发送第二切换请求(例如:Handover Request)。S6b05, the MME detects that the first APN and the second APN are established, and after the second bearer is created, sends a second handover request (for example, a Handover Request) to the eNB.

S6b06,所述eNB向所述MME发送第二切换请求响应(例如:Handover Request Acknowledge)。S6b06, the eNB sends a second handover request response (for example, Handover Request Acknowledge) to the MME.

S6b07,所述MME向所述CP Function实体发送第一切换请求响应(例如:Forward Relocation Response)。S6b07, the MME sends a first handover request response (for example, Forward Relocation Response) to the CP Function entity.

其中,所述第一切换请求响应携带有以下至少一种:The first handover request response carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S6b08,所述CP Function实体向所述NG RAN实体发送切换要求响应消 息(例如:Handover Required Response)。S6b08, the CP Function entity sends a handover request response to the NG RAN entity. Information (for example: Handover Required Response).

其中,所述切换要求响应消息携带有以下至少一种:The handover request response message carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S6b09,所述NG RAN向所述终端发送切换命令(例如:Handover Command)。S6b09, the NG RAN sends a handover command (for example, a Handover Command) to the terminal.

其中,所述切换命令携带有以下至少一种:The switching command carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S6b10,所述终端向所述eNB发送切换完成消息(例如:Handover Complete)。S6b10: The terminal sends a handover complete message (for example, Handover Complete) to the eNB.

S6b11,所述eNB实体接收到所述切换完成消息后,向所述MME实体发送切换到4G网络完成消息(例如:Handover to E-UTRAN Complete)。S6b11: After receiving the handover complete message, the eNB entity sends a handover to a 4G network completion message (for example, Handover to E-UTRAN Complete) to the MME entity.

S6b12,所述MME实体收到所述切换到4G网络完成消息后,向所述CP Function实体发送切换完成通知消息(例如:Forward Relocation Complete Notification)。S6b12: After receiving the handover to the 4G network completion message, the MME entity sends a handover completion notification message (for example, Forward Relocation Complete Notification) to the CP Function entity.

S6b13,所述CP Function实体接收到所述切换完成通知消息后,向所述MME实体发送切换完成确认消息(例如:Forward Relocation Complete Acknowledge)。S6b13: After receiving the handover completion notification message, the CP Function entity sends a handover complete acknowledgement message (for example, Forward Relocation Complete Acknowledge) to the MME entity.

S6b14,所述CP Function实体发送所述切换完成确认消息后,向所述Policy Function实体发送第九通知消息(例如:Notify9)。S6b14: After sending the handover complete confirmation message, the CP Function entity sends a ninth notification message (for example, Notify9) to the Policy Function entity.

其中,所述第九通知消息用于通知所述Policy Function实体如下信息:所述终端从所述5G网络切换到所述4G网络。The ninth notification message is used to notify the Policy Function entity that the terminal switches from the 5G network to the 4G network.

可选地,所述CP Function实体如果与所述PGW-C实体合一部署,也就是说,所述CP Function拥有PGW-C的功能,步骤S6b02中所述第一切换请求可以不携带所述第一IP地址和UP Function1实体的地址,或者不携带所述第二IP地址和UP Function2实体的地址,而是直接携带所述CP Function的地址,其中所述CP Function的地址用于在步骤S6b03的所述第一APN的建立过程中、步骤S6b04的所述第二APN的建立过程中寻址所述CP Function实体,在这种情况下,所述CP Function实体发送所述切换完成确认消息后,向 所述Policy Function实体发送所述第九通知消息Notify9。Optionally, if the CP Function entity is deployed in the same manner as the PGW-C entity, that is, the CP Function has the function of the PGW-C, the first handover request in the step S6b02 may not carry the The address of the first IP address and the UP Function 1 entity, or the address of the second IP address and the UP Function 2 entity, but the address of the CP Function is directly carried, wherein the address of the CP Function is used in step S6b03 Addressing the CP Function entity during the establishment of the second APN in step S6b04 in the process of establishing the first APN, in which case the CP Function entity sends the handover completion acknowledgement message To The Policy Function entity sends the ninth notification message Notify9.

S6b15,所述Policy Function实体接收所述第九通知消息后,发起第二承载的创建过程。S6b15: After receiving the ninth notification message, the Policy Function entity initiates a process of creating a second bearer.

其中,步骤S6b15中的第二承载的创建过程请参见图7b。For the creation process of the second bearer in step S6b15, please refer to FIG. 7b.

进一步地,请参阅图7a,图7a是图6a中所描述的步骤6a09中专有第二承载的创建过程的一种可能的实现方式,该针对第二IP地址的第二承载建立过程,与第一IP地址的第一承载的建立过程相同,以下以第二IP地址为例,说明第二承载的建立具体过程,具体包括以下步骤:Further, referring to FIG. 7a, FIG. 7a is a possible implementation manner of a process for creating a second dedicated bearer in the step 6a09 described in FIG. 6a, where the second bearer setup process for the second IP address is performed, The process of establishing the first bearer of the first IP address is the same. The following takes the second IP address as an example to describe the specific process of establishing the second bearer. The specific steps include the following steps:

1a,Policy Function实体为终端发起第二承载的建立过程之前,接收AF设备发送的业务建立请求消息,所述业务建立请求消息中携带业务要求信息。1a. The Policy Function entity receives a service establishment request message sent by the AF device, and the service establishment request message carries the service requirement information.

S7a01,Policy Function实体通过所述第一IP地址查找到业务要求信息,并通过所述第一IP地址以及所述4G网络的无线接入技术类型寻址到所述PGW-C,并向PGW-C发送重新认证请求消息(例如:RAR)。S7a01, the Policy Function entity searches for the service requirement information by using the first IP address, and addresses the PGW-C by using the first IP address and the wireless access technology type of the 4G network, and sends the PGW-C to the PGW- C sends a re-authentication request message (for example: RAR).

S7a02,所述PGW-C接收所述RAR后,向PCRF发送重新认证应答消息(例如:RAA)。S7a02: After receiving the RAR, the PGW-C sends a re-authentication response message (for example, RAA) to the PCRF.

S7a03,所述PGW-C向所述SGW发送承载创建请求消息(例如:Create Bearer Request)。S7a03, the PGW-C sends a bearer creation request message (for example, Create Bearer Request) to the SGW.

S7a04,所述SGW将所述承载创建请求消息转发给所述MME。S7a04, the SGW forwards the bearer creation request message to the MME.

其中,所述MME实体收到所述承载创建请求消息时,需等待切换完成之后,再执行剩余承载创建流程。When the MME entity receives the bearer creation request message, it needs to wait for the handover to complete, and then execute the remaining bearer creation process.

S7a05-S7a07,对应图6中S613-S615步骤,这里不再赘述。S7a05-S7a07, corresponding to the steps S613-S615 in Figure 6, will not be described here.

S7a08,所述eNB实体接收到所述切换完成消息后,向所述MME实体发送切换到4G网络完成消息(例如:Handover to E-UTRAN Complete)。S7a08, after receiving the handover complete message, the eNB entity sends a handover to a 4G network completion message (for example, Handover to E-UTRAN Complete) to the MME entity.

S7a09,所述MME实体收到来自所述eNB实体的切换到4G网络完成消息Handover to E-UTRAN Complete后,向所述eNB实体发送承载建立请求消息(例如:Bearer Setup Request)。S7a09: After receiving the handover from the eNB entity to the 4G network completion message Handover to E-UTRAN Complete, the MME entity sends a bearer setup request message (for example, Bearer Setup Request) to the eNB entity.

S7a10,所述eNB实体接收到所述承载建立消息后,向所述终端发送无线资源控制连接重置消息(例如:RRC Connection Reconfiguration)。 S7a10: After receiving the bearer setup message, the eNB entity sends a radio resource control connection reset message (for example, RRC Connection Reconfiguration) to the terminal.

S7a11,所述终端接收到所述无线资源控制连接重置消息后,向所述eNB实体发送无线资源控制连接重置完成消息(例如:RRC Connection Reconfiguration Complete)。S7a11: After receiving the radio resource control connection reset message, the terminal sends a radio resource control connection reset complete message (for example, RRC Connection Reconfiguration Complete) to the eNB entity.

S7a12,所述eNB接收到所述无线资源控制连接重置完成消息后,向所述MME实体发送承载建立响应消息消息(例如:Bearer Setup Response)。S7a12: After receiving the radio resource control connection reset complete message, the eNB sends a bearer setup response message message (for example, Bearer Setup Response) to the MME entity.

S7a13,所述MME接收所述承载建立响应消息后,向所述SGW发送承载创建响应消息(例如:Create Bearer Response)。S7a13: After receiving the bearer setup response message, the MME sends a bearer creation response message (for example, Create Bearer Response) to the SGW.

S7a14,所述SGW向所述PGW-C发送承载创建响应消息。S7a14: The SGW sends a bearer creation response message to the PGW-C.

进一步地,请参阅图7b,图7b是图6b中所描述的步骤6b15专有第二承载的创建过程的一种可能的实现方式,该针对第二IP地址的第二承载建立过程,与第一IP地址的第一承载的建立过程相同,以下以第二IP地址为例,说明第二承载的建立具体过程,具体包括以下步骤:Further, referring to FIG. 7b, FIG. 7b is a possible implementation manner of the process of creating a second dedicated bearer of the step 6b15 described in FIG. 6b, the second bearer establishment process for the second IP address, and the The process of establishing the first bearer of an IP address is the same. The following takes the second IP address as an example to describe the specific process of establishing the second bearer. The specific steps include the following steps:

1a,Policy Function实体为终端发起第二承载的建立过程之前,接收AF设备发送的业务建立请求消息,所述业务建立请求消息中携带业务要求信息;1a, the Policy Function entity receives a service establishment request message sent by the AF device, and the service establishment request message carries service request information, before the terminal initiates the process of establishing the second bearer;

S7b01,Policy Function实体通过所述第一IP地址查找到业务要求信息,并通过所述第一IP地址以及所述4G网络的无线接入技术类型寻址到所述PGW-C,并向PGW-C发送重新认证请求消息(例如:RAR)。S7b01, the Policy Function entity searches for the service requirement information by using the first IP address, and addresses the PGW-C by using the first IP address and the wireless access technology type of the 4G network, and sends the PGW-C to the PGW- C sends a re-authentication request message (for example: RAR).

S7b02,所述PGW-C接收所述RAR后,向PCRF发送重新认证应答消息(例如RAA:)。S7b02, after receiving the RAR, the PGW-C sends a re-authentication response message (for example, RAA:) to the PCRF.

S7b03,所述PGW-C向所述SGW发送承载创建请求消息(例如:Create Bearer Request)。S7b03, the PGW-C sends a bearer creation request message (for example, Create Bearer Request) to the SGW.

S7b04,所述SGW将所述承载创建请求消息转发给所述MME。S7b04, the SGW forwards the bearer creation request message to the MME.

S7b05,所述MME实体向所述eNB实体发送承载建立请求消息(例如:Bearer Setup Request)。S7b05, the MME entity sends a bearer setup request message (for example, Bearer Setup Request) to the eNB entity.

S7b06,所述eNB实体接收到所述承载建立消息后,向所述终端发送无线资源控制连接重置消息(例如:RRC Connection Reconfiguration)。S7b06: After receiving the bearer setup message, the eNB entity sends a radio resource control connection reset message (for example, RRC Connection Reconfiguration) to the terminal.

S7b07,所述终端接收到所述无线资源控制连接重置消息后,向所述eNB实体发送无线资源控制连接重置完成消息(例如:RRC Connection  Reconfiguration Complete)。S7b07, after receiving the radio resource control connection reset message, the terminal sends a radio resource control connection reset complete message to the eNB entity (for example: RRC Connection Reconfiguration Complete).

S7b08,所述eNB接收到所述无线资源控制连接重置完成消息后,向所述MME实体发送承载建立响应消息消息(例如:Bearer Setup Response)。S7b08, after receiving the RRC connection reset complete message, the eNB sends a bearer setup response message message (for example, Bearer Setup Response) to the MME entity.

S7b09,所述MME接收所述承载建立响应消息后,向所述SGW发送承载创建响应消息(例如:Create Bearer Response)。S7b09: After receiving the bearer setup response message, the MME sends a bearer creation response message (for example, Create Bearer Response) to the SGW.

S7b10,所述SGW向所述PGW-C发送承载创建响应消息。S7b10: The SGW sends a bearer creation response message to the PGW-C.

如图8所示,假设第一制式网络为4G网络、第二制式网络为5G网络,第一核心网设备为4G网络的移动性管理实体MME,第二核心网设备为5G网络的控制面功能CP Function实体,第三核心网设备为5G网络的第一用户面控制功能UP Function 1实体,第四核心网设备为5G网络的第二用户面控制功能UP Function 2实体,第一网关为4G网络的服务网关SGW,第二网关为4G网络的PDN网关PGW,另外,在第三核心网设备以及第四核心网设备中可能包含服务网关用户面的功能,因此图中分别标识为UP Function1&PGW-U以及UP Function2&PGW-U,为方便起见,流程描述中,第三核心网设备表示UP Function1,第四核心网设备表示UP Function2,第一策略设备为4G网络的策略与计费规则功能PCRF实体,第二策略设备可以是5G网络的策略功能Policy Function实体;本发明实施例所公开的业务切换方法包括:As shown in FIG. 8, it is assumed that the first-standard network is a 4G network, and the second-standard network is a 5G network, the first core network device is a mobility management entity MME of the 4G network, and the second core network device is a control plane function of the 5G network. The CP function entity, the third core network device is the first user plane control function UP Function 1 entity of the 5G network, the fourth core network device is the second user plane control function UP Function 2 entity of the 5G network, and the first gateway is the 4G network. The service gateway SGW, the second gateway is the PDN gateway PGW of the 4G network, and the third core network device and the fourth core network device may include the function of the service gateway user plane, so the figure is respectively identified as UP Function1&PGW-U And UP Function2&PGW-U. For convenience, in the process description, the third core network device represents UP Function1, the fourth core network device represents UP Function2, and the first policy device is a 4G network policy and charging rule function PCRF entity, The second policy device may be a policy function of the 5G network, and the service switching method disclosed in the embodiment of the present invention includes:

S801,5G网络中的终端向所述CP Function实体发送附着请求消息Attach Request;S801, the terminal in the 5G network sends an attach request message Attach Request to the CP Function entity;

其中,所述附着请求消息包括所述终端的网络承载能力信息UE network capability。The attach request message includes a network bearer capability information UE network capability of the terminal.

S802,所述CP Function实体接收所述附着请求消息后,向所述MME发送联合附着请求Combined Attach Request;S802. After receiving the attach request message, the CP Function entity sends a joint attach request to the MME.

其中,所述联合附着请求携带有:所述终端的第一互联网协议IP地址和UP Function1实体的地址,所述第一IP地址和所述UP Function1实体的地址用于第一接入点名称APN的建立过程;The joint attach request carries: a first Internet Protocol IP address of the terminal and an address of an UP Function1 entity, where the first IP address and the address of the UP Function1 entity are used for a first access point name APN Establishment process

此外,所述联合附着请求还可以携带:所述终端的第二IP地址和所述UP Function 2实体的地址,所述第二IP地址和所述UP Function 2实体的地址用 于第二接入点名称APN的建立过程;In addition, the joint attach request may further carry: a second IP address of the terminal and an address of the UP Function 2 entity, where the second IP address and the address of the UP Function 2 entity are used. Establishing a second access point name APN;

进一步地,所述联合附着请求还可能携带以下至少一种:Further, the joint attach request may further carry at least one of the following:

所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文、所述终端在第一制式网络的终端网络能力信息;An international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, and terminal network capability information of the terminal in the first standard network;

所述终端网络能力信息可通过如下两种途径获取:The terminal network capability information can be obtained by the following two methods:

途径1、所述终端在向CP Function实体发送的附着请求消息Attach Request中携带终端网络能力信息;Route 1, the terminal carries the terminal network capability information in the attach request message Attach Request sent to the CP Function entity;

途径2、CP Function实体向所述终端发送查询请求消息Query Request,所述终端在向CP Function发送的查询请求响应消息中携带终端网络能力信息。The route 2, the CP Function entity sends a query request message Query Request to the terminal, and the terminal carries the terminal network capability information in the query request response message sent to the CP Function.

S803,所述MME发起第一接入点名称APN的建立过程;S803. The MME initiates a process of establishing a first access point name APN.

S804,所述MME发起第二接入点名称APN的建立过程;S804. The MME initiates a process of establishing a second access point name APN.

S805,所述MME向所述CP Function实体发送联合附着请求响应Combined Attach Response;S805, the MME sends a joint attach request response to the CP Function entity, a Combined Attach Response;

其中,所述联合附着请求响应消息中携带以下至少一种:The joint attach request response message carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

S806,所述CP Function得知所述MME建立第一APN以后,发送通知消息,通知Policy Function:所述MME已经基于所述第一IP地址为所述UE在第一制式网络建立了所述第一APN,可选地,如果所述MME建立了第二APN,所述通知消息中还包括:所述MME已经基于所述第二IP地址为UE在第一制式网络建立了所述第二APN;S806. After the MME establishes that the MME establishes the first APN, it sends a notification message to notify the Policy Function that the MME has established the first UE in the first-standard network based on the first IP address. An APN, optionally, if the MME establishes the second APN, the notification message further includes: the MME has established the second APN in the first-standard network for the UE based on the second IP address. ;

S807,所述CP Function实体接收所述联合附着请求响应后,向所述终端发送附着请求响应Attach Request Response;S807, after receiving the joint attach request response, the CP Function entity sends an attach request response Attach Request Response to the terminal;

其中,所述附着接受消息中携带以下至少一种:The attach accept message carries at least one of the following:

附着接受消息、分组数据网络PDN连接建立接受消息。The attach accept message, the packet data network PDN connection establishment accept message.

与上述图4至图8所示的实施例一致的,请参阅图9,图9是本发明实施例提供的第一APN的建立过程的一种可能的实现方式,如图所示,第一APN 的建立过程包括以下步骤:With reference to the embodiment shown in FIG. 4 to FIG. 8 , please refer to FIG. 9 , which is a possible implementation manner of the process for establishing the first APN according to the embodiment of the present invention. APN The establishment process includes the following steps:

S901,所述MME向用户归属服务器HSS发送位置更新请求Update Location Request消息;S901: The MME sends a location update request Update Location Request message to the user home server HSS.

S902,所述HSS接收所述位置更新请求消息后,向所述MME发送位置更新确认Update Location Response消息;S902. After receiving the location update request message, the HSS sends a location update confirmation Update Location Response message to the MME.

S903,所述MME接收所述位置更新确认消息后,向所述SGW发送第一会话创建请求Create Session Request 1;S903, after receiving the location update confirmation message, the MME sends a first session creation request Create Session Request 1 to the SGW;

其中,所述第一会话创建请求携带有第一IP地址和第二制式网络的第三核心网设备UP Function1的地址;The first session creation request carries the first IP address and the address of the third core network device UP Function1 of the second standard network;

S904,所述SGW接收所述第一会话创建请求后,向所述PGW-C发送第三会话创建请求Create Session Request 3;S904, after receiving the first session creation request, the SGW sends a third session creation request Create Session Request 3 to the PGW-C;

其中,所述第三会话创建请求消息携带第一IP地址和第二制式网络的第三核心网设备UP Function1的地址;The third session creation request message carries the first IP address and the address of the third core network device UP Function1 of the second standard network;

S905,所述PGW-C接收所述第三会话创建请求后,向所述UP Function1&PGW-U发送第一会话建立请求Session Establishment Request1;S905, after receiving the third session creation request, the PGW-C sends a first session establishment request Session Establishment Request1 to the UP Function1 &PGW-U;

其中,所述第一会话建立请求消息携带PGW-C的地址PGW-C Address,还可能携带SGW的地址SGW Address;The first session establishment request message carries the address PGW-C Address of the PGW-C, and may also carry the address SGW Address of the SGW;

S906,所述UP Function 1实体向所述PGW-C发送第一会话建立响应消息;S906. The UP Function 1 entity sends a first session establishment response message to the PGW-C.

S907,所述PGW-C接收所述第一会话建立响应后,向所述PCRF发送第一信用控制请求消息CCR1,请求为所述第一IP地址建立IP连通性接入网会话;S907. After receiving the first session establishment response, the PGW-C sends a first credit control request message CCR1 to the PCRF, requesting to establish an IP connectivity access network session for the first IP address.

S908,所述PCRF接收所述CCR1后,向所述PGW-C发送第一信用控制应答消息CCA1;S908, after receiving the CCR1, the PCRF sends a first credit control response message CCA1 to the PGW-C;

S909,所述PGW-C接收所述第一信用控制应答消息后,向所述SGW发送第三会话创建响应Create Session Response3;S909, after receiving the first credit control response message, the PGW-C sends a third session creation response Create Session Response3 to the SGW;

其中,所述第三会话创建响应包括5G IP1,用于指示终端使用第一IP地址; The third session creation response includes a 5G IP1, and is used to indicate that the terminal uses the first IP address.

S910,所述SGW接收所述第三会话创建响应后,向所述MME发送第一会话创建响应Create Session Response1;S910, after receiving the third session creation response, the SGW sends a first session creation response Create Session Response1 to the MME;

其中,所述第一会话创建响应包括5G IP1,用于指示终端使用第一IP地址。The first session creation response includes a 5G IP1, and is used to instruct the terminal to use the first IP address.

与上述图4至图8所示的实施例一致的,请参阅图10,图10是本发明实施例提供的第二APN的建立过程的一种可能的实现方式,如图所示,第二APN的建立过程包括以下步骤:With reference to the embodiment shown in FIG. 4 to FIG. 8 , please refer to FIG. 10 , which is a possible implementation manner of the process of establishing the second APN according to the embodiment of the present invention. The APN establishment process includes the following steps:

S1001,所述MME向所述SGW发送第二会话创建请求Create Session Request 2;S1001, the MME sends a second session creation request Create Session Request 2 to the SGW;

其中,所述第二会话创建请求消息携带第二IP地址5G IP2和所述UP Function2实体的地址UP Function Address2;The second session creation request message carries a second IP address 5G IP2 and an address UP Function Address2 of the UP Function 2 entity;

S1002,所述SGW接收所述第二会话创建请求后,向所述PGW-C发送第四会话创建请求Create Session Request 4;S1002, after receiving the second session creation request, the SGW sends a fourth session creation request Create Session Request 4 to the PGW-C;

其中,所述第四会话创建请求携带所述第二IP地址和所述UP Function2实体的地址UP Function Address2。The fourth session creation request carries the second IP address and the address UP Function Address2 of the UP Function 2 entity.

S1003,所述PGW-C接收第四会话创建请求后,向所述UP Function2&PGW-U发送第二会话建立请求Session Establishment Request2;S1003, after receiving the fourth session creation request, the PGW-C sends a second session establishment request Session Establishment Request2 to the UP Function2 &PGW-U;

其中,所述第二会话建立请求携带PGW-C的地址PGW-C Address,还可能携带SGW的地址SGW Address。The second session establishment request carries the address PGW-C Address of the PGW-C, and may also carry the address SGW Address of the SGW.

S1004,所述UP Function2实体接收第二会话建立请求后,向所述PGW-C发送第二会话建立响应Session Establishment Rsponse2;S1004, after receiving the second session establishment request, the UP Function 2 entity sends a second session establishment response Session Establishment Rsponse2 to the PGW-C;

S1005,所述PGW-C接收所述第二会话建立响应后,向所述PCRF发送第二信用控制请求消息CCR2,请求为第二IP地址建立IP连通性接入网会话;S1005: After receiving the second session establishment response, the PGW-C sends a second credit control request message CCR2 to the PCRF, requesting to establish an IP connectivity access network session for the second IP address.

S1006,所述PCRF接收第二信用控制请求消息后,向所述PGW-C发送第二信用控制应答消息CCA2;S1006, after receiving the second credit control request message, the PCRF sends a second credit control response message CCA2 to the PGW-C;

S1007,所述PGW-C接收第二信用控制应答消息后,向所述SGW发送第四会话创建响应Create Session Response4;S1007, after receiving the second credit control response message, the PGW-C sends a fourth session creation response Create Session Response4 to the SGW;

其中,所述第四会话创建响应携带5G IP2,所述第四会话创建响应消息 用于指示终端使用第二IP地址The fourth session creation response carries 5G IP2, and the fourth session creation response message Used to instruct the terminal to use the second IP address

S1008,所述SGW接收所述第四会话创建响应后,向所述MME发送第二会话创建响应Create Session Response2;S1008, after receiving the fourth session creation response, the SGW sends a second session creation response Create Session Response2 to the MME;

其中,所述第二会话创建响应携带5G IP2,所述第二会话创建响应消息用于指示终端使用第二IP地址。The second session creation response carries 5G IP2, and the second session creation response message is used to indicate that the terminal uses the second IP address.

上述主要从各个网元之间交互的角度对本发明实施例的方案进行了介绍。可以理解的是,各个网元,例如第一核心网设备、第二核心网设备等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The foregoing describes the solution of the embodiment of the present invention mainly from the perspective of interaction between the network elements. It can be understood that each network element, such as the first core network device, the second core network device, and the like, in order to implement the above functions, includes corresponding hardware structures and/or software modules for performing the respective functions. Those skilled in the art will readily appreciate that the present invention can be implemented in a combination of hardware or hardware and computer software in combination with the elements and algorithm steps of the various examples described in the embodiments disclosed herein. Whether a function is implemented in hardware or computer software to drive hardware depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.

本发明实施例可以根据上述方法示例对第一核心网设备、第一核心网设备等进行功能单元的划分,例如,可以对应各个功能划分各个功能单元,也可以将两个或两个以上的功能集成在一个处理单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。需要说明的是,本发明实施例中对单元的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiments of the present invention may perform functional unit division on the first core network device, the first core network device, and the like according to the foregoing method. For example, each functional unit may be divided according to each function, or two or more functions may be used. Integrated in one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit. It should be noted that the division of the unit in the embodiment of the present invention is schematic, and is only a logical function division, and the actual implementation may have another division manner.

在采用集成的单元的情况下,图11A示出了上述实施例中所涉及的第一核心网设备的一种可能的结构示意图。第一核心网设备1100包括:处理单元1102和通信单元1103。处理单元1102用于对第一核心网设备的动作进行控制管理,例如,处理单元1002用于支持第一核心网设备执行图4中的步骤S403、S404、S407、S408、S412、S414,图5中的步骤S507、S508,图6中的步骤S603、S604、S606、S607、S608、S610、S612,图7中的S705,图8中的步骤S803-S805,图9中的S901、S903,图10中的步骤S1001,图4a中的S4a03、S4a04、S4a05、S4a07,图4b中的步骤S4b03、S4b04、S4b05、S4b07、S4b012, 图4c中的步骤S4c03、S4c04、S4c05、S4c07,图4d中的步骤S4d03、S4d04、S4d05、S4d07,图5a中的步骤S5a07、S5a11、S5a15,图6a中的步骤S6a03、S6a04、S6a05、S6a07,图6b中的步骤S6b03、S6b04、S6b05、S6b07、S6b12,图7a步骤中的S7a05、S7a09、S7a13,图7b步骤中的S7b05、S7b09和/或用于本文所描述的技术的其它过程。通信单元1103用于支持第一核心网设备与其他网络实体的通信,例如与图1中示出的eNB、SGW等之间的通信。第一核心网设备还可以包括存储单元1101,用于存储MME的程序代码和数据。In the case of employing an integrated unit, FIG. 11A shows a possible structural diagram of the first core network device involved in the above embodiment. The first core network device 1100 includes a processing unit 1102 and a communication unit 1103. The processing unit 1102 is configured to control and control the action of the first core network device. For example, the processing unit 1002 is configured to support the first core network device to perform steps S403, S404, S407, S408, S412, and S414 in FIG. 4, FIG. Steps S507, S508, steps S603, S604, S606, S607, S608, S610, S612 in Fig. 6, S705 in Fig. 7, steps S803-S805 in Fig. 8, S901, S903 in Fig. 9, Step S1001 in 10, S4a03, S4a04, S4a05, S4a07 in Fig. 4a, steps S4b03, S4b04, S4b05, S4b07, S4b012 in Fig. 4b, Steps S4c03, S4c04, S4c05, S4c07 in Fig. 4c, steps S4d03, S4d04, S4d05, S4d07 in Fig. 4d, steps S5a07, S5a11, S5a15 in Fig. 5a, steps S6a03, S6a04, S6a05, S6a07 in Fig. 6a, Steps S6b03, S6b04, S6b05, S6b07, S6b12 in Fig. 6b, S7a05, S7a09, S7a13 in the step of Fig. 7a, S7b05, S7b09 in the step of Fig. 7b and/or other processes for the techniques described herein. The communication unit 1103 is for supporting communication between the first core network device and other network entities, such as communication with the eNB, SGW, etc. shown in FIG. The first core network device may further include a storage unit 1101 for storing program codes and data of the MME.

其中,处理单元1102可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元1103可以是通信接口、收发器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口,例如可以包括:MME和SGW之间的接口,MME与eNB之间的接口和/或其他接口。存储单元1101可以是存储器。The processing unit 1102 may be a processor or a controller, and may be, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication unit 1103 may be a communication interface, a transceiver, a transceiver circuit, or the like. The communication interface is a generic name and may include one or more interfaces. For example, the communication interface may include an interface between the MME and the SGW, and an interface between the MME and the eNB. / or other interface. The storage unit 1101 may be a memory.

当处理单元1102为处理器,通信单元1103为通信接口,存储单元1101为存储器时,本发明实施例所涉及的MME可以为图11B所示的MME。When the processing unit 1102 is a processor, the communication unit 1103 is a communication interface, and the storage unit 1101 is a memory, the MME according to the embodiment of the present invention may be the MME shown in FIG. 11B.

参阅图11B所示,该第一核心网设备1110包括:处理器1112、通信接口1113、存储器1111。可选的,第一核心网设备1110还可以包括总线1114。其中,通信接口1113、处理器1112以及存储器1111可以通过总线1114相互连接;总线1114可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。所述总线1114可以分为地址总线、数据总线、控制总线等。为便于表示,图11B中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。 Referring to FIG. 11B, the first core network device 1110 includes a processor 1112, a communication interface 1113, and a memory 1111. Optionally, the first core network device 1110 may further include a bus 1114. The communication interface 1113, the processor 1112, and the memory 1111 may be connected to each other through a bus 1114. The bus 1114 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (abbreviated). EISA) bus and so on. The bus 1114 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in FIG. 11B, but it does not mean that there is only one bus or one type of bus.

上述图11A或图11B所示的第一核心网设备也可以理解为一种用于第一核心网设备的装置,本发明实施例不限定。The first core network device shown in FIG. 11A or FIG. 11B can also be understood as a device for the first core network device, which is not limited in the embodiment of the present invention.

在采用集成的单元的情况下,图12A示出了上述实施例中所涉及的第二核心网设备的一种可能的结构示意图。第二核心网设备1200包括:处理单元1202和通信单元1203。处理单元1202用于对第二核心网设备的动作进行控制管理,例如,处理单元1202用于支持第二核心网设备执行图4中的步骤S402、S405、S409、S415,图6中的步骤S602、S605、S613,图8中的步骤S802、S807,图4a中的步骤S4a02、S4a08,图4b中的步骤S4b02、S4b08、S4b13,图4c中的步骤S4c02、S4c08,图4d中的步骤S4d02、S4d08,图6a中的步骤S6a02、S6a08,图6b中的步骤S6b02、S6b13、S6b14和/或用于本文所描述的技术的其它过程。通信单元1203用于支持第二核心网设备与其他网络实体的通信,例如与图1中示出的NG RAN实体、UP Function实体等之间的通信。第二核心网设备还可以包括存储单元1201,用于存储第二核心网设备的程序代码和数据。In the case of employing an integrated unit, FIG. 12A shows a possible structural diagram of the second core network device involved in the above embodiment. The second core network device 1200 includes a processing unit 1202 and a communication unit 1203. The processing unit 1202 is configured to perform control management on the action of the second core network device. For example, the processing unit 1202 is configured to support the second core network device to perform steps S402, S405, S409, and S415 in FIG. 4, and step S602 in FIG. , S605, S613, steps S802, S807 in FIG. 8, steps S4a02, S4a08 in FIG. 4a, steps S4b02, S4b08, S4b13 in FIG. 4b, steps S4c02, S4c08 in FIG. 4c, step S4d02 in FIG. 4d, S4d08, steps S6a02, S6a08 in Fig. 6a, steps S6b02, S6b13, S6b14 in Fig. 6b and/or other processes for the techniques described herein. The communication unit 1203 is configured to support communication between the second core network device and other network entities, such as communication with the NG RAN entity, the UP Function entity, and the like shown in FIG. The second core network device may further include a storage unit 1201 for storing program codes and data of the second core network device.

其中,处理单元1202可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),专用集成电路(Application-Specific Integrated Circuit,ASIC),现场可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本发明公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信单元1203可以是通信接口、收发器、收发电路等,其中,通信接口是统称,可以包括一个或多个接口,例如可以包括:CP Function实体和NG RAN实体之间的接口,CP Function实体与UP Function实体之间的接口和/或其他接口。存储单元1201可以是存储器。The processing unit 1202 may be a processor or a controller, such as a central processing unit (CPU), a general-purpose processor, a digital signal processor (DSP), and an application-specific integrated circuit (Application-Specific). Integrated Circuit (ASIC), Field Programmable Gate Array (FPGA) or other programmable logic device, transistor logic device, hardware component, or any combination thereof. It is possible to implement or carry out the various illustrative logical blocks, modules and circuits described in connection with the present disclosure. The processor may also be a combination of computing functions, for example, including one or more microprocessor combinations, a combination of a DSP and a microprocessor, and the like. The communication unit 1203 may be a communication interface, a transceiver, a transceiver circuit, etc., wherein the communication interface is a collective name, and may include one or more interfaces, for example, may include: an interface between a CP Function entity and an NG RAN entity, and a CP Function entity and Interfaces and/or other interfaces between UP Function entities. The storage unit 1201 may be a memory.

当处理单元1202为处理器,通信单元1203为通信接口,存储单元1201为存储器时,本发明实施例所涉及的第二核心网设备可以为图12B所示的第二核心网设备。 When the processing unit 1202 is a processor, the communication unit 1203 is a communication interface, and the storage unit 1201 is a memory, the second core network device according to the embodiment of the present invention may be the second core network device shown in FIG. 12B.

参阅图12B所示,该第二核心网设备1210包括:处理器1212、通信接口1213、存储器1211。可选的,第二核心网设备1210还可以包括总线1214。其中,通信接口1213、处理器1212以及存储器1211可以通过总线1214相互连接;总线1214可以是外设部件互连标准(Peripheral Component Interconnect,简称PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,简称EISA)总线等。所述总线1214可以分为地址总线、数据总线、控制总线等。为便于表示,图12B中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。Referring to FIG. 12B, the second core network device 1210 includes a processor 1212, a communication interface 1213, and a memory 1211. Optionally, the second core network device 1210 may further include a bus 1214. The communication interface 1213, the processor 1212, and the memory 1211 may be connected to each other through a bus 1214. The bus 1214 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (abbreviated). EISA) bus and so on. The bus 1214 can be divided into an address bus, a data bus, a control bus, and the like. For ease of representation, only one thick line is shown in Figure 12B, but it does not mean that there is only one bus or one type of bus.

上述图12A或图12B所示的第二核心网设备也可以理解为一种用于CP Function实体的装置,本发明实施例不限定。The second core network device shown in FIG. 12A or FIG. 12B can also be understood as a device for the CP Function entity, which is not limited in the embodiment of the present invention.

此外,本发明实施例也提供如下网元的装置:第一网关、第二网关、第一接入网设备、第二接入网设备、第一策略设备、第二策略设备、应用功能设备、终端、第三核心网设备、第四核心网设备等,这些网元的结构示意图类似于上述第一核心网设备或上述第二核心网设备的结构示意图,本发明实施例不作赘述。In addition, the embodiment of the present invention also provides the following device: a first gateway, a second gateway, a first access network device, a second access network device, a first policy device, a second policy device, and an application function device, The terminal, the third core network device, the fourth core network device, and the like, and the structure of the network element is similar to the structure of the first core network device or the second core network device, which is not described in detail in the embodiment of the present invention.

本发明实施例所描述的方法或者算法的步骤可以以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于随机存取存储器(Random Access Memory,RAM)、闪存、只读存储器(Read Only Memory,ROM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、电可擦可编程只读存储器(Electrically EPROM,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于网关设备或移动性管理网元中。当然,处理器和存储介质也可以作为分立组件存在于网关设备或移动性管理网元中。The steps of the method or algorithm described in the embodiments of the present invention may be implemented in a hardware manner, or may be implemented by a processor executing software instructions. The software instructions may be composed of corresponding software modules, which may be stored in a random access memory (RAM), a flash memory, a read only memory (ROM), an erasable programmable read only memory ( Erasable Programmable ROM (EPROM), electrically erasable programmable read only memory (EEPROM), registers, hard disk, removable hard disk, compact disk read only (CD-ROM) or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor to enable the processor to read information from, and write information to, the storage medium. Of course, the storage medium can also be an integral part of the processor. The processor and the storage medium can be located in an ASIC. Additionally, the ASIC can be located in a gateway device or mobility management network element. Of course, the processor and the storage medium may also exist as discrete components in the gateway device or the mobility management network element.

本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明实 施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art will appreciate that in one or more of the above examples, the present invention The functions described in the embodiments can be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

以上所述的具体实施方式,对本发明实施例的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明实施例的具体实施方式而已,并不用于限定本发明实施例的保护范围,凡在本发明实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明实施例的保护范围之内。 The specific embodiments of the present invention have been described in detail with reference to the embodiments of the embodiments of the present invention. The scope of the present invention is defined by the scope of the present invention. Any modifications, equivalents, improvements, etc., which are included in the embodiments of the present invention, are included in the scope of the present invention.

Claims (38)

一种切换方法,其特征在于,包括:A switching method, comprising: 第一核心网设备从第二核心网设备接收第一切换请求,所述第一切换请求携带第一互联网协议IP地址和第三核心网设备的地址,所述第一IP地址和所述第三核心网设备的地址用于第一接入点名称APN的建立过程,其中,所述第一核心网设备应用于第一制式网络,所述第二核心网设备和所述第三核心网设备应用于第二制式网络,所述第一IP地址为所述第二制式网络为终端分配的IP地址;The first core network device receives a first handover request from the second core network device, where the first handover request carries a first internet protocol IP address and an address of a third core network device, the first IP address and the third The address of the core network device is used to establish a first access point name APN, where the first core network device is applied to the first standard network, and the second core network device and the third core network device are applied. In the second mode network, the first IP address is an IP address allocated by the second standard network to the terminal; 所述第一核心网设备为所述终端在所述第一制式网络中发起所述第一APN的建立过程;The first core network device is configured to initiate the establishment of the first APN in the first standard network by the terminal; 所述第一核心网设备向接入网设备发送第二切换请求,其中,所述接入网设备应用于所述第一制式网络;The first core network device sends a second handover request to the access network device, where the access network device is applied to the first standard network; 所述第一核心网设备从所述接入网设备接收第二切换请求的响应消息;Receiving, by the first core network device, a response message of the second handover request from the access network device; 所述第一核心网设备向所述第二核心网设备发送第一切换请求的响应消息。The first core network device sends a response message of the first handover request to the second core network device. 根据权利要求1所述的方法,其特征在于,所述第一核心网设备为所述终端在所述第一制式网络中发起所述第一APN的建立过程,包括:The method according to claim 1, wherein the first core network device is configured to initiate the establishment of the first APN in the first standard network, and the method includes: 所述第一核心网设备向第一网关发送第一创建会话请求消息,所述第一创建会话请求消息携带所述第一IP地址和所述第三核心网设备的地址;The first core network device sends a first create session request message to the first gateway, where the first create session request message carries the first IP address and an address of the third core network device; 所述第一核心网设备从所述第一网关接收第一创建会话响应消息,所述第一创建会话响应消息用于指示所述终端使用所述第一IP地址。The first core network device receives a first create session response message from the first gateway, where the first create session response message is used to indicate that the terminal uses the first IP address. 根据权利要求1或2所述的方法,其特征在于,所述第一切换请求还携带指示信息,所述指示信息用于指示所述第一核心网设备完成所述第一APN的建立过程之后向所述第二核心网设备发送第一通知消息,所述方法还包括:The method according to claim 1 or 2, wherein the first handover request further carries indication information, where the indication information is used to indicate that the first core network device completes the establishment process of the first APN Sending a first notification message to the second core network device, where the method further includes: 所述第一核心网设备向所述第二核心网设备发送所述第一通知消息,所述第一通知消息用于通知所述第二核心网设备:所述第一核心网设备基于所述第一IP地址为所述终端建立了所述第一APN。 The first core network device sends the first notification message to the second core network device, where the first notification message is used to notify the second core network device: the first core network device is based on the The first IP address establishes the first APN for the terminal. 根据权利要求3中所述的方法,其特征在于,所述第一核心网设备向所述第一接入网设备发送第二切换请求之前,所述方法还包括:The method according to claim 3, wherein before the sending, by the first core network device, the second handover request to the first access network device, the method further includes: 所述第一核心网设备从所述第一网关接收承载创建请求消息;Receiving, by the first core network device, a bearer creation request message from the first gateway; 所述第一核心网设备向所述第一网关发送承载创建响应消息。The first core network device sends a bearer creation response message to the first gateway. 根据权利要求1所述的方法,其特征在于,所述第一核心网设备为所述终端在所述第一制式网络中发起所述第一APN的建立过程之后,所述方法还包括:The method according to claim 1, wherein the first core network device, after the terminal initiates the process of establishing the first APN in the first-standard network, the method further includes: 所述第一核心网设备为所述终端在所述第一制式网络中发起第二APN的建立过程。The first core network device is a process for the terminal to initiate a second APN in the first standard network. 根据权利要求5所述的方法,其特征在于,所述第一切换请求还携带第二IP地址和第四核心网设备的地址,所述第二IP地址和所述第四核心网设备的地址用于所述第二APN的建立过程,其中,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址,所述第四核心网设备应用于所述第二制式网络,所述第一核心网设备为所述终端在所述第一制式网络中发起第二APN的建立过程,包括:The method according to claim 5, wherein the first handover request further carries a second IP address and an address of a fourth core network device, the second IP address and an address of the fourth core network device And a process for establishing the second APN, where the second IP address is an IP address allocated by the second standard network to the terminal, and the fourth core network device is applied to the second standard network. The first core network device is configured to initiate a second APN in the first standard network, where the terminal includes: 所述第一核心网设备向第一网关发送第二创建会话请求消息,所述第二创建会话请求消息携带所述第二IP地址和所述第四核心网设备的地址;The first core network device sends a second create session request message to the first gateway, where the second create session request message carries the second IP address and the address of the fourth core network device; 所述第一核心网设备从所述第一网关接收第二创建会话响应消息,所述第二创建会话响应消息用于指示所述终端使用所述第二IP地址。The first core network device receives a second create session response message from the first gateway, where the second create session response message is used to indicate that the terminal uses the second IP address. 根据权利要求1至6中任一项所述的方法,其特征在于,所述第一切换请求的响应消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。The method according to any one of claims 1 to 6, wherein the response message of the first handover request carries at least one of the following: an attach accept message, a packet data network PDN connection setup accept message or a session management SM Request message. 根据权利要求1至7中任一项所述的方法,其特征在于,所述第一切换请求还携带以下至少一项:所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文或所述终端在所述第一制式网络的终端网络能力信息。The method according to any one of claims 1 to 7, wherein the first handover request further carries at least one of: an international mobile subscriber identity IMSI of the terminal, a security context of the terminal, a mobility management context of the terminal, a session management class context of the terminal, or terminal network capability information of the terminal in the first standard network. 根据权利要求1或3或5或7或8所述的方法,其特征在于,所述第一核心网设备向所述第二核心网设备发送第一切换请求的响应消息之后,所述 方法还包括:The method according to claim 1 or 3 or 5 or 7 or 8, wherein after the first core network device sends a response message of the first handover request to the second core network device, The method also includes: 所述第一核心网设备从第一网关接收承载创建请求消息;Receiving, by the first core network device, a bearer creation request message from the first gateway; 所述第一核心网设备从所述接入网设备接收切换到第一制式网络的完成消息;Receiving, by the first core network device, a completion message of switching to the first standard network from the access network device; 所述第一核心网设备向所述接入网设备发送承载建立请求消息;Transmitting, by the first core network device, a bearer setup request message to the access network device; 所述第一核心网设备从所述接入网设备接收承载建立响应消息;Receiving, by the first core network device, a bearer setup response message from the access network device; 所述第一核心网设备向所述第一网关发送承载创建响应消息。The first core network device sends a bearer creation response message to the first gateway. 根据权利要求9所述的方法,其特征在于,所述第一核心网设备从所述接入网设备接收切换到第一制式网络的完成消息之后,所述方法还包括:The method according to claim 9, wherein after the first core network device receives the completion message of switching to the first-standard network from the access network device, the method further includes: 所述第一核心网设备向所述第二核心网设备发送切换完成通知消息;Transmitting, by the first core network device, a handover completion notification message to the second core network device; 所述第一核心网设备从所述第二核心网设备接收切换完成确认消息。The first core network device receives a handover complete confirmation message from the second core network device. 一种切换方法,其特征在于,包括:A switching method, comprising: 第二核心网设备从接入网设备接收切换要求消息,其中,所述第二核心网设备和所述接入网设备应用于第二制式网络;The second core network device receives a handover request message from the access network device, where the second core network device and the access network device are applied to the second standard network; 所述第二核心网设备向第一核心网设备发送第一切换请求,所述第一切换请求携带第一互联网协议IP地址和第三核心网设备的地址,所述第一IP地址和所述第三核心网设备的地址用于终端在第一制式网络的第一接入点名称APN的建立过程,其中,所述第一核心网设备应用于所述第一制式网络,所述第三核心网设备应用于所述第二制式网络,所述第一IP地址为所述第二制式网络为所述终端分配的IP地址;Transmitting, by the second core network device, a first handover request to the first core network device, where the first handover request carries a first internet protocol IP address and an address of a third core network device, the first IP address and the The address of the third core network device is used to establish a first access point name APN of the terminal in the first standard network, where the first core network device is applied to the first standard network, and the third core The network device is applied to the second standard network, and the first IP address is an IP address allocated by the second standard network to the terminal; 所述第二核心网设备从所述第一核心网设备接收第一切换请求的响应消息;Receiving, by the second core network device, a response message of the first handover request from the first core network device; 所述第二核心网设备向所述接入网设备发送切换要求响应消息。The second core network device sends a handover request response message to the access network device. 根据权利要求11所述的方法,其特征在于,所述第一切换请求还携带指示信息,所述指示信息用于指示所述第一核心网设备完成所述第一APN的建立过程之后向所述第二核心网设备发送第一通知消息,所述第二核心网设备向第一核心网设备发送第一切换请求之后,所述方法还包括:The method according to claim 11, wherein the first handover request further carries indication information, where the indication information is used to indicate that the first core network device completes the establishment process of the first APN The second core network device sends a first notification message, and after the second core network device sends the first handover request to the first core network device, the method further includes: 所述第二核心网设备从所述第一核心网设备接收所述第一通知消息,所 述第一通知消息用于通知所述第二核心网设备:所述第一核心网设备基于所述第一IP地址为所述终端建立了所述第一APN。Receiving, by the second core network device, the first notification message from the first core network device, where The first notification message is used to notify the second core network device that the first core network device establishes the first APN for the terminal based on the first IP address. 根据权利要求12所述的方法,其特征在于,所述第二核心网设备从所述第一核心网设备接收所述第一通知消息之后,所述方法还包括:The method according to claim 12, wherein after the second core network device receives the first notification message from the first core network device, the method further includes: 所述第二核心网设备向第二策略设备发送第三通知消息,所述第三通知消息用于通知所述第二策略设备:所述第一核心网设备基于所述第一IP地址为所述终端建立了所述第一APN,其中,所述第二策略设备应用于所述第二制式网络。The second core network device sends a third notification message to the second policy device, where the third notification message is used to notify the second policy device: the first core network device is based on the first IP address The terminal establishes the first APN, where the second policy device is applied to the second standard network. 根据权利要求11或12所述的方法,其特征在于,所述第一切换请求还携带第二IP地址和第四核心网设备的地址,所述第二IP地址和所述第四核心网设备的地址用于所述终端在所述第一制式网络的第二APN的建立过程,其中,所述第四核心网设备应用于所述第二制式网络,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址。The method according to claim 11 or 12, wherein the first handover request further carries a second IP address and an address of a fourth core network device, the second IP address and the fourth core network device The address is used in the process of establishing the second APN of the terminal in the first standard network, where the fourth core network device is applied to the second standard network, and the second IP address is the The IP address assigned by the two-standard network to the terminal. 根据权利要求14所述的方法,其特征在于,所述第二核心网设备向第一核心网设备发送第一切换请求之后,所述方法还包括:The method according to claim 14, wherein after the second core network device sends the first handover request to the first core network device, the method further includes: 所述第二核心网设备从所述第一核心网设备接收第二通知消息,所述第二通知消息用于通知所述第二核心网设备:所述第一核心网设备基于所述第二IP地址为所述终端建立了所述第二APN。The second core network device receives a second notification message from the first core network device, where the second notification message is used to notify the second core network device: the first core network device is based on the second The IP address establishes the second APN for the terminal. 根据权利要求11至15中任一项所述的方法,其特征在于,所述第一切换请求还携带以下至少一项:所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文或所述终端在第一制式网络的终端网络能力信息。The method according to any one of claims 11 to 15, wherein the first handover request further carries at least one of: an international mobile subscriber identity IMSI of the terminal, a security context of the terminal, The mobility management context of the terminal, the session management class context of the terminal, or the terminal network capability information of the terminal in the first standard network. 根据权利要求11至16中任一项所述的方法,其特征在于,所述第一切换请求的响应消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。The method according to any one of claims 11 to 16, wherein the response message of the first handover request carries at least one of the following: an attach accept message, a packet data network PDN connection establishment accept message or a session management SM Request message. 根据权利要求11至17任一项所述的方法,所述第二核心网设备从所述第一核心网设备接收第一切换请求的响应消息之后,所述方法还包括:The method according to any one of claims 11 to 17, after the second core network device receives the response message of the first handover request from the first core network device, the method further includes: 所述第二核心网设备向所述第二策略设备发送第七通知消息,所述第七 通知消息用于通知所述第二策略设备:所述终端从所述第二制式网络切换到所述第一制式网络。Sending, by the second core network device, a seventh notification message to the second policy device, where the seventh The notification message is used to notify the second policy device that the terminal switches from the second standard network to the first standard network. 根据权利要求11至17所述的方法,所述第二核心网设备从所述第一核心网设备接收第一切换请求的响应消息之后,所述方法还包括:The method according to any one of claims 11 to 17, after the second core network device receives the response message of the first handover request from the first core network device, the method further includes: 所述第二核心网设备向所述第一核心网设备发送切换完成确认消息;Sending, by the second core network device, a handover complete confirmation message to the first core network device; 所述第二核心网设备向所述第二策略设备发送第九通知消息,所述第九通知消息用于通知所述第二策略设备:所述终端从所述第二制式网络切换到所述第一制式网络。The second core network device sends a ninth notification message to the second policy device, where the ninth notification message is used to notify the second policy device: the terminal switches from the second standard network to the The first system network. 一种第一核心网设备,其特征在于,包括:处理单元和通信单元,A first core network device, comprising: a processing unit and a communication unit, 所述处理单元用于通过所述通信单元从第二核心网设备接收第一切换请求,所述第一切换请求携带第一互联网协议IP地址和第三核心网设备的地址,所述第一IP地址和所述第三核心网设备的地址用于第一接入点名称APN的建立过程,其中,所述第一核心网设备应用于第一制式网络,所述第二核心网设备和所述第三核心网设备应用于第二制式网络,所述第一IP地址为所述第二制式网络为终端分配的IP地址;以及用于为所述终端在所述第一制式网络中发起所述第一APN的建立过程;以及用于通过所述通信单元向接入网设备发送第二切换请求,其中,所述接入网设备应用于所述第一制式网络;以及用于通过所述通信单元从所述接入网设备接收第二切换请求的响应消息;以及用于通过所述通信单元向所述第二核心网设备发送第一切换请求的响应消息。The processing unit is configured to receive, by the communication unit, a first handover request from a second core network device, where the first handover request carries a first internet protocol IP address and an address of a third core network device, the first IP The address and the address of the third core network device are used in a process of establishing a first access point name APN, wherein the first core network device is applied to a first standard network, the second core network device, and the The third core network device is applied to the second standard network, where the first IP address is an IP address allocated by the second standard network to the terminal; and is used to initiate the terminal in the first standard network for the terminal a process of establishing a first APN; and for transmitting, by the communication unit, a second handover request to the access network device, wherein the access network device is applied to the first standard network; and for communicating by the communication Receiving, by the unit, a response message of the second handover request from the access network device; and a response message for transmitting, by the communication unit, the first handover request to the second core network device. 根据权利要求20所述的第一核心网设备,其特征在于,所述处理单元具体用于:通过所述通信单元向第一网关发送第一创建会话请求消息,所述第一创建会话请求消息携带所述第一IP地址和所述第三核心网设备的地址;以及通过所述通信单元从所述第一网关接收第一创建会话响应消息,所述第一创建会话响应消息用于指示所述终端使用所述第一IP地址。The first core network device according to claim 20, wherein the processing unit is configured to: send, by the communication unit, a first create session request message to the first gateway, where the first create session request message is Carrying the first IP address and an address of the third core network device; and receiving, by the communication unit, a first create session response message from the first gateway, where the first create session response message is used to indicate The terminal uses the first IP address. 根据权利要求20或21所述的第一核心网设备,其特征在于,所述第一切换请求还携带指示信息,所述指示信息用于指示所述第一核心网设备完成所述第一APN的建立过程之后向所述第二核心网设备发送第一通知消息,所述处理单元还用于通过所述通信单元向所述第二核心网设备发送所述第一 通知消息,所述第一通知消息用于通知所述第二核心网设备:所述第一核心网设备基于所述第一IP地址为所述终端建立了所述第一APN。The first core network device according to claim 20 or 21, wherein the first handover request further carries indication information, where the indication information is used to indicate that the first core network device completes the first APN Sending a first notification message to the second core network device, the processing unit is further configured to send the first to the second core network device by using the communication unit a notification message, the first notification message is used to notify the second core network device that the first core network device establishes the first APN for the terminal based on the first IP address. 根据权利要求22所述的第一核心网设备,其特征在于,所述处理单元还用于通过所述通信单元从所述第一网关接收承载创建请求消息;以及用于通过所述通信单元向所述第一网关发送承载创建响应消息。The first core network device according to claim 22, wherein the processing unit is further configured to receive, by the communication unit, a bearer creation request message from the first gateway; and to use the communication unit to The first gateway sends a bearer creation response message. 根据权利要求20所述的第一核心网设备,其特征在于,所述处理单元还用于为所述终端在所述第一制式网络中发起第二APN的建立过程。The first core network device according to claim 20, wherein the processing unit is further configured to initiate a process of establishing a second APN in the first standard network for the terminal. 根据权利要求24所述的第一核心网设备,其特征在于,所述第一切换请求还携带第二IP地址和第四核心网设备的地址,所述第二IP地址和所述第四核心网设备的地址用于所述第二APN的建立过程,其中,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址,所述第四核心网设备应用于所述第二制式网络,所述处理单元具体用于:通过所述通信单元向第一网关发送第二创建会话请求消息,所述第二创建会话请求消息携带所述第二IP地址和所述第四核心网设备的地址;以及通过所述通信单元从所述第一网关接收第二创建会话响应消息,所述第二创建会话响应消息用于指示所述终端使用所述第二IP地址。The first core network device according to claim 24, wherein the first handover request further carries a second IP address and an address of a fourth core network device, the second IP address and the fourth core The address of the network device is used in the process of establishing the second APN, where the second IP address is an IP address allocated by the second standard network to the terminal, and the fourth core network device is applied to the a second standard network, the processing unit is configured to: send, by the communication unit, a second create session request message to the first gateway, where the second create session request message carries the second IP address and the fourth An address of the core network device; and receiving, by the communication unit, a second create session response message from the first gateway, the second create session response message being used to instruct the terminal to use the second IP address. 根据权利要求20至25中任一项所述的第一核心网设备,其特征在于,所述第一切换请求的响应消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。The first core network device according to any one of claims 20 to 25, wherein the response message of the first handover request carries at least one of the following: an attach accept message, a packet data network PDN connection establishment accept message Or session management SM request message. 根据权利要求20至26中任一项所述的第一核心网设备,其特征在于,所述第一切换请求还携带以下至少一项:所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文或所述终端在所述第一制式网络的终端网络能力信息。The first core network device according to any one of claims 20 to 26, wherein the first handover request further carries at least one of: an international mobile subscriber identity IMSI of the terminal, the terminal Security context, mobility management context of the terminal, session management class context of the terminal, or terminal network capability information of the terminal in the first system network. 根据权利要求20或22或24或26或27所述的第一核心网设备,其特征在于,所述处理单元通过所述通信单元向所述第二核心网设备发送第一切换请求的响应消息之后,还用于通过所述通信单元从第一网关接收承载创建请求消息;以及用于通过所述通信单元从所述接入网设备接收切换到第一制式网络的完成消息;以及用于通过所述通信单元向所述接入网设备发送承载建立请 求消息;以及用于通过所述通信单元从所述接入网设备接收承载建立响应消息;以及用于通过所述通信单元向所述第一网关发送承载创建响应消息。The first core network device according to claim 20 or 22 or 24 or 26 or 27, wherein the processing unit sends a response message of the first handover request to the second core network device by using the communication unit And thereafter, receiving, by the communication unit, a bearer creation request message from the first gateway; and receiving, by the communication unit, a completion message of switching from the access network device to the first-standard network; and Sending, by the communication unit, a bearer setup to the access network device And a message for receiving a bearer setup response message from the access network device by the communication unit; and for transmitting, by the communication unit, a bearer creation response message to the first gateway. 根据权利要求28所述的第一核心网设备,其特征在于,所述处理单元通过所述通信单元从所述接入网设备接收切换到第一制式网络的完成消息之后,还用于通过所述通信单元向所述第二核心网设备发送切换完成通知消息;以及用于通过所述通信单元从所述第二核心网设备接收切换完成确认消息。The first core network device according to claim 28, wherein the processing unit receives the completion message for switching to the first-standard network from the access network device by using the communication unit, and is further used for Transmitting, by the communication unit, a handover complete notification message to the second core network device; and receiving, by the communication unit, a handover complete confirmation message from the second core network device. 一种第二核心网设备,其特征在于,包括:处理单元和通信单元,A second core network device, comprising: a processing unit and a communication unit, 所述处理单元用于通过所述通信单元从接入网设备接收切换要求消息,其中,所述第二核心网设备和所述接入网设备应用于第二制式网络;以及用于通过所述通信单元向第一核心网设备发送第一切换请求,所述第一切换请求携带第一互联网协议IP地址和第三核心网设备的地址,所述第一IP地址和所述第三核心网设备的地址用于终端在第一制式网络的第一接入点名称APN的建立过程,其中,所述第一核心网设备应用于所述第一制式网络,所述第三核心网设备应用于所述第二制式网络,所述第一IP地址为所述第二制式网络为所述终端分配的IP地址;以及用于通过所述通信单元从所述第一核心网设备接收第一切换请求的响应消息;以及用于通过所述通信单元向所述接入网设备发送切换要求响应消息。The processing unit is configured to receive, by the communication unit, a handover request message from an access network device, where the second core network device and the access network device are applied to a second system network; The communication unit sends a first handover request to the first core network device, where the first handover request carries a first internet protocol IP address and an address of a third core network device, the first IP address and the third core network device The address is used in the process of establishing a first access point name APN of the terminal in the first standard network, where the first core network device is applied to the first standard network, and the third core network device is applied to the a second standard network, where the first IP address is an IP address assigned by the second standard network to the terminal; and a first handover request is received by the communication unit from the first core network device And a response message to transmit a handover request response message to the access network device by the communication unit. 根据权利要求30所述的第二核心网设备,其特征在于,所述第一切换请求还携带指示信息,所述指示信息用于指示所述第一核心网设备完成所述第一APN的建立过程之后向所述第二核心网设备发送第一通知消息,所述处理单元还用于通过所述通信单元从所述第一核心网设备接收所述第一通知消息,所述第一通知消息用于通知所述第二核心网设备:所述第一核心网设备基于所述第一IP地址为所述终端建立了所述第一APN。The second core network device according to claim 30, wherein the first handover request further carries indication information, where the indication information is used to indicate that the first core network device completes establishment of the first APN Sending a first notification message to the second core network device after the process, the processing unit is further configured to receive, by the communication unit, the first notification message from the first core network device, the first notification message And the second core network device is configured to: the first core network device establishes the first APN for the terminal based on the first IP address. 根据权利要求31所述的第二核心网设备,其特征在于,所述处理单元还用于通过所述通信单元向第二策略设备发送第三通知消息,所述第三通知消息用于通知所述第二策略设备:所述第一核心网设备基于所述第一IP地址为所述终端建立了所述第一APN,其中,所述第二策略设备应用于所述第二 制式网络。The second core network device according to claim 31, wherein the processing unit is further configured to send, by using the communication unit, a third notification message to the second policy device, where the third notification message is used to notify the The second policy device: the first core network device establishes the first APN for the terminal based on the first IP address, where the second policy device is applied to the second Standard network. 根据权利要求30或31所述的第二核心网设备,其特征在于,所述第一切换请求还携带第二IP地址和第四核心网设备的地址,所述第二IP地址和所述第四核心网设备的地址用于所述终端在所述第一制式网络的第二APN的建立过程,其中,所述第四核心网设备应用于所述第二制式网络,所述第二IP地址为所述第二制式网络为所述终端分配的IP地址。The second core network device according to claim 30 or 31, wherein the first handover request further carries a second IP address and an address of a fourth core network device, the second IP address and the The address of the quad core network device is used to establish a second APN of the terminal in the first standard network, where the fourth core network device is applied to the second standard network, and the second IP address is An IP address assigned to the terminal by the second standard network. 根据权利要求33所述的第二核心网设备,其特征在于,所述处理单元还用于通过所述通信单元从所述第一核心网设备接收第二通知消息,所述第二通知消息用于通知所述第二核心网设备:所述第一核心网设备基于所述第二IP地址为所述终端建立了所述第二APN。The second core network device according to claim 33, wherein the processing unit is further configured to receive, by the communication unit, a second notification message from the first core network device, where the second notification message is used The second core network device is notified: the first core network device establishes the second APN for the terminal based on the second IP address. 根据权利要求30至34中任一项所述的第二核心网设备,其特征在于,所述第一切换请求还携带以下至少一项:所述终端的国际移动用户识别码IMSI、所述终端的安全上下文、所述终端的移动性管理上下文、所述终端的会话管理类上下文或所述终端在第一制式网络的终端网络能力信息。The second core network device according to any one of claims 30 to 34, wherein the first handover request further carries at least one of: an international mobile subscriber identity IMSI of the terminal, the terminal The security context, the mobility management context of the terminal, the session management class context of the terminal, or the terminal network capability information of the terminal in the first mode network. 根据权利要求30至35中任一项所述的第二核心网设备,其特征在于,所述第一切换请求的响应消息携带以下至少一项:附着接受消息、分组数据网络PDN连接建立接受消息或会话管理SM请求消息。The second core network device according to any one of claims 30 to 35, wherein the response message of the first handover request carries at least one of the following: an attach accept message, a packet data network PDN connection establishment accept message Or session management SM request message. 根据权利要求30至36中任一项所述的第二核心网设备,其特征在于,所述处理单元通过所述通信单元从所述第一核心网设备接收第一切换请求的响应消息之后,还用于通过所述通信单元向所述第二策略设备发送第七通知消息,所述第七通知消息用于通知所述第二策略设备:所述终端从所述第二制式网络切换到所述第一制式网络。The second core network device according to any one of claims 30 to 36, wherein the processing unit receives, by the communication unit, a response message of the first handover request from the first core network device, And a seventh notification message sent by the communication unit to the second policy device, where the seventh notification message is used to notify the second policy device: the terminal switches from the second standard network to the The first system network. 根据权利要求30至36中任一项所述的第二核心网设备,其特征在于,所述处理单元通过所述通信单元从所述第一核心网设备接收第一切换请求的响应消息之后,还用于通过所述通信单元向所述第一核心网设备发送切换完成确认消息;以及用于通过所述通信单元向所述第二策略设备发送第九通知消息,所述第九通知消息用于通知所述第二策略设备:所述终端从所述第二制式网络切换到所述第一制式网络。 The second core network device according to any one of claims 30 to 36, wherein the processing unit receives, by the communication unit, a response message of the first handover request from the first core network device, And is further configured to send, by using the communication unit, a handover complete confirmation message to the first core network device, and configured to send, by using the communication unit, a ninth notification message to the second policy device, where the ninth notification message is used by The second policy device is notified: the terminal switches from the second standard network to the first standard network.
PCT/CN2016/101825 2016-08-29 2016-10-11 Switching method and device Ceased WO2018040232A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/105044 WO2018040278A1 (en) 2016-08-29 2016-11-08 Switching method and device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2016097247 2016-08-29
CNPCT/CN2016/097247 2016-08-29

Publications (1)

Publication Number Publication Date
WO2018040232A1 true WO2018040232A1 (en) 2018-03-08

Family

ID=61299854

Family Applications (2)

Application Number Title Priority Date Filing Date
PCT/CN2016/101825 Ceased WO2018040232A1 (en) 2016-08-29 2016-10-11 Switching method and device
PCT/CN2016/105044 Ceased WO2018040278A1 (en) 2016-08-29 2016-11-08 Switching method and device

Family Applications After (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/105044 Ceased WO2018040278A1 (en) 2016-08-29 2016-11-08 Switching method and device

Country Status (1)

Country Link
WO (2) WO2018040232A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540988A (en) * 2008-03-19 2009-09-23 华为技术有限公司 Method and system for switching network
CN102833808A (en) * 2012-05-21 2012-12-19 中兴通讯股份有限公司 Service switching method, terminal, network-side device and high-level devices
CN103796262A (en) * 2012-10-31 2014-05-14 华为技术有限公司 Direct switching method and apparatus
CN103987092A (en) * 2013-02-08 2014-08-13 华为终端有限公司 Method and device for selecting network device in switching process

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131259B (en) * 2010-01-13 2013-06-05 华为技术有限公司 Switching control method and related equipment and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101540988A (en) * 2008-03-19 2009-09-23 华为技术有限公司 Method and system for switching network
CN102833808A (en) * 2012-05-21 2012-12-19 中兴通讯股份有限公司 Service switching method, terminal, network-side device and high-level devices
CN103796262A (en) * 2012-10-31 2014-05-14 华为技术有限公司 Direct switching method and apparatus
CN103987092A (en) * 2013-02-08 2014-08-13 华为终端有限公司 Method and device for selecting network device in switching process

Also Published As

Publication number Publication date
WO2018040278A1 (en) 2018-03-08

Similar Documents

Publication Publication Date Title
US9717019B2 (en) Data flow control method, and related device and communications system
CN101668280B (en) Network switching method, management equipment, terminal and home location server
CN101938787B (en) Method and device for switch controlling
CN103988544B (en) Systems and methods for minimizing loss of IP context during IRAT handover
WO2019174505A1 (en) Network slice-based communication method and apparatus
WO2016154935A1 (en) Methods and devices for facilitating emergency calls over wireless communication systems
CN107005843B (en) Access method, related device and system in wireless communication network
EP2458913A1 (en) Reselection system for bearer binding and event reporting function and method thereof
CN111935788A (en) Communication method, device and related equipment
CN109429213B (en) Information processing method, device, equipment and computer readable storage medium
CN109246778A (en) The selection method and relevant device of functional network element
CN101969673A (en) Method for reselecting bearing binding and event report function
EP2904869B1 (en) Methods, devices, and computer program products for keeping devices attached without a default bearer
CN108632928A (en) A kind of method and device of switching core net
WO2009117891A1 (en) A register method and equipment of packet data network connection
WO2018112897A1 (en) Method and device for session activation, and system
CN116709593A (en) Method and device for determining protocol data unit session service network element
WO2009115015A1 (en) A discovery and selection method for network, network system and communication device
CN101594647A (en) A SR VCC service switching processing method and device
CN101990174B (en) Message method and GPRS serving GPRS support node
CN112105014B (en) Method, device, system and equipment for interoperation of 4G and 5G networks
JP7546154B2 (en) Restoring PDN connectivity upon PGW failure
WO2011137715A1 (en) Method and system for realizing single radio voice call continuity
CN102986271B (en) The acquisition methods of bearing identification of target side carrying, bearer management network element and packet data gateway
WO2010124644A1 (en) Emergency service implementation method, emergency service implementation system and network device

Legal Events

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

Ref document number: 16914795

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16914795

Country of ref document: EP

Kind code of ref document: A1