WO2017166126A1 - Method, device, and system for identifying invalid bearer context - Google Patents

Method, device, and system for identifying invalid bearer context Download PDF

Info

Publication number
WO2017166126A1
WO2017166126A1 PCT/CN2016/077875 CN2016077875W WO2017166126A1 WO 2017166126 A1 WO2017166126 A1 WO 2017166126A1 CN 2016077875 W CN2016077875 W CN 2016077875W WO 2017166126 A1 WO2017166126 A1 WO 2017166126A1
Authority
WO
WIPO (PCT)
Prior art keywords
bearer
sgw
identifier
mme
invalid
Prior art date
Application number
PCT/CN2016/077875
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 华为技术有限公司
Priority to PCT/CN2016/077875 priority Critical patent/WO2017166126A1/en
Publication of WO2017166126A1 publication Critical patent/WO2017166126A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections

Definitions

  • the present invention relates to a mobile communication system, and in particular, to a method, device and system for identifying an invalid bearer context.
  • the functions of the traditional gateway namely the Serving Gateway (SGW) and the Packet Data Network Gateway (PGW), based on the evolved packet system (EPS) network architecture.
  • the functions for example, the control function and the message processing function, are decomposed into two independent network elements, namely Control Plane Gateway (GW-C) and User Plane Gateway (GW-U).
  • a new network architecture is called a Distributed Gateway (DGW) architecture.
  • the control plane gateway includes a Control Plane Serving Gateway (SGW-C) and a Control Plane Packet Data Network Gateway (PGW-C), which are specifically used to implement a traditional gateway. Control functions and logic for implementing functions such as session management and/or data path configuration.
  • the user plane gateway includes a User Plane Serving Gateway (SGW-U) and a User Plane Packet Data Network Gateway (PGW-U), which is specifically configured to implement user plane data forwarding on the network side. It is pure data forwarding or just simple control logic.
  • SGW-U User Plane Serving Gateway
  • PGW-U User Plane Packet Data Network Gateway
  • the user plane gateway and the Mobility Management Entity no longer have direct interaction with data or signaling, and therefore, when the user plane service gateway (SGW) -U) When restarting or down, the MME cannot sense the SGW_U exception in time, causing data transmission to be interrupted.
  • Embodiments of the present invention provide a method, apparatus, and system for identifying an invalid bearer context, which can enable The MME quickly senses the abnormality of the SGW-U and improves system reliability.
  • the first aspect provides a method for identifying an invalid bearer context, including: the mobility management entity MME receiving a notification message sent by the control plane serving gateway SGW-C, where the notification message carries abnormal indication information; Indicates the information to determine the invalid bearer context.
  • the abnormality indication information includes at least one of the following: a first bearer identifier, an identifier of the user equipment UE, and a first user plane serving gateway SGW-U identifier.
  • the first SGW-U identifier is used to indicate that the first SGW-U is abnormal.
  • the abnormality may be restarted or down, or the device caused by a serious alarm or the like may not work normally.
  • the first SGW-U identifier is a device identifier or a location of the first SGW-U The IP address of the first SGW-U.
  • the abnormality indication information includes the first SGW-U identifier Determining, by the MME, the invalid bearer context according to the abnormality indication information, the MME obtaining the bearer context of the related bearer of the first SGW-U according to the first SGW-U identifier; the MME The obtained bearer context is determined to be the invalid bearer context.
  • the MME obtains a bearer related to the first SGW-U according to the first SGW-U identifier
  • the bearer context includes: the MME searching for the first SGW-U identifier in a locally stored bearer context, obtaining a bearer context including the first SGW-U identifier; or the MME according to a preset
  • the corresponding relationship between the SGW-U and the bearer is determined, and the related bearer of the first SGW-U is determined, and the bearer context of the related bearer is obtained.
  • the related bearer of the first SGW-U is a bearer corresponding to the first SGW-U identifier.
  • the method further includes: the MME sending a modify bearer request message to the SGW-C, where The modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormality.
  • the bearer, the abnormal bearer is one of the bearers corresponding to the invalid bearer context;
  • the MME receives the modify bearer response message sent by the SGW-C, and the modified bearer response message carries the second bearer identifier and the whole a tunnel endpoint identifier F-TEID, the F-TEID including an IP address of the second SGW-U and a reassigned tunnel endpoint identifier TEID;
  • the MME is updated according to the second bearer identifier and the F-TEID The invalid bearer context.
  • the method further includes: the MME receiving the first UE The sent tracking area update TAU message or service request service request message, the TAU message or service request message carries the identifier of the first UE; if there is an invalid bearer context of the first UE, the SGW-C is sent to the SGW-C Sending a modify bearer request message, where the modify bearer request message carries a third bearer identifier, where the third bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is a bearer corresponding to the invalid bearer context of the first UE;
  • the MME receives the modified bearer response message sent by the SGW-C, where the modified bearer response message carries the third bearer identifier and the F-TEID, where the F-TEID includes the IP address of the second SGW-U and the reassigned
  • the MME updates the invalid bearer
  • the method before the MME receives the TAU or service request message sent by the first UE, the method further includes: the MME receiving The downlink data sent by the SGW-C is notified to the DDN message, where the DDN message carries the third bearer identifier, and the MME sends a paging message to the first UE according to the DDN message, where the paging message is sent. Used to page the first UE.
  • a second aspect provides a method for identifying an invalid bearer context, the method comprising: the control plane serving gateway SGW-C monitoring a state of the first user plane serving gateway SGW-U; if the first SGW-U is abnormal And the SGW-C sends a notification message to the mobility management entity MME, where the notification message carries abnormal indication information, where the abnormality indication information is used by the MME to determine an invalid bearer context.
  • the abnormality may be restarted or down, or the device caused by a serious alarm or the like may not work normally.
  • the abnormality indication information includes at least one of the following: a first bearer identifier, an identifier of the user equipment, and a first SGW-U identifier.
  • the first SGW-U identifier is a device identifier of the first SGW or the first SGW-U IP address.
  • the method further includes: the SGW-C receiving the sending by the MME The first modified bearer request message, where the first modified bearer request message carries a second bearer identifier, the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is one of the bearers corresponding to the invalid bearer context.
  • the SGW-C sends a recovery bearer request message to the second SGW-U according to the first modified bearer request message, where the resume bearer request message carries the second bearer identifier; the SGW-C receiving station a recovery bearer response message sent by the second SGW-U, the recovery bearer response message carrying the second bearer identifier and the reassigned tunnel endpoint identifier TEID; the SGW-C sending the first modified bearer to the MME And responding to the message, the first modified bearer response message carries the second bearer identifier and a full tunnel endpoint identifier F-TEID, where the F-TEID includes the reassigned TEID and the IP of the second SGW-U address.
  • the method further includes: the SGW-C receiving the sending by the MME The first modified bearer request message, where the first modified bearer request message carries a second bearer identifier, the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is one of the bearers corresponding to the invalid bearer context.
  • the SGW-C re-allocates the TEID according to the first modified bearer request message; the SGW-C notifies the second SGW-U of the re-allocated TEID; the SGW-C sends the first to the MME And modifying the bearer response message, where the first modified bearer response message carries the second bearer identifier and the F-TEID, where the F-TEID includes the reassigned TEID and the IP address of the second SGW-U.
  • a third aspect provides an apparatus for identifying an invalid bearer context, the apparatus being a mobility management entity MME, the apparatus comprising: a receiving unit, configured to receive, by a control plane serving gateway SGW-C The notification message carries the abnormality indication information, and the determining unit is configured to determine the invalid bearer context according to the abnormality indication information received by the receiving unit.
  • the abnormality indication information includes at least one of the following: a first bearer identifier, an identifier of the user equipment UE, and a first user plane serving gateway SGW-U identifier.
  • the first SGW-U identifier is used to indicate that the first SGW-U is abnormal.
  • the abnormality may be restarted or down, or the device caused by a serious alarm or the like may not work normally.
  • the first SGW-U identifier is a device identifier of the first SGW-U or the first SGW -U's IP address.
  • the abnormality indication information includes the first SGW-U identifier, and the determining unit is specifically used Obtaining, according to the first SGW-U identifier, a bearer context of the related bearer of the first SGW-U; determining the obtained bearer context as the invalid bearer context.
  • the related bearer may include a bearer whose one end is the first SGW-U.
  • the determining unit is further configured to: search for the first SGW-U identifier in a locally stored bearer context, Obtaining a bearer context that includes the first SGW-U identifier; or determining a related bearer of the first SGW-U according to a correspondence between the preset SGW-U identifier and the bearer, and obtaining the related bearer Hosting context.
  • the related bearer may be a bearer corresponding to the first SGW-U identifier.
  • the fourth aspect provides an apparatus for identifying an invalid bearer context, where the apparatus is a control plane serving gateway SGW-C, and the apparatus includes: a monitoring unit, configured to monitor a state of the first user plane serving gateway SGW-U; a sending unit, configured to: if the monitoring unit detects that the first SGW-U is abnormal, send a notification message to the mobility management entity MME, where the notification message carries abnormal indication information, where the abnormality indication information is used by the The MME determines the invalid bearer context.
  • the abnormality may be restarted or down, or the device caused by a serious alarm or the like may not work normally.
  • the abnormality indication information packet At least one of the following: a first bearer identifier, an identifier of the user equipment, and the first SGW-U identifier.
  • the first SGW-U identifier is a device identifier of the first SGW or the first SGW-U IP address.
  • the device further includes a receiving unit, and the receiving unit is configured to receive the a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is corresponding to the invalid bearer context.
  • a sending unit configured to send a recovery bearer request message to the second SGW-U according to the first modified bearer request message received by the receiving unit, where the resume bearer request message carries
  • the receiving unit is further configured to receive a recovery bearer response message sent by the second SGW-U, where the recovery bearer response message carries the second bearer identifier and a reassigned tunnel endpoint identifier
  • the sending unit is further configured to send a first modified bearer response message to the MME, where the first modified bearer response message carries the second bearer identifier and Tunnel Endpoint Identifier F-TEID, the F-TEID including the IP address and TEID of the re-allocation of the second of the SGW-U.
  • the device further includes: a receiving unit and a processing unit; And the first modified bearer request message is sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is invalid.
  • a processing unit configured to: re-allocate the TEID according to the first modified bearer request message; and notify the second SGW-U of the re-allocated TEID; the sending unit further And sending, by the MME, a first modified bearer response message, where the first modified bearer response message carries the second bearer identifier and an F-TEID, where the F-TEID includes the reassigned TEID and the first The IP address of the second SGW-U.
  • the MME receives the SGW-C
  • the notification message is sent, and the notification message carries the abnormality indication information, and the invalid bearer context is determined according to the abnormality indication information, so that the MME can know the abnormal bearer in time, avoid the data transmission failure caused by the invalid bearer information, and improve the user experience.
  • 1 is a schematic diagram of a distributed gateway architecture
  • FIG. 2 is a flowchart of a method for identifying an invalid bearer context according to an embodiment of the present invention
  • FIG. 3 is a flowchart of another method for identifying an invalid bearer context according to an embodiment of the present invention.
  • FIG. 4 is a flowchart of another method for identifying an invalid bearer context according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of still another method for identifying an invalid bearer context according to an embodiment of the present invention.
  • FIG. 6 is a schematic diagram of an apparatus for identifying an invalid bearer context according to an embodiment of the present invention.
  • FIG. 7 is a schematic diagram of another apparatus for identifying an invalid bearer context according to an embodiment of the present invention.
  • FIG. 8 is a schematic diagram of another apparatus for identifying an invalid bearer context according to an embodiment of the present invention.
  • FIG. 9 is a schematic diagram of another apparatus for identifying an invalid bearer context according to an embodiment of the present invention.
  • an embodiment of the present invention provides a method for identifying an invalid bearer context, where the method includes:
  • Step 201 The MME receives a notification message sent by the SGW-C, where the notification message carries an abnormality indication letter. interest.
  • the abnormality indication information may be used to indicate a bearer or device in which an abnormality occurs, for example, an abnormal bearer or an abnormal SGW-U, or a user equipment (UE) for indicating an abnormal device.
  • the abnormality indication information may include at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier.
  • the first SGW-U is a restart or downtime SGW-U, and the first SGW-U identifier is used to indicate the first SGW-U.
  • the first SGW-U identifier is used to indicate the first abnormality.
  • SGW-U; the identifier of the first SGW-U may be a device identifier or an IP address of the first SGW-U.
  • the first bearer identifier is used to indicate an abnormal bearer, and the first bearer identifier may be a Tunnel Endpoint Identifier (TEID) or a bearer ID.
  • the identifier of the UE is used to indicate that the bearer has an abnormality, for example, an international International Mobile Subscriber Identity (IMSI), Temporary Mobile Subscriber Identity (TMSI) or other identifier.
  • IMSI International Mobile Subscriber Identity
  • TMSI Temporary Mobile Subscriber Identity
  • the notification message may be an error notification message, and the structure of the error notification message may include multiple IMSIs and multiple bearer IDs, which may be in the form of a list, as shown in Table 1:
  • Step 202 The MME determines an invalid bearer context according to the abnormality indication information.
  • the bearer context may further include an invalid indication bit
  • the step 202 may include setting a value of the invalid indication bit to a first specific value, where the first specific value is used to indicate that the bearer context is invalid, for example, the first specific value may be 1, there is no limit here.
  • the invalid bearer context refers to a bearer context packet.
  • the invalid bearer information is included, and the invalid bearer information causes the data to be unsuccessfully transmitted.
  • the Fully Tunnel Endpoint Identifier (F-) of the SGW-U end in the bearer context is caused.
  • the TEID is invalid.
  • the F-TEID contains the tunnel IP address and TEID, which are not mentioned here.
  • the notification message by receiving the notification message sent by the SGW-C, the notification message carries the abnormal indication information, and determines the invalid bearer context according to the abnormality indication information, so that the MME can know the abnormal bearer in time, and the MME is invalid.
  • the bearer information is provided to other network elements, thereby avoiding data transmission failure due to invalid bearer information, thereby improving user experience.
  • step 202 specifically includes:
  • Step 2021a The MME searches for a locally stored bearer context according to the first bearer identifier.
  • Step 2022 The MME determines, as the invalid bearer context, the bearer context of the bearer indicated by the first bearer identifier.
  • the foregoing finding the local storage context by using the bearer identifier can find the invalid bearer context in a timely and accurate manner, that is, finding an abnormal bearer and improving the working efficiency of the system.
  • the abnormality indication information includes the identifier of the UE, and the step 202 specifically includes:
  • Step 2021b The MME searches for a locally stored bearer context according to the identifier of the UE.
  • Step 2022b The MME determines, as the invalid bearer context, the bearer context of the bearer of the UE indicated by the identifier of the UE.
  • the abnormality indication information includes the first SGW-U identifier
  • the step 202 specifically includes:
  • Step 2021c The MME obtains a bearer context of the related bearer of the first SGW-U according to the first SGW-U identifier.
  • Step 2022c The MME determines the obtained bearer context as an invalid bearer context.
  • the related bearer may include a bearer whose first end is the first SGW-U.
  • step 2021c may specifically include:
  • the MME searches for the first SGW-U identifier in the locally stored bearer context, and obtains the bearer context that includes the first SGW-U identifier;
  • the MME determines the related bearer of the first SGW-U according to the preset correspondence between the SGW-U identifier and the bearer, and obtains the bearer context of the related bearer.
  • the related bearer is a bearer corresponding to the first SGW identifier.
  • steps 203-205 are further included, as follows:
  • Step 203 The MME sends a modify bearer request message to the SGW-C.
  • the modify bearer request message may carry a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is one of the bearers corresponding to the invalid bearer context, in other words, the abnormal bearer belongs to the invalid
  • the bearer corresponding to the bearer context, and the bearer context of the abnormal bearer is an invalid bearer context.
  • the abnormal bearer is the bearer corresponding to the invalid bearer context; when the bearer corresponding to the invalid bearer context includes two or more bearers, the abnormal bearer is One of the bearers corresponding to the invalid bearer context described above.
  • the bearer corresponding to the invalid bearer context refers to the bearer to which the invalid bearer context belongs.
  • Step 204 The MME receives the modify bearer response message sent by the SGW-C.
  • the modified bearer response message carries a second bearer identifier and an F-TEID
  • the F-TEID may include an IP address of the second SGW-U and a re-allocated TEID; in addition, the re-allocated TEID may be allocated by the SGW-C. It may also be allocated by the second SGW-U, and the second SGW-U may be the reselected SGW-U or the first SGW-U after the restart, which is not limited.
  • Step 205 The MME updates the invalid bearer context according to the second bearer identifier and the F-TEID.
  • updating the invalid bearer context in the embodiments of the present invention may specifically include updating the invalid F-TEID in the invalid bearer context indicated by the second bearer identifier, and is not limited.
  • steps 206-209 are further included, as follows:
  • Step 206 The MME receives a track area update (TAU) message or a service request (service request) message sent by the first UE.
  • TAU track area update
  • service request service request
  • the TAU message or the service request message may carry the identifier of the first UE.
  • Step 207 If there is an invalid bearer context of the first UE, the MME sends a modify bearer request message to the SGW-C.
  • the modify bearer request message may carry a third bearer identifier, where the third bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is a bearer corresponding to the invalid bearer context of the first UE.
  • the MME may determine, according to the identifier of the first UE, whether an invalid bearer context of the first UE exists. For example, the bearer context of the first UE stored locally is searched according to the identifier of the first UE. If the setting value indicating that the invalid indicator bit in the at least one bearer context is invalid, it is determined that the invalid bearer context of the first UE exists.
  • Step 208 The MME receives the modify bearer response message sent by the SGW-C.
  • the modified bearer response message carries a third bearer identifier and an F-TEID
  • the F-TEID may include an IP address of the second SGW-U and a re-allocated TEID; in addition, the second SGW-U may be a reselected SGW- U or the first SGW-U after restart is not limited.
  • Step 209 The MME updates the invalid bearer context of the first UE according to the third bearer identifier and the F-TEID in the modify bearer response message.
  • step 206 the foregoing method further includes:
  • Step 205 The MME receives a downlink data notification (DDN) message sent by the SGW-C, where the DDN message carries a third bearer identifier.
  • DDN downlink data notification
  • Step 206b The MME sends a paging message to the first UE according to the DDN message, where the paging message is used to page the first UE.
  • the invalid bearer context of the UE is updated by the service, so that the update of the bearer information is more targeted, and the recovery or establishment of a large number of bearers is avoided at the same time, and the system is added.
  • the load in addition, avoids allocating new resources to user equipment that has left the communication network, resulting in wasted system resources.
  • the abnormal bearer refers to that the bearer cannot transmit service data normally
  • the abnormal device refers to the device that cannot be caused by restarting or downtime or serious alarm. normal work.
  • an embodiment of the present invention provides another method for identifying an invalid bearer context, where the method includes:
  • Step 301 The SGW-C monitors the status of the first SGW-U.
  • Step 302 If the first SGW-U is restarted or down, the SGW-C sends a notification message to the MME.
  • the notification message carries the abnormality indication information, which is used to indicate the bearer or device in which the abnormality occurs, and is also used by the MME to determine the invalid bearer context.
  • the abnormality indication information may include at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier.
  • the first bearer identifier is used to identify the bearer, which may be a TEID; the identifier of the UE is used to identify the UE; the first SGW-U identifier is used to indicate the first SGW-U, and specifically may be the first SGW-
  • the device ID of the U or the IP address of the first SGW-U is not limited.
  • the identifier of the UE the first bearer identifier, and the identifier of the first SGW-U, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein.
  • step 302 may use a timing transmission request or response message to determine the status of the SGW-U. For example, if the SGW-C sends a request message to the first SGW-U and does not receive the response message of the first SGW-U within a preset time, it is determined that the first SGW-U is restarted or down. Among them, restart refers to restart, and the downtime refers to the first SGW-U not working properly.
  • the step 302 may be that if the first SGW-U is abnormal, the SGW-C sends the foregoing notification message to the MME, where the abnormality may be a restart or a downtime, or the device caused by a serious alarm or the like fails to work normally. No longer.
  • the SGW-C monitors the state of the SGW-U, and is in the first When the SGW-U is restarted or down, the SGW sends a notification message to the MME, so that the MME can know the abnormal bearer in time, and prevent the MME from providing invalid bearer information to other network elements, thereby avoiding data transmission failure due to invalid bearer information. , to enhance the user's feelings.
  • the foregoing method further includes the steps 303-306, as follows:
  • Step 303 The SGW-C receives the first modified bearer request message sent by the MME.
  • the first modified bearer request message may carry a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is one of the bearers corresponding to the invalid bearer context.
  • the second bearer identifier is used to indicate an abnormal bearer
  • the abnormal bearer is one of the bearers corresponding to the invalid bearer context.
  • Step 304 The SGW-C sends a recovery bearer request message to the second SGW-U according to the first modified bearer request message.
  • the recovery bearer request message may carry the second bearer identifier.
  • the second SGW-U may be the SGW-U reselected by the SGW-C.
  • the second SGW-U is randomly selected by the SGW-C or according to the location.
  • the SGW-U may also be the first SGW-U after the restart, and is not limited.
  • Step 305 The SGW-C receives the recovery bearer response message sent by the second SGW-U, where the recovery bearer response message carries the second bearer identifier and the re-allocated TEID.
  • the redistributed TEID may be allocated by the second SGW-U.
  • Step 306 The SGW-C sends a first modified bearer response message to the MME.
  • the first modified bearer response message carries a second bearer identifier and an F-TEID, and the F-TEID may include a reassigned TEID and an IP address of the second SGW-U.
  • the foregoing method further includes the steps 307-310, as follows:
  • Step 307 The SGW-C receives the first modified bearer request message sent by the MME.
  • the first modified bearer request message may carry a second bearer identifier, where the second bearer identifier is used to indicate a bearer corresponding to the invalid bearer context.
  • Step 308 The SGW-C re-allocates the TEID according to the first modified bearer request message.
  • Step 309 The SGW-C notifies the second SGW-U of the re-allocated TEID.
  • the second SGW-U may be the SGW-U reselected by the SGW-C.
  • the second SGW-U is randomly selected by the SGW-C or selected according to the location, or may be restarted.
  • the first SGW-U is not limited.
  • the reassigned TEID may be sent to the second SGW-U by a recovery bearer request message.
  • Step 310 The SGW-C sends a first modified bearer response message to the MME.
  • the first modified bearer response message may carry a second bearer identifier and an F-TEID, where the F-TEID includes a reassigned TEID and an IP address of the second SGW-U.
  • the above method may further include:
  • the SGW-C sends a second modified bearer request message to the PGW-C, where the second modified bearer request message carries the second bearer identifier and the F-TEID;
  • the SGW-C receives the second modified bearer response message sent by the PGW-C.
  • step 303 or 307 the foregoing method further includes:
  • the SGW-C receives the notification message sent by the PGW-C, where the notification message carries a second bearer identifier, where the notification message is used to indicate that downlink data arrives on the bearer indicated by the second bearer identifier.
  • the SGW-C sends a DDN message to the MME, where the DDN message carries the second bearer identifier.
  • step 303 or 307 the foregoing method further includes:
  • the SGW-C receives and buffers the downlink data packet sent by the PGW-C, where the downlink data packet carries the second bearer identifier;
  • the SGW-C sends a DDN message to the MME, where the DDN message carries the second bearer identifier.
  • step 303 or 307 the foregoing method further includes:
  • the SGW-C receives and buffers the downlink data packet sent by the second SGW-U, where the downlink data packet carries the second bearer identifier, and the second SGW-U is the first SGW-U after the restart;
  • the SGW-C sends a DDN message to the MME, where the DDN message carries the second bearer identifier.
  • an embodiment of the present invention provides another method for identifying an invalid bearer context, where the method includes:
  • Step 401 The SGW-C monitors the status of the first SGW-U.
  • Step 402 If the first SGW-U is restarted or down, the SGW-C sends a notification message to the MME, where the notification message carries abnormal indication information.
  • the first SGW-U restart or downtime in step 402 may be determined by message interaction between the first SGW-U and the SGW-C. For example, the SGW-C sends a request message to the first SGW-U, if If the response message sent by the first SGW-U is not received within the set time, it is determined that the first SGW-U is restarted or down.
  • Step 403 The MME receives the notification message sent by the SGW-C.
  • Step 404 The MME determines an invalid bearer context according to the abnormality indication information in the notification message.
  • Step 405 The MME sends a modify bearer request message to the SGW-C.
  • the modify bearer request message carries a bearer identifier, where the bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is one of the bearers corresponding to the invalid bearer context.
  • the abnormal bearer is the bearer corresponding to the invalid bearer context; when the bearer corresponding to the invalid bearer context includes two or more bearers, the abnormal bearer is For one of the bearers corresponding to the invalid bearer context, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein.
  • Step 406 The SGW-C sends a recovery bearer request message to the second SGW-U according to the modify bearer request message, where the resume bearer request message carries the bearer identifier.
  • the second SGW-U may be the reselected SGW-U, or the first after the restart. SGW-U.
  • Step 407 The second SGW-U re-allocates the TEID according to the recovery bearer request message, and sends a recovery bearer response message to the SGW-C.
  • the recovery bearer response message carries the bearer identifier and the re-allocated TEID.
  • the recovery bearer response message may not carry the re-allocated TEID, but the SGW-C carries the re-allocated TEID to the second SGW-U through the recovery bearer request message. .
  • Step 408 The SGW-C receives the recovery bearer response message sent by the second SGW-U.
  • Step 409 The SGW-C sends a modify bearer response message to the MME, where the modify bearer response message carries the bearer identifier and the F-TEID.
  • the F-TEID may include an IP address of the second SGW-U and a re-allocated TEID.
  • Step 410 The MME updates the invalid bearer context according to the second bearer identifier and the F-TEID.
  • the method provided by the foregoing embodiment is to monitor the state of the SGW-U by using the SGW-C, and send an abnormality indication information to the MME when the SGW-U is confirmed to be abnormal, to indicate that the abnormal bearer occurs; and the MME determines the invalid bearer context according to the abnormality indication information. And triggering the recovery of the completed bearer and the update of the invalid bearer context, not only avoiding the data transmission failure caused by the invalid bearer information, but also realizing the timely recovery of the bearer, thereby quickly recovering the data transmission and ensuring network reliability.
  • the embodiment of the present invention provides another method for identifying an invalid bearer context, where the method includes:
  • Step 501 The SGW-C monitors the status of the first SGW-U.
  • Step 502 If the first SGW-U is restarted or down, the SGW-C sends a notification message to the MME.
  • the notification message carries abnormal indication information.
  • Step 503 The MME receives the notification message sent by the SGW-C.
  • Step 504 The MME determines an invalid bearer context according to the abnormality indication information.
  • Step 505 The MME receives a TAU message or a service request message sent by the first UE.
  • the TAU message or the service request message carries the identifier of the first UE, and the identifier of the first UE is used to identify the first UE, which may be IMSI or TMSI, and is not limited.
  • Step 506 If it is determined that the invalid bearer context of the first UE exists according to the identifier of the first UE, the MME sends a modify bearer request message to the SGW-C, where the modify bearer request message carries the bearer identifier.
  • the bearer identifier is used to indicate the abnormal bearer, and the abnormal bearer is the bearer corresponding to the invalid bearer context of the first UE.
  • the implementation manner of determining the invalid bearer context of the first UE according to the identifier of the first UE is determined in step 506. For details, refer to the related description in step 207, and details are not described herein.
  • Step 507 The SGW-C sends a recovery bearer request message to the second SGW-U according to the modify bearer request message, where the resume bearer request message carries the bearer identifier.
  • the second SGW-U may be a reselected SGW-U or a first SGW-U after the restart, and is not limited.
  • Step 508 The second SGW-U re-allocates the TEID according to the recovery bearer request message, and sends a recovery bearer response message to the SGW-C.
  • the recovery bearer response message carries the bearer identifier and the re-allocated TEID.
  • Step 509 The SGW-C receives the recovery bearer response message sent by the second SGW-U.
  • the redistributed TEID may be allocated by the second SGW-U.
  • Step 510 The SGW-C sends a modify bearer response message to the MME, where the modify bearer response message carries the bearer identifier and the F-TEID.
  • the F-TEID may include an IP address of the second SGW-U and a re-allocated TEID.
  • Step 511 The MME updates the invalid bearer context according to the second bearer identifier and the F-TEID.
  • the method provided by the foregoing embodiment is to monitor the state of the SGW-U by using the SGW-C, and send an abnormality indication information to the MME when the SGW-U is confirmed to be abnormal, to indicate that the abnormal bearer occurs; and the MME determines the invalid bearer context according to the abnormality indication information.
  • the recovery of the bearer and the update of the invalid bearer context are triggered by the service flow of the UE, which not only avoids data transmission failure caused by invalid bearer information, but also implements bearer recovery and ensures network reliability.
  • the recovery of the bearer and the update of the invalid bearer context are triggered by the service flow of the UE, which avoids the waste of the bearer resources and reduces the system load caused by the simultaneous recovery of a large number of bearers.
  • the embodiment of the present invention provides an apparatus for identifying an invalid bearer context, where the apparatus is an MME, and is used to perform the operation steps of the MME in the embodiment shown in FIG. 2, 4 or 5.
  • the apparatus includes:
  • the receiving unit 601 is configured to receive a notification message sent by the SGW-C, where the notification message carries abnormal indication information;
  • the determining unit 602 is configured to determine an invalid bearer context according to the abnormality indication information received by the receiving unit 601.
  • the abnormal indication information may include at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier; and the first SGW-U identifier is used to indicate a first SGW-U that is restarted or down.
  • the first SGW-U identifier may be a device identifier of the first SGW-U or an IP address of the first SGW-U.
  • the first bearer identifier, the identifier of the UE, the abnormality indication information, and the invalid bearer context can be referred to the related description in the embodiment shown in FIG. 2, and details are not described herein.
  • the apparatus provided by the foregoing embodiment receives the notification message sent by the SGW-C, and the notification message
  • the abnormal indication information is carried, and the invalid bearer context is determined according to the abnormality indication information, so that the abnormal bearer can be known in time, and the invalid bearer information is prevented from being provided to other network elements, thereby avoiding the data transmission failure caused by the invalid bearer information, thereby improving the data transmission failure.
  • the foregoing abnormality indication information includes a first bearer identifier
  • the determining unit 602 is specifically configured to:
  • the bearer context of the bearer indicated by the first bearer identifier is determined as an invalid bearer context.
  • the foregoing abnormality indication information includes an identifier of the UE, and the determining unit 602 is specifically configured to:
  • the bearer context of the bearer of the UE indicated by the identifier of the UE is determined as an invalid bearer context.
  • the abnormality indication information includes a first SGW-U identifier
  • the determining unit 602 is specifically configured to:
  • the obtained bearer context is determined to be an invalid bearer context.
  • the related bearer may include a bearer whose first end is the first SGW-U.
  • the determining unit 602 is further configured to:
  • the related bearer may be a bearer corresponding to the first SGW identifier.
  • the foregoing apparatus further includes a first sending unit 603 and a first updating unit 604;
  • the first sending unit 603 is configured to send, to the SGW-C, a modify bearer request message, where the modify bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is the invalid bearer context corresponding to
  • the modify bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is the invalid bearer context corresponding to
  • the receiving unit 601 is further configured to receive a modified bearer response message sent by the SGW-C, where the modified bearer response message carries a second bearer identifier and a full F-TEID.
  • the F-TEID includes an IP address of the second SGW-U and a re-allocated TEID.
  • the first update unit 604 is configured to update the invalid bearer context according to the second bearer identifier and the F-TEID received by the receiving unit 601.
  • the foregoing apparatus further includes: a second sending unit 605 and a second updating unit 606;
  • the receiving unit 605 is further configured to receive a tracking area update TAU message or a service request service request message sent by the first UE, where the TAU message or the service request message carries the identifier of the first UE;
  • the second sending unit 606 is further configured to: if the invalid bearer context of the first UE exists, send a modify bearer request message to the SGW-C, where the modify bearer request message carries a third bearer identifier, where the third bearer identifier is used to indicate an abnormality a bearer, where the abnormal bearer is a bearer corresponding to an invalid bearer context of the first UE;
  • the receiving unit 601 is further configured to receive a modified bearer response message sent by the SGW-C, where the modified bearer response message carries a third bearer identifier and an F-TEID, where the F-TEID includes the IP address of the second SGW-U and the reassigned TEID;
  • the second update unit 606 is configured to update the invalid bearer context of the first UE according to the third bearer identifier and the F-TEID received by the receiving unit 601.
  • the receiving unit 601 is further configured to: before receiving the TAU or service request message sent by the first UE, receive a DDN message sent by the SGW-C, where the DDN message carries a third bearer identifier;
  • the second sending unit 606 is further configured to send, according to the DDN message received by the receiving unit 601, a paging message to the first UE, where the paging message is used to page the first UE.
  • an embodiment of the present invention provides an apparatus for identifying an invalid bearer context, where the apparatus is SGW-C, and may be used to perform related operations of SGW-C in the embodiment shown in FIG. 3, 4 or 5.
  • the device includes:
  • the monitoring unit 701 is configured to monitor a state of the first SGW-U.
  • the sending unit 702 is configured to send a notification message to the MME if the monitoring unit 701 detects that the first SGW-U is restarted or down.
  • the notification message carries abnormal indication information, and the abnormality indication information may be used by the MME to determine that there is no Effect bearer context.
  • the abnormality indication information includes at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier.
  • abnormality indication information the abnormality indication information, the first bearer identifier, the identifier of the UE, the first SGW-U identifier, and the restart or the downtime can be referred to the related description in the embodiment shown in FIG.
  • the first SGW-U identifier may be a device identifier of the first SGW or an IP address of the first SGW-U.
  • the sending unit 702 is configured to: if the monitoring unit 701 detects that the first SGW-U is abnormal, send a notification message to the MME, where the abnormality may be a restart or a downtime, or the device caused by a serious alarm or the like may not be normal. Work, no longer repeat them.
  • the device by monitoring the state of the SGW-U, and sending a notification message to the MME when the first SGW-U is restarted or down, so that the MME can know the abnormal bearer in time, and avoid the MME will invalidate the bearer.
  • the information is provided to other network elements, thereby avoiding the data transmission failure caused by the invalid bearer information, thereby improving the user's feelings.
  • the above apparatus further includes a receiving unit 703;
  • the receiving unit 703 is configured to receive a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is the invalid bearer context.
  • the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is the invalid bearer context.
  • the sending unit 702 is further configured to send, according to the first modified bearer request message received by the receiving unit 703, a resume bearer request message to the second SGW-U, where the resume bearer request message carries the second bearer identifier;
  • the receiving unit 703 is further configured to receive a recovery bearer response message sent by the second SGW-U, where the recovery bearer response message carries the second bearer identifier and the re-allocated TEID;
  • the sending unit 702 is further configured to send a first modified bearer response message to the MME, where the first modified bearer response message carries a second bearer identifier and an F-TEID, where the F-TEID includes the reassigned TEID and the second SGW-U IP address.
  • the above apparatus further includes: a receiving unit 703 and a processing unit 704;
  • the receiving unit 703 is configured to receive a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is the invalid bearer context.
  • the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is the invalid bearer context.
  • the processing unit 704 is configured to re-allocate the TEID according to the first modified bearer request message received by the receiving unit 703, and notify the second SGW-U of the re-allocated TEID;
  • the sending unit 703 is further configured to send a first modified bearer response message to the MME, where the first modified bearer response message carries a second bearer identifier and an F-TEID, where the F-TEID includes the reassigned TEID and the second SGW-U IP address.
  • the sending unit 702 is further configured to send a second modified bearer request message to the PGW-C, where the second modified bearer request message carries the second bearer identifier and the F-TEID;
  • the receiving unit 703 is further configured to receive a second modified bearer response message sent by the PGW-C.
  • the receiving unit 703 is further configured to: before receiving the first modified bearer request message sent by the MME, receive the notification message sent by the PGW-C, where the notification message carries the second bearer identifier, the notification message;
  • the sending unit 702 is further configured to send a DDN message to the MME, where the DDN message carries the second bearer identifier.
  • the receiving unit 703 is further configured to: before receiving the first modified bearer request message sent by the MME, receive and buffer a downlink data packet sent by the PGW-C, where the downlink data packet carries the second bearer identifier;
  • the sending unit 702 is further configured to send a DDN message to the MME, where the DDN message carries the second bearer identifier.
  • the receiving unit 703 is further configured to: before receiving the first modified bearer request message sent by the MME, receive and cache the downlink data packet sent by the second SGW-U, where the downlink data packet carries the second bearer The identifier, wherein the second SGW-U is the first SGW-U after restarting;
  • the sending unit 702 is further configured to send a DDN message to the MME, where the DDN message carries the second bearer Logo.
  • the embodiment of the present invention provides another apparatus for identifying an invalid bearer context, where the apparatus is an MME, the apparatus includes: a processor 801, a communication interface 802, and a memory 803; and the processor 801 is configured to execute the memory 803.
  • the stored program which may specifically include the relevant operational steps of the MME in the embodiment shown in FIG. 2, 4 or 5.
  • the communication interface 802 is configured to receive a notification message sent by the SGW-C, where the notification message carries abnormal indication information.
  • a memory 803, configured to store a bearer context
  • the processor 801 is configured to determine, according to the abnormality indication information received by the communication interface 802, the invalid bearer context stored by the memory 803.
  • the abnormal indication information may include at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier; and the first SGW-U identifier is used to indicate a first SGW-U that is restarted or down.
  • the first SGW-U identifier may be a device identifier of the first SGW-U or an IP address of the first SGW-U.
  • the first bearer identifier, the identifier of the UE, the abnormality indication information, and the invalid bearer context can be referred to the related description in the embodiment shown in FIG. 2, and details are not described herein.
  • the device provided by the foregoing embodiment receives the notification message sent by the SGW-C, and the notification message carries the abnormal indication information, and determines the invalid bearer context according to the abnormality indication information, so that the abnormal bearer can be known in time, and the invalid bearer information is avoided.
  • the notification message carries the abnormal indication information
  • determines the invalid bearer context according to the abnormality indication information so that the abnormal bearer can be known in time, and the invalid bearer information is avoided.
  • the foregoing abnormality indication information includes a first bearer identifier
  • the processor 801 is specifically configured to:
  • the bearer context of the bearer indicated by the first bearer identifier is determined as an invalid bearer context.
  • the foregoing abnormality indication information includes an identifier of the UE, and the processor 801 is specifically configured to:
  • the bearer context of the bearer of the UE indicated by the identifier of the UE is determined as an invalid bearer context.
  • the foregoing abnormality indication information includes a first SGW-U identifier
  • the processor 801 is specifically configured to:
  • the obtained bearer context is determined to be an invalid bearer context.
  • the related bearer may include a bearer whose first end is the first SGW-U.
  • the processor 801 is further configured to:
  • the related bearer may be a bearer corresponding to the first SGW-U identifier.
  • the communication interface 802 is further configured to send, to the SGW-C, a modify bearer request message, where the modify bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is invalid.
  • the modify bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is invalid.
  • the communication interface 802 is further configured to send, to the SGW-C, a modify bearer request message, where the modify bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is invalid.
  • the communication interface 802 is further configured to receive a modify bearer response message sent by the SGW-C, where the modify bearer response message carries the second bearer identifier and the full F-TEID.
  • the F-TEID includes an IP address of the second SGW-U and a re-allocated TEID.
  • the processor 801 is further configured to update the invalid bearer context according to the second bearer identifier and the F-TEID received by the communication interface 802.
  • the communication interface 802 is further configured to: receive a TAU message or a service request service request message sent by the first UE, where the TAU message or service request message carries an identifier of the first UE;
  • the processor 801 is further configured to: if the invalid bearer context of the first UE exists, send a modify bearer request message to the SGW-C through the communication interface 801, where the modify bearer request message carries a third bearer identifier, where the third bearer identifier is used for Indicates an abnormal bearer, where the abnormal bearer is a bearer corresponding to the invalid bearer context of the first UE;
  • the communication interface 802 is further configured to receive a modified bearer response message sent by the SGW-C, where the modified bearer
  • the response message carries a third bearer identifier and an F-TEID, where the F-TEID includes an IP address of the second SGW-U and a re-allocated TEID;
  • the processor 801 is further configured to update the invalid bearer context of the first UE stored by the memory 803 according to the third bearer identifier and the F-TEID received by the communication interface 802.
  • the communication interface 802 is further configured to: before receiving the TAU or service request message sent by the first UE, receive a DDN message sent by the SGW-C, where the DDN message carries a third bearer identifier;
  • the processor 801 is further configured to send, according to the DDN message, a paging message to the first UE, where the paging message is used to page the first UE.
  • the embodiment of the present invention provides another apparatus for identifying an invalid bearer context, where the apparatus is SGW-C, and the apparatus includes: a processor 901, a communication interface 902, and a memory 903; This executes the program stored in the memory 903.
  • the program may specifically include the relevant operational steps of the SGW-C in the embodiment shown in FIG. 3, 4 or 5.
  • the processor 901 is configured to monitor a state of the first SGW-U.
  • the processor 901 is further configured to send a notification message to the MME through the communication interface 902 if the first SGW-U is restarted or down.
  • the notification message carries abnormal indication information, and the abnormality indication information may be used by the MME to determine an invalid bearer context.
  • the abnormality indication information includes at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier.
  • the first SGW-U identifier may be a device identifier of the first SGW or an IP address of the first SGW-U.
  • abnormality indication information the abnormality indication information, the first bearer identifier, the identifier of the UE, the first SGW-U identifier, and the restart or the downtime can be referred to the related description in the embodiment shown in FIG.
  • the processor 901 is configured to send a notification message to the MME through the communication interface 902 if the first SGW-U is abnormal, the abnormality may be a restart or a downtime, or the device caused by a serious alarm or the like may not work normally. ,No longer.
  • the device by monitoring the state of the SGW-U, and sending a notification message to the MME when the first SGW-U is restarted or down, so that the MME can know the abnormal bearer in time, and avoid the MME will invalidate the bearer.
  • the information is provided to other network elements, thereby avoiding the data transmission failure caused by the invalid bearer information, thereby improving the user's feelings.
  • the communication interface 902 is configured to receive a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is One of the bearers corresponding to the invalid bearer context;
  • the processor 901 is further configured to send, by using the communication interface 902, a recovery bearer request message to the second SGW-U according to the first modified bearer request message received by the communication interface 902, where the resume bearer request message carries the second bearer identifier;
  • the communication interface 902 is further configured to receive a recovery bearer response message sent by the second SGW-U, where the recovery bearer response message carries the second bearer identifier and the re-allocated TEID;
  • the processor 901 is further configured to send, by using the communication interface 902, a first modified bearer response message, where the first modified bearer response message carries a second bearer identifier and a F-TEID, where the F-TEID includes a reassigned TEID and a second IP address of the SGW-U.
  • the communication interface 902 is configured to receive a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is the invalid bearer context.
  • the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is the invalid bearer context.
  • the processor 901 is further configured to:
  • the first modified bearer response message is sent to the MME through the communication interface 902.
  • the first modified bearer response message carries a second bearer identifier and an F-TEID, where the F-TEID includes the reassigned TEID and the IP address of the second SGW-U.
  • the processor 901 is further configured to send, by using the communication interface 902, a second modified bearer request message to the PGW-C, where the second modified bearer request message carries the second bearer identifier and the F-TEID;
  • the communication interface 902 is further configured to receive a second modified bearer response message sent by the PGW-C.
  • the communication interface 902 is further configured to: before receiving the first modified bearer request message sent by the MME, receive a notification message sent by the PGW-C, where the notification message carries a second bearer identifier, the notification message;
  • the processor 901 is further configured to send, by using the communication interface 902, a DDN message to the MME, where the DDN message carries a second bearer identifier.
  • the communication interface 902 is further configured to: before receiving the first modified bearer request message sent by the MME, receive and buffer the downlink data packet sent by the PGW-C to the memory 903, where the downlink data packet carries the second bearer identifier;
  • the processor 901 is further configured to send, by using the communication interface 902, a DDN message to the MME, where the DDN message carries a second bearer identifier.
  • the communication interface 902 is further configured to: before receiving the first modified bearer request message sent by the MME, receive and cache the downlink data packet sent by the second SGW-U, where the downlink data packet carries the second bearer The identifier, wherein the second SGW-U is the first SGW-U after restarting;
  • the processor 901 is further configured to send, by using the communication interface 902, a DDN message to the MME, where the DDN message carries a second bearer identifier.
  • the embodiment of the present invention provides a system for identifying an invalid bearer context, and the system may specifically include the apparatus shown in FIG. 6 and FIG. 7, or the system includes the apparatus shown in FIG. 8 and 9, and details are not described herein.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The steps of the foregoing method embodiments; and the foregoing memory includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.

Abstract

Embodiments of the present invention relate to the field of communications and provide a method, device, and system for identifying an invalid bearer context. The method for identifying an invalid bearer context comprises: an MME receives, from an SGW-C, a notification message carrying anomaly indicating information; and the MME determines an invalid bearer context according to the anomaly indicating information. By receiving, from the SGW-C, a notification message carrying anomaly indicating information, and determining an invalid bearer context according to the anomaly indicating information, the MME can learn about an abnormal bearer in a timely manner to avoid a data transmission failure caused by invalid bearer information, thereby improving user experience.

Description

识别无效承载上下文的方法、装置及系统Method, device and system for identifying invalid bearer context 技术领域Technical field
本发明涉及移动通信系统,尤其涉及一种识别无效承载上下文的方法、装置及系统。The present invention relates to a mobile communication system, and in particular, to a method, device and system for identifying an invalid bearer context.
背景技术Background technique
随着移动通信的发展,在演进分组系统(evolved packet system,EPS)网络架构基础上,将传统网关的功能,即服务网关(Serving Gateway,SGW)和分组数据网关(Packet Data Network Gateway,PGW)的功能,例如,控制功能和报文处理功能,分解到两个独立的网元,即控制面网关(Control Plane Gateway,GW-C)和用户面网关(User Plane Gateway,GW-U),形成了一种新的网络架构,称之为分布式网关(Distributed Gateway,DGW)架构。如图1所示,控制面网关包括控制面服务网关(Control Plane Serving Gateway,SGW-C)和控制面分组数据网关(Control Plane Packet Data Network Gateway,PGW-C),具体用于实现传统网关的控制功能和逻辑,用于实现会话管理和/或数据路径配置等功能。用户面网关包括用户面服务网关(User Plane Serving Gateway,SGW-U)和用户面分组数据网关(User Plane Packet Data Network Gateway,PGW-U),具体用于实现网络侧的用户面数据转发,可以是纯粹的数据转发或者仅仅具有简单的控制逻辑等。With the development of mobile communication, the functions of the traditional gateway, namely the Serving Gateway (SGW) and the Packet Data Network Gateway (PGW), based on the evolved packet system (EPS) network architecture. The functions, for example, the control function and the message processing function, are decomposed into two independent network elements, namely Control Plane Gateway (GW-C) and User Plane Gateway (GW-U). A new network architecture is called a Distributed Gateway (DGW) architecture. As shown in FIG. 1 , the control plane gateway includes a Control Plane Serving Gateway (SGW-C) and a Control Plane Packet Data Network Gateway (PGW-C), which are specifically used to implement a traditional gateway. Control functions and logic for implementing functions such as session management and/or data path configuration. The user plane gateway includes a User Plane Serving Gateway (SGW-U) and a User Plane Packet Data Network Gateway (PGW-U), which is specifically configured to implement user plane data forwarding on the network side. It is pure data forwarding or just simple control logic.
基于上述分布式网关架构可以看出,用户面网关与移动性管理实体(Mobility Management Entity,MME)不再有数据或信令的直接交互,因此,当用户面服务网关(User Plane Serving Gateway,SGW-U)重启或者宕机时,MME无法及时感知SGW_U的异常,从而导致数据传输中断。Based on the above-mentioned distributed gateway architecture, it can be seen that the user plane gateway and the Mobility Management Entity (MME) no longer have direct interaction with data or signaling, and therefore, when the user plane service gateway (SGW) -U) When restarting or down, the MME cannot sense the SGW_U exception in time, causing data transmission to be interrupted.
发明内容Summary of the invention
本发明实施例提供一种识别无效承载上下文的方法、装置及系统,能够使 得MME快速感知SGW-U的异常,提升系统可靠性。Embodiments of the present invention provide a method, apparatus, and system for identifying an invalid bearer context, which can enable The MME quickly senses the abnormality of the SGW-U and improves system reliability.
第一方面,提供一种识别无效承载上下文的方法,包括:移动性管理实体MME接收控制面服务网关SGW-C发送的通知消息,所述通知消息携带异常指示信息;所述MME根据所述异常指示信息,确定无效承载上下文。The first aspect provides a method for identifying an invalid bearer context, including: the mobility management entity MME receiving a notification message sent by the control plane serving gateway SGW-C, where the notification message carries abnormal indication information; Indicates the information to determine the invalid bearer context.
结合第一方面,在第一方面的第一种可实现方式中,所述异常指示信息包括以下至少一种:第一承载标识、用户设备UE的标识和第一用户面服务网关SGW-U标识,所述第一SGW-U标识用于指示出现异常的第一SGW-U。所述异常可以为重启或宕机,或由严重告警等引起的设备无法正常工作。With reference to the first aspect, in the first implementation manner of the first aspect, the abnormality indication information includes at least one of the following: a first bearer identifier, an identifier of the user equipment UE, and a first user plane serving gateway SGW-U identifier. The first SGW-U identifier is used to indicate that the first SGW-U is abnormal. The abnormality may be restarted or down, or the device caused by a serious alarm or the like may not work normally.
结合第一方面或第一方面的第一种可实现方式,在第一方面的第二种可实现方式中,所述第一SGW-U标识为所述第一SGW-U的设备标识或者所述第一SGW-U的IP地址。With reference to the first aspect, or the first implementation manner of the first aspect, in the second implementation manner of the first aspect, the first SGW-U identifier is a device identifier or a location of the first SGW-U The IP address of the first SGW-U.
结合第一方面的第一种可实现方式或第一方面的第二种可实现方式,在第一方面的第三种可实现方式中,所述异常指示信息包括所述第一SGW-U标识,所述MME根据所述异常指示信息,确定无效承载上下文,包括:所述MME根据所述第一SGW-U标识,获得所述第一SGW-U的相关承载的承载上下文;所述MME将所述获得的承载上下文,确定为所述无效承载上下文。With reference to the first implementable manner of the first aspect or the second implementable manner of the first aspect, in a third implementable manner of the first aspect, the abnormality indication information includes the first SGW-U identifier Determining, by the MME, the invalid bearer context according to the abnormality indication information, the MME obtaining the bearer context of the related bearer of the first SGW-U according to the first SGW-U identifier; the MME The obtained bearer context is determined to be the invalid bearer context.
结合第一方面的第三种可实现方式,在第一方面的第四种可实现方式中,所述MME根据所述第一SGW-U标识,获得与所述第一SGW-U相关的承载的承载上下文,包括:所述MME在本地存储的承载上下文中查找所述第一SGW-U标识,获得包含有所述第一SGW-U标识的承载上下文;或者,所述MME根据预设的SGW-U标识与承载之间的对应关系,确定所述第一SGW-U的相关承载,获得所述相关承载的承载上下文。其中,第一SGW-U的相关承载为与第一SGW-U标识相对应的承载。With reference to the third implementation manner of the first aspect, in a fourth implementation manner of the first aspect, the MME obtains a bearer related to the first SGW-U according to the first SGW-U identifier The bearer context includes: the MME searching for the first SGW-U identifier in a locally stored bearer context, obtaining a bearer context including the first SGW-U identifier; or the MME according to a preset The corresponding relationship between the SGW-U and the bearer is determined, and the related bearer of the first SGW-U is determined, and the bearer context of the related bearer is obtained. The related bearer of the first SGW-U is a bearer corresponding to the first SGW-U identifier.
结合第一方面或第一方面的上述各可实现方式,在第一方面的第五种可实现方式中,所述方法还包括:所述MME向所述SGW-C发送修改承载请求消息,所述修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常 承载,所述异常承载为所述无效承载上下文对应的承载中的一个;所述MME接收所述SGW-C发送的修改承载响应消息,所述修改承载响应消息携带所述第二承载标识和全隧道端点标识符F-TEID,所述F-TEID包括第二SGW-U的IP地址和重新分配的隧道端点标识符TEID;所述MME根据所述第二承载标识和所述F-TEID,更新所述无效承载上下文。With the first aspect or the foregoing implementation manners of the first aspect, in a fifth implementation manner of the first aspect, the method further includes: the MME sending a modify bearer request message to the SGW-C, where The modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormality. The bearer, the abnormal bearer is one of the bearers corresponding to the invalid bearer context; the MME receives the modify bearer response message sent by the SGW-C, and the modified bearer response message carries the second bearer identifier and the whole a tunnel endpoint identifier F-TEID, the F-TEID including an IP address of the second SGW-U and a reassigned tunnel endpoint identifier TEID; the MME is updated according to the second bearer identifier and the F-TEID The invalid bearer context.
结合第一方面或第一方面的上述第一至第四种可实现方式中任一种,在第一方面的第六种可实现方式中,所述方法还包括:所述MME接收第一UE发送的跟踪区更新TAU消息或服务请求service request消息,所述TAU消息或service request消息携带所述第一UE的标识;若存在所述第一UE的无效承载上下文,则向所述SGW-C发送修改承载请求消息,所述修改承载请求消息携带第三承载标识,所述第三承载标识用于指示异常承载,所述异常承载为所述第一UE的无效承载上下文对应的承载;所述MME接收所述SGW-C发送的修改承载响应消息,所述修改承载响应消息携带所述第三承载标识和F-TEID,所述F-TEID包括第二SGW-U的IP地址和重新分配的TEID;所述MME根据所述第三承载标识和所述F-TEID,更新所述第一UE的无效承载上下文。With reference to the first aspect, or any one of the foregoing first to fourth implementation manners of the first aspect, in a sixth implementation manner of the first aspect, the method further includes: the MME receiving the first UE The sent tracking area update TAU message or service request service request message, the TAU message or service request message carries the identifier of the first UE; if there is an invalid bearer context of the first UE, the SGW-C is sent to the SGW-C Sending a modify bearer request message, where the modify bearer request message carries a third bearer identifier, where the third bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is a bearer corresponding to the invalid bearer context of the first UE; The MME receives the modified bearer response message sent by the SGW-C, where the modified bearer response message carries the third bearer identifier and the F-TEID, where the F-TEID includes the IP address of the second SGW-U and the reassigned The MME updates the invalid bearer context of the first UE according to the third bearer identifier and the F-TEID.
结合第一方面的第六种可实现方式,在第一方面的第七种可实现方式中,在所述MME接收第一UE发送的TAU或service request消息之前,还包括:所述MME接收所述SGW-C发送的下行数据通知DDN消息,所述DDN消息携带有所述第三承载标识;所述MME根据所述DDN消息,向所述第一UE发送寻呼消息,所述寻呼消息用于寻呼所述第一UE。With reference to the sixth implementation manner of the first aspect, in a seventh implementation manner of the first aspect, before the MME receives the TAU or service request message sent by the first UE, the method further includes: the MME receiving The downlink data sent by the SGW-C is notified to the DDN message, where the DDN message carries the third bearer identifier, and the MME sends a paging message to the first UE according to the DDN message, where the paging message is sent. Used to page the first UE.
第二方面,提供了一种识别无效承载上下文的方法,所述方法包括:控制面服务网关SGW-C监控第一用户面服务网关SGW-U的状态;若所述第一SGW-U出现异常,则所述SGW-C向移动性管理实体MME发送通知消息,所述通知消息携带异常指示信息,所述异常指示信息用于所述MME确定无效承载上下文。其中,该异常可以为重启或宕机,或由严重告警等引起的设备无法正常工作。 A second aspect provides a method for identifying an invalid bearer context, the method comprising: the control plane serving gateway SGW-C monitoring a state of the first user plane serving gateway SGW-U; if the first SGW-U is abnormal And the SGW-C sends a notification message to the mobility management entity MME, where the notification message carries abnormal indication information, where the abnormality indication information is used by the MME to determine an invalid bearer context. The abnormality may be restarted or down, or the device caused by a serious alarm or the like may not work normally.
结合第二方面,在第二方面的第一种可实现方式中,所述异常指示信息包括以下至少一种:第一承载标识,用户设备的标识和第一SGW-U标识。With reference to the second aspect, in the first implementation manner of the second aspect, the abnormality indication information includes at least one of the following: a first bearer identifier, an identifier of the user equipment, and a first SGW-U identifier.
结合第二方面的第一种可实现方式,在第二方面的第二种可实现方式中,所述第一SGW-U标识为所述第一SGW的设备标识或者所述第一SGW-U的IP地址。With reference to the first implementation manner of the second aspect, in a second implementation manner of the second aspect, the first SGW-U identifier is a device identifier of the first SGW or the first SGW-U IP address.
结合第二方面或第二方面的第一种或第二种可实现方式,在第二方面的第三种可实现方式中,所述方法还包括:所述SGW-C接收所述MME发送的第一修改承载请求消息,所述第一修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常承载,所述异常承载为所述无效承载上下文对应的承载中的一个;所述SGW-C根据所述第一修改承载请求消息,向第二SGW-U发送恢复承载请求消息,所述恢复承载请求消息携带有所述第二承载标识;所述SGW-C接收所述第二SGW-U发送的恢复承载响应消息,所述恢复承载响应消息携带所述第二承载标识和重新分配的隧道端点标识符TEID;所述SGW-C向所述MME发送第一修改承载响应消息,所述第一修改承载响应消息携带所述第二承载标识和全隧道端点标识符F-TEID,所述F-TEID包括所述重新分配的TEID和所述第二SGW-U的IP地址。With reference to the second aspect or the first or second implementation manner of the second aspect, in a third implementation manner of the second aspect, the method further includes: the SGW-C receiving the sending by the MME The first modified bearer request message, where the first modified bearer request message carries a second bearer identifier, the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is one of the bearers corresponding to the invalid bearer context. The SGW-C sends a recovery bearer request message to the second SGW-U according to the first modified bearer request message, where the resume bearer request message carries the second bearer identifier; the SGW-C receiving station a recovery bearer response message sent by the second SGW-U, the recovery bearer response message carrying the second bearer identifier and the reassigned tunnel endpoint identifier TEID; the SGW-C sending the first modified bearer to the MME And responding to the message, the first modified bearer response message carries the second bearer identifier and a full tunnel endpoint identifier F-TEID, where the F-TEID includes the reassigned TEID and the IP of the second SGW-U address.
结合第二方面或第二方面的第一种或第二种可实现方式,在第二方面的第四种可实现方式中,所述方法还包括:所述SGW-C接收所述MME发送的第一修改承载请求消息,所述第一修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常承载,所述异常承载为所述无效承载上下文对应的承载中的一个;所述SGW-C根据所述第一修改承载请求消息,重新分配TEID;所述SGW-C通知第二SGW-U所述重新分配的TEID;所述SGW-C向所述MME发送第一修改承载响应消息,所述第一修改承载响应消息携带所述第二承载标识和F-TEID,所述F-TEID包括所述重新分配的TEID和所述第二SGW-U的IP地址。With reference to the second aspect or the first or second implementation manner of the second aspect, in a fourth implementation manner of the second aspect, the method further includes: the SGW-C receiving the sending by the MME The first modified bearer request message, where the first modified bearer request message carries a second bearer identifier, the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is one of the bearers corresponding to the invalid bearer context. The SGW-C re-allocates the TEID according to the first modified bearer request message; the SGW-C notifies the second SGW-U of the re-allocated TEID; the SGW-C sends the first to the MME And modifying the bearer response message, where the first modified bearer response message carries the second bearer identifier and the F-TEID, where the F-TEID includes the reassigned TEID and the IP address of the second SGW-U.
第三方面,提供了一种识别无效承载上下文的装置,所述装置为移动性管理实体MME,所述装置包括:接收单元,用于接收控制面服务网关SGW-C发送 的通知消息,所述通知消息携带异常指示信息;确定单元,用于根据所述接收单元接收的所述异常指示信息,确定无效承载上下文。A third aspect provides an apparatus for identifying an invalid bearer context, the apparatus being a mobility management entity MME, the apparatus comprising: a receiving unit, configured to receive, by a control plane serving gateway SGW-C The notification message carries the abnormality indication information, and the determining unit is configured to determine the invalid bearer context according to the abnormality indication information received by the receiving unit.
结合第三方面,在第三方面的第一种可实现方式中,所述异常指示信息包括以下至少一种:第一承载标识、用户设备UE的标识和第一用户面服务网关SGW-U标识,所述第一SGW-U标识用于指示出现异常的第一SGW-U。其中,所述异常可以为重启或宕机,或由严重告警等引起的设备无法正常工作。With reference to the third aspect, in a first implementation manner of the third aspect, the abnormality indication information includes at least one of the following: a first bearer identifier, an identifier of the user equipment UE, and a first user plane serving gateway SGW-U identifier. The first SGW-U identifier is used to indicate that the first SGW-U is abnormal. The abnormality may be restarted or down, or the device caused by a serious alarm or the like may not work normally.
结合第三方面的第一种可实现方式,在第三方面的第二种可实现方式中,所述第一SGW-U标识为所述第一SGW-U的设备标识或者所述第一SGW-U的IP地址。With reference to the first implementation manner of the third aspect, in a second implementation manner of the third aspect, the first SGW-U identifier is a device identifier of the first SGW-U or the first SGW -U's IP address.
结合第三方面的第一种或第二种可实现方式,在第三方面的第三种可实现方式中,所述异常指示信息包括所述第一SGW-U标识,所述确定单元具体用于:根据所述第一SGW-U标识,获得所述第一SGW-U的相关承载的承载上下文;将所述获得的承载上下文,确定为所述无效承载上下文。其中,所述相关承载可以包括一端为第一SGW-U的承载。With reference to the first or second implementation manner of the third aspect, in a third implementation manner of the third aspect, the abnormality indication information includes the first SGW-U identifier, and the determining unit is specifically used Obtaining, according to the first SGW-U identifier, a bearer context of the related bearer of the first SGW-U; determining the obtained bearer context as the invalid bearer context. The related bearer may include a bearer whose one end is the first SGW-U.
结合第三方面的第三种可实现方式,在第三方面的第四种可实现方式中,所述确定单元还用于:在本地存储的承载上下文中查找所述第一SGW-U标识,获得包含有所述第一SGW-U标识的承载上下文;或者,根据预设的SGW-U标识与承载之间的对应关系,确定所述第一SGW-U的相关承载,获得所述相关承载的承载上下文。其中,所述相关承载可以为与第一SGW-U标识对应的承载。With reference to the third implementation manner of the third aspect, in a fourth implementation manner of the third aspect, the determining unit is further configured to: search for the first SGW-U identifier in a locally stored bearer context, Obtaining a bearer context that includes the first SGW-U identifier; or determining a related bearer of the first SGW-U according to a correspondence between the preset SGW-U identifier and the bearer, and obtaining the related bearer Hosting context. The related bearer may be a bearer corresponding to the first SGW-U identifier.
第四方面,提供了一种识别无效承载上下文的装置,所述装置为控制面服务网关SGW-C,所述装置包括:监控单元,用于监控第一用户面服务网关SGW-U的状态;发送单元,用于若所述监控单元监测到所述第一SGW-U出现异常,则向移动性管理实体MME发送通知消息,所述通知消息携带异常指示信息,所述异常指示信息用于所述MME确定无效承载上下文。其中,所述异常可以为重启或宕机,或由严重告警等引起的设备无法正常工作。The fourth aspect provides an apparatus for identifying an invalid bearer context, where the apparatus is a control plane serving gateway SGW-C, and the apparatus includes: a monitoring unit, configured to monitor a state of the first user plane serving gateway SGW-U; a sending unit, configured to: if the monitoring unit detects that the first SGW-U is abnormal, send a notification message to the mobility management entity MME, where the notification message carries abnormal indication information, where the abnormality indication information is used by the The MME determines the invalid bearer context. The abnormality may be restarted or down, or the device caused by a serious alarm or the like may not work normally.
结合第四方面,在第四方面的第一种可实现方式中,所述异常指示信息包 括以下至少一种:第一承载标识,用户设备的标识和所述第一SGW-U标识。With reference to the fourth aspect, in a first implementation manner of the fourth aspect, the abnormality indication information packet At least one of the following: a first bearer identifier, an identifier of the user equipment, and the first SGW-U identifier.
结合第四方面的第一种可实现方式,在第四方面的第二种可实现方式中,所述第一SGW-U标识为所述第一SGW的设备标识或者所述第一SGW-U的IP地址。With reference to the first implementation manner of the fourth aspect, in a second implementation manner of the fourth aspect, the first SGW-U identifier is a device identifier of the first SGW or the first SGW-U IP address.
结合第四方面或第四方面的第一种或第二种可实现方式,在第四方面的第三种可实现方式中,所述装置还包括接收单元;所述接收单元,用于接收所述MME发送的第一修改承载请求消息,所述第一修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常承载,所述异常承载为所述无效承载上下文对应的承载中的一个;所述发送单元,还用于根据所述接收单元接收的所述第一修改承载请求消息,向第二SGW-U发送恢复承载请求消息,所述恢复承载请求消息携带有所述第二承载标识;所述接收单元,还用于接收所述第二SGW-U发送的恢复承载响应消息,所述恢复承载响应消息携带所述第二承载标识和重新分配的隧道端点标识符TEID;所述发送单元,还用于向所述MME发送第一修改承载响应消息,所述第一修改承载响应消息携带所述第二承载标识和全隧道端点标识符F-TEID,所述F-TEID包括所述重新分配的TEID和所述第二SGW-U的IP地址。With reference to the fourth aspect or the first or second implementation manner of the fourth aspect, in a third implementation manner of the fourth aspect, the device further includes a receiving unit, and the receiving unit is configured to receive the a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is corresponding to the invalid bearer context. And a sending unit, configured to send a recovery bearer request message to the second SGW-U according to the first modified bearer request message received by the receiving unit, where the resume bearer request message carries The receiving unit is further configured to receive a recovery bearer response message sent by the second SGW-U, where the recovery bearer response message carries the second bearer identifier and a reassigned tunnel endpoint identifier The sending unit is further configured to send a first modified bearer response message to the MME, where the first modified bearer response message carries the second bearer identifier and Tunnel Endpoint Identifier F-TEID, the F-TEID including the IP address and TEID of the re-allocation of the second of the SGW-U.
结合第四方面或第四方面的第一种或第二种可实现方式,在第四方面的第四种可实现方式中,所述装置还包括:接收单元和处理单元;所述接收单元,用于接收所述MME发送的第一修改承载请求消息,所述第一修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常承载,所述异常承载为所述无效承载上下文对应的承载中的一个;所述处理单元,用于根据所述第一修改承载请求消息,重新分配TEID;并通知第二SGW-U所述重新分配的TEID;所述发送单元,还用于向所述MME发送第一修改承载响应消息,所述第一修改承载响应消息携带所述第二承载标识和F-TEID,所述F-TEID包括所述重新分配的TEID和所述第二SGW-U的IP地址。With reference to the fourth aspect or the first or second implementation manner of the fourth aspect, in a fourth implementation manner of the fourth aspect, the device further includes: a receiving unit and a processing unit; And the first modified bearer request message is sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is invalid. a processing unit, configured to: re-allocate the TEID according to the first modified bearer request message; and notify the second SGW-U of the re-allocated TEID; the sending unit further And sending, by the MME, a first modified bearer response message, where the first modified bearer response message carries the second bearer identifier and an F-TEID, where the F-TEID includes the reassigned TEID and the first The IP address of the second SGW-U.
鉴于上述缺陷,本发明实施例提供的方法或装置,MME通过接收SGW-C 发送的通知消息,该通知消息携带异常指示信息,并根据异常指示信息确定无效承载上下文,使得MME能够及时获知出现异常的承载,避免由无效的承载信息导致的数据传输失败,提升了用户的感受。In view of the above drawbacks, the method or apparatus provided by the embodiment of the present invention, the MME receives the SGW-C The notification message is sent, and the notification message carries the abnormality indication information, and the invalid bearer context is determined according to the abnormality indication information, so that the MME can know the abnormal bearer in time, avoid the data transmission failure caused by the invalid bearer information, and improve the user experience. .
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图进行简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying for creative labor.
图1为分布式网关架构的示意图;1 is a schematic diagram of a distributed gateway architecture;
图2为本发明实施例提供的一种识别无效承载上下文的方法流程图;2 is a flowchart of a method for identifying an invalid bearer context according to an embodiment of the present invention;
图3为本发明实施例提供的另一种识别无效承载上下文的方法流程图;FIG. 3 is a flowchart of another method for identifying an invalid bearer context according to an embodiment of the present invention;
图4为本发明实施例提供的另一种识别无效承载上下文的方法流程图;FIG. 4 is a flowchart of another method for identifying an invalid bearer context according to an embodiment of the present invention;
图5为本发明实施例提供的又一种识别无效承载上下文的方法流程图;FIG. 5 is a flowchart of still another method for identifying an invalid bearer context according to an embodiment of the present invention;
图6为本发明实施例提供的一种识别无效承载上下文的装置示意图;FIG. 6 is a schematic diagram of an apparatus for identifying an invalid bearer context according to an embodiment of the present invention;
图7为本发明实施例提供的另一种识别无效承载上下文的装置示意图;FIG. 7 is a schematic diagram of another apparatus for identifying an invalid bearer context according to an embodiment of the present invention;
图8为本发明实施例提供的另一种识别无效承载上下文的装置示意图;FIG. 8 is a schematic diagram of another apparatus for identifying an invalid bearer context according to an embodiment of the present invention;
图9为本发明实施例提供的又一种识别无效承载上下文的装置示意图。FIG. 9 is a schematic diagram of another apparatus for identifying an invalid bearer context according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
如图2所示,本发明实施例提供了一种识别无效承载上下文的方法,该方法包括:As shown in FIG. 2, an embodiment of the present invention provides a method for identifying an invalid bearer context, where the method includes:
步骤201、MME接收SGW-C发送的通知消息,该通知消息携带异常指示信 息。Step 201: The MME receives a notification message sent by the SGW-C, where the notification message carries an abnormality indication letter. interest.
其中,异常指示信息可以用于指示出现异常的承载或设备,例如,异常承载或异常的SGW-U,或者用于指示受到异常设备影响的用户设备(user equipment,UE)。具体地,该异常指示信息可以包括以下至少一种:第一承载标识、UE的标识和第一SGW-U标识。其中,第一SGW-U为重启或宕机的SGW-U,第一SGW-U标识用于指示该第一SGW-U,换句话说,第一SGW-U标识用于指示异常的第一SGW-U;该第一SGW-U的标识可以是第一SGW-U的设备标识或者IP地址。The abnormality indication information may be used to indicate a bearer or device in which an abnormality occurs, for example, an abnormal bearer or an abnormal SGW-U, or a user equipment (UE) for indicating an abnormal device. Specifically, the abnormality indication information may include at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier. The first SGW-U is a restart or downtime SGW-U, and the first SGW-U identifier is used to indicate the first SGW-U. In other words, the first SGW-U identifier is used to indicate the first abnormality. SGW-U; the identifier of the first SGW-U may be a device identifier or an IP address of the first SGW-U.
此外,第一承载标识用于指示异常的承载,该第一承载标识可以是隧道端点标识符(Tunnel Endpoint Identifier,TEID)或承载ID;UE的标识用于指示承载出现异常的UE,例如,国际移动用户标识(International Mobile Subscriber Identity,IMSI),临时移动台标识(temporary mobile subscriber identity,TMSI)或其它标识。In addition, the first bearer identifier is used to indicate an abnormal bearer, and the first bearer identifier may be a Tunnel Endpoint Identifier (TEID) or a bearer ID. The identifier of the UE is used to indicate that the bearer has an abnormality, for example, an international International Mobile Subscriber Identity (IMSI), Temporary Mobile Subscriber Identity (TMSI) or other identifier.
其中,该通知消息可以是错误通知(Error Notification)消息,该错误通知消息的结构可以包含多个IMSI和多个承载ID,具体可以采用列表的形式,如表1所示:The notification message may be an error notification message, and the structure of the error notification message may include multiple IMSIs and multiple bearer IDs, which may be in the form of a list, as shown in Table 1:
表1Table 1
信元Cell 说明Description
IMSI ListIMSI List IMSI列表IMSI list
Bearer ID ListBearer ID List 承载ID列表Bearer ID list
步骤202、MME根据异常指示信息,确定无效承载上下文。Step 202: The MME determines an invalid bearer context according to the abnormality indication information.
具体地,承载上下文中还可以包括无效指示位,步骤202可以包括设置无效指示位的值为第一特定值,该第一特定值用于指示承载上下文无效,例如,该第一特定值可以为1,此处不予限制。Specifically, the bearer context may further include an invalid indication bit, and the step 202 may include setting a value of the invalid indication bit to a first specific value, where the first specific value is used to indicate that the bearer context is invalid, for example, the first specific value may be 1, there is no limit here.
需要说明的是,本发明各实施例中,无效承载上下文指的是承载上下文包 含无效的承载信息,该无效的承载信息导致数据无法成功传输,例如,由于SGW-U重启或宕机,导致承载上下文中SGW-U端的全隧道端点标识符(Fully Qualified Tunnel Endpoint Identifier,F-TEID)无效,其中,F-TEID包含隧道IP地址和TEID,此处不再赘述。It should be noted that, in various embodiments of the present invention, the invalid bearer context refers to a bearer context packet. The invalid bearer information is included, and the invalid bearer information causes the data to be unsuccessfully transmitted. For example, due to the restart or downtime of the SGW-U, the Fully Tunnel Endpoint Identifier (F-) of the SGW-U end in the bearer context is caused. The TEID is invalid. The F-TEID contains the tunnel IP address and TEID, which are not mentioned here.
上述实施例提供的方法,通过接收SGW-C发送的通知消息,该通知消息携带异常指示信息,并根据异常指示信息确定无效承载上下文,使得MME能够及时获知出现异常的承载,避免MME将无效的承载信息提供给其它网元,进而避免由于无效的承载信息导致的数据传输失败,提升了用户的感受。The method provided by the foregoing embodiment, by receiving the notification message sent by the SGW-C, the notification message carries the abnormal indication information, and determines the invalid bearer context according to the abnormality indication information, so that the MME can know the abnormal bearer in time, and the MME is invalid. The bearer information is provided to other network elements, thereby avoiding data transmission failure due to invalid bearer information, thereby improving user experience.
可选地,在上述实施例的第一种实施场景下,若异常指示信息包括第一承载标识,则步骤202具体包括:Optionally, in the first implementation scenario of the foregoing embodiment, if the abnormality indication information includes the first bearer identifier, step 202 specifically includes:
步骤2021a、MME根据第一承载标识,查找本地存储的承载上下文。Step 2021a: The MME searches for a locally stored bearer context according to the first bearer identifier.
步骤2022a、MME将第一承载标识所指示的承载的承载上下文,确定为无效承载上下文。Step 2022: The MME determines, as the invalid bearer context, the bearer context of the bearer indicated by the first bearer identifier.
其中,上述通过承载标识查找本地存储的上下文,能够及时准确地查找到无效承载上下文,即查找到出现异常的承载,提升系统的工作效率。The foregoing finding the local storage context by using the bearer identifier can find the invalid bearer context in a timely and accurate manner, that is, finding an abnormal bearer and improving the working efficiency of the system.
可选地,在上述实施例的第二种实施场景下,异常指示信息包括UE的标识,则步骤202具体包括:Optionally, in the second implementation scenario of the foregoing embodiment, the abnormality indication information includes the identifier of the UE, and the step 202 specifically includes:
步骤2021b、MME根据UE的标识,查找本地存储的承载上下文。Step 2021b: The MME searches for a locally stored bearer context according to the identifier of the UE.
步骤2022b、MME将UE的标识所指示的UE的承载的承载上下文,确定为无效承载上下文。Step 2022b: The MME determines, as the invalid bearer context, the bearer context of the bearer of the UE indicated by the identifier of the UE.
可选地,在上述实施例的第三种实施场景下,异常指示信息包括第一SGW-U标识,则步骤202具体包括:Optionally, in the third implementation scenario of the foregoing embodiment, the abnormality indication information includes the first SGW-U identifier, and the step 202 specifically includes:
步骤2021c、MME根据第一SGW-U标识,获得第一SGW-U的相关承载的承载上下文;Step 2021c: The MME obtains a bearer context of the related bearer of the first SGW-U according to the first SGW-U identifier.
步骤2022c、MME将获得的承载上下文,确定为无效承载上下文。Step 2022c: The MME determines the obtained bearer context as an invalid bearer context.
其中,上述相关承载可以包括一端为第一SGW-U的承载。 The related bearer may include a bearer whose first end is the first SGW-U.
进一步地,步骤2021c具体可以包括:Further, step 2021c may specifically include:
MME在本地存储的承载上下文中查找第一SGW-U标识,获得包含有第一SGW-U标识的承载上下文;或者,The MME searches for the first SGW-U identifier in the locally stored bearer context, and obtains the bearer context that includes the first SGW-U identifier; or
MME根据预设的SGW-U标识与承载之间的对应关系,确定第一SGW-U的相关承载,获得相关承载的承载上下文。The MME determines the related bearer of the first SGW-U according to the preset correspondence between the SGW-U identifier and the bearer, and obtains the bearer context of the related bearer.
其中,上述相关承载是与第一SGW标识对应的承载。The related bearer is a bearer corresponding to the first SGW identifier.
可选地,在上述实施例的第四种实施场景下,在步骤202之后还包括步骤203-205,具体如下:Optionally, in the fourth implementation scenario of the foregoing embodiment, after step 202, steps 203-205 are further included, as follows:
步骤203、MME向SGW-C发送修改承载请求消息。Step 203: The MME sends a modify bearer request message to the SGW-C.
其中,修改承载请求消息可以携带有第二承载标识,该第二承载标识用于指示异常承载,该异常承载为上述无效承载上下文对应的承载中的一个,换句话说,该异常承载属于上述无效承载上下文对应的承载,该异常承载的承载上下文为无效承载上下文。具体地,当上述无效承载上下文对应的承载仅包含一个承载时,该异常承载即为上述无效承载上下文对应的承载;当上述无效承载上下文对应的承载包含两个或以上承载时,该异常承载为上述无效承载上下文对应的承载中的一个。The modify bearer request message may carry a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is one of the bearers corresponding to the invalid bearer context, in other words, the abnormal bearer belongs to the invalid The bearer corresponding to the bearer context, and the bearer context of the abnormal bearer is an invalid bearer context. Specifically, when the bearer corresponding to the invalid bearer context includes only one bearer, the abnormal bearer is the bearer corresponding to the invalid bearer context; when the bearer corresponding to the invalid bearer context includes two or more bearers, the abnormal bearer is One of the bearers corresponding to the invalid bearer context described above.
需要说明的是,在本发明各实施例中,无效承载上下文对应的承载指的是无效承载上下文所属的承载。It should be noted that, in the embodiments of the present invention, the bearer corresponding to the invalid bearer context refers to the bearer to which the invalid bearer context belongs.
步骤204、MME接收SGW-C发送的修改承载响应消息。Step 204: The MME receives the modify bearer response message sent by the SGW-C.
其中,修改承载响应消息携带第二承载标识和F-TEID,该F-TEID可以包括第二SGW-U的IP地址和重新分配的TEID;此外,该重新分配的TEID可以由SGW-C分配,也可以由第二SGW-U分配,第二SGW-U可以是重新选择的SGW-U或者重启后的第一SGW-U,不予限制。The modified bearer response message carries a second bearer identifier and an F-TEID, and the F-TEID may include an IP address of the second SGW-U and a re-allocated TEID; in addition, the re-allocated TEID may be allocated by the SGW-C. It may also be allocated by the second SGW-U, and the second SGW-U may be the reselected SGW-U or the first SGW-U after the restart, which is not limited.
步骤205、MME根据第二承载标识和F-TEID,更新无效承载上下文。Step 205: The MME updates the invalid bearer context according to the second bearer identifier and the F-TEID.
需要说明的是,本发明各实施例中更新无效承载上下文具体可以包括更新第二承载标识所指示的无效承载上下文中的无效F-TEID,不予限制。 It should be noted that updating the invalid bearer context in the embodiments of the present invention may specifically include updating the invalid F-TEID in the invalid bearer context indicated by the second bearer identifier, and is not limited.
可选地,在上述实施例的第五种实施场景下,在步骤202之后还包括步骤206-209,具体如下:Optionally, in the fifth implementation scenario of the foregoing embodiment, after step 202, steps 206-209 are further included, as follows:
步骤206、MME接收第一UE发送的跟踪区更新(track area update,TAU)消息或服务请求(service request)消息。Step 206: The MME receives a track area update (TAU) message or a service request (service request) message sent by the first UE.
其中,TAU消息或service request消息可以携带上述第一UE的标识。The TAU message or the service request message may carry the identifier of the first UE.
步骤207、若存在第一UE的无效承载上下文,则MME向SGW-C发送修改承载请求消息。Step 207: If there is an invalid bearer context of the first UE, the MME sends a modify bearer request message to the SGW-C.
其中,修改承载请求消息可以携带第三承载标识,该第三承载标识用于指示异常承载,该异常承载为第一UE的无效承载上下文对应的承载。The modify bearer request message may carry a third bearer identifier, where the third bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is a bearer corresponding to the invalid bearer context of the first UE.
具体地,MME可以根据第一UE的标识,确定是否存在该第一UE的无效承载上下文。例如,根据第一UE的标识,查找本地存储的第一UE的承载上下文,若存在至少一个承载上下文中的无效指示位的设置值指示无效,则确定存在第一UE的无效承载上下文。Specifically, the MME may determine, according to the identifier of the first UE, whether an invalid bearer context of the first UE exists. For example, the bearer context of the first UE stored locally is searched according to the identifier of the first UE. If the setting value indicating that the invalid indicator bit in the at least one bearer context is invalid, it is determined that the invalid bearer context of the first UE exists.
步骤208、MME接收SGW-C发送的修改承载响应消息。Step 208: The MME receives the modify bearer response message sent by the SGW-C.
其中,修改承载响应消息携带第三承载标识和F-TEID,该F-TEID可以包括第二SGW-U的IP地址和重新分配的TEID;此外,第二SGW-U可以是重新选择的SGW-U或者重启后的第一SGW-U,不予限制。The modified bearer response message carries a third bearer identifier and an F-TEID, and the F-TEID may include an IP address of the second SGW-U and a re-allocated TEID; in addition, the second SGW-U may be a reselected SGW- U or the first SGW-U after restart is not limited.
步骤209、MME根据修改承载响应消息中的第三承载标识和F-TEID,更新第一UE的无效承载上下文。Step 209: The MME updates the invalid bearer context of the first UE according to the third bearer identifier and the F-TEID in the modify bearer response message.
进一步地,在步骤206之前,上述方法还包括:Further, before step 206, the foregoing method further includes:
步骤206a、MME接收所述SGW-C发送的下行数据通知(downlink data notification,DDN)消息,该DDN消息携带有第三承载标识。Step 205: The MME receives a downlink data notification (DDN) message sent by the SGW-C, where the DDN message carries a third bearer identifier.
步骤206b、MME根据DDN消息,向第一UE发送寻呼消息,该寻呼消息用于寻呼第一UE。Step 206b: The MME sends a paging message to the first UE according to the DDN message, where the paging message is used to page the first UE.
上述第五种实施场景中,通过业务触发更新UE的无效承载上下文,使得承载信息的更新更加有针对性,避免同时出现大量承载的恢复或建立,增加系统 负荷,此外,避免为已经离开该通信网络的用户设备分配新的资源,造成系统资源的浪费。In the foregoing implementation scenario, the invalid bearer context of the UE is updated by the service, so that the update of the bearer information is more targeted, and the recovery or establishment of a large number of bearers is avoided at the same time, and the system is added. The load, in addition, avoids allocating new resources to user equipment that has left the communication network, resulting in wasted system resources.
需要说明的是,本发明各实施例中,出现异常的承载指的是该承载无法正常传输业务数据,出现异常的设备指的是该设备由于重启或宕机或严重告警等造成的该设备无法正常工作。It should be noted that, in the embodiments of the present invention, the abnormal bearer refers to that the bearer cannot transmit service data normally, and the abnormal device refers to the device that cannot be caused by restarting or downtime or serious alarm. normal work.
如图3所示,本发明实施例提供了另一种识别无效承载上下文的方法,该方法包括:As shown in FIG. 3, an embodiment of the present invention provides another method for identifying an invalid bearer context, where the method includes:
步骤301、SGW-C监控第一SGW-U的状态。Step 301: The SGW-C monitors the status of the first SGW-U.
步骤302、若第一SGW-U重启或宕机,则SGW-C向MME发送通知消息。Step 302: If the first SGW-U is restarted or down, the SGW-C sends a notification message to the MME.
其中,通知消息携带有异常指示信息,该异常指示信息用于指示出现异常的承载或设备,还用于MME确定无效承载上下文。此外,该异常指示信息可以包括以下至少一种:第一承载标识,UE的标识和第一SGW-U标识。The notification message carries the abnormality indication information, which is used to indicate the bearer or device in which the abnormality occurs, and is also used by the MME to determine the invalid bearer context. In addition, the abnormality indication information may include at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier.
需要说明的是,第一承载标识用于标识承载,具体可以是TEID;上述UE的标识用于标识UE;第一SGW-U标识用于指示第一SGW-U,具体可以是第一SGW-U的设备标识或者第一SGW-U的IP地址,不予限制。It should be noted that the first bearer identifier is used to identify the bearer, which may be a TEID; the identifier of the UE is used to identify the UE; the first SGW-U identifier is used to indicate the first SGW-U, and specifically may be the first SGW- The device ID of the U or the IP address of the first SGW-U is not limited.
其中,UE的标识,第一承载标识,第一SGW-U标识可以参见图2所示实施例中的相关描述,不再赘述。For the identifier of the UE, the first bearer identifier, and the identifier of the first SGW-U, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein.
具体地,步骤302可以采用定时传输request或response消息,来确定SGW-U的状态。例如,若SGW-C发送request消息给第一SGW-U,且在预设时间内未收到第一SGW-U的响应消息,则确定第一SGW-U重启或宕机。其中,重启指的是重新启动,宕机指的是第一SGW-U无法正常工作。Specifically, step 302 may use a timing transmission request or response message to determine the status of the SGW-U. For example, if the SGW-C sends a request message to the first SGW-U and does not receive the response message of the first SGW-U within a preset time, it is determined that the first SGW-U is restarted or down. Among them, restart refers to restart, and the downtime refers to the first SGW-U not working properly.
可替换地,步骤302也可以为若第一SGW-U出现异常,则SGW-C向MME发送上述通知消息,该异常可以是重启或宕机,或由严重告警等引起的设备无法正常工作,不再赘述。Alternatively, the step 302 may be that if the first SGW-U is abnormal, the SGW-C sends the foregoing notification message to the MME, where the abnormality may be a restart or a downtime, or the device caused by a serious alarm or the like fails to work normally. No longer.
上述实施例提供的方法,SGW-C通过监控SGW-U的状态,并在第一 SGW-U重启或宕机时,向MME发送通知消息,使得MME能够及时获知出现异常的承载,避免MME将无效的承载信息提供给其它网元,进而避免由于无效的承载信息导致的数据传输失败,提升了用户的感受。The method provided by the foregoing embodiment, the SGW-C monitors the state of the SGW-U, and is in the first When the SGW-U is restarted or down, the SGW sends a notification message to the MME, so that the MME can know the abnormal bearer in time, and prevent the MME from providing invalid bearer information to other network elements, thereby avoiding data transmission failure due to invalid bearer information. , to enhance the user's feelings.
可选地,在上述实施例的第一种实施场景下,在步骤302之后,上述方法还包括步骤303-306,具体如下所述:Optionally, in the first implementation scenario of the foregoing embodiment, after the step 302, the foregoing method further includes the steps 303-306, as follows:
步骤303、SGW-C接收MME发送的第一修改承载请求消息。Step 303: The SGW-C receives the first modified bearer request message sent by the MME.
其中,第一修改承载请求消息可以携带有第二承载标识,该第二承载标识用于指示异常承载,该异常承载为无效承载上下文对应的承载中的一个,具体可以参见图2所示实施例中的相关描述,不再赘述。The first modified bearer request message may carry a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is one of the bearers corresponding to the invalid bearer context. For details, refer to the embodiment shown in FIG. 2 . The relevant description in the description will not be repeated.
步骤304、SGW-C根据第一修改承载请求消息,向第二SGW-U发送恢复承载请求消息。Step 304: The SGW-C sends a recovery bearer request message to the second SGW-U according to the first modified bearer request message.
其中,恢复承载请求消息可以携带有第二承载标识;此外,第二SGW-U可以是SGW-C重新选择的SGW-U,例如,第二SGW-U是由SGW-C随机或根据位置选择的SGW-U,还可以是重新启动后的第一SGW-U,不予限制。The recovery bearer request message may carry the second bearer identifier. In addition, the second SGW-U may be the SGW-U reselected by the SGW-C. For example, the second SGW-U is randomly selected by the SGW-C or according to the location. The SGW-U may also be the first SGW-U after the restart, and is not limited.
步骤305、SGW-C接收第二SGW-U发送的恢复承载响应消息,该恢复承载响应消息携带第二承载标识和重新分配的TEID。Step 305: The SGW-C receives the recovery bearer response message sent by the second SGW-U, where the recovery bearer response message carries the second bearer identifier and the re-allocated TEID.
其中,该重新分配的TEID可以由第二SGW-U分配。The redistributed TEID may be allocated by the second SGW-U.
步骤306、SGW-C向MME发送第一修改承载响应消息。Step 306: The SGW-C sends a first modified bearer response message to the MME.
其中,所述第一修改承载响应消息携带第二承载标识和F-TEID,该F-TEID可以包括重新分配的TEID和第二SGW-U的IP地址。The first modified bearer response message carries a second bearer identifier and an F-TEID, and the F-TEID may include a reassigned TEID and an IP address of the second SGW-U.
可选地,在上述实施例的第一种实施场景下,在步骤302之后,上述方法还包括步骤307-310,具体如下所述:Optionally, in the first implementation scenario of the foregoing embodiment, after the step 302, the foregoing method further includes the steps 307-310, as follows:
步骤307、SGW-C接收MME发送的第一修改承载请求消息。Step 307: The SGW-C receives the first modified bearer request message sent by the MME.
其中,第一修改承载请求消息可以携带有第二承载标识,该第二承载标识用于指示无效承载上下文对应的承载。The first modified bearer request message may carry a second bearer identifier, where the second bearer identifier is used to indicate a bearer corresponding to the invalid bearer context.
步骤308、SGW-C根据第一修改承载请求消息,重新分配TEID。 Step 308: The SGW-C re-allocates the TEID according to the first modified bearer request message.
步骤309、SGW-C通知第二SGW-U重新分配的TEID。Step 309: The SGW-C notifies the second SGW-U of the re-allocated TEID.
其中,第二SGW-U可以是由SGW-C重新选择的SGW-U,例如,第二SGW-U是由SGW-C随机选择或者根据位置选择的SGW-U,还可以是重新启动后的第一SGW-U,不予限制。此外,该重新分配的TEID可以通过恢复承载请求消息发送给第二SGW-U。The second SGW-U may be the SGW-U reselected by the SGW-C. For example, the second SGW-U is randomly selected by the SGW-C or selected according to the location, or may be restarted. The first SGW-U is not limited. In addition, the reassigned TEID may be sent to the second SGW-U by a recovery bearer request message.
步骤310、SGW-C向MME发送第一修改承载响应消息。Step 310: The SGW-C sends a first modified bearer response message to the MME.
其中,第一修改承载响应消息可以携带第二承载标识和F-TEID,该F-TEID包括重新分配的TEID和第二SGW-U的IP地址。The first modified bearer response message may carry a second bearer identifier and an F-TEID, where the F-TEID includes a reassigned TEID and an IP address of the second SGW-U.
进一步地,上述方法还可以包括:Further, the above method may further include:
SGW-C向PGW-C发送第二修改承载请求消息,该第二修改承载请求消息携带第二承载标识和F-TEID;The SGW-C sends a second modified bearer request message to the PGW-C, where the second modified bearer request message carries the second bearer identifier and the F-TEID;
SGW-C接收PGW-C发送的第二修改承载响应消息。The SGW-C receives the second modified bearer response message sent by the PGW-C.
可选地,在步骤303或307之前,上述方法还包括:Optionally, before step 303 or 307, the foregoing method further includes:
SGW-C接收PGW-C发送的通知消息,该通知消息携带有第二承载标识,该通知消息用于指示在第二承载标识指示的承载上有下行数据到达;The SGW-C receives the notification message sent by the PGW-C, where the notification message carries a second bearer identifier, where the notification message is used to indicate that downlink data arrives on the bearer indicated by the second bearer identifier.
SGW-C向MME发送DDN消息,该DDN消息携带有第二承载标识。The SGW-C sends a DDN message to the MME, where the DDN message carries the second bearer identifier.
可选地,在步骤303或307之前,上述方法还包括:Optionally, before step 303 or 307, the foregoing method further includes:
SGW-C接收并缓存PGW-C发送的下行数据包,该下行数据包携带有第二承载标识;The SGW-C receives and buffers the downlink data packet sent by the PGW-C, where the downlink data packet carries the second bearer identifier;
SGW-C向MME发送DDN消息,该DDN消息携带有第二承载标识。The SGW-C sends a DDN message to the MME, where the DDN message carries the second bearer identifier.
可选地,在步骤303或307之前,上述方法还包括:Optionally, before step 303 or 307, the foregoing method further includes:
SGW-C接收并缓存第二SGW-U发送的下行数据包,该下行数据包携带有第二承载标识,该第二SGW-U为重新启动后的第一SGW-U;The SGW-C receives and buffers the downlink data packet sent by the second SGW-U, where the downlink data packet carries the second bearer identifier, and the second SGW-U is the first SGW-U after the restart;
SGW-C向MME发送DDN消息,该DDN消息携带有第二承载标识。The SGW-C sends a DDN message to the MME, where the DDN message carries the second bearer identifier.
需要说明的是,图3所示实施例中提及的术语具体可以参见图2所示实施例中的相关描述,不再赘述。 It should be noted that the terminology mentioned in the embodiment shown in FIG. 3 may be specifically referred to the related description in the embodiment shown in FIG. 2, and details are not described herein again.
如图4所示,本发明实施例提供了另一种识别无效承载上下文的方法,该方法包括:As shown in FIG. 4, an embodiment of the present invention provides another method for identifying an invalid bearer context, where the method includes:
步骤401、SGW-C监控第一SGW-U的状态。Step 401: The SGW-C monitors the status of the first SGW-U.
步骤402、若第一SGW-U重启或宕机,则SGW-C向MME发送通知消息,该通知消息携带异常指示信息。Step 402: If the first SGW-U is restarted or down, the SGW-C sends a notification message to the MME, where the notification message carries abnormal indication information.
其中,通知消息以及异常指示信息具体可以参见图2或3所示实施例中的相关描述,不再赘述。For details of the notification message and the abnormality indication information, refer to the related description in the embodiment shown in FIG. 2 or 3, and details are not described herein.
其中,步骤402中第一SGW-U重启或宕机可以通过第一SGW-U与SGW-C之间的消息交互来确定,例如,SGW-C发送请求消息给第一SGW-U,若预设时间内未收到第一SGW-U发送的响应消息,则确定第一SGW-U重启或宕机。The first SGW-U restart or downtime in step 402 may be determined by message interaction between the first SGW-U and the SGW-C. For example, the SGW-C sends a request message to the first SGW-U, if If the response message sent by the first SGW-U is not received within the set time, it is determined that the first SGW-U is restarted or down.
步骤403、MME接收SGW-C发送的通知消息。Step 403: The MME receives the notification message sent by the SGW-C.
步骤404、MME根据通知消息中的异常指示信息,确定无效承载上下文。Step 404: The MME determines an invalid bearer context according to the abnormality indication information in the notification message.
其中,无效承载上下文可以参见图2或3所示实施例中的相关描述,不再赘述。此外,步骤404的具体实现可以参见图2所示实施例中的步骤202相关的实施场景,不再赘述。For the invalid bearer context, refer to the related description in the embodiment shown in FIG. 2 or 3, and details are not described herein. For details, refer to the implementation scenario related to step 202 in the embodiment shown in FIG. 2, and details are not described herein.
步骤405、MME向SGW-C发送修改承载请求消息。Step 405: The MME sends a modify bearer request message to the SGW-C.
其中,修改承载请求消息携带有承载标识,该承载标识用于指示异常承载,该异常承载为上述无效承载上下文对应的承载中的一个。具体地,当上述无效承载上下文对应的承载仅包含一个承载时,该异常承载即为上述无效承载上下文对应的承载;当上述无效承载上下文对应的承载包含两个或以上承载时,该异常承载为上述无效承载上下文对应的承载中的一个,具体可以参见图2所示实施例中的相关描述,不再赘述。The modify bearer request message carries a bearer identifier, where the bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is one of the bearers corresponding to the invalid bearer context. Specifically, when the bearer corresponding to the invalid bearer context includes only one bearer, the abnormal bearer is the bearer corresponding to the invalid bearer context; when the bearer corresponding to the invalid bearer context includes two or more bearers, the abnormal bearer is For one of the bearers corresponding to the invalid bearer context, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein.
步骤406、SGW-C根据修改承载请求消息,向第二SGW-U发送恢复承载请求消息,该恢复承载请求消息携带有上述承载标识。Step 406: The SGW-C sends a recovery bearer request message to the second SGW-U according to the modify bearer request message, where the resume bearer request message carries the bearer identifier.
其中,第二SGW-U可以是重新选择的SGW-U,或者是重启后的第一 SGW-U。The second SGW-U may be the reselected SGW-U, or the first after the restart. SGW-U.
步骤407、第二SGW-U根据恢复承载请求消息重新分配TEID,并发送恢复承载响应消息给SGW-C。Step 407: The second SGW-U re-allocates the TEID according to the recovery bearer request message, and sends a recovery bearer response message to the SGW-C.
其中,该恢复承载响应消息携带上述承载标识和重新分配的TEID。The recovery bearer response message carries the bearer identifier and the re-allocated TEID.
需要说明的是,若由SGW-C重新分配TEID,则恢复承载响应消息可以不携带重新分配的TEID,而是由SGW-C将重新分配的TEID通过恢复承载请求消息携带给第二SGW-U。It should be noted that, if the TEID is re-allocated by the SGW-C, the recovery bearer response message may not carry the re-allocated TEID, but the SGW-C carries the re-allocated TEID to the second SGW-U through the recovery bearer request message. .
步骤408、SGW-C接收第二SGW-U发送的恢复承载响应消息。Step 408: The SGW-C receives the recovery bearer response message sent by the second SGW-U.
步骤409、SGW-C向MME发送修改承载响应消息,该修改承载响应消息携带有上述承载标识和F-TEID。Step 409: The SGW-C sends a modify bearer response message to the MME, where the modify bearer response message carries the bearer identifier and the F-TEID.
其中,F-TEID可以包括第二SGW-U的IP地址和重新分配的TEID。The F-TEID may include an IP address of the second SGW-U and a re-allocated TEID.
步骤410、MME根据第二承载标识和F-TEID,更新无效承载上下文。Step 410: The MME updates the invalid bearer context according to the second bearer identifier and the F-TEID.
其中,更新无效承载上下文具体可以参见图2所示实施例中的相关描述,不再赘述。For details about updating the invalid bearer context, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein.
上述实施例提供的方法,通过SGW-C监控SGW-U的状态,并在确认SGW-U出现异常时发送异常指示信息给MME,以指示出现异常的承载;MME根据异常指示信息确定无效承载上下文,并触发完成承载的恢复以及无效承载上下文的更新,不但避免由无效的承载信息导致的数据传输失败,还实现了承载的及时恢复,从而快速恢复数据传输,保障网络可靠性。The method provided by the foregoing embodiment is to monitor the state of the SGW-U by using the SGW-C, and send an abnormality indication information to the MME when the SGW-U is confirmed to be abnormal, to indicate that the abnormal bearer occurs; and the MME determines the invalid bearer context according to the abnormality indication information. And triggering the recovery of the completed bearer and the update of the invalid bearer context, not only avoiding the data transmission failure caused by the invalid bearer information, but also realizing the timely recovery of the bearer, thereby quickly recovering the data transmission and ensuring network reliability.
需要指出的是,图4中提及的术语或步骤的具体实施可以参见图2或3所示实施例中的相关描述,不再赘述。It should be noted that the specific implementation of the term or the steps mentioned in FIG. 4 can be referred to the related description in the embodiment shown in FIG. 2 or 3, and details are not described herein again.
如图5所示,本发明实施例提供了再一种识别无效承载上下文的方法,该方法包括:As shown in FIG. 5, the embodiment of the present invention provides another method for identifying an invalid bearer context, where the method includes:
步骤501、SGW-C监控第一SGW-U的状态。Step 501: The SGW-C monitors the status of the first SGW-U.
步骤502、若第一SGW-U重启或宕机,则SGW-C向MME发送通知消息, 该通知消息携带异常指示信息。Step 502: If the first SGW-U is restarted or down, the SGW-C sends a notification message to the MME. The notification message carries abnormal indication information.
其中,异常指示信息,重启或宕机具体可以参见图2或3所示实施例中的相关描述,不再赘述。For details of the abnormality indication information, the restart or the downtime, refer to the related description in the embodiment shown in FIG. 2 or 3, and details are not described herein.
步骤503、MME接收SGW-C发送的通知消息。Step 503: The MME receives the notification message sent by the SGW-C.
步骤504、MME根据异常指示信息,确定无效承载上下文。Step 504: The MME determines an invalid bearer context according to the abnormality indication information.
需要指出的是,步骤501-504具体可以参见图4所示实施例中步骤401-404的相关描述,不再赘述。It should be noted that the related descriptions of the steps 401-404 in the embodiment shown in FIG. 4 may be omitted, and details are not described herein again.
步骤505、MME接收第一UE发送的TAU消息或service request消息。Step 505: The MME receives a TAU message or a service request message sent by the first UE.
其中,TAU消息或service request消息中携带有第一UE的标识,该第一UE的标识用于标识第一UE,具体可以是IMSI或TMSI,不予限制。The TAU message or the service request message carries the identifier of the first UE, and the identifier of the first UE is used to identify the first UE, which may be IMSI or TMSI, and is not limited.
步骤506、若根据第一UE的标识确定存在第一UE的无效承载上下文,则MME向SGW-C发送修改承载请求消息,该修改承载请求消息携带承载标识。Step 506: If it is determined that the invalid bearer context of the first UE exists according to the identifier of the first UE, the MME sends a modify bearer request message to the SGW-C, where the modify bearer request message carries the bearer identifier.
其中,该承载标识用于指示异常承载,该异常承载为第一UE的无效承载上下文对应的承载;此外,步骤506中根据第一UE的标识确定存在第一UE的无效承载上下文的实现方式具体可以参见步骤207中的相关描述,不再赘述。The bearer identifier is used to indicate the abnormal bearer, and the abnormal bearer is the bearer corresponding to the invalid bearer context of the first UE. In addition, the implementation manner of determining the invalid bearer context of the first UE according to the identifier of the first UE is determined in step 506. For details, refer to the related description in step 207, and details are not described herein.
步骤507、SGW-C根据修改承载请求消息,向第二SGW-U发送恢复承载请求消息,该恢复承载请求消息携带有上述承载标识。Step 507: The SGW-C sends a recovery bearer request message to the second SGW-U according to the modify bearer request message, where the resume bearer request message carries the bearer identifier.
其中,第二SGW-U可以为重新选择的SGW-U,或者重启后的第一SGW-U,不予限制。The second SGW-U may be a reselected SGW-U or a first SGW-U after the restart, and is not limited.
步骤508、第二SGW-U根据恢复承载请求消息重新分配TEID,并发送恢复承载响应消息给SGW-C。Step 508: The second SGW-U re-allocates the TEID according to the recovery bearer request message, and sends a recovery bearer response message to the SGW-C.
其中,该恢复承载响应消息携带上述承载标识和重新分配的TEID。The recovery bearer response message carries the bearer identifier and the re-allocated TEID.
步骤509、SGW-C接收第二SGW-U发送的恢复承载响应消息。Step 509: The SGW-C receives the recovery bearer response message sent by the second SGW-U.
其中,重新分配的TEID可以是由第二SGW-U分配的。The redistributed TEID may be allocated by the second SGW-U.
步骤510、SGW-C向MME发送修改承载响应消息,该修改承载响应消息携带有上述承载标识和F-TEID。 Step 510: The SGW-C sends a modify bearer response message to the MME, where the modify bearer response message carries the bearer identifier and the F-TEID.
其中,F-TEID可以包括第二SGW-U的IP地址和重新分配的TEID。The F-TEID may include an IP address of the second SGW-U and a re-allocated TEID.
步骤511、MME根据第二承载标识和F-TEID,更新无效承载上下文。Step 511: The MME updates the invalid bearer context according to the second bearer identifier and the F-TEID.
其中,更新无效承载上下文具体可以参见图2所示实施例中的相关描述,不再赘述。For details about updating the invalid bearer context, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein.
上述实施例提供的方法,通过SGW-C监控SGW-U的状态,并在确认SGW-U出现异常时发送异常指示信息给MME,以指示出现异常的承载;MME根据异常指示信息确定无效承载上下文,并由UE的业务流程触发完成承载的恢复以及无效承载上下文的更新,不但避免无效的承载信息导致的数据传输失败,还实现承载的恢复,保障网络可靠性。此外,由UE的业务流程触发完成承载的恢复以及无效承载上下文的更新,避免了承载资源的浪费,降低由于大量承载同时恢复造成的系统负荷。The method provided by the foregoing embodiment is to monitor the state of the SGW-U by using the SGW-C, and send an abnormality indication information to the MME when the SGW-U is confirmed to be abnormal, to indicate that the abnormal bearer occurs; and the MME determines the invalid bearer context according to the abnormality indication information. The recovery of the bearer and the update of the invalid bearer context are triggered by the service flow of the UE, which not only avoids data transmission failure caused by invalid bearer information, but also implements bearer recovery and ensures network reliability. In addition, the recovery of the bearer and the update of the invalid bearer context are triggered by the service flow of the UE, which avoids the waste of the bearer resources and reduces the system load caused by the simultaneous recovery of a large number of bearers.
需要指出的是,图5中提及的术语或步骤的具体实施可以参见图2或3所示实施例中的相关描述,不再赘述。It should be noted that the specific implementation of the term or the steps mentioned in FIG. 5 can be referred to the related description in the embodiment shown in FIG. 2 or 3, and details are not described herein again.
如图6所示,本发明实施例提供了一种识别无效承载上下文的装置,该装置为MME,用于执行图2,4或5所示实施例中MME的操作步骤,该装置包括:As shown in FIG. 6, the embodiment of the present invention provides an apparatus for identifying an invalid bearer context, where the apparatus is an MME, and is used to perform the operation steps of the MME in the embodiment shown in FIG. 2, 4 or 5. The apparatus includes:
接收单元601,用于接收SGW-C发送的通知消息,该通知消息携带异常指示信息;The receiving unit 601 is configured to receive a notification message sent by the SGW-C, where the notification message carries abnormal indication information;
确定单元602,用于根据接收单元601接收的异常指示信息,确定无效承载上下文。The determining unit 602 is configured to determine an invalid bearer context according to the abnormality indication information received by the receiving unit 601.
其中,异常指示信息可以包括以下至少一种:第一承载标识、UE的标识和第一SGW-U标识;第一SGW-U标识用于指示重启或宕机的第一SGW-U。具体地,第一SGW-U标识可以为第一SGW-U的设备标识或者第一SGW-U的IP地址。The abnormal indication information may include at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier; and the first SGW-U identifier is used to indicate a first SGW-U that is restarted or down. Specifically, the first SGW-U identifier may be a device identifier of the first SGW-U or an IP address of the first SGW-U.
需要指出的是,第一承载标识,UE的标识,异常指示信息,以及无效承载上下文可以参见图2所示实施例中的相关描述,不再赘述。It should be noted that the first bearer identifier, the identifier of the UE, the abnormality indication information, and the invalid bearer context can be referred to the related description in the embodiment shown in FIG. 2, and details are not described herein.
上述实施例提供的装置,通过接收SGW-C发送的通知消息,该通知消息 携带异常指示信息,并根据异常指示信息确定无效承载上下文,能够及时获知出现异常的承载,避免将无效的承载信息提供给其它网元,进而避免由于无效的承载信息导致的数据传输失败,提升了用户的感受。The apparatus provided by the foregoing embodiment receives the notification message sent by the SGW-C, and the notification message The abnormal indication information is carried, and the invalid bearer context is determined according to the abnormality indication information, so that the abnormal bearer can be known in time, and the invalid bearer information is prevented from being provided to other network elements, thereby avoiding the data transmission failure caused by the invalid bearer information, thereby improving the data transmission failure. User's feelings.
可选地,上述异常指示信息包括第一承载标识,确定单元602具体用于:Optionally, the foregoing abnormality indication information includes a first bearer identifier, and the determining unit 602 is specifically configured to:
根据第一承载标识,查找本地存储的承载上下文;Finding a locally stored bearer context according to the first bearer identifier;
将第一承载标识所指示的承载的承载上下文,确定为无效承载上下文。The bearer context of the bearer indicated by the first bearer identifier is determined as an invalid bearer context.
可选地,上述异常指示信息包括UE的标识,确定单元602具体用于:Optionally, the foregoing abnormality indication information includes an identifier of the UE, and the determining unit 602 is specifically configured to:
根据UE的标识,查找本地存储的承载上下文;Finding a locally stored bearer context according to the identifier of the UE;
将UE的标识所指示的UE的承载的承载上下文,确定为无效承载上下文。The bearer context of the bearer of the UE indicated by the identifier of the UE is determined as an invalid bearer context.
可选地,上述异常指示信息包括第一SGW-U标识,确定单元602具体用于:Optionally, the abnormality indication information includes a first SGW-U identifier, and the determining unit 602 is specifically configured to:
根据第一SGW-U标识,获得第一SGW-U的相关承载的承载上下文;Obtaining, according to the first SGW-U identifier, a bearer context of the related bearer of the first SGW-U;
将获得的承载上下文,确定为无效承载上下文。The obtained bearer context is determined to be an invalid bearer context.
其中,上述相关承载可以包括一端为第一SGW-U的承载。The related bearer may include a bearer whose first end is the first SGW-U.
可选地,确定单元602还用于:Optionally, the determining unit 602 is further configured to:
在本地存储的承载上下文中查找第一SGW-U标识,获得包含有第一SGW-U标识的承载上下文;或者,Finding a first SGW-U identifier in a locally stored bearer context, and obtaining a bearer context that includes the first SGW-U identifier; or
根据预设的SGW-U标识与承载之间的对应关系,确定第一SGW-U的相关承载,获得相关承载的承载上下文。And determining, according to the preset correspondence between the SGW-U identifier and the bearer, the related bearer of the first SGW-U, and obtaining the bearer context of the related bearer.
其中,上述相关承载可以为与第一SGW标识对应的承载。The related bearer may be a bearer corresponding to the first SGW identifier.
可选地,上述装置还包括第一发送单元603和第一更新单元604;Optionally, the foregoing apparatus further includes a first sending unit 603 and a first updating unit 604;
第一发送单元603,用于向SGW-C发送修改承载请求消息,该修改承载请求消息携带有第二承载标识,该第二承载标识用于指示异常承载,该异常承载为上述无效承载上下文对应的承载中的一个,具体可以参见图2所示实施例中的相关描述,不再赘述。The first sending unit 603 is configured to send, to the SGW-C, a modify bearer request message, where the modify bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is the invalid bearer context corresponding to For details, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein again.
接收单元601,还用于接收SGW-C发送的修改承载响应消息,该修改承载响应消息携带第二承载标识和全F-TEID。 The receiving unit 601 is further configured to receive a modified bearer response message sent by the SGW-C, where the modified bearer response message carries a second bearer identifier and a full F-TEID.
其中,F-TEID包括第二SGW-U的IP地址和重新分配的TEID。The F-TEID includes an IP address of the second SGW-U and a re-allocated TEID.
第一更新单元604,用于根据接收单元601接收的第二承载标识和F-TEID,更新无效承载上下文。The first update unit 604 is configured to update the invalid bearer context according to the second bearer identifier and the F-TEID received by the receiving unit 601.
可选地,上述装置还包括:第二发送单元605和第二更新单元606;Optionally, the foregoing apparatus further includes: a second sending unit 605 and a second updating unit 606;
接收单元605,还用于接收第一UE发送的跟踪区更新TAU消息或服务请求service request消息,该TAU消息或service request消息携带第一UE的标识;The receiving unit 605 is further configured to receive a tracking area update TAU message or a service request service request message sent by the first UE, where the TAU message or the service request message carries the identifier of the first UE;
第二发送单元606,还用于若存在第一UE的无效承载上下文,则向SGW-C发送修改承载请求消息,该修改承载请求消息携带第三承载标识,该第三承载标识用于指示异常承载,该异常承载为第一UE的无效承载上下文对应的承载;The second sending unit 606 is further configured to: if the invalid bearer context of the first UE exists, send a modify bearer request message to the SGW-C, where the modify bearer request message carries a third bearer identifier, where the third bearer identifier is used to indicate an abnormality a bearer, where the abnormal bearer is a bearer corresponding to an invalid bearer context of the first UE;
接收单元601,还用于接收SGW-C发送的修改承载响应消息,该修改承载响应消息携带第三承载标识和F-TEID,该F-TEID包括第二SGW-U的IP地址和重新分配的TEID;The receiving unit 601 is further configured to receive a modified bearer response message sent by the SGW-C, where the modified bearer response message carries a third bearer identifier and an F-TEID, where the F-TEID includes the IP address of the second SGW-U and the reassigned TEID;
第二更新单元606,用于根据接收单元601接收的第三承载标识和F-TEID,更新第一UE的无效承载上下文。The second update unit 606 is configured to update the invalid bearer context of the first UE according to the third bearer identifier and the F-TEID received by the receiving unit 601.
进一步地,接收单元601,还用于在接收第一UE发送的TAU或service request消息之前,接收SGW-C发送的DDN消息,该DDN消息携带有第三承载标识;Further, the receiving unit 601 is further configured to: before receiving the TAU or service request message sent by the first UE, receive a DDN message sent by the SGW-C, where the DDN message carries a third bearer identifier;
第二发送单元606,还用于根据接收单元601接收的DDN消息,向第一UE发送寻呼消息,该寻呼消息用于寻呼第一UE。The second sending unit 606 is further configured to send, according to the DDN message received by the receiving unit 601, a paging message to the first UE, where the paging message is used to page the first UE.
如图7所示,本发明实施例提供了一种识别无效承载上下文的装置,该装置为SGW-C,可以用于执行图3,4或5所示实施例中SGW-C的相关操作步骤,该装置包括:As shown in FIG. 7, an embodiment of the present invention provides an apparatus for identifying an invalid bearer context, where the apparatus is SGW-C, and may be used to perform related operations of SGW-C in the embodiment shown in FIG. 3, 4 or 5. , the device includes:
监控单元701,用于监控第一SGW-U的状态;The monitoring unit 701 is configured to monitor a state of the first SGW-U.
发送单元702,用于若监控单元701监测到第一SGW-U重启或宕机,则向MME发送通知消息。The sending unit 702 is configured to send a notification message to the MME if the monitoring unit 701 detects that the first SGW-U is restarted or down.
其中,通知消息携带异常指示信息,该异常指示信息可以用于MME确定无 效承载上下文。异常指示信息包括以下至少一种:第一承载标识,UE的标识和第一SGW-U标识。The notification message carries abnormal indication information, and the abnormality indication information may be used by the MME to determine that there is no Effect bearer context. The abnormality indication information includes at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier.
需要说明的是,异常指示信息,第一承载标识,UE的标识,第一SGW-U标识,以及重启或宕机可以参见图3所示实施例中的相关描述,不再赘述。It should be noted that the abnormality indication information, the first bearer identifier, the identifier of the UE, the first SGW-U identifier, and the restart or the downtime can be referred to the related description in the embodiment shown in FIG.
具体地,第一SGW-U标识可以为第一SGW的设备标识或者第一SGW-U的IP地址。Specifically, the first SGW-U identifier may be a device identifier of the first SGW or an IP address of the first SGW-U.
可替换地,发送单元702,用于若监控单元701监测到第一SGW-U出现异常,则向MME发送通知消息,该异常可以为重启或宕机,或由严重告警等引起的设备无法正常工作,不再赘述。Alternatively, the sending unit 702 is configured to: if the monitoring unit 701 detects that the first SGW-U is abnormal, send a notification message to the MME, where the abnormality may be a restart or a downtime, or the device caused by a serious alarm or the like may not be normal. Work, no longer repeat them.
上述实施例提供的装置,通过监控SGW-U的状态,并在第一SGW-U重启或宕机时,向MME发送通知消息,使得MME能够及时获知出现异常的承载,避免MME将无效的承载信息提供给其它网元,进而避免由于无效的承载信息导致的数据传输失败,提升了用户的感受。The device provided by the foregoing embodiment, by monitoring the state of the SGW-U, and sending a notification message to the MME when the first SGW-U is restarted or down, so that the MME can know the abnormal bearer in time, and avoid the MME will invalidate the bearer. The information is provided to other network elements, thereby avoiding the data transmission failure caused by the invalid bearer information, thereby improving the user's feelings.
可选地,上述装置还包括接收单元703;Optionally, the above apparatus further includes a receiving unit 703;
接收单元703,用于接收MME发送的第一修改承载请求消息,该第一修改承载请求消息携带有第二承载标识,该第二承载标识用于指示异常承载,该异常承载为上述无效承载上下文对应的承载中的一个;The receiving unit 703 is configured to receive a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is the invalid bearer context. One of the corresponding bearers;
发送单元702,还用于根据接收单元703接收的第一修改承载请求消息,向第二SGW-U发送恢复承载请求消息,所述恢复承载请求消息携带有所述第二承载标识;The sending unit 702 is further configured to send, according to the first modified bearer request message received by the receiving unit 703, a resume bearer request message to the second SGW-U, where the resume bearer request message carries the second bearer identifier;
接收单元703,还用于接收第二SGW-U发送的恢复承载响应消息,该恢复承载响应消息携带第二承载标识和重新分配的TEID;The receiving unit 703 is further configured to receive a recovery bearer response message sent by the second SGW-U, where the recovery bearer response message carries the second bearer identifier and the re-allocated TEID;
发送单元702,还用于向MME发送第一修改承载响应消息,该第一修改承载响应消息携带第二承载标识和F-TEID,该F-TEID包括重新分配的TEID和第二SGW-U的IP地址。The sending unit 702 is further configured to send a first modified bearer response message to the MME, where the first modified bearer response message carries a second bearer identifier and an F-TEID, where the F-TEID includes the reassigned TEID and the second SGW-U IP address.
或者,上述装置还包括:接收单元703和处理单元704; Alternatively, the above apparatus further includes: a receiving unit 703 and a processing unit 704;
接收单元703,用于接收MME发送的第一修改承载请求消息,该第一修改承载请求消息携带有第二承载标识,该第二承载标识用于指示异常承载,该异常承载为上述无效承载上下文对应的承载中的一个;The receiving unit 703 is configured to receive a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is the invalid bearer context. One of the corresponding bearers;
处理单元704,用于根据接收单元703接收的第一修改承载请求消息,重新分配TEID;并通知第二SGW-U该重新分配的TEID;The processing unit 704 is configured to re-allocate the TEID according to the first modified bearer request message received by the receiving unit 703, and notify the second SGW-U of the re-allocated TEID;
发送单元703,还用于向MME发送第一修改承载响应消息,该第一修改承载响应消息携带第二承载标识和F-TEID,该F-TEID包括重新分配的TEID和第二SGW-U的IP地址。The sending unit 703 is further configured to send a first modified bearer response message to the MME, where the first modified bearer response message carries a second bearer identifier and an F-TEID, where the F-TEID includes the reassigned TEID and the second SGW-U IP address.
其中,异常承载具体可以参见图2所示实施例中的相关描述,不再赘述。For details of the abnormal bearer, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein again.
进一步可选地,发送单元702,还用于向PGW-C发送第二修改承载请求消息,该第二修改承载请求消息携带第二承载标识和F-TEID;Further, optionally, the sending unit 702 is further configured to send a second modified bearer request message to the PGW-C, where the second modified bearer request message carries the second bearer identifier and the F-TEID;
接收单元703,还用于接收PGW-C发送的第二修改承载响应消息。The receiving unit 703 is further configured to receive a second modified bearer response message sent by the PGW-C.
进一步可选地,接收单元703,还用于在接收MME发送的第一修改承载请求消息之前,接收PGW-C发送的通知消息,该通知消息携带有第二承载标识,该通知消息;Further, the receiving unit 703 is further configured to: before receiving the first modified bearer request message sent by the MME, receive the notification message sent by the PGW-C, where the notification message carries the second bearer identifier, the notification message;
发送单元702,还用于向MME发送DDN消息,该DDN消息携带有第二承载标识。The sending unit 702 is further configured to send a DDN message to the MME, where the DDN message carries the second bearer identifier.
进一步可选地,接收单元703,还用于在接收MME发送的第一修改承载请求消息之前,接收并缓存PGW-C发送的下行数据包,该下行数据包携带有第二承载标识;Further, the receiving unit 703 is further configured to: before receiving the first modified bearer request message sent by the MME, receive and buffer a downlink data packet sent by the PGW-C, where the downlink data packet carries the second bearer identifier;
发送单元702,还用于向MME发送DDN消息,该DDN消息携带有第二承载标识。The sending unit 702 is further configured to send a DDN message to the MME, where the DDN message carries the second bearer identifier.
进一步可选地,接收单元703,还用于在接收MME发送的第一修改承载请求消息之前,接收并缓存所述第二SGW-U发送的下行数据包,该下行数据包携带有第二承载标识,其中,第二SGW-U为重新启动后的第一SGW-U;Further, the receiving unit 703 is further configured to: before receiving the first modified bearer request message sent by the MME, receive and cache the downlink data packet sent by the second SGW-U, where the downlink data packet carries the second bearer The identifier, wherein the second SGW-U is the first SGW-U after restarting;
发送单元702,还用于向MME发送DDN消息,该DDN消息携带有第二承载 标识。The sending unit 702 is further configured to send a DDN message to the MME, where the DDN message carries the second bearer Logo.
如图8所示,本发明实施例提供了另一种识别无效承载上下文的装置,该装置为MME,该装置包括:处理器801、通信接口802和存储器803;处理器801用于执行存储器803存储的程序,该程序具体可以包括图2,4或5所示实施例中MME的相关操作步骤。As shown in FIG. 8, the embodiment of the present invention provides another apparatus for identifying an invalid bearer context, where the apparatus is an MME, the apparatus includes: a processor 801, a communication interface 802, and a memory 803; and the processor 801 is configured to execute the memory 803. The stored program, which may specifically include the relevant operational steps of the MME in the embodiment shown in FIG. 2, 4 or 5.
通信接口802,用于接收SGW-C发送的通知消息,该通知消息携带异常指示信息;The communication interface 802 is configured to receive a notification message sent by the SGW-C, where the notification message carries abnormal indication information.
存储器803,用于存储承载上下文;a memory 803, configured to store a bearer context;
处理器801,用于根据通信接口802接收的异常指示信息,确定存储器803存储的无效承载上下文。The processor 801 is configured to determine, according to the abnormality indication information received by the communication interface 802, the invalid bearer context stored by the memory 803.
其中,异常指示信息可以包括以下至少一种:第一承载标识、UE的标识和第一SGW-U标识;第一SGW-U标识用于指示重启或宕机的第一SGW-U。具体地,第一SGW-U标识可以为第一SGW-U的设备标识或者第一SGW-U的IP地址。The abnormal indication information may include at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier; and the first SGW-U identifier is used to indicate a first SGW-U that is restarted or down. Specifically, the first SGW-U identifier may be a device identifier of the first SGW-U or an IP address of the first SGW-U.
需要指出的是,第一承载标识,UE的标识,异常指示信息,以及无效承载上下文可以参见图2所示实施例中的相关描述,不再赘述。It should be noted that the first bearer identifier, the identifier of the UE, the abnormality indication information, and the invalid bearer context can be referred to the related description in the embodiment shown in FIG. 2, and details are not described herein.
上述实施例提供的装置,通过接收SGW-C发送的通知消息,该通知消息携带异常指示信息,并根据异常指示信息确定无效承载上下文,能够及时获知出现异常的承载,避免将无效的承载信息提供给其它网元,进而避免由于无效的承载信息导致的数据传输失败,提升了用户的感受。The device provided by the foregoing embodiment receives the notification message sent by the SGW-C, and the notification message carries the abnormal indication information, and determines the invalid bearer context according to the abnormality indication information, so that the abnormal bearer can be known in time, and the invalid bearer information is avoided. Give other network elements, and thus avoid data transmission failure due to invalid bearer information, and improve the user's feelings.
可选地,上述异常指示信息包括第一承载标识,处理器801具体用于:Optionally, the foregoing abnormality indication information includes a first bearer identifier, and the processor 801 is specifically configured to:
根据第一承载标识,查找存储器803存储的承载上下文;Searching for a bearer context stored in the memory 803 according to the first bearer identifier;
将第一承载标识所指示的承载的承载上下文,确定为无效承载上下文。The bearer context of the bearer indicated by the first bearer identifier is determined as an invalid bearer context.
可选地,上述异常指示信息包括UE的标识,处理器801具体用于:Optionally, the foregoing abnormality indication information includes an identifier of the UE, and the processor 801 is specifically configured to:
根据UE的标识,查找存储器803存储的承载上下文;Searching for a bearer context stored in the memory 803 according to the identifier of the UE;
将UE的标识所指示的UE的承载的承载上下文,确定为无效承载上下文。 The bearer context of the bearer of the UE indicated by the identifier of the UE is determined as an invalid bearer context.
可选地,上述异常指示信息包括第一SGW-U标识,处理器801具体用于:Optionally, the foregoing abnormality indication information includes a first SGW-U identifier, and the processor 801 is specifically configured to:
根据第一SGW-U标识,获得第一SGW-U的相关承载的承载上下文;Obtaining, according to the first SGW-U identifier, a bearer context of the related bearer of the first SGW-U;
将获得的承载上下文,确定为无效承载上下文。The obtained bearer context is determined to be an invalid bearer context.
其中,上述相关承载可以包括一端为第一SGW-U的承载。The related bearer may include a bearer whose first end is the first SGW-U.
可选地,处理器801还用于:Optionally, the processor 801 is further configured to:
在存储器803存储的承载上下文中查找第一SGW-U标识,获得包含有第一SGW-U标识的承载上下文;或者,Searching for the first SGW-U identifier in the bearer context stored in the memory 803, and obtaining the bearer context including the first SGW-U identifier; or
根据预设的SGW-U标识与承载之间的对应关系,确定第一SGW-U的相关承载,获得相关承载的承载上下文。And determining, according to the preset correspondence between the SGW-U identifier and the bearer, the related bearer of the first SGW-U, and obtaining the bearer context of the related bearer.
其中,上述相关承载可以为与第一SGW-U标识对应的承载。The related bearer may be a bearer corresponding to the first SGW-U identifier.
可选地,通信接口802,还用于向SGW-C发送修改承载请求消息,该修改承载请求消息携带有第二承载标识,该第二承载标识用于指示异常承载,该异常承载为上述无效承载上下文对应的承载中的一个。异常承载具体可以参见图2所示实施例中的相关描述,不再赘述。Optionally, the communication interface 802 is further configured to send, to the SGW-C, a modify bearer request message, where the modify bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is invalid. One of the bearers corresponding to the bearer context. For details about the abnormal bearer, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein again.
通信接口802,还用于接收SGW-C发送的修改承载响应消息,该修改承载响应消息携带第二承载标识和全F-TEID。The communication interface 802 is further configured to receive a modify bearer response message sent by the SGW-C, where the modify bearer response message carries the second bearer identifier and the full F-TEID.
其中,F-TEID包括第二SGW-U的IP地址和重新分配的TEID。The F-TEID includes an IP address of the second SGW-U and a re-allocated TEID.
处理器801,还用于根据通信接口802接收的第二承载标识和F-TEID,更新无效承载上下文。The processor 801 is further configured to update the invalid bearer context according to the second bearer identifier and the F-TEID received by the communication interface 802.
可选地,通信接口802还用于:接收第一UE发送的TAU消息或服务请求service request消息,该TAU消息或service request消息携带第一UE的标识;Optionally, the communication interface 802 is further configured to: receive a TAU message or a service request service request message sent by the first UE, where the TAU message or service request message carries an identifier of the first UE;
处理器801,还用于若存在第一UE的无效承载上下文,则通过通信接口801向SGW-C发送修改承载请求消息,该修改承载请求消息携带第三承载标识,该第三承载标识用于指示异常承载,该异常承载为第一UE的无效承载上下文对应的承载;The processor 801 is further configured to: if the invalid bearer context of the first UE exists, send a modify bearer request message to the SGW-C through the communication interface 801, where the modify bearer request message carries a third bearer identifier, where the third bearer identifier is used for Indicates an abnormal bearer, where the abnormal bearer is a bearer corresponding to the invalid bearer context of the first UE;
通信接口802还用于,接收SGW-C发送的修改承载响应消息,该修改承载 响应消息携带第三承载标识和F-TEID,该F-TEID包括第二SGW-U的IP地址和重新分配的TEID;The communication interface 802 is further configured to receive a modified bearer response message sent by the SGW-C, where the modified bearer The response message carries a third bearer identifier and an F-TEID, where the F-TEID includes an IP address of the second SGW-U and a re-allocated TEID;
处理器801,还用于根据通信接口802接收的第三承载标识和F-TEID,更新存储器803存储的第一UE的无效承载上下文。The processor 801 is further configured to update the invalid bearer context of the first UE stored by the memory 803 according to the third bearer identifier and the F-TEID received by the communication interface 802.
进一步地,通信接口802还用于:在接收第一UE发送的TAU或service request消息之前,接收SGW-C发送的DDN消息,该DDN消息携带有第三承载标识;Further, the communication interface 802 is further configured to: before receiving the TAU or service request message sent by the first UE, receive a DDN message sent by the SGW-C, where the DDN message carries a third bearer identifier;
处理器801,还用于根据DDN消息,向第一UE发送寻呼消息,该寻呼消息用于寻呼第一UE。The processor 801 is further configured to send, according to the DDN message, a paging message to the first UE, where the paging message is used to page the first UE.
如图9所示,本发明实施例提供了另一种识别无效承载上下文的装置,该装置为SGW-C,该装置包括:处理器901,通信接口902和存储器903;该处理器901用于该执行存储器903中存储的程序。该程序具体可以包括图3,4或5所示实施例中SGW-C的相关操作步骤。As shown in FIG. 9, the embodiment of the present invention provides another apparatus for identifying an invalid bearer context, where the apparatus is SGW-C, and the apparatus includes: a processor 901, a communication interface 902, and a memory 903; This executes the program stored in the memory 903. The program may specifically include the relevant operational steps of the SGW-C in the embodiment shown in FIG. 3, 4 or 5.
处理器901,用于监控第一SGW-U的状态;The processor 901 is configured to monitor a state of the first SGW-U.
处理器901,还用于若第一SGW-U重启或宕机,则通过通信接口902向MME发送通知消息。The processor 901 is further configured to send a notification message to the MME through the communication interface 902 if the first SGW-U is restarted or down.
其中,通知消息携带异常指示信息,该异常指示信息可以用于MME确定无效承载上下文。该异常指示信息包括以下至少一种:第一承载标识,UE的标识和第一SGW-U标识。The notification message carries abnormal indication information, and the abnormality indication information may be used by the MME to determine an invalid bearer context. The abnormality indication information includes at least one of the following: a first bearer identifier, an identifier of the UE, and a first SGW-U identifier.
具体地,第一SGW-U标识可以为第一SGW的设备标识或者第一SGW-U的IP地址。Specifically, the first SGW-U identifier may be a device identifier of the first SGW or an IP address of the first SGW-U.
需要说明的是,异常指示信息,第一承载标识,UE的标识,第一SGW-U标识,以及重启或宕机可以参见图3所示实施例中的相关描述,不再赘述。It should be noted that the abnormality indication information, the first bearer identifier, the identifier of the UE, the first SGW-U identifier, and the restart or the downtime can be referred to the related description in the embodiment shown in FIG.
可替换地,处理器901,用于若第一SGW-U出现异常,则通过通信接口902向MME发送通知消息,该异常可以为重启或宕机,或由严重告警等引起的设备无法正常工作,不再赘述。 Alternatively, the processor 901 is configured to send a notification message to the MME through the communication interface 902 if the first SGW-U is abnormal, the abnormality may be a restart or a downtime, or the device caused by a serious alarm or the like may not work normally. ,No longer.
上述实施例提供的装置,通过监控SGW-U的状态,并在第一SGW-U重启或宕机时,向MME发送通知消息,使得MME能够及时获知出现异常的承载,避免MME将无效的承载信息提供给其它网元,进而避免由于无效的承载信息导致的数据传输失败,提升了用户的感受。The device provided by the foregoing embodiment, by monitoring the state of the SGW-U, and sending a notification message to the MME when the first SGW-U is restarted or down, so that the MME can know the abnormal bearer in time, and avoid the MME will invalidate the bearer. The information is provided to other network elements, thereby avoiding the data transmission failure caused by the invalid bearer information, thereby improving the user's feelings.
可选地,通信接口902,用于接收MME发送的第一修改承载请求消息,该第一修改承载请求消息携带有第二承载标识,该第二承载标识用于指示异常承载,该异常承载为上述无效承载上下文对应的承载中的一个;Optionally, the communication interface 902 is configured to receive a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is One of the bearers corresponding to the invalid bearer context;
处理器901,还用于根据通信接口902接收的第一修改承载请求消息,通过通信接口902向第二SGW-U发送恢复承载请求消息,该恢复承载请求消息携带有第二承载标识;The processor 901 is further configured to send, by using the communication interface 902, a recovery bearer request message to the second SGW-U according to the first modified bearer request message received by the communication interface 902, where the resume bearer request message carries the second bearer identifier;
通信接口902,还用于接收第二SGW-U发送的恢复承载响应消息,该恢复承载响应消息携带第二承载标识和重新分配的TEID;The communication interface 902 is further configured to receive a recovery bearer response message sent by the second SGW-U, where the recovery bearer response message carries the second bearer identifier and the re-allocated TEID;
处理器901,还用于通过通信接口902向MME发送第一修改承载响应消息,该第一修改承载响应消息携带第二承载标识和F-TEID,该F-TEID包括重新分配的TEID和第二SGW-U的IP地址。The processor 901 is further configured to send, by using the communication interface 902, a first modified bearer response message, where the first modified bearer response message carries a second bearer identifier and a F-TEID, where the F-TEID includes a reassigned TEID and a second IP address of the SGW-U.
或者,or,
通信接口902,用于接收MME发送的第一修改承载请求消息,该第一修改承载请求消息携带有第二承载标识,该第二承载标识用于指示异常承载,该异常承载为上述无效承载上下文对应的承载中的一个;The communication interface 902 is configured to receive a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is the invalid bearer context. One of the corresponding bearers;
处理器901还用于:The processor 901 is further configured to:
根据通信接口902接收的第一修改承载请求消息,重新分配TEID;并通知第二SGW-U该重新分配的TEID;Re-allocating the TEID according to the first modified bearer request message received by the communication interface 902; and notifying the second SGW-U of the re-allocated TEID;
通过通信接口902向MME发送第一修改承载响应消息,该第一修改承载响应消息携带第二承载标识和F-TEID,该F-TEID包括重新分配的TEID和第二SGW-U的IP地址。The first modified bearer response message is sent to the MME through the communication interface 902. The first modified bearer response message carries a second bearer identifier and an F-TEID, where the F-TEID includes the reassigned TEID and the IP address of the second SGW-U.
其中,异常承载具体可以参见图2所示实施例中的相关描述,不再赘述。 For details of the abnormal bearer, refer to the related description in the embodiment shown in FIG. 2, and details are not described herein again.
进一步可选地,处理器901,还用于通过通信接口902向PGW-C发送第二修改承载请求消息,该第二修改承载请求消息携带第二承载标识和F-TEID;Further, the processor 901 is further configured to send, by using the communication interface 902, a second modified bearer request message to the PGW-C, where the second modified bearer request message carries the second bearer identifier and the F-TEID;
通信接口902,还用于接收PGW-C发送的第二修改承载响应消息。The communication interface 902 is further configured to receive a second modified bearer response message sent by the PGW-C.
进一步可选地,通信接口902,还用于在接收MME发送的第一修改承载请求消息之前,接收PGW-C发送的通知消息,该通知消息携带有第二承载标识,该通知消息;Further, optionally, the communication interface 902 is further configured to: before receiving the first modified bearer request message sent by the MME, receive a notification message sent by the PGW-C, where the notification message carries a second bearer identifier, the notification message;
处理器901,还用于通过通信接口902向MME发送DDN消息,该DDN消息携带有第二承载标识。The processor 901 is further configured to send, by using the communication interface 902, a DDN message to the MME, where the DDN message carries a second bearer identifier.
进一步可选地,通信接口902还用于在接收MME发送的第一修改承载请求消息之前,接收并缓存PGW-C发送的下行数据包到存储器903,该下行数据包携带有第二承载标识;Further, optionally, the communication interface 902 is further configured to: before receiving the first modified bearer request message sent by the MME, receive and buffer the downlink data packet sent by the PGW-C to the memory 903, where the downlink data packet carries the second bearer identifier;
处理器901,还用于通过通信接口902向MME发送DDN消息,该DDN消息携带有第二承载标识。The processor 901 is further configured to send, by using the communication interface 902, a DDN message to the MME, where the DDN message carries a second bearer identifier.
进一步可选地,通信接口902,还用于在接收MME发送的第一修改承载请求消息之前,接收并缓存所述第二SGW-U发送的下行数据包,该下行数据包携带有第二承载标识,其中,第二SGW-U为重新启动后的第一SGW-U;Further, optionally, the communication interface 902 is further configured to: before receiving the first modified bearer request message sent by the MME, receive and cache the downlink data packet sent by the second SGW-U, where the downlink data packet carries the second bearer The identifier, wherein the second SGW-U is the first SGW-U after restarting;
处理器901,还用于通过通信接口902向MME发送DDN消息,该DDN消息携带有第二承载标识。The processor 901 is further configured to send, by using the communication interface 902, a DDN message to the MME, where the DDN message carries a second bearer identifier.
本发明实施例提供了一种识别无效承载上下文的系统,该系统具体可以包括图6和图7所示的装置,或者,该系统包括图8和9所示的装置,不再赘述。The embodiment of the present invention provides a system for identifying an invalid bearer context, and the system may specifically include the apparatus shown in FIG. 6 and FIG. 7, or the system includes the apparatus shown in FIG. 8 and 9, and details are not described herein.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储器包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。It will be understood by those skilled in the art that all or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The steps of the foregoing method embodiments; and the foregoing memory includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限 制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and are not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that the technical solutions described in the foregoing embodiments may be modified or equivalently substituted for some of the technical features. The modifications and substitutions do not depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (38)

  1. 一种识别无效承载上下文的方法,其特征在于,所述方法包括:A method for identifying an invalid bearer context, the method comprising:
    移动性管理实体MME接收控制面服务网关SGW-C发送的通知消息,所述通知消息携带异常指示信息;The mobility management entity MME receives the notification message sent by the control plane serving gateway SGW-C, where the notification message carries abnormal indication information;
    所述MME根据所述异常指示信息,确定无效承载上下文。The MME determines an invalid bearer context according to the abnormality indication information.
  2. 根据权利要求1所述的方法,其特征在于,所述异常指示信息包括以下至少一种:第一承载标识、用户设备UE的标识和第一用户面服务网关SGW-U标识,所述第一SGW-U标识用于指示重启或宕机的第一SGW-U。The method according to claim 1, wherein the abnormality indication information comprises at least one of: a first bearer identifier, an identifier of a user equipment UE, and a first user plane serving gateway SGW-U identifier, the first The SGW-U identifies the first SGW-U that is used to indicate a restart or downtime.
  3. 根据权利要求2所述的方法,其特征在于,所述第一SGW-U标识为所述第一SGW-U的设备标识或者所述第一SGW-U的IP地址。The method according to claim 2, wherein the first SGW-U is identified as a device identifier of the first SGW-U or an IP address of the first SGW-U.
  4. 根据权利要求2所述的方法,其特征在于,所述异常指示信息包括所述第一承载标识,所述MME根据所述异常指示信息,确定无效承载上下文,包括:The method according to claim 2, wherein the abnormality indication information includes the first bearer identifier, and the MME determines an invalid bearer context according to the abnormality indication information, including:
    所述MME根据所述第一承载标识,查找本地存储的承载上下文;The MME searches for a locally stored bearer context according to the first bearer identifier.
    所述MME将所述第一承载标识所指示的承载的承载上下文,确定为所述无效承载上下文。And determining, by the MME, a bearer context of the bearer indicated by the first bearer identifier as the invalid bearer context.
  5. 根据权利要求2所述的方法,其特征在于,所述异常指示信息包括所述UE的标识,所述MME根据所述异常指示信息,确定无效承载上下文,包括:The method according to claim 2, wherein the abnormality indication information includes an identifier of the UE, and the MME determines an invalid bearer context according to the abnormality indication information, including:
    所述MME根据所述UE的标识,查找本地存储的承载上下文;The MME searches for a locally stored bearer context according to the identifier of the UE;
    所述MME将所述UE的标识所指示的UE的承载的承载上下文,确定为所述无效承载上下文。The MME determines, as the invalid bearer context, a bearer context of a bearer of the UE indicated by the identifier of the UE.
  6. 根据权利要求2或3所述的方法,其特征在于,所述异常指示信息包括所述第一SGW-U标识,所述MME根据所述异常指示信息,确定无效承载上下文,包括:The method according to claim 2 or 3, wherein the abnormality indication information includes the first SGW-U identifier, and the MME determines an invalid bearer context according to the abnormality indication information, including:
    所述MME根据所述第一SGW-U标识,获得所述第一SGW-U的相关承载的承载上下文;Obtaining, according to the first SGW-U identifier, the bearer context of the related bearer of the first SGW-U;
    所述MME将所述获得的承载上下文,确定为所述无效承载上下文。 The MME determines the obtained bearer context as the invalid bearer context.
  7. 根据权利要求6所述的方法,其特征在于,所述MME根据所述第一SGW-U标识,获得与所述第一SGW-U相关的承载的承载上下文,包括:The method according to claim 6, wherein the MME obtains a bearer context of a bearer associated with the first SGW-U according to the first SGW-U identifier, including:
    所述MME在本地存储的承载上下文中查找所述第一SGW-U标识,获得包含有所述第一SGW-U标识的承载上下文;或者,The MME searches for the first SGW-U identifier in a locally stored bearer context, and obtains a bearer context that includes the first SGW-U identifier; or
    所述MME根据预设的SGW-U标识与承载之间的对应关系,确定所述第一SGW-U的相关承载,获得所述相关承载的承载上下文。The MME determines the related bearer of the first SGW-U according to the preset correspondence between the SGW-U identifier and the bearer, and obtains the bearer context of the related bearer.
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-7, wherein the method further comprises:
    所述MME向所述SGW-C发送修改承载请求消息,所述修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常承载,所述异常承载为所述无效承载上下文对应的承载中的一个;Sending, by the MME, a modify bearer request message to the SGW-C, where the modify bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer is the invalid bearer context. One of the corresponding bearers;
    所述MME接收所述SGW-C发送的修改承载响应消息,所述修改承载响应消息携带所述第二承载标识和全隧道端点标识符F-TEID,所述F-TEID包括第二SGW-U的IP地址和重新分配的隧道端点标识符TEID;Receiving, by the MME, a modify bearer response message sent by the SGW-C, where the modify bearer response message carries the second bearer identifier and a full tunnel endpoint identifier F-TEID, where the F-TEID includes a second SGW-U IP address and reassigned tunnel endpoint identifier TEID;
    所述MME根据所述第二承载标识和所述F-TEID,更新所述无效承载上下文。The MME updates the invalid bearer context according to the second bearer identifier and the F-TEID.
  9. 根据权利要求1-7中任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 1-7, wherein the method further comprises:
    所述MME接收第一UE发送的跟踪区更新TAU消息或服务请求service request消息,所述TAU消息或service request消息携带所述第一UE的标识;Receiving, by the MME, a tracking area update TAU message or a service request service request message sent by the first UE, where the TAU message or the service request message carries the identifier of the first UE;
    若存在所述第一UE的无效承载上下文,则向所述SGW-C发送修改承载请求消息,所述修改承载请求消息携带第三承载标识,所述第三承载标识用于指示异常承载,所述异常承载为所述第一UE的无效承载上下文对应的承载;If the invalid bearer context of the first UE is present, send a modify bearer request message to the SGW-C, where the modify bearer request message carries a third bearer identifier, where the third bearer identifier is used to indicate an abnormal bearer. The abnormal bearer is a bearer corresponding to the invalid bearer context of the first UE;
    所述MME接收所述SGW-C发送的修改承载响应消息,所述修改承载响应消息携带所述第三承载标识和F-TEID,所述F-TEID包括第二SGW-U的IP地址和重新分配的TEID;The MME receives the modified bearer response message sent by the SGW-C, where the modified bearer response message carries the third bearer identifier and the F-TEID, and the F-TEID includes the IP address of the second SGW-U and the re- Assigned TEID;
    所述MME根据所述第三承载标识和所述F-TEID,更新所述第一UE的无效承载上下文。 And the MME updates the invalid bearer context of the first UE according to the third bearer identifier and the F-TEID.
  10. 根据权利要求9所述的方法,其特征在于,在所述MME接收第一UE发送的TAU或service request消息之前,还包括:The method according to claim 9, wherein before the MME receives the TAU or service request message sent by the first UE, the method further includes:
    所述MME接收所述SGW-C发送的下行数据通知DDN消息,所述DDN消息携带有所述第三承载标识;Receiving, by the MME, a downlink data notification DDN message sent by the SGW-C, where the DDN message carries the third bearer identifier;
    所述MME根据所述DDN消息,向所述第一UE发送寻呼消息,所述寻呼消息用于寻呼所述第一UE。And sending, by the MME, a paging message to the first UE according to the DDN message, where the paging message is used to page the first UE.
  11. 一种识别无效承载上下文的方法,其特征在于,所述方法包括:A method for identifying an invalid bearer context, the method comprising:
    控制面服务网关SGW-C监控第一用户面服务网关SGW-U的状态;The control plane serving gateway SGW-C monitors the state of the first user plane serving gateway SGW-U;
    若所述第一SGW-U重启或宕机,则所述SGW-C向移动性管理实体MME发送通知消息,所述通知消息携带异常指示信息,所述异常指示信息用于所述MME确定无效承载上下文。If the first SGW-U is restarted or down, the SGW-C sends a notification message to the mobility management entity MME, where the notification message carries abnormal indication information, and the abnormality indication information is used by the MME to determine that the MME is invalid. Hosting context.
  12. 根据权利要求11所述的方法,其特征在于,所述异常指示信息包括以下至少一种:第一承载标识,用户设备的标识和第一SGW-U标识。The method according to claim 11, wherein the abnormality indication information comprises at least one of the following: a first bearer identifier, an identifier of the user equipment, and a first SGW-U identifier.
  13. 根据权利要求12所述的方法,其特征在于,所述第一SGW-U标识为所述第一SGW的设备标识或者所述第一SGW-U的IP地址。The method according to claim 12, wherein the first SGW-U is identified as a device identifier of the first SGW or an IP address of the first SGW-U.
  14. 根据权利要求11-13中任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 11-13, wherein the method further comprises:
    所述SGW-C接收所述MME发送的第一修改承载请求消息,所述第一修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常承载,所述异常承载为所述无效承载上下文对应的承载中的一个;The SGW-C receives the first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, and the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is One of the bearers corresponding to the invalid bearer context;
    所述SGW-C根据所述第一修改承载请求消息,向第二SGW-U发送恢复承载请求消息,所述恢复承载请求消息携带有所述第二承载标识;The SGW-C sends a recovery bearer request message to the second SGW-U according to the first modified bearer request message, where the resume bearer request message carries the second bearer identifier;
    所述SGW-C接收所述第二SGW-U发送的恢复承载响应消息,所述恢复承载响应消息携带所述第二承载标识和重新分配的隧道端点标识符TEID;The SGW-C receives the recovery bearer response message sent by the second SGW-U, where the recovery bearer response message carries the second bearer identifier and the reassigned tunnel endpoint identifier TEID;
    所述SGW-C向所述MME发送第一修改承载响应消息,所述第一修改承载响应消息携带所述第二承载标识和全隧道端点标识符F-TEID,所述F-TEID包括所 述重新分配的TEID和所述第二SGW-U的IP地址。The SGW-C sends a first modified bearer response message to the MME, where the first modified bearer response message carries the second bearer identifier and a full tunnel endpoint identifier F-TEID, where the F-TEID includes Reassigning the TEID and the IP address of the second SGW-U.
  15. 根据权利要求11-13中任一项所述的方法,其特征在于,所述方法还包括:The method of any of claims 11-13, wherein the method further comprises:
    所述SGW-C接收所述MME发送的第一修改承载请求消息,所述第一修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常承载,所述异常承载为所述无效承载上下文对应的承载中的一个;The SGW-C receives the first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, and the second bearer identifier is used to indicate an abnormal bearer, where the abnormal bearer is One of the bearers corresponding to the invalid bearer context;
    所述SGW-C根据所述第一修改承载请求消息,重新分配TEID;The SGW-C re-allocates the TEID according to the first modified bearer request message;
    所述SGW-C通知第二SGW-U所述重新分配的TEID;The SGW-C notifies the second SGW-U of the reassigned TEID;
    所述SGW-C向所述MME发送第一修改承载响应消息,所述第一修改承载响应消息携带所述第二承载标识和F-TEID,所述F-TEID包括所述重新分配的TEID和所述第二SGW-U的IP地址。The SGW-C sends a first modified bearer response message to the MME, where the first modified bearer response message carries the second bearer identifier and an F-TEID, where the F-TEID includes the reassigned TEID and The IP address of the second SGW-U.
  16. 根据权利要求14或15所述的方法,其特征在于,所述方法还包括:The method according to claim 14 or 15, wherein the method further comprises:
    所述SGW-C向控制面分组数据网关PGW-C发送第二修改承载请求消息,所述第二修改承载请求消息携带所述第二承载标识和所述F-TEID;The SGW-C sends a second modified bearer request message to the control plane packet data gateway PGW-C, where the second modified bearer request message carries the second bearer identifier and the F-TEID;
    所述SGW-C接收所述PGW-C发送的第二修改承载响应消息。The SGW-C receives the second modified bearer response message sent by the PGW-C.
  17. 根据权利要求14-16中任一项所述的方法,其特征在于,在所述SGW-C接收所述MME发送的第一修改承载请求消息之前,所述方法还包括:The method according to any one of claims 14-16, wherein before the SGW-C receives the first modified bearer request message sent by the MME, the method further includes:
    所述SGW-C接收PGW-C发送的通知消息,所述通知消息携带有所述第二承载标识,所述通知消息用于指示在所述第二承载标识指示的承载上有下行数据到达;The SGW-C receives the notification message sent by the PGW-C, where the notification message carries the second bearer identifier, where the notification message is used to indicate that downlink data arrives on the bearer indicated by the second bearer identifier;
    所述SGW-C向所述MME发送下行数据通知DDN消息,所述DDN消息携带有所述第二承载标识。The SGW-C sends a downlink data notification DDN message to the MME, where the DDN message carries the second bearer identifier.
  18. 根据权利要求14-16中任一项所述的方法,其特征在于,在所述SGW-C接收所述MME发送的第一修改承载请求消息之前,所述方法还包括:The method according to any one of claims 14-16, wherein before the SGW-C receives the first modified bearer request message sent by the MME, the method further includes:
    所述SGW-C接收并缓存PGW-C发送的下行数据包,所述下行数据包携带有所述第二承载标识; The SGW-C receives and buffers a downlink data packet sent by the PGW-C, where the downlink data packet carries the second bearer identifier;
    所述SGW-C向所述MME发送DDN消息,所述DDN消息携带有所述第二承载标识。The SGW-C sends a DDN message to the MME, where the DDN message carries the second bearer identifier.
  19. 根据权利要求14-16中任一项所述的方法,其特征在于,在所述SGW-C接收所述MME发送的第一修改承载请求消息之前,所述方法还包括:The method according to any one of claims 14-16, wherein before the SGW-C receives the first modified bearer request message sent by the MME, the method further includes:
    所述SGW-C接收并缓存所述第二SGW-U发送的下行数据包,所述下行数据包携带有所述第二承载标识,所述第二SGW-U为重新启动后的所述第一SGW-U;The SGW-C receives and buffers the downlink data packet sent by the second SGW-U, where the downlink data packet carries the second bearer identifier, and the second SGW-U is the first a SGW-U;
    所述SGW-C向所述MME发送DDN消息,所述DDN消息携带有所述第二承载标识。The SGW-C sends a DDN message to the MME, where the DDN message carries the second bearer identifier.
  20. 一种识别无效承载上下文的装置,其特征在于,所述装置为移动性管理实体MME,所述装置包括:An apparatus for identifying an invalid bearer context, wherein the apparatus is a mobility management entity MME, and the apparatus includes:
    接收单元,用于接收控制面服务网关SGW-C发送的通知消息,所述通知消息携带异常指示信息;a receiving unit, configured to receive a notification message sent by the control plane serving gateway SGW-C, where the notification message carries abnormal indication information;
    确定单元,用于根据所述接收单元接收的所述异常指示信息,确定无效承载上下文。And a determining unit, configured to determine an invalid bearer context according to the abnormality indication information received by the receiving unit.
  21. 根据权利要求20所述的装置,其特征在于,所述异常指示信息包括以下至少一种:第一承载标识、用户设备UE的标识和第一用户面服务网关SGW-U标识,所述第一SGW-U标识用于指示重启或宕机的第一SGW-U。The apparatus according to claim 20, wherein the abnormality indication information comprises at least one of: a first bearer identifier, an identifier of a user equipment UE, and a first user plane serving gateway SGW-U identifier, the first The SGW-U identifies the first SGW-U that is used to indicate a restart or downtime.
  22. 根据权利要求21所述的装置,其特征在于,所述第一SGW-U标识为所述第一SGW-U的设备标识或者所述第一SGW-U的IP地址。The apparatus according to claim 21, wherein the first SGW-U is identified as a device identifier of the first SGW-U or an IP address of the first SGW-U.
  23. 根据权利要求21所述的装置,其特征在于,所述异常指示信息包括所述第一承载标识,所述确定单元具体用于:The device according to claim 21, wherein the abnormality indication information comprises the first bearer identifier, and the determining unit is specifically configured to:
    根据所述第一承载标识,查找本地存储的承载上下文;Searching for a locally stored bearer context according to the first bearer identifier;
    将所述第一承载标识所指示的承载的承载上下文,确定为所述无效承载上下文。And determining, by the bearer context of the bearer indicated by the first bearer identifier, the invalid bearer context.
  24. 根据权利要求21所述的装置,其特征在于,所述异常指示信息包括所 述UE的标识,所述确定单元具体用于:The device according to claim 21, wherein said abnormality indication information comprises The identifier of the UE, the determining unit is specifically configured to:
    根据所述UE的标识,查找本地存储的承载上下文;Finding a locally stored bearer context according to the identifier of the UE;
    将所述UE的标识所指示的UE的承载的承载上下文,确定为所述无效承载上下文。The bearer context of the bearer of the UE indicated by the identifier of the UE is determined as the invalid bearer context.
  25. 根据权利要求21或22所述的装置,其特征在于,所述异常指示信息包括所述第一SGW-U标识,所述确定单元具体用于:The device according to claim 21 or 22, wherein the abnormality indication information comprises the first SGW-U identifier, and the determining unit is specifically configured to:
    根据所述第一SGW-U标识,获得所述第一SGW-U的相关承载的承载上下文;Obtaining, according to the first SGW-U identifier, a bearer context of the related bearer of the first SGW-U;
    将所述获得的承载上下文,确定为所述无效承载上下文。Determining the obtained bearer context as the invalid bearer context.
  26. 根据权利要求25所述的装置,其特征在于,所述确定单元还用于:The device according to claim 25, wherein the determining unit is further configured to:
    在本地存储的承载上下文中查找所述第一SGW-U标识,获得包含有所述第一SGW-U标识的承载上下文;或者,Locating the first SGW-U identifier in a locally stored bearer context, and obtaining a bearer context including the first SGW-U identifier; or
    根据预设的SGW-U标识与承载之间的对应关系,确定所述第一SGW-U的相关承载,获得所述相关承载的承载上下文。Determining, according to a preset correspondence between the SGW-U identifier and the bearer, the related bearer of the first SGW-U, and obtaining a bearer context of the related bearer.
  27. 根据权利要求20-26中任一项所述的装置,其特征在于,所述装置还包括第一发送单元和第一更新单元;The device according to any one of claims 20 to 26, wherein the device further comprises a first transmitting unit and a first updating unit;
    所述第一发送单元,用于向所述SGW-C发送修改承载请求消息,所述修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常承载,所述异常承载为所述无效承载上下文对应的承载中的一个;The first sending unit is configured to send a modify bearer request message to the SGW-C, where the modify bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormal bearer One of the bearers corresponding to the invalid bearer context;
    接收单元,还用于接收所述SGW-C发送的修改承载响应消息,所述修改承载响应消息携带所述第二承载标识和全隧道端点标识符F-TEID,所述F-TEID包括第二SGW-U的IP地址和重新分配的隧道端点标识符TEID;The receiving unit is further configured to receive a modified bearer response message sent by the SGW-C, where the modified bearer response message carries the second bearer identifier and a full tunnel endpoint identifier F-TEID, where the F-TEID includes a second SGW-U IP address and reassigned tunnel endpoint identifier TEID;
    所述第一更新单元,用于根据接收单元接收的所述第二承载标识和所述F-TEID,更新所述无效承载上下文。The first update unit is configured to update the invalid bearer context according to the second bearer identifier and the F-TEID received by the receiving unit.
  28. 根据权利要求20-26中任一项所述的装置,其特征在于,所述装置还包括:第二发送单元和第二更新单元; The device according to any one of claims 20 to 26, wherein the device further comprises: a second sending unit and a second updating unit;
    所述接收单元,还用于接收第一UE发送的跟踪区更新TAU消息或服务请求service request消息,所述TAU消息或service request消息携带所述第一UE的标识;The receiving unit is further configured to receive a tracking area update TAU message or a service request service request message sent by the first UE, where the TAU message or the service request message carries the identifier of the first UE;
    所述第二发送单元,还用于若存在所述第一UE的无效承载上下文,则向所述SGW-C发送修改承载请求消息,所述修改承载请求消息携带第三承载标识,所述第三承载标识用于指示异常承载,所述异常承载为所述第一UE的无效承载上下文对应的承载;The second sending unit is further configured to: if the invalid bearer context of the first UE exists, send a modify bearer request message to the SGW-C, where the modify bearer request message carries a third bearer identifier, where the The three bearer identifiers are used to indicate an abnormal bearer, where the abnormal bearer is a bearer corresponding to the invalid bearer context of the first UE;
    所述接收单元,还用于接收所述SGW-C发送的修改承载响应消息,所述修改承载响应消息携带所述第三承载标识和F-TEID,所述F-TEID包括第二SGW-U的IP地址和重新分配的TEID;The receiving unit is further configured to receive a modify bearer response message sent by the SGW-C, where the modify bearer response message carries the third bearer identifier and an F-TEID, where the F-TEID includes a second SGW-U IP address and reassigned TEID;
    所述第二更新单元,用于根据所述接收单元接收的所述第三承载标识和所述F-TEID,更新所述第一UE的无效承载上下文。The second update unit is configured to update the invalid bearer context of the first UE according to the third bearer identifier and the F-TEID received by the receiving unit.
  29. 根据权利要求28所述的装置,其特征在于,The device of claim 28, wherein
    所述接收单元,还用于在接收第一UE发送的TAU或service request消息之前,接收所述SGW-C发送的下行数据通知DDN消息,所述DDN消息携带有所述第三承载标识;The receiving unit is further configured to: before receiving the TAU or service request message sent by the first UE, receive a downlink data notification DDN message sent by the SGW-C, where the DDN message carries the third bearer identifier;
    所述第二发送单元,还用于根据所述接收单元接收的所述DDN消息,向所述第一UE发送寻呼消息,所述寻呼消息用于寻呼所述第一UE。The second sending unit is further configured to send, according to the DDN message received by the receiving unit, a paging message to the first UE, where the paging message is used to page the first UE.
  30. 一种识别无效承载上下文的装置,其特征在于,所述装置为控制面服务网关SGW-C,所述装置包括:An apparatus for identifying an invalid bearer context, wherein the apparatus is a control plane serving gateway SGW-C, and the apparatus includes:
    监控单元,用于监控第一用户面服务网关SGW-U的状态;a monitoring unit, configured to monitor a state of the first user plane serving gateway SGW-U;
    发送单元,用于若所述监控单元监测到所述第一SGW-U重启或宕机,则向移动性管理实体MME发送通知消息,所述通知消息携带异常指示信息,所述异常指示信息用于所述MME确定无效承载上下文。a sending unit, configured to send a notification message to the mobility management entity MME, if the monitoring unit detects that the first SGW-U is restarted or down, the notification message carries abnormal indication information, where the abnormality indication information is used by The invalid bearer context is determined by the MME.
  31. 根据权利要求30所述的装置,其特征在于,所述异常指示信息包括以下至少一种:第一承载标识,用户设备的标识和所述第一SGW-U标识。 The apparatus according to claim 30, wherein the abnormality indication information comprises at least one of the following: a first bearer identifier, an identifier of the user equipment, and the first SGW-U identifier.
  32. 根据权利要求31所述的装置,其特征在于,所述第一SGW-U标识为所述第一SGW的设备标识或者所述第一SGW-U的IP地址。The apparatus according to claim 31, wherein the first SGW-U is identified as a device identifier of the first SGW or an IP address of the first SGW-U.
  33. 根据权利要求30-32中任一项所述的装置,其特征在于,所述装置还包括接收单元;Apparatus according to any one of claims 30 to 32, wherein the apparatus further comprises a receiving unit;
    所述接收单元,用于接收所述MME发送的第一修改承载请求消息,所述第一修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常承载,所述异常承载为所述无效承载上下文对应的承载中的一个;The receiving unit is configured to receive a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormality is Carrying one of the bearers corresponding to the invalid bearer context;
    所述发送单元,还用于根据所述接收单元接收的所述第一修改承载请求消息,向第二SGW-U发送恢复承载请求消息,所述恢复承载请求消息携带有所述第二承载标识;The sending unit is further configured to send, according to the first modified bearer request message received by the receiving unit, a recovery bearer request message to the second SGW-U, where the resume bearer request message carries the second bearer identifier ;
    所述接收单元,还用于接收所述第二SGW-U发送的恢复承载响应消息,所述恢复承载响应消息携带所述第二承载标识和重新分配的隧道端点标识符TEID;The receiving unit is further configured to receive a recovery bearer response message sent by the second SGW-U, where the recovery bearer response message carries the second bearer identifier and a reassigned tunnel endpoint identifier TEID;
    所述发送单元,还用于向所述MME发送第一修改承载响应消息,所述第一修改承载响应消息携带所述第二承载标识和全隧道端点标识符F-TEID,所述F-TEID包括所述重新分配的TEID和所述第二SGW-U的IP地址。The sending unit is further configured to send a first modified bearer response message to the MME, where the first modified bearer response message carries the second bearer identifier and a full tunnel endpoint identifier F-TEID, the F-TEID The redistributed TEID and the IP address of the second SGW-U are included.
  34. 根据权利要求30-32中任一项所述的装置,其特征在于,所述装置还包括:接收单元和处理单元;The device according to any one of claims 30 to 32, further comprising: a receiving unit and a processing unit;
    所述接收单元,用于接收所述MME发送的第一修改承载请求消息,所述第一修改承载请求消息携带有第二承载标识,所述第二承载标识用于指示异常承载,所述异常承载为所述无效承载上下文对应的承载中的一个;The receiving unit is configured to receive a first modified bearer request message sent by the MME, where the first modified bearer request message carries a second bearer identifier, where the second bearer identifier is used to indicate an abnormal bearer, and the abnormality is Carrying one of the bearers corresponding to the invalid bearer context;
    所述处理单元,用于根据所述第一修改承载请求消息,重新分配TEID;并通知第二SGW-U所述重新分配的TEID;The processing unit is configured to re-allocate the TEID according to the first modified bearer request message, and notify the second SGW-U of the re-allocated TEID;
    所述发送单元,还用于向所述MME发送第一修改承载响应消息,所述第一修改承载响应消息携带所述第二承载标识和F-TEID,所述F-TEID包括所述重新分配的TEID和所述第二SGW-U的IP地址。 The sending unit is further configured to send a first modified bearer response message to the MME, where the first modified bearer response message carries the second bearer identifier and an F-TEID, where the F-TEID includes the reallocation TEID and the IP address of the second SGW-U.
  35. 根据权利要求33或34所述的装置,其特征在于,A device according to claim 33 or 34, wherein
    所述发送单元,还用于向控制面分组数据网关PGW-C发送第二修改承载请求消息,所述第二修改承载请求消息携带所述第二承载标识和所述F-TEID;The sending unit is further configured to send a second modified bearer request message to the control plane packet data gateway PGW-C, where the second modified bearer request message carries the second bearer identifier and the F-TEID;
    所述接收单元,还用于接收所述PGW-C发送的第二修改承载响应消息。The receiving unit is further configured to receive a second modified bearer response message sent by the PGW-C.
  36. 根据权利要求33-35中任一项所述的装置,其特征在于,Apparatus according to any one of claims 33 to 35, wherein
    所述接收单元,还用于在接收所述MME发送的第一修改承载请求消息之前,接收PGW-C发送的通知消息,所述通知消息携带有所述第二承载标识,所述通知消息用于指示在所述第二承载标识指示的承载上有下行数据到达;The receiving unit is further configured to: before receiving the first modified bearer request message sent by the MME, receive a notification message sent by the PGW-C, where the notification message carries the second bearer identifier, where the notification message is used by the And indicating that downlink data arrives on the bearer indicated by the second bearer identifier;
    所述发送单元,还用于向所述MME发送下行数据通知DDN消息,所述DDN消息携带有所述第二承载标识。The sending unit is further configured to send a downlink data notification DDN message to the MME, where the DDN message carries the second bearer identifier.
  37. 根据权利要求33-35中任一项所述的装置,其特征在于,Apparatus according to any one of claims 33 to 35, wherein
    所述接收单元,还用于在接收所述MME发送的第一修改承载请求消息之前,接收并缓存PGW-C发送的下行数据包,所述下行数据包携带有所述第二承载标识;The receiving unit is further configured to: before receiving the first modified bearer request message sent by the MME, receive and cache a downlink data packet sent by the PGW-C, where the downlink data packet carries the second bearer identifier;
    所述发送单元,还用于向所述MME发送DDN消息,所述DDN消息携带有所述第二承载标识。The sending unit is further configured to send a DDN message to the MME, where the DDN message carries the second bearer identifier.
  38. 根据权利要求33-35中任一项所述的装置,其特征在于,Apparatus according to any one of claims 33 to 35, wherein
    所述接收单元,还用于在接收所述MME发送的第一修改承载请求消息之前,接收并缓存所述第二SGW-U发送的下行数据包,所述下行数据包携带有所述第二承载标识,所述第二SGW-U为重新启动后的所述第一SGW-U;The receiving unit is further configured to: before receiving the first modified bearer request message sent by the MME, receive and cache a downlink data packet sent by the second SGW-U, where the downlink data packet carries the second Carrying the identifier, the second SGW-U is the first SGW-U after restarting;
    所述发送单元,还用于向所述MME发送DDN消息,所述DDN消息携带有所述第二承载标识。 The sending unit is further configured to send a DDN message to the MME, where the DDN message carries the second bearer identifier.
PCT/CN2016/077875 2016-03-30 2016-03-30 Method, device, and system for identifying invalid bearer context WO2017166126A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/077875 WO2017166126A1 (en) 2016-03-30 2016-03-30 Method, device, and system for identifying invalid bearer context

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/077875 WO2017166126A1 (en) 2016-03-30 2016-03-30 Method, device, and system for identifying invalid bearer context

Publications (1)

Publication Number Publication Date
WO2017166126A1 true WO2017166126A1 (en) 2017-10-05

Family

ID=59963215

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/077875 WO2017166126A1 (en) 2016-03-30 2016-03-30 Method, device, and system for identifying invalid bearer context

Country Status (1)

Country Link
WO (1) WO2017166126A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021136047A1 (en) * 2019-12-31 2021-07-08 华为技术有限公司 Fault recovery method and apparatus for gateway
WO2022206485A1 (en) * 2021-03-31 2022-10-06 华为技术有限公司 Gateway fault recovery method, system and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2843885A1 (en) * 2013-08-29 2015-03-04 NTT DoCoMo, Inc. Apparatus and method for implementing a packet gateway user plane
WO2015035026A1 (en) * 2013-09-05 2015-03-12 Mavenir Systems, Inc Converged media packet gateway for a novel lte data and voice core network architecture
CN105282803A (en) * 2014-07-25 2016-01-27 中兴通讯股份有限公司 Communication interface and information transfer method and system based on the same
CN105323847A (en) * 2014-07-04 2016-02-10 中国移动通信集团河北有限公司 Communication method based on virtualized evolved packet core network, controller and virtual machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2843885A1 (en) * 2013-08-29 2015-03-04 NTT DoCoMo, Inc. Apparatus and method for implementing a packet gateway user plane
WO2015035026A1 (en) * 2013-09-05 2015-03-12 Mavenir Systems, Inc Converged media packet gateway for a novel lte data and voice core network architecture
CN105323847A (en) * 2014-07-04 2016-02-10 中国移动通信集团河北有限公司 Communication method based on virtualized evolved packet core network, controller and virtual machine
CN105282803A (en) * 2014-07-25 2016-01-27 中兴通讯股份有限公司 Communication interface and information transfer method and system based on the same

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NEC: "Solution to Key Issues 3: MME Triggered SGW Relocation Initiated by SGW-C", 3GPP SA WG2 MEETING #113 S 2-160246, 29 January 2016 (2016-01-29), pages 1 - 3, XP051072131 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021136047A1 (en) * 2019-12-31 2021-07-08 华为技术有限公司 Fault recovery method and apparatus for gateway
WO2022206485A1 (en) * 2021-03-31 2022-10-06 华为技术有限公司 Gateway fault recovery method, system and apparatus

Similar Documents

Publication Publication Date Title
US10652945B2 (en) Mobile terminated call improvements
CN110167196B (en) Support of data transmission in packet mobile networks
JP6262783B2 (en) Mobile gateway in the pool for session resilience
EP2806678B1 (en) System and method for GTP session persistence and recovery
EP3236696B1 (en) Method for paging user equipment and mobility management entity
EP2519053A1 (en) Synchronization method, radio network and node
US20190357106A1 (en) Data transmission supporting method and apparatus
WO2017036248A1 (en) Data transmission method, device and system
JP2014090450A (en) Method and apparatus for identifying user device and method for transmitting and allocating temporary identity
JP2011211710A (en) Efficient deployment for mobility management entity (mme) with stateful (maintenance of communicating condition) geographical redundancy
WO2011157166A2 (en) Service restoration processing method and mobility management network element
US9608860B1 (en) Synchronized MME pool
CN105338560B (en) Gateway disaster recovery method, equipment and system
JP6177431B2 (en) Method, apparatus and system for managing user equipment
EP3622670B1 (en) Connectivity monitoring for data tunneling between network device and application server
CN105376768A (en) Pool disaster recovery method and system for mobility management entity
WO2017166126A1 (en) Method, device, and system for identifying invalid bearer context
WO2016119262A1 (en) Service disaster recovery method, related device, and communication system
WO2009049515A1 (en) Method, device and system of called recovery in mobile switching center pool
WO2016206366A1 (en) Method and system for recovering communication state after sgw failure, and mme and sgw
WO2022188770A1 (en) Data unit processing method and apparatus, and node and storage medium
JP6114994B2 (en) Communication system, MME, PGW, SGW and program
WO2018188447A1 (en) Ip address configuration method and device
US9736866B2 (en) Method of implementing fast recovery of public warning systems
CN105682155A (en) Method and device for identifying whether PDN (Packet Data Network) connection is influenced by PGW (Packet Data Network Gateway) fault with MME (Mobility Management Entity)

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

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

Ref document number: 16895907

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16895907

Country of ref document: EP

Kind code of ref document: A1