CN102742314B - Method, device and system for processing abnormal data transmission - Google Patents

Method, device and system for processing abnormal data transmission Download PDF

Info

Publication number
CN102742314B
CN102742314B CN201280000467.5A CN201280000467A CN102742314B CN 102742314 B CN102742314 B CN 102742314B CN 201280000467 A CN201280000467 A CN 201280000467A CN 102742314 B CN102742314 B CN 102742314B
Authority
CN
China
Prior art keywords
terminal
wireless packet
packet gateway
address
gateway
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201280000467.5A
Other languages
Chinese (zh)
Other versions
CN102742314A (en
Inventor
胡玉胜
石天
林青春
王旭
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN102742314A publication Critical patent/CN102742314A/en
Application granted granted Critical
Publication of CN102742314B publication Critical patent/CN102742314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections

Landscapes

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

Abstract

Provided are a method, device and system for processing abnormal data transmission. The method comprises: a terminal acquires the address of a radio packet gateway; and when abnormal data transmission occurs, if the terminal learns that the connection between the same and the radio packet gateway is normal according to the address of the radio packet gateway, then the terminal keeps the connection. In the method, when abnormal data transmission occurs, the terminal decides whether or not to initiate a connection reestablishment operation according to the state of the connection between the terminal and the radio packet gateway, which can avoid invalid connection reestablishment operation caused by the disconnection or malfunction of the service server, reducing the signalling impact on the gateway and the relevant network device and reducing the cost to the operator of operating the device.

Description

Method, device and system for processing data transmission abnormity
Technical Field
The embodiment of the invention relates to the field of communication, in particular to a method, equipment and a system for processing data transmission abnormity.
Background
With the rapid development of mobile broadband, more and more clients access to the internet through terminals at present. In the process of service access between the terminal and the service server, if the accessed service server is disconnected from the terminal, the terminal performs a reactivation operation in order to attempt to recover the service, that is, the terminal sends an activation request to the gateway and reestablishes a Packet Data Protocol (PDP) context, so as to reestablish service connection with the service server.
In practical applications, a large number of invalid reactivation operations exist in a communication network, which brings a large signaling load to a gateway and related network devices.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, device, and system for processing data transmission exception, so as to avoid an invalid operation of reestablishing a connection due to disconnection or failure of a service server, reduce signaling impact on a gateway and related network devices, and reduce the operation cost of an operator on the devices.
In one aspect, an embodiment of the present invention provides a method for processing a data transmission exception, including:
a terminal acquires an address of a wireless packet gateway;
when the data transmission is abnormal, if the terminal learns that the connection between the terminal and the wireless packet gateway is normal according to the address of the wireless packet gateway, the terminal keeps the connection;
the method for acquiring the address of the wireless packet gateway by the terminal comprises the following steps:
the terminal sends an Activate packet data protocol context request (Activate PDP ContextRequest) message to a general packet radio service support point (SGSN);
the terminal receives an activate packet data protocol Context Accept message sent by the SGSN, wherein the activate packet data protocol Context Accept message comprises an address of the wireless packet gateway, and the address of the wireless packet gateway is sent to the SGSN by the wireless packet gateway through creating a packet data protocol Context Response Create PDP Context Response message;
or,
the terminal acquires the address of the wireless packet gateway, and the method comprises the following steps:
the terminal sends an Attach Request message to a Mobile Management Entity (MME);
and the terminal receives the address of the wireless packet gateway sent by the MME, wherein the address of the wireless packet gateway is sent to the MME by the wireless packet gateway through creating a Session Response Create Session Response message.
On the other hand, an embodiment of the present invention provides another method for processing data transmission exception, including:
the wireless packet gateway sends the address of the wireless packet gateway to the terminal;
the wireless packet gateway receives detection initiated by a terminal according to the address of the wireless packet gateway;
the wireless packet gateway sends a probe response to the terminal so that the terminal maintains a connection with the wireless packet gateway;
wherein the sending, by the wireless packet gateway, the address of the wireless packet gateway to the terminal comprises:
the wireless packet gateway receives a Create packet data protocol Context Request Create PDP Context Request message sent by a general packet wireless service support point SGSN;
the radio packet gateway sends Create packet data protocol Context response Create PDP Context response message to the SGSN, wherein the Create packet data protocol Context response message comprises the address of the radio packet gateway, so that the SGSN sends the address of the radio packet gateway to the terminal by activating the packet data protocol Context Accept ActivatePDP Context Accept message.
Or,
the wireless packet gateway transmitting an address of the wireless packet gateway to a terminal, comprising:
the wireless packet gateway receives a CreateSession Request message sent by a mobile management entity MME;
the wireless packet gateway sends the address of the wireless packet gateway to the MME through creating a Session Response message, so that the MME sends the address of the wireless packet gateway to the terminal.
In another aspect, an embodiment of the present invention provides a terminal, including:
an address acquisition unit configured to acquire an address of a wireless packet gateway;
a connection processing unit, configured to, when data transmission is abnormal, maintain a connection between the terminal and the wireless packet gateway if it is detected that the connection is normal according to an address of the wireless packet gateway;
wherein the address acquisition unit includes:
a first sending module, configured to send an Activate packet data protocol context Request Activate PDPContext Request message to an SGSN;
a first receiving module, configured to receive an Activate packet data protocol Context Accept message sent by the SGSN, where the Activate packet data protocol Context Accept message includes an address of the wireless packet gateway, and the address of the wireless packet gateway is sent to the SGSN by the wireless packet gateway through a Create packet data protocol Context Response Create PDP Context Response message.
Or,
the address acquisition unit includes:
a second sending module, configured to send an Attach Request message to a mobility management entity MME;
a second receiving module, configured to receive an address of a wireless packet gateway sent by the MME, where the address of the wireless packet gateway is sent to the MME by the wireless packet gateway through a Create session response message.
In another aspect, an embodiment of the present invention provides a wireless packet gateway, including:
an address transmitting unit for transmitting an address of the wireless packet gateway to the terminal;
a detection receiving unit, configured to receive a detection initiated by a terminal according to an address of a wireless packet gateway;
a probe response unit for sending a probe response to the terminal so that the terminal maintains a connection with the wireless packet gateway;
wherein the address transmission unit includes:
a first Request receiving module, configured to receive a Create packet data protocol Context Request Create PDP Context Request message sent by a gprs support node SGSN;
a first Response sending module, configured to send a Create packet data protocol Context Response Create pdpcontextresponse message to the SGSN, where the Create packet data protocol Context Response includes an address of the wireless packet gateway, so that the SGSN receives an Activate PDP Context Accept message by activating a packet data protocol Context and sends the address of the wireless packet gateway to the terminal.
Or,
the address transmission unit includes:
a second Request receiving module, configured to receive a Create Session Request Create Request message sent by a mobility management entity MME;
a second Response sending module, configured to send the address of the wireless packet gateway to the MME through a Create Session Response message, so that the MME sends the address of the wireless packet gateway to the terminal.
In another aspect, an embodiment of the present invention provides a system for processing data transmission exception, including the terminal and the wireless packet gateway.
It can be seen from the above technical solutions that, in the embodiments of the present invention, when data transmission is abnormal, the terminal determines whether to initiate a connection reestablishment operation according to a connection status between the terminal and the wireless packet gateway, which can avoid an invalid operation of reestablishing a connection due to a disconnection or a failure of a service server, reduce signaling impact on the gateway and related network devices, and reduce operation cost of an operator on the devices.
Drawings
FIG. 1 is a diagram illustrating a method for handling data transmission exceptions according to an embodiment of the present invention;
FIG. 2 is a diagram of another embodiment of a method for handling data transmission exceptions in the present invention;
FIG. 3 is a signaling flow diagram illustrating a method for handling data transmission anomalies according to the present invention;
FIG. 4 is a schematic signaling flow diagram illustrating a method for handling data transmission anomalies according to the present invention;
FIG. 5 is a diagram of an embodiment of a terminal according to the present invention;
FIG. 6 is a diagram of an embodiment of a wireless packet gateway in accordance with the present invention;
FIG. 7 is a diagram of a system for handling data transmission exceptions in accordance with an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method and a related device for processing data transmission abnormity, which are used for avoiding invalid operation of connection reconstruction caused by disconnection or failure of a service server.
In practical applications, the ongoing internet service is interrupted, and the terminal automatically reactivates to re-establish the connection, however, disconnection between the terminal and the service server is not necessarily a problem of the bearer network, but may be disconnection or failure of the service server, and therefore, the terminal-initiated reactivation cannot solve the problem. In the prior art, if the service server is disconnected or fails to connect, the terminal may initiate multiple reactivations before the service server is restored to normal, and since the service server is disconnected, the terminal that establishes service connection with the service server is disconnected, and before the service server is restored to normal, a large number of terminals may be reactivated multiple times within a certain time period, which may bring a relatively large signaling load to the gateway and related network devices.
In view of this, an embodiment of the present invention provides a method for processing data transmission exception. The method will be explained from the terminal side.
Referring to fig. 1, a method for processing data transmission exception according to an embodiment of the present invention includes:
101. a terminal acquires an address of a wireless packet gateway;
a terminal acquires an address of a wireless packet gateway; the wireless Packet Gateway may be a Gateway general Packet radio service Support Node (GGSN) or a Packet Data Network Gateway (PGW), and may have functions of Network access control, routing and Packet forwarding, user Data management, and the like.
102. When the data transmission is abnormal, if the terminal learns that the connection between the terminal and the wireless packet gateway is normal according to the address of the wireless packet gateway, the terminal keeps the connection.
The terminal maintaining the connection with the wireless packet gateway means that the terminal does not reestablish the connection with the wireless packet gateway, for example, the terminal does not initiate a request for activating a PDP context to the wireless packet gateway, or the terminal does not initiate a procedure for establishing a packet data network connection.
Illustratively, the data transfer exception may be: the terminal cannot receive the response of the service server after sending the uplink data; or, after the terminal sends the uplink data to the service server, the response of the service server cannot be received within the preset time; or, after the terminal sends the uplink data to the service server, if the response of the service server is not received within the preset time, the terminal sends the uplink data to the service server again, and if the response of the service server is not received after the number of times of continuously resending the uplink data exceeds the preset number of times, the data transmission is considered to be abnormal.
Optionally, when the data transmission is abnormal, if the terminal learns that the connection between the terminal and the wireless packet gateway is abnormal according to the address of the wireless packet gateway, the terminal reestablishes the connection between the terminal and the wireless packet gateway.
Illustratively, the connection reestablishment between the terminal and the wireless packet gateway may be: the terminal initiates a request for activating the PDP context to the wireless packet gateway, or the terminal initiates a flow for establishing packet network connection to the wireless packet gateway.
Because the fault of the service server or the equipment fault between the terminal and the wireless packet gateway (including the wireless packet gateway) can cause data transmission abnormity, and the operation of connection reestablishment can only solve the problem of connection fault between the terminal and the wireless packet gateway, in order to reduce invalid signaling overhead, the terminal can detect whether the connection between the terminal and the wireless packet gateway is abnormal according to the address of the wireless packet gateway, and then determine whether to initiate the operation of connection reestablishment. If the connection between the terminal and the wireless packet gateway is abnormal, the data transmission abnormality can be determined to be caused by the connection fault between the terminal and the wireless packet gateway, and the terminal can perform connection establishment operation at the moment so as to solve the connection fault between the terminal and the wireless packet gateway; if the connection between the terminal and the wireless packet gateway is normal, it can be determined that the service connection failure is caused by the failure of the service server, and the terminal cannot eliminate the failure even if the terminal initiates the connection reestablishment operation, so that the terminal can maintain the connection with the wireless packet gateway without initiating the connection reestablishment operation, thereby avoiding unnecessary signaling overhead.
The embodiment of the invention determines whether to initiate the operation of reestablishing the connection according to the connection state between the terminal and the wireless packet gateway when the data transmission is abnormal, thereby avoiding the invalid operation of reestablishing the connection caused by disconnection or failure of the service server, reducing the signaling impact on the gateway and the related network equipment and reducing the operation cost of the operator on the equipment.
The following describes a method for handling data transmission anomalies provided by an embodiment of the present invention from the wireless packet gateway side.
As shown in fig. 2, the method for processing data transmission exception according to an embodiment of the present invention includes:
201. the wireless packet gateway sends the address of the wireless packet gateway to the terminal;
the wireless packet gateway may be a GGSN or PGW; the wireless packet gateway may have network access control, routing and packet forwarding, user data management, etc.
202. The wireless packet gateway receives detection initiated by a terminal according to the address of the wireless packet gateway;
when the data transmission of the terminal is abnormal, the wireless packet gateway receives a detection packet sent by the terminal, and the detection packet is used for detecting whether the connection between the wireless packet gateway and the terminal is normal.
203. The wireless packet gateway sends a probe response to the terminal.
The wireless packet gateway sends a probe response to the terminal to cause the terminal to maintain a connection with the wireless packet gateway.
Optionally, after the wireless packet gateway sends the address of the wireless packet gateway to the terminal, the wireless packet gateway may start traffic monitoring on the probe packet, so as to prevent the terminal from initiating malicious attack after acquiring the address of the wireless packet gateway, and ensure the security of the wireless packet gateway. And if the flow of the detection packet meets the preset condition, discarding the subsequently received detection packet, or discarding the detection packet subsequently sent by the appointed terminal, wherein the appointed terminal is the terminal which sends the detection packet and the flow of which reaches the preset threshold.
Illustratively, the preset conditions may include: 1) monitoring the flow of all detection packets of the wireless packet gateway, and discarding the subsequently received detection packets when the flow of all detection packets reaches a preset threshold; or, 2) monitoring the probe packets sent by each terminal, and when the flow of the probe packet sent by any terminal reaches a preset threshold, discarding the probe packet subsequently sent by the terminal.
The embodiment of the invention sends the address of the wireless packet gateway to the terminal through the wireless packet gateway so as to ensure that whether to initiate the operation of reestablishing the connection is determined according to the connection condition between the terminal and the wireless packet gateway when the data transmission is abnormal, thereby avoiding the invalid operation of reestablishing the connection caused by disconnection or failure of a service server, reducing the signaling impact on the gateway and related network equipment and reducing the operation cost of an operator on the equipment.
The following describes a method for processing data transmission exception according to an embodiment of the present invention in a 2G/3G scenario.
Taking a 2G/3G network scenario as an example, the wireless Packet Gateway may be a Gateway GPRS Support Node (GGSN), and the network device between the terminal and the GGSN includes a Serving GPRS Support Node (SGSN), where GPRS is short for General Packet Radio Service (General Packet Radio Service). The terminal may acquire the address of the wireless packet gateway in the process of activating the PDP context. Referring to fig. 3, a method for processing data transmission exception according to an embodiment of the present invention includes:
301. the terminal sends a request message for activating the context of the packet data protocol to the GPRS support node;
the terminal establishes connection with the GGSN by sending an Activate PDP Context Request message to the SGSN.
302. The GPRS support node sends a packet data protocol context request message to the gateway GPRS support node;
the SGSN sends a Create PDP Context Request message to the GGSN.
303. The gateway GPRS support node sends a packet data protocol context creating response message to the GPRS support node;
and the GGSN sends a Create PDP Context Response message to the SGSN, wherein the Create PDP Context Response message sent by the GGSN to the SGSN comprises the address of the GGSN. Illustratively, the address of the GGSN may be a gateway Gi interface built-in anchor address (i.e. the built-in anchor address of the Gi interface of the GGSN), and the GGIA may be used to reduce the load of the Gn interface. The address of the GGSN may be carried in a Protocol Configuration Option (PCO) field of the Create PDP Context Response message.
304. The GPRS support node sends an activated packet data protocol context accept message to the terminal;
and the SGSN returns an Activate PDP Context Accept message to the terminal, wherein the Activate PDP Context Accept message sent by the SGSN to the terminal comprises the address of the GGSN acquired by the SGSN from the GGSN. Illustratively, the address of the GGSN may be carried in the PCO field of the Activate PDP context cause message.
305. The terminal confirms that the data transmission with the service server is abnormal;
for example, the data transmission abnormality between the terminal confirmation and the service server may be: 1) the terminal sends uplink data to the service server, and does not receive the response of the service server within a certain time interval (the time interval can be configured in advance); or, 2) the terminal sends the uplink data to the service server, after the response of the service server is not received within a certain time interval, the terminal sends the uplink data to the service server again, and when the number of times that the terminal retransmits the uplink data to the server exceeds the preset number of times, the response of the service server is not received, the data transmission abnormality between the terminal and the service server can be confirmed. It is understood that there may be other ways to acknowledge a data transfer exception, and the details are not limited herein.
In step 306-307, the terminal learns that the connection between the terminal and the GGSN is normal according to the obtained address of the GGSN.
306. The terminal starts detection to the gateway general packet radio service support node according to the address of the gateway general packet radio service support node;
for example, the terminal may send a probe packet to the GGSN according to the address of the GGSN, for example, send a Ping packet to the GGSN.
307. The gateway general packet radio service support node returns a detection response to the terminal;
the GGSN returns a detection response to the terminal after receiving the detection initiated by the terminal because the connection between the terminal and the GGSN has no fault. Illustratively, the GGSN may respond to Ping packets for the terminal.
308. The terminal maintains a connection with a gateway general packet radio service support node.
After the terminal receives the probe response of the GGSN, it may be considered that the connection between the terminal and the GGSN has no fault, and an operation of reestablishing the connection with the GGSN is not initiated.
Optionally, if the terminal does not receive the probe response of the GGSN, it may be considered that the connection between the terminal and the GGSN has a failure, and the terminal may reestablish the connection with the GGSN to repair the connection failure with the GGSN.
Optionally, after the GGSN sends the address of the GGSN to the terminal, the GGSN may start traffic monitoring on the probe packet, so as to prevent the terminal from initiating a malicious attack after obtaining the address of the GGSN, and ensure the security of the GGSN. And if the flow of the detection packet meets the preset condition, discarding the subsequently received detection packet or discarding the detection packet subsequently sent by a specified terminal, wherein the specified terminal is the terminal which sends the detection packet and the flow of which reaches the preset threshold.
Illustratively, the preset conditions may include: 1) monitoring the flow of all detection packets of the GGSN, and discarding the subsequently received detection packets when the flow of all detection packets reaches a preset threshold; or, 2) monitoring the probe packets sent by each terminal, and when the flow of the probe packet sent by any terminal reaches a preset threshold, discarding the probe packet subsequently sent by the terminal.
In the method for processing data transmission abnormality provided in the embodiment shown in fig. 3, when data transmission is abnormal, the terminal determines whether to initiate a connection reestablishment operation according to the connection status between the terminal and the GGSN, so that an invalid operation for reestablishing connection due to disconnection or failure of the service server can be avoided, signaling impact on the gateway and related network devices is reduced, and the operation cost of the operator on the devices is reduced.
In the following, in the scenario of 4G, a method for handling data transmission exception according to an embodiment of the present invention is described.
Taking a 4G network scenario as an example, the wireless Packet Gateway may be a Packet data network Gateway (P-GW), a network device between the terminal and the P-GW includes an evolved node b (eNodeB), a Mobility Management Entity (MME), and a Serving Gateway (S-GW), and the terminal may obtain an address of the wireless Packet Gateway in an attachment process. Referring to fig. 4, a method for processing data transmission exception according to an embodiment of the present invention includes:
401. the terminal sends an attachment request to an evolution base station;
and the terminal sends an Attach Request message to the eNodeB and initiates an Attach process.
402. The evolved node B forwards the attachment request message to a mobile management entity;
the eNodeB sends an Attach Request message to the MME.
403. The mobile management entity sends a session establishment request message to a service gateway;
the MME sends a Create Session Request message to the S-GW.
404. The service gateway forwards the session creating request message to a packet data network gateway;
the S-GW sends a Create Session Request message to the P-GW.
405. The packet data network gateway sends a session establishing response message to the service gateway;
P-GW sends Create Session Response message to S-GW; wherein, the Create Session response message carries the address of the P-GW. For example, the address of the P-GW may be a gateway Gi interface built-in anchor address (i.e., a built-in anchor address of an SGi interface of the P-GW), and the address of the P-GW may be carried in a PCO field of a Create Session Response message.
406. The service gateway forwards the session creating response message to the mobile management entity;
and the S-GW sends a Create Session Response message to the MME, wherein the Create Session Response message carries the address of the P-GW.
407. The mobile management entity sends an attachment response message to the evolved node B;
the MME sends an Attach Response message to the eNodeB; wherein, the Attach Response message carries the address of the P-GW in the Create Session Response message.
408. The evolution type base station sends a wireless resource control protocol connection configuration updating message to the terminal;
the eNodeB sends an RRC Connection Reconfiguration message to the terminal; wherein, the RRCConnection Reconfiguration message carries the address of the P-GW in the Attach Response message.
409. The terminal confirms that the data transmission with the service server is abnormal;
for example, the data transmission abnormality between the terminal confirmation and the service server may be: 1) the terminal sends uplink data to the service server, and does not receive the response of the service server within a certain time interval (the time interval can be configured in advance); or, 2) the terminal sends the uplink data to the service server, after the response of the service server is not received within a certain time interval, the terminal sends the uplink data to the service server again, and when the number of times that the terminal retransmits the uplink data to the server exceeds the preset number of times, the response of the service server is not received, the data transmission abnormality between the terminal and the service server can be confirmed. It is understood that there may be other ways to acknowledge a data transfer exception, and the details are not limited herein.
In step 410-.
410. The terminal initiates detection to the packet data network gateway according to the address of the packet data network gateway;
when the data transmission is abnormal, the terminal detects whether the connection between the terminal and the P-GW is normal or not according to the address of the P-GW.
For example, the terminal may send a probe packet to the P-GW according to the address of the P-GW to determine whether the connection between the terminal and the P-GW is normal, for example, send a Ping packet to the P-GW according to the address of the P-GW to determine whether a response returned by the P-GW is received within a preset time. If so, the connection between the terminal and the P-GW is not abnormal, and the connection between the terminal and the wireless packet gateway can not be reestablished; if not, the connection between the terminal and the P-GW is abnormal, and the connection between the terminal and the P-GW needs to be reestablished.
411. The packet data network gateway returns a detection response to the terminal;
and the P-GW returns a detection response to the terminal after receiving the detection initiated by the terminal because the connection between the terminal and the P-GW is not failed. Illustratively, the P-GW may respond to Ping packets for the terminal.
412. The terminal maintains a connection with a packet data network gateway.
After the terminal receives the probe response of the P-GW, it may consider that the connection between the terminal and the P-GW has not failed, and does not initiate an operation of reestablishing the connection with the P-GW.
Optionally, if the terminal does not receive the probe response of the P-GW, it may be considered that the connection between the terminal and the P-GW has a failure, and the terminal may reestablish the connection with the P-GW to repair the connection failure with the P-GW.
Optionally, after the P-GW sends the address of the P-GW to the terminal, the P-GW may start traffic monitoring on the probe packet, so as to prevent the terminal from initiating a malicious attack after acquiring the address of the P-GW, and ensure the security of the P-GW. And if the flow of the detection packet meets the preset condition, discarding the subsequently received detection packet, or discarding the detection packet subsequently sent by the appointed terminal, wherein the appointed terminal is the terminal which sends the detection packet and the flow of which reaches the preset threshold.
Illustratively, the preset conditions may include: 1) monitoring the flow of all detection packets of the P-GW, and discarding the subsequently received detection packets when the flow of all detection packets reaches a preset threshold; or, 2) monitoring the probe packets sent by each terminal, and when the flow of the probe packet sent by any terminal reaches a preset threshold, discarding the probe packet subsequently sent by the terminal.
In the method for processing data transmission abnormality provided in the embodiment shown in fig. 4, when data transmission is abnormal, the terminal determines whether to initiate a connection reestablishment operation according to the connection status between the terminal and the P-GW, so that an invalid operation for reestablishing connection due to disconnection or failure of a service server can be avoided, signaling impact on a gateway and related network devices is reduced, and the operation cost of an operator on the devices is reduced.
Fig. 5 is a logic structure of a terminal for executing the method for processing data transmission exception according to the embodiment of the present invention, and the terminal according to the embodiment of the present invention includes:
an address obtaining unit 501, configured to obtain an address of a wireless packet gateway;
the connection processing unit 502 is configured to, when data transmission is abnormal, maintain a connection between the terminal and the wireless packet gateway if it is detected that the connection is normal according to the address of the wireless packet gateway.
Optionally, the connection processing unit 502 is further configured to, if it is detected that the connection between the terminal and the wireless packet gateway is abnormal according to the address of the wireless packet gateway, reestablish the connection.
Optionally, the address obtaining unit 501 includes:
a first sending module 5011, configured to send an Activate packet data protocol context Request Activate PDPContext Request message to the SGSN;
a first receiving module 5012, configured to receive an Activate PDP Context Accept message sent by the SGSN, where the Activate PDP Context Accept message includes an address of a wireless packet gateway, and the address of the wireless packet gateway is sent to the SGSN by the wireless packet gateway through a Create PDP Context Response message.
Optionally, the address obtaining unit 501 includes:
a second sending module 5013, configured to send an Attach Request message to the MME;
a second receiving module 5014, configured to receive an address of a wireless packet gateway sent by the MME, where the address of the wireless packet gateway is sent by the wireless packet gateway to the MME by creating a session response Create session response message.
The operation process of each unit of the terminal in the embodiment of the invention is as follows:
the address acquisition unit 501 acquires an address of a wireless packet gateway; the wireless packet gateway may be a GGSN or a P-GW, and may have functions of network access control, routing and packet forwarding, user data management, and the like. It should be understood by those skilled in the art that as the wireless network evolves, the wireless packet gateway may also be other network elements, and the embodiment of the present invention is not limited thereto.
When data transmission is abnormal, if the terminal learns that the connection between the terminal and the wireless packet gateway is normal according to the address of the wireless packet gateway, the connection processing unit 502 maintains the connection between the terminal and the wireless packet gateway.
The terminal maintaining the connection with the wireless packet gateway means that the terminal does not re-establish the connection with the wireless packet gateway, for example, the terminal does not initiate a request for activating a PDP context to the wireless packet gateway, or the terminal does not initiate a procedure for establishing a packet data network connection to the wireless packet gateway.
Illustratively, the data transfer exception may be: the terminal cannot receive the response of the service server after sending the uplink data; or, after the terminal sends the uplink data to the service server, the response of the service server cannot be received within the preset time; or, after the terminal sends the uplink data to the service server, if the response of the service server is not received within the preset time, the terminal sends the uplink data to the service server again, and if the response of the service server is not received after the number of times of continuously resending the uplink data exceeds the preset number of times, the data transmission is considered to be abnormal.
Optionally, in a 2G/3G scenario, the process of the address obtaining unit 501 obtaining the address of the wireless packet gateway may be:
a first sending module 5011 of the address obtaining unit 501 sends an Activate PDPContext Request message to the SGSN to establish connection with the GGSN; after receiving the Activate PDPContext Request message, the SGSN sends a Create PDP Context Request message to the GGSN; after receiving the Create PDP Context Request message, the GGSN sends a Create PDPContextResponse message to the SGSN, wherein the Create PDP Context Response message sent by the GGSN to the SGSN comprises the address of the GGSN. Illustratively, the address of the GGSN may be a gateway Gi interface built-in anchor address, and the GGIA may be carried in a Protocol Configuration Option (PCO) field of a Create PDP Context Response message. The adoption of GGIA can lighten the load of a Gn interface. After the SGSN receives the Create PDP Context Response message, the first receiving module 5012 of the address obtaining unit 501 receives an Activate PDP Context Accept message returned by the SGSN, where the Activate PDP Context Accept message sent by the SGSN to the terminal includes an address of a GGSN obtained by the SGSN from the GGSN. Illustratively, the address of the GGSN may be carried in the PCO field of the Activate PDP Context Accept message.
Optionally, in a 4G scenario, the process of the address obtaining unit 501 obtaining the address of the wireless packet gateway may be: the second sending module 5013 of the address obtaining unit 501 sends an attach request message to the eNodeB to initiate an attach procedure. After receiving the Attach Request message, the eNodeB sends the Attach Request message to the MME; after receiving the Attach Request message, the MME sends a Create Session Request message to the S-GW; after receiving a Create Session Request message, the S-GW sends the Create Session Request message to the P-GW; after receiving the Create Session Request message, the P-GW sends a Create Session Response message to the S-GW; the Create Session Response message carries an address of the P-GW, and specifically, the address of the P-GW may be a gateway Gi interface built-in anchor address (i.e., a built-in anchor address of an SGi interface of the P-GW), and the address of the P-GW may be carried in a PCO field of the Create Session Response message. After receiving the CreateSession Response message, the S-GW sends a Create Session Response message to the MME; after receiving the Create Session Response message, the MME sends an Attach Response message to the eNodeB; wherein, the Attach Response message carries the address of the P-GW in the Create Session Response message. After receiving the Attach Response message, the second receiving module 5014 of the address obtaining unit 501 receives an RRC Connection Reconfiguration message sent by the eNodeB; wherein, the RRC Connection Reconfiguration message carries the address of the P-GW in the Attach Response message.
Because the fault of the service server or the equipment fault between the terminal and the wireless packet gateway (including the wireless packet gateway) can cause data transmission abnormity, and the operation of connection reestablishment can only solve the problem of connection fault between the terminal and the wireless packet gateway, in order to reduce invalid signaling overhead, the terminal can detect whether the connection between the terminal and the wireless packet gateway is abnormal according to the address of the wireless packet gateway, and then determine whether to initiate the operation of connection reestablishment. If the connection between the terminal and the wireless packet gateway is abnormal, the data transmission abnormality can be determined to be caused by the connection fault between the terminal and the wireless packet gateway, and the terminal can perform connection establishment operation at the moment so as to solve the connection fault between the terminal and the wireless packet gateway; if the connection between the terminal and the wireless packet gateway is normal, it can be determined that the service connection failure is caused by the failure of the service server, and the terminal cannot eliminate the failure even if the terminal initiates the connection reestablishment operation, so that the terminal can maintain the connection with the wireless packet gateway without initiating the connection reestablishment operation, thereby avoiding unnecessary signaling overhead.
Referring to fig. 6, a logic structure of a wireless packet gateway for performing the method for processing the data transmission exception according to the embodiment of the present invention is described as follows, where the wireless packet gateway according to the embodiment of the present invention includes:
an address transmitting unit 601 for transmitting an address of the wireless packet gateway to the terminal;
a probe receiving unit 602, configured to receive a probe initiated by a terminal according to an address of a wireless packet gateway;
a probe response unit 603, configured to send a probe response to the terminal, so that the terminal maintains a connection with the wireless packet gateway.
Optionally, the wireless packet gateway further includes:
a flow control unit 604, configured to perform flow control on the detection initiated by the terminal.
Optionally, the address sending unit 601 includes:
a first Request receiving module 6011, configured to receive a Create packet data protocol Context Request Create PDP Context Request message sent by a gprs support point SGSN;
a first Response sending module 6012, configured to send a create pdp Context Response create packet data protocol Context Response to the SGSN, where the create pdp Context Response includes an address of the wireless packet gateway, so that the SGSN receives an activate pdp Context Accept message by activating a packet data protocol Context and sends the address of the wireless packet gateway to the terminal.
Optionally, the address sending unit 601 includes:
a second Request receiving module 6013, configured to receive a Create Session Request Create Request message sent by a mobility management entity MME;
a second Response sending module 6014, configured to send the address of the wireless packet gateway to the MME by creating a Session Response Create Session Response message, so that the MME sends the address of the wireless packet gateway to the terminal.
The specific operation process of each unit of the wireless packet gateway in the embodiment of the invention is as follows:
the address transmitting unit 601 transmits the address of the wireless packet gateway to the terminal; illustratively, the wireless packet gateway may be a GGSN or PGW, and the wireless packet gateway may have functions of network access control, routing and packet forwarding, user data management, and the like.
When data transmission of the terminal is abnormal, the probe receiving unit 602 receives a probe packet sent by the terminal, where the probe packet is used to detect whether the connection between the wireless packet gateway and the terminal is normal.
The probe response unit 603 transmits a probe response to the terminal so that the terminal maintains a connection with the wireless packet gateway.
Optionally, after the wireless packet gateway sends the wireless packet gateway address to the terminal, the flow control unit 604 may start traffic monitoring on the probe packet, so as to prevent the terminal from initiating malicious attack after acquiring the address of the wireless packet gateway, and ensure the security of the wireless packet gateway. And if the flow of the detection packet meets the preset condition, discarding the subsequently received detection packet, or discarding the detection packet subsequently sent by the appointed terminal, wherein the appointed terminal is the terminal which sends the detection packet and the flow of which reaches the preset threshold.
Illustratively, the preset conditions may include: 1) monitoring the flow of all detection packets of the wireless packet gateway, and discarding the subsequently received detection packets when the flow of all detection packets reaches a preset threshold; or, 2) monitoring the probe packets sent by each terminal, and when the flow of the probe packet sent by any terminal reaches a preset threshold, discarding the probe packet subsequently sent by the terminal.
Optionally, in a 2G/3G scenario, the first Request receiving module 6011 of the address sending unit 601 may receive a Create packet data protocol Context Request Create PDP Context Request message sent by the gprs support point SGSN; the first Response sending module 6012 sends a Create PDP Context Response message to the SGSN, where the Create PDP Context Response includes an address of the wireless packet gateway, so that the SGSN receives an Activate PDP Context Accept message by activating the packet data protocol Context and sends the address of the wireless packet gateway to the terminal.
Optionally, in a 4G scenario, the second Request receiving module 6013 of the address sending unit 601 may receive a Create Session Request message sent by the mobility management entity MME; the second Response sending module 6014 sends the address of the wireless packet gateway to the MME through creating a Session Response Create Response message, so that the MME sends the address of the wireless packet gateway to the terminal.
The embodiment of the invention sends the address of the wireless packet gateway to the terminal through the wireless packet gateway so as to ensure that whether to initiate the operation of reestablishing the connection is determined according to the connection condition between the terminal and the wireless packet gateway when the data transmission is abnormal, thereby avoiding the invalid operation of reestablishing the connection caused by disconnection or failure of a service server, reducing the signaling impact on the gateway and related network equipment and reducing the operation cost of an operator on the equipment.
An embodiment of the present invention further provides a system for processing data transmission exception, where the logical structure of the system refers to fig. 7, and the system includes: a wireless packet gateway 701 and a terminal 702; the wireless packet gateway 701 may be the wireless packet gateway shown in fig. 5, and the terminal 702 may be the terminal shown in fig. 6.
For the processing flow of the data transmission exception handling system, reference may be made to the foregoing embodiments of fig. 1 to fig. 4, which are not described herein again.
The embodiment of the invention determines whether to initiate the operation of reestablishing the connection according to the connection state between the terminal and the wireless packet gateway when the data transmission is abnormal, thereby avoiding the invalid operation of reestablishing the connection caused by disconnection or failure of the service server, reducing the signaling impact on the gateway and the related network equipment and reducing the operation cost of the operator on the equipment.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (16)

1. A method for processing data transmission exception is characterized by comprising the following steps:
a terminal acquires an address of a wireless packet gateway;
when data transmission is abnormal, if the terminal learns that the connection between the terminal and the wireless packet gateway is normal according to the address of the wireless packet gateway, the terminal keeps the connection;
the method for acquiring the address of the wireless packet gateway by the terminal comprises the following steps:
the terminal sends an Activate packet data protocol Context Request (Activate PDP Context Request) message to a general packet radio service support point (SGSN);
the terminal receives an Activate packet data protocol Context Accept message sent by the SGSN, wherein the Activate packet data protocol Context Accept message comprises an address of the wireless packet gateway, and the address of the wireless packet gateway is sent to the SGSN by the wireless packet gateway through creating a packet data protocol Context Response Create PDP Context Response message;
or,
the terminal acquires the address of the wireless packet gateway, and the method comprises the following steps:
the terminal sends an Attach Request message to a Mobile Management Entity (MME);
and the terminal receives the address of the wireless packet gateway sent by the MME, wherein the address of the wireless packet gateway is sent to the MME by the wireless packet gateway through creating a Session Response Create Session Response message.
2. The method of claim 1, further comprising:
and when the data transmission is abnormal, if the terminal learns that the connection between the terminal and the wireless packet gateway is abnormal according to the address of the wireless packet gateway, the terminal reestablishes the connection.
3. The method according to claim 2, wherein the terminal learns the connection abnormality of the terminal and the wireless packet gateway according to the address of the wireless packet gateway, and comprises:
the terminal initiates detection to the wireless packet gateway according to the address of the wireless packet gateway;
and the terminal does not receive the detection response of the wireless packet gateway within the preset time.
4. The method of claim 1, wherein the address of the wireless packet gateway is carried in a Protocol Configuration Options (PROTOCOL) Options (OPs) cell.
5. The method according to any one of claims 1 to 4, wherein the terminal knows that the connection between the terminal and the wireless packet gateway is normal according to the address of the wireless packet gateway, and the method comprises:
the terminal initiates detection to the wireless packet gateway according to the address of the wireless packet gateway;
and the terminal receives the detection response of the wireless packet gateway within a preset time.
6. The method according to claim 5, wherein before the terminal knows from the address of the wireless packet gateway that the connection between the terminal and the wireless packet gateway is normal, the method further comprises:
the terminal sends uplink data to a service server;
and if the terminal does not receive the response of the service server, the terminal determines that the data transmission is abnormal.
7. The method of claim 6, wherein the address of the wireless packet gateway is a gateway Gi interface built-in anchor address.
8. A method for processing data transmission exception is characterized by comprising the following steps:
the wireless packet gateway sends the address of the wireless packet gateway to a terminal;
the wireless packet gateway receives a detection initiated by the terminal according to the address of the wireless packet gateway; the wireless packet gateway sending a probe response to the terminal to cause the terminal to maintain a connection with the wireless packet gateway;
wherein the sending, by the wireless packet gateway, the address of the wireless packet gateway to the terminal comprises:
the wireless packet gateway receives a Create packet data protocol Context Request Create PDP Context Request message sent by a general packet wireless service support point SGSN;
the wireless packet gateway sends a Create packet data protocol Context Response message to the SGSN, wherein the Create packet data protocol Context Response message comprises the address of the wireless packet gateway, so that the SGSN receives an Activate PDP Context Accept message through activating the packet data protocol Context and sends the address of the wireless packet gateway to the terminal;
or,
the wireless packet gateway transmitting an address of the wireless packet gateway to a terminal, comprising:
the wireless packet gateway receives a Create Session Request message sent by a Mobile Management Entity (MME);
the wireless packet gateway sends the address of the wireless packet gateway to the MME through creating a Session Response message, so that the MME sends the address of the wireless packet gateway to the terminal.
9. The method of claim 8, further comprising:
and the wireless packet gateway performs flow control on the detection initiated by the terminal.
10. The method of claim 8, wherein the address of the wireless packet gateway is carried in a Protocol Configuration Options (PROTOCOL) Options (OPs) cell.
11. The method according to any one of claims 8 to 10, wherein the address of the wireless packet gateway is a gateway Gi interface built-in anchor address.
12. A terminal, comprising:
an address acquisition unit configured to acquire an address of a wireless packet gateway;
a connection processing unit, configured to, when data transmission is abnormal, if it is detected that the connection between the terminal and the wireless packet gateway is normal according to the address of the wireless packet gateway, maintain the connection;
wherein the address acquisition unit includes:
a first sending module, configured to send an Activate packet data protocol Context Request (Activate PDP Context Request) message to an SGSN;
a first receiving module, configured to receive an Activate packet data protocol Context Accept message sent by the SGSN, where the Activate packet data protocol Context Accept message includes an address of the wireless packet gateway, and the address of the wireless packet gateway is sent to the SGSN by the wireless packet gateway through a Create packet data protocol Context Response Create PDP Context Response message;
or,
the address acquisition unit includes:
a second sending module, configured to send an Attach Request message to a mobility management entity MME;
a second receiving module, configured to receive an address of a wireless packet gateway sent by the MME, where the address of the wireless packet gateway is sent to the MME by the wireless packet gateway through a Create Session Response Create Response message.
13. The terminal according to claim 12, wherein the connection processing unit is further configured to reestablish the connection if it is detected that the connection between the terminal and the wireless packet gateway is abnormal according to the address of the wireless packet gateway.
14. A wireless packet gateway, comprising:
an address transmitting unit for transmitting an address of the wireless packet gateway to the terminal;
a detection receiving unit, configured to receive a detection initiated by the terminal according to an address of the wireless packet gateway;
a probe response unit, configured to send a probe response to the terminal, so that the terminal maintains a connection with the wireless packet gateway;
wherein the address transmission unit includes:
a first Request receiving module, configured to receive a Create packet data protocol Context Request Create PDP Context Request message sent by a gprs support node SGSN;
a first Response sending module, configured to send a Create packet data protocol Context Response Create PDP Context Response message to the SGSN, where the Create packet data protocol Context Response includes an address of the wireless packet gateway, so that the SGSN receives an Activate PDP Context Accept message by activating a packet data protocol Context and sends the address of the wireless packet gateway to the terminal;
or,
the address transmission unit includes:
a second Request receiving module, configured to receive a Create Session Request Create Request message sent by a mobility management entity MME;
a second Response sending module, configured to send the address of the wireless packet gateway to the MME through a Create Session Response message, so that the MME sends the address of the wireless packet gateway to the terminal.
15. The wireless packet gateway of claim 14, wherein the wireless packet gateway further comprises:
and the flow control unit is used for carrying out flow control on the detection initiated by the terminal.
16. A system for handling data transmission anomalies, comprising a terminal according to any one of claims 12 to 13 and a wireless packet gateway according to any one of claims 14 to 15.
CN201280000467.5A 2012-03-09 2012-03-09 Method, device and system for processing abnormal data transmission Active CN102742314B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/072128 WO2012126320A2 (en) 2012-03-09 2012-03-09 Method, device and system for processing abnormal data transmission

Publications (2)

Publication Number Publication Date
CN102742314A CN102742314A (en) 2012-10-17
CN102742314B true CN102742314B (en) 2015-01-07

Family

ID=46879779

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201280000467.5A Active CN102742314B (en) 2012-03-09 2012-03-09 Method, device and system for processing abnormal data transmission

Country Status (2)

Country Link
CN (1) CN102742314B (en)
WO (1) WO2012126320A2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108696951B (en) * 2017-02-22 2020-08-25 展讯通信(上海)有限公司 Method for establishing connection, network side equipment and user equipment
US10284419B2 (en) * 2017-06-06 2019-05-07 Mediatek Inc. User equipment and data connection recovery method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101079775A (en) * 2007-06-11 2007-11-28 华为技术有限公司 Method for dividing virtual LAN, data transfer and wireless packet gateway
CN101197817A (en) * 2006-12-05 2008-06-11 华为技术有限公司 Method for updating packet data protocol context

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1838786A (en) * 2005-03-25 2006-09-27 华为技术有限公司 Method for transmitting message
CN101772010B (en) * 2008-12-30 2012-09-05 联芯科技有限公司 Abnormal processing method for terminal and network for packet switching service district refreshment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101197817A (en) * 2006-12-05 2008-06-11 华为技术有限公司 Method for updating packet data protocol context
CN101079775A (en) * 2007-06-11 2007-11-28 华为技术有限公司 Method for dividing virtual LAN, data transfer and wireless packet gateway

Also Published As

Publication number Publication date
WO2012126320A2 (en) 2012-09-27
WO2012126320A3 (en) 2013-02-21
CN102742314A (en) 2012-10-17

Similar Documents

Publication Publication Date Title
US10567216B2 (en) Fault detection method, gateway, user equipment, and communications system
EP2739113B1 (en) Method and device for managing pdn connection
US20220124568A1 (en) Managing mcg fast recovery
EP2952055A1 (en) Handling a radio link failure in communications
KR20090120399A (en) Method of connection re-establishment and related communication device
US20180020456A1 (en) Data Transmission Method, Access Network Device, and Communication System
US9723519B2 (en) Protocol processing method applied when control is decoupled from forwarding, control plane device, and forwarding plane device
US20220304092A1 (en) Fast failure recovery with master node
KR102387582B1 (en) Method and apparatus for managing a pdn connection in a wireless communication system
US20220104301A1 (en) Secondary cell group failure in dual connectivity
US8718636B1 (en) System and method for expedited call retry handling due to voice over 4G call failure
CN102742314B (en) Method, device and system for processing abnormal data transmission
CN107438291A (en) Connection management method, SCEF entities, MME and the UE of a kind of small data transmission
CN105704746A (en) Broadband cluster system fault processing method and device
WO2023167121A1 (en) Communication system
CN104639356A (en) Failure recovery method and device
CN110121215B (en) Data connection establishment method and device of 5G terminal and 5G terminal
CN109246689B (en) Data connection recovery method and user equipment thereof
KR102355096B1 (en) Called Signal Processing Apparatus for Taking Place Obstacle on Mobility Management Entity, Serving Gateway and Called Signal Processing Method
CN105763524A (en) Registration method in IP multimedia subsystem, device and system
US20240196249A1 (en) Managing Quality of Experience Reporting After Recovering From Failure
AU2021269615B2 (en) Integrity Protection Failure Handling Method and Apparatus, and User Equipment
CN108419261B (en) Method, device, terminal and computer medium for processing network communication function abnormity
CN115529626A (en) Data transmission method and device and computer readable storage medium
JP2015115690A (en) Communication system, congestion avoidance method, and gateway

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant