WO2021057526A1 - Disaster recovery method for gateway device, and communication device - Google Patents

Disaster recovery method for gateway device, and communication device Download PDF

Info

Publication number
WO2021057526A1
WO2021057526A1 PCT/CN2020/115066 CN2020115066W WO2021057526A1 WO 2021057526 A1 WO2021057526 A1 WO 2021057526A1 CN 2020115066 W CN2020115066 W CN 2020115066W WO 2021057526 A1 WO2021057526 A1 WO 2021057526A1
Authority
WO
WIPO (PCT)
Prior art keywords
access
control plane
gateway
mobility management
gateway control
Prior art date
Application number
PCT/CN2020/115066
Other languages
French (fr)
Chinese (zh)
Inventor
黄泽旭
周军平
林玮健
钱涛
徐日东
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021057526A1 publication Critical patent/WO2021057526A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Definitions

  • the present invention relates to the field of communication technology, in particular to a method for disaster tolerance of a gateway device and a communication device.
  • the network architecture includes a gateway control plane device and a gateway user plane device.
  • the gateway control plane device is usually used as a session management functional entity to implement session access and management, and to serve as a terminal The device selects the gateway user plane device. After the gateway control plane device selects the gateway user plane device for the terminal device, the gateway control plane device manages the terminal device's session with the gateway user plane device, such as traffic monitoring, billing, and so on.
  • the gateway control plane device In order to ensure that the system can still maintain the session when the gateway control plane device fails, currently, the gateway control plane device usually adopts the active/standby mode, that is, a backup gateway control plane device is deployed for the active gateway control plane device, and the backup gateway control plane device
  • the plane device does not publish the route of the service network protocol (Internet Protocol, IP) address, but only receives the session information backed up by the master gateway control plane device.
  • IP Internet Protocol
  • the standby gateway control plane device does not participate in service processing, the resource utilization is low, and a centralized control node is required to perform fault monitoring and control switching operations, which is costly.
  • the main control plane device fails, a large number of sessions need to be restored, the restoration process is complicated, and the backup control plane device has the risk of session restoration failure.
  • the embodiments of the present application provide a method for disaster recovery of a gateway device and a communication device, which can simplify the complexity of session recovery, improve the reliability of session recovery, and improve resource utilization and reduce costs.
  • an embodiment of the present application provides a method for disaster recovery of a gateway device, which is applied to a first access and mobility management device, and the method includes: the first access and mobility management device receives a service request from a terminal device.
  • the first access and mobility management device can be the source access and mobility management device associated with the terminal device, or, when the terminal device sends a service request, it can be determined that the source access and mobility management device is faulty and reselect The backup access and mobility management device of the device, or, when there is downlink data from the terminal device, the third gateway control plane device is determining the source access and mobility management device failure, randomly selected access and mobility management devices, The third gateway control plane device is the gateway control plane device selected by the gateway user plane device when it determines that the first gateway control plane device associated with the terminal device is faulty.
  • the first disaster tolerance data corresponding to the terminal device is stored in the source access and mobility management device.
  • the first disaster tolerance data can also be backed up and stored in the backup mobile access and mobility management device. Please refer to the description of the subsequent embodiments for the definitions of the mobility management device and the backup access and mobility management device, and will not be repeated for the time being.
  • the service request may be triggered when the terminal device sends uplink data, or it may also be the presence of downlink data of the terminal device, which triggers the terminal device to send the service request by sending a paging message.
  • the first access and mobility management device determines that the first gateway control plane device used to manage the terminal device's session on the gateway user plane device is faulty, and then selects the second gateway control plane device.
  • the selection method for the first access and mobility management device to select the second gateway control plane device may be randomly selected or selected based on specific protocol rules.
  • the first access and mobility management device sends a first message to the selected second gateway control plane device, the first message includes the first disaster tolerance data corresponding to the terminal device, and the first disaster tolerance data is used for the second gateway control
  • the plane device restores the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
  • the first disaster tolerance data may include, but is not limited to, key data such as the IP address of the terminal device, the gateway user plane device activated by the terminal device, and so on.
  • the second gateway control plane device receives the first disaster tolerance data, and restores the session of the terminal device on the gateway user plane device according to the first disaster tolerance data.
  • the first access and mobility management device stores the first disaster tolerance data corresponding to the terminal device, and there is no need to set up additional control plane devices for backup and storage of the first disaster tolerance data, reducing costs and improving resource utilization.
  • the first access and mobility management device directly sends the first disaster tolerance data to the newly selected second gateway control plane device to restore the terminal device's session on the gateway user plane device, and no additional configuration of the control node to control the session is required.
  • Recovery simplifies the complexity of session recovery. The session recovery is only performed when the terminal device has service requirements, and the second control plane device is not required to recover a large number of sessions at the same time, which improves the reliability of session recovery.
  • the first message may be a session creation request or a service message. If the first message is a session creation request, the first access and mobility management device simulates the terminal device attachment process, and the session creation request will The first disaster tolerance data is sent to the second gateway control plane device. After the second gateway control plane device completes the session recovery of the terminal device in the gateway user plane device, the first access and mobility management device sends a service message to the second gateway control plane device to establish the association between the gateway user plane device and the terminal device The bearer between the access network equipment.
  • the first access and mobility management device and the second gateway control plane device realize the sending of the first disaster tolerance data to the second gateway control plane device through business message interaction, and the business message is used
  • the second gateway control plane device is requested to establish a bearer between the gateway user plane device and the access network device associated with the terminal device.
  • the second gateway control plane device detects that there is no session context corresponding to the terminal device, it first completes the recovery of the terminal device's session on the gateway user plane device through the first disaster tolerance data, and then controls the establishment of the association between the gateway user plane device and the terminal device.
  • the bearer between the access network equipment is a business message.
  • the reliability of session recovery can be improved, and if the first message is a business message, the efficiency of business processing can be improved.
  • the method before the first access and mobility management device receives the service request of the terminal device, the method further includes: the first access and mobility management device receives the second message from the third gateway control plane device, and The second message is sent by the third gateway control plane device when the gateway user plane device receives the downlink data corresponding to the terminal device and determines that the first gateway control plane device is faulty.
  • the second message may include the first indication information. An indication information is used to instruct the first access and mobility management device to send a paging message to the terminal device.
  • the third gateway control plane device may be a gateway control plane device randomly selected when the gateway user plane device determines that the first gateway control plane device is faulty, or a gateway control plane device selected based on a specific protocol rule.
  • the gateway user plane device sends the identification of the source access and mobility management device to the third gateway control plane device.
  • the identification of the source access and mobility management device may be sent by way of addressing information, and the addressing information may include but not limited to the identification of the source access and mobility management device, or used to indicate the first disaster tolerance data
  • the backup storage path of all disaster recovery data with index 1 is from the access and mobility management device A to the access and mobility management device B.
  • the source can also be determined by the index information Access and mobile management equipment.
  • the third gateway control plane device determines that the source access and mobility management device is available, it sends to the source access and mobility management device (in this application scenario, the first access and mobility management device is the source access and mobility management device).
  • the second message if it is determined that the source access and mobility management device is faulty, an access and mobility management device is randomly selected and sent to the randomly selected access and mobility management device (in this application scenario, the first access and mobility management device The mobility management device is a randomly selected access and mobility management device) sending the second message.
  • the aforementioned source access and mobility management device is an access and mobility management device that stores the first disaster tolerance data corresponding to the terminal device in the terminal attachment process.
  • the first access and mobility management device (the source access and mobility management device or the randomly selected access and mobility management device) sends a paging message to the terminal device according to the first indication information, and the terminal device receives the page After the message, the service request is sent to the first access and mobility management device.
  • the first access and mobility management device if the above-mentioned first access and mobility management device is a randomly selected access and mobility management device, the first access and mobility management device does not store the first disaster tolerance data. Therefore, the first access and mobility management device does not store the first disaster tolerance data.
  • the second message sent by the third gateway control plane device to the first access and mobility management device also includes addressing information associated with the first disaster tolerance data, and the backup of the first disaster tolerance data can be obtained through the address information storage location.
  • the first access and mobility management device obtains the first disaster tolerance data corresponding to the terminal device according to the addressing information, where the first disaster tolerance data further includes the identifier of the access network device associated with the terminal device.
  • the first access and mobility management device may send a paging message to the terminal device through the access network device corresponding to the identifier according to the first indication information in the second message.
  • the addressing information associated with the first disaster tolerance data is pre-stored in the gateway user plane device.
  • the downlink data corresponding to the terminal device can still be transmitted to the terminal device.
  • the terminal device before the first access and mobility management device receives the service request of the terminal device, the terminal device sends an attachment request to the first access and mobility management device.
  • the first access and mobility management device receives the attachment request, and sends a third message to the first gateway control plane device.
  • the third message may be a session creation request, and the third message includes the second indication information and the identification of the terminal device, The second indication information is used to instruct the first gateway control plane device to send the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device.
  • the first gateway control plane device sends the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device, and the first access and mobility management device stores the first disaster tolerance data.
  • the first disaster tolerance data can be stored in the first access and mobility management device, and there is no need to separately set up a gateway control plane device to backup and store the first disaster tolerance data separately, which can save costs and improve resource utilization.
  • the first access and mobility management device may also back up the first disaster tolerance data to the second access and mobility management device.
  • the first disaster tolerance data can still be addressed and session recovery can be completed.
  • an embodiment of the present application provides a method for disaster recovery of a gateway device, which is applied to a first gateway control plane device, and the method includes: the first gateway control plane device receives a third message from a first access and mobility management device , The third message includes second indication information and the identification of the terminal device, the second indication information is used to instruct the first gateway control plane device to send the first disaster tolerance data corresponding to the terminal device to the first access and mobility management Device, the first disaster tolerance data is used to restore the session of the terminal device on the gateway user plane device when it is determined that the first gateway control plane device is faulty.
  • the first gateway control plane device sends the first disaster tolerance data to the first access and mobility management device.
  • the first disaster tolerance data includes, but is not limited to, the IP address of the terminal device, which is the gateway user plane device activated by the terminal device, where the activated gateway user plane device refers to the gateway user plane device used to forward the terminal device Upstream data or downstream data.
  • the first gateway control plane device sends the first disaster tolerance data to the first access and mobility management device for storage, which can save costs and improve resource utilization.
  • the third message may also include addressing information associated with the first disaster tolerance data.
  • the addressing information includes, but is not limited to, the identification of the first access and mobility management device, or it is used to indicate the first access and mobility management device.
  • Index information of a backup storage path of disaster tolerance data, etc., for example, the backup storage path of all disaster tolerance data with index 1 is from the access and mobility management device A backed up to the access and mobility management device B, through the index information It is also possible to determine the source access and mobile management equipment.
  • the addressing information can not only determine the first access and mobility management device, but also determine the location for backing up and storing the first disaster recovery data.
  • the first gateway control plane device sends addressing information and the identification of the terminal device to the gateway user plane device.
  • the subsequent gateway user plane device may Send the addressing information to a randomly selected third gateway control plane device, so as to obtain the first disaster tolerance data.
  • the addressing information is stored in the gateway user plane device in advance, so that the gateway user plane device can receive the downlink data of the terminal device, and when it is determined that the first gateway control plane device is faulty, it can still address the first content. Disaster data.
  • an embodiment of the present application provides a method for disaster recovery of a gateway device, which is applied to a second gateway control plane device, and the method includes: the second gateway control plane device receives a first message from a first access and mobility management device The first message is triggered when the first access and mobility management device receives the service request of the terminal device and determines that the first gateway control plane device is faulty, and the first message includes the first content corresponding to the terminal device. For disaster data, the first gateway control plane device is used to manage the session of the terminal device on the gateway user plane device.
  • the second gateway control plane device restores the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
  • the second gateway control plane device can resume the session of the terminal device in the gateway user plane device through simple message interaction, and the recovery process is simple.
  • the first message is a session creation request or a service message; the service message is used to request the second gateway control plane device to establish a bearer between the gateway user plane device and the access network device associated with the terminal device.
  • the service message is used to request the second gateway control plane device to establish a bearer between the gateway user plane device and the access network device associated with the terminal device.
  • the embodiments of the present application provide an access and mobility management device, the access and mobility management device is a first access and mobility management device, and the first access and mobility management device may include multiple functions
  • the module or unit is used to correspondingly execute the method for disaster recovery of the gateway device provided in the first aspect.
  • the embodiments of the present application provide a gateway control plane device.
  • the gateway control plane device is a first gateway control plane device.
  • the first gateway control plane device may include multiple functional modules or units for corresponding Implement the disaster recovery method for gateway equipment provided in the second aspect.
  • inventions of the present application provide a gateway control plane device.
  • the gateway control plane device is a second gateway control plane device.
  • the second gateway control plane device may include multiple functional modules or units for corresponding Implement the disaster recovery method for gateway equipment provided by the third aspect.
  • the embodiments of the present application provide an access and mobility management device.
  • the access and mobility management device is a first access and mobility management device, and the first access and mobility management device is used to execute the first access and mobility management device.
  • the first access and mobility management device may include: a memory, a processor, a transmitter, and a receiver, where the transmitter and the receiver are used to communicate with other communication devices.
  • the memory is used to store the implementation code of the gateway device disaster tolerance method provided in the first aspect, and the processor is used to execute the program code stored in the memory, that is, to execute the gateway device disaster tolerance method provided in the first aspect.
  • an embodiment of the present application provides a gateway control plane device, the gateway control plane device is a first gateway control plane device, and is used to execute the gateway device disaster recovery method provided in the second aspect.
  • the first gateway control plane device may include: a memory, a processor, a transmitter, and a receiver, where the transmitter and the receiver are used to communicate with other communication devices.
  • the memory is used to store the implementation code of the gateway device disaster tolerance provided in the second aspect
  • the processor is used to execute the program code stored in the memory, that is, to execute the gateway device disaster tolerance method provided in the second aspect.
  • an embodiment of the present application provides a gateway control plane device, the gateway control plane device is a second gateway control plane device, and is used to execute the gateway device disaster recovery method provided in the third aspect.
  • the second gateway control plane device may include: a memory, a processor, a transmitter, and a receiver, where the transmitter and the receiver are used to communicate with other communication devices.
  • the memory is used to store the implementation code of the gateway device disaster tolerance provided in the third aspect
  • the processor is used to execute the program code stored in the memory, that is, to execute the gateway device disaster tolerance method provided in the third aspect.
  • an embodiment of the present application provides a communication system.
  • the communication system includes: a first access and mobility management device, a first gateway control plane device, and a second gateway control plane device. among them:
  • the first access and mobility management device may be the access and mobility management device described in the fourth aspect, or the access and mobility management device described in the seventh aspect.
  • the first gateway control plane device may be the gateway control plane device described in the foregoing fifth aspect, or may be the gateway control plane device described in the foregoing eighth aspect.
  • the second gateway control plane device may be the gateway control plane device described in the foregoing sixth aspect, or may be the gateway control plane device described in the foregoing ninth aspect.
  • the present application provides a communication chip.
  • the communication chip may include a processor and one or more interfaces coupled to the processor.
  • the processor can be used to call the implementation program of the gateway device disaster tolerance method provided by any aspect of the first aspect to the third aspect from the memory, and execute the instructions contained in the program.
  • the interface may be used to output the data processing result of the processor, or to obtain the implementation program from the memory.
  • the embodiments of the present application provide a computer-readable storage medium with instructions stored on the readable storage medium, which when run on a processor, cause the processor to execute any of the above-mentioned first to third aspects.
  • a method for disaster recovery of a gateway device is described.
  • the embodiments of the present application provide a computer program product containing instructions that, when run on a processor, cause the processor to execute the gateway device disaster recovery described in any one of the first to third aspects. Methods.
  • FIG. 1 is a schematic diagram of the architecture of a wireless communication system provided by an embodiment of the present application
  • Figure 2 is an optional system architecture diagram provided by an embodiment of the present application.
  • Figure 3 is another optional system architecture diagram provided by an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a method for disaster recovery of a gateway device according to an embodiment of the present application
  • FIG. 5 is a schematic diagram of a disaster tolerance data collection process provided by an embodiment of the present application.
  • FIG. 6 is a flow chart of a downlink data transmission paging provided by an embodiment of the present application.
  • FIG. 7 is a diagram of an optional disaster recovery data collection scenario provided by an embodiment of the present application.
  • FIG. 8 is a scene diagram of a gateway device disaster tolerance provided by an embodiment of the present application.
  • FIG. 9 is a diagram of a paging scene for downlink data transmission provided by an embodiment of the present application.
  • FIG. 10 is a functional block diagram of an access and mobility management device provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of the hardware structure of an access and mobility management device provided by an embodiment of the present application.
  • FIG. 12 is a functional block diagram of a gateway control plane device provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram of the hardware structure of a gateway control plane provided by an embodiment of the present application.
  • FIG. 14 is a functional block diagram of another gateway control plane device provided by an embodiment of the present application.
  • 15 is a schematic diagram of the hardware structure of another gateway control plane provided by an embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a communication chip provided by an embodiment of the present application.
  • the first access and mobility management device, the second access and mobility management device, and the third access and mobility management device in the embodiments of this application may include, but are not limited to, a mobility management entity (MME), and 5G Access and mobility management function (AMF) in the communication system and so on.
  • MME mobility management entity
  • AMF 5G Access and mobility management function
  • the entities in the embodiments of the present application may be understood as hardware devices.
  • the first gateway control plane device, the second gateway control plane device, and the third gateway control plane device in the embodiments of this application include but are not limited to the control plane PDN gateway (PDN Gateway for Control plane, PGW-C), the control plane service gateway ( Serving Gateway for Control plane, SGW-C), and session management function entities (session management function, SMF, etc.) in the 5G communication system, which are not limited in this embodiment of the application.
  • control plane PDN gateway PDN Gateway for Control plane, PGW-C
  • the control plane service gateway Serving Gateway for Control plane, SGW-C
  • session management function entities session management function, SMF, etc.
  • the gateway user plane equipment in the embodiments of this application includes but is not limited to user plane PDN gateway (PDN Gateway for User plane, PGW-U), user plane service gateway (Serving Gateway for User plane, SGW-U), and 5G communication systems (User plane function, UPF) user plane function entities and so on.
  • PDN gateway PDN Gateway for User plane, PGW-U
  • SGW-U user plane service gateway
  • UPF User plane function
  • the gateway control plane device in the embodiment of the present application may include one device or a collection of multiple devices.
  • one gateway control plane device may include PGW-C and SGW-C, or one gateway control plane device may include SMF and so on.
  • the gateway user plane device in the embodiment of the present application may include one device or a collection of multiple devices.
  • one gateway user plane device may include PGW-U and SGW-U, or one gateway user plane device may include UPF and so on.
  • the source access and mobility management device mentioned in the embodiment of this application may refer to the determined access and mobility management device in the terminal attachment process, and the source access and mobility management device stores the first access and mobility management device corresponding to the terminal device.
  • the backup access and mobility management device in the embodiment of the present application may refer to an access and mobility management device used to backup and store the first disaster tolerance data. There is a corresponding relationship between the source access and mobility management device and the backup access and mobility management device, and the backup access and mobility management device can be addressed through the identification of the source access and mobility management device.
  • the first, second, and third embodiments of this application are to distinguish different objects in the same scene. Different objects in different scenes may have the same name.
  • application scenario 1 source access and mobile management equipment It is called the first access and mobility management device.
  • the backup access and mobility management device is called the first access and mobility management device and so on.
  • the first gateway control plane device associated with the terminal device mentioned in the embodiment of the present application may refer to a device used to manage the terminal device's session on the gateway user plane device.
  • the gateway user plane device associated with the terminal device mentioned in the embodiment of the present application may refer to a device for forwarding uplink data or downlink data corresponding to the terminal device.
  • the access network device associated with the terminal device mentioned in the embodiment of the present application may refer to the terminal device in a cell under the access network device.
  • the wireless communication system 100 includes, but is not limited to: terminal equipment 101, access network (access network, AN) equipment 102, gateway user plane equipment 103, gateway control plane equipment 104, access and mobility management equipment 105, and data network (data network, DN) device 106. among them,
  • the terminal device 101 may also be referred to as user equipment, mobile station, access terminal, user unit, user station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device, etc. .
  • the terminal device can be a handheld user equipment, a notebook computer, a subscriber unit, a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA), and wireless communication.
  • PDA personal digital assistant
  • PLMN public land mobile network
  • the terminal device 101 and the access network device 102 communicate with each other using a certain air interface technology.
  • the access network device 102 is mainly responsible for functions such as radio resource management, quality of service (QoS) management, data compression, and encryption on the air interface side.
  • the access network equipment 102 may include various forms of access network equipment, such as: a macro base station, a micro base station (also referred to as a small station), a relay station, and an access point. In systems using different wireless access technologies, the names of access network devices may be different.
  • next-generation Node B gNB
  • LTE long term evolution
  • eNB evolved NodeB
  • 3G third generation
  • Node B Node B
  • the gateway user plane device 103 is used for receiving data packets from the terminal device 101 and forwarding the data packets.
  • the gateway user plane device 103 may include various forms of user plane devices, including but not limited to user plane PDN gateway (PDN Gateway for User plane, PGW-U), user plane service gateway (Serving Gateway for User plane, SGW-U) , And the (user plane function, UPF) user plane function entity in the 5G communication system, etc.
  • PDN gateway PDN Gateway for User plane, PGW-U
  • SGW-U user plane service gateway
  • UPF user plane function entity in the 5G communication system
  • the gateway control plane device 104 is used to manage the creation and deletion of a packet data unit (PDU) session of the user, and maintain the PDU session context and user plane forwarding management channel information.
  • Gateway control plane devices may include various forms of control plane devices, including but not limited to PDN Gateway for Control plane (PGW-C) and Serving Gateway for Control plane (SGW-C), And the session management function entity (session management function, SMF) in the 5G communication system.
  • PGW-C PDN Gateway for Control plane
  • SGW-C Serving Gateway for Control plane
  • SMF session management function entity
  • the access and mobility management device 105 is used to perform access and mobility management, interact with network elements such as the access network device 102 and the gateway control plane device 104, and forward signaling.
  • Access and mobility management equipment includes, but is not limited to, the mobility management entity (MME) in the LTE system, and the access and mobility management entity in the 5G communication system.
  • MME mobility management entity
  • the data network equipment 106 is used to provide users with various services (for example, network access, operator services, etc.).
  • the data network device 106 may be a server.
  • Types of data networks include, but are not limited to: Internet, Internet protocol multimedia subsystem (IMS).
  • IMS Internet protocol multimedia subsystem
  • the terminal device 101 and the access network device 102 communicate through a wireless interface
  • the terminal device 101 and the access and mobility management device 105 may also communicate through a wireless interface.
  • PGW-U and SGW-U can correspond to the gateway in Figure 1
  • the user plane equipment, PGW-C and SGW-C may correspond to the gateway control plane equipment in FIG. 1.
  • the MME may correspond to the access and mobility management equipment in FIG. 1
  • the E-UTRAN may correspond to the access network equipment in FIG. 1.
  • UPF can correspond to the gateway user plane device in Figure 1
  • SMF can correspond to the gateway control plane device in Figure 1
  • AMF can correspond to the access and mobility management device in Figure 1
  • RAN can correspond to Access network equipment in Figure 1.
  • FIGS. 1 to 3 are only to illustrate the communication connection relationship between the devices, and the communication interfaces between the devices are as shown in FIGS. 2 to 3 respectively. It is understandable that in actual application scenarios, the number of each device may include one or more, for example, it may include one or more gateway control plane devices, one or more access and mobility management devices, one or more Gateway user plane devices, etc., are not limited in the embodiment of the present application.
  • an embodiment of the present application provides a method for disaster recovery of a gateway device. As shown in Figure 4, the method includes but is not limited to the following steps.
  • the first access and mobility management device receives the service request of the terminal device
  • the first access and mobility management device may be the source access and mobility management device associated with the terminal device, or it may be the source access and mobility management device that is determined when the terminal device sends a service request Failure, re-selected backup access and mobile management equipment. Or the first access and mobility management device may also be a randomly selected access and mobility management device when the third gateway control plane device determines that the source access and mobility management device is faulty when there is downlink data from the terminal device.
  • the third gateway control plane device is the gateway control plane device selected by the gateway user plane device when it determines that the first gateway control plane device associated with the terminal device is faulty.
  • the first disaster tolerance data corresponding to the terminal device is stored in the source access and mobility management device.
  • the first disaster tolerance data may also be backed up and stored in the backup mobile access and mobility management device.
  • For the specific processing process of storing the first disaster tolerance data in the source access and mobility management device please refer to the description of the embodiment in FIG. 5, which will not be repeated here.
  • the interface between the access network device and the gateway user plane device is released. If the terminal device sends uplink data, or there is downlink data sent to the terminal device, it is used to manage the gateway control of the terminal device’s session on the gateway user plane device. Re-establish the bearer between the access network device and the gateway user plane device, where the terminal device sends a Service Request (SR), which is used to trigger the re-establishment of the access network device and the gateway user plane device Bearer between.
  • SR Service Request
  • a terminal device sends uplink data, it sends a service request to the source access and mobility management device associated with the terminal device.
  • the source access and mobility management device (in this application scenario)
  • the first access and mobility management device receives the service request of the terminal device and responds to the service request.
  • the source access and mobility management device associated with the terminal device fails, you can select the backup access and mobility management device for backing up and storing the first disaster tolerance data corresponding to the terminal device, and connect to the backup
  • the access and mobility management device (in this application scenario, the first access and mobility management device is the backup access and mobility management device) sends a service request, and correspondingly, the backup access and mobility management device receives the service request of the terminal device, And respond to the business request.
  • the gateway user plane device sends a service message to the gateway control plane device used to manage the terminal device’s session on the gateway user plane device to trigger the gateway control plane device to control the establishment of the The bearer between the gateway user plane device and the access network device.
  • FIG. 6 is a flow chart of downlink data transmission processing provided in this embodiment of the application, including but not limited to steps S51-S53;
  • the gateway user plane device receives the downlink data of the terminal device, determines that the first control plane device is faulty, and sends addressing information associated with the first disaster tolerance data to the third gateway control plane device;
  • the first control plane device is used to manage the session of the terminal device on the gateway user plane device.
  • the gateway user plane device determines that the first control plane device is faulty, it can reselect a gateway control plane device, such as the third gateway control plane device
  • the selection method may be random selection, or selection based on specific protocol rules, etc., which is not limited in the embodiment of the present application.
  • the way for the gateway user plane device to determine that the first gateway control plane device is faulty may be that the gateway user plane device sends multiple request messages to the first gateway control plane device, and none of the first gateway control plane device responds. , It is determined that the control plane device of the first gateway is faulty.
  • the gateway user plane device In order to facilitate the third gateway control plane device to determine the source access and mobility management device associated with the terminal device, or when the source access and mobility management device fails, address the first disaster tolerance data corresponding to the terminal device to recover For the session of the terminal device on the gateway user plane device, the gateway user plane device will send addressing information to the third gateway control plane device.
  • the addressing information includes but not limited to the identity of the source access and mobility management device or is used to indicate the first The index information of the backup storage path of disaster tolerance data.
  • the backup storage path of all disaster tolerance data with index 1 is from the backup of the access and mobility management device A to the access and mobility management device B, etc., through the index information not only
  • the source access and mobile management equipment can be determined, and the backup access and mobile management equipment can also be determined.
  • the addressing information may be stored in the gateway user plane device in advance through step S43 in the embodiment of FIG. 5.
  • the third gateway control plane device sends a second message to the first access and mobility management device, where the second message includes first indication information, and the first indication information is used to indicate the first access and mobility
  • the management device sends a paging message to the terminal device;
  • the first access and mobility management device receives a second message from a third gateway control plane device, and sends a paging message to the terminal device according to the first indication information, where the paging message is used to trigger The terminal device sends the service request.
  • the third gateway control plane device receives the addressing information, and can learn the source access and mobility management equipment corresponding to the terminal device through the addressing information, and the third gateway control plane device first determines the source access and mobility management equipment Whether it is available, if it is determined that the source access and mobility management device is available, a second message is sent to the source access and mobility management device.
  • the second message contains the first indication information, and the first indication information is used for Instruct the source access and mobility management device to send a paging message to the terminal device.
  • the source access and mobility management device receives the second message, and further, the source access and mobility management device detects that there is a session context corresponding to the terminal device, so the first access and mobility management device pre-stores With the identification of the access network device associated with the terminal device, the first access and mobility management device can directly send a page to the terminal device through the stored access network device associated with the terminal device according to the first indication information news.
  • the terminal device After receiving the paging message, the terminal device sends a service request to the source access and mobility management device (in this application scenario, the first access and mobility management device is the source access and mobility management device).
  • the third gateway control plane device determines that the source access and mobility management device is faulty, it can randomly select an access and mobility management device, and send the addressing information and the first indication information to the randomly selected access device.
  • Access and mobility management equipment so that when the randomly selected access and mobility management device detects that there is no session context corresponding to the terminal device, it can obtain the backup storage location of the first disaster tolerance data through the addressing information, and obtain the backup storage location from the backup The storage location obtains the first disaster recovery data.
  • the first disaster tolerance data also includes the identifier of the access network device associated with the terminal device, and the randomly selected access and mobility management device sends a paging message to the terminal device through the access network device.
  • the terminal device After receiving the paging message, the terminal device sends a service request to the randomly selected access and mobility management device (in this application scenario, the first access and mobility management device is the randomly selected access and mobility management device).
  • the first access and mobility management device (the source access and mobility management device or the randomly selected access and mobility management device) receives the service request of the terminal device, it is determined to be used for managing the terminal device in the gateway user plane device If the first gateway control plane device of the conversation fails, the second gateway control plane device is selected, and a first message is sent to the second gateway control plane device.
  • the first message includes the first disaster tolerance data corresponding to the terminal device, and the second The gateway control plane device restores the session of the terminal device on the gateway user plane device according to the first disaster tolerance data. (For details, please refer to the description of S302-S304, which will not be repeated here)
  • the second gateway control plane device When the second gateway control plane device resumes the session of the terminal device with the gateway user plane device, the second gateway control plane device controls the bearer between the access network device associated with the terminal device and the gateway user plane device, and the gateway user plane device That is, the aforementioned downlink data corresponding to the terminal device can be transmitted to the terminal device through the established bearer, so that the downlink data of the terminal device can still be transmitted to the terminal device even in a scenario where the first gateway control plane device fails.
  • the first access and mobility management device of this embodiment may include AMF, the first gateway control plane device may include SMF, and the gateway user plane device may include UPF, or the first access and mobility management device may include MME, the first gateway control plane device may include SGW-C and PGW-C, and the gateway user plane device may include SGW-U and PGW-U.
  • AMF Access and mobility management device
  • MME Mobility Management Entity
  • SGW-C and PGW-C Serving GPRS Support Node
  • PGW-C Packet Control plane device
  • the gateway user plane device may include SGW-U and PGW-U.
  • the two data centers DC1 and DC2 are equipped with equipment such as MME, SGW-C, PGW-C, and the user plane equipment SGW-U and PGW-U are located in Close to the location of the user (for example, the province where the user is located), this embodiment includes the following steps:
  • the downlink data of the terminal device is transmitted to the PGW-U, and the PGW-U forwards the downlink data to the SGW-U. Since the S1-U interface between the SGW-U and the access network device is released, the downlink data is initiated Notification (Downlink Data Notification, DDN) process.
  • the DDN process includes: SGW-U notifies the SGW-C associated with the terminal equipment to page the terminal equipment, SGW-C notifies the MME to initiate paging, the MME initiates a paging process to the terminal equipment through the access network equipment, and the terminal receives the page. Go online after the call, re-establish the S1-U bearer, and then send the downlink data to the terminal device.
  • the SGW-U determines that the SGW-C associated with the terminal device is faulty, the SGW-U randomly selects an available SGW-C (such as SGW-C4) to initiate the DDN process, that is, the SGW-U sends the SGW-C4 to the SGW-C4.
  • Send a DDN message includes addressing information.
  • the addressing information may include, but is not limited to, the identification of the source MME (for example: S-MME) used to store the first disaster tolerance data corresponding to the terminal device or for indicating Index information of the backup storage path of the first disaster tolerance data.
  • SGW-C4 After SGW-C4 receives the DDN message, SGW-C4 detects that there is no context for the session corresponding to the terminal device.
  • the DDN message contains the S-MME identifier. If SGW-C4 determines whether the S-MME is available, if the S-MME is available, -If the MME is available, select the S-MME and send a DDN message to the S-MME; optionally, if SGW-C4 determines that the S-MME is faulty, it randomly selects an available MME (such as MME4) and sends it to MME4 Send a DDN message, which includes addressing information. Wherein, MME4 is an MME selected at random, so MME4 may not be the MME corresponding to the S-MME for backing up and storing the first disaster tolerance data corresponding to the terminal device.
  • SGW-C4 is a DDN message sent to S-MME
  • the S-MME stores all disaster tolerance data corresponding to the terminal equipment, including the access network equipment associated with the terminal equipment, so the S-MME can directly pass
  • the access network device associated with the terminal device initiates a paging process to the terminal device.
  • SGW-C4 is a DDN message sent to MME4, after MME4 receives the DDN message, MME4 detects that there is no session context corresponding to the terminal device locally, and then obtains the first corresponding terminal device according to the addressing information carried in the DDN message.
  • Disaster recovery data For example, if an MME (such as MME2) used for backing up and storing the first disaster tolerance data is acquired according to the S-MME identifier, the first disaster tolerance data is acquired from MME2. The identification of the access network device associated with the terminal device can be obtained from the first disaster tolerance data, and the MME 4 initiates a paging process for the access network device.
  • the terminal device After receiving the page, the terminal device sends a service request to MME4.
  • the first access and mobility management device determines that the first gateway control plane device is faulty, and then selects a second gateway control plane device, and the first gateway control plane device is used to manage the terminal The device's session on the gateway user plane device;
  • the first access and mobility management device sends a first message to the second gateway control plane device, where the first message includes first disaster tolerance data corresponding to the terminal device, and the first tolerance
  • the disaster data is used by the second gateway control plane device to restore the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
  • S304 The second gateway control plane device restores the session of the terminal device with the gateway user plane device according to the first disaster tolerance data.
  • the first access and mobility management device determines that the first gateway control plane device associated with the terminal device is faulty.
  • a gateway control plane device is faulty, and a second gateway control plane device is selected.
  • the selection method may be random selection or selection based on specific protocol rules, which is not limited in the embodiment of the present application.
  • the first message may be a session creation request (for example: Create Session Request), which simulates the attachment process of the terminal device.
  • a session creation request for example: Create Session Request
  • the second gateway control plane device restores the session of the terminal device in the gateway user plane device according to the first disaster tolerance data in the session creation request, it sends a response message of successful restoration to the first access and mobility management device.
  • the first access and mobility management device After the first access and mobility management device receives the successful recovery response message sent by the second gateway control plane device, it sends a service message to the second gateway control plane device according to the service request of the terminal device.
  • the service message is used for Request the second gateway control plane device to establish a bearer between the gateway user plane device associated with the terminal device and the access network device associated with the terminal device, when the bearer between the gateway user plane device and the access network device associated with the terminal device is established
  • the terminal device can use the bearer to send uplink data or receive downlink data. Among them, if the above service request is triggered by the presence of uplink data sent by the terminal device, the terminal device can use the bearer to send uplink data. If the above service request is the presence of downlink data sent to the terminal device, the terminal device is triggered through the paging process If it is sent, the terminal device can use the bearer to receive downlink data.
  • the first message may be a service message, that is, the first access and mobility management device sends a service message according to the service request of the terminal device.
  • the terminal device is in the gateway user plane in the normal service interaction process.
  • the session of the device is resumed.
  • the service message includes the first disaster tolerance data corresponding to the terminal device.
  • the second gateway control plane device After receiving the service message, the second gateway control plane device detects that the session context corresponding to the terminal device does not exist locally, and then restores according to the first disaster tolerance data
  • the terminal device has a session with the gateway user plane device, and then processes the service indicated by the service message, such as controlling the establishment of a bearer between the gateway user plane device associated with the terminal device and the access network device associated with the terminal device, so as to facilitate
  • the terminal device sends uplink data or receives downlink data.
  • the terminal device can use the bearer to send uplink data. If the above service request is the presence of downlink data sent to the terminal device, the terminal device is triggered through the paging process If it is sent, the terminal device can use the bearer to receive downlink data.
  • resuming the session of the terminal device on the gateway user plane device includes but is not limited to: the second gateway control plane device reestablishes the session with the surrounding entities, such as resuming the charging session with the online charging system (Online Charging System, OCS), Resume the session with the Policy and Charging Rules Function (PCRF), take over the bearer of the terminal equipment on the gateway user equipment, and so on.
  • Taking over the bearer of the terminal device on the gateway user plane device may include but is not limited to: when there is subsequent uplink data or downlink data of the terminal device, when the second gateway control plane device is available, the connection can be established through the second gateway control plane device.
  • the bearer between the network access device and the gateway user plane device when there is subsequent uplink data or downlink data of the terminal device, when the second gateway control plane device is available, the connection can be established through the second gateway control plane device.
  • the first access and mobility management device may include AMF
  • the gateway control plane device may include SMF
  • the gateway user plane device may include UPF
  • the access and mobility management device may include MME
  • the gateway control plane device may include SGW-C and PGW-C
  • the gateway user plane equipment may include SGW-U and PGW-U.
  • Figure 8 The embodiment of this application illustrates the process of initiating a service request by the terminal and performing session recovery. Both Both data centers DC1 and DC2 are deployed with MME, SGW-C, PGW-C, online charging system OCS, and policy control and rule function PCRF equipment. User plane equipment SGW-U and PGW-U are located close to users ( For example, the province where the user is located), this embodiment includes the following steps:
  • the terminal device sends an SR request through the access network device.
  • the source MME fails, it sends an SR request to the backup MME, and when the source MME is available, it sends an SR request to the source MME.
  • the backup MME is taken as an example for illustration.
  • the backup MME determines that the SGW-C and PGW-C associated with the terminal device are faulty, and then reselects SGW-C and PGW-C, which can simulate the terminal attachment process and send a session creation request to the newly selected SGW-C (for example: Create Session Request), the session creation request carries the first disaster tolerance data corresponding to the terminal device.
  • the newly selected SGW-C rebuilds the session with the surrounding entities according to the first disaster tolerance data, and takes over the bearer of the terminal device in the SGW-U.
  • a disaster recovery recovery request message is sent to the newly selected PGW-C, and the request message includes the first disaster recovery data.
  • the newly selected PGW-C After the newly selected PGW-C receives the request message, it rebuilds the session with the surrounding entities according to the first disaster recovery data, such as restoring the charging session with OCS, restoring the session with PCRF; take over the terminal equipment in PGW-U Of the bearer.
  • the first disaster recovery data such as restoring the charging session with OCS, restoring the session with PCRF
  • the sessions between the newly selected SGW-C and PGW-C and surrounding entities have been restored, and the bearer of the terminal equipment in the SGW-U and PGW-U has also been restored.
  • PGW-C replies to SGW-C with a response message of successful recovery and SGW-C replies with a response message of successful recovery to MME.
  • MME can proceed with subsequent procedures, such as sending a service message to the newly selected SGW-C.
  • the service message is used for The SGW-C is requested to establish a bearer between the access network device and the SGW-U to facilitate the transmission of downlink data or uplink data of the terminal device.
  • FIG. 5 is a schematic diagram of a first disaster tolerance data collection process proposed in an embodiment of this application.
  • the first disaster tolerance data collection process includes but is not limited to steps S41-S45, which need to be explained Yes, in this embodiment, the first access and mobility management device is the source access and mobility management device.
  • the first access and mobility management device in this embodiment is the same as the first access and mobility management device in the embodiment of FIG. 4
  • the objects referred to by the mobile management device may be different;
  • S41 The first access and mobility management device receives the attachment request of the terminal device.
  • the terminal device when the terminal is turned on, or after the terminal switches cells, the terminal device sends an attachment request to the first access and mobility management device through the access network device associated with the terminal device, and the attachment request may include the terminal
  • the identification of the device the identification of the terminal device may be the device code of the terminal device.
  • the first access and mobility management device sends a third message to the first gateway control plane device according to the attachment request, where the third message includes second indication information and the terminal device identifier, and The second indication information is used to instruct the first gateway control plane device to send the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device.
  • the first gateway control plane device sends the identity of the first access and mobility management device and the identity of the terminal device to the gateway user plane device; the identity of the first access and mobility management device is used for the user plane of the gateway
  • the device receives the downlink data corresponding to the terminal device, and acquires the first disaster tolerance data when the first gateway control plane device fails.
  • the first gateway control plane device sends the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device.
  • the first access and mobility management device stores the first disaster tolerance data.
  • the first access and mobility management device receives the attachment request of the terminal device from the access network device, and sends a third message to the first gateway control plane device.
  • the third message may be a session creation request (for example: Create Session Request)
  • the third message may be an extended message.
  • the third message includes a newly-added private extension field, and the private extension field carries second indication information.
  • the second indication information is used to instruct the first gateway control plane device to set the first disaster tolerance corresponding to the carried terminal device identifier when supporting the gateway device disaster tolerance method mentioned in the embodiment of this application.
  • the data is sent to the first access and mobility management device, where the first disaster tolerance data may be included in the response message sent by the first gateway control plane device to the first access and mobility management device.
  • the first access and mobility management device receives the response message sent by the first gateway control plane device, and stores the first disaster tolerance data included in the response message in the first access and mobility management device.
  • the response message may be an extended message.
  • the response message may include a newly-added private extension field, and the private extension field is used to carry the first disaster tolerance data.
  • the first access and mobility management device may also back up the first disaster tolerance data corresponding to the terminal device to the third access and mobility management device, so that when the terminal device sends a service request, the first access If the access and mobility management device fails, the third access and mobility management device will perform access management and respond to the service request.
  • the first disaster tolerance data may include, but is not limited to, key data such as the IP address of the terminal device, the gateway user plane device activated by the terminal device, and the like.
  • the first disaster tolerance data is used when the first gateway control plane device fails.
  • the second gateway control plane device resumes the session of the terminal device on the gateway user plane device.
  • the gateway user plane device may include, but is not limited to, PGW-U, UPF, and so on.
  • the above-mentioned gateway user plane device activated by the terminal device means that the uplink data and downlink data corresponding to the terminal device are forwarded through the gateway user plane device.
  • the third message may also include addressing information, which includes, but is not limited to, the identification of the first access and mobility management device or index information used to indicate the backup storage path of the first disaster tolerance data, etc.
  • addressing information includes, but is not limited to, the identification of the first access and mobility management device or index information used to indicate the backup storage path of the first disaster tolerance data, etc.
  • the backup storage path of all disaster tolerance data whose index is 1 is from the access and mobility management device A to the access and mobility management device B and so on.
  • the first gateway control plane device determines to support the disaster recovery method of the gateway device mentioned in the embodiment of this application, it sends the addressing information and the identification of the terminal device to the gateway user plane device activated by the terminal device, and the gateway user
  • the surface device stores the correspondence between the addressing information and the identification of the terminal device.
  • the gateway user plane device when it receives the downlink data corresponding to the terminal device, it can be determined according to the addressing information when it is determined that the first gateway control plane used to manage the terminal device’s session on the gateway user plane device is faulty.
  • the first access and mobility management device or when the first access and mobility management device fails, obtain the first disaster tolerance data corresponding to the terminal device through the addressing information. Please refer to the description of the embodiment in FIG. 6 for details. This will not be repeated here.
  • the first access and mobility management device may include AMF
  • the first gateway control plane device may include SMF
  • the gateway user plane device may include UPF
  • the first access and mobility management device may include MME
  • the gateway control plane device may include SGW-C and PGW-C
  • the gateway user plane device may include SGW-U and PGW-U. Please refer to Figure 7.
  • the embodiment of this application illustrates as an example, both data centers DC1 and DC2 are deployed MME, SGW-C, PGW-C, SGW-U, PGW-U, online charging system OCS and policy control and rule function PCRF equipment, control plane equipment MME, SGW-C, PGW-C, OCS, MME and The PCRF is located in the DC, and the user plane devices SGW-U and PGW-U are located close to the user (for example, the province where the user is located).
  • This embodiment includes the following steps:
  • the access network device sends an attachment request of the terminal device to the source MME;
  • the source MME sends a session creation request (for example: Create Session Request) to the SGW-C.
  • the session creation request includes a private extension field, and the private extension field includes indication information.
  • the indication information is used to inquire whether the SGW-C supports this application.
  • the disaster tolerance method provided in the embodiment and when the disaster tolerance method provided in the embodiment of the present application is supported, the disaster tolerance data corresponding to the terminal device is sent to the MME.
  • the source SGW-C receives the session creation request, and if the SGW-C supports the disaster tolerance method of the embodiment of this application, it sends the source MME identification to the SGW-U, and the SGW-U saves the source MME identification; and the SGW-C Send a message to PGW-C.
  • the message also contains a private extension field.
  • the private extension field contains indication information. The indication information is used to inquire whether PGW-C supports the disaster tolerance method provided in the embodiments of this application and is supporting the implementation of this application. In the disaster recovery method provided in the example, the disaster recovery data corresponding to the terminal device is sent to the SGW-C.
  • the PGW-C receives the message sent by the SGW-C. If the PGW-C supports the disaster recovery method of the embodiment of this application, it will use the key data such as the PGW-U and IP address activated by the terminal device as the disaster recovery data, and pass the response message Sent to SGW-C, the response message also contains a private extension field, and the private extension field contains disaster tolerance data.
  • SGW-C receives the response message sent by PGW-C. If the response message carries disaster tolerance data corresponding to the terminal device, it means that PGW-C supports the disaster tolerance method provided in the embodiments of this application, and SGW-C sends
  • the source MME sends a response message, and the response message also includes a private extension field, and the private extension field includes disaster tolerance data corresponding to the terminal device.
  • the source MME receives the response message returned by the SGW-C, and if the private extension field of the response message carries the disaster tolerance data corresponding to the terminal device, the disaster tolerance data is stored.
  • the source MME may also store the disaster tolerance data across regions in another MME, that is, the backup MME.
  • the first disaster tolerance data corresponding to the terminal device is stored in the first access and mobility management device, and the subsequent terminal device can perform data transmission through the gateway user plane device.
  • the first access and mobility management device communicates with the gateway control plane device (the first gateway control plane device, the second gateway control plane device, and the third gateway control plane device), the terminal device, and the access network device
  • the operations performed by the first access and mobility management device side can be performed by the processing unit, the receiving unit, and the sending unit in the first access and mobility management device, where the receiving unit is used to perform the receiving in the process.
  • Information (or message) operation the sending unit is used to perform the operation of sending information (or message) in the process, and the processing unit is used to perform other operations in the process except the operations performed by the receiving unit and the sending unit .
  • the sending unit and the receiving unit are controlled by the processing unit, that is, the processing unit can respectively control the sending unit to perform the sending operation and the receiving unit to perform the receiving operation.
  • the processing unit, the receiving unit, and the sending unit in the first access and mobility management device may be logical modules divided according to functions, or may be corresponding hardware modules.
  • the structure of the first access and mobility management device may be as shown in FIG. 10.
  • the receiving unit 1101 is configured to receive a service request from a terminal device
  • the processing unit 1102 is configured to respond to the service request and determine that the first gateway control plane device is faulty, and then select a second gateway control plane device.
  • the first gateway control plane device is used to manage the terminal device in the gateway user Face device session;
  • the sending unit 1103 is further configured to send a first message to the second gateway control plane device, where the first message includes first disaster tolerance data corresponding to the terminal device, and the first disaster tolerance data is used for Recovering the session of the terminal device in the gateway user plane device according to the first disaster tolerance data at the second gateway control plane device.
  • the processing unit can be specifically a processor
  • the receiving unit can be specifically a receiver
  • the sending unit can be specifically a transmitter.
  • the structure can be as shown in Figure 11.
  • FIG. 11 shows an access and mobility management device provided by an embodiment of the present application.
  • the access and mobility management device 120 may include: one or more processors 1201, a memory 1202, and a transmitter 1203 , Receiver 1204. These components can be connected through a bus 1205 or other methods.
  • FIG. 11 uses a bus connection as an example. among them:
  • the processor 1201 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (ASIC), or One or more integrated circuits configured to implement embodiments of the invention.
  • the processor 1201 may process data received through the receiver 1204.
  • the processor 1201 may also process data to be sent to the transmitter 1203.
  • the memory 1202 may be coupled with the processor 1201 through a bus 1205 or an input/output port, and the memory 1202 may also be integrated with the processor 1201.
  • the memory 1202 is used to store various software programs and/or multiple sets of instructions.
  • the memory 1202 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 1202 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminals, and one or more network devices.
  • the transmitter 1203 may be used to transmit and process the signal output by the processor 1201.
  • the receiver 1204 may be used for receiving and processing the received communication signal.
  • the number of the transmitter 1203 and the receiver 1204 may each be one or more.
  • the processor 1201 can be used to read and execute computer readable instructions. Specifically, the processor 1201 may be used to call a program stored in the memory 1202, such as the implementation program of the gateway device disaster recovery method provided by one or more embodiments of the present application on the side of the first access and mobility management device, and The instructions contained in the program are executed to implement the methods involved in the subsequent embodiments.
  • the processor 1201 sends any message or data, it specifically drives or controls the transmitter 1203 to send it.
  • the processor 1201 receives any message or data, it specifically drives or controls the receiver 1204 to do the reception. Therefore, the processor 1201 can be regarded as a control center that performs transmission or reception, and the transmitter 1203 and the receiver 1204 are specific performers of the transmission and reception operations.
  • the receiver 1204 is used to receive a service request from a terminal device
  • the processor 1201 is configured to respond to the service request and determine that the first gateway control plane device is faulty, and then select a second gateway control plane device.
  • the first gateway control plane device is used to manage the terminal device in the gateway user plane device.
  • the transmitter 1203 is configured to send a first message to the second gateway control plane device, where the first message includes first disaster tolerance data corresponding to the terminal device, and the first disaster tolerance data is used for the The second gateway control plane device restores the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
  • the access and mobility management device 120 shown in FIG. 11 is only an implementation of the embodiment of the present application. In actual applications, the access and mobility management device 120 may also include more or fewer components. There is no restriction here.
  • the operations performed on the first gateway control plane device side can be performed by The receiving unit, the processing unit, and the sending unit in the first gateway control plane device are executed, wherein the receiving unit is used to perform the operation of receiving information (or message) in the process, and the sending unit is used to perform the sending information in the process ( Or message) operation.
  • the sending unit and the receiving unit may be controlled by the processing unit, that is, the processing unit may respectively control the sending unit to perform the sending operation and the receiving unit to perform the receiving operation, and the sending unit and the receiving unit may not be controlled by the processing unit.
  • the processing unit, the receiving unit, and the sending unit in the first gateway control plane device may be logical modules divided according to functions, or may be corresponding hardware modules.
  • the structure of the first gateway control plane device may be as shown in FIG. 12.
  • the receiving unit 1301 is configured to receive a third message from the first access and mobility management device, the third message includes second indication information and an identifier of the terminal device, and the second indication information is used to indicate the second indication information.
  • a gateway control plane device sends first disaster tolerance data corresponding to the terminal device to the first access and mobility management device, and the first disaster tolerance data is used to determine the first gateway control plane device Restore the session of the terminal device on the gateway user plane device in the event of a failure;
  • the processing unit 1302 is configured to parse the third message to obtain the second indication information and the identification of the terminal device;
  • the sending unit 1303 is configured to send the first disaster tolerance data to the first access and mobility management device.
  • the processing unit may be specifically a processor
  • the receiving unit may be specifically a receiver
  • the sending unit may be specifically a transmitter.
  • the structure of the first gateway control plane device may be As shown in Figure 13.
  • FIG. 13 shows a schematic diagram of the hardware structure of a first gateway control plane device provided by an embodiment of the present application.
  • the gateway control plane device 140 may include: one or more processors 1401, a memory 1402, and a transmitting device.
  • the receiver 1403 and the receiver 1404. These components can be connected through a bus 1405 or in other ways.
  • FIG. 13 uses a bus connection as an example. among them:
  • the processor 1401 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processing (DSP), an application specific integrated circuit (ASIC), or One or more integrated circuits configured to implement embodiments of the invention.
  • the processor 1401 may process data received through the receiver 1404.
  • the processor 1401 may also process data to be sent to the transmitter 1403.
  • the memory 1402 may be coupled with the processor 1401 through a bus 1405 or an input/output port, and the memory 1402 may also be integrated with the processor 1401.
  • the memory 1402 is used to store various software programs and/or multiple sets of instructions.
  • the memory 1402 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 1402 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminals, and one or more network devices.
  • the transmitter 1403 may be used to transmit and process the signal output by the processor 1401.
  • the receiver 1404 may be used for receiving and processing the received communication signal.
  • the number of the transmitter 1403 and the receiver 1404 may both be one or more.
  • the processor 1401 may be used to read and execute computer-readable instructions. Specifically, the processor 1401 may be used to call a program stored in the memory 1402, for example, the implementation program of the gateway device disaster recovery method provided by one or more embodiments of the present application on the first gateway control plane device side, and execute the program. The instructions contained in the program are used to implement the methods involved in the foregoing embodiments.
  • the processor 1401 when the processor 1401 sends any message or data, it specifically drives or controls the transmitter 1403 to do the sending.
  • the processor 1401 receives any message or data it specifically drives or controls the receiver 1404 to do the reception. Therefore, the processor 1401 can be regarded as a control center that performs transmission or reception, and the transmitter 1403 and the receiver 1404 are specific performers of the transmission and reception operations.
  • the receiver 1404 is configured to receive a third message from the first access and mobility management device, the third message includes second indication information and an identifier of the terminal device, and the second indication information is used to indicate the second indication information.
  • a gateway control plane device sends first disaster tolerance data corresponding to the terminal device to the first access and mobility management device, and the first disaster tolerance data is used to determine the first gateway control plane device Restore the session of the terminal device on the gateway user plane device in the event of a failure;
  • the processor 1401 is configured to parse the third message to obtain the second indication information and the identification of the terminal device;
  • the transmitter 1403 is configured to send the first disaster tolerance data to the first access and mobility management device.
  • gateway control plane device 140 shown in FIG. 13 is only an implementation of the embodiment of the present application. In practical applications, the gateway control plane device 140 may also include more or fewer components, which is not limited here.
  • the operations performed by the second gateway control plane device side can be performed by the second gateway control plane device.
  • the receiving unit and the processing unit are used to perform the operation of receiving information (or message) in the process, and the processing unit is used to process the received message.
  • the receiving unit may be controlled by the processing unit, that is, the processing unit may control the receiving unit to perform the receiving operation, and the receiving unit may not be controlled by the processing unit.
  • the processing unit and the receiving unit in the second gateway control plane device may be logical modules divided according to functions, or may be corresponding hardware modules. When the processing unit and the receiving unit are both logical modules, the structure of the second gateway control plane device may be as shown in FIG. 14.
  • the receiving unit 1501 is configured to receive a first message from a first access and mobility management device, where the first message is when the first access and mobility management device receives a service request from a terminal device, and determines the first message Triggered when a gateway control plane device fails, the first message includes the first disaster tolerance data corresponding to the terminal device, and the first gateway control plane device is used to manage the terminal device in the gateway user plane device Conversation
  • the processing unit 1502 is configured to restore the session of the terminal device on the gateway user plane device according to the first disaster tolerance data.
  • the second gateway control plane device may further include a sending unit for sending messages to other communication devices.
  • the processing unit can be specifically a processor
  • the receiving unit can be specifically a receiver
  • the sending unit can be specifically a transmitter.
  • the structure can be as shown in Figure 15.
  • FIG. 15 shows a second gateway control plane device provided by an embodiment of the present application.
  • the second gateway control plane device 160 may include: one or more processors 1601, a memory 1602, and a transmitter 1603. , Receiver 1604. These components can be connected through a bus 1605 or in other ways.
  • FIG. 15 uses a bus connection as an example. among them:
  • the processor 1601 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processing (DSP), an application specific integrated circuit (ASIC), or One or more integrated circuits configured to implement embodiments of the invention.
  • the processor 1601 may process data received through the receiver 1604.
  • the processor 1601 may also process data to be sent to the transmitter 1603.
  • the memory 1602 may be coupled with the processor 1601 through a bus 1605 or an input/output port, and the memory 1602 may also be integrated with the processor 1601.
  • the memory 1602 is used to store various software programs and/or multiple sets of instructions.
  • the memory 1602 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices.
  • the memory 1602 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminals, and one or more network devices.
  • the transmitter 1603 may be used to transmit and process the signal output by the processor 1601.
  • the receiver 1604 may be used for receiving and processing the received communication signal.
  • the number of transmitters 1603 and receivers 1604 may each be one or more.
  • the processor 1601 can be used to read and execute computer readable instructions. Specifically, the processor 1601 may be used to call a program stored in the memory 1602, such as the implementation program on the second gateway control plane device side of the gateway device disaster recovery method provided in one or more embodiments of the present application, and execute the program. The instructions contained in the program are used to implement the methods involved in the foregoing embodiments.
  • the processor 1601 when the processor 1601 sends any message or data, it specifically drives or controls the transmitter 1603 to do the sending.
  • the processor 1601 receives any message or data, it specifically drives or controls the receiver 1604 to do the reception. Therefore, the processor 1601 can be regarded as a control center that performs transmission or reception, and the transmitter 1603 and the receiver 1604 are specific performers of the transmission and reception operations.
  • the receiver 1604 is configured to receive a first message from a first access and mobility management device, where the first message is when the first access and mobility management device receives a service request from a terminal device, and determines the first message Triggered when a gateway control plane device fails, the first message includes the first disaster tolerance data corresponding to the terminal device, and the first gateway control plane device is used to manage the terminal device in the gateway user plane device Conversation
  • the processor 1601 is configured to restore the session of the terminal device on the gateway user plane device according to the first disaster tolerance data.
  • the access and mobility management device 160 shown in FIG. 15 is only an implementation of the embodiment of the present application. In actual applications, the access and mobility management device 160 may also include more or fewer components. There is no restriction here.
  • FIG. 16 shows a schematic structural diagram of a communication chip provided by the present application.
  • the communication chip 170 may include a processor 1701, and one or more interfaces 1702 coupled to the processor 1701. among them:
  • the processor 171 can be used to read and execute computer-readable instructions.
  • the processor 1701 may mainly include a controller, an arithmetic unit, and a register.
  • the controller is mainly responsible for the instruction decoding, and sends out control signals for the operation corresponding to the instruction.
  • the arithmetic unit is mainly responsible for performing fixed-point or floating-point arithmetic operations, shift operations and logic operations, etc., and can also perform address operations and conversions.
  • the register is mainly responsible for storing the register operands and intermediate operation results temporarily stored during the execution of the instruction.
  • the hardware architecture of the processor 1701 may be an application specific integrated circuit (ASIC) architecture, MIPS architecture, ARM architecture, or NP architecture, etc.
  • the processor 1701 may be single-core or multi-core.
  • the interface 1702 can be used to input data to be processed to the processor 1701, and can output the processing result of the processor 1501 to the outside.
  • the interface 1702 may be a general purpose input output (GPIO) interface, and may be connected to multiple peripheral devices (such as a display (LCD), a camera (camara), a radio frequency (RF) module, etc.).
  • the interface 172 is connected to the processor 1701 through the bus 1703.
  • the processor 1701 may be used to call the method for disaster recovery of a gateway device provided by one or more embodiments of this application from a memory on the side of the communication device (the first access and mobility management device, the first gateway control plane device) Or the implementation program of the second gateway control plane device), and execute the instructions contained in the program.
  • the interface 1702 may be used to output the execution result of the processor 1701.
  • processor 1701 and the interface 1702 may be implemented through hardware design, or through software design, or through a combination of software and hardware, which is not limited here.
  • a readable storage medium stores computer execution instructions.
  • a device may be a single-chip microcomputer, a chip, etc.
  • a processor calls the readable storage medium
  • the stored computer executes instructions to implement the steps performed by the first access and mobility management device, the first gateway control plane device, or the second gateway control plane device in the gateway device disaster recovery method provided in FIGS. 4-6.
  • the aforementioned readable storage medium may include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other media that can store program codes.
  • a computer program product includes computer-executable instructions, and the computer-executable instructions are stored in a computer-readable storage medium; at least one processor of the device can be accessed from a computer. Read the storage medium to read the computer execution instructions, and implement the first access and mobility management device, the first gateway control plane device, or the second gateway control plane device in the gateway device disaster recovery method provided in Figures 4-6. A step of.
  • the computer may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media.
  • the usable medium may be a magnetic medium (such as a floppy disk, a hard disk, and a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Abstract

Provided in the embodiments of the present application are a disaster recovery method for a gateway device, and a communication device. The disaster recovery method for the gateway device comprises: a first access and mobile management device receiving a service request of a terminal device; in response to the service request, if a first gateway control plane device is determined to have failed, the first access and mobile management device selecting a second gateway control plane device, wherein the first gateway control plane device is used for managing a session of the terminal device at a gateway user plane device; and the first access and mobile management device sending a first message to the second gateway control plane device, wherein the first message comprises first disaster recovery data corresponding to the terminal device, and the first disaster recovery data is used by the second gateway control plane device to recover, according to the first disaster recovery data, the session of the terminal device at the gateway user plane device. According to the embodiments of the present application, complexity of session recovery can be simplified, reliability of session recovery can be improved, a resource utilization rate can be improved, and costs can be reduced.

Description

一种网关设备容灾的方法及通信设备Method for disaster tolerance of gateway equipment and communication equipment
本申请要求于2019年9月23日提交中国国家知识产权局、申请号为201910901318.X、发明名称为“一种网关设备容灾的方法及通信设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office of China, the application number is 201910901318.X, and the invention title is "A method for disaster recovery of gateway equipment and communication equipment" on September 23, 2019, all of which The content is incorporated in this application by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种网关设备容灾的方法及通信设备。The present invention relates to the field of communication technology, in particular to a method for disaster tolerance of a gateway device and a communication device.
背景技术Background technique
现有技术中,基于控制面与用户面分离理念,网络架构中包括网关控制面设备和网关用户面设备,网关控制面设备通常作为会话管理功能实体,实现会话的接入和管理,以及为终端设备选择网关用户面设备。当网关控制面设备为终端设备选择了网关用户面设备后,网关控制面设备即管理该终端设备在该网关用户面设备的会话,比如流量监控,计费等等。In the prior art, based on the concept of separation of the control plane and the user plane, the network architecture includes a gateway control plane device and a gateway user plane device. The gateway control plane device is usually used as a session management functional entity to implement session access and management, and to serve as a terminal The device selects the gateway user plane device. After the gateway control plane device selects the gateway user plane device for the terminal device, the gateway control plane device manages the terminal device's session with the gateway user plane device, such as traffic monitoring, billing, and so on.
为了保障网关控制面设备故障时,系统仍然能够维持会话,目前,网关控制面设备通常采用主备模式,即会为主用网关控制面设备部署一个备用的网关控制面设备,该备用的网关控制面设备对外不发布业务网络协议(InternetProtocol,IP)地址的路由,仅仅接收主用网关控制面设备备份过来的会话信息,待主用网关控制面设备故障后,通过某个集中控制节点控制将主用控制面设备的会话全部切换到备用网关控制面设备,由备用网关控制面设备提供业务。这种方式,备用网关控制面设备不参与业务处理,资源利用率低,并且还需要一个集中控制节点进行故障监测和控制切换操作,成本高。并且主用控制面设备故障后,大量会话需要恢复,恢复流程复杂,备用控制面设备存在会话恢复失败的风险。In order to ensure that the system can still maintain the session when the gateway control plane device fails, currently, the gateway control plane device usually adopts the active/standby mode, that is, a backup gateway control plane device is deployed for the active gateway control plane device, and the backup gateway control plane device The plane device does not publish the route of the service network protocol (Internet Protocol, IP) address, but only receives the session information backed up by the master gateway control plane device. After the master gateway control plane device fails, the master will be controlled by a centralized control node. All sessions with the control plane device are switched to the backup gateway control plane device, and the backup gateway control plane device provides services. In this way, the standby gateway control plane device does not participate in service processing, the resource utilization is low, and a centralized control node is required to perform fault monitoring and control switching operations, which is costly. In addition, after the main control plane device fails, a large number of sessions need to be restored, the restoration process is complicated, and the backup control plane device has the risk of session restoration failure.
发明内容Summary of the invention
本申请实施例提供了一种网关设备容灾的方法及通信设备,能够简化会话恢复的复杂度,提高会话恢复的可靠性,并且提高资源利用率,减少成本。The embodiments of the present application provide a method for disaster recovery of a gateway device and a communication device, which can simplify the complexity of session recovery, improve the reliability of session recovery, and improve resource utilization and reduce costs.
第一方面,本申请实施例提供了一种网关设备容灾的方法,应用于第一接入及移动管理设备,该方法包括:第一接入及移动管理设备接收终端设备的业务请求。In the first aspect, an embodiment of the present application provides a method for disaster recovery of a gateway device, which is applied to a first access and mobility management device, and the method includes: the first access and mobility management device receives a service request from a terminal device.
其中,第一接入及移动管理设备可以是与终端设备关联的源接入及移动管理设备,或者,也可以是在终端设备发送业务请求时,确定源接入及移动管理设备故障,重新选择的备份接入及移动管理设备,或者,也可以是当存在终端设备的下行数据时,第三网关控制面设备在确定源接入及移动管理设备故障,随机选择的接入及移动管理设备,其中,第三网关控制面设备是,网关用户面设备在确定与终端设备关联的第一网关控制面设备故障时选择的网关控制面设备。其中,终端设备对应的第一容灾数据存储在源接入及移动管理设备,可选的,该第一容灾数据还可以备份存储在备份移动接入及移动管理设备,关于源接入及移动管理设备和备份接入及移动管理设备的定义请参照后续实施例的描述,暂不赘述。Among them, the first access and mobility management device can be the source access and mobility management device associated with the terminal device, or, when the terminal device sends a service request, it can be determined that the source access and mobility management device is faulty and reselect The backup access and mobility management device of the device, or, when there is downlink data from the terminal device, the third gateway control plane device is determining the source access and mobility management device failure, randomly selected access and mobility management devices, The third gateway control plane device is the gateway control plane device selected by the gateway user plane device when it determines that the first gateway control plane device associated with the terminal device is faulty. Wherein, the first disaster tolerance data corresponding to the terminal device is stored in the source access and mobility management device. Optionally, the first disaster tolerance data can also be backed up and stored in the backup mobile access and mobility management device. Please refer to the description of the subsequent embodiments for the definitions of the mobility management device and the backup access and mobility management device, and will not be repeated for the time being.
可选的,业务请求可以是在终端设备发送上行数据时所触发的,或者,也可以是存在终端设备的下行数据,通过发送寻呼消息触发终端设备发送业务请求的。Optionally, the service request may be triggered when the terminal device sends uplink data, or it may also be the presence of downlink data of the terminal device, which triggers the terminal device to send the service request by sending a paging message.
第一接入及移动管理设备响应该业务请求,确定用于管理终端设备在网关用户面设备会话的第一网关控制面设备故障,则选择第二网关控制面设备。其中,第一接入及移动管理设备选择第二网关控制面设备的选择方式可以是随机选择的,或者基于特定协议规则选择的。In response to the service request, the first access and mobility management device determines that the first gateway control plane device used to manage the terminal device's session on the gateway user plane device is faulty, and then selects the second gateway control plane device. Wherein, the selection method for the first access and mobility management device to select the second gateway control plane device may be randomly selected or selected based on specific protocol rules.
第一接入及移动管理设备向所选择的第二网关控制面设备发送第一消息,第一消息包括与终端设备对应的第一容灾数据,该第一容灾数据用于第二网关控制面设备根据第一容灾数据恢复终端设备在网关用户面设备的所述会话。The first access and mobility management device sends a first message to the selected second gateway control plane device, the first message includes the first disaster tolerance data corresponding to the terminal device, and the first disaster tolerance data is used for the second gateway control The plane device restores the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
可选的,第一容灾数据可以包括但不限于终端设备的IP地址、终端设备所激活的网关用户面设备等关键数据等等。Optionally, the first disaster tolerance data may include, but is not limited to, key data such as the IP address of the terminal device, the gateway user plane device activated by the terminal device, and so on.
相应的,第二网关控制面设备接收该第一容灾数据,并根据该第一容灾数据恢复终端设备在网关用户面设备的会话。Correspondingly, the second gateway control plane device receives the first disaster tolerance data, and restores the session of the terminal device on the gateway user plane device according to the first disaster tolerance data.
通过实施该实施例,第一接入及移动管理设备存储该终端设备对应的第一容灾数据,不需要额外设置控制面设备用于备份存储第一容灾数据,减少成本,提高资源利用率。并且本申请是第一接入及移动管理设备直接将第一容灾数据发送给新选择的第二网关控制面设备以恢复终端设备在网关用户面设备的会话,不需要额外配置控制节点控制会话恢复,简化了会话恢复的复杂度,在终端设备存在业务需求时,才进行会话恢复,不需要第二控制面设备同时对大量会话进行恢复,提高了会话恢复的可靠性。By implementing this embodiment, the first access and mobility management device stores the first disaster tolerance data corresponding to the terminal device, and there is no need to set up additional control plane devices for backup and storage of the first disaster tolerance data, reducing costs and improving resource utilization. . And this application is that the first access and mobility management device directly sends the first disaster tolerance data to the newly selected second gateway control plane device to restore the terminal device's session on the gateway user plane device, and no additional configuration of the control node to control the session is required. Recovery simplifies the complexity of session recovery. The session recovery is only performed when the terminal device has service requirements, and the second control plane device is not required to recover a large number of sessions at the same time, which improves the reliability of session recovery.
在一种可能的设计中,第一消息可以为创建会话请求或者业务消息,若第一消息为创建会话请求,则第一接入及移动管理设备是模拟终端设备附着流程,通过创建会话请求将第一容灾数据发送给第二网关控制面设备。在第二网关控制面设备完成终端设备在网关用户面设备的会话恢复后,第一接入及移动管理设备再向第二网关控制面设备发送业务消息,以建立网关用户面设备与终端设备关联的接入网设备之间的承载。In a possible design, the first message may be a session creation request or a service message. If the first message is a session creation request, the first access and mobility management device simulates the terminal device attachment process, and the session creation request will The first disaster tolerance data is sent to the second gateway control plane device. After the second gateway control plane device completes the session recovery of the terminal device in the gateway user plane device, the first access and mobility management device sends a service message to the second gateway control plane device to establish the association between the gateway user plane device and the terminal device The bearer between the access network equipment.
若第一消息为业务消息,则第一接入及移动管理设备与第二网关控制面设备之间通过业务消息交互实现将第一容灾数据发送给第二网关控制面设备,该业务消息用于请求第二网关控制面设备建立网关用户面设备与终端设备关联的接入网设备之间的承载。第二网关控制面设备在检测到无该终端设备对应的会话上下文时,先通过第一容灾数据完成终端设备在网关用户面设备的会话恢复后,再控制建立网关用户面设备与终端设备关联的接入网设备之间的承载。If the first message is a business message, the first access and mobility management device and the second gateway control plane device realize the sending of the first disaster tolerance data to the second gateway control plane device through business message interaction, and the business message is used The second gateway control plane device is requested to establish a bearer between the gateway user plane device and the access network device associated with the terminal device. When the second gateway control plane device detects that there is no session context corresponding to the terminal device, it first completes the recovery of the terminal device's session on the gateway user plane device through the first disaster tolerance data, and then controls the establishment of the association between the gateway user plane device and the terminal device. The bearer between the access network equipment.
通过实施该实施例,若第一消息为创建会话请求,可以提高会话恢复的可靠性,若第一消息为业务消息,可以提高业务处理的效率。By implementing this embodiment, if the first message is a session creation request, the reliability of session recovery can be improved, and if the first message is a business message, the efficiency of business processing can be improved.
在一种可能的设计中,第一接入及移动管理设备接收终端设备的业务请求之前,该方法还包括:第一接入及移动管理设备从第三网关控制面设备接收第二消息,该第二消息为网关用户面设备接收到与终端设备对应的下行数据,且确定第一网关控制面设备故障时,触发第三网关控制面设备发送的,第二消息可以包括第一指示信息,第一指示信息用于指示第一接入及移动管理设备向终端设备发送寻呼消息。In a possible design, before the first access and mobility management device receives the service request of the terminal device, the method further includes: the first access and mobility management device receives the second message from the third gateway control plane device, and The second message is sent by the third gateway control plane device when the gateway user plane device receives the downlink data corresponding to the terminal device and determines that the first gateway control plane device is faulty. The second message may include the first indication information. An indication information is used to instruct the first access and mobility management device to send a paging message to the terminal device.
其中,第三网关控制面设备可以是网关用户面设备确定第一网关控制面设备故障时,随机选择的网关控制面设备,或者,基于特定的协议规则所选择的网关控制面设备。The third gateway control plane device may be a gateway control plane device randomly selected when the gateway user plane device determines that the first gateway control plane device is faulty, or a gateway control plane device selected based on a specific protocol rule.
需要说明的是,为了便于第三网关控制面设备确定与终端设备关联的源接入及移动管 理设备,网关用户面设备将源接入及移动管理设备的标识发送至第三网关控制面设备。可选的,源接入及移动管理设备的标识可以是通过寻址信息的方式发送,寻址信息可以包括但不限于源接入及移动管理设备的标识,或者用于表示第一容灾数据的备份存储路径的索引信息等等,例如,所有索引为1的容灾数据的备份存储路径为从接入及移动管理设备A备份至接入及移动管理设备B,通过索引信息也可以确定源接入及移动管理设备。It should be noted that, in order to facilitate the third gateway control plane device to determine the source access and mobility management device associated with the terminal device, the gateway user plane device sends the identification of the source access and mobility management device to the third gateway control plane device. Optionally, the identification of the source access and mobility management device may be sent by way of addressing information, and the addressing information may include but not limited to the identification of the source access and mobility management device, or used to indicate the first disaster tolerance data For example, the backup storage path of all disaster recovery data with index 1 is from the access and mobility management device A to the access and mobility management device B. The source can also be determined by the index information Access and mobile management equipment.
第三网关控制面设备在确定源接入及移动管理设备可用时,向该源接入及移动管理设备发送(该应用场景下,第一接入及移动管理设备为源接入及移动管理设备)第二消息,若确定源接入及移动管理设备故障,则随机选择一个接入及移动管理设备,并向该随机选择的接入及移动管理设备(该应用场景下,第一接入及移动管理设备为随机选择的接入及移动管理设备)发送第二消息。When the third gateway control plane device determines that the source access and mobility management device is available, it sends to the source access and mobility management device (in this application scenario, the first access and mobility management device is the source access and mobility management device). ) The second message, if it is determined that the source access and mobility management device is faulty, an access and mobility management device is randomly selected and sent to the randomly selected access and mobility management device (in this application scenario, the first access and mobility management device The mobility management device is a randomly selected access and mobility management device) sending the second message.
上述源接入及移动管理设备是在终端附着流程中,将该终端设备对应的第一容灾数据存储在的接入及移动管理设备。The aforementioned source access and mobility management device is an access and mobility management device that stores the first disaster tolerance data corresponding to the terminal device in the terminal attachment process.
第一接入及移动管理设备(为源接入及移动管理设备或者随机选择的接入及移动管理设备)根据所述第一指示信息,向终端设备发送寻呼消息,终端设备接收到寻呼消息后,向第一接入及移动管理设备发送业务请求。The first access and mobility management device (the source access and mobility management device or the randomly selected access and mobility management device) sends a paging message to the terminal device according to the first indication information, and the terminal device receives the page After the message, the service request is sent to the first access and mobility management device.
在一种可能的设计中,若上述第一接入及移动管理设备为随机选择的接入及移动管理设备,则该第一接入及移动管理设备未存储第一容灾数据,因此,第三网关控制面设备发送给该第一接入及移动管理设备的第二消息中还包括与第一容灾数据关联的寻址信息,通过该寻址信息可以获取到第一容灾数据的备份存储位置。In a possible design, if the above-mentioned first access and mobility management device is a randomly selected access and mobility management device, the first access and mobility management device does not store the first disaster tolerance data. Therefore, the first access and mobility management device does not store the first disaster tolerance data. The second message sent by the third gateway control plane device to the first access and mobility management device also includes addressing information associated with the first disaster tolerance data, and the backup of the first disaster tolerance data can be obtained through the address information storage location.
第一接入及移动管理设备根据寻址信息,获取终端设备对应的第一容灾数据,其中,该第一容灾数据还包括该终端设备关联的接入网设备的标识。第一接入及移动管理设备可以根据第二消息中的第一指示信息,通过标识所对应的接入网设备向终端设备发送寻呼消息。The first access and mobility management device obtains the first disaster tolerance data corresponding to the terminal device according to the addressing information, where the first disaster tolerance data further includes the identifier of the access network device associated with the terminal device. The first access and mobility management device may send a paging message to the terminal device through the access network device corresponding to the identifier according to the first indication information in the second message.
需要说明的是,在上述实施例中,与第一容灾数据关联的寻址信息预先存储在网关用户面设备中。It should be noted that, in the foregoing embodiment, the addressing information associated with the first disaster tolerance data is pre-stored in the gateway user plane device.
通过实施该实施例,即使在第一网关控制面设备故障时,终端设备对应的下行数据仍然是可以传输至该终端设备。By implementing this embodiment, even when the first gateway control plane device fails, the downlink data corresponding to the terminal device can still be transmitted to the terminal device.
在一种可能的设计中,第一接入及移动管理设备接收终端设备的业务请求之前,终端设备向第一接入及移动管理设备发送附着请求。第一接入及移动管理设备接收该附着请求,并向第一网关控制面设备发送第三消息,该第三消息可以是创建会话请求,第三消息包括第二指示信息和终端设备的标识,第二指示信息用于指示第一网关控制面设备将与终端设备对应的第一容灾数据发送至第一接入及移动管理设备。In a possible design, before the first access and mobility management device receives the service request of the terminal device, the terminal device sends an attachment request to the first access and mobility management device. The first access and mobility management device receives the attachment request, and sends a third message to the first gateway control plane device. The third message may be a session creation request, and the third message includes the second indication information and the identification of the terminal device, The second indication information is used to instruct the first gateway control plane device to send the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device.
相应的,第一网关控制面设备将与该终端设备对应的第一容灾数据发送至第一接入及移动管理设备,第一接入及移动管理设备存储该第一容灾数据。Correspondingly, the first gateway control plane device sends the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device, and the first access and mobility management device stores the first disaster tolerance data.
通过实施该实施例,可以将第一容灾数据存储在第一接入及移动管理设备,不需要额外设置网关控制面设备单独备份存储第一容灾数据,可以节省成本,提高资源利用率。By implementing this embodiment, the first disaster tolerance data can be stored in the first access and mobility management device, and there is no need to separately set up a gateway control plane device to backup and store the first disaster tolerance data separately, which can save costs and improve resource utilization.
在一种可能的设计中,第一接入及移动管理设备还可以将第一容灾数据备份至第二接入及移动管理设备。In a possible design, the first access and mobility management device may also back up the first disaster tolerance data to the second access and mobility management device.
通过实施该实施例,可以在第一接入及移动管理设备故障时,仍然能够寻址到第一容灾数据,完成会话恢复。By implementing this embodiment, when the first access and mobility management device fails, the first disaster tolerance data can still be addressed and session recovery can be completed.
第二方面,本申请实施例提供一种网关设备容灾的方法,应用于第一网关控制面设备,该方法包括:第一网关控制面设备从第一接入及移动管理设备接收第三消息,该第三消息包括第二指示信息和终端设备的标识,该第二指示信息用于指示第一网关控制面设备将与终端设备对应的第一容灾数据发送至第一接入及移动管理设备,第一容灾数据用于在确定第一网关控制面设备故障时恢复终端设备在网关用户面设备的会话。In a second aspect, an embodiment of the present application provides a method for disaster recovery of a gateway device, which is applied to a first gateway control plane device, and the method includes: the first gateway control plane device receives a third message from a first access and mobility management device , The third message includes second indication information and the identification of the terminal device, the second indication information is used to instruct the first gateway control plane device to send the first disaster tolerance data corresponding to the terminal device to the first access and mobility management Device, the first disaster tolerance data is used to restore the session of the terminal device on the gateway user plane device when it is determined that the first gateway control plane device is faulty.
第一网关控制面设备向第一接入及移动管理设备发送第一容灾数据。该第一容灾数据包括但不限于终端设备的IP地址,为该终端设备所激活的网关用户面设备,其中,激活的网关用户面设备是指该网关用户面设备用于转发该终端设备的上行数据或者下行数据。The first gateway control plane device sends the first disaster tolerance data to the first access and mobility management device. The first disaster tolerance data includes, but is not limited to, the IP address of the terminal device, which is the gateway user plane device activated by the terminal device, where the activated gateway user plane device refers to the gateway user plane device used to forward the terminal device Upstream data or downstream data.
通过实施该实施例,第一网关控制面设备将第一容灾数据发送至第一接入及移动管理设备进行存储,可以节省成本,提高资源利用率。By implementing this embodiment, the first gateway control plane device sends the first disaster tolerance data to the first access and mobility management device for storage, which can save costs and improve resource utilization.
在一种可能的设计中,第三消息还可以包括与第一容灾数据关联的寻址信息,寻址信息包括但不限于第一接入及移动管理设备的标识,或者,用于表示第一容灾数据的备份存储路径的索引信息等等,例如,所有索引为1的容灾数据的备份存储路径为从接入及移动管理设备A备份至接入及移动管理设备B,通过索引信息也可以确定源接入及移动管理设备。通过寻址信息不仅可以确定第一接入及移动管理设备,还可以确定用于备份存储第一容灾数据的位置。In a possible design, the third message may also include addressing information associated with the first disaster tolerance data. The addressing information includes, but is not limited to, the identification of the first access and mobility management device, or it is used to indicate the first access and mobility management device. Index information of a backup storage path of disaster tolerance data, etc., for example, the backup storage path of all disaster tolerance data with index 1 is from the access and mobility management device A backed up to the access and mobility management device B, through the index information It is also possible to determine the source access and mobile management equipment. The addressing information can not only determine the first access and mobility management device, but also determine the location for backing up and storing the first disaster recovery data.
第一网关控制面设备向网关用户面设备发送寻址信息和终端设备的标识,当后续网关用户面设备在接收到与终端设备对应的下行数据,且确定第一网关控制面设备故障时,可以向随机选择的第三网关控制面设备发送该寻址信息,以便于获取第一容灾数据。The first gateway control plane device sends addressing information and the identification of the terminal device to the gateway user plane device. When the subsequent gateway user plane device receives downlink data corresponding to the terminal device and determines that the first gateway control plane device is faulty, it may Send the addressing information to a randomly selected third gateway control plane device, so as to obtain the first disaster tolerance data.
通过实施该实施例,预先将寻址信息存在在网关用户面设备,便于网关用户面设备接收到终端设备的下行数据,且确定第一网关控制面设备故障时,仍然能够寻址到第一容灾数据。By implementing this embodiment, the addressing information is stored in the gateway user plane device in advance, so that the gateway user plane device can receive the downlink data of the terminal device, and when it is determined that the first gateway control plane device is faulty, it can still address the first content. Disaster data.
第三方面,本申请实施例提供一种网关设备容灾的方法,应用于第二网关控制面设备,该方法包括:第二网关控制面设备从第一接入及移动管理设备接收第一消息,第一消息为当第一接入及移动管理设备接收到终端设备的业务请求,并确定第一网关控制面设备故障时所触发的,第一消息包括与所述终端设备对应的第一容灾数据,第一网关控制面设备用于管理所述终端设备在网关用户面设备的会话。In a third aspect, an embodiment of the present application provides a method for disaster recovery of a gateway device, which is applied to a second gateway control plane device, and the method includes: the second gateway control plane device receives a first message from a first access and mobility management device The first message is triggered when the first access and mobility management device receives the service request of the terminal device and determines that the first gateway control plane device is faulty, and the first message includes the first content corresponding to the terminal device. For disaster data, the first gateway control plane device is used to manage the session of the terminal device on the gateway user plane device.
所述第二网关控制面设备根据第一容灾数据,恢复终端设备在网关用户面设备的会话。The second gateway control plane device restores the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
通过实施该实施例,可以通过简单的消息交互实现第二网关控制面设备恢复终端设备在网关用户面设备的会话,恢复流程简单。By implementing this embodiment, the second gateway control plane device can resume the session of the terminal device in the gateway user plane device through simple message interaction, and the recovery process is simple.
在一种可能的设计中,第一消息为创建会话请求或者业务消息;业务消息用于请求第二网关控制面设备建立网关用户面设备与终端设备关联的接入网设备之间的承载。具体请参照第一方面实施例的描述,在此不再赘述。In a possible design, the first message is a session creation request or a service message; the service message is used to request the second gateway control plane device to establish a bearer between the gateway user plane device and the access network device associated with the terminal device. For details, please refer to the description of the embodiment of the first aspect, which will not be repeated here.
第四方面,本申请实施例提供了一种接入及移动管理设备,该接入及移动管理设备为第一接入及移动管理设备,该第一接入及移动管理设备可包括多个功能模块或单元,用于相应的执行第一方面所提供的网关设备容灾的方法。In a fourth aspect, the embodiments of the present application provide an access and mobility management device, the access and mobility management device is a first access and mobility management device, and the first access and mobility management device may include multiple functions The module or unit is used to correspondingly execute the method for disaster recovery of the gateway device provided in the first aspect.
第五方面,本申请实施例提供了一种网关控制面设备,该网关控制面设备为第一网关控制面设备,该第一网关控制面设备可包括多个功能模块或单元,用于相应的执行第二方面所提供的网关设备容灾的方法。In a fifth aspect, the embodiments of the present application provide a gateway control plane device. The gateway control plane device is a first gateway control plane device. The first gateway control plane device may include multiple functional modules or units for corresponding Implement the disaster recovery method for gateway equipment provided in the second aspect.
第六方面,本申请实施例提供了一种网关控制面设备,该网关控制面设备为第二网关控制面设备,该第二网关控制面设备可包括多个功能模块或单元,用于相应的执行第三方面所提供的网关设备容灾的方法。In a sixth aspect, embodiments of the present application provide a gateway control plane device. The gateway control plane device is a second gateway control plane device. The second gateway control plane device may include multiple functional modules or units for corresponding Implement the disaster recovery method for gateway equipment provided by the third aspect.
第七方面,本申请实施例提供了一种接入及移动管理设备,该接入及移动管理设备为第一接入及移动管理设备,该第一接入及移动管理设备用于执行第一方面所提供的网关设备容灾的方法。第一接入及移动管理设备可包括:存储器、处理器、发射器、接收器,其中:发射器和接收器用于与其他通信设备通信。存储器用于存储第一方面所提供的网关设备容灾的方法的实现代码,处理器用于执行存储器中存储的程序代码,即执行第一方面所提供的网关设备容灾的方法。In a seventh aspect, the embodiments of the present application provide an access and mobility management device. The access and mobility management device is a first access and mobility management device, and the first access and mobility management device is used to execute the first access and mobility management device. Disaster recovery method for gateway equipment provided by the aspect. The first access and mobility management device may include: a memory, a processor, a transmitter, and a receiver, where the transmitter and the receiver are used to communicate with other communication devices. The memory is used to store the implementation code of the gateway device disaster tolerance method provided in the first aspect, and the processor is used to execute the program code stored in the memory, that is, to execute the gateway device disaster tolerance method provided in the first aspect.
第八方面,本申请实施例提供了一种网关控制面设备,该网关控制面设备为第一网关控制面设备,用于执行第二方面所提供的网关设备容灾的方法。第一网关控制面设备可包括:存储器、处理器、发射器、接收器,其中:发射器和接收器用于与其他通信设备通信。存储器用于存储第二方面所提供的网关设备容灾的实现代码,处理器用于执行存储器中存储的程序代码,即执行第二方面所提供的网关设备容灾的方法。In an eighth aspect, an embodiment of the present application provides a gateway control plane device, the gateway control plane device is a first gateway control plane device, and is used to execute the gateway device disaster recovery method provided in the second aspect. The first gateway control plane device may include: a memory, a processor, a transmitter, and a receiver, where the transmitter and the receiver are used to communicate with other communication devices. The memory is used to store the implementation code of the gateway device disaster tolerance provided in the second aspect, and the processor is used to execute the program code stored in the memory, that is, to execute the gateway device disaster tolerance method provided in the second aspect.
第九方面,本申请实施例提供了一种网关控制面设备,该网关控制面设备为第二网关控制面设备,用于执行第三方面所提供的网关设备容灾的方法。第二网关控制面设备可包括:存储器、处理器、发射器、接收器,其中:发射器和接收器用于与其他通信设备通信。存储器用于存储第三方面所提供的网关设备容灾的实现代码,处理器用于执行存储器中存储的程序代码,即执行第三方面所提供的网关设备容灾的方法。In a ninth aspect, an embodiment of the present application provides a gateway control plane device, the gateway control plane device is a second gateway control plane device, and is used to execute the gateway device disaster recovery method provided in the third aspect. The second gateway control plane device may include: a memory, a processor, a transmitter, and a receiver, where the transmitter and the receiver are used to communicate with other communication devices. The memory is used to store the implementation code of the gateway device disaster tolerance provided in the third aspect, and the processor is used to execute the program code stored in the memory, that is, to execute the gateway device disaster tolerance method provided in the third aspect.
第十方面,本申请实施例提供了一种通信系统,通信系统包括:第一接入及移动管理设备、第一网关控制面设备以及第二网关控制面设备。其中:In a tenth aspect, an embodiment of the present application provides a communication system. The communication system includes: a first access and mobility management device, a first gateway control plane device, and a second gateway control plane device. among them:
第一接入及移动管理设备可以是上述第四方面描述的接入及移动管理设备,也可以是上述第七方面描述的接入及移动管理设备。The first access and mobility management device may be the access and mobility management device described in the fourth aspect, or the access and mobility management device described in the seventh aspect.
第一网关控制面设备可以是上述第五方面描述的网关控制面设备,也可以是上述第八方面描述的网关控制面设备。The first gateway control plane device may be the gateway control plane device described in the foregoing fifth aspect, or may be the gateway control plane device described in the foregoing eighth aspect.
第二网关控制面设备可以是上述第六方面描述的网关控制面设备,也可以是上述第九方面描述的网关控制面设备。The second gateway control plane device may be the gateway control plane device described in the foregoing sixth aspect, or may be the gateway control plane device described in the foregoing ninth aspect.
第十一方面,本申请提供了一种通信芯片,该通信芯片可包括:处理器,以及耦合于所述处理器的一个或多个接口。其中,所述处理器可用于从存储器中调用第一方面至第三方面任一方面所提供的网关设备容灾的方法的实现程序,并执行该程序包含的指令。所述接口可用于输出所述处理器的数据处理结果,或者从存储器获取所述实现程序。In an eleventh aspect, the present application provides a communication chip. The communication chip may include a processor and one or more interfaces coupled to the processor. Wherein, the processor can be used to call the implementation program of the gateway device disaster tolerance method provided by any aspect of the first aspect to the third aspect from the memory, and execute the instructions contained in the program. The interface may be used to output the data processing result of the processor, or to obtain the implementation program from the memory.
第十二方面,本申请实施例提供了一种计算机可读存储介质,可读存储介质上存储有指令,当其在处理器上运行时,使得处理器执行上述第一方面至第三方面任一方面描述的网关设备容灾的方法。In the twelfth aspect, the embodiments of the present application provide a computer-readable storage medium with instructions stored on the readable storage medium, which when run on a processor, cause the processor to execute any of the above-mentioned first to third aspects. On the one hand, a method for disaster recovery of a gateway device is described.
第十三方面,本申请实施例提供了一种包含指令的计算机程序产品,当其在处理器上 运行时,使得处理器执行上述第一方面至第三方面任一方面描述的网关设备容灾的方法。In a thirteenth aspect, the embodiments of the present application provide a computer program product containing instructions that, when run on a processor, cause the processor to execute the gateway device disaster recovery described in any one of the first to third aspects. Methods.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或背景技术中的技术方案,下面将对本申请实施例或背景技术中所需要使用的附图进行说明。In order to more clearly illustrate the technical solutions in the embodiments of the present application or the background art, the following will describe the drawings that need to be used in the embodiments of the present application or the background art.
图1是本申请实施例提供的无线通信系统的架构示意图;FIG. 1 is a schematic diagram of the architecture of a wireless communication system provided by an embodiment of the present application;
图2是本申请实施例提供的一种可选的系统架构图;Figure 2 is an optional system architecture diagram provided by an embodiment of the present application;
图3是本申请实施例提供的另一种可选的系统架构图;Figure 3 is another optional system architecture diagram provided by an embodiment of the present application;
图4是本申请实施例提供的一种网关设备容灾的方法示意图;FIG. 4 is a schematic diagram of a method for disaster recovery of a gateway device according to an embodiment of the present application;
图5是本申请实施例提供的一种容灾数据搜集流程示意图;FIG. 5 is a schematic diagram of a disaster tolerance data collection process provided by an embodiment of the present application;
图6是本申请实施例提供的一种下行数据传输寻呼流程图;FIG. 6 is a flow chart of a downlink data transmission paging provided by an embodiment of the present application;
图7是本申请实施例提供的一种可选的容灾数据搜集场景图;FIG. 7 is a diagram of an optional disaster recovery data collection scenario provided by an embodiment of the present application;
图8是本申请实施例提供的一种网关设备容灾的场景图;FIG. 8 is a scene diagram of a gateway device disaster tolerance provided by an embodiment of the present application;
图9是本申请实施例提供的一种下行数据传输寻呼场景图;FIG. 9 is a diagram of a paging scene for downlink data transmission provided by an embodiment of the present application;
图10是本申请实施例提供的一种接入及移动管理设备的功能框图;FIG. 10 is a functional block diagram of an access and mobility management device provided by an embodiment of the present application;
图11是本申请实施例提供的一种接入及移动管理设备的硬件结构示意图;FIG. 11 is a schematic diagram of the hardware structure of an access and mobility management device provided by an embodiment of the present application;
图12是本申请实施例提供的一种网关控制面设备的功能框图;FIG. 12 is a functional block diagram of a gateway control plane device provided by an embodiment of the present application;
图13是本申请实施例提供的一种网关控制面的硬件结构示意图;FIG. 13 is a schematic diagram of the hardware structure of a gateway control plane provided by an embodiment of the present application;
图14是本申请实施例提供的另一种网关控制面设备的功能框图;FIG. 14 is a functional block diagram of another gateway control plane device provided by an embodiment of the present application;
图15是本申请实施例提供的另一种网关控制面的硬件结构示意图;15 is a schematic diagram of the hardware structure of another gateway control plane provided by an embodiment of the present application;
图16是本申请实施例提供的一种通信芯片的结构示意图。FIG. 16 is a schematic structural diagram of a communication chip provided by an embodiment of the present application.
具体实施方式detailed description
本申请的实施方式部分使用的术语仅用于对本申请的具体实施例进行解释,而非旨在限定本申请。The terminology used in the implementation mode part of this application is only used to explain the specific embodiments of this application, and is not intended to limit this application.
本申请实施例中的第一接入及移动管理设备、第二接入及移动管理设备以及第三接入及移动管理设备可以包括但不限于移动管理实体(Mobility Management Entity,MME),以及5G通信系统中的接入及移动性管理实体(access and mobility management function,AMF)等等。本申请实施例中的实体可以理解为硬件设备。The first access and mobility management device, the second access and mobility management device, and the third access and mobility management device in the embodiments of this application may include, but are not limited to, a mobility management entity (MME), and 5G Access and mobility management function (AMF) in the communication system and so on. The entities in the embodiments of the present application may be understood as hardware devices.
本申请实施例的第一网关控制面设备、第二网关控制面设备、第三网关控制面设备包括但不限于控制面PDN网关(PDN Gateway for Control plane,PGW-C)、控制面服务网关(Serving Gateway for Control plane,SGW-C),以及5G通信系统中的会话管理功能实体(session management function,SMF等等,本申请实施例对此不作限定。The first gateway control plane device, the second gateway control plane device, and the third gateway control plane device in the embodiments of this application include but are not limited to the control plane PDN gateway (PDN Gateway for Control plane, PGW-C), the control plane service gateway ( Serving Gateway for Control plane, SGW-C), and session management function entities (session management function, SMF, etc.) in the 5G communication system, which are not limited in this embodiment of the application.
本申请实施例的网关用户面设备包括但不限于用户面PDN网关(PDN Gateway for User plane,PGW-U)、用户面服务网关(Serving Gateway for User plane,SGW-U),以及5G通信系统中的(user plane function,UPF)用户面功能实体等等。The gateway user plane equipment in the embodiments of this application includes but is not limited to user plane PDN gateway (PDN Gateway for User plane, PGW-U), user plane service gateway (Serving Gateway for User plane, SGW-U), and 5G communication systems (User plane function, UPF) user plane function entities and so on.
本申请实施例的网关控制面设备可以包括一个设备或者多个设备的集合,例如,一个网关控制面设备可以包括PGW-C和SGW-C,或者一个网关控制面设备可以包括SMF等等。The gateway control plane device in the embodiment of the present application may include one device or a collection of multiple devices. For example, one gateway control plane device may include PGW-C and SGW-C, or one gateway control plane device may include SMF and so on.
本申请实施例的网关用户面设备可以包括一个设备或者多个设备的集合,例如,一个网关用户面设备可以包括PGW-U和SGW-U,或者一个网关用户面设备可以包括UPF等等。The gateway user plane device in the embodiment of the present application may include one device or a collection of multiple devices. For example, one gateway user plane device may include PGW-U and SGW-U, or one gateway user plane device may include UPF and so on.
本申请实施例所提及的源接入及移动管理设备可以是指在终端附着流程中,所确定的接入及移动管理设备,该源接入及移动管理设备存储了该终端设备对应的第一容灾数据。本申请实施例的备份接入及移动管理设备可以是指用于备份存储第一容灾数据的接入及移动管理设备。源接入及移动管理设备与备份接入及移动管理设备之间存在对应关系,通过源接入及移动管理设备的标识可以寻址到备份接入及移动管理设备。The source access and mobility management device mentioned in the embodiment of this application may refer to the determined access and mobility management device in the terminal attachment process, and the source access and mobility management device stores the first access and mobility management device corresponding to the terminal device. 1. Disaster recovery data. The backup access and mobility management device in the embodiment of the present application may refer to an access and mobility management device used to backup and store the first disaster tolerance data. There is a corresponding relationship between the source access and mobility management device and the backup access and mobility management device, and the backup access and mobility management device can be addressed through the identification of the source access and mobility management device.
本申请实施例的第一、第二以及第三是为了区分相同场景下的不同对象,在不同场景下的不同对象可能具有相同的名称,比如,在应用场景一,源接入及移动管理设备被称为第一接入及移动管理设备,在应用场景二,备份接入及移动管理设备被称为第一接入及移动管理设备等等。The first, second, and third embodiments of this application are to distinguish different objects in the same scene. Different objects in different scenes may have the same name. For example, in application scenario 1, source access and mobile management equipment It is called the first access and mobility management device. In the second application scenario, the backup access and mobility management device is called the first access and mobility management device and so on.
本申请实施例所提及的与终端设备关联的第一网关控制面设备可以是指用于管理该终端设备在网关用户面设备会话的设备。The first gateway control plane device associated with the terminal device mentioned in the embodiment of the present application may refer to a device used to manage the terminal device's session on the gateway user plane device.
本申请实施例所提及的与终端设备关联的网关用户面设备可以是指用于转发该终端设备对应的上行数据或者下行数据的设备。The gateway user plane device associated with the terminal device mentioned in the embodiment of the present application may refer to a device for forwarding uplink data or downlink data corresponding to the terminal device.
本申请实施例中所提及的与终端设备关联的接入网设备可以是指该终端设备在该接入网设备下的小区内。The access network device associated with the terminal device mentioned in the embodiment of the present application may refer to the terminal device in a cell under the access network device.
参见图1,是本申请实施例提供的无线通信系统的架构示意图。该无线通信系统100包括但不限于:终端设备101、接入网(access network,AN)设备102、网关用户面设备103、网关控制面设备104、接入及移动管理设备105和数据网(data network,DN)设备106。其中,Refer to FIG. 1, which is a schematic diagram of the architecture of a wireless communication system provided by an embodiment of the present application. The wireless communication system 100 includes, but is not limited to: terminal equipment 101, access network (access network, AN) equipment 102, gateway user plane equipment 103, gateway control plane equipment 104, access and mobility management equipment 105, and data network (data network, DN) device 106. among them,
终端设备101也可以称为用户设备、移动台、接入终端、用户单元、用户站、移动站、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置等。终端设备可以是手持用户设备、笔记本电脑、用户单元(subscriber unit)、蜂窝电话(cellular phone)、智能电话(smart phone)、无线数据卡、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、车载设备、可穿戴设备以及未来5G网络中的移动台或者未来演进的公共陆地移动网(public land mobile network,PLMN)网络中的终端设备等。终端设备101与接入网设备102之间采用某种空口技术相互通信。The terminal device 101 may also be referred to as user equipment, mobile station, access terminal, user unit, user station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device, etc. . The terminal device can be a handheld user equipment, a notebook computer, a subscriber unit, a cellular phone, a smart phone, a wireless data card, a personal digital assistant (PDA), and wireless communication. Functional handheld devices, in-vehicle devices, wearable devices, mobile stations in the future 5G network or terminal devices in the future evolved public land mobile network (PLMN) network, etc. The terminal device 101 and the access network device 102 communicate with each other using a certain air interface technology.
接入网设备102主要负责空口侧的无线资源管理、服务质量(quality of service,QoS)管理、数据压缩和加密等功能。接入网设备102可以包括各种形式的接入网设备,例如:宏基站,微基站(也称为小站),中继站,接入点等。在采用不同的无线接入技术的系统中,接入网设备的名称可能会有所不同,例如,在5G通信系统中,称为下一代节点(next-generation Node B,gNB);在长期演进(long term evolution,LTE)系统中,称为演进的节点B(evolved NodeB,eNB或者eNodeB);在第三代(3rd Generation,3G)系统中,称为节点B(Node B)等。The access network device 102 is mainly responsible for functions such as radio resource management, quality of service (QoS) management, data compression, and encryption on the air interface side. The access network equipment 102 may include various forms of access network equipment, such as: a macro base station, a micro base station (also referred to as a small station), a relay station, and an access point. In systems using different wireless access technologies, the names of access network devices may be different. For example, in 5G communication systems, they are called next-generation Node B (gNB); in the long-term evolution In a long term evolution (LTE) system, it is called an evolved NodeB (evolved NodeB, eNB or eNodeB); in a third generation (3rd Generation, 3G) system, it is called a Node B (Node B), etc.
网关用户面设备103,用于接收来自终端设备101的数据包,并进行数据包的转发。网关用户面设备103可以包括各种形式的用户面设备,包括但不限于用户面PDN网关(PDN  Gateway for User plane,PGW-U)、用户面服务网关(Serving Gateway for User plane,SGW-U),以及5G通信系统中的(user plane function,UPF)用户面功能实体等等。The gateway user plane device 103 is used for receiving data packets from the terminal device 101 and forwarding the data packets. The gateway user plane device 103 may include various forms of user plane devices, including but not limited to user plane PDN gateway (PDN Gateway for User plane, PGW-U), user plane service gateway (Serving Gateway for User plane, SGW-U) , And the (user plane function, UPF) user plane function entity in the 5G communication system, etc.
网关控制面设备104,用于管理用户的分组数据单元(packet data unit,PDU)会话的创建、删除等,维护PDU会话上下文及用户面转发管理通道信息。网关控制面设备可以包括各种形式的控制面设备,包括但不限于控制面PDN网关(PDN Gateway for Control plane,PGW-C)、控制面服务网关(Serving Gateway for Control plane,SGW-C),以及5G通信系统中的会话管理功能实体(session management function,SMF)。The gateway control plane device 104 is used to manage the creation and deletion of a packet data unit (PDU) session of the user, and maintain the PDU session context and user plane forwarding management channel information. Gateway control plane devices may include various forms of control plane devices, including but not limited to PDN Gateway for Control plane (PGW-C) and Serving Gateway for Control plane (SGW-C), And the session management function entity (session management function, SMF) in the 5G communication system.
接入及移动管理设备105,用于进行接入和移动性管理,与接入网设备102、网关控制面设备104等网元进行交互以及信令转发。接入及移动管理设备包括但不限于LTE系统中的移动管理实体(Mobility Management Entity,MME),以及5G通信系统中的接入及移动性管理实体等等。The access and mobility management device 105 is used to perform access and mobility management, interact with network elements such as the access network device 102 and the gateway control plane device 104, and forward signaling. Access and mobility management equipment includes, but is not limited to, the mobility management entity (MME) in the LTE system, and the access and mobility management entity in the 5G communication system.
数据网设备106用于为用户提供各类服务(例如网络接入、运营商服务等)。例如,数据网设备106可以为服务器。The data network equipment 106 is used to provide users with various services (for example, network access, operator services, etc.). For example, the data network device 106 may be a server.
数据网络的类型包括但不限于:因特网(Internet)、互联网协议多媒体子系统(Internet protocol multimedia subsystem,IMS)。Types of data networks include, but are not limited to: Internet, Internet protocol multimedia subsystem (IMS).
上述无线通信系统100中,终端设备101与接入网设备102之间通过无线接口进行通信,终端设备101与接入及移动性管理设备105也可以采用无线接口进行通信。In the above-mentioned wireless communication system 100, the terminal device 101 and the access network device 102 communicate through a wireless interface, and the terminal device 101 and the access and mobility management device 105 may also communicate through a wireless interface.
可选的,请参照图2和图3所示,为本申请提出的两种可选的详细网络架构图,如图2所示,PGW-U和SGW-U可以对应于图1中的网关用户面设备,PGW-C和SGW-C可以对应于图1中的网关控制面设备。MME可以对应于图1中的接入及移动管理设备,E-UTRAN可以对应于图1中的接入网设备。Optionally, please refer to Figure 2 and Figure 3 for the two optional detailed network architecture diagrams proposed for this application. As shown in Figure 2, PGW-U and SGW-U can correspond to the gateway in Figure 1 The user plane equipment, PGW-C and SGW-C may correspond to the gateway control plane equipment in FIG. 1. The MME may correspond to the access and mobility management equipment in FIG. 1, and the E-UTRAN may correspond to the access network equipment in FIG. 1.
如图3所示,UPF可以对应于图1中的网关用户面设备,SMF可以对应于图1中的网关控制面设备,AMF可以对应于图1中的接入及移动管理设备,RAN可以对应于图1中的接入网设备。As shown in Figure 3, UPF can correspond to the gateway user plane device in Figure 1, SMF can correspond to the gateway control plane device in Figure 1, AMF can correspond to the access and mobility management device in Figure 1, RAN can correspond to Access network equipment in Figure 1.
需要说明的是,图1至图3只是为了表明各个设备之间的通信连接关系,各设备之间的通信接口分别如图2-图3所示。可以理解的是,在实际应用场景中,各个设备的数量可以包括一个或者多个,例如,可以包括一个或者多个网关控制面设备,一个或者多个接入及移动管理设备,一个或者多个网关用户面设备等等,本申请实施例不作限定。It should be noted that FIGS. 1 to 3 are only to illustrate the communication connection relationship between the devices, and the communication interfaces between the devices are as shown in FIGS. 2 to 3 respectively. It is understandable that in actual application scenarios, the number of each device may include one or more, for example, it may include one or more gateway control plane devices, one or more access and mobility management devices, one or more Gateway user plane devices, etc., are not limited in the embodiment of the present application.
基于前述无线通信系统100中的各个设备,本申请实施例提供了一种网关设备容灾的方法。如图4所示,该方法包括但不限于如下步骤。Based on each device in the aforementioned wireless communication system 100, an embodiment of the present application provides a method for disaster recovery of a gateway device. As shown in Figure 4, the method includes but is not limited to the following steps.
S301:第一接入及移动管理设备接收终端设备的业务请求;S301: The first access and mobility management device receives the service request of the terminal device;
本申请实施例中,第一接入及移动管理设备可以是与终端设备关联的源接入及移动管理设备,或者,也可以是在终端设备发送业务请求时,确定源接入及移动管理设备故障,重新选择的备份接入及移动管理设备。或者第一接入及移动管理设备也可以是当存在终端设备的下行数据时,第三网关控制面设备在确定源接入及移动管理设备故障,随机选择的接入及移动管理设备。其中,第三网关控制面设备是,网关用户面设备在确定与终端设备关联的第一网关控制面设备故障时选择的网关控制面设备。In the embodiment of the present application, the first access and mobility management device may be the source access and mobility management device associated with the terminal device, or it may be the source access and mobility management device that is determined when the terminal device sends a service request Failure, re-selected backup access and mobile management equipment. Or the first access and mobility management device may also be a randomly selected access and mobility management device when the third gateway control plane device determines that the source access and mobility management device is faulty when there is downlink data from the terminal device. The third gateway control plane device is the gateway control plane device selected by the gateway user plane device when it determines that the first gateway control plane device associated with the terminal device is faulty.
其中,终端设备对应的第一容灾数据存储在源接入及移动管理设备,可选的,该第一容灾数据还可以备份存储在备份移动接入及移动管理设备。具体第一容灾数据存储在源接入及移动管理设备的处理过程请参照图5实施例的描述,在此暂不赘述。The first disaster tolerance data corresponding to the terminal device is stored in the source access and mobility management device. Optionally, the first disaster tolerance data may also be backed up and stored in the backup mobile access and mobility management device. For the specific processing process of storing the first disaster tolerance data in the source access and mobility management device, please refer to the description of the embodiment in FIG. 5, which will not be repeated here.
通常,接入网设备与网关用户面设备之间的接口被释放,若终端设备发送上行数据,或者存在发送给终端设备的下行数据,用于管理该终端设备在网关用户面设备会话的网关控制面设备,重新建立接入网设备与网关用户面设备之间的承载,其中,终端设备发送业务请求(Service Request,SR),该业务请求用于触发重新建立接入网设备与网关用户面设备之间的承载。Generally, the interface between the access network device and the gateway user plane device is released. If the terminal device sends uplink data, or there is downlink data sent to the terminal device, it is used to manage the gateway control of the terminal device’s session on the gateway user plane device. Re-establish the bearer between the access network device and the gateway user plane device, where the terminal device sends a Service Request (SR), which is used to trigger the re-establishment of the access network device and the gateway user plane device Bearer between.
具体可选的,下面以两种可选的实施方式分别阐述,终端设备发送上行数据和存在发送给终端设备的下行数据两种情况下触发终端设备发送业务请求的具体处理流程:Specifically optional, the following two optional implementation manners are separately described. The specific processing flow of triggering the terminal device to send the service request in the presence of uplink data sent by the terminal device and downlink data sent to the terminal device:
第一种可选的实施方式,若终端设备发送上行数据,即向与该终端设备关联的源接入及移动管理设备发送业务请求,相应的,源接入及移动管理设备(在该应用场景下,第一接入及移动管理设备为源接入及移动管理设备)接收终端设备的业务请求,并对该业务请求进行响应。可选的,若与该终端设备关联的源接入及移动管理设备故障,则可以选择用于备份存储该终端设备对应的第一容灾数据的备份接入及移动管理设备,并向备份接入及移动管理设备(在该应用场景下,第一接入及移动管理设备为备份接入及移动管理设备)发送业务请求,相应的,备份接入及移动管理设备接收终端设备的业务请求,并对该业务请求进行响应。In the first optional implementation manner, if a terminal device sends uplink data, it sends a service request to the source access and mobility management device associated with the terminal device. Correspondingly, the source access and mobility management device (in this application scenario) Next, the first access and mobility management device (the source access and mobility management device) receives the service request of the terminal device and responds to the service request. Optionally, if the source access and mobility management device associated with the terminal device fails, you can select the backup access and mobility management device for backing up and storing the first disaster tolerance data corresponding to the terminal device, and connect to the backup The access and mobility management device (in this application scenario, the first access and mobility management device is the backup access and mobility management device) sends a service request, and correspondingly, the backup access and mobility management device receives the service request of the terminal device, And respond to the business request.
第二种可选的实施方式,若存在发送给终端设备的下行数据,比如给终端设备的微信应用发送消息,该消息首先被传输到与该终端设备关联的网关用户面设备,由于网关用户面设备与接入网设备之间的接口释放,因此,网关用户面设备向用于管理该终端设备在网关用户面设备会话的网关控制面设备发送业务消息,以触发该网关控制面设备控制建立该网关用户面设备与接入网设备之间的承载。具体可选的,请参照图6所示,为本申请实施例提供的一种下行数据传输处理流程图,包括但不限于步骤S51-S53;In the second optional implementation manner, if there is downlink data sent to the terminal device, such as sending a message to the WeChat application of the terminal device, the message is first transmitted to the gateway user plane device associated with the terminal device. The interface between the device and the access network device is released. Therefore, the gateway user plane device sends a service message to the gateway control plane device used to manage the terminal device’s session on the gateway user plane device to trigger the gateway control plane device to control the establishment of the The bearer between the gateway user plane device and the access network device. For specific options, please refer to FIG. 6, which is a flow chart of downlink data transmission processing provided in this embodiment of the application, including but not limited to steps S51-S53;
S51,网关用户面设备接收到终端设备的下行数据,确定第一控制面设备故障,发送与第一容灾数据关联的寻址信息给第三网关控制面设备;S51: The gateway user plane device receives the downlink data of the terminal device, determines that the first control plane device is faulty, and sends addressing information associated with the first disaster tolerance data to the third gateway control plane device;
其中,第一控制面设备用于管理终端设备在网关用户面设备的会话,当网关用户面设备确定第一控制面设备故障时,可以重新选择一个网关控制面设备,比如第三网关控制面设备,选择方式可以是随机选择,或者基于特定的协议规则进行选择等等,本申请实施例不作限定。可选的,网关用户面设备确定第一网关控制面设备故障的确定方式可以是,该网关用户面设备向第一网关控制面设备发送多次请求消息,该第一网关控制面设备均未响应,则确定第一网关控制面设备故障。The first control plane device is used to manage the session of the terminal device on the gateway user plane device. When the gateway user plane device determines that the first control plane device is faulty, it can reselect a gateway control plane device, such as the third gateway control plane device The selection method may be random selection, or selection based on specific protocol rules, etc., which is not limited in the embodiment of the present application. Optionally, the way for the gateway user plane device to determine that the first gateway control plane device is faulty may be that the gateway user plane device sends multiple request messages to the first gateway control plane device, and none of the first gateway control plane device responds. , It is determined that the control plane device of the first gateway is faulty.
为了便于第三网关控制面设备确定与终端设备关联的源接入及移动管理设备,或者在源接入及移动管理设备故障时,寻址到该终端设备对应的第一容灾数据,以恢复终端设备在网关用户面设备的会话,网关用户面设备会将寻址信息发送给第三网关控制面设备,寻址信息包括但不限于源接入及移动管理设备的标识或者用于表示第一容灾数据的备份存储路径的索引信息,例如,所有索引为1的容灾数据的备份存储路径为从接入及移动管理设备A备份至接入及移动管理设备B等等,通过索引信息不仅可以确定源接入及移动管理设 备,还可以确定备份接入及移动管理设备。需要说明的是,本申请实施例可以是通过图5实施例中的步骤S43预先将寻址信息存储在该网关用户面设备中。In order to facilitate the third gateway control plane device to determine the source access and mobility management device associated with the terminal device, or when the source access and mobility management device fails, address the first disaster tolerance data corresponding to the terminal device to recover For the session of the terminal device on the gateway user plane device, the gateway user plane device will send addressing information to the third gateway control plane device. The addressing information includes but not limited to the identity of the source access and mobility management device or is used to indicate the first The index information of the backup storage path of disaster tolerance data. For example, the backup storage path of all disaster tolerance data with index 1 is from the backup of the access and mobility management device A to the access and mobility management device B, etc., through the index information not only The source access and mobile management equipment can be determined, and the backup access and mobile management equipment can also be determined. It should be noted that, in the embodiment of the present application, the addressing information may be stored in the gateway user plane device in advance through step S43 in the embodiment of FIG. 5.
S52,第三网关控制面设备向第一接入及移动管理设备发送第二消息,所述第二消息包括第一指示信息,所述第一指示信息用于指示所述第一接入及移动管理设备向所述终端设备发送寻呼消息;S52. The third gateway control plane device sends a second message to the first access and mobility management device, where the second message includes first indication information, and the first indication information is used to indicate the first access and mobility The management device sends a paging message to the terminal device;
S53,所述第一接入及移动管理设备从第三网关控制面设备接收第二消息,根据所述第一指示信息,向所述终端设备发送寻呼消息,所述寻呼消息用于触发所述终端设备发送所述业务请求。S53. The first access and mobility management device receives a second message from a third gateway control plane device, and sends a paging message to the terminal device according to the first indication information, where the paging message is used to trigger The terminal device sends the service request.
相应的,第三网关控制面设备接收寻址信息,并通过该寻址信息可以获知该终端设备对应的源接入及移动管理设备,第三网关控制面设备先判断源接入及移动管理设备是否可用,若在确定源接入及移动管理设备可用的情况下,向该源接入及移动管理设备发送第二消息,该第二消息中包含第一指示信息,该第一指示信息用于指示该源接入及移动管理设备向终端设备发送寻呼消息。相应的,源接入及移动管理设备接收该第二消息,进一步的,该源接入及移动管理设备检测到存在该终端设备对应的会话上下文,因此该第一接入及移动管理设备预先存储了该终端设备所关联的接入网设备的标识,第一接入及移动管理设备可以根据第一指示信息,直接通过所存储的该终端设备所关联的接入网设备向终端设备发送寻呼消息。终端设备接收到寻呼消息后,向源接入及移动管理设备(在该应用场景下,第一接入及移动管理设备为源接入及移动管理设备)发送业务请求。Correspondingly, the third gateway control plane device receives the addressing information, and can learn the source access and mobility management equipment corresponding to the terminal device through the addressing information, and the third gateway control plane device first determines the source access and mobility management equipment Whether it is available, if it is determined that the source access and mobility management device is available, a second message is sent to the source access and mobility management device. The second message contains the first indication information, and the first indication information is used for Instruct the source access and mobility management device to send a paging message to the terminal device. Correspondingly, the source access and mobility management device receives the second message, and further, the source access and mobility management device detects that there is a session context corresponding to the terminal device, so the first access and mobility management device pre-stores With the identification of the access network device associated with the terminal device, the first access and mobility management device can directly send a page to the terminal device through the stored access network device associated with the terminal device according to the first indication information news. After receiving the paging message, the terminal device sends a service request to the source access and mobility management device (in this application scenario, the first access and mobility management device is the source access and mobility management device).
可选的,第三网关控制面设备若确定源接入及移动管理设备故障,则可以随机选择一个接入及移动管理设备,并将寻址信息和第一指示信息发送给该随机选择的接入及移动管理设备,以便于该随机选择的接入及移动管理设备在检测到无该终端设备对应的会话上下文时,通过寻址信息获取到第一容灾数据的备份存储位置,并从备份存储位置获取到第一容灾数据。第一容灾数据还包含该终端设备所关联的接入网设备的标识,该随机选择的接入及移动管理设备通过该接入网设备向终端设备发送寻呼消息。Optionally, if the third gateway control plane device determines that the source access and mobility management device is faulty, it can randomly select an access and mobility management device, and send the addressing information and the first indication information to the randomly selected access device. Access and mobility management equipment, so that when the randomly selected access and mobility management device detects that there is no session context corresponding to the terminal device, it can obtain the backup storage location of the first disaster tolerance data through the addressing information, and obtain the backup storage location from the backup The storage location obtains the first disaster recovery data. The first disaster tolerance data also includes the identifier of the access network device associated with the terminal device, and the randomly selected access and mobility management device sends a paging message to the terminal device through the access network device.
终端设备接收到寻呼消息后,向该随机选择的接入及移动管理设备(在该应用场景下,第一接入及移动管理设备为随机选择的接入及移动管理设备)发送业务请求。After receiving the paging message, the terminal device sends a service request to the randomly selected access and mobility management device (in this application scenario, the first access and mobility management device is the randomly selected access and mobility management device).
所述第一接入及移动管理设备(源接入及移动管理设备或者随机选择的接入及移动管理设备)接收到终端设备的业务请求后,确定用于管理该终端设备在网关用户面设备会话的第一网关控制面设备故障,则选择第二网关控制面设备,并向第二网关控制面设备发送第一消息,该第一消息包括与终端设备对应的第一容灾数据,第二网关控制面设备根据第一容灾数据恢复终端设备在网关用户面设备的会话。(具体请参照S302-S304的描述,在此不赘述)After the first access and mobility management device (the source access and mobility management device or the randomly selected access and mobility management device) receives the service request of the terminal device, it is determined to be used for managing the terminal device in the gateway user plane device If the first gateway control plane device of the conversation fails, the second gateway control plane device is selected, and a first message is sent to the second gateway control plane device. The first message includes the first disaster tolerance data corresponding to the terminal device, and the second The gateway control plane device restores the session of the terminal device on the gateway user plane device according to the first disaster tolerance data. (For details, please refer to the description of S302-S304, which will not be repeated here)
当第二网关控制面设备恢复终端设备在网关用户面设备的会话后,该第二网关控制面设备控制建立终端设备关联的接入网设备与网关用户面设备之间的承载,网关用户面设备即可将上述与终端设备对应的下行数据通过所建立的承载传输至终端设备,从而实现即使在第一网关控制面设备故障场景下,仍然能够将终端设备的下行数据传输至该终端设备。When the second gateway control plane device resumes the session of the terminal device with the gateway user plane device, the second gateway control plane device controls the bearer between the access network device associated with the terminal device and the gateway user plane device, and the gateway user plane device That is, the aforementioned downlink data corresponding to the terminal device can be transmitted to the terminal device through the established bearer, so that the downlink data of the terminal device can still be transmitted to the terminal device even in a scenario where the first gateway control plane device fails.
可选的,本实施例的第一接入及移动管理设备可以包括AMF,第一网关控制面设备可以包括SMF,网关用户面设备可以包括UPF,或者,第一接入及移动管理设备可以包括MME, 第一网关控制面设备可以包括SGW-C和PGW-C,网关用户面设备可以包括SGW-U和PGW-U,请参照图9,本申请实施例举例说明,对下行数据传输流程中的寻呼过程以及触发终端设备发送业务请求的流程进行说明,两个数据中心DC1和DC2中都部署了MME、SGW-C、PGW-C等设备,用户面设备SGW-U、PGW-U位于靠近用户的位置(例如用户所在的省份),本实施例包括如下步骤:Optionally, the first access and mobility management device of this embodiment may include AMF, the first gateway control plane device may include SMF, and the gateway user plane device may include UPF, or the first access and mobility management device may include MME, the first gateway control plane device may include SGW-C and PGW-C, and the gateway user plane device may include SGW-U and PGW-U. Please refer to FIG. The paging process and the process of triggering the terminal equipment to send the service request are explained. The two data centers DC1 and DC2 are equipped with equipment such as MME, SGW-C, PGW-C, and the user plane equipment SGW-U and PGW-U are located in Close to the location of the user (for example, the province where the user is located), this embodiment includes the following steps:
1、终端设备的下行数据被传输到PGW-U,PGW-U将该下行数据转发到SGW-U,由于SGW-U与接入网设备之间的S1-U接口被释放,则发起下行数据通知(Downlink Data Notification,DDN)流程。DDN流程包括:SGW-U通知与终端设备关联的SGW-C对终端设备进行寻呼,SGW-C通知MME发起寻呼,MME通过接入网设备向终端设备发起寻呼流程,终端收到寻呼后上线,并重新建立好S1-U承载,再将下行数据发送给终端设备。1. The downlink data of the terminal device is transmitted to the PGW-U, and the PGW-U forwards the downlink data to the SGW-U. Since the S1-U interface between the SGW-U and the access network device is released, the downlink data is initiated Notification (Downlink Data Notification, DDN) process. The DDN process includes: SGW-U notifies the SGW-C associated with the terminal equipment to page the terminal equipment, SGW-C notifies the MME to initiate paging, the MME initiates a paging process to the terminal equipment through the access network equipment, and the terminal receives the page. Go online after the call, re-establish the S1-U bearer, and then send the downlink data to the terminal device.
本申请实施例中,为了能够在与终端设备关联的网关控制面故障时,仍然能够将下行数据发送给终端设备。本申请实施例中,SGW-U确定终端设备所关联的SGW-C故障,则SGW-U随机选择一个可用的SGW-C(比如SGW-C4)发起DDN流程,即SGW-U向SGW-C4发送DDN消息,该DDN消息包括寻址信息,该寻址信息可以包括但不限于用于存储该终端设备对应的第一容灾数据的源MME(例如:S-MME)的标识或者用于表示第一容灾数据的备份存储路径的索引信息。In the embodiment of the present application, in order to be able to still send downlink data to the terminal device when the control plane of the gateway associated with the terminal device fails. In the embodiment of this application, if the SGW-U determines that the SGW-C associated with the terminal device is faulty, the SGW-U randomly selects an available SGW-C (such as SGW-C4) to initiate the DDN process, that is, the SGW-U sends the SGW-C4 to the SGW-C4. Send a DDN message. The DDN message includes addressing information. The addressing information may include, but is not limited to, the identification of the source MME (for example: S-MME) used to store the first disaster tolerance data corresponding to the terminal device or for indicating Index information of the backup storage path of the first disaster tolerance data.
2、SGW-C4接收DDN消息后,SGW-C4检测到无该终端设备对应会话的上下文,该DDN消息中包含S-MME的标识,若SGW-C4确定该S-MME是否可用,若该S-MME可用,则选择该S-MME,并向S-MME发送DDN消息;可选的,若SGW-C4确定该S-MME故障,则随机选择一个可用的MME(比如MME4),并向MME4发送DDN消息,该DDN消息包括寻址信息。其中,MME4是随机选择的一个MME,因此MME4可能并不是S-MME对应的用于备份存储终端设备对应的第一容灾数据的MME。2. After SGW-C4 receives the DDN message, SGW-C4 detects that there is no context for the session corresponding to the terminal device. The DDN message contains the S-MME identifier. If SGW-C4 determines whether the S-MME is available, if the S-MME is available, -If the MME is available, select the S-MME and send a DDN message to the S-MME; optionally, if SGW-C4 determines that the S-MME is faulty, it randomly selects an available MME (such as MME4) and sends it to MME4 Send a DDN message, which includes addressing information. Wherein, MME4 is an MME selected at random, so MME4 may not be the MME corresponding to the S-MME for backing up and storing the first disaster tolerance data corresponding to the terminal device.
3、若SGW-C4是向S-MME发送的DDN消息,该S-MME存储了该终端设备对应的所有容灾数据,包括终端设备所关联的接入网设备,因此S-MME可以直接通过终端设备所关联的接入网设备向终端设备发起寻呼流程。3. If SGW-C4 is a DDN message sent to S-MME, the S-MME stores all disaster tolerance data corresponding to the terminal equipment, including the access network equipment associated with the terminal equipment, so the S-MME can directly pass The access network device associated with the terminal device initiates a paging process to the terminal device.
若SGW-C4是向MME4发送的DDN消息,MME4收到DDN消息后,MME4检测到本地无该终端设备对应的会话上下文,则根据DDN消息中所携带的寻址信息获取该终端设备对应的第一容灾数据。比如,根据S-MME的标识获取用于备份存储该第一容灾数据的MME(比如MME2),则从MME2获取到第一容灾数据。该第一容灾数据中可得到终端设备所关联的接入网设备的标识,该MME4即对该接入网设备发起寻呼流程。If SGW-C4 is a DDN message sent to MME4, after MME4 receives the DDN message, MME4 detects that there is no session context corresponding to the terminal device locally, and then obtains the first corresponding terminal device according to the addressing information carried in the DDN message. 1. Disaster recovery data. For example, if an MME (such as MME2) used for backing up and storing the first disaster tolerance data is acquired according to the S-MME identifier, the first disaster tolerance data is acquired from MME2. The identification of the access network device associated with the terminal device can be obtained from the first disaster tolerance data, and the MME 4 initiates a paging process for the access network device.
终端设备收到寻呼后,即向MME4发送业务请求。After receiving the page, the terminal device sends a service request to MME4.
S302:所述第一接入及移动管理设备响应所述业务请求,确定第一网关控制面设备故障,则选择第二网关控制面设备,所述第一网关控制面设备用于管理所述终端设备在网关用户面设备的会话;S302: In response to the service request, the first access and mobility management device determines that the first gateway control plane device is faulty, and then selects a second gateway control plane device, and the first gateway control plane device is used to manage the terminal The device's session on the gateway user plane device;
S303:所述第一接入及移动管理设备向所述第二网关控制面设备发送第一消息,所述第一消息包括与所述终端设备对应的第一容灾数据,所述第一容灾数据用于所述第二网关控制面设备根据所述第一容灾数据恢复所述终端设备在所述网关用户面设备的所述会话。S303: The first access and mobility management device sends a first message to the second gateway control plane device, where the first message includes first disaster tolerance data corresponding to the terminal device, and the first tolerance The disaster data is used by the second gateway control plane device to restore the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
S304:所述第二网关控制面设备根据所述第一容灾数据,恢复所述终端设备在所述网 关用户面设备的会话。S304: The second gateway control plane device restores the session of the terminal device with the gateway user plane device according to the first disaster tolerance data.
在一个实施例中,第一接入及移动管理设备在接收到终端设备的业务请求后,确定与终端设备关联的第一网关控制面设备故障。可选的,可以是第一接入及移动管理设备在向与该终端设备关联的第一网关控制面设备发送多次消息后,未接收到第一网关控制面设备的响应消息,则确定第一网关控制面设备故障,从而选择第二网关控制面设备,可选的,选择方式可以是随机选择,或者基于特定协议规则进行选择,本申请实施例不作限定。In one embodiment, after receiving the service request of the terminal device, the first access and mobility management device determines that the first gateway control plane device associated with the terminal device is faulty. Optionally, it may be that the first access and mobility management device does not receive a response message from the first gateway control plane device after sending multiple messages to the first gateway control plane device associated with the terminal device, and then determines the first gateway control plane device. A gateway control plane device is faulty, and a second gateway control plane device is selected. Optionally, the selection method may be random selection or selection based on specific protocol rules, which is not limited in the embodiment of the present application.
可选的,第一消息可以是创建会话请求(例如:Create Session Request),即模拟终端设备的附着流程。当第二网关控制面设备根据创建会话请求中的第一容灾数据,恢复终端设备在网关用户面设备的会话后,向第一接入及移动管理设备发送恢复成功的响应消息。Optionally, the first message may be a session creation request (for example: Create Session Request), which simulates the attachment process of the terminal device. When the second gateway control plane device restores the session of the terminal device in the gateway user plane device according to the first disaster tolerance data in the session creation request, it sends a response message of successful restoration to the first access and mobility management device.
第一接入及移动管理设备接收到第二网关控制面设备发送的恢复成功的响应消息后,则根据终端设备的业务请求,再向第二网关控制面设备发送业务消息,该业务消息用于请求第二网关控制面设备建立与终端设备关联的网关用户面设备与终端设备关联的接入网设备之间的承载,当网关用户面设备与终端设备关联的接入网设备之间的承载建立成功后,终端设备即可利用该承载发送上行数据,或者,接收下行数据。其中,若上述业务请求是终端设备存在发送的上行数据所触发的,那么终端设备可利用该承载发送上行数据,若上述业务请求是存在发送给终端设备的下行数据,通过寻呼流程触发终端设备发送的,那么终端设备可利用该承载接收下行数据。After the first access and mobility management device receives the successful recovery response message sent by the second gateway control plane device, it sends a service message to the second gateway control plane device according to the service request of the terminal device. The service message is used for Request the second gateway control plane device to establish a bearer between the gateway user plane device associated with the terminal device and the access network device associated with the terminal device, when the bearer between the gateway user plane device and the access network device associated with the terminal device is established After success, the terminal device can use the bearer to send uplink data or receive downlink data. Among them, if the above service request is triggered by the presence of uplink data sent by the terminal device, the terminal device can use the bearer to send uplink data. If the above service request is the presence of downlink data sent to the terminal device, the terminal device is triggered through the paging process If it is sent, the terminal device can use the bearer to receive downlink data.
可选的,第一消息可以是业务消息,即第一接入及移动管理设备根据终端设备的业务请求,发送业务消息,这种场景是在正常的业务交互流程中完成终端设备在网关用户面设备的会话恢复。该业务消息包括与终端设备对应的第一容灾数据,第二网关控制面设备接收到该业务消息后,检测到本地不存在该终端设备对应的会话上下文,则根据第一容灾数据,恢复该终端设备在网关用户面设备的会话,然后再处理业务消息所指示的业务,比如,控制建立与终端设备关联的网关用户面设备与终端设备关联的接入网设备之间的承载,以便于终端设备发送上行数据或者接收下行数据。其中,若上述业务请求是终端设备存在发送的上行数据所触发的,那么终端设备可利用该承载发送上行数据,若上述业务请求是存在发送给终端设备的下行数据,通过寻呼流程触发终端设备发送的,那么终端设备可利用该承载接收下行数据。Optionally, the first message may be a service message, that is, the first access and mobility management device sends a service message according to the service request of the terminal device. In this scenario, the terminal device is in the gateway user plane in the normal service interaction process. The session of the device is resumed. The service message includes the first disaster tolerance data corresponding to the terminal device. After receiving the service message, the second gateway control plane device detects that the session context corresponding to the terminal device does not exist locally, and then restores according to the first disaster tolerance data The terminal device has a session with the gateway user plane device, and then processes the service indicated by the service message, such as controlling the establishment of a bearer between the gateway user plane device associated with the terminal device and the access network device associated with the terminal device, so as to facilitate The terminal device sends uplink data or receives downlink data. Among them, if the above service request is triggered by the presence of uplink data sent by the terminal device, the terminal device can use the bearer to send uplink data. If the above service request is the presence of downlink data sent to the terminal device, the terminal device is triggered through the paging process If it is sent, the terminal device can use the bearer to receive downlink data.
其中,恢复终端设备在网关用户面设备的会话包括但不限于:该第二网关控制面设备重建与周边实体的会话,比如恢复与在线计费系统(Online Charging System,OCS)的计费会话、恢复与策略与计费规则实体(Policy and Charging Rules Function,PCRF)的会话,接管终端设备在网关用户设备的承载等等。接管终端设备在网关用户面设备的承载可以包括但不限于:后续存在该终端设备的上行数据或者下行数据时,在第二网关控制面设备可用时,可以通过该第二网关控制面设备建立接入网设备与网关用户面设备之间的承载。Wherein, resuming the session of the terminal device on the gateway user plane device includes but is not limited to: the second gateway control plane device reestablishes the session with the surrounding entities, such as resuming the charging session with the online charging system (Online Charging System, OCS), Resume the session with the Policy and Charging Rules Function (PCRF), take over the bearer of the terminal equipment on the gateway user equipment, and so on. Taking over the bearer of the terminal device on the gateway user plane device may include but is not limited to: when there is subsequent uplink data or downlink data of the terminal device, when the second gateway control plane device is available, the connection can be established through the second gateway control plane device. The bearer between the network access device and the gateway user plane device.
可选的,第一接入及移动管理设备可以包括AMF,网关控制面设备可以包括SMF,网关用户面设备可以包括UPF,或者,接入及移动管理设备可以包括MME,网关控制面设备可以包括SGW-C和PGW-C,网关用户面设备可以包括SGW-U和PGW-U,请参照图8,本申请实施例举例说明,对终端发起业务请求,并进行会话恢复的流程进行说明,两个数据中心DC1 和DC2均都部署了MME、SGW-C、PGW-C、在线计费系统OCS和策略控制和规则功能PCRF设备,用户面设备SGW-U、PGW-U位于靠近用户的位置(例如用户所在的省份),本实施例包括如下步骤:Optionally, the first access and mobility management device may include AMF, the gateway control plane device may include SMF, the gateway user plane device may include UPF, or the access and mobility management device may include MME, and the gateway control plane device may include SGW-C and PGW-C, the gateway user plane equipment may include SGW-U and PGW-U. Please refer to Figure 8. The embodiment of this application illustrates the process of initiating a service request by the terminal and performing session recovery. Both Both data centers DC1 and DC2 are deployed with MME, SGW-C, PGW-C, online charging system OCS, and policy control and rule function PCRF equipment. User plane equipment SGW-U and PGW-U are located close to users ( For example, the province where the user is located), this embodiment includes the following steps:
1、终端设备通过接入网设备发送SR请求,其中,在源MME故障时,向备份MME发送SR请求,在源MME可用时,向源MME发送SR请求。图中以备份MME作为举例说明。1. The terminal device sends an SR request through the access network device. When the source MME fails, it sends an SR request to the backup MME, and when the source MME is available, it sends an SR request to the source MME. In the figure, the backup MME is taken as an example for illustration.
2、备份MME确定与终端设备关联的SGW-C、PGW-C故障,则重新选择SGW-C、PGW-C,可模拟终端附着流程,向重新选择的SGW-C发送创建会话请求(例如:Create Session Request),创建会话请求中携带终端设备对应的第一容灾数据。2. The backup MME determines that the SGW-C and PGW-C associated with the terminal device are faulty, and then reselects SGW-C and PGW-C, which can simulate the terminal attachment process and send a session creation request to the newly selected SGW-C (for example: Create Session Request), the session creation request carries the first disaster tolerance data corresponding to the terminal device.
3、重新选择的SGW-C收到创建会话请求后,根据第一容灾数据,重建与周边实体的会话,接管终端设备在SGW-U中的承载。同时给重新选择的PGW-C发送容灾恢复的请求消息,该请求消息包括第一容灾数据。3. After receiving the session creation request, the newly selected SGW-C rebuilds the session with the surrounding entities according to the first disaster tolerance data, and takes over the bearer of the terminal device in the SGW-U. At the same time, a disaster recovery recovery request message is sent to the newly selected PGW-C, and the request message includes the first disaster recovery data.
重新选择的PGW-C收到该请求消息后,根据第一容灾数据,重建与周边实体的会话,比如恢复与OCS的计费会话、恢复与PCRF的会话;接管终端设备在PGW-U中的承载。After the newly selected PGW-C receives the request message, it rebuilds the session with the surrounding entities according to the first disaster recovery data, such as restoring the charging session with OCS, restoring the session with PCRF; take over the terminal equipment in PGW-U Of the bearer.
重新选择的SGW-C、PGW-C与周边实体的会话都已恢复,终端设备在SGW-U、PGW-U的承载也恢复。PGW-C给SGW-C回复恢复成功的响应消息,SGW-C向MME回复恢复成功的响应消息,MME可以进行后续流程,比如,向重新选择的SGW-C发送业务消息,该业务消息用于请求SGW-C建立接入网设备与SGW-U之间的承载,以便于传输终端设备的下行数据或者上行数据。The sessions between the newly selected SGW-C and PGW-C and surrounding entities have been restored, and the bearer of the terminal equipment in the SGW-U and PGW-U has also been restored. PGW-C replies to SGW-C with a response message of successful recovery, and SGW-C replies with a response message of successful recovery to MME. MME can proceed with subsequent procedures, such as sending a service message to the newly selected SGW-C. The service message is used for The SGW-C is requested to establish a bearer between the access network device and the SGW-U to facilitate the transmission of downlink data or uplink data of the terminal device.
请参照图5所示,为本申请实施例提出的一种第一容灾数据搜集流程示意图,如图所示,该第一容灾数据搜集流程包括但不限于步骤S41-S45,需要说明的是,该实施例中,第一接入及移动管理设备即是源接入及移动管理设备,该实施例中的第一接入及移动管理设备与图4实施例中的第一接入及移动管理设备所指代的对象可能不同;Please refer to FIG. 5, which is a schematic diagram of a first disaster tolerance data collection process proposed in an embodiment of this application. As shown in the figure, the first disaster tolerance data collection process includes but is not limited to steps S41-S45, which need to be explained Yes, in this embodiment, the first access and mobility management device is the source access and mobility management device. The first access and mobility management device in this embodiment is the same as the first access and mobility management device in the embodiment of FIG. 4 The objects referred to by the mobile management device may be different;
S41:第一接入及移动管理设备接收终端设备的附着请求。S41: The first access and mobility management device receives the attachment request of the terminal device.
其中,在终端开机时,或者该终端切换小区后等场景下,终端设备通过与该终端设备所关联的接入网设备向第一接入及移动管理设备发送附着请求,该附着请求可以包括终端设备的标识,终端设备的标识可以为终端设备的设备码。Wherein, when the terminal is turned on, or after the terminal switches cells, the terminal device sends an attachment request to the first access and mobility management device through the access network device associated with the terminal device, and the attachment request may include the terminal The identification of the device, the identification of the terminal device may be the device code of the terminal device.
S42:所述第一接入及移动管理设备根据所述附着请求,向第一网关控制面设备发送第三消息,所述第三消息包括第二指示信息和所述终端设备的标识,所述第二指示信息用于指示所述第一网关控制面设备将与所述终端设备对应的所述第一容灾数据发送至所述第一接入及移动管理设备。S42: The first access and mobility management device sends a third message to the first gateway control plane device according to the attachment request, where the third message includes second indication information and the terminal device identifier, and The second indication information is used to instruct the first gateway control plane device to send the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device.
S43:第一网关控制面设备向网关用户面设备发送第一接入及移动管理设备的标识和终端设备的标识;所述第一接入及移动管理设备的标识用于在所述网关用户面设备接收到与所述终端设备对应的下行数据,且所述第一网关控制面设备故障时获取所述第一容灾数据。S43: The first gateway control plane device sends the identity of the first access and mobility management device and the identity of the terminal device to the gateway user plane device; the identity of the first access and mobility management device is used for the user plane of the gateway The device receives the downlink data corresponding to the terminal device, and acquires the first disaster tolerance data when the first gateway control plane device fails.
S44:第一网关控制面设备向第一接入及移动管理设备发送终端设备对应的第一容灾数据。S44: The first gateway control plane device sends the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device.
S45:第一接入及移动管理设备存储第一容灾数据。S45: The first access and mobility management device stores the first disaster tolerance data.
其中,第一接入及移动管理设备从接入网设备接收终端设备的附着请求,并向第一网 关控制面设备发送第三消息,第三消息可以是创建会话请求(例如:Create Session Request),该第三消息可以是进行扩展后的消息,比如,该第三消息包括一个新增的私有扩展字段,该私有扩展字段携带第二指示信息。Among them, the first access and mobility management device receives the attachment request of the terminal device from the access network device, and sends a third message to the first gateway control plane device. The third message may be a session creation request (for example: Create Session Request) The third message may be an extended message. For example, the third message includes a newly-added private extension field, and the private extension field carries second indication information.
可选的,第二指示信息用于指示第一网关控制面设备在支持本申请实施例所提及的网关设备容灾的方法时,将与所携带的终端设备的标识对应的第一容灾数据发送至第一接入及移动管理设备,其中,第一容灾数据可以包含在第一网关控制面设备发送给第一接入及移动管理设备的响应消息中,第一接入及移动管理设备接收第一网关控制面设备发送的响应消息,并将该响应消息中所包含的第一容灾数据存储在该第一接入及移动管理设备。其中,该响应消息可以是进行扩展后的消息,例如,该响应消息可以包含一个新增的私有扩展字段,该私有扩展字段用于携带第一容灾数据。Optionally, the second indication information is used to instruct the first gateway control plane device to set the first disaster tolerance corresponding to the carried terminal device identifier when supporting the gateway device disaster tolerance method mentioned in the embodiment of this application. The data is sent to the first access and mobility management device, where the first disaster tolerance data may be included in the response message sent by the first gateway control plane device to the first access and mobility management device. The first access and mobility management device The device receives the response message sent by the first gateway control plane device, and stores the first disaster tolerance data included in the response message in the first access and mobility management device. The response message may be an extended message. For example, the response message may include a newly-added private extension field, and the private extension field is used to carry the first disaster tolerance data.
进一步可选的,该第一接入及移动管理设备还可以将该终端设备对应的第一容灾数据备份至第三接入及移动管理设备,以便于终端设备发送业务请求时,第一接入及移动管理设备故障,则由第三接入及移动管理设备进行接入管理,并对该业务请求进行响应。Further optionally, the first access and mobility management device may also back up the first disaster tolerance data corresponding to the terminal device to the third access and mobility management device, so that when the terminal device sends a service request, the first access If the access and mobility management device fails, the third access and mobility management device will perform access management and respond to the service request.
可选的,第一容灾数据可以包括但不限于终端设备的IP地址、终端设备所激活的网关用户面设备等关键数据,该第一容灾数据用于在该第一网关控制面设备故障时,第二网关控制面设备恢复终端设备在网关用户面设备的会话,具体请参照前述实施例的描述,在此不再赘述。其中,网关用户面设备可以包括但不限于PGW-U、UPF等等。上述终端设备所激活的网关用户面设备是指与该终端设备对应的上行数据以及下行数据均通过该网关用户面设备进行转发。Optionally, the first disaster tolerance data may include, but is not limited to, key data such as the IP address of the terminal device, the gateway user plane device activated by the terminal device, and the like. The first disaster tolerance data is used when the first gateway control plane device fails. At this time, the second gateway control plane device resumes the session of the terminal device on the gateway user plane device. For details, please refer to the description of the foregoing embodiment, which will not be repeated here. Among them, the gateway user plane device may include, but is not limited to, PGW-U, UPF, and so on. The above-mentioned gateway user plane device activated by the terminal device means that the uplink data and downlink data corresponding to the terminal device are forwarded through the gateway user plane device.
可选的,第三消息还可以包括寻址信息,该寻址信息包括但不限于第一接入及移动管理设备的标识或者用于表示第一容灾数据的备份存储路径的索引信息等等,例如,所有索引为1的容灾数据的备份存储路径为从接入及移动管理设备A备份至接入及移动管理设备B等等。第一网关控制面设备在确定支持本申请实施例所提及的网关设备容灾的方法时,将寻址信息和终端设备的标识发送至该终端设备所激活的网关用户面设备,该网关用户面设备存储该寻址信息和终端设备的标识之间的对应关系。以便于后续,该网关用户面设备接收到与该终端设备对应的下行数据时,确定用于管理该终端设备在网关用户面设备会话的第一网关控制面故障时,可以根据该寻址信息确定第一接入及移动管理设备,或者在第一接入及移动管理设备故障时,通过寻址信息获取到该终端设备对应的第一容灾数据,具体请参照图6实施例的描述,在此不再赘述。Optionally, the third message may also include addressing information, which includes, but is not limited to, the identification of the first access and mobility management device or index information used to indicate the backup storage path of the first disaster tolerance data, etc. For example, the backup storage path of all disaster tolerance data whose index is 1 is from the access and mobility management device A to the access and mobility management device B and so on. When the first gateway control plane device determines to support the disaster recovery method of the gateway device mentioned in the embodiment of this application, it sends the addressing information and the identification of the terminal device to the gateway user plane device activated by the terminal device, and the gateway user The surface device stores the correspondence between the addressing information and the identification of the terminal device. In order to facilitate subsequent, when the gateway user plane device receives the downlink data corresponding to the terminal device, it can be determined according to the addressing information when it is determined that the first gateway control plane used to manage the terminal device’s session on the gateway user plane device is faulty. The first access and mobility management device, or when the first access and mobility management device fails, obtain the first disaster tolerance data corresponding to the terminal device through the addressing information. Please refer to the description of the embodiment in FIG. 6 for details. This will not be repeated here.
可选的,第一接入及移动管理设备可以包括AMF,第一网关控制面设备可以包括SMF,网关用户面设备可以包括UPF,或者,第一接入及移动管理设备可以包括MME,第一网关控制面设备可以包括SGW-C和PGW-C,网关用户面设备可以包括SGW-U和PGW-U,请参照图7,本申请实施例举例说明,两个数据中心DC1和DC2中都部署了MME、SGW-C、PGW-C、SGW-U、PGW-U、在线计费系统OCS和策略控制和规则功能PCRF设备,控制面设备MME、SGW-C、PGW-C、OCS、MME和PCRF位于DC中,用户面设备SGW-U、PGW-U位于靠近用户的位置(例如用户所在的省份),本实施例包括如下步骤:Optionally, the first access and mobility management device may include AMF, the first gateway control plane device may include SMF, and the gateway user plane device may include UPF, or the first access and mobility management device may include MME. The gateway control plane device may include SGW-C and PGW-C, and the gateway user plane device may include SGW-U and PGW-U. Please refer to Figure 7. The embodiment of this application illustrates as an example, both data centers DC1 and DC2 are deployed MME, SGW-C, PGW-C, SGW-U, PGW-U, online charging system OCS and policy control and rule function PCRF equipment, control plane equipment MME, SGW-C, PGW-C, OCS, MME and The PCRF is located in the DC, and the user plane devices SGW-U and PGW-U are located close to the user (for example, the province where the user is located). This embodiment includes the following steps:
1、接入网设备向源MME发送终端设备的附着请求;1. The access network device sends an attachment request of the terminal device to the source MME;
2、源MME向SGW-C发送创建会话请求(例如:Create Session Request),该创建会 话请求包含私有扩展字段,该私有扩展字段包含指示信息,该指示信息用于询问SGW-C是否支持本申请实施例提供的容灾方法,并在支持本申请实施例提供的容灾方法时,将终端设备对应的容灾数据发送至MME。2. The source MME sends a session creation request (for example: Create Session Request) to the SGW-C. The session creation request includes a private extension field, and the private extension field includes indication information. The indication information is used to inquire whether the SGW-C supports this application The disaster tolerance method provided in the embodiment, and when the disaster tolerance method provided in the embodiment of the present application is supported, the disaster tolerance data corresponding to the terminal device is sent to the MME.
3、源SGW-C接收创建会话请求,若SGW-C支持本申请实施例的容灾方法,则向SGW-U发送源MME的标识,该SGW-U保存源MME的标识;且SGW-C向PGW-C发送消息,该消息同样包含私有扩展字段,该私有扩展字段包含指示信息,该指示信息用于询问PGW-C是否支持本申请实施例提供的容灾方法,并在支持本申请实施例提供的容灾方法时,将终端设备对应的容灾数据发送至SGW-C。3. The source SGW-C receives the session creation request, and if the SGW-C supports the disaster tolerance method of the embodiment of this application, it sends the source MME identification to the SGW-U, and the SGW-U saves the source MME identification; and the SGW-C Send a message to PGW-C. The message also contains a private extension field. The private extension field contains indication information. The indication information is used to inquire whether PGW-C supports the disaster tolerance method provided in the embodiments of this application and is supporting the implementation of this application. In the disaster recovery method provided in the example, the disaster recovery data corresponding to the terminal device is sent to the SGW-C.
4、PGW-C接收SGW-C发送的消息,若PGW-C支持本申请实施例的容灾方法,则将终端设备激活的PGW-U、IP地址等关键数据作为容灾数据,通过响应消息发送给SGW-C,该响应消息同样包含私有扩展字段,该私有扩展字段包含容灾数据。4. The PGW-C receives the message sent by the SGW-C. If the PGW-C supports the disaster recovery method of the embodiment of this application, it will use the key data such as the PGW-U and IP address activated by the terminal device as the disaster recovery data, and pass the response message Sent to SGW-C, the response message also contains a private extension field, and the private extension field contains disaster tolerance data.
5、SGW-C接收到PGW-C发送的响应消息,若该响应消息中携带了终端设备对应的容灾数据,则说明PGW-C支持本申请实施例提供的容灾方法,SGW-C向源MME发送响应消息,该响应消息同样包含私有扩展字段,该私有扩展字段包含终端设备对应的容灾数据。5. SGW-C receives the response message sent by PGW-C. If the response message carries disaster tolerance data corresponding to the terminal device, it means that PGW-C supports the disaster tolerance method provided in the embodiments of this application, and SGW-C sends The source MME sends a response message, and the response message also includes a private extension field, and the private extension field includes disaster tolerance data corresponding to the terminal device.
源MME接收到SGW-C返回的响应消息,若该响应消息的私有扩展字段携带了终端设备对应的容灾数据,则将容灾数据存储。The source MME receives the response message returned by the SGW-C, and if the private extension field of the response message carries the disaster tolerance data corresponding to the terminal device, the disaster tolerance data is stored.
进一步可选的,若源MME有跨地域的备份能力,源MME还可以将容灾数据跨地域保存在另一个MME中,即备份MME中。Further optionally, if the source MME has a cross-regional backup capability, the source MME may also store the disaster tolerance data across regions in another MME, that is, the backup MME.
通过上述步骤S41-S45将终端设备对应的第一容灾数据存储在第一接入及移动管理设备中,后续终端设备可以通过网关用户面设备进行数据传输。Through the above steps S41-S45, the first disaster tolerance data corresponding to the terminal device is stored in the first access and mobility management device, and the subsequent terminal device can perform data transmission through the gateway user plane device.
下面结合附图10-附图15对本申请实施例所涉及的接入及移动管理设备和网关控制面设备的结构进行说明。The structure of the access and mobility management device and the gateway control plane device involved in the embodiment of the present application will be described below with reference to FIG. 10-15.
本发明实施例中,第一接入及移动管理设备与网关控制面设备(第一网关控制面设备、第二网关控制面设备以及第三网关控制面设备)、终端设备以及接入网设备通信的过程中,第一接入及移动管理设备侧执行的操作可以由第一接入及移动管理设备中的处理单元、接收单元和发送单元来执行,其中,接收单元用于执行该过程中接收信息(或者说消息)的操作,发送单元用于执行该过程中发送信息(或者说消息)的操作,处理单元用于执行该过程中除接收单元和发送单元所执行的操作之外的其他操作。可选的,发送单元和接收单元受处理单元控制,即处理单元可以分别控制发送单元执行发送的操作,控制接收单元执行接收的操作。另外,第一接入及移动管理设备中的处理单元、接收单元和发送单元可以分别为按照功能划分的逻辑模块,或者分别为相应的硬件模块。当处理单元、接收单元和发送单元均为逻辑模块时,该第一接入及移动管理设备的结构可以如图10所示。In the embodiment of the present invention, the first access and mobility management device communicates with the gateway control plane device (the first gateway control plane device, the second gateway control plane device, and the third gateway control plane device), the terminal device, and the access network device During the process, the operations performed by the first access and mobility management device side can be performed by the processing unit, the receiving unit, and the sending unit in the first access and mobility management device, where the receiving unit is used to perform the receiving in the process. Information (or message) operation, the sending unit is used to perform the operation of sending information (or message) in the process, and the processing unit is used to perform other operations in the process except the operations performed by the receiving unit and the sending unit . Optionally, the sending unit and the receiving unit are controlled by the processing unit, that is, the processing unit can respectively control the sending unit to perform the sending operation and the receiving unit to perform the receiving operation. In addition, the processing unit, the receiving unit, and the sending unit in the first access and mobility management device may be logical modules divided according to functions, or may be corresponding hardware modules. When the processing unit, the receiving unit, and the sending unit are all logical modules, the structure of the first access and mobility management device may be as shown in FIG. 10.
其中,接收单元1101,用于接收终端设备的业务请求;Among them, the receiving unit 1101 is configured to receive a service request from a terminal device;
所述处理单元1102,用于响应所述业务请求,确定第一网关控制面设备故障,则选择第二网关控制面设备,所述第一网关控制面设备用于管理所述终端设备在网关用户面设备的会话;The processing unit 1102 is configured to respond to the service request and determine that the first gateway control plane device is faulty, and then select a second gateway control plane device. The first gateway control plane device is used to manage the terminal device in the gateway user Face device session;
所述发送单元1103,还用于向所述第二网关控制面设备发送第一消息,所述第一消息 包括与所述终端设备对应的第一容灾数据,所述第一容灾数据用于所述第二网关控制面设备根据所述第一容灾数据恢复所述终端设备在所述网关用户面设备的所述会话。The sending unit 1103 is further configured to send a first message to the second gateway control plane device, where the first message includes first disaster tolerance data corresponding to the terminal device, and the first disaster tolerance data is used for Recovering the session of the terminal device in the gateway user plane device according to the first disaster tolerance data at the second gateway control plane device.
当处理单元、接收单元和发送单元均为硬件模块时,处理单元可以具体为处理器,接收单元可以具体为接收器,发送单元可以具体为发射器,此时第一接入及移动管理设备的结构可以如图11所示。When the processing unit, receiving unit, and sending unit are all hardware modules, the processing unit can be specifically a processor, the receiving unit can be specifically a receiver, and the sending unit can be specifically a transmitter. The structure can be as shown in Figure 11.
请参见图11,图11示出了本申请实施例提供的一种接入及移动管理设备,该接入及移动管理设备120可包括:一个或多个处理器1201、存储器1202、发射器1203、接收器1204。这些部件可通过总线1205或者其他方式连接,图11以通过总线连接为例。其中:Please refer to FIG. 11. FIG. 11 shows an access and mobility management device provided by an embodiment of the present application. The access and mobility management device 120 may include: one or more processors 1201, a memory 1202, and a transmitter 1203 , Receiver 1204. These components can be connected through a bus 1205 or other methods. FIG. 11 uses a bus connection as an example. among them:
处理器1201可以是通用处理器,例如中央处理器(central processing unit,CPU),还可以是数字信号处理器(digital signal processing,DSP)、专用集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。处理器1201可处理通过接收器1204接收到的数据。处理器1201还可处理将被发送到发射器1203的数据。The processor 1201 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor (digital signal processing, DSP), an application specific integrated circuit (ASIC), or One or more integrated circuits configured to implement embodiments of the invention. The processor 1201 may process data received through the receiver 1204. The processor 1201 may also process data to be sent to the transmitter 1203.
存储器1202可以和处理器1201通过总线1205或者输入输出端口耦合,存储器1202也可以与处理器1201集成在一起。存储器1202用于存储各种软件程序和/或多组指令。具体的,存储器1202可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器1202还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端,一个或多个网络设备进行通信。The memory 1202 may be coupled with the processor 1201 through a bus 1205 or an input/output port, and the memory 1202 may also be integrated with the processor 1201. The memory 1202 is used to store various software programs and/or multiple sets of instructions. Specifically, the memory 1202 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 1202 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminals, and one or more network devices.
发射器1203可用于对处理器1201输出的信号进行发射处理。接收器1204可用于对接收的通信信号进行接收处理。在接入及移动管理设备120中,发射器1203和接收器1204的数量均可以是一个或者多个。The transmitter 1203 may be used to transmit and process the signal output by the processor 1201. The receiver 1204 may be used for receiving and processing the received communication signal. In the access and mobility management device 120, the number of the transmitter 1203 and the receiver 1204 may each be one or more.
处理器1201可用于读取和执行计算机可读指令。具体的,处理器1201可用于调用存储于存储器1202中的程序,例如本申请的一个或多个实施例提供的网关设备容灾的方法在第一接入及移动管理设备侧的实现程序,并执行该程序包含的指令以实现后续实施例涉及的方法。可选地,当处理器1201发送任何消息或数据时,其具体通过驱动或控制发射器1203做所述发送。可选地,当处理器1201接收任何消息或数据时,其具体通过驱动或控制接收器1204做所述接收。因此,处理器1201可以被视为是执行发送或接收的控制中心,发射器1203和接收器1204是发送和接收操作的具体执行者。The processor 1201 can be used to read and execute computer readable instructions. Specifically, the processor 1201 may be used to call a program stored in the memory 1202, such as the implementation program of the gateway device disaster recovery method provided by one or more embodiments of the present application on the side of the first access and mobility management device, and The instructions contained in the program are executed to implement the methods involved in the subsequent embodiments. Optionally, when the processor 1201 sends any message or data, it specifically drives or controls the transmitter 1203 to send it. Optionally, when the processor 1201 receives any message or data, it specifically drives or controls the receiver 1204 to do the reception. Therefore, the processor 1201 can be regarded as a control center that performs transmission or reception, and the transmitter 1203 and the receiver 1204 are specific performers of the transmission and reception operations.
其中,接收器1204,用于接收终端设备的业务请求;Among them, the receiver 1204 is used to receive a service request from a terminal device;
处理器1201,用于响应所述业务请求,确定第一网关控制面设备故障,则选择第二网关控制面设备,所述第一网关控制面设备用于管理所述终端设备在网关用户面设备的会话;The processor 1201 is configured to respond to the service request and determine that the first gateway control plane device is faulty, and then select a second gateway control plane device. The first gateway control plane device is used to manage the terminal device in the gateway user plane device. Conversation
发射器1203,用于向所述第二网关控制面设备发送第一消息,所述第一消息包括与所述终端设备对应的第一容灾数据,所述第一容灾数据用于所述第二网关控制面设备根据所述第一容灾数据恢复所述终端设备在所述网关用户面设备的所述会话。The transmitter 1203 is configured to send a first message to the second gateway control plane device, where the first message includes first disaster tolerance data corresponding to the terminal device, and the first disaster tolerance data is used for the The second gateway control plane device restores the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
需要说明的,图11所示的接入及移动管理设备120仅仅是本申请实施例的一种实现方式,实际应用中,接入及移动管理设备120还可以包括更多或更少的部件,这里不作限制。It should be noted that the access and mobility management device 120 shown in FIG. 11 is only an implementation of the embodiment of the present application. In actual applications, the access and mobility management device 120 may also include more or fewer components. There is no restriction here.
本发明实施例中,第一网关控制面设备与其他通信设备(例如第一接入及移动管理设备、网关用户面设备等)通信的过程中,第一网关控制面设备侧执行的操作可以由第一网关控制面设备中的接收单元、处理单元和发送单元来执行,其中,接收单元用于执行该过程中接收信息(或者说消息)的操作,发送单元用于执行该过程中发送信息(或者说消息)的操作。可选的,发送单元和接收单元可以受处理单元控制,即处理单元可以分别控制发送单元执行发送的操作,控制接收单元执行接收的操作,发送单元和接收单元也可以不受处理单元的控制。另外,第一网关控制面设备中的处理单元、接收单元和发送单元可以分别为按照功能划分的逻辑模块,或者分别为相应的硬件模块。当处理单元、接收单元和发送单元均为逻辑模块时,该第一网关控制面设备的结构可以如图12所示。In the embodiment of the present invention, during the communication process between the first gateway control plane device and other communication devices (such as the first access and mobility management device, the gateway user plane device, etc.), the operations performed on the first gateway control plane device side can be performed by The receiving unit, the processing unit, and the sending unit in the first gateway control plane device are executed, wherein the receiving unit is used to perform the operation of receiving information (or message) in the process, and the sending unit is used to perform the sending information in the process ( Or message) operation. Optionally, the sending unit and the receiving unit may be controlled by the processing unit, that is, the processing unit may respectively control the sending unit to perform the sending operation and the receiving unit to perform the receiving operation, and the sending unit and the receiving unit may not be controlled by the processing unit. In addition, the processing unit, the receiving unit, and the sending unit in the first gateway control plane device may be logical modules divided according to functions, or may be corresponding hardware modules. When the processing unit, the receiving unit, and the sending unit are all logical modules, the structure of the first gateway control plane device may be as shown in FIG. 12.
其中,接收单元1301,用于从第一接入及移动管理设备接收第三消息,所述第三消息包括第二指示信息和终端设备的标识,所述第二指示信息用于指示所述第一网关控制面设备将与所述终端设备对应的第一容灾数据发送至所述第一接入及移动管理设备,所述第一容灾数据用于在确定所述第一网关控制面设备故障时恢复所述终端设备在网关用户面设备的会话;Wherein, the receiving unit 1301 is configured to receive a third message from the first access and mobility management device, the third message includes second indication information and an identifier of the terminal device, and the second indication information is used to indicate the second indication information. A gateway control plane device sends first disaster tolerance data corresponding to the terminal device to the first access and mobility management device, and the first disaster tolerance data is used to determine the first gateway control plane device Restore the session of the terminal device on the gateway user plane device in the event of a failure;
所述处理单元1302,用于对第三消息进行解析,获得第二指示信息和终端设备的标识;The processing unit 1302 is configured to parse the third message to obtain the second indication information and the identification of the terminal device;
所述发送单元1303,用于向所述第一接入及移动管理设备发送所述第一容灾数据。The sending unit 1303 is configured to send the first disaster tolerance data to the first access and mobility management device.
当处理单元、接收单元和发送单元均为硬件模块时,处理单元可以具体为处理器,接收单元可以具体为接收器,发送单元可以具体为发射器,此时第一网关控制面设备的结构可以如图13所示。When the processing unit, the receiving unit, and the sending unit are all hardware modules, the processing unit may be specifically a processor, the receiving unit may be specifically a receiver, and the sending unit may be specifically a transmitter. In this case, the structure of the first gateway control plane device may be As shown in Figure 13.
请参见图13,图13示出了本申请实施例提供的一种第一网关控制面设备的硬件结构示意图,该网关控制面设备140可包括:一个或多个处理器1401、存储器1402、发射器1403、接收器1404。这些部件可通过总线1405或者其他方式连接,图13以通过总线连接为例。其中:Please refer to FIG. 13, which shows a schematic diagram of the hardware structure of a first gateway control plane device provided by an embodiment of the present application. The gateway control plane device 140 may include: one or more processors 1401, a memory 1402, and a transmitting device. The receiver 1403 and the receiver 1404. These components can be connected through a bus 1405 or in other ways. FIG. 13 uses a bus connection as an example. among them:
处理器1401可以是通用处理器,例如中央处理器(central processing unit,CPU),还可以是数字信号处理器(digital signal processing,DSP)、专用集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。处理器1401可处理通过接收器1404接收到的数据。处理器1401还可处理将被发送到发射器1403的数据。The processor 1401 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processing (DSP), an application specific integrated circuit (ASIC), or One or more integrated circuits configured to implement embodiments of the invention. The processor 1401 may process data received through the receiver 1404. The processor 1401 may also process data to be sent to the transmitter 1403.
存储器1402可以和处理器1401通过总线1405或者输入输出端口耦合,存储器1402也可以与处理器1401集成在一起。存储器1402用于存储各种软件程序和/或多组指令。具体的,存储器1402可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器1402还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端,一个或多个网络设备进行通信。The memory 1402 may be coupled with the processor 1401 through a bus 1405 or an input/output port, and the memory 1402 may also be integrated with the processor 1401. The memory 1402 is used to store various software programs and/or multiple sets of instructions. Specifically, the memory 1402 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 1402 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminals, and one or more network devices.
发射器1403可用于对处理器1401输出的信号进行发射处理。接收器1404可用于对接收的通信信号进行接收处理。在网关控制面设备140中,发射器1403和接收器1404的数量均可以是一个或者多个。The transmitter 1403 may be used to transmit and process the signal output by the processor 1401. The receiver 1404 may be used for receiving and processing the received communication signal. In the gateway control plane device 140, the number of the transmitter 1403 and the receiver 1404 may both be one or more.
处理器1401可用于读取和执行计算机可读指令。具体的,处理器1401可用于调用存 储于存储器1402中的程序,例如本申请的一个或多个实施例提供的网关设备容灾的方法在第一网关控制面设备侧的实现程序,并执行该程序包含的指令以实现前述实施例涉及的方法。可选地,当处理器1401发送任何消息或数据时,其具体通过驱动或控制发射器1403做所述发送。可选地,当处理器1401接收任何消息或数据时,其具体通过驱动或控制接收器1404做所述接收。因此,处理器1401可以被视为是执行发送或接收的控制中心,发射器1403和接收器1404是发送和接收操作的具体执行者。The processor 1401 may be used to read and execute computer-readable instructions. Specifically, the processor 1401 may be used to call a program stored in the memory 1402, for example, the implementation program of the gateway device disaster recovery method provided by one or more embodiments of the present application on the first gateway control plane device side, and execute the program. The instructions contained in the program are used to implement the methods involved in the foregoing embodiments. Optionally, when the processor 1401 sends any message or data, it specifically drives or controls the transmitter 1403 to do the sending. Optionally, when the processor 1401 receives any message or data, it specifically drives or controls the receiver 1404 to do the reception. Therefore, the processor 1401 can be regarded as a control center that performs transmission or reception, and the transmitter 1403 and the receiver 1404 are specific performers of the transmission and reception operations.
其中,接收器1404,用于从第一接入及移动管理设备接收第三消息,所述第三消息包括第二指示信息和终端设备的标识,所述第二指示信息用于指示所述第一网关控制面设备将与所述终端设备对应的第一容灾数据发送至所述第一接入及移动管理设备,所述第一容灾数据用于在确定所述第一网关控制面设备故障时恢复所述终端设备在网关用户面设备的会话;Wherein, the receiver 1404 is configured to receive a third message from the first access and mobility management device, the third message includes second indication information and an identifier of the terminal device, and the second indication information is used to indicate the second indication information. A gateway control plane device sends first disaster tolerance data corresponding to the terminal device to the first access and mobility management device, and the first disaster tolerance data is used to determine the first gateway control plane device Restore the session of the terminal device on the gateway user plane device in the event of a failure;
处理器1401,用于对第三消息进行解析,获得第二指示信息和终端设备的标识;The processor 1401 is configured to parse the third message to obtain the second indication information and the identification of the terminal device;
发射器1403,用于向向所述第一接入及移动管理设备发送所述第一容灾数据。The transmitter 1403 is configured to send the first disaster tolerance data to the first access and mobility management device.
需要说明的,图13所示的网关控制面设备仅仅是本申请实施例的一种实现方式,实际应用中,网关控制面设备140还可以包括更多或更少的部件,这里不作限制。It should be noted that the gateway control plane device shown in FIG. 13 is only an implementation of the embodiment of the present application. In practical applications, the gateway control plane device 140 may also include more or fewer components, which is not limited here.
本发明实施例中,第二网关控制面设备与其他通信设备(比如第一接入及移动管理设备)通信的过程中,第二网关控制面设备侧执行的操作可以由第二网关控制面设备中的接收单元和处理单元来执行,其中,接收单元用于执行该过程中接收信息(或者说消息)的操作,处理单元用于对接收的消息进行处理。可选的,接收单元可以受处理单元控制,即处理单元可以控制接收单元执行接收的操作,接收单元也可以不受处理单元的控制。另外,第二网关控制面设备中的处理单元、接收单元可以分别为按照功能划分的逻辑模块,或者分别为相应的硬件模块。当处理单元、接收单元均为逻辑模块时,该第二网关控制面设备的结构可以如图14所示。In the embodiment of the present invention, during the communication process between the second gateway control plane device and other communication devices (such as the first access and mobility management device), the operations performed by the second gateway control plane device side can be performed by the second gateway control plane device The receiving unit and the processing unit are used to perform the operation of receiving information (or message) in the process, and the processing unit is used to process the received message. Optionally, the receiving unit may be controlled by the processing unit, that is, the processing unit may control the receiving unit to perform the receiving operation, and the receiving unit may not be controlled by the processing unit. In addition, the processing unit and the receiving unit in the second gateway control plane device may be logical modules divided according to functions, or may be corresponding hardware modules. When the processing unit and the receiving unit are both logical modules, the structure of the second gateway control plane device may be as shown in FIG. 14.
其中,接收单元1501,用于从第一接入及移动管理设备接收第一消息,所述第一消息为当所述第一接入及移动管理设备接收到终端设备的业务请求,并确定第一网关控制面设备故障时所触发的,所述第一消息包括与所述终端设备对应的第一容灾数据,所述第一网关控制面设备用于管理所述终端设备在网关用户面设备的会话;Wherein, the receiving unit 1501 is configured to receive a first message from a first access and mobility management device, where the first message is when the first access and mobility management device receives a service request from a terminal device, and determines the first message Triggered when a gateway control plane device fails, the first message includes the first disaster tolerance data corresponding to the terminal device, and the first gateway control plane device is used to manage the terminal device in the gateway user plane device Conversation
所述处理单元1502,用于根据所述第一容灾数据,恢复所述终端设备在所述网关用户面设备的会话。The processing unit 1502 is configured to restore the session of the terminal device on the gateway user plane device according to the first disaster tolerance data.
可选的,该第二网关控制面设备还可以包括发送单元,用于向其他通信设备发送消息。Optionally, the second gateway control plane device may further include a sending unit for sending messages to other communication devices.
当处理单元、接收单元和发送单元均为硬件模块时,处理单元可以具体为处理器,接收单元可以具体为接收器,发送单元可以具体为发射器,此时第一接入及移动管理设备的结构可以如图15所示。When the processing unit, receiving unit, and sending unit are all hardware modules, the processing unit can be specifically a processor, the receiving unit can be specifically a receiver, and the sending unit can be specifically a transmitter. The structure can be as shown in Figure 15.
请参见图15,图15示出了本申请实施例提供的一种第二网关控制面设备,该第二网关控制面设备160可包括:一个或多个处理器1601、存储器1602、发射器1603、接收器1604。这些部件可通过总线1605或者其他方式连接,图15以通过总线连接为例。其中:Please refer to FIG. 15. FIG. 15 shows a second gateway control plane device provided by an embodiment of the present application. The second gateway control plane device 160 may include: one or more processors 1601, a memory 1602, and a transmitter 1603. , Receiver 1604. These components can be connected through a bus 1605 or in other ways. FIG. 15 uses a bus connection as an example. among them:
处理器1601可以是通用处理器,例如中央处理器(central processing unit,CPU), 还可以是数字信号处理器(digital signal processing,DSP)、专用集成电路(application specific integrated circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。处理器1601可处理通过接收器1604接收到的数据。处理器1601还可处理将被发送到发射器1603的数据。The processor 1601 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processing (DSP), an application specific integrated circuit (ASIC), or One or more integrated circuits configured to implement embodiments of the invention. The processor 1601 may process data received through the receiver 1604. The processor 1601 may also process data to be sent to the transmitter 1603.
存储器1602可以和处理器1601通过总线1605或者输入输出端口耦合,存储器1602也可以与处理器1601集成在一起。存储器1602用于存储各种软件程序和/或多组指令。具体的,存储器1602可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器1602还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端,一个或多个网络设备进行通信。The memory 1602 may be coupled with the processor 1601 through a bus 1605 or an input/output port, and the memory 1602 may also be integrated with the processor 1601. The memory 1602 is used to store various software programs and/or multiple sets of instructions. Specifically, the memory 1602 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 1602 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminals, and one or more network devices.
发射器1603可用于对处理器1601输出的信号进行发射处理。接收器1604可用于对接收的通信信号进行接收处理。在第二网关控制面设备160中,发射器1603和接收器1604的数量均可以是一个或者多个。The transmitter 1603 may be used to transmit and process the signal output by the processor 1601. The receiver 1604 may be used for receiving and processing the received communication signal. In the second gateway control plane device 160, the number of transmitters 1603 and receivers 1604 may each be one or more.
处理器1601可用于读取和执行计算机可读指令。具体的,处理器1601可用于调用存储于存储器1602中的程序,例如本申请的一个或多个实施例提供的网关设备容灾的方法在第二网关控制面设备侧的实现程序,并执行该程序包含的指令以实现前述实施例涉及的方法。可选地,当处理器1601发送任何消息或数据时,其具体通过驱动或控制发射器1603做所述发送。可选地,当处理器1601接收任何消息或数据时,其具体通过驱动或控制接收器1604做所述接收。因此,处理器1601可以被视为是执行发送或接收的控制中心,发射器1603和接收器1604是发送和接收操作的具体执行者。The processor 1601 can be used to read and execute computer readable instructions. Specifically, the processor 1601 may be used to call a program stored in the memory 1602, such as the implementation program on the second gateway control plane device side of the gateway device disaster recovery method provided in one or more embodiments of the present application, and execute the program. The instructions contained in the program are used to implement the methods involved in the foregoing embodiments. Optionally, when the processor 1601 sends any message or data, it specifically drives or controls the transmitter 1603 to do the sending. Optionally, when the processor 1601 receives any message or data, it specifically drives or controls the receiver 1604 to do the reception. Therefore, the processor 1601 can be regarded as a control center that performs transmission or reception, and the transmitter 1603 and the receiver 1604 are specific performers of the transmission and reception operations.
其中,接收器1604,用于从第一接入及移动管理设备接收第一消息,所述第一消息为当所述第一接入及移动管理设备接收到终端设备的业务请求,并确定第一网关控制面设备故障时所触发的,所述第一消息包括与所述终端设备对应的第一容灾数据,所述第一网关控制面设备用于管理所述终端设备在网关用户面设备的会话;Wherein, the receiver 1604 is configured to receive a first message from a first access and mobility management device, where the first message is when the first access and mobility management device receives a service request from a terminal device, and determines the first message Triggered when a gateway control plane device fails, the first message includes the first disaster tolerance data corresponding to the terminal device, and the first gateway control plane device is used to manage the terminal device in the gateway user plane device Conversation
处理器1601,用于根据所述第一容灾数据,恢复所述终端设备在所述网关用户面设备的会话。The processor 1601 is configured to restore the session of the terminal device on the gateway user plane device according to the first disaster tolerance data.
需要说明的,图15所示的接入及移动管理设备160仅仅是本申请实施例的一种实现方式,实际应用中,接入及移动管理设备160还可以包括更多或更少的部件,这里不作限制。It should be noted that the access and mobility management device 160 shown in FIG. 15 is only an implementation of the embodiment of the present application. In actual applications, the access and mobility management device 160 may also include more or fewer components. There is no restriction here.
参见图16,图16示出了本申请提供的一种通信芯片的结构示意图。如图16所示,通信芯片170可包括:处理器1701,以及耦合于处理器1701的一个或多个接口1702。其中:Referring to FIG. 16, FIG. 16 shows a schematic structural diagram of a communication chip provided by the present application. As shown in FIG. 16, the communication chip 170 may include a processor 1701, and one or more interfaces 1702 coupled to the processor 1701. among them:
处理器171可用于读取和执行计算机可读指令。具体实现中,处理器1701可主要包括控制器、运算器和寄存器。其中,控制器主要负责指令译码,并为指令对应的操作发出控制信号。运算器主要负责执行定点或浮点算数运算操作、移位操作以及逻辑操作等,也可以执行地址运算和转换。寄存器主要负责保存指令执行过程中临时存放的寄存器操作数和中间操作结果等。具体实现中,处理器1701的硬件架构可以是专用集成电路(application specific integrated circuits,ASIC)架构、MIPS架构、ARM架构或者NP架构等等。处理器1701可以是单核的,也可以是多核的。The processor 171 can be used to read and execute computer-readable instructions. In specific implementation, the processor 1701 may mainly include a controller, an arithmetic unit, and a register. Among them, the controller is mainly responsible for the instruction decoding, and sends out control signals for the operation corresponding to the instruction. The arithmetic unit is mainly responsible for performing fixed-point or floating-point arithmetic operations, shift operations and logic operations, etc., and can also perform address operations and conversions. The register is mainly responsible for storing the register operands and intermediate operation results temporarily stored during the execution of the instruction. In specific implementation, the hardware architecture of the processor 1701 may be an application specific integrated circuit (ASIC) architecture, MIPS architecture, ARM architecture, or NP architecture, etc. The processor 1701 may be single-core or multi-core.
接口1702可用于输入待处理的数据至处理器1701,并且可以向外输出处理器1501的处理结果。例如,接口1702可以是通用输入输出(general purpose input output,GPIO)接口,可以和多个外围设备(如显示器(LCD)、摄像头(camara)、射频(radio frequency,RF)模块等等)连接。接口172通过总线1703与处理器1701相连。The interface 1702 can be used to input data to be processed to the processor 1701, and can output the processing result of the processor 1501 to the outside. For example, the interface 1702 may be a general purpose input output (GPIO) interface, and may be connected to multiple peripheral devices (such as a display (LCD), a camera (camara), a radio frequency (RF) module, etc.). The interface 172 is connected to the processor 1701 through the bus 1703.
本申请中,处理器1701可用于从存储器中调用本申请的一个或多个实施例提供的网关设备容灾的方法在通信设备侧(第一接入及移动管理设备、第一网关控制面设备或者第二网关控制面设备)的实现程序,并执行该程序包含的指令。接口1702可用于输出处理器1701的执行结果。关于本申请的一个或多个实施例提供的网关设备容灾的方法可参考前述方法实施例,这里不再赘述。In this application, the processor 1701 may be used to call the method for disaster recovery of a gateway device provided by one or more embodiments of this application from a memory on the side of the communication device (the first access and mobility management device, the first gateway control plane device) Or the implementation program of the second gateway control plane device), and execute the instructions contained in the program. The interface 1702 may be used to output the execution result of the processor 1701. For the method for disaster recovery of the gateway device provided by one or more embodiments of the present application, reference may be made to the foregoing method embodiment, which will not be repeated here.
需要说明的,处理器1701、接口1702各自对应的功能既可以通过硬件设计实现,也可以通过软件设计来实现,还可以通过软硬件结合的方式来实现,这里不作限制。It should be noted that the respective functions of the processor 1701 and the interface 1702 may be implemented through hardware design, or through software design, or through a combination of software and hardware, which is not limited here.
在本申请的另一实施例中,还提供一种可读存储介质,可读存储介质中存储有计算机执行指令,当一个设备(可以是单片机,芯片等)或处理器调用可读存储介质中存储的计算机执行指令,实现图4-图6所提供的网关设备容灾的方法中第一接入及移动管理设备、第一网关控制面设备或者第二网关控制面设备所执行的步骤。前述的可读存储介质可包括:U盘、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的介质。In another embodiment of the present application, a readable storage medium is also provided. The readable storage medium stores computer execution instructions. When a device (may be a single-chip microcomputer, a chip, etc.) or a processor calls the readable storage medium The stored computer executes instructions to implement the steps performed by the first access and mobility management device, the first gateway control plane device, or the second gateway control plane device in the gateway device disaster recovery method provided in FIGS. 4-6. The aforementioned readable storage medium may include: U disk, mobile hard disk, read-only memory, random access memory, magnetic disk or optical disk, and other media that can store program codes.
在本申请的另一实施例中,还提供一种计算机程序产品,该计算机程序产品包括计算机执行指令,该计算机执行指令存储在计算机可读存储介质中;设备的至少一个处理器可从计算机可读存储介质读取该计算机执行指令,实现图4-图6所提供的网关设备容灾的方法中第一接入及移动管理设备、第一网关控制面设备或者第二网关控制面设备所执行的步骤。In another embodiment of the present application, a computer program product is also provided. The computer program product includes computer-executable instructions, and the computer-executable instructions are stored in a computer-readable storage medium; at least one processor of the device can be accessed from a computer. Read the storage medium to read the computer execution instructions, and implement the first access and mobility management device, the first gateway control plane device, or the second gateway control plane device in the gateway device disaster recovery method provided in Figures 4-6. A step of.
本申请的说明书和权利要求书及所述附图中的术语“第一”、“第二”、“第三”和“第四”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选的还包括没有列出的步骤或单元,或可选的还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third" and "fourth" in the specification and claims of the application and the drawings are used to distinguish different objects, rather than describing a specific order . In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units not listed, or optionally includes Other steps or units inherent in these processes, methods, products or equipment.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(如同轴电缆、光纤、数字用户线(DSL))或无线(如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介 质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(如软盘、硬盘、磁带)、光介质(如DVD)、或者半导体介质(如固态硬盘(solid state disk,SSD))等。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented by software, it can be implemented in the form of a computer program product in whole or in part. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from a website, computer, server, or data center. Transmission to another website, computer, server or data center via wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media. The usable medium may be a magnetic medium (such as a floppy disk, a hard disk, and a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
最后应说明的是:以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何在本申请揭露的技术范围内的变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。Finally, it should be noted that the above are only specific implementations of this application, but the scope of protection of this application is not limited to this. Any changes or substitutions within the technical scope disclosed in this application shall be covered by this application. Within the scope of protection applied for. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (22)

  1. 一种网关设备容灾的方法,其特征在于,包括:A method for disaster recovery of gateway equipment, characterized in that it comprises:
    第一接入及移动管理设备接收终端设备的业务请求;The first access and mobility management device receives the service request of the terminal device;
    所述第一接入及移动管理设备响应所述业务请求,确定第一网关控制面设备故障,则选择第二网关控制面设备,所述第一网关控制面设备用于管理所述终端设备在网关用户面设备的会话;In response to the service request, the first access and mobility management device determines that the first gateway control plane device is faulty, and then selects the second gateway control plane device. The first gateway control plane device is used to manage the terminal device The session of the gateway user plane device;
    所述第一接入及移动管理设备向所述第二网关控制面设备发送第一消息,所述第一消息包括与所述终端设备对应的第一容灾数据,所述第一容灾数据用于所述第二网关控制面设备根据所述第一容灾数据恢复所述终端设备在所述网关用户面设备的所述会话。The first access and mobility management device sends a first message to the second gateway control plane device, where the first message includes first disaster tolerance data corresponding to the terminal device, and the first disaster tolerance data The second gateway control plane device is used for restoring the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
  2. 如权利要求1所述的方法,其特征在于,所述第一消息为创建会话请求或者业务消息;所述业务消息用于请求所述第二网关控制面设备建立所述网关用户面设备与所述终端设备关联的接入网设备之间的承载。The method according to claim 1, wherein the first message is a session creation request or a service message; the service message is used to request the second gateway control plane device to establish the connection between the gateway user plane device and the gateway user plane device. The bearer between the access network equipment associated with the terminal equipment.
  3. 如权利要求1或2所述的方法,其特征在于,所述第一接入及移动管理设备接收终端设备的业务请求之前,还包括:The method according to claim 1 or 2, wherein before the first access and mobility management device receives a service request from a terminal device, the method further comprises:
    所述第一接入及移动管理设备从第三网关控制面设备接收第二消息,所述第二消息为所述网关用户面设备接收到与所述终端设备对应的下行数据,且确定所述第一网关控制面设备故障时,触发所述第三网关控制面设备发送的,所述第二消息包括第一指示信息,所述第一指示信息用于指示所述第一接入及移动管理设备向所述终端设备发送寻呼消息;The first access and mobility management device receives a second message from a third gateway control plane device, where the second message is that the gateway user plane device receives downlink data corresponding to the terminal device, and determines the When the first gateway control plane device fails, the third gateway control plane device is triggered to send, the second message includes first indication information, and the first indication information is used to indicate the first access and mobility management The device sends a paging message to the terminal device;
    所述第一接入及移动管理设备根据所述第一指示信息,向所述终端设备发送寻呼消息,所述寻呼消息用于触发所述终端设备发送所述业务请求。The first access and mobility management device sends a paging message to the terminal device according to the first indication information, where the paging message is used to trigger the terminal device to send the service request.
  4. 如权利要求3所述的方法,其特征在于,所述第二消息还包括与所述第一容灾数据关联的寻址信息,所述寻址信息用于获取所述第一容灾数据的备份存储位置;所述方法还包括:The method of claim 3, wherein the second message further includes addressing information associated with the first disaster tolerance data, and the addressing information is used to obtain information about the first disaster tolerance data. Backup storage location; the method further includes:
    所述第一接入及移动管理设备根据所述寻址信息,获取与所述终端设备对应的第一容灾数据,第一容灾数据还包括所述终端设备关联的接入网设备的标识;The first access and mobility management device obtains first disaster tolerance data corresponding to the terminal device according to the addressing information, and the first disaster tolerance data further includes the identification of the access network device associated with the terminal device ;
    所述第一接入及移动管理设备根据所述第一指示信息向所述终端设备发送寻呼消息,包括:The first access and mobility management device sending a paging message to the terminal device according to the first indication information includes:
    所述第一接入及移动管理设备根据所述第一指示信息,通过所述接入网设备向所述终端设备发送寻呼消息。The first access and mobility management device sends a paging message to the terminal device through the access network device according to the first indication information.
  5. 如权利要求1所述的方法,其特征在于,所述第一接入及移动管理设备接收终端设备的业务请求之前,还包括:The method according to claim 1, wherein before the first access and mobility management device receives a service request from a terminal device, the method further comprises:
    所述第一接入及移动管理设备接收所述终端设备的附着请求;Receiving, by the first access and mobility management device, the attachment request of the terminal device;
    所述第一接入及移动管理设备根据所述附着请求,向所述第一网关控制面设备发送第三消息,所述第三消息包括第二指示信息和所述终端设备的标识,所述第二指示信息用于指示所述第一网关控制面设备将与所述终端设备对应的所述第一容灾数据发送至所述第一接入及移动管理设备;The first access and mobility management device sends a third message to the first gateway control plane device according to the attachment request, and the third message includes second indication information and the identification of the terminal device. The second indication information is used to instruct the first gateway control plane device to send the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device;
    所述第一接入及移动管理设备从所述第一网关控制面设备接收所述第一容灾数据;Receiving, by the first access and mobility management device, the first disaster tolerance data from the first gateway control plane device;
    所述第一接入及移动管理设备存储所述第一容灾数据。The first access and mobility management device stores the first disaster tolerance data.
  6. 如权利要求5所述的方法,其特征在于,所述方法还包括:The method of claim 5, wherein the method further comprises:
    所述第一接入及移动管理设备将所述第一容灾数据备份至第二接入及移动管理设备。The first access and mobility management device backs up the first disaster tolerance data to the second access and mobility management device.
  7. 一种网关设备容灾的方法,其特征在于,包括:A method for disaster recovery of gateway equipment, characterized in that it comprises:
    第一网关控制面设备从第一接入及移动管理设备接收第三消息,所述第三消息包括第二指示信息和终端设备的标识,所述第二指示信息用于指示所述第一网关控制面设备将与所述终端设备对应的第一容灾数据发送至所述第一接入及移动管理设备,所述第一容灾数据用于在确定所述第一网关控制面设备故障时恢复所述终端设备在网关用户面设备的会话;The first gateway control plane device receives a third message from the first access and mobility management device. The third message includes second indication information and an identifier of the terminal device. The second indication information is used to indicate the first gateway The control plane device sends the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device, where the first disaster tolerance data is used when determining that the first gateway control plane device is faulty Resume the session of the terminal device on the gateway user plane device;
    所述第一网关控制面设备向所述第一接入及移动管理设备发送所述第一容灾数据。The first gateway control plane device sends the first disaster tolerance data to the first access and mobility management device.
  8. 如权利要求7所述的方法,其特征在于,所述第三消息还包括与所述第一容灾数据关联的寻址信息;所述方法还包括:8. The method of claim 7, wherein the third message further includes addressing information associated with the first disaster tolerance data; the method further includes:
    所述第一网关控制面设备向所述网关用户面设备发送所述寻址信息和所述终端设备的标识,所述寻址信息用于在所述网关用户面设备接收到与所述终端设备对应的下行数据,且所述第一网关控制面设备故障时获取所述第一容灾数据。The first gateway control plane device sends the addressing information and the identification of the terminal device to the gateway user plane device, and the addressing information is used to communicate with the terminal device when the gateway user plane device receives Corresponding downlink data, and the first disaster tolerance data is acquired when the first gateway control plane device fails.
  9. 一种网关设备容灾的方法,其特征在于,包括:A method for disaster recovery of gateway equipment, characterized in that it comprises:
    第二网关控制面设备从第一接入及移动管理设备接收第一消息,所述第一消息为当所述第一接入及移动管理设备接收到终端设备的业务请求,并确定第一网关控制面设备故障时所触发的,所述第一消息包括与所述终端设备对应的第一容灾数据,所述第一网关控制面设备用于管理所述终端设备在网关用户面设备的会话;The second gateway control plane device receives the first message from the first access and mobility management device, the first message is when the first access and mobility management device receives the service request of the terminal device, and determines the first gateway Triggered when a control plane device fails, the first message includes first disaster tolerance data corresponding to the terminal device, and the first gateway control plane device is used to manage the terminal device's session on the gateway user plane device ;
    所述第二网关控制面设备根据所述第一容灾数据,恢复所述终端设备在所述网关用户面设备的会话。The second gateway control plane device restores the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
  10. 如权利要求9所述的方法,其特征在于,所述第一消息为创建会话请求或者业务消息;所述业务消息用于请求所述第二网关控制面设备建立所述网关用户面设备与所述终端设备关联的接入网设备之间的承载。The method according to claim 9, wherein the first message is a session creation request or a service message; the service message is used to request the second gateway control plane device to establish a connection between the gateway user plane device and the gateway user plane device. The bearer between the access network equipment associated with the terminal equipment.
  11. 一种接入及移动管理设备,其特征在于,所述接入及移动管理设备为第一接入及移动管理设备,所述第一接入及移动管理设备包括接收单元、处理单元和发送单元,其中:An access and mobility management device, wherein the access and mobility management device is a first access and mobility management device, and the first access and mobility management device includes a receiving unit, a processing unit, and a sending unit ,among them:
    所述接收单元,用于接收终端设备的业务请求;The receiving unit is configured to receive a service request from a terminal device;
    所述处理单元,用于响应所述业务请求,确定第一网关控制面设备故障,则选择第二网关控制面设备,所述第一网关控制面设备用于管理所述终端设备在网关用户面设备的会话;The processing unit is configured to respond to the service request and determine that the first gateway control plane device is faulty, and then select a second gateway control plane device. The first gateway control plane device is used to manage the terminal device in the gateway user plane. Device session;
    所述发送单元,还用于向所述第二网关控制面设备发送第一消息,所述第一消息包括与所述终端设备对应的第一容灾数据,所述第一容灾数据用于所述第二网关控制面设备根据所述第一容灾数据恢复所述终端设备在所述网关用户面设备的所述会话。The sending unit is further configured to send a first message to the second gateway control plane device, where the first message includes first disaster tolerance data corresponding to the terminal device, and the first disaster tolerance data is used for The second gateway control plane device restores the session of the terminal device in the gateway user plane device according to the first disaster tolerance data.
  12. 如权利要求11所述的接入及移动管理设备,其特征在于,所述第一消息为创建会话请求或者业务消息;所述业务消息用于请求所述第二网关控制面设备建立所述网关用户面设备与所述终端设备关联的接入网设备之间的承载。The access and mobility management device according to claim 11, wherein the first message is a session creation request or a service message; the service message is used to request the second gateway control plane device to establish the gateway The bearer between the user plane device and the access network device associated with the terminal device.
  13. 如权利要求11或12所述的接入及移动管理设备,其特征在于,The access and mobility management device according to claim 11 or 12, wherein:
    所述接收单元还用于从第三网关控制面设备接收第二消息,所述第二消息为所述网关 用户面设备接收到与所述终端设备对应的下行数据,且确定所述第一网关控制面设备故障时,触发所述第三网关控制面设备发送的,所述第二消息包括第一指示信息,所述第一指示信息用于指示所述第一接入及移动管理设备向所述终端设备发送寻呼消息;The receiving unit is further configured to receive a second message from a third gateway control plane device, where the second message is that the gateway user plane device receives downlink data corresponding to the terminal device, and determines the first gateway When the control plane device fails, the third gateway control plane device is triggered to send, the second message includes first indication information, and the first indication information is used to instruct the first access and mobility management device to send the The terminal device sends a paging message;
    所述发送单元还用于根据所述第一指示信息,向所述终端设备发送寻呼消息,所述寻呼消息用于触发所述终端设备发送所述业务请求。The sending unit is further configured to send a paging message to the terminal device according to the first indication information, where the paging message is used to trigger the terminal device to send the service request.
  14. 如权利要求13所述的接入及移动管理设备,其特征在于,所述第二消息还包括与所述第一容灾数据关联的寻址信息,所述寻址信息用于获取所述第一容灾数据的备份存储位置;The access and mobility management device according to claim 13, wherein the second message further includes addressing information associated with the first disaster tolerance data, and the addressing information is used to obtain the second 1. Backup storage location of disaster recovery data;
    所述处理单元还用于根据所述寻址信息,获取与所述终端设备对应的第一容灾数据,第一容灾数据还包括所述终端设备关联的接入网设备的标识;The processing unit is further configured to obtain first disaster tolerance data corresponding to the terminal device according to the addressing information, and the first disaster tolerance data further includes the identifier of the access network device associated with the terminal device;
    所述发送单元还用于根据所述第一指示信息,通过所述接入网设备向所述终端设备发送寻呼消息。The sending unit is further configured to send a paging message to the terminal device through the access network device according to the first indication information.
  15. 如权利要求11所述的接入及移动管理设备,其特征在于,The access and mobility management device according to claim 11, wherein:
    所述接收单元还用于接收所述终端设备的附着请求;The receiving unit is further configured to receive an attachment request of the terminal device;
    所述发送单元还用于根据所述附着请求,向所述第一网关控制面设备发送第三消息,所述第三消息包括第二指示信息和所述终端设备的标识,所述第二指示信息用于指示所述第一网关控制面设备将与所述终端设备对应的所述第一容灾数据发送至所述第一接入及移动管理设备;The sending unit is further configured to send a third message to the first gateway control plane device according to the attachment request, where the third message includes second indication information and the identification of the terminal device, and the second indication Information used to instruct the first gateway control plane device to send the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device;
    所述接收单元还用于从所述第一网关控制面设备接收所述第一容灾数据;The receiving unit is further configured to receive the first disaster tolerance data from the first gateway control plane device;
    所述处理单元还用于存储所述第一容灾数据。The processing unit is also used to store the first disaster tolerance data.
  16. 如权利要求15所述的接入及移动管理设备,其特征在于,The access and mobility management device according to claim 15, wherein:
    所述发送单元还用于将所述第一容灾数据备份至第二接入及移动管理设备。The sending unit is also used to back up the first disaster tolerance data to a second access and mobility management device.
  17. 一种网关控制面设备,其特征在于,所述网关控制面设备为第一网关控制面设备,所述第一网关控制面设备包括接收单元和发送单元,其中:A gateway control plane device, wherein the gateway control plane device is a first gateway control plane device, and the first gateway control plane device includes a receiving unit and a sending unit, wherein:
    所述接收单元,用于从第一接入及移动管理设备接收第三消息,所述第三消息包括第二指示信息和终端设备的标识,所述第二指示信息用于指示所述第一网关控制面设备将与所述终端设备对应的第一容灾数据发送至所述第一接入及移动管理设备,所述第一容灾数据用于在确定所述第一网关控制面设备故障时恢复所述终端设备在网关用户面设备的会话;The receiving unit is configured to receive a third message from a first access and mobility management device, the third message includes second indication information and an identifier of the terminal device, and the second indication information is used to indicate the first The gateway control plane device sends the first disaster tolerance data corresponding to the terminal device to the first access and mobility management device, and the first disaster tolerance data is used to determine the failure of the first gateway control plane device. Resume the session of the terminal device on the gateway user plane device at the time;
    所述发送单元,向所述第一接入及移动管理设备发送所述第一容灾数据。The sending unit sends the first disaster tolerance data to the first access and mobility management device.
  18. 如权利要求17所述的网关控制面设备,其特征在于,所述第三消息还包括与所述第一容灾数据关联的寻址信息;The gateway control plane device of claim 17, wherein the third message further includes addressing information associated with the first disaster tolerance data;
    所述发送单元还用于向所述网关用户面设备发送所述寻址信息和所述终端设备的标识,所述寻址信息用于在所述网关用户面设备接收到与所述终端设备对应的下行数据,且所述第一网关控制面设备故障时获取所述第一容灾数据。The sending unit is further configured to send the addressing information and the identification of the terminal device to the gateway user plane device, and the addressing information is used to receive the address information corresponding to the terminal device on the gateway user plane device. And obtain the first disaster tolerance data when the first gateway control plane device fails.
  19. 一种网关控制面设备,其特征在于,所述网关控制面设备为第二网关控制面设备,所述第二网关控制面设备包括接收单元和处理单元,其中:A gateway control plane device, wherein the gateway control plane device is a second gateway control plane device, and the second gateway control plane device includes a receiving unit and a processing unit, wherein:
    所述接收单元,用于从第一接入及移动管理设备接收第一消息,所述第一消息为当所述第一接入及移动管理设备接收到终端设备的业务请求,并确定第一网关控制面设备故障 时所触发的,所述第一消息包括与所述终端设备对应的第一容灾数据,所述第一网关控制面设备用于管理所述终端设备在网关用户面设备的会话;The receiving unit is configured to receive a first message from a first access and mobility management device, where the first message is when the first access and mobility management device receives a service request from a terminal device, and determines the first Triggered when the gateway control plane device fails, the first message includes the first disaster tolerance data corresponding to the terminal device, and the first gateway control plane device is used to manage the terminal device's access to the gateway user plane device. Conversation
    所述处理单元,用于根据所述第一容灾数据,恢复所述终端设备在所述网关用户面设备的会话。The processing unit is configured to restore the session of the terminal device on the gateway user plane device according to the first disaster tolerance data.
  20. 如权利要求19所述的网关控制面设备,其特征在于,所述第一消息为创建会话请求或者业务消息;所述业务消息用于请求所述第二网关控制面设备建立所述网关用户面设备与所述终端设备关联的接入网设备之间的承载。The gateway control plane device according to claim 19, wherein the first message is a session creation request or a service message; the service message is used to request the second gateway control plane device to establish the gateway user plane The bearer between the device and the access network device associated with the terminal device.
  21. 一种通信系统,其特征在于,包括第一接入及移动管理设备、第一网关控制面设备以及第二网关控制面设备,其中,所述第一接入及移动管理设备为权利要求11-16任一项所述的接入及移动管理设备,所述第一网关控制面设备为权利要求17或18所述的网关控制面设备,所述第二网关控制面设备为权利要求19或20所述的网关控制面设备。A communication system, characterized by comprising a first access and mobility management device, a first gateway control plane device, and a second gateway control plane device, wherein the first access and mobility management device is according to claim 11- The access and mobility management device according to any one of 16, the first gateway control plane device is the gateway control plane device according to claim 17 or 18, and the second gateway control plane device is claim 19 or 20 The gateway control plane device.
  22. 一种计算机存储介质,其特征在于,所述计算机存储介质上存储有指令,当所述指令在处理器上运行时,使得所述处理器执行权利要求1至6或者权利要求7至8或者权利要求9至10任一项所述的的网关设备容灾的方法。A computer storage medium, characterized in that instructions are stored on the computer storage medium, and when the instructions run on a processor, the processor executes claims 1 to 6 or claims 7 to 8 or rights. The method for disaster recovery of gateway equipment described in any one of claims 9 to 10.
PCT/CN2020/115066 2019-09-23 2020-09-14 Disaster recovery method for gateway device, and communication device WO2021057526A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910901318.X 2019-09-23
CN201910901318.XA CN112543468B (en) 2019-09-23 2019-09-23 Disaster recovery method for gateway equipment and communication equipment

Publications (1)

Publication Number Publication Date
WO2021057526A1 true WO2021057526A1 (en) 2021-04-01

Family

ID=75013047

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/115066 WO2021057526A1 (en) 2019-09-23 2020-09-14 Disaster recovery method for gateway device, and communication device

Country Status (2)

Country Link
CN (1) CN112543468B (en)
WO (1) WO2021057526A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115297569A (en) * 2022-10-08 2022-11-04 北京云智软通信息技术有限公司 Communication method, node, equipment and storage medium
CN115623009A (en) * 2022-12-19 2023-01-17 南京赛宁信息技术有限公司 Active defense gateway visitor data backup and node online capacity expansion method and system
WO2023207235A1 (en) * 2022-04-28 2023-11-02 华为技术有限公司 User plane management method, control plane device, and user plane device

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115150857A (en) * 2021-03-31 2022-10-04 华为技术有限公司 Gateway fault recovery method, system and device
CN115529220A (en) * 2021-06-08 2022-12-27 中国移动通信集团重庆有限公司 Communication gateway disaster tolerance system and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120044802A1 (en) * 2006-10-24 2012-02-23 Huawei Technologies Co., Ltd. Method and device for realizing ip multimedia subsystem disaster tolerance
CN105338560A (en) * 2014-08-07 2016-02-17 中国电信股份有限公司 Disaster recovery method, equipment and system for service gateway
CN105357701A (en) * 2014-08-20 2016-02-24 中国电信股份有限公司 LTE network gateway pool disaster tolerance method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104284359B (en) * 2014-06-17 2018-10-02 南京邮电大学 Trans-regional disaster tolerance system and control method under a kind of EPC networks
CN108880917B (en) * 2018-08-23 2021-01-05 华为技术有限公司 Switching method and device of control plane equipment and transfer control separation system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120044802A1 (en) * 2006-10-24 2012-02-23 Huawei Technologies Co., Ltd. Method and device for realizing ip multimedia subsystem disaster tolerance
CN105338560A (en) * 2014-08-07 2016-02-17 中国电信股份有限公司 Disaster recovery method, equipment and system for service gateway
CN105357701A (en) * 2014-08-20 2016-02-24 中国电信股份有限公司 LTE network gateway pool disaster tolerance method, device and system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023207235A1 (en) * 2022-04-28 2023-11-02 华为技术有限公司 User plane management method, control plane device, and user plane device
CN115297569A (en) * 2022-10-08 2022-11-04 北京云智软通信息技术有限公司 Communication method, node, equipment and storage medium
CN115297569B (en) * 2022-10-08 2023-06-02 北京云智软通信息技术有限公司 Communication method, node, device and storage medium
CN115623009A (en) * 2022-12-19 2023-01-17 南京赛宁信息技术有限公司 Active defense gateway visitor data backup and node online capacity expansion method and system

Also Published As

Publication number Publication date
CN112543468A (en) 2021-03-23
CN112543468B (en) 2022-11-18

Similar Documents

Publication Publication Date Title
WO2021057526A1 (en) Disaster recovery method for gateway device, and communication device
CN110557777B (en) Network connection control method, terminal and storage medium
US20220248254A1 (en) Method of processing network slice based congestion, device and system thereof
US11116039B2 (en) Method and apparatus for supporting user's mobility over a local area data network
US10827553B2 (en) Method and apparatus for session reestablishment, access and mobility management function entity, session management function entity and terminal
US8971295B2 (en) Soft handoffs in networks
KR101806951B1 (en) Method and apparatus for receiving contents on mobile communication system
US9198222B2 (en) Telecommunication network
JP2010063022A (en) Method of controlling access gateway apparatus, and communicating system
CN109150808B (en) Communication method, device and system
WO2016145575A1 (en) Service processing method, related device and system
WO2018068598A1 (en) Session management method, mobile management functional entity and session management functional entity
WO2019096306A1 (en) Request processing method, and corresponding entity
US20210329504A1 (en) Communication method and apparatus
CN113365234B (en) Calling method and device and electronic equipment
WO2022194002A1 (en) Voice service handover method, device, and user equipment
WO2019223478A1 (en) Information processing method and apparatus, network element and storage medium
JP7002564B2 (en) Communication method and equipment
KR20110082523A (en) Relay frame structure for supporting transparent and bidirectional relays
US11576097B2 (en) Method and terminal for redirecting network
WO2024007975A1 (en) Call capability monitoring method and apparatus, and terminal and readable storage medium
WO2020168467A1 (en) Terminal and method for performing a group communication
CN109831810B (en) Method and device for establishing wireless access bearer
WO2022194212A1 (en) Calling method and apparatus and electronic device
CN113993147B (en) Information processing method, network element, storage medium, and program product

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

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

Country of ref document: EP

Kind code of ref document: A1