WO2017045455A1 - Data transmission method, packet data network gateway, and serving gateway - Google Patents

Data transmission method, packet data network gateway, and serving gateway Download PDF

Info

Publication number
WO2017045455A1
WO2017045455A1 PCT/CN2016/087479 CN2016087479W WO2017045455A1 WO 2017045455 A1 WO2017045455 A1 WO 2017045455A1 CN 2016087479 W CN2016087479 W CN 2016087479W WO 2017045455 A1 WO2017045455 A1 WO 2017045455A1
Authority
WO
WIPO (PCT)
Prior art keywords
downlink data
pgw
user
packet
sgw
Prior art date
Application number
PCT/CN2016/087479
Other languages
French (fr)
Chinese (zh)
Inventor
吴再达
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2017045455A1 publication Critical patent/WO2017045455A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/24Accounting or billing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/10Flow control between communication endpoints
    • H04W28/14Flow control between communication endpoints using intermediate storage
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like

Definitions

  • This document relates to, but is not limited to, the field of EPC networks of 4G mobile communication systems, and more particularly to a data transmission method, a packet data network gateway and a service gateway.
  • UE User Equipment
  • EPC Evolved Packet Core
  • UE User Equipment
  • EPC Evolved Packet Core
  • MME Mobility Management Entity
  • SGW Serving Gateway
  • the first method is that the UE initiates the data service and restores the S1U tunnel. After the eNodeB reestablishes the S1 connection, the eNodeB notifies the MME to initiate a service request service request process, and the MME sends a modify bearer request. The Modify Bearer Request message is used to restore the S1U link to the SGW.
  • the second method is that the downlink data is sent to the UE on the network side, and the UE is found to be in an idle state.
  • the SGW temporarily buffers the downlink data and sends the downlink data to notify the Downlink Data Notification message to the MME.
  • the MME triggers a paging procedure for the UE, and reestablishes the S1 connection after the paging succeeds.
  • the SGW's caching capability is not strong. It is not guaranteed to cache all the packets. When the SGW is cached, the data packets will be discarded.
  • the embodiment of the present invention provides a data transmission method, a packet data network gateway, and a service gateway, which can prevent the PGW from charging more than the discarded downlink data in the process of triggering the paging of the downlink data in the network side.
  • An embodiment of the present invention provides a data transmission method, where the data transmission method includes:
  • the first message Before initiating paging to the user, transmitting only the first message in the downlink data to the serving gateway SGW, the first message is used for paging to the user, and the first report is sent The text is not billed;
  • the downlink data packet of the buffer unit is sent to the SGW, and the downlink data packet sent to the SGW is charged.
  • the data transmission method further includes:
  • the method further includes: during initiating paging to the user,
  • the downlink data exceeds the buffer unit capability, it is determined that the internal context flag is set, the downlink data exceeding the buffer unit capability is discarded, and the discarded downlink data is not charged.
  • the data transmission method further includes:
  • An embodiment of the present invention further provides a data transmission method, where the data transmission method includes:
  • the data transmission method further includes:
  • the data transmission method further includes:
  • the embodiment of the invention further provides a packet data network gateway, where the packet data network gateway includes:
  • the determining unit is configured to determine an internal user context according to the downlink data sent by the network side, where the downlink data includes at least one packet, and determine that the identifier in the internal user context is set Bits, the downlink data is placed in the cache unit; the flag in the user context is set to indicate that the downlink data that exceeds the buffering capability is discarded when the PGW buffer unit is full;
  • the sending unit is configured to send only the first packet of the downlink data to the serving gateway SGW before initiating paging to the user, where the first packet is used for paging to the user, and The first packet is not charged; after the user is successfully paged, the downlink data packet of the buffer unit is sent to the SGW, and the downlink data packet sent to the SGW is charged;
  • a receiving unit configured to receive the downlink data sent by the network side
  • the buffer unit is configured to store a downlink data message.
  • the receiving unit is further configured to receive a release access bearer request message sent by the SGW, and set a flag in the internal user context;
  • the sending unit is further configured to send a release access bearer response message to the SGW.
  • the determining unit is further configured to: when the downlink data exceeds the buffer unit capability, in the paging process for the user, determine that the internal context flag is set, and the cache is exceeded. The downlink data of the unit capability is discarded, and the downlink data that is discarded is not charged.
  • the receiving unit is further configured to: after the paging of the user is successful, receive a modify bearer request message sent by the SGW, and clear the flag in the internal user context;
  • the sending unit is further configured to send a modify bearer response message to the SGW.
  • the embodiment of the present invention further provides a service gateway, where the service gateway includes: the receiving unit, configured to receive a first packet in the downlink data sent by the packet data network gateway PGW;
  • the determining unit is configured to determine that the serving gateway SGW does not perform data packet buffering, and discards the first packet in the downlink data;
  • the sending unit is configured to send a downlink data notification message to the mobility management entity MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
  • the receiving unit is further configured to receive a release access bearer request message sent by the MME, and receive a release access bearer response message sent by the PGW;
  • the sending unit is further configured to send the release access bearer request message to the PGW, where the release access bearer request message is used by the PGW to determine that the user is in an idle state.
  • the receiving unit is configured to: after the paging of the user is successful, receive a modify bearer request message sent by the MME; receive a modify bearer response message sent by the PGW; and receive the Downstream data;
  • the sending unit is further configured to send the modify bearer response message to the MME, and send the modify bearer request message to the PGW, where the modify bearer request message is used to indicate that the identifier in the internal user context is to be Cleared; the downlink data is sent to the user by the base station.
  • the embodiment of the present invention provides a data transmission method, a packet data network gateway, and a service gateway, and determines an internal user context according to downlink data sent by the network side, where the downlink data includes at least one packet, and determines the internal user context.
  • the flag is set, the downlink data is placed in the buffer unit, and the first message in the downlink data is sent to the serving gateway SGW.
  • the data transmission method, the packet data network gateway and the service gateway provided by the embodiments of the present invention, when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data to notify the SGW to trigger the paging process, and the PGW determines.
  • the flag is set, the downlink data is buffered or discarded, and the discarded downlink data is not charged. This prevents the SGW from notifying the PGW of the discarded downlink data, so that the PGW can charge more for the discarded downlink data.
  • FIG. 1 is a schematic flowchart 1 of a data transmission method according to an embodiment of the present invention.
  • FIG. 2 is a second schematic flowchart of a data transmission method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart 3 of a data transmission method according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart 4 of a data transmission method according to an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart 5 of a data transmission method according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic flowchart 6 of a data transmission method according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a packet data network gateway according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of a service gateway according to an embodiment of the present invention.
  • An embodiment of the present invention provides a data transmission method. As shown in FIG. 1 , the data transmission method may include:
  • Step 101 Determine an internal user context according to downlink data sent by the network side, where the downlink data includes at least one packet.
  • the execution entity of the data transmission method provided by the embodiment of the present invention is a packet data network gateway PGW.
  • the PGW receives downlink data sent by the network side, where the downlink data includes at least one packet, the packet carries an IP address, and the PGW determines an internal user context according to the IP address.
  • the downlink data sent by the network side is sent to the PGW through a single message.
  • the message is a data unit exchanged and transmitted in the network, that is, a data block to be sent by the station at one time.
  • the message contains the complete data information to be sent, the length of which can be inconsistent, the length is not limited and variable.
  • Step 102 Determine that a flag in the internal user context has been set, put the downlink data into a PGW cache unit, and set a flag in the user context to indicate that when the PGW cache unit is full, the pair is exceeded. Downstream data discarding of the cache capability.
  • Step 103 Before initiating paging to the user, send only the first packet in the downlink data to the serving gateway SGW, where the first packet is used for paging to the user, and the foregoing A message is not billed.
  • the PGW sends the first packet of the downlink data to the SGW, but the first packet of the downlink data remains in the PGW buffer unit.
  • the first packet of the downlink data is sent to the SGW for triggering paging to the user; if the downlink data has multiple packets, other than the first packet
  • the message does not need to be sent to the SGW.
  • the PGW stores the downlink data packet in the PGW buffer unit. If the PGW buffer is full, the data packet is discarded. The discarded packet does not participate in the accounting.
  • the SGW when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data to notify the SGW to trigger the paging process, and the PGW determines that the flag has been set, and the downlink data is set. Cache or discard, the dropped downlink data is not charged.
  • the PGW does not buffer the data packet, and the received data packet is forwarded to the SGW, and the forwarded packet is charged. Therefore, the PGW does not know the packet discarded by the SGW, and the packet will be discarded by the SGW. The text is normally counted in the user traffic, resulting in multiple billing situations.
  • the technical solution provided by the embodiment of the present invention buffers the downlink data packet by the PGW, and the PGW can discard the discarded data packet, and the discarded data packet does not participate in the charging, thereby avoiding the situation that the user is charged more.
  • An embodiment of the present invention provides a data transmission method. As shown in FIG. 2, the data transmission method may include:
  • Step 201 Receive a first packet in the downlink data sent by the packet data network gateway (PGW), and the serving gateway SGW does not perform data packet buffering, and discards the first packet in the downlink data.
  • PGW packet data network gateway
  • execution entity of the data transmission method provided by the embodiment of the present invention is an SGW.
  • the SGW receives the first packet in the downlink data sent by the PGW, and discards the first packet in the received downlink data.
  • the downlink data includes at least one packet.
  • Step 202 Send a downlink data notification message to the mobility management entity MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
  • the SGW sends a downlink data notification message to the mobility management entity MME, and the MME sends a paging to the eNodeB, where the eNodeB triggers a paging process for the user, due to wireless (eg, signal instability) or the terminal itself (eg, the user temporarily Located in the shielded area, it may cause a long paging time, and the network side cannot control it at this time.
  • wireless eg, signal instability
  • the terminal itself eg, the user temporarily Located in the shielded area, it may cause a long paging time, and the network side cannot control it at this time.
  • An embodiment of the present invention provides a data transmission method, where the data transmission method may include:
  • the base station eNodeB releases the radio resource, and initiates the S1 connection release process:
  • Step 301 The eNodeB sends an S1 connection release request message to the MME.
  • Step 302 The MME receives the S1 connection release request message sent by the eNodeB, and sends a release access bearer request message to the SGW.
  • Step 303 The SGW sends the release access bearer request message to the PGW, so that the PGW determines that the user is in an idle IDLE state.
  • the SGW receives the release access bearer request message, and indicates that the user is in an idle state, and sends the release access bearer request message to the PGW, and the PGW receives the release access bearer request message, and determines that the user is in the IDLE state.
  • the SGW itself sets a configuration switch, and according to the switch decision, it is required to forward the release access bearer request message to the PGW. For example, when the configuration switch is turned on, the release access bearer request message is sent to the PGW; when the configuration switch is turned off, the release access bearer request message is not sent to the PGW.
  • Step 304 After receiving the release access bearer request message, the PGW sets the flag in an internal user context.
  • the PGW sets the flag in the internal user context for subsequent charging judgment of the discarded downlink data, that is, when the flag in the internal user context is already set, the downlink data exceeding the buffering capability is discarded.
  • Step 305 The PGW sends a release access bearer response message to the SGW.
  • Step 306 The SGW sends the release access bearer response message to the MME.
  • Step 307 The MME sends an S1 connection release command to the eNodeB.
  • Step 308 The eNodeB sends an RRC connection release message to the UE.
  • Step 309 The eNodeB sends an S1 connection release complete message to the MME.
  • the push message or other downlink data sent by the network to the user reaches the PGW, and the PGW determines that the flag has been set, triggering the subsequent process:
  • Step 401 The PGW receives the downlink data sent by the network side, where the downlink data carries an IP address, and the internal user context is determined according to the IP address, where the downlink data includes at least one packet.
  • Step 402 The PGW determines that the flag in the internal context has been set, and places the received downlink data into the cache unit.
  • Step 403 The PGW sends the first packet in the downlink data to the SGW.
  • the first packet in the downlink data is still in the buffer unit, that is, the first packet in the downlink data is not discarded, and the first packet in the downlink data is not performed. Billing.
  • Step 404 The SGW sends a downlink data notification message to the MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
  • the SGW determines that the SGW self-configuration switch is enabled, discards the first packet in the received downlink data, and sends a downlink data notification message to the SGW. MME.
  • Step 405 The SGW receives a downlink data notification response message sent by the MME.
  • Step 406 The MME sends a paging message to the base station eNodeB.
  • the MME sends a paging message to the eNodeB, and the eNodeB triggers paging to the user.
  • the eNodeB triggers paging to the user.
  • wireless for example, signal instability
  • the user terminal itself for example, the user is temporarily located in the shielding area
  • Step 407 The PGW receives the downlink data sent by the network side.
  • the paging user time is uncontrollable, and the downlink data traffic sent by the network to the terminal is not controllable.
  • the PGW receives the downlink data sent by the network side.
  • Step 408 When the PGW receives the downlink data exceeding the buffer unit capability, determining that the internal context flag is set, discarding the downlink data that exceeds the buffer unit capability, and not counting the discarded downlink data. fee.
  • the PGW when the PGW receives the downlink data traffic exceeding the buffer unit capability, the downlink data that exceeds the buffer unit capability according to the existing policy is selected. Discarding; when the PGW discards the downlink data that exceeds the capability of the buffer unit, it is determined that the internal context flag is set, the downlink data that is discarded is not charged, and the discarded downlink data is not sent to SGW.
  • Step 409 After the user successfully clicks, initiate a service request process.
  • Step 410 In the service request process, the MME sends a modify bearer request message to the SGW.
  • Step 411 The SGW determines that the configuration switch is open, and sends the modify bearer request message to the PGW.
  • Step 412 The PGW receives the modify bearer request message sent by the SGW, clears the flag in the internal user context, and sends a modify bearer response message to the SGW.
  • Step 413 The SGW receives the modify bearer response message, and sends the modify bearer response message to the MME.
  • Step 414 The PGW sends the downlink data in the buffer unit to the SGW, and the SGW forwards the message to the UE through the eNodeB.
  • step 412 after the PGW sends the modify bearer response message to the SGW, the PGW immediately sends the downlink data in the buffer unit to the SGW, and the SGW forwards the data to the UE through the eNodeB.
  • Step 415 The UE and the network side start a normal data service interaction process.
  • the SGW when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data to notify the SGW to trigger the paging process, and the PGW determines that the flag has been set, and the downlink data is set. Cache or discard, the discarded downlink data is not charged, and the SGW is not able to notify the PGW of the discarded downlink data, so that the PGW charges more for the discarded downlink data.
  • the data transmission method may include:
  • Step 501 The UE initiates attaching, and the MME, the SGW, and the PGW are given according to the process of the related technology.
  • the UE allocates an IP address and establishes a GPRS Tunneling Protocol (GTP).
  • GTP GPRS Tunneling Protocol
  • the UE initiates an attach to the base station eNodeB, and the eNodeB sends an attach request message to the MME, where the MME receives the attach request message, sends a create session request message to the SGW, and the SGW sends the create session request message to The PGW, the PGW receives the create session request message, and sends a create session response message to the SGW, and the SGW sends the create session response message to the MME, and the MME sends an attach accept message to the eNodeB.
  • Step 502 The base station eNodeB detects that the user is in an idle state, releases the wireless air interface resource, and releases the S1 connection, and the MME sends a release access bearer request Release Access Bearer Request message to the SGW.
  • Step 503 After receiving the Release Access Bearer Request message, the SGW marks the user in an idle state, and sends the Release Access Bearer Request message to the PGW according to the context information saved by the SGW.
  • the SGW itself sets a configuration switch, and according to the switch decision, it is required to forward the release access bearer request message to the PGW. For example, when the configuration switch is turned on, the release access bearer request message is sent to the PGW; when the configuration switch is turned off, the release access bearer request message is not sent to the PGW.
  • Step 504 After receiving the Release Access Bearer Request message, the PGW sets the flag in the internal user context.
  • the PGW sets the flag in the internal user context for the subsequent charging judgment of the user to the discarded downlink data, that is, when the flag in the internal user context is already set, the downlink data exceeding the buffering capability is discarded.
  • Step 505 The PGW receives the downlink data sent by the network side, determines that the identifier in the internal user context is set, and sends the first packet in the downlink data to the SGW.
  • the downlink data includes at least one packet.
  • the PGW caches the downlink data packet sent by the subsequent network side. After the received downlink data exceeds the buffering capability, the PGW discards the downlink data that exceeds the capability of the buffer unit. Because the internal context flag is set, the discard is discarded. The downlink data is not charged.
  • Step 506 The SGW receives the first message in the downlink data sent by the PGW.
  • the downlink data paging process is triggered according to the related art process, and the downlink data is sent to notify the Downlink Data Notification message to the MME.
  • the SGW caches only the first packet because the other packets of the downlink data are buffered or discarded by the PGW, and the buffering capability is not exceeded regardless of the paging time.
  • Step 507 The MME pages the user successfully, and sends a modify bearer request Modify Bearer Request message to the SGW.
  • the SGW determines that the user exits the idle state, sends the Modify Bearer Request message to the PGW, and forwards the first packet. Give the UE.
  • Step 508 After receiving the Modify Bearer Request message, the PGW clears the flag in the internal user context, and sends the downlink data in the buffer unit and the downlink data sent by the network side to the SGW, and the SGW forwards the message to the SGW through the eNodeB.
  • the UE, the UE, and the network side start a normal data service interaction process.
  • the SGW when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data to notify the SGW to trigger the paging process, and the PGW determines that the flag has been set, and the downlink data is set. Cache or discard, the discarded downlink data is not charged, and the SGW is not able to notify the PGW of the discarded downlink data, so that the PGW charges more for the discarded downlink data.
  • the embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
  • the embodiment of the present invention provides a packet data network gateway.
  • the packet data network gateway includes: a determining unit 10, a sending unit 11, a receiving unit 12, and a buffer unit 13, wherein
  • the determining unit 10 is configured to determine an internal user context according to downlink data sent by the network side, where the downlink data includes at least one packet, determine that a flag in the internal user context has been set, and put the downlink data into a cache unit, wherein the flag in the user context is set to indicate that downlink data that exceeds the buffering capability is discarded when the PGW buffer unit is full;
  • the sending unit 11 is configured to send only the first packet in the downlink data to the serving gateway SGW before initiating paging to the user, where the first packet is used for paging to the user. And the billing is not performed on the first packet; after the user is successfully paged, the downlink data packet of the buffer unit is sent to the SGW, and the downlink data packet sent to the SGW is charged;
  • the receiving unit 12 is configured to receive downlink data sent by the network side;
  • the buffer unit 13 is configured to store a downlink data packet.
  • the receiving unit 12 is further configured to receive a release access bearer request message sent by the SGW, and set a flag in the internal user context;
  • the sending unit 11 is further configured to send a release access bearer response message to the SGW.
  • the determining unit 10 is further configured to: when receiving the downlink data beyond the cache unit capability in the paging process for the user, determining that the internal context flag is set, and the buffer unit capability is exceeded. The downlink data is discarded, and the downlink data that is discarded is not charged.
  • the receiving unit 12 is further configured to: after the paging of the user is successful, receive a modify bearer request message sent by the SGW, and clear the flag in the internal user context;
  • the sending unit 11 is further configured to send a modify bearer response message to the SGW.
  • the determining unit 10, the transmitting unit 11, and the receiving unit 12 may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field located on a packet data network gateway.
  • CPU central processing unit
  • MPU microprocessor
  • DSP digital signal processor
  • FPGA programmable gate array
  • the SGW when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data notification SGW to trigger the paging process, and the PGW determination flag is set,
  • the downlink data is buffered or discarded, and the discarded downlink data is not charged. This prevents the SGW from notifying the PGW of the discarded downlink data, so that the PGW can charge more for the discarded downlink data.
  • the embodiment of the present invention provides a service gateway.
  • the service gateway includes: a receiving unit 20, a determining unit 21, and a sending unit 22;
  • the receiving unit 20 is configured to receive a first one of the downlink data sent by the packet data network gateway PGW;
  • the determining unit 21 is configured to: determine that the serving gateway SGW does not perform data packet buffering, and discards the first packet in the downlink data;
  • the sending unit 22 is configured to send a downlink data notification message to the mobility management entity MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
  • the receiving unit 20 is further configured to receive a release access bearer request message sent by the MME, and receive a release access bearer response message sent by the PGW;
  • the sending unit 22 is further configured to send the release access bearer request message to the PGW, where the release access bearer request message is used by the PGW to determine that the user is in an idle state.
  • the receiving unit 20 is further configured to: after the paging of the user succeeds, receive a modify bearer request message sent by the MME; receive a modify bearer response message sent by the PGW; and receive the PGW sending The downlink data;
  • the sending unit 22 is further configured to send the modify bearer response message to the MME, and send the modify bearer request message to the PGW, where the modify bearer request message is used to indicate that the internal user context is to be The flag is cleared; the downlink data is sent to the user by the base station.
  • the receiving unit 20, the determining unit 21, and the transmitting unit 22 may be implemented by a CPU, an MPU, a DSP, an FPGA, or the like located on the serving gateway.
  • the SGW when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data to notify the SGW to trigger the paging process, and the PGW determines that the flag has been set, and the downlink data is buffered.
  • the discarded downlink data is not used for charging, and the SGW is prevented from notifying the PGW of the discarded downlink data, so that the PGW charges more for the discarded downlink data.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • the foregoing technical solution can prevent the PGW from charging more than the discarded downlink data in the downlink data triggering paging process on the network side.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A data transmission method, a packet data network gateway, and a serving gateway. The method comprises: determining internal user context according to downlink data sent by a network side, the downlink data comprising at least one packet; determining that a flag in the internal user context has been set, and storing the downlink data into a buffer unit, the flag in the user context being set to instruct to discard downlink data exceeding a buffering capacity when the buffer unit of a packet data network gateway (PGW) is full; before paging for a user is initiated, sending only the first packet in the downlink data to a serving gateway (SGW), the first packet being used for paging the user, and the first packet being not charged; and after the paging for the user succeeds, sending a downlink data packet in the buffer unit to the SGW, the downlink data packet sent to the SGW being charged.

Description

一种数据传输方法、分组数据网网关和服务网关Data transmission method, packet data network gateway and service gateway 技术领域Technical field
本文涉及但不限于4G移动通讯系统的EPC网络领域,尤其涉及一种数据传输方法、分组数据网网关和服务网关。This document relates to, but is not limited to, the field of EPC networks of 4G mobile communication systems, and more particularly to a data transmission method, a packet data network gateway and a service gateway.
背景技术Background technique
4G核心网络(EPC,Evolved Packet Core)中用户(UE,User Equipment)一般都是永久在线的,但是,用户并不是每时每刻都在进行数据业务。由于,无线频谱资源是有限的,为了保证无线资源得到有效利用,在用户空闲时,演进型基站(eNodeB,Evolved NodeB)就会通知移动管理实体(MME,Mobility Management Entity)释放S1连接,MME发送释放接入承载请求Release Access Bearer Request消息给服务网关(SGW,Serving Gateway),用户进入空闲态。Users (UE, User Equipment) in the 4G core network (EPC, Evolved Packet Core) are generally permanently online, but the user does not perform data services all the time. The radio spectrum resource is limited. In order to ensure that the radio resource is used effectively, the evolved base station (eNodeB, Evolved NodeB) notifies the Mobility Management Entity (MME) to release the S1 connection, and the MME sends the MME. Release the access bearer request Release Access Bearer Request message to the Serving Gateway (SGW, Serving Gateway), and the user enters the idle state.
UE进入空闲态后,用户是无法进行数据业务的。此时有两种方法可以退出空闲态,恢复连接态;第一种方法是UE主动发起数据业务,恢复S1U隧道,eNodeB重建S1连接后,通知MME发起业务请求Service Request流程,MME发送修改承载请求Modify Bearer Request消息给SGW恢复S1U链路;第二种方法是网络侧有下行数据要发给UE,发现UE处于空闲态,由SGW暂时缓存下行数据,同时发送下行数据通知Downlink Data Notification消息给MME,MME触发对UE的寻呼流程,寻呼成功后重建S1连接。然而,由于用户数量和网络能力的限制,SGW的缓存能力并不强,不能保证缓存所有报文,当超出SGW的缓存能力后就会出现丢弃数据报文的情况。After the UE enters the idle state, the user cannot perform data services. At this time, there are two ways to exit the idle state and restore the connection state. The first method is that the UE initiates the data service and restores the S1U tunnel. After the eNodeB reestablishes the S1 connection, the eNodeB notifies the MME to initiate a service request service request process, and the MME sends a modify bearer request. The Modify Bearer Request message is used to restore the S1U link to the SGW. The second method is that the downlink data is sent to the UE on the network side, and the UE is found to be in an idle state. The SGW temporarily buffers the downlink data and sends the downlink data to notify the Downlink Data Notification message to the MME. The MME triggers a paging procedure for the UE, and reestablishes the S1 connection after the paging succeeds. However, due to the limitation of the number of users and the network capacity, the SGW's caching capability is not strong. It is not guaranteed to cache all the packets. When the SGW is cached, the data packets will be discarded.
在4G网络下,随着智能手机的发展,各种应用越来越多,经常会发送各种各样的推送消息给UE,因而会经常触发下行数据寻呼流程。如果网络侧寻呼时间较长,而下行数据流量又比较大,超出SGW的缓存能力,SGW就会丢弃报文。在EPC的计费模式下,话单流量主要是靠PGW计费,这些被SGW丢弃的报文分组数据网网关(PGW,PDN GateWay)并不知道,将会被正常统计到用户流量中,从而造成多计费。 Under the 4G network, with the development of smart phones, various applications are more and more, and various push messages are often sent to the UE, which often triggers the downlink data paging process. If the paging time on the network side is long and the downlink data traffic is large, the SGW will discard the packet if it exceeds the buffering capability of the SGW. In the EPC charging mode, the bill traffic is mainly charged by the PGW. The packet data network gateway (PGW, PDN GateWay) discarded by the SGW is not known and will be normally counted in the user traffic. Causes multiple billing.
发明内容Summary of the invention
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。The following is an overview of the topics detailed in this document. This Summary is not intended to limit the scope of the claims.
本发明实施例提供一种数据传输方法、分组数据网网关和服务网关能够避免在网络侧下行数据触发寻呼流程中,PGW对丢弃的下行数据多计费。The embodiment of the present invention provides a data transmission method, a packet data network gateway, and a service gateway, which can prevent the PGW from charging more than the discarded downlink data in the process of triggering the paging of the downlink data in the network side.
本发明实施例的技术方案是这样实现的:The technical solution of the embodiment of the present invention is implemented as follows:
本发明实施例提供一种数据传输方法,所述数据传输方法,包括:An embodiment of the present invention provides a data transmission method, where the data transmission method includes:
根据网络侧发送的下行数据确定内部用户上下文,所述下行数据包括至少一个报文;Determining an internal user context according to downlink data sent by the network side, where the downlink data includes at least one packet;
确定所述内部用户上下文中的标记已经置位,将所述下行数据放入缓存单元,所述用户上下文中的标记置位用于表示当所述PGW缓存单元满时,对超出缓存能力的下行数据丢弃;Determining that the flag in the internal user context has been set, placing the downlink data into a cache unit, and the flag in the user context is set to indicate that when the PGW cache unit is full, the downlink is beyond the buffering capability. Data discarding;
在发起对用户的寻呼前,仅发送所述下行数据中的第一个报文至服务网关SGW,所述第一个报文用于对用户的寻呼,且对所述第一个报文不进行计费;Before initiating paging to the user, transmitting only the first message in the downlink data to the serving gateway SGW, the first message is used for paging to the user, and the first report is sent The text is not billed;
对用户寻呼成功后,将缓存单元的下行数据报文发送至SGW,对该发送给SGW的下行数据报文计费。After the user is successfully paged, the downlink data packet of the buffer unit is sent to the SGW, and the downlink data packet sent to the SGW is charged.
可选地,当用户空闲时,所述数据传输方法,还包括:Optionally, when the user is idle, the data transmission method further includes:
接收所述SGW发送的释放接入承载请求消息,在所述内部用户上下文中将标记置位;Receiving a release access bearer request message sent by the SGW, setting a flag in the internal user context;
发送释放接入承载响应消息至所述SGW。Sending an release access bearer response message to the SGW.
可选地,还包括:在发起对所述用户的寻呼过程中,Optionally, the method further includes: during initiating paging to the user,
接收网络侧发送的所述下行数据;Receiving the downlink data sent by the network side;
当接收到所述下行数据超出缓存单元能力时,确定所述内部上下文中标记已经置位,将超出缓存单元能力的所述下行数据丢弃,对丢弃的所述下行数据不进行计费。 When the downlink data exceeds the buffer unit capability, it is determined that the internal context flag is set, the downlink data exceeding the buffer unit capability is discarded, and the discarded downlink data is not charged.
可选地,当所述用户寻呼成功后,所述数据传输方法,还包括:Optionally, after the user is successfully paged, the data transmission method further includes:
接收所述SGW发送的修改承载请求消息,将所述内部用户上下文中的标记清零;Receiving a modify bearer request message sent by the SGW, and clearing a flag in the internal user context;
发送修改承载响应消息至所述SGW。Sending a modify bearer response message to the SGW.
本发明实施例还提供一种数据传输方法,所述数据传输方法,包括:An embodiment of the present invention further provides a data transmission method, where the data transmission method includes:
接收分组数据网网关PGW发送的下行数据中的第一个报文,确定服务网关SGW不进行数据报文缓存,将所述下行数据中的第一个报文丢弃;Receiving the first packet in the downlink data sent by the packet data network gateway PGW, determining that the serving gateway SGW does not perform data packet buffering, and discarding the first packet in the downlink data;
发送下行数据通知消息至移动管理实体MME,所述下行数据通知消息用于指示向用户发起寻呼。Sending a downlink data notification message to the mobility management entity MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
可选地,当用户空闲时,所述数据传输方法,还包括:Optionally, when the user is idle, the data transmission method further includes:
接收所述MME发送的释放接入承载请求消息;Receiving a release access bearer request message sent by the MME;
发送所述释放接入承载请求消息至所述PGW,所述释放接入承载请求消息用于所述PGW确定所述用户处于空闲态;And sending the release access bearer request message to the PGW, where the release access bearer request message is used by the PGW to determine that the user is in an idle state;
接收所述PGW发送的释放接入承载响应消息。Receiving a release access bearer response message sent by the PGW.
可选地,当所述用户寻呼成功后,所述数据传输方法,还包括:Optionally, after the user is successfully paged, the data transmission method further includes:
接收所述MME发送的修改承载请求消息;Receiving a modify bearer request message sent by the MME;
发送所述修改承载请求消息至所述PGW,所述修改承载请求消息用于指示将所述内部用户上下文中的标记清零;And sending the modify bearer request message to the PGW, where the modify bearer request message is used to indicate that the flag in the internal user context is cleared;
接收所述PGW发送的修改承载响应消息;Receiving a modified bearer response message sent by the PGW;
发送所述修改承载响应消息至所述MME;Sending the modify bearer response message to the MME;
接收所述PGW发送的所述下行数据,并通过基站将所述下行数据发送至所述用户。Receiving the downlink data sent by the PGW, and sending the downlink data to the user by using a base station.
本发明实施例还提供一种分组数据网网关,所述分组数据网网关包括:The embodiment of the invention further provides a packet data network gateway, where the packet data network gateway includes:
所述确定单元,设置为根据网络侧发送的下行数据确定内部用户上下文,所述下行数据包括至少一个报文;确定所述内部用户上下文中的标记已经置 位,将所述下行数据放入缓存单元;所述用户上下文中的标记置位用于表示当所述PGW缓存单元容量满时,对超出缓存能力的下行数据丢弃;The determining unit is configured to determine an internal user context according to the downlink data sent by the network side, where the downlink data includes at least one packet, and determine that the identifier in the internal user context is set Bits, the downlink data is placed in the cache unit; the flag in the user context is set to indicate that the downlink data that exceeds the buffering capability is discarded when the PGW buffer unit is full;
所述发送单元,设置为在发起对用户的寻呼前,仅发送所述下行数据中的第一个报文至服务网关SGW,所述第一个报文用于对用户的寻呼,且对所述第一个报文不进行计费;对用户寻呼成功后,将缓存单元的下行数据报文发送至SGW,对该发送给SGW的下行数据报文计费;The sending unit is configured to send only the first packet of the downlink data to the serving gateway SGW before initiating paging to the user, where the first packet is used for paging to the user, and The first packet is not charged; after the user is successfully paged, the downlink data packet of the buffer unit is sent to the SGW, and the downlink data packet sent to the SGW is charged;
接收单元,设置为接收网络侧发送的所述下行数据;a receiving unit, configured to receive the downlink data sent by the network side;
所述缓存单元,设置为存储下行数据报文。The buffer unit is configured to store a downlink data message.
可选地,Optionally,
所述接收单元,还设置为接收所述SGW发送的释放接入承载请求消息,在所述内部用户上下文中将标记置位;The receiving unit is further configured to receive a release access bearer request message sent by the SGW, and set a flag in the internal user context;
所述发送单元,还设置为发送释放接入承载响应消息至所述SGW。The sending unit is further configured to send a release access bearer response message to the SGW.
可选地,所述确定单元,还设置为在对所述用户的寻呼过程中,当接收到所述下行数据超出缓存单元能力时,确定所述内部上下文中标记已经置位,将超出缓存单元能力的所述下行数据丢弃,对丢弃的所述下行数据不进行计费。Optionally, the determining unit is further configured to: when the downlink data exceeds the buffer unit capability, in the paging process for the user, determine that the internal context flag is set, and the cache is exceeded. The downlink data of the unit capability is discarded, and the downlink data that is discarded is not charged.
可选地,所述接收单元,还设置为当对所述用户寻呼成功后,接收所述SGW发送的修改承载请求消息,将所述内部用户上下文中的标记清零;Optionally, the receiving unit is further configured to: after the paging of the user is successful, receive a modify bearer request message sent by the SGW, and clear the flag in the internal user context;
所述发送单元,还设置为发送修改承载响应消息至所述SGW。The sending unit is further configured to send a modify bearer response message to the SGW.
本发明实施例还提供一种服务网关,所述服务网关包括:所述接收单元,设置为接收分组数据网网关PGW发送的下行数据中的第一个报文;The embodiment of the present invention further provides a service gateway, where the service gateway includes: the receiving unit, configured to receive a first packet in the downlink data sent by the packet data network gateway PGW;
所述确定单元,设置为确定服务网关SGW不进行数据报文缓存,将所述下行数据中的第一个报文丢弃;The determining unit is configured to determine that the serving gateway SGW does not perform data packet buffering, and discards the first packet in the downlink data;
所述发送单元,设置为发送下行数据通知消息至移动管理实体MME,所述下行数据通知消息用于指示向用户发起寻呼。The sending unit is configured to send a downlink data notification message to the mobility management entity MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
可选地,所述接收单元,还设置为接收所述MME发送的释放接入承载请求消息;接收所述PGW发送的释放接入承载响应消息; Optionally, the receiving unit is further configured to receive a release access bearer request message sent by the MME, and receive a release access bearer response message sent by the PGW;
所述发送单元,还设置为发送所述释放接入承载请求消息至所述PGW,所述释放接入承载请求消息用于所述PGW确定所述用户处于空闲态。The sending unit is further configured to send the release access bearer request message to the PGW, where the release access bearer request message is used by the PGW to determine that the user is in an idle state.
可选地,所述接收单元,设置为对所述用户寻呼成功后,接收所述MME发送的修改承载请求消息;接收所述PGW发送的修改承载响应消息;接收所述PGW发送的所述下行数据;Optionally, the receiving unit is configured to: after the paging of the user is successful, receive a modify bearer request message sent by the MME; receive a modify bearer response message sent by the PGW; and receive the Downstream data;
所述发送单元,还设置为发送所述修改承载响应消息至所述MME;发送所述修改承载请求消息至所述PGW,所述修改承载请求消息用于指示将所述内部用户上下文中的标记清零;通过基站将所述下行数据发送至所述用户。The sending unit is further configured to send the modify bearer response message to the MME, and send the modify bearer request message to the PGW, where the modify bearer request message is used to indicate that the identifier in the internal user context is to be Cleared; the downlink data is sent to the user by the base station.
本发明实施例提供了一种数据传输方法、分组数据网网关和服务网关,根据网络侧发送的下行数据确定内部用户上下文,所述下行数据包括至少一个报文;确定所述内部用户上下文中的标记已经置位,将所述下行数据放入缓存单元;发送所述下行数据中的第一个报文至服务网关SGW。本发明实施例提供的数据传输方法、分组数据网网关和服务网关,当用户进入空闲态,由SGW通知PGW,PGW设置标记置位,后续PGW接收到下行数据通知SGW触发寻呼流程,PGW确定标记已经置位,将下行数据缓存或丢弃,丢弃的下行数据不进行计费,避免了SGW将丢弃的下行数据无法通知PGW,使得PGW对丢弃的下行数据多计费的问题。The embodiment of the present invention provides a data transmission method, a packet data network gateway, and a service gateway, and determines an internal user context according to downlink data sent by the network side, where the downlink data includes at least one packet, and determines the internal user context. The flag is set, the downlink data is placed in the buffer unit, and the first message in the downlink data is sent to the serving gateway SGW. The data transmission method, the packet data network gateway and the service gateway provided by the embodiments of the present invention, when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data to notify the SGW to trigger the paging process, and the PGW determines. The flag is set, the downlink data is buffered or discarded, and the discarded downlink data is not charged. This prevents the SGW from notifying the PGW of the discarded downlink data, so that the PGW can charge more for the discarded downlink data.
在阅读并理解了附图和详细描述后,可以明白其他方面。Other aspects will be apparent upon reading and understanding the drawings and detailed description.
附图概述BRIEF abstract
图1为本发明实施例提供的数据传输方法流程示意图一;1 is a schematic flowchart 1 of a data transmission method according to an embodiment of the present invention;
图2为本发明实施例提供的数据传输方法流程示意图二;2 is a second schematic flowchart of a data transmission method according to an embodiment of the present invention;
图3为本发明实施例提供的数据传输方法流程示意图三;3 is a schematic flowchart 3 of a data transmission method according to an embodiment of the present invention;
图4为本发明实施例提供的数据传输方法流程示意图四;4 is a schematic flowchart 4 of a data transmission method according to an embodiment of the present invention;
图5为本发明实施例提供的数据传输方法流程示意图五;FIG. 5 is a schematic flowchart 5 of a data transmission method according to an embodiment of the present disclosure;
图6为本发明实施例提供的数据传输方法流程示意图六; 6 is a schematic flowchart 6 of a data transmission method according to an embodiment of the present invention;
图7为本发明实施例提供的分组数据网网关结构示意图;FIG. 7 is a schematic structural diagram of a packet data network gateway according to an embodiment of the present disclosure;
图8为本发明实施例提供的服务网关结构示意图。FIG. 8 is a schematic structural diagram of a service gateway according to an embodiment of the present invention.
本发明的实施方式Embodiments of the invention
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings.
实施例一Embodiment 1
本发明实施例提供一种数据传输方法,如图1所示,所述数据传输方法可以包括:An embodiment of the present invention provides a data transmission method. As shown in FIG. 1 , the data transmission method may include:
步骤101、根据网络侧发送的下行数据确定内部用户上下文,所述下行数据包括至少一个报文。Step 101: Determine an internal user context according to downlink data sent by the network side, where the downlink data includes at least one packet.
需要说明的是,本发明实施例提供的数据传输方法的执行主体为分组数据网网关PGW。It should be noted that the execution entity of the data transmission method provided by the embodiment of the present invention is a packet data network gateway PGW.
PGW接收网络侧发送的下行数据,所述下行数据包括至少一个报文,所述报文携带IP地址,PGW根据所述IP地址确定内部用户上下文。网络侧发送的下行数据是通过一个个报文发送给PGW。The PGW receives downlink data sent by the network side, where the downlink data includes at least one packet, the packet carries an IP address, and the PGW determines an internal user context according to the IP address. The downlink data sent by the network side is sent to the PGW through a single message.
其中,报文(message)是网络中交换与传输的数据单元,即站点一次性要发送的数据块。报文包含了将要发送的完整的数据信息,其长短可以不一致,长度不限且可变。The message is a data unit exchanged and transmitted in the network, that is, a data block to be sent by the station at one time. The message contains the complete data information to be sent, the length of which can be inconsistent, the length is not limited and variable.
步骤102、确定所述内部用户上下文中的标记已经置位,将所述下行数据放入PGW缓存单元,所述用户上下文中的标记置位用于表示当所述PGW缓存单元满时,对超出缓存能力的下行数据丢弃。Step 102: Determine that a flag in the internal user context has been set, put the downlink data into a PGW cache unit, and set a flag in the user context to indicate that when the PGW cache unit is full, the pair is exceeded. Downstream data discarding of the cache capability.
步骤103、在发起对用户的寻呼前,仅发送所述下行数据中的第一个报文至服务网关SGW,所述第一个报文用于对用户的寻呼,且对所述第一个报文不进行计费。Step 103: Before initiating paging to the user, send only the first packet in the downlink data to the serving gateway SGW, where the first packet is used for paging to the user, and the foregoing A message is not billed.
PGW发送所述下行数据中的第一个报文至SGW,但是在PGW缓存单元中仍保留下行数据的第一个报文。所述下行数据的第一个报文发送至SGW,用于触发对用户的寻呼;如果下行数据有多个报文,除第一个报文外的其他 报文不需要发送至SGW。PGW将下行数据报文存储在PGW缓存单元,如果PGW缓存区满,对溢出的数据报文进行丢弃,丢弃的报文不参与计费。The PGW sends the first packet of the downlink data to the SGW, but the first packet of the downlink data remains in the PGW buffer unit. The first packet of the downlink data is sent to the SGW for triggering paging to the user; if the downlink data has multiple packets, other than the first packet The message does not need to be sent to the SGW. The PGW stores the downlink data packet in the PGW buffer unit. If the PGW buffer is full, the data packet is discarded. The discarded packet does not participate in the accounting.
本发明实施例提供的数据传输方法,当用户进入空闲态,由SGW通知PGW,PGW设置标记置位,后续PGW接收到下行数据通知SGW触发寻呼流程,PGW确定标记已经置位,将下行数据缓存或丢弃,丢弃的下行数据不进行计费。In the data transmission method provided by the embodiment of the present invention, when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data to notify the SGW to trigger the paging process, and the PGW determines that the flag has been set, and the downlink data is set. Cache or discard, the dropped downlink data is not charged.
S104,对用户寻呼成功后,将缓存单元的下行数据报文发送至SGW,对该发送给SGW的下行数据报文计费。S104: After the user is successfully paged, the downlink data packet of the buffer unit is sent to the SGW, and the downlink data packet sent to the SGW is charged.
相关技术中,PGW不缓存数据报文,将接收的数据报文转发给SGW,对转发的报文进行计费,这样就可能出现PGW不知道被SGW丢弃的报文,将被SGW丢弃的报文正常统计到用户流量中,从而造成多计费的情况。本发明实施例给出的技术方案由PGW缓存下行数据报文,PGW可以感知丢弃的数据报文,丢弃的数据报文不参与计费,进而可避免对用户多计费的情况发生。In the related art, the PGW does not buffer the data packet, and the received data packet is forwarded to the SGW, and the forwarded packet is charged. Therefore, the PGW does not know the packet discarded by the SGW, and the packet will be discarded by the SGW. The text is normally counted in the user traffic, resulting in multiple billing situations. The technical solution provided by the embodiment of the present invention buffers the downlink data packet by the PGW, and the PGW can discard the discarded data packet, and the discarded data packet does not participate in the charging, thereby avoiding the situation that the user is charged more.
实施例二Embodiment 2
本发明实施例提供一种数据传输方法,如图2所示,所述数据传输方法可以包括:An embodiment of the present invention provides a data transmission method. As shown in FIG. 2, the data transmission method may include:
步骤201、接收分组数据网网关PGW发送的下行数据中的第一个报文,服务网关SGW不进行数据报文缓存,将所述下行数据中的第一个报文丢弃。Step 201: Receive a first packet in the downlink data sent by the packet data network gateway (PGW), and the serving gateway SGW does not perform data packet buffering, and discards the first packet in the downlink data.
需要说明的是,本发明实施例提供的数据传输方法的执行主体为SGW。It should be noted that the execution entity of the data transmission method provided by the embodiment of the present invention is an SGW.
SGW接收PGW发送的下行数据中的第一个报文,将接收的所述下行数据中的第一个报文丢弃。其中,所述下行数据包括至少一个报文。The SGW receives the first packet in the downlink data sent by the PGW, and discards the first packet in the received downlink data. The downlink data includes at least one packet.
步骤202、发送下行数据通知消息至移动管理实体MME,所述下行数据通知消息用于指示向用户发起寻呼。Step 202: Send a downlink data notification message to the mobility management entity MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
可选的,SGW发送下行数据通知消息至移动管理实体MME,MME发送寻呼至eNodeB,eNodeB触发对用户的寻呼过程,由于无线(例如,信号不稳定)或终端自身原因(例如,用户暂时位于屏蔽区域),可能导致寻呼时间较长,此时间网络侧无法进行控制。 Optionally, the SGW sends a downlink data notification message to the mobility management entity MME, and the MME sends a paging to the eNodeB, where the eNodeB triggers a paging process for the user, due to wireless (eg, signal instability) or the terminal itself (eg, the user temporarily Located in the shielded area, it may cause a long paging time, and the network side cannot control it at this time.
实施例三Embodiment 3
本发明实施例提供一种数据传输方法,所述数据传输方法可以包括:An embodiment of the present invention provides a data transmission method, where the data transmission method may include:
如图3所示,当UE附着到EPC网络后,一段时间内不进行数据业务,即用户空闲时,基站eNodeB释放无线资源,发起S1连接释放流程:As shown in FIG. 3, after the UE is attached to the EPC network, the data service is not performed for a period of time, that is, when the user is idle, the base station eNodeB releases the radio resource, and initiates the S1 connection release process:
步骤301、eNodeB发送S1连接释放请求消息至MME。Step 301: The eNodeB sends an S1 connection release request message to the MME.
步骤302、MME接收到eNodeB发送的S1连接释放请求消息,发送释放接入承载请求消息至SGW。Step 302: The MME receives the S1 connection release request message sent by the eNodeB, and sends a release access bearer request message to the SGW.
步骤303、SGW发送所述释放接入承载请求消息至PGW,以使得PGW确定用户处于空闲IDLE态。Step 303: The SGW sends the release access bearer request message to the PGW, so that the PGW determines that the user is in an idle IDLE state.
可选的,SGW接收释放接入承载请求消息,标记用户处于空闲态,发送所述释放接入承载请求消息至PGW,PGW接收所述释放接入承载请求消息,确定用户处于IDLE态。其中,SGW本身设置配置开关,根据开关决策是否需要转发所述释放接入承载请求消息给PGW。例如,当配置开关打开时,发送所述释放接入承载请求消息给PGW;当配置开关关闭时,不发送所述释放接入承载请求消息给PGW。Optionally, the SGW receives the release access bearer request message, and indicates that the user is in an idle state, and sends the release access bearer request message to the PGW, and the PGW receives the release access bearer request message, and determines that the user is in the IDLE state. The SGW itself sets a configuration switch, and according to the switch decision, it is required to forward the release access bearer request message to the PGW. For example, when the configuration switch is turned on, the release access bearer request message is sent to the PGW; when the configuration switch is turned off, the release access bearer request message is not sent to the PGW.
步骤304、PGW接收到所述释放接入承载请求消息后,在内部用户上下文中将标记置位。Step 304: After receiving the release access bearer request message, the PGW sets the flag in an internal user context.
其中,PGW在内部用户上下文中将标记置位用于后续对丢弃的下行数据的计费判断,即当内部用户上下文中标记已经置位时,对超出缓存能力的下行数据丢弃。The PGW sets the flag in the internal user context for subsequent charging judgment of the discarded downlink data, that is, when the flag in the internal user context is already set, the downlink data exceeding the buffering capability is discarded.
步骤305、PGW发送释放接入承载响应消息至所述SGW。Step 305: The PGW sends a release access bearer response message to the SGW.
步骤306、SGW发送所述释放接入承载响应消息至MME。Step 306: The SGW sends the release access bearer response message to the MME.
步骤307、MME发送S1连接释放命令至eNodeB。Step 307: The MME sends an S1 connection release command to the eNodeB.
步骤308、eNodeB发送RRC连接释放消息至UE。Step 308: The eNodeB sends an RRC connection release message to the UE.
步骤309、eNodeB发送S1连接释放完成消息至MME。Step 309: The eNodeB sends an S1 connection release complete message to the MME.
如图4所示,当用户进入空闲态后,网络侧发给用户的推送消息或其它下行数据到达PGW,PGW确定标记已经置位,触发后续流程: As shown in FIG. 4, after the user enters the idle state, the push message or other downlink data sent by the network to the user reaches the PGW, and the PGW determines that the flag has been set, triggering the subsequent process:
步骤401、PGW接收到网络侧发送的下行数据,所述下行数据携带IP地址,根据所述IP地址确定内部用户上下文,所述下行数据包括至少一个报文。Step 401: The PGW receives the downlink data sent by the network side, where the downlink data carries an IP address, and the internal user context is determined according to the IP address, where the downlink data includes at least one packet.
步骤402、PGW确定所述内部上下文中的标记已经置位,将接收到的所述下行数据放入缓存单元中。Step 402: The PGW determines that the flag in the internal context has been set, and places the received downlink data into the cache unit.
步骤403、PGW发送所述下行数据中的第一个报文至SGW。Step 403: The PGW sends the first packet in the downlink data to the SGW.
其中,所述下行数据中的第一个报文仍然保留在缓存单元中,即不丢弃所述下行数据中的第一个报文,也对所述下行数据中的第一个报文不进行计费。The first packet in the downlink data is still in the buffer unit, that is, the first packet in the downlink data is not discarded, and the first packet in the downlink data is not performed. Billing.
步骤404、SGW发送下行数据通知消息至MME,所述下行数据通知消息用于指示向用户发起寻呼。Step 404: The SGW sends a downlink data notification message to the MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
可选的,SGW接收PGW发送的下行数据中的第一个报文后,确定SGW自身配置开关打开,将接收的所述下行数据中的第一个报文丢弃,并发送下行数据通知消息至MME。Optionally, after receiving the first packet in the downlink data sent by the PGW, the SGW determines that the SGW self-configuration switch is enabled, discards the first packet in the received downlink data, and sends a downlink data notification message to the SGW. MME.
步骤405、SGW接收MME发送的下行数据通知响应消息。Step 405: The SGW receives a downlink data notification response message sent by the MME.
步骤406、MME发送寻呼消息至基站eNodeB。Step 406: The MME sends a paging message to the base station eNodeB.
可选的,MME发送寻呼消息至eNodeB,eNodeB触发对用户的寻呼,在寻呼过程中,由于无线(例如,信号不稳定)或用户终端自身原因(例如,用户暂时位于屏蔽区域),可能导致寻呼时间较长,此时间网络侧无法进行控制。Optionally, the MME sends a paging message to the eNodeB, and the eNodeB triggers paging to the user. In the paging process, due to wireless (for example, signal instability) or the user terminal itself (for example, the user is temporarily located in the shielding area), This may result in a long paging time, which cannot be controlled on the network side.
步骤407、PGW接收网络侧发送的所述下行数据。Step 407: The PGW receives the downlink data sent by the network side.
可选的,寻呼用户时间不可控,网络侧发给终端的下行数据流量也不可控,在网络侧发起对所述用户的寻呼过程中,PGW接收网络侧发送的所述下行数据。Optionally, the paging user time is uncontrollable, and the downlink data traffic sent by the network to the terminal is not controllable. In the process of initiating paging to the user by the network side, the PGW receives the downlink data sent by the network side.
步骤408、当PGW接收到所述下行数据超出缓存单元能力时,确定所述内部上下文中标记已经置位,将超出缓存单元能力的所述下行数据丢弃,对丢弃的所述下行数据不进行计费。Step 408: When the PGW receives the downlink data exceeding the buffer unit capability, determining that the internal context flag is set, discarding the downlink data that exceeds the buffer unit capability, and not counting the discarded downlink data. fee.
可选的,在网络侧发起对所述用户的寻呼过程中,PGW接收下行数据流量超出缓存单元能力时,根据已有策略将超出缓存单元能力的所述下行数据 丢弃;PGW将超出缓存单元能力的所述下行数据丢弃时,确定所述内部上下文中标记已经置位,对丢弃的所述下行数据不进行计费,丢弃的所述下行数据也不会发送给SGW。Optionally, in the process of initiating a paging to the user on the network side, when the PGW receives the downlink data traffic exceeding the buffer unit capability, the downlink data that exceeds the buffer unit capability according to the existing policy is selected. Discarding; when the PGW discards the downlink data that exceeds the capability of the buffer unit, it is determined that the internal context flag is set, the downlink data that is discarded is not charged, and the discarded downlink data is not sent to SGW.
步骤409、用户寻呼成功后,发起业务请求流程。Step 409: After the user successfully clicks, initiate a service request process.
步骤410、在所述业务请求流程中,MME发送修改承载请求消息至SGW。Step 410: In the service request process, the MME sends a modify bearer request message to the SGW.
步骤411、SGW确定自身配置开关打开,发送所述修改承载请求消息至PGW。Step 411: The SGW determines that the configuration switch is open, and sends the modify bearer request message to the PGW.
步骤412、PGW接收SGW发送的所述修改承载请求消息,将内部用户上下文中的标记清零,发送修改承载响应消息至SGW。Step 412: The PGW receives the modify bearer request message sent by the SGW, clears the flag in the internal user context, and sends a modify bearer response message to the SGW.
步骤413、SGW接收修改承载响应消息,并发送所述修改承载响应消息至MME。Step 413: The SGW receives the modify bearer response message, and sends the modify bearer response message to the MME.
步骤414、PGW发送缓存单元中的所述下行数据至SGW,SGW通过eNodeB转发给UE。Step 414: The PGW sends the downlink data in the buffer unit to the SGW, and the SGW forwards the message to the UE through the eNodeB.
可选的,在步骤412中,PGW发送修改承载响应消息至SGW之后,PGW立刻将缓存单元中的下行数据发送至SGW,SGW通过eNodeB转发给UE。Optionally, in step 412, after the PGW sends the modify bearer response message to the SGW, the PGW immediately sends the downlink data in the buffer unit to the SGW, and the SGW forwards the data to the UE through the eNodeB.
步骤415、UE和网络侧开始正常的数据业务交互流程。Step 415: The UE and the network side start a normal data service interaction process.
本发明实施例提供的数据传输方法,当用户进入空闲态,由SGW通知PGW,PGW设置标记置位,后续PGW接收到下行数据通知SGW触发寻呼流程,PGW确定标记已经置位,将下行数据缓存或丢弃,丢弃的下行数据不进行计费,避免了SGW将丢弃的下行数据无法通知PGW,使得PGW对丢弃的下行数据多计费的问题。In the data transmission method provided by the embodiment of the present invention, when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data to notify the SGW to trigger the paging process, and the PGW determines that the flag has been set, and the downlink data is set. Cache or discard, the discarded downlink data is not charged, and the SGW is not able to notify the PGW of the discarded downlink data, so that the PGW charges more for the discarded downlink data.
实施例四Embodiment 4
本发明实施例提供的数据传输方法可以适用于如下场景:The data transmission method provided by the embodiment of the present invention can be applied to the following scenarios:
当用户处于空闲态,由于网络侧下行数据触发寻呼流程,寻呼时间过长,在网络侧寻呼过程中,下行数据的流量可能会超出网络侧缓存能力,从而出现丢弃下行数据的场景,如图5所示,所述数据传输方法可以包括:When the user is in the idle state, the paging process is triggered by the downlink data on the network side, and the paging time is too long. In the paging process of the network side, the traffic of the downlink data may exceed the buffering capability of the network side, and the scenario of discarding the downlink data occurs. As shown in FIG. 5, the data transmission method may include:
步骤501、UE发起附着,MME、SGW、PGW根据相关技术的流程给所 述UE分配IP地址,并建立GPRS隧道协议(GTP,GPRS Tunnelling Protocol)。Step 501: The UE initiates attaching, and the MME, the SGW, and the PGW are given according to the process of the related technology. The UE allocates an IP address and establishes a GPRS Tunneling Protocol (GTP).
可选的,如图6所示,UE向基站eNodeB发起附着,eNodeB发送附着请求消息至MME,MME接收所述附着请求消息,发送创建会话请求消息至SGW,SGW发送所述创建会话请求消息至PGW,PGW接收所述创建会话请求消息,并发送创建会话响应消息至SGW,SGW发送所述创建会话响应消息至MME,MME发送附着接受消息至eNodeB。Optionally, as shown in FIG. 6, the UE initiates an attach to the base station eNodeB, and the eNodeB sends an attach request message to the MME, where the MME receives the attach request message, sends a create session request message to the SGW, and the SGW sends the create session request message to The PGW, the PGW receives the create session request message, and sends a create session response message to the SGW, and the SGW sends the create session response message to the MME, and the MME sends an attach accept message to the eNodeB.
步骤502、基站eNodeB检测用户处于空闲态时,释放无线空口资源,同时释放S1连接,MME发送释放接入承载请求Release Access Bearer Request消息给SGW。Step 502: The base station eNodeB detects that the user is in an idle state, releases the wireless air interface resource, and releases the S1 connection, and the MME sends a release access bearer request Release Access Bearer Request message to the SGW.
步骤503、SGW接收到所述Release Access Bearer Request消息后,标记所述用户处于空闲态,同时根据自身保存的上下文信息,将所述Release Access Bearer Request消息发送至PGW。Step 503: After receiving the Release Access Bearer Request message, the SGW marks the user in an idle state, and sends the Release Access Bearer Request message to the PGW according to the context information saved by the SGW.
其中,SGW本身设置配置开关,根据开关决策是否需要转发所述释放接入承载请求消息给PGW。例如,当配置开关打开时,发送所述释放接入承载请求消息给PGW;当配置开关关闭时,不发送所述释放接入承载请求消息给PGW。The SGW itself sets a configuration switch, and according to the switch decision, it is required to forward the release access bearer request message to the PGW. For example, when the configuration switch is turned on, the release access bearer request message is sent to the PGW; when the configuration switch is turned off, the release access bearer request message is not sent to the PGW.
步骤504、PGW接收到所述Release Access Bearer Request消息后,在内部用户上下文中将标记置位。Step 504: After receiving the Release Access Bearer Request message, the PGW sets the flag in the internal user context.
其中,PGW在内部用户上下文中将标记置位用于对用户后续对丢弃的下行数据的计费判断,即当内部用户上下文中标记已经置位时,对超出缓存能力的下行数据丢弃。The PGW sets the flag in the internal user context for the subsequent charging judgment of the user to the discarded downlink data, that is, when the flag in the internal user context is already set, the downlink data exceeding the buffering capability is discarded.
步骤505、PGW接收到网络侧发送的下行数据,确定所述内部用户上下文中标记已经置位,发送所述下行数据中的第一个报文至SGW。Step 505: The PGW receives the downlink data sent by the network side, determines that the identifier in the internal user context is set, and sends the first packet in the downlink data to the SGW.
可选的,所述下行数据包括至少一个报文。PGW对于后续网络侧发送的下行数据报文进行缓存,当接收的所述下行数据超出缓存能力后,将超出缓存单元能力的所述下行数据丢弃,由于所述内部上下文中标记已经置位,丢弃的所述下行数据不进行计费。Optionally, the downlink data includes at least one packet. The PGW caches the downlink data packet sent by the subsequent network side. After the received downlink data exceeds the buffering capability, the PGW discards the downlink data that exceeds the capability of the buffer unit. Because the internal context flag is set, the discard is discarded. The downlink data is not charged.
步骤506、SGW接收到所述PGW发送所述下行数据中的第一个报文, 根据相关技术的流程触发下行数据寻呼流程,发送下行数据通知Downlink Data Notification消息至MME。Step 506: The SGW receives the first message in the downlink data sent by the PGW. The downlink data paging process is triggered according to the related art process, and the downlink data is sent to notify the Downlink Data Notification message to the MME.
可选的,由于所述下行数据中除第一个下行报文的其它报文被PGW缓存或丢弃,SGW只缓存第一个报文,无论寻呼时间多长,都不会超出缓存能力。Optionally, the SGW caches only the first packet because the other packets of the downlink data are buffered or discarded by the PGW, and the buffering capability is not exceeded regardless of the paging time.
步骤507、MME寻呼用户成功,发送修改承载请求Modify Bearer Request消息至SGW,SGW确定所述用户是退出空闲态,发送所述Modify Bearer Request消息至PGW,同时将所述第一个报文转发给UE。Step 507: The MME pages the user successfully, and sends a modify bearer request Modify Bearer Request message to the SGW. The SGW determines that the user exits the idle state, sends the Modify Bearer Request message to the PGW, and forwards the first packet. Give the UE.
步骤508、PGW接收所述Modify Bearer Request消息后,将内部用户上下文中的标记清除,同时将缓存单元中的下行数据以及后续收到的网络侧发送的下行数据发送至SGW,SGW通过eNodeB转发给UE,UE和网络侧开始正常的数据业务交互流程。Step 508: After receiving the Modify Bearer Request message, the PGW clears the flag in the internal user context, and sends the downlink data in the buffer unit and the downlink data sent by the network side to the SGW, and the SGW forwards the message to the SGW through the eNodeB. The UE, the UE, and the network side start a normal data service interaction process.
本发明实施例提供的数据传输方法,当用户进入空闲态,由SGW通知PGW,PGW设置标记置位,后续PGW接收到下行数据通知SGW触发寻呼流程,PGW确定标记已经置位,将下行数据缓存或丢弃,丢弃的下行数据不进行计费,避免了SGW将丢弃的下行数据无法通知PGW,使得PGW对丢弃的下行数据多计费的问题。In the data transmission method provided by the embodiment of the present invention, when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data to notify the SGW to trigger the paging process, and the PGW determines that the flag has been set, and the downlink data is set. Cache or discard, the discarded downlink data is not charged, and the SGW is not able to notify the PGW of the discarded downlink data, so that the PGW charges more for the discarded downlink data.
本发明实施例还提供了一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述方法。The embodiment of the invention further provides a computer storage medium, wherein the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the above method.
实施例五Embodiment 5
本发明实施例提供一种分组数据网网关,如图7所示,所述分组数据网网关包括:确定单元10、发送单元11、接收单元12、缓存单元13、其中,The embodiment of the present invention provides a packet data network gateway. As shown in FIG. 7, the packet data network gateway includes: a determining unit 10, a sending unit 11, a receiving unit 12, and a buffer unit 13, wherein
所述确定单元10,设置为根据网络侧发送的下行数据确定内部用户上下文,所述下行数据包括至少一个报文;确定所述内部用户上下文中的标记已经置位,将所述下行数据放入缓存单元,所述用户上下文中的标记置位用于表示当所述PGW缓存单元容量满时,对超出缓存能力的下行数据丢弃; The determining unit 10 is configured to determine an internal user context according to downlink data sent by the network side, where the downlink data includes at least one packet, determine that a flag in the internal user context has been set, and put the downlink data into a cache unit, wherein the flag in the user context is set to indicate that downlink data that exceeds the buffering capability is discarded when the PGW buffer unit is full;
所述发送单元11,设置为在发起对用户的寻呼前,仅发送所述下行数据中的第一个报文至服务网关SGW,所述第一个报文用于对用户的寻呼,且对所述第一个报文不进行计费;对用户寻呼成功后,将缓存单元的下行数据报文发送至SGW,对该发送给SGW的下行数据报文计费;The sending unit 11 is configured to send only the first packet in the downlink data to the serving gateway SGW before initiating paging to the user, where the first packet is used for paging to the user. And the billing is not performed on the first packet; after the user is successfully paged, the downlink data packet of the buffer unit is sent to the SGW, and the downlink data packet sent to the SGW is charged;
所述接收单元12,设置为接收网络侧发送的下行数据;The receiving unit 12 is configured to receive downlink data sent by the network side;
所述缓存单元13,设置为存储下行数据报文。The buffer unit 13 is configured to store a downlink data packet.
所述接收单元12,还设置为接收所述SGW发送的释放接入承载请求消息,在所述内部用户上下文中将标记置位;The receiving unit 12 is further configured to receive a release access bearer request message sent by the SGW, and set a flag in the internal user context;
所述发送单元11,还设置为发送释放接入承载响应消息至所述SGW。The sending unit 11 is further configured to send a release access bearer response message to the SGW.
所述确定单元10,还设置为在对所述用户的寻呼过程中,当接收到所述下行数据超出缓存单元能力时,确定所述内部上下文中标记已经置位,将超出缓存单元能力的所述下行数据丢弃,对丢弃的所述下行数据不进行计费。The determining unit 10 is further configured to: when receiving the downlink data beyond the cache unit capability in the paging process for the user, determining that the internal context flag is set, and the buffer unit capability is exceeded. The downlink data is discarded, and the downlink data that is discarded is not charged.
可选地,所述接收单元12,还设置为当对所述用户寻呼成功后,接收所述SGW发送的修改承载请求消息,将所述内部用户上下文中的标记清零;Optionally, the receiving unit 12 is further configured to: after the paging of the user is successful, receive a modify bearer request message sent by the SGW, and clear the flag in the internal user context;
所述发送单元11,还设置为发送修改承载响应消息至所述SGW。The sending unit 11 is further configured to send a modify bearer response message to the SGW.
在实际应用中,所述确定单元10、发送单元11以及接收单元12可由位于分组数据网网关上的中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)、或现场可编程门阵列(FPGA)等实现。In practical applications, the determining unit 10, the transmitting unit 11, and the receiving unit 12 may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field located on a packet data network gateway. Implementation of a programmable gate array (FPGA).
可选的,本发明实施例提供的分组数据网网关的理解可以参考实施例一至实施例四的数据传输方法的说明,本实施例在此不再赘述。For an understanding of the packet data network gateway provided by the embodiment of the present invention, reference may be made to the description of the data transmission method in the first embodiment to the fourth embodiment, and details are not described herein again.
本发明实施例提供的分组数据网网关,当用户进入空闲态,由SGW通知PGW,PGW设置标记置位,后续PGW接收到下行数据通知SGW触发寻呼流程中,PGW确定标记已经置位,将下行数据缓存或丢弃,丢弃的下行数据不进行计费,避免了SGW将丢弃的下行数据无法通知PGW,使得PGW对丢弃的下行数据多计费的问题。In the packet data network gateway provided by the embodiment of the present invention, when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data notification SGW to trigger the paging process, and the PGW determination flag is set, The downlink data is buffered or discarded, and the discarded downlink data is not charged. This prevents the SGW from notifying the PGW of the discarded downlink data, so that the PGW can charge more for the discarded downlink data.
实施例六 Embodiment 6
本发明实施例提供一种服务网关,如图8所示,所述服务网关包括:接收单元20、确定单元21、发送单元22;其中,The embodiment of the present invention provides a service gateway. As shown in FIG. 8, the service gateway includes: a receiving unit 20, a determining unit 21, and a sending unit 22;
所述接收单元20,设置为接收分组数据网网关PGW发送的下行数据中的第一个报文;The receiving unit 20 is configured to receive a first one of the downlink data sent by the packet data network gateway PGW;
所述确定单元21,设置为确定服务网关SGW不进行数据报文缓存将所述下行数据中的第一个报文丢弃;The determining unit 21 is configured to: determine that the serving gateway SGW does not perform data packet buffering, and discards the first packet in the downlink data;
所述发送单元22,设置为发送下行数据通知消息至移动管理实体MME,所述下行数据通知消息用于指示向用户发起寻呼。The sending unit 22 is configured to send a downlink data notification message to the mobility management entity MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
可选地,所述接收单元20,还设置为接收所述MME发送的释放接入承载请求消息;接收所述PGW发送的释放接入承载响应消息;Optionally, the receiving unit 20 is further configured to receive a release access bearer request message sent by the MME, and receive a release access bearer response message sent by the PGW;
所述发送单元22,还设置为发送所述释放接入承载请求消息至所述PGW,所述释放接入承载请求消息用于所述PGW确定所述用户处于空闲态。The sending unit 22 is further configured to send the release access bearer request message to the PGW, where the release access bearer request message is used by the PGW to determine that the user is in an idle state.
可选地,所述接收单元20,还设置为当对所述用户寻呼成功后,接收所述MME发送的修改承载请求消息;接收所述PGW发送的修改承载响应消息;接收所述PGW发送的所述下行数据;Optionally, the receiving unit 20 is further configured to: after the paging of the user succeeds, receive a modify bearer request message sent by the MME; receive a modify bearer response message sent by the PGW; and receive the PGW sending The downlink data;
所述发送单元22,还设置为发送所述修改承载响应消息至所述MME;发送所述修改承载请求消息至所述PGW,所述修改承载请求消息用于指示将所述内部用户上下文中的标记清零;通过基站将所述下行数据发送至所述用户。The sending unit 22 is further configured to send the modify bearer response message to the MME, and send the modify bearer request message to the PGW, where the modify bearer request message is used to indicate that the internal user context is to be The flag is cleared; the downlink data is sent to the user by the base station.
在实际应用中,所述接收单元20、确定单元21以及发送单元22可由位于服务网关上的CPU、MPU、DSP、或FPGA等实现。In practical applications, the receiving unit 20, the determining unit 21, and the transmitting unit 22 may be implemented by a CPU, an MPU, a DSP, an FPGA, or the like located on the serving gateway.
可选的,本发明实施例提供的服务网关的理解可以参考实施例一至实施例四的数据传输方法的说明,本实施例在此不再赘述。For an understanding of the service gateway provided by the embodiment of the present invention, reference may be made to the description of the data transmission method in the first embodiment to the fourth embodiment, and details are not described herein again.
本发明实施例提供的服务网关,当用户进入空闲态,由SGW通知PGW,PGW设置标记置位,后续PGW接收到下行数据通知SGW触发寻呼流程,PGW确定标记已经置位,将下行数据缓存或丢弃,丢弃的下行数据不进行计费,避免了SGW将丢弃的下行数据无法通知PGW,使得PGW对丢弃的下行数据多计费的问题。 In the service gateway provided by the embodiment of the present invention, when the user enters the idle state, the SGW notifies the PGW, the PGW setting flag is set, and the subsequent PGW receives the downlink data to notify the SGW to trigger the paging process, and the PGW determines that the flag has been set, and the downlink data is buffered. The discarded downlink data is not used for charging, and the SGW is prevented from notifying the PGW of the discarded downlink data, so that the PGW charges more for the discarded downlink data.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. The instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,均应涵盖在本发明的权利要求范围当中。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention. It should be understood by those skilled in the art that the present invention may be modified or equivalently substituted without departing from the spirit and scope of the invention.
工业实用性Industrial applicability
上述技术方案可避免在网络侧下行数据触发寻呼流程中,PGW对丢弃的下行数据多计费。 The foregoing technical solution can prevent the PGW from charging more than the discarded downlink data in the downlink data triggering paging process on the network side.

Claims (14)

  1. 一种数据传输方法,包括:A data transmission method includes:
    根据网络侧发送的下行数据确定内部用户上下文,所述下行数据包括至少一个报文;Determining an internal user context according to downlink data sent by the network side, where the downlink data includes at least one packet;
    确定所述内部用户上下文中的标记已经置位,将所述下行数据放入缓存单元,所述用户上下文中的标记置位用于表示当缓存单元满时,对超出缓存能力的下行数据丢弃;Determining that the flag in the internal user context has been set, placing the downlink data into a cache unit, and the flag in the user context is set to indicate that the downlink data that exceeds the buffering capability is discarded when the cache unit is full;
    在发起对用户的寻呼前,仅发送所述下行数据中的第一个报文至服务网关SGW,所述第一个报文用于对用户的寻呼,且对所述第一个报文不进行计费;Before initiating paging to the user, transmitting only the first message in the downlink data to the serving gateway SGW, the first message is used for paging to the user, and the first report is sent The text is not billed;
    对用户寻呼成功后,将缓存单元的下行数据发送至SGW,对该发送给SGW的下行数据计费。After the user is successfully paged, the downlink data of the buffer unit is sent to the SGW, and the downlink data sent to the SGW is charged.
  2. 根据权利要求1所述的数据传输方法,还包括:The data transmission method according to claim 1, further comprising:
    当用户空闲时,接收所述SGW发送的释放接入承载请求消息,在所述内部用户上下文中将标记置位;Receiving a release access bearer request message sent by the SGW when the user is idle, setting a flag in the internal user context;
    发送释放接入承载响应消息至所述SGW。Sending an release access bearer response message to the SGW.
  3. 根据权利要求1或2所述的数据传输方法,还包括:The data transmission method according to claim 1 or 2, further comprising:
    在发起对所述用户的寻呼过程中,接收网络侧发送的所述下行数据;Receiving, by the network side, the downlink data sent by the network side;
    当接收到所述下行数据超出缓存单元能力时,确定所述内部上下文中标记已经置位,将超出缓存单元能力的所述下行数据丢弃,对丢弃的所述下行数据不进行计费。When the downlink data exceeds the buffer unit capability, it is determined that the internal context flag is set, the downlink data exceeding the buffer unit capability is discarded, and the discarded downlink data is not charged.
  4. 根据权利要求3所述的数据传输方法,还包括:The data transmission method according to claim 3, further comprising:
    当所述用户寻呼成功后,接收所述SGW发送的修改承载请求消息,将所述内部用户上下文中的标记清零;After the paging of the user is successful, receiving a modify bearer request message sent by the SGW, and clearing the flag in the internal user context;
    发送修改承载响应消息至所述SGW。Sending a modify bearer response message to the SGW.
  5. 一种数据传输方法,包括:A data transmission method includes:
    接收分组数据网网关PGW发送的下行数据中的第一个报文,确定服务 网关SGW不进行数据报文缓存,将所述下行数据中的第一个报文丢弃;Receiving the first packet in the downlink data sent by the packet data network gateway PGW to determine the service The gateway SGW does not perform data packet buffering, and discards the first packet in the downlink data.
    发送下行数据通知消息至移动管理实体MME,所述下行数据通知消息用于指示向用户发起寻呼。Sending a downlink data notification message to the mobility management entity MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
  6. 根据权利要求5所述的数据传输方法,还包括:The data transmission method according to claim 5, further comprising:
    当用户空闲时,接收所述MME发送的释放接入承载请求消息;Receiving a release access bearer request message sent by the MME when the user is idle;
    发送所述释放接入承载请求消息至所述PGW,所述释放接入承载请求消息用于所述PGW确定所述用户处于空闲态;And sending the release access bearer request message to the PGW, where the release access bearer request message is used by the PGW to determine that the user is in an idle state;
    接收所述PGW发送的释放接入承载响应消息。Receiving a release access bearer response message sent by the PGW.
  7. 根据权利要求5或6所述的数据传输方法,还包括:The data transmission method according to claim 5 or 6, further comprising:
    当所述用户寻呼成功后接收所述MME发送的修改承载请求消息;Receiving a modify bearer request message sent by the MME after the user successfully paging;
    发送所述修改承载请求消息至所述PGW,所述修改承载请求消息用于指示将所述内部用户上下文中的标记清零;And sending the modify bearer request message to the PGW, where the modify bearer request message is used to indicate that the flag in the internal user context is cleared;
    接收所述PGW发送的修改承载响应消息;Receiving a modified bearer response message sent by the PGW;
    发送所述修改承载响应消息至所述MME;Sending the modify bearer response message to the MME;
    接收所述PGW发送的所述下行数据,并通过基站将所述下行数据发送至所述用户。Receiving the downlink data sent by the PGW, and sending the downlink data to the user by using a base station.
  8. 一种分组数据网网关PGW,所述分组数据网网关包括:A packet data network gateway PGW, the packet data network gateway includes:
    确定单元,设置为根据网络侧发送的下行数据确定内部用户上下文,所述下行数据包括至少一个报文;确定所述内部用户上下文中的标记已经置位,将所述下行数据放入缓存单元;所述用户上下文中的标记置位用于表示当所述PGW缓存单元容量满时,对超出缓存能力的下行数据丢弃;a determining unit, configured to determine an internal user context according to downlink data sent by the network side, where the downlink data includes at least one packet; determining that a flag in the internal user context has been set, and placing the downlink data into a cache unit; The flag in the user context is set to indicate that downlink data that exceeds the buffering capability is discarded when the PGW buffer unit is full;
    发送单元,设置为在发起对用户的寻呼前,仅发送所述下行数据中的第一个报文至服务网关SGW,所述第一个报文用于对用户的寻呼,且对所述第一个报文不进行计费;对用户寻呼成功后,将缓存单元的下行数据发送至SGW,对该发送给SGW的下行数据计费;The sending unit is configured to send only the first one of the downlink data to the serving gateway SGW before initiating the paging to the user, where the first packet is used for paging the user, and The first packet is not charged; after the user is successfully paged, the downlink data of the buffer unit is sent to the SGW, and the downlink data sent to the SGW is charged;
    接收单元,设置为接收网络侧发送的所述下行数据;a receiving unit, configured to receive the downlink data sent by the network side;
    所述缓存单元,设置为存储下行数据。 The cache unit is configured to store downlink data.
  9. 根据权利要求8所述的分组数据网网关,The packet data network gateway of claim 8
    所述接收单元,还设置为接收所述SGW发送的释放接入承载请求消息,在所述内部用户上下文中将标记置位;The receiving unit is further configured to receive a release access bearer request message sent by the SGW, and set a flag in the internal user context;
    所述发送单元,还设置为发送释放接入承载响应消息至所述SGW。The sending unit is further configured to send a release access bearer response message to the SGW.
  10. 根据权利要求8或9所述的分组数据网网关,A packet data network gateway according to claim 8 or 9,
    所述确定单元,还设置为在对所述用户的寻呼过程中,当接收到所述下行数据超出缓存单元能力时,确定所述内部上下文中标记已经置位,将超出缓存单元能力的所述下行数据丢弃,对丢弃的所述下行数据不进行计费。The determining unit is further configured to: when receiving the downlink data beyond the buffer unit capability in the paging process for the user, determining that the internal context flag is set, and the capability of the cache unit is exceeded The downlink data is discarded, and the discarded downlink data is not charged.
  11. 根据权利要求10所述的分组数据网网关,The packet data network gateway according to claim 10,
    所述接收单元,还设置为当对所述用户寻呼成功后,接收所述SGW发送的修改承载请求消息,将所述内部用户上下文中的标记清零;The receiving unit is further configured to: after the paging of the user is successful, receive a modify bearer request message sent by the SGW, and clear the flag in the internal user context;
    所述发送单元,还设置为发送修改承载响应消息至所述SGW。The sending unit is further configured to send a modify bearer response message to the SGW.
  12. 一种服务网关,所述服务网关包括:A service gateway, the service gateway includes:
    接收单元,设置为接收分组数据网网关PGW发送的下行数据中的第一个报文;a receiving unit, configured to receive a first packet in the downlink data sent by the packet data network gateway PGW;
    确定单元,设置为确定服务网关SGW不进行数据报文缓存,将所述下行数据中的第一个报文丢弃;a determining unit, configured to determine that the serving gateway SGW does not perform data packet buffering, and discards the first packet in the downlink data;
    发送单元,设置为发送下行数据通知消息至移动管理实体MME,所述下行数据通知消息用于指示向用户发起寻呼。The sending unit is configured to send a downlink data notification message to the mobility management entity MME, where the downlink data notification message is used to indicate that paging is initiated to the user.
  13. 根据权利要求12所述的服务网关,The service gateway according to claim 12,
    所述接收单元,还设置为接收所述MME发送的释放接入承载请求消息;接收所述PGW发送的释放接入承载响应消息;The receiving unit is further configured to receive a release access bearer request message sent by the MME, and receive a release access bearer response message sent by the PGW;
    所述发送单元,还设置为发送所述释放接入承载请求消息至所述PGW,所述释放接入承载请求消息用于所述PGW确定所述用户处于空闲态。The sending unit is further configured to send the release access bearer request message to the PGW, where the release access bearer request message is used by the PGW to determine that the user is in an idle state.
  14. 根据权利要求12或13所述的服务网关,A service gateway according to claim 12 or 13,
    所述接收单元,还设置为当对所述用户寻呼成功后,接收所述MME发送的修改承载请求消息;接收所述PGW发送的修改承载响应消息;接收所 述PGW发送的所述下行数据;The receiving unit is further configured to: after the paging of the user is successful, receive a modify bearer request message sent by the MME; receive a modify bearer response message sent by the PGW; Describe the downlink data sent by the PGW;
    所述发送单元,还设置为发送所述修改承载响应消息至所述MME;发送所述修改承载请求消息至所述PGW,所述修改承载请求消息用于指示将所述已置位的内部用户上下文中的标记清零,所述用户上下文中的标记置位用于表示当PGW缓存单元容量满时,对其超出缓存能力的下行数据丢弃;通过基站将所述下行数据发送至所述用户。 The sending unit is further configured to send the modify bearer response message to the MME, and send the modify bearer request message to the PGW, where the modify bearer request message is used to indicate that the set internal user is to be set The flag in the context is cleared, and the flag in the user context is set to indicate that the downlink data is discarded for the buffering capability when the PGW buffer unit is full; the downlink data is sent to the user by the base station.
PCT/CN2016/087479 2015-09-16 2016-06-28 Data transmission method, packet data network gateway, and serving gateway WO2017045455A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510591545.9 2015-09-16
CN201510591545.9A CN106550406B (en) 2015-09-16 2015-09-16 Data transmission method, packet data network gateway and service gateway

Publications (1)

Publication Number Publication Date
WO2017045455A1 true WO2017045455A1 (en) 2017-03-23

Family

ID=58288000

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/087479 WO2017045455A1 (en) 2015-09-16 2016-06-28 Data transmission method, packet data network gateway, and serving gateway

Country Status (2)

Country Link
CN (1) CN106550406B (en)
WO (1) WO2017045455A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945429A (en) * 2009-07-08 2011-01-12 华为技术有限公司 Method, device and system for data routing of mobile network user interface
CN103718579A (en) * 2013-06-20 2014-04-09 华为技术有限公司 Charge processing method, device and system
CN104125607A (en) * 2013-04-23 2014-10-29 中兴通讯股份有限公司 User plane congestion processing method and device, and service gateway
CN104885409A (en) * 2012-10-29 2015-09-02 瑞典爱立信有限公司 Packet data network gateway suspension for accurate charging in an evolved packet system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103687055B (en) * 2012-09-25 2019-02-26 中兴通讯股份有限公司 A kind of method and apparatus of carrying distribution and management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101945429A (en) * 2009-07-08 2011-01-12 华为技术有限公司 Method, device and system for data routing of mobile network user interface
CN104885409A (en) * 2012-10-29 2015-09-02 瑞典爱立信有限公司 Packet data network gateway suspension for accurate charging in an evolved packet system
CN104125607A (en) * 2013-04-23 2014-10-29 中兴通讯股份有限公司 User plane congestion processing method and device, and service gateway
CN103718579A (en) * 2013-06-20 2014-04-09 华为技术有限公司 Charge processing method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
3GPP.: "3GPP TS 23.401 V13.3.0", GENERAL PACKET RADIO SERVICE (GPRS) ENHANCEMENTS FOR EVOLVED UNIVERSAL TERRESTRIAL RADIO ACCESS NETWORK (E-UTRAN) ACCESS3GPP TS 23.401 V13.3.0 (2015-06), 30 June 2015 (2015-06-30), XP055368514 *

Also Published As

Publication number Publication date
CN106550406B (en) 2021-07-30
CN106550406A (en) 2017-03-29

Similar Documents

Publication Publication Date Title
EP3576443B1 (en) Communication method and device
US11184817B2 (en) Support of mobile-terminated communication in an evolved packet system
JP5986310B2 (en) Method for processing information, forwarding plane device and control plane device
EP3280167B1 (en) Method and device for controlling set-up of user side bearer
WO2017063427A1 (en) Communication method and apparatus, and terminal
EP2385720B1 (en) Overload control in a packet mobile communication system
US20220294791A1 (en) Methods and nodes for handling overload
EP2480022B1 (en) Bearer processing method and mobile management device
WO2014173225A1 (en) User plane congestion handling method, device and serving gateway
KR101182744B1 (en) Mobile communication method, mobile management node and packet exchanger
US20180124741A1 (en) Paging method and apparatus
WO2015018074A1 (en) Methods and apparatus
US10616119B2 (en) Policy determining method and apparatus
US20170048833A1 (en) Method for transmitting downlink data, mobility management network element, access network device, and serving gateway
EP3379780B1 (en) Methods and apparatuses for transmitting control message in software defined network-based mobile communication system
WO2014101227A1 (en) System, method and device for providing application service
WO2017028637A1 (en) Gateway recovery processing method and device
WO2017101076A1 (en) Method and apparatus for transmitting downlink data notification message
CN102014452B (en) Method and system for implementing mobility of local IP (Internet Protocol) access connection
WO2013037271A1 (en) Multi-access method and system
WO2017045455A1 (en) Data transmission method, packet data network gateway, and serving gateway
CN102387606A (en) Method and system capable of realizing bearer processing
WO2014029284A1 (en) Method and device for congestion control
US20240048398A1 (en) Method and apparatus for charging management
WO2018036449A1 (en) Method and apparatus for forwarding data

Legal Events

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

Ref document number: 16845569

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16845569

Country of ref document: EP

Kind code of ref document: A1