WO2014205732A1 - 流量控制方法及设备 - Google Patents

流量控制方法及设备 Download PDF

Info

Publication number
WO2014205732A1
WO2014205732A1 PCT/CN2013/078151 CN2013078151W WO2014205732A1 WO 2014205732 A1 WO2014205732 A1 WO 2014205732A1 CN 2013078151 W CN2013078151 W CN 2013078151W WO 2014205732 A1 WO2014205732 A1 WO 2014205732A1
Authority
WO
WIPO (PCT)
Prior art keywords
address
user
value
data message
network server
Prior art date
Application number
PCT/CN2013/078151
Other languages
English (en)
French (fr)
Inventor
王旭
林青春
胡玉胜
杜颖
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to KR1020167001291A priority Critical patent/KR101870390B1/ko
Priority to PCT/CN2013/078151 priority patent/WO2014205732A1/zh
Priority to JP2016522165A priority patent/JP6145833B2/ja
Priority to CN201610512230.5A priority patent/CN106411724B/zh
Priority to CN201380000692.3A priority patent/CN103650438B/zh
Priority to EP13887875.6A priority patent/EP3002917B1/en
Publication of WO2014205732A1 publication Critical patent/WO2014205732A1/zh
Priority to US14/998,258 priority patent/US9923823B2/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/64Hybrid switching systems
    • H04L12/6418Hybrid transport
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/50Address allocation
    • H04L61/5007Internet protocol [IP] addresses

Definitions

  • the present invention relates to communication technologies, and in particular, to a flow control method and device. Background technique
  • VAS Value Added Service
  • Each VAS server needs to parse the data packets that need to be processed through deep packet parsing and then process the data packets. This requires that each VAS server has a strong packet processing capability, which increases the operator's investment cost; and increases the network delay and the possibility of failure. Summary of the invention
  • the embodiment of the invention provides a flow control method and device, which effectively reduces network delay and the possibility of fault occurrence.
  • an embodiment of the present invention provides a flow control method, including:
  • the gateway obtains the data packet of the user
  • N is a positive integer greater than or equal to 1
  • M is a positive integer greater than or equal to 1.
  • the address sequence is a set of IP addresses allocated by the gateway to the user, and an address in the address sequence and a value-added service There is a correspondence between them;
  • the obtaining, by the gateway, the data packet of the user includes:
  • the gateway receives the uplink data packet sent by the user to the network server; or the gateway receives the downlink data packet sent by the network server to the user.
  • the method before the modifying the first IP address to the IP address of the network server, the method further includes:
  • the value of the M is changed, and the step of modifying the first IP address in the data message to the Mth IP address in the address sequence is performed.
  • the method before the obtaining the data packet of the user, the method further includes:
  • An address sequence is assigned to the user, one of the address sequences is visible to the user, and the other IP addresses are invisible to the user.
  • the method further includes:
  • the embodiment of the present invention provides a gateway device, including:
  • a determining module configured to determine N value-added services required for obtaining the data packet obtained by the module, where N is a positive integer greater than or equal to 1;
  • a modifying module configured to modify a first IP address in the data packet obtained by the obtaining module to an Mth IP address in the address sequence, where the first IP address is an IP address of the network server, where M is greater than or a positive integer equal to 1, the address sequence being an IP address assigned to the user by the gateway
  • the address set, the address in the address sequence and the value-added service have a corresponding relationship;
  • a sending module configured to send the data packet modified by the modifying module to a value-added service server corresponding to the Mth IP address, so that the value-added service server corresponding to the M-th IP address is to the modified data
  • the message is processed by the value-added service
  • a receiving module configured to receive a data packet processed by the value-added service
  • a recovery module configured to modify a first IP address in the data packet received by the receiving module to an IP address of the network server.
  • the obtaining module is specifically configured to: receive an uplink data packet sent by the user to the network server; or
  • the method further includes:
  • a determining module configured to determine, before the recovery module, the first IP address in the data packet received by the receiving module is changed to an IP address of the network server, whether the required N value-added services are all completed;
  • the recovery module is specifically configured to: if the determination result of the determining module is yes, perform the step of modifying the first IP address in the data packet received by the receiving module to an IP address of the network server;
  • the modifying module is further configured to: if the judgment result of the determining module is negative, change the value of the M, and perform the modifying the first IP address in the data packet to the Mth in the address sequence Steps for IP addresses.
  • the method further includes:
  • an allocation module configured to allocate an address sequence to the user, where one IP address in the address sequence is visible to a user, and other IP addresses are invisible to a user.
  • a module is established for establishing a correspondence between N value-added services and IP addresses in the address sequence that are invisible to the user.
  • an embodiment of the present invention provides a gateway device, including:
  • a first receiver configured to obtain a data message of the user
  • a first processor configured to determine N value-added services required by the data packet, and the data
  • the first IP address in the packet is modified to be the Mth IP address in the address sequence, where N is a positive integer greater than or equal to 1, and M is a positive integer greater than or equal to 1, and the first IP address is a network.
  • the IP address of the server, the address sequence is a set of IP addresses allocated by the gateway to the user, and the address in the address sequence has a corresponding relationship with the value-added service;
  • a sender configured to send the modified data packet to the value-added service server corresponding to the Mth IP address, so that the value-added service server corresponding to the M-th IP address adds value to the modified data packet Business processing;
  • a second receiver configured to receive a data packet processed by the value-added service
  • the second processor is configured to modify the first IP address in the data packet received by the second receiver to be changed to an IP address of the network server.
  • the first receiver is specifically configured to: receive an uplink data packet sent by the user to the network server; or receive the network server to send A downlink data message to the user.
  • the first processor is further configured to: determine a required N before modifying the first IP address to an IP address of the network server Whether all value-added services are completed;
  • the value of the M is changed, and the step of modifying the first IP address in the data message to the Mth IP address in the address sequence is performed.
  • the method further includes:
  • a third processor configured to allocate an address sequence to the user, where one IP address in the address sequence is visible to a user, and other IP addresses are invisible to a user.
  • the third processor is further configured to: establish N value-added services and an address sequence Correspondence between IP addresses that are invisible to the user.
  • the solution provided by the embodiment of the present invention uses the gateway to complete the SA identification, and sends the packet that needs the value-added service processing to the designated VAS server, reduces the traffic that the VAS server needs to process, and reduces the service identification process of the VAS server.
  • Embodiment 1 is a flowchart of a flow control method according to Embodiment 1 of the present invention.
  • FIG. 2 is still another implementation manner of step 105 in the foregoing embodiment according to the embodiment of the present invention
  • FIG. 3 is a flowchart of still another flow control method according to Embodiment 1 of the present invention.
  • FIG. 4 is a signaling interaction diagram of a flow control method according to Embodiment 2 of the present invention.
  • FIG. 5 is a signaling interaction diagram of a flow control method according to Embodiment 3 of the present invention.
  • FIG. 6 is a schematic structural diagram of a gateway device according to Embodiment 4 of the present invention.
  • FIG. 7 is a schematic structural diagram of still another gateway device according to Embodiment 4 of the present invention.
  • FIG. 8 is a schematic structural diagram of still another gateway device according to Embodiment 4 of the present invention.
  • FIG. 9 is a schematic structural diagram of still another gateway device according to Embodiment 4 of the present invention.
  • FIG. 10 is a schematic structural diagram of a gateway device according to Embodiment 5 of the present invention.
  • FIG. 11 is still another schematic structural diagram of a gateway device according to Embodiment 5 of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a flowchart of a flow control method according to Embodiment 1 of the present invention. As shown in FIG. 1, the method includes:
  • the gateway obtains a data packet of the user.
  • the gateway mentioned here may be, but not limited to, a Gateway GPRS Support Node (Gateway GPRS Support Node, GGSN for short), and a Packet Data Network Gateway (P-GW).
  • GGSN Gateway GPRS Support Node
  • P-GW Packet Data Network Gateway
  • the data packet of the user mentioned here may be a downlink data packet sent from the user to the network server, or may be a downlink data packet sent from the network server to the user.
  • the gateway determines N value-added services required for the data packet, where N is a positive integer greater than or equal to 1.
  • the gateway (such as GGSN/P-GW) can be used as a Service Awareness (SA) engine and a centralized service distribution point to identify the user's subscription information, user access information, and service flow information.
  • SA Service Awareness
  • the value-added service required for the data packet can be determined according to the subscription information of the user, the access information of the user, the service flow information, and the like.
  • the value-added service may be one or two or more, and is not limited herein. Value-added services can be, but are not limited to, video optimization processing, WEB optimization, advertisement insertion, virus filtering processing, and the like.
  • the first IP address in the data packet to the Mth IP address in the address sequence, where the first IP address is an IP address of the network server, and M is a positive integer greater than or equal to 1, where the address sequence A set of IP addresses assigned to the user by the gateway, and a correspondence between the addresses in the address sequence and the value-added service.
  • the address sequence mentioned here is a set of addresses assigned to each user by the gateway when assigning an IP address.
  • One IP address in the address set is visible to the user, that is, the IP address used by the user; other IP addresses are for the user. Not visible, mainly used to complete the control of the user data message.
  • the IP address assigned to the user is 101.123.0.1, which is visible to the user and is delivered to the user terminal through the activation response; meanwhile, at the GGSN/P-GW Locally, 101.123.0.2 ⁇ 101.123.0.10 is assigned to the user, but is invisible to the user. This address sequence will be used to complete user data message control.
  • the IP address of the network server is the destination IP address of the data packet; for the downlink data packet, the IP address of the network server is the data packet. Source IP address.
  • the gateway sends the data packet after the first IP address is modified to the value-added service server corresponding to the M-th IP address, so that the value-added service server corresponding to the M-th IP address is modified by the first IP address.
  • the data message carries the corresponding value-added service processing.
  • the gateway receives the processed data packet returned by the value-added service VAS server corresponding to the Mth IP address, and modifies the first IP address to the IP address of the network server.
  • the flow control method provided by the embodiment of the present invention uses the gateway to centrally complete the SA identification, and sends the packet that needs the value-added service processing to the designated VAS server, reduces the traffic that the VAS server needs to process, and reduces the service identification process of the VAS server. Reduce the investment cost of operators for VAS servers.
  • FIG. 2 is a step in the foregoing embodiment according to an embodiment of the present invention. Another way to achieve 105:
  • the gateway receives the data packet returned by the VAS server corresponding to the value-added service corresponding to the Mth IP address;
  • the method may further include:
  • IP address visible to the user is used to assign to the user as an IP address, and the address that is invisible to the user is reserved for the user.
  • These addresses that are invisible to the user actually represent the gateway. That is, when the first IP address of the data packet is modified in step 103 to be one of the invisible IP addresses reserved for the user, it represents that the VAS server will process the processed data packet after processing the data packet.
  • the text is returned to the gateway to facilitate the processing of the gateway again.
  • the correspondence between the Mth address in the foregoing address sequence and the Mth value-added service may be established.
  • the M-th IP address corresponding to the M-th value-added service is directly used.
  • the gateway can know, according to the first IP address in the received processed data message, that the message is returned from the VAS server responsible for which value-added service. Therefore, it can be quickly determined which value-added service has been processed by the processed data message, so that it can effectively determine which value-added service processing is needed for the processed data message, whether all value-added service processing has been completed, and the like.
  • the private address pool can be planned by the operator, it can be considered that the user's address sequence is allocated without additional cost.
  • the IP address sequence is assigned according to the plan of the user IP address pool. For example, as follows, assuming that data packets are allowed to pass through up to four different VAS servers, the user IP address can be assigned an interval of 5, as follows:
  • the first type is to assign a value-added service private address sequence pool to each user.
  • the destination IP address of the uplink packet (the source IP address of the downlink packet) is different. For example: Assume that data packets are allowed to pass through up to four different VAS servers, as follows:
  • the second type is to assign a value-added service private address sequence pool to all users.
  • the destination IP address of the uplink packet (the source IP address of the downlink packet) is the same. For example: Assume that data packets are allowed to pass through up to four different VAS servers, as follows:
  • the UE1 (the visible IP address is 101.123.0.1) sends a data packet to the network server (the IP address is 10.1.1.1), and the GGSN/P-GW receives the data packet.
  • the GGSN/P-GW determines, according to the subscription information of the user, the access information of the user, and the service flow information obtained when the UE1 is activated, which value-added services need to be performed on the data packet. For example, it is determined that the data packet of the uplink needs to be processed by VAS1, processed by VAS2, and then sent to the network server.
  • the GGSN/P-GW changes the destination IP address of the uplink data packet to a second IP address (the IP address corresponding to VAS1) in the IP address sequence allocated by the GGSN/P-GW for the user, and then sends the IP address of the uplink data packet to the GGSN/P-GW.
  • a second IP address the IP address corresponding to VAS1
  • VAS1 server g ⁇ VAS Serverl
  • the source IP address of the packet sent by the GGSN/P-GW to the VAS Server1 is 101.123.0.1
  • the destination IP address is 101.123.0.2.
  • the VAS Server1 After processing the data packet, the VAS Server1 forwards the data packet according to the destination IP address 101.123.0.2, and the network segment route still returns to the GGSN/P-GW.
  • the GGSN/P-GW After receiving the data packet returned by the VAS Server1, the GGSN/P-GW determines that the data packet has been processed by VAS1 according to the destination IP address of the data packet (101.123.0.2), and continues to perform VAS2 processing.
  • the djSN GGSN/P-GW changes the destination IP address of the data packet to the third IP address (the IP address corresponding to VAS2) in the IP address sequence assigned by the GGSN/P-GW to the user, and then sends it to VAS2 server (VAS Server2). That is, the source IP address of the data packet sent by the GGSN/P-GW to the VAS Server2 is 101.123.0.1, and the destination IP address is 101.123.0.3.
  • the VAS Server2 After processing the data packet, the VAS Server2 forwards the data packet according to the destination IP address 101.123.0.3, and the network segment route still returns to the GGSN/P-GW.
  • the GGSN/P-GW After receiving the data packet returned by the VAS Server 2, the GGSN/P-GW determines, according to the destination IP address of the data packet (101.123.0.3), that the data packet has been processed by the VAS2, that is, the uplink data packet is completed. All value-added services are processed, and their destination IP address is restored to 10.1.1.1 and forwarded to the network server.
  • FIG. 5 is a signaling interaction diagram of a flow control method according to Embodiment 3 of the present invention. As shown in FIG. 5, specifically, the method includes:
  • the network server (IP address is 10.1.1.1) sends a data packet to UE1 (the visible IP address is 101.123.0.1), and the GGSN/P-GW receives the data packet.
  • the GGSN/P-GW determines, according to the subscription information of the user when the UE1 is activated, the access information of the user, and the service flow information, which value-added services need to be performed on the data packet. For example, it is determined that the downlink data packet needs to be processed by VAS2, processed by VAS1, and then sent to the user.
  • the GGSN/P-GW changes the source IP address of the downlink data packet to a third IP address (the IP address corresponding to VAS2) in the IP address sequence allocated by the GGSN/P-GW for the user, and then sends the IP address of the downlink data packet to the GGSN/P-GW.
  • VAS2 server VAS Server2 That is, the source IP address of the packet sent by the GGSN/P-GW to the VAS Server 2 is 101.123.0.3, and the destination IP address is 101.123.0.1.
  • the VAS Server2 After processing the data packet, the VAS Server2 forwards the data packet according to the destination IP address 101.123.0.1, and the network segment route still returns to the GGSN/P-GW.
  • the GGSN/P-GW After receiving the data packet returned by the VAS Server 2, the GGSN/P-GW determines that the data packet has been processed by the VAS2 according to the source IP address (101.123.0.3) of the data packet, and continues to perform VAS1 processing. Then, the GGSN/P-GW changes the source IP address of the data packet to the second IP address (the IP address corresponding to VAS1) in the IP address sequence allocated by the GGSN/P-GW for the user, and then sends it to VAS1.
  • Server VAS Serverl
  • the source IP address of the data packet sent by the GGSN/P-GW to the VAS Server1 is 101.123.0.2
  • the destination IP address is 101.123.0.1.
  • the VAS Server1 After processing the data packet, the VAS Server1 forwards the data packet according to the destination IP address 101.123.0.1, and the network segment route still returns to the GGSN/P-GW.
  • the GGSN/P-GW After receiving the data packet returned by the VAS Server1, the GGSN/P-GW determines, according to the source IP address (101.123.0.2) of the data packet, that the data packet has been processed by VAS1, that is, the downlink data packet is completed. All value-added services are processed, and the source IP address is restored to 10.1.1.1 and sent to the user.
  • the flow control method provided by the embodiment of the present invention uses the gateway to centrally complete the SA identification, and sends the packet that needs the value-added service processing to the designated VAS server, reduces the traffic that the VAS server needs to process, and reduces the service identification process of the VAS server. Reduced operators' VAS service The investment cost of the server.
  • FIG. 6 is a schematic structural diagram of a gateway device according to Embodiment 4 of the present invention. It should be noted that the gateway device is one of the execution entities in the foregoing method embodiment, and the specific working process may refer to the method embodiment, where not Narration. As shown in FIG. 6, the gateway device includes: an obtaining module 601, a determining module 602, a modifying module 603, a sending module 604, a receiving module 605, and a restoring module 606.
  • the obtaining module 601 is configured to obtain a data packet of the user; the determining module 602 is configured to determine N value-added services required to obtain the data packet obtained by the module 601, where N is a positive integer greater than or equal to 1;
  • the first IP address in the data packet obtained by the obtaining module 601 is modified to the Mth IP address in the address sequence, the first IP address is the IP address of the network server, and M is a positive integer greater than or equal to 1, the address
  • the sequence is a set of IP addresses assigned to the user by the gateway, and the address in the address sequence has a corresponding relationship with the value-added service;
  • the sending module 604 is configured to send the modified data packet of the modifying module 603 to the value added corresponding to the Mth IP address.
  • the service server is configured to process the value-added service of the modified data packet by the value-added service server corresponding to the M-th IP address; the receiving module 605 is configured to receive the data packet processed by the value-added service; and the recovery module 606 is configured to receive The first IP address in the data packet received by the module 605 is modified to the IP address of the network server.
  • the obtaining module 601 is specifically configured to: receive an uplink data packet sent by the user to the network server; or receive a downlink data packet sent by the network server to the user.
  • FIG. 7 is a schematic structural diagram of a gateway device according to Embodiment 4 of the present invention, further comprising: a determining module 607, configured to: in the recovery module 606, modify the first IP address in the data packet to the IP address of the network server. Before the address, it is determined whether the required N value-added services are all completed.
  • the recovery module 606 is specifically configured to: if the determination result of the determining module 607 is yes, execute the first IP address in the data packet received by the receiving module 605.
  • the step of modifying the IP address of the network server; the modifying module 603 is further configured to: if the judgment result of the determining module 607 is negative, change the value of the M, and perform the modification of the first IP address in the data packet into the address sequence.
  • the steps of the Mth IP address is specifically configured to: if the determination result of the determining module 607 is yes, execute the first IP address in the data packet received by the receiving module 605.
  • FIG. 8 is a schematic structural diagram of still another gateway device according to Embodiment 4 of the present invention, further comprising: an allocating module 608, configured to allocate an address sequence to a user, where an IP address in the address sequence is visible to the user, and other IP addresses are used. Not visible to the user.
  • an allocating module 608 configured to allocate an address sequence to a user, where an IP address in the address sequence is visible to the user, and other IP addresses are used. Not visible to the user.
  • FIG. 9 is a schematic structural diagram of a gateway device according to Embodiment 4 of the present invention, further comprising: an establishing module 609, configured to establish a correspondence between N value-added services and an IP address in an address sequence that is invisible to a user. relationship.
  • the gateway device provided by the embodiment of the present invention centrally completes the SA identification, and sends the packet that needs the value-added service processing to the designated VAS server, reduces the traffic that the VAS server needs to process, reduces the service identification process of the VAS server, and reduces the operation. The investment cost of the VAS server.
  • the gateway device is one of the execution entities in the foregoing method embodiment, and the specific working process may refer to the method embodiment, where not Narration.
  • the gateway device includes: a first receiver 1001, configured to obtain a data packet of a user; and a first processor 1002, configured to determine N value-added services required for the data packet, and send the data packet
  • the first IP address in the address is modified to the Mth IP address in the address sequence, where N is a positive integer greater than or equal to 1, M is a positive integer greater than or equal to 1, and the first IP address is an IP address of the network server.
  • the address sequence is a set of IP addresses assigned to the user by the gateway, and the address in the address sequence has a correspondence with the value-added service;
  • the sender 1003 is configured to send the modified data packet to the value added corresponding to the Mth IP address.
  • a service server wherein the value-added service server corresponding to the Mth IP address performs value-added service processing on the modified data packet;
  • the second receiver 1004 is configured to receive the data message processed by the value-added service; 1005.
  • the first IP address in the data packet received by the second receiver is used to modify the IP address of the network server.
  • the first receiver 1001 is specifically configured to: receive an uplink data packet sent by the user to the network server; or receive a downlink data packet sent by the network server to the user.
  • the first processor 1002 is further configured to: determine whether the required N value-added services are all completed before modifying the first IP address to the IP address of the network server; if yes, execute the first The step of modifying an IP address to the IP address of the network server; if not, changing the value of M and performing the step of modifying the first IP address in the data message to the Mth IP address in the address sequence.
  • FIG. 11 is still another schematic structural diagram of a gateway device according to Embodiment 5 of the present invention.
  • the method further includes: a third processor 1006, configured to allocate an address sequence to a user, where an IP address in the address sequence is visible to the user, and other IP address pairs are used. The user is not visible.
  • the third processor 1006 is further configured to: establish a correspondence between the N value-added services and the IP addresses in the address sequence that are invisible to the user.
  • the gateway device provided by the embodiment of the present invention centrally completes SA identification, and needs a value-added service office.
  • the sent message is sent to the designated VAS server, which reduces the traffic that the VAS server needs to process, reduces the service identification process of the VAS server, and reduces the investment cost of the VAS server.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明提供一种流量控制方法及设备。方法包括:网关获得用户的数据报文;确定数据报文所需的N个增值业务,N为大于或等于1的正整数;将数据报文中的第一IP地址修改为地址序列中的第 M个IP地址,第一IP地址为网络服务器的IP地址,M为大于或等于1的正整数,地址序列为网关分配给用户的IP地址集合,地址序列中的地址与增值业务之间存在对应关系;将修改后的数据报文发送给第 M个 IP地址对应的增值业务服务器,以使第M个IP地址对应的增值业务服务器对修改后的数据报文进行增值业务的处理;接收增值业务处理后的数据报文,将第一IP地址修改为网络服务器的 IP地址。

Description

流量控制方法及设备
技术领域
本发明涉及通信技术, 尤其涉及一种流量控制方法及设备。 背景技术
随着互联网与非传统运营商的发展, 全球的电信营业商收到了巨大的冲 击, 导致了每用户平均收入(Average Revenue Per User, 简称为: APRU)值 下降, 客户粘度下降。 电信运营商希望通过部署增值业务作为上述问题的解 决方案。 比较通用的增值业务包括视频优化、 网站(Website, 简称为: WEB ) 优化、广告插入以及病毒过滤等等。进行增值业务处理的服务器为 VAS(Value Added Service)服务器。 当网络中同时串联部署多种功能不同的 VAS服务器 时, 每个数据报文需要经过每个 VAS服务器, 需要每个 VAS服务器通过深 度报文解析识别出自己需要处理的数据报文然后再进行处理, 这就要求每个 VAS服务器都具有很强的报文处理能力, 进而增加了运营商的投资成本; 而 且会增加网络时延以及故障发生的可能性。 发明内容
本发明实施例提供一种流量控制方法及设备, 有效降低了网络时延以及 故障发生的可能性。
第一方面, 本发明实施例提供了一种流量控制方法, 包括:
网关获得用户的数据报文;
确定所述数据报文所需的 N个增值业务, N为大于或等于 1的正整数; 将所述数据报文中的第一 IP地址修改为地址序列中的第 M个 IP地址, 所述第一 IP地址为网络服务器的 IP地址, M为大于或等于 1的正整数, 所 述地址序列为所述网关分配给所述用户的 IP地址集合, 所述地址序列中的地 址与增值业务之间存在对应关系;
将修改后的数据报文发送给第 M个 IP地址对应的增值业务服务器, 以 使所述第 M个 IP地址对应的增值业务服务器对所述修改后的数据报文进行 增值业务的处理;
接收增值业务处理后的数据报文, 将所述第一 IP地址修改为所述网络服 务器的 IP地址。
在本发明的第一方面的第一种可能实现方式中, 所述网关获得用户的数 据报文具体包括:
网关接收所述用户发送给所述网络服务器的上行数据报文; 或者, 网关接收所述网络服务器发送给所述用户的下行数据报文。
在本发明的第一方面的第二种可能实现方式中, 所述将所述第一 IP地址 修改为所述网络服务器的 IP地址之前, 所述方法还包括:
判断所需的 N个增值业务是否全部完成;
如果是, 则执行将所述第一 IP地址修改为所述网络服务器的 IP地址的 步骤;
如果否, 则更改所述 M 的值, 并执行所述将所述数据报文中的第一 IP 地址修改为地址序列中的第 M个 IP地址的步骤。
在本发明的第一方面的第三种可能实现方式中, 所述网关获得用户的数 据报文之前, 所述方法还包括:
为所述用户分配地址序列, 所述地址序列中的一个 IP地址对用户可见, 其他 IP地址对用户不可见。
结合本发明的第一方面的第三种可能实现方式, 在本发明的第一方面的 第四种可能实现方式中, 所述为所述用户分配地址序列之后, 所述方法还包 括:
建立 N个增值业务与地址序列中对用户不可见的 IP地址之间的对应关 第二方面, 本发明实施例提供了一种网关设备, 包括:
获得模块, 用于获得用户的数据报文;
确定模块,用于确定所述获得模块获得的数据报文所需的 N个增值业务, N为大于或等于 1的正整数;
修改模块, 用于将所述获得模块获得的数据报文中的第一 IP地址修改为 地址序列中的第 M个 IP地址, 所述第一 IP地址为网络服务器的 IP地址, M 为大于或等于 1的正整数, 所述地址序列为所述网关分配给所述用户的 IP地 址集合, 所述地址序列中的地址与增值业务之间存在对应关系;
发送模块, 用于将所述修改模块修改后的数据报文发送给第 M个 IP地 址对应的增值业务服务器, 以使所述第 M个 IP地址对应的增值业务服务器 对所述修改后的数据报文进行增值业务的处理;
接收模块, 用于接收增值业务处理后的数据报文;
恢复模块, 用于将所述接收模块接收到的数据报文中的第一 IP地址修改 为所述网络服务器的 IP地址。
在本发明的第二方面的第一种可能实现方式中,所述获得模块具体用于: 接收所述用户发送给所述网络服务器的上行数据报文; 或者,
接收所述网络服务器发送给所述用户的下行数据报文。
在本发明的第二方面的第二种可能实现方式中, 还包括:
判断模块, 用于在所述恢复模块将所述接收模块接收到的数据报文中的 第一 IP地址修改为所述网络服务器的 IP地址之前, 判断所需的 N个增值业 务是否全部完成;
则所述恢复模块具体用于: 如果所述判断模块的判断结果为是, 执行将 所述接收模块接收到的数据报文中的第一 IP地址修改为所述网络服务器的 IP 地址的步骤;
所述修改模块还用于: 如果所述判断模块的判断结果为否, 更改所述 M 的值,并执行所述将所述数据报文中的第一 IP地址修改为地址序列中的第 M 个 IP地址的步骤。
在本发明的第二方面的第三种可能实现方式中, 还包括:
分配模块, 用于为所述用户分配地址序列, 所述地址序列中的一个 IP地 址对用户可见, 其他 IP地址对用户不可见。
结合本发明的第二方面的第三种可能实现方式, 在本发明的第二方面的 第四种可能实现方式中, 还包括:
建立模块,用于建立 N个增值业务与地址序列中对用户不可见的 IP地址 之间的对应关系。
第三方面, 本发明实施例提供了一种网关设备, 包括:
第一接收器, 用于获得用户的数据报文;
第一处理器, 用于确定所述数据报文所需的 N个增值业务, 将所述数据 报文中的第一 IP地址修改为地址序列中的第 M个 IP地址, 其中, N为大于 或等于 1的正整数, M为大于或等于 1的正整数, 所述第一 IP地址为网络服 务器的 IP地址, 所述地址序列为所述网关分配给所述用户的 IP地址集合, 所述地址序列中的地址与增值业务之间存在对应关系;
发送器, 用于将修改后的数据报文发送给第 M个 IP地址对应的增值业 务服务器, 以使所述第 M个 IP地址对应的增值业务服务器对所述修改后的 数据报文进行增值业务的处理;
第二接收器, 用于接收增值业务处理后的数据报文;
第二处理器, 用于将所述第二接收器接收到的数据报文中第一 IP地址修 改为所述网络服务器的 IP地址。
在本发明的第三方面的第一种可能实现方式中, 所述第一接收器具体用 于: 接收所述用户发送给所述网络服务器的上行数据报文; 或者, 接收所述 网络服务器发送给所述用户的下行数据报文。
在本发明的第三方面的第二种可能实现方式中,所述第一处理器还用于: 在将所述第一 IP地址修改为所述网络服务器的 IP地址之前, 判断所需 的 N个增值业务是否全部完成;
如果是, 则执行将所述第一 IP地址修改为所述网络服务器的 IP地址的 步骤;
如果否, 则更改所述 M 的值, 并执行所述将所述数据报文中的第一 IP 地址修改为地址序列中的第 M个 IP地址的步骤。
在本发明的第三方面的第三种可能实现方式中, 还包括:
第三处理器, 用于为所述用户分配地址序列, 所述地址序列中的一个 IP 地址对用户可见, 其他 IP地址对用户不可见。
结合本发明的第三方面的第三种可能实现方式, 在本发明的第三方面的 第四种可能实现方式中, 所述第三处理器还用于: 建立 N个增值业务与地址 序列中对用户不可见的 IP地址之间的对应关系。
本发明实施例提供的方案, 利用网关集中完成 SA识别, 将需要增值业 务处理的报文发送给指定的 VAS服务器, 减少了 VAS服务器需要处理的流 量, 降低了 VAS服务器的业务识别过程, 降低了运营商对 VAS服务器的投 资成本。 附图说明
图 1是本发明实施例一提供的流量控制方法流程图;
图 2为本发明实施例提供的上述实施例中步骤 105的又一种实现方式; 图 3为本发明实施例一提供的又一种流量控制方法流程图;
图 4为本发明实施例二提供的流量控制方法信令交互图;
图 5为本发明实施例三提供的流量控制方法信令交互图;
图 6为本发明实施例四提供的网关设备的结构示意图;
图 7为本发明实施例四提供的又一网关设备的结构示意图;
图 8为本发明实施例四提供的再一网关设备的结构示意图;
图 9为本发明实施例四提供的还一网关设备的结构示意图;
图 10为本发明实施例五提供的网关设备的结构示意图;
图 11为本发明实施例五提供的网关设备的又一结构示意图。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本发 明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于 本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动前提下所获 得的所有其他实施例, 都属于本发明保护的范围。
图 1是本发明实施例一提供的流量控制方法流程图, 如图 1所示, 该方 法包括:
101、 网关获得用户的数据报文。
这里所说的网关,可以但不限于是:网关 GPRS支持节点(Gateway GPRS Support Node,简称为: GGSN )、分组数据网关( Packet Data Network Gateway, 简称 P-GW) 等。
这里所说的用户的数据报文, 可以是来自于用户发送给网络服务器的上 行数据报文, 也可以是来自于网络服务器发送给用户的下行数据报文。
102、网关确定数据报文所需的 N个增值业务, N为大于或等于 1的正整 数。 这里需要说明的是, 网关 (如 GGSN/P-GW ) 作为业务感知 (Service Awareness,简称为: SA)引擎和业务集中分发点,可以识别用户的签约信息、 用户的接入信息、 业务流信息等, 因此, 可以根据上述用户的签约信息、 用 户的接入信息、 业务流信息等确定该数据报文所需的增值业务。 增值业务可 以为一个也可以为两个或两个以上, 此处不做限定。 增值业务可以但不限于 是视频优化处理、 WEB优化、 广告插入、 病毒过滤处理等等。
103、 将数据报文中的第一 IP地址修改为地址序列中的第 M个 IP地址, 该第一 IP地址为网络服务器的 IP地址, M为大于或等于 1的正整数, 其中, 地址序列为网关分配给该用户的 IP地址集合, 地址序列中的地址与增值业务 之间存在对应关系。
这里所说的地址序列是网关在分配 IP地址时, 为每个用户分配的一个地 址集合, 该地址集合中的一个 IP地址对用户可见, 也即用户所使用的 IP地 址; 其他 IP地址对用户不可见, 主要用于完成该用户数据报文的控制。 对于 地址序列的分配, 举例说明如下: 当用户激活请求时, 分配给用户的 IP地址 是 101.123.0.1, 此地址对用户可见, 通过激活响应下发给用户终端; 同时, 在 GGSN/P-GW本地, 将 101.123.0.2~101.123.0.10都分配给该用户, 但是对 该用户不可见, 这个地址序列, 将用来完成用户数据报文控制。
还需要说明的是, 对于上行的数据报文而言, 网络服务器的 IP地址即为 数据报文的目的 IP地址; 对于下行的数据报文而言, 网络服务器的 IP地址 即为数据报文的源 IP地址。
104、网关将修改了第一 IP地址后的数据报文发送给第 M个 IP地址对应 的增值业务服务器, 以使该第 M个 IP地址对应的增值业务服务器对该修改 了第一 IP地址后的数据报文进行相应的增值业务处理。
105、 网关接收到该经过第 M个 IP地址对应的增值业务 VAS服务器处 理后返回的处理后的数据报文, 将第一 IP地址修改为网络服务器的 IP地址。
本发明实施例提供的流量控制方法, 利用网关集中完成 SA识别, 将需 要增值业务处理的报文发送给指定的 VAS服务器, 减少了 VAS服务器需要 处理的流量, 降低了 VAS服务器的业务识别过程, 降低了运营商对 VAS服 务器的投资成本。
在上述实施例的基础上, 图 2为本发明实施例提供的上述实施例中步骤 105的又一种实现方式:
105'-1、 网关接收到该经过第 M个 IP地址对应的增值业务 VAS服务器 处理后返回的数据报文;
105'-2、判断该经过处理后的数据报文是否已经完成了全部所需的 N个增 值业务;
如果是, 执行 105,-3;
如果否, 执行 105,-4。
105'-3、 将第一 IP地址修改为网络服务器的 IP地址。
105'-4、 更改 M的值, 并执行步骤 103。
上述替代步骤 105的各个步骤可以有效保证每一个数据报文可以经过全 部所需的 N个增值业务。
在上述第一个或第二个实施方式的基础上, 如图 3所示, 在步骤 101之 前, 该方法还可以包括:
100、 为用户分配地址序列, 该地址序列中的一个地址对用户可见, 其他 地址对用户不可见。
对用户可见的 IP地址是用来分配给用户作为 IP地址使用的, 对用户不 可见的地址是预留给用户的。这些对用户不可见的地址实际上都代表了网关。 也就是说, 当步骤 103中将数据报文的第一 IP地址修改为了预留给用户的不 可见的 IP地址之一时, 代表了 VAS服务器在处理完数据报文之后会将处理 后的数据报文返回给网关, 以方便网关的再次处理。
因此, 为了更加方便网关处理, 可以建立上述地址序列中的第 M个地址 与第 M个增值业务之间的对应关系。这样可以在确定用户的数据报文进行第 M个增值业务处理时, 直接使用与第 M个增值业务对应的第 M个 IP地址。 网关可以根据接收到的处理后的数据报文中的第一 IP地址知道这个报文是从 负责哪个增值业务的 VAS服务器返回的。从而可以快速判断处理后的数据报 文已经过哪个增值业务处理, 从而可以有效确定该处理后的数据报文还需要 哪些增值业务处理, 是否已完成全部的增值业务处理等等。
对于地址序列的分配, 这里还需要说明的是:
对于使用私有地址池的运营商而言, 由于可以由运营商自行规划私有地 址池, 所以可以认为用户的地址序列的分配无需附加成本, 此时可以直接按 照用户 IP地址池的规划分配 IP地址序列。 举例如下, 假设允许数据报文最 多经过 4类不同的 VAS服务器,那么可以给用户 IP地址分配间隔为 5,如下 所示:
192.168.0.1 ― 用户 1实际地址 (对用户可见)
192.168.0.2 - 用户 1业务控制地址 1 (对用户不可见)
192.168.0.3 - 用户 1业务控制地址 2 (对用户不可见)
192.168.0.4 - 用户 1业务控制地址 3 (对用户不可见)
192.168.0.5 - 用户 1业务控制地址 4 (对用户不可见)
192.168.0.6 - 用户 2实际地址 (对用户可见)
192.168.0.7 ― 用户 2业务控制地址 1 (对用户不可见)
192.168.0.8 - 用户 2业务控制地址 2 (对用户不可见)
192.168.0.9 - 用户 2业务控制地址 3 (对用户不可见)
192.168.0.10― 用户 2业务控制地址 4 (对用户不可见) 对于使用公有地址池的运营商而言, 此时地址池需要运营商购买, 所以 可以认为用户地址序列的分配受限且有成本压力。 而在 GGSN/P-GW与 VAS 服务器进行数据报文交互时, GGSN/P-GW替换 IP地址的目的是: 标识此报 文的路由目的 IP地址为网关本身而非其他, 便于完成数据报文的控制; 标识 此报文在增值业务动作链中处理到哪个位置, 防止重复处理或者造成报文的 死循环。此时可以增加一个私有地址池作为数据报文控制的 IP地址序列资源 池, 并将公有、 私有地址池的网关路由都配置为网关本身。 为增值业务处理 所设置私有地址池分配方法可以采用以下两种:
第一种, 为每个用户分配一个增值业务私有地址序列池, 不同用户在做 相同的增值业务时, 上行报文的目的 IP地址 (下行报文的源 IP地址) 不同。 如: 假设允许数据报文最多经过 4类不同的 VAS服务器, 如下所示:
101.123.0.1 ― 用户 1实际地址
192.168.0.1 ― 用户 1业务控制地址 1
192.168.64.1 ― 用户 1业务控制地址 2
192.168.128.1 ― 用户 1业务控制地址 3
192.168.192.1 一 用户 1业务控制地址 4 101.123.0.2 - 用户 2实际地址
192.168.0.2 - 用户 2业务控制地址 1
192.168.64.2 - 用户 2业务控制地址 2
192.168.128.2 - 用户 2业务控制地址 3
192.168.192.2 - 用户 2业务控制地址 4 注: 地址段掩码如下
Xxxxxxxx . Xxxxxxxx . Xxxxxxxx . Xxxxxxxx
01100101 01111011 .00000001 101.123.0.1
11000000 10101000
Figure imgf000011_0001
.00000001 192.168.0.1
11000000 10101000 .01000000 .00000001 192.168.64.1
11000000 10101000 .10000000 .00000001 192.168.128.1
11000000 10101000 .11000000 .00000001 192.168.192.1
第二种, 为所有用户分配一个增值业务私有地址序列池, 不同用户在做 相同的增值业务时, 上行报文的目的 IP地址 (下行报文的源 IP地址) 相同。 如: 假设允许数据报文最多经过 4类不同的 VAS服务器, 如下所示:
101.123.0.1 ― 用户 1实际地址
192.168.0.1 - 所有用户业务控制地址 1
192.168.0.2 一 所有用户业务控制地址 2
192.168.0.3 - 所有用户业务控制地址 3
192.168.0.4 - 所有用户业务控制地址 4
101.123.0.2 ― 用户 2实际地址
192.168.0.1 - 所有用户业务控制地址 1
192.168.0.2 一 所有用户业务控制地址 2
192.168.0.3 - 所有用户业务控制地址 3
192.168.0.4 - 所有用户业务控制地址 4 一种实施方式下, 假设系统中有三个增值业务: VAS1、 VAS2、 VAS3 , 则用户 (UE1 ) 在激活时, 网关 (GGSN/P-GW) 为用户分配一个 IP地址序 列 101.123.0.1~101.123.0.4,网络服务器(Internet Server)的 IP地址为 10.1.1.1。 本实施例以上行的数据报文为例对该方法进行说明, 但并不用以限制本发明 的保护范围。 图 4为本发明实施例二提供的流量控制方法信令交互图, 如图 4所示, 具体的, 该方法包括:
401、 UE1 (可见 IP地址为 101.123.0.1 )向网络服务器(IP地址为 10.1.1.1 ) 发送数据报文, GGSN/P-GW接收到该数据报文。
402、 GGSN/P-GW根据 UE1激活时获得的用户的签约信息、用户的接入 信息以及业务流信息判断该数据报文需要做哪些增值业务。 例如判断出该上 行的数据报文需要先经过 VAS1处理、 再经过 VAS2处理, 然后再发给网络 服务器。
403, GGSN/P-GW将该上行的数据报文的目的 IP更改为 GGSN/P-GW为 该用户分配的 IP地址序列中的第二个 IP地址 (与 VAS1对应的 IP地址) , 然后发给 VAS1的服务器 (g卩 VAS Serverl ) 。 也就是说 GGSN/P-GW发给 VAS Serverl的报文的源 IP地址为 101.123.0.1、 目的 IP地址为 101.123.0.2。
404、 VAS Serverl对数据报文进行处理后, 按照目的 IP地址 101.123.0.2 转发, 网段路由仍然回 GGSN/P-GW。
405、 GGSN/P-GW收到 VAS Serverl返回的数据报文后根据数据报文的 目的 IP地址 (101.123.0.2) 判断, 该数据报文已经完成 VAS1处理, 要继续 进行 VAS2 处理。 贝 lj GGSN/P-GW 将该数据报文的目的 IP 地址更改为 GGSN/P-GW为该用户分配的 IP地址序列中的第三个 IP地址(与 VAS2对应 的 IP地址),然后发给 VAS2的服务器(VAS Server2)。也就是说 GGSN/P-GW 发给 VAS Server2 的数据报文的源 IP地址为 101.123.0.1、 目的 IP地址为 101.123.0.3 ο
406、 VAS Server2对数据报文进行处理后, 按照目的 IP地址 101.123.0.3 转发, 网段路由仍然回 GGSN/P-GW。
407、 GGSN/P-GW收到 VAS Server2返回的数据报文后根据数据报文的 目的 IP地址 (101.123.0.3 ) 判断, 该数据报文已经完成 VAS2处理, 也即完 成了该上行数据报文的所有增值业务的处理, 还原其目的 IP地址为 10.1.1.1, 转发至网络服务器。
又一种实施方式下,假设系统中有三个增值业务: VAS1、 VAS2、 VAS3 , 则用户 (UE1 ) 在激活时, 网关 (GGSN/P-GW) 为用户分配一个 IP地址序 列 101.123.0.1-101.123.0.4,网络服务器(Internet Server)的 IP地址为 10.1.1.1。 本实施例以下行的数据报文为例对该方法进行说明, 但并不用以限制本发明 的保护范围。 图 5为本发明实施例三提供的流量控制方法信令交互图, 如图 5所示, 具体的, 该方法包括:
501、网络服务器(IP地址为 10.1.1.1 )向 UE1 (可见 IP地址为 101.123.0.1 ) 发送数据报文, GGSN/P-GW接收到该数据报文。
502、 GGSN/P-GW根据 UE1激活时的用户的签约信息、用户的接入信息 以及业务流信息判断该数据报文需要做哪些增值业务。 例如判断出该下行的 数据报文需要先经过 VAS2处理、 再经过 VAS1处理, 然后再发给用户。
503、 GGSN/P-GW将该下行的数据报文的源 IP更改为 GGSN/P-GW为 该用户分配的 IP地址序列中的第三个 IP地址 (与 VAS2对应的 IP地址) , 然后发给 VAS2的服务器(VAS Server2)。也就是说 GGSN/P-GW发给 VAS Server2的报文的源 IP地址为 101.123.0.3、 目的 IP地址为 101.123.0.1。
504、 VAS Server2对数据报文进行处理后, 按照目的 IP地址 101.123.0.1 转发, 网段路由仍然回 GGSN/P-GW。
505、 GGSN/P-GW收到 VAS Server2返回的数据报文后根据数据报文的 源 IP地址 (101.123.0.3 ) 判断, 该数据报文已经完成 VAS2处理, 要继续进 行 VAS1处理。则 GGSN/P-GW将该数据报文的源 IP地址更改为 GGSN/P-GW 为该用户分配的 IP地址序列中的第二个 IP地址(与 VAS1对应的 IP地址), 然后发给 VAS1的服务器( VAS Serverl )。也就是说 GGSN/P-GW发给 VAS Serverl的数据报文的源 IP地址为 101.123.0.2、 目的 IP地址为 101.123.0.1。
506、 VAS Serverl对数据报文进行处理后, 按照目的 IP地址 101.123.0.1 转发, 网段路由仍然回 GGSN/P-GW。
507、 GGSN/P-GW收到 VAS Serverl返回的数据报文后根据数据报文的 源 IP地址 (101.123.0.2) 判断, 该数据报文已经完成 VAS1处理, 也即完成 了该下行数据报文的所有增值业务处理, 还原其源 IP地址为 10.1.1.1, 发给 用户。
本发明实施例提供的流量控制方法, 利用网关集中完成 SA识别, 将需 要增值业务处理的报文发送给指定的 VAS服务器, 减少了 VAS服务器需要 处理的流量, 降低了 VAS服务器的业务识别过程, 降低了运营商对 VAS服 务器的投资成本。
图 6为本发明实施例四提供的网关设备的结构示意图, 需要说明的是, 该网关设备为上述方法实施例中的执行主体之一, 其具体工作流程可以参考 方法实施例, 此处不做赘述。 如图 6所示, 该网关设备包括: 获得模块 601、 确定模块 602、 修改模块 603、 发送模块 604、 接收模块 605、 恢复模块 606。 其中, 获得模块 601用于获得用户的数据报文; 确定模块 602用于确定获得 模块 601获得的数据报文所需的 N个增值业务, N为大于或等于 1的正整数; 修改模块 603用于将获得模块 601获得的数据报文中的第一 IP地址修改为地 址序列中的第 M个 IP地址,第一 IP地址为网络服务器的 IP地址, M为大于 或等于 1的正整数, 地址序列为网关分配给用户的 IP地址集合, 地址序列中 的地址与增值业务之间存在对应关系; 发送模块 604用于将修改模块 603修 改后的数据报文发送给第 M个 IP地址对应的增值业务服务器, 以使第 M个 IP地址对应的增值业务服务器对修改后的数据报文进行增值业务的处理; 接 收模块 605用于接收增值业务处理后的数据报文; 恢复模块 606用于将接收 模块 605接收到的数据报文中的第一 IP地址修改为网络服务器的 IP地址。
一种实施方式下, 获得模块 601具体用于: 接收用户发送给网络服务器 的上行数据报文; 或者, 接收网络服务器发送给用户的下行数据报文。
如图 7所示的本发明实施例四提供的又一网关设备的结构示意图, 还包 括: 判断模块 607, 用于在恢复模块 606将数据报文中的第一 IP地址修改为 网络服务器的 IP地址之前,判断所需的 N个增值业务是否全部完成; 则恢复 模块 606具体用于:如果判断模块 607的判断结果为是,执行将接收模块 605 接收到的数据报文中的第一 IP地址修改为网络服务器的 IP地址的步骤; 修 改模块 603还用于: 如果判断模块 607的判断结果为否, 更改 M的值, 并执 行将数据报文中的第一 IP地址修改为地址序列中的第 M个 IP地址的步骤。
如图 8所示的本发明实施例四提供的再一网关设备的结构示意图, 还包 括: 分配模块 608, 用于为用户分配地址序列, 地址序列中的一个 IP地址对 用户可见, 其他 IP地址对用户不可见。
如图 9所示的本发明实施例四提供的还一网关设备的结构示意图, 还包 括: 建立模块 609, 用于建立 N个增值业务与地址序列中对用户不可见的 IP 地址之间的对应关系。 本发明实施例提供的网关设备, 集中完成 SA识别, 将需要增值业务处 理的报文发送给指定的 VAS服务器, 减少了 VAS服务器需要处理的流量, 降低了 VAS服务器的业务识别过程, 降低了运营商对 VAS服务器的投资成 本。
图 10为本发明实施例五提供的网关设备的结构示意图, 需要说明的是, 该网关设备为上述方法实施例中的执行主体之一, 其具体工作流程可以参考 方法实施例, 此处不做赘述。 如图 10 所示, 该网关设备包括: 第一接收器 1001, 用于获得用户的数据报文; 第一处理器 1002, 用于确定数据报文所需 的 N个增值业务, 将数据报文中的第一 IP地址修改为地址序列中的第 M个 IP地址, 其中, N为大于或等于 1的正整数, M为大于或等于 1的正整数, 第一 IP地址为网络服务器的 IP地址, 地址序列为网关分配给用户的 IP地址 集合, 地址序列中的地址与增值业务之间存在对应关系; 发送器 1003, 用于 将修改后的数据报文发送给第 M个 IP地址对应的增值业务服务器, 以使第 M个 IP地址对应的增值业务服务器对修改后的数据报文进行增值业务的处 理; 第二接收器 1004, 用于接收增值业务处理后的数据报文; 第二处理器 1005, 用于将第二接收器接收到的数据报文中第一 IP地址修改为网络服务器 的 IP地址。
一种实施方式下, 第一接收器 1001具体用于: 接收用户发送给网络服务 器的上行数据报文; 或者, 接收网络服务器发送给用户的下行数据报文。
又一种实施方式下, 第一处理器 1002还用于: 在将第一 IP地址修改为 网络服务器的 IP地址之前,判断所需的 N个增值业务是否全部完成;如果是, 则执行将第一 IP地址修改为网络服务器的 IP地址的步骤; 如果否, 则更改 M的值, 并执行将数据报文中的第一 IP地址修改为地址序列中的第 M个 IP 地址的步骤。
图 11为本发明实施例五提供的网关设备的又一结构示意图, 还包括: 第 三处理器 1006,用于为用户分配地址序列,地址序列中的一个 IP地址对用户 可见, 其他 IP地址对用户不可见。
在上述实施例的基础上, 第三处理器 1006还用于: 建立 N个增值业务 与地址序列中对用户不可见的 IP地址之间的对应关系。
本发明实施例提供的网关设备, 集中完成 SA识别, 将需要增值业务处 理的报文发送给指定的 VAS服务器, 减少了 VAS服务器需要处理的流量, 降低了 VAS服务器的业务识别过程, 降低了运营商对 VAS服务器的投资成 本。
本领域普通技术人员可以理解: 实现上述方法实施例的全部或部分步骤 可以通过程序指令相关的硬件来完成, 前述的程序可以存储于一计算机可读 取存储介质中, 该程序在执行时, 执行包括上述方法实施例的步骤; 而前述 的存储介质包括: ROM、 RAM, 磁碟或者光盘等各种可以存储程序代码的介 质。
最后应说明的是: 以上各实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述各实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改, 或者对其中部分或者全部技术特征进行等同替换; 而这些修改或者替换, 并 不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims

权 利 要 求 书
1、 一种流量控制方法, 其特征在于, 包括:
网关获得用户的数据报文;
确定所述数据报文所需的 N个增值业务, N为大于或等于 1的正整数; 将所述数据报文中的第一 IP地址修改为地址序列中的第 M个 IP地址, 所述第一 IP地址为网络服务器的 IP地址, M为大于或等于 1的正整数, 所 述地址序列为所述网关分配给所述用户的 IP地址集合, 所述地址序列中的地 址与增值业务之间存在对应关系;
将修改后的数据报文发送给第 M个 IP地址对应的增值业务服务器, 以 使所述第 M个 IP地址对应的增值业务服务器对所述修改后的数据报文进行 增值业务的处理;
接收增值业务处理后的数据报文, 将所述第一 IP地址修改为所述网络服 务器的 IP地址。
2、 根据权利要求 1所述的方法, 其特征在于, 所述网关获得用户的数据 报文具体包括:
网关接收所述用户发送给所述网络服务器的上行数据报文; 或者, 网关接收所述网络服务器发送给所述用户的下行数据报文。
3、 根据权利要求 1所述的方法, 其特征在于, 所述将所述第一 IP地址 修改为所述网络服务器的 IP地址之前, 所述方法还包括:
判断所需的 N个增值业务是否全部完成;
如果是, 则执行将所述第一 IP地址修改为所述网络服务器的 IP地址的 步骤;
如果否, 则更改所述 M 的值, 并执行所述将所述数据报文中的第一 IP 地址修改为地址序列中的第 M个 IP地址的步骤。
4、 根据权利要求 1所述的方法, 其特征在于, 所述网关获得用户的数据 报文之前, 所述方法还包括:
为所述用户分配地址序列, 所述地址序列中的一个 IP地址对用户可见, 其他 IP地址对用户不可见。
5、 根据权利要求 4所述的方法, 其特征在于, 所述为所述用户分配地址 序列之后, 所述方法还包括: 建立 N个增值业务与地址序列中对用户不可见的 IP地址之间的对应关
6、 一种网关设备, 其特征在于, 包括:
获得模块, 用于获得用户的数据报文;
确定模块,用于确定所述获得模块获得的数据报文所需的 N个增值业务,
N为大于或等于 1的正整数;
修改模块, 用于将所述获得模块获得的数据报文中的第一 IP地址修改为 地址序列中的第 M个 IP地址, 所述第一 IP地址为网络服务器的 IP地址, M 为大于或等于 1的正整数, 所述地址序列为所述网关分配给所述用户的 IP地 址集合, 所述地址序列中的地址与增值业务之间存在对应关系;
发送模块, 用于将所述修改模块修改后的数据报文发送给第 M个 IP地 址对应的增值业务服务器, 以使所述第 M个 IP地址对应的增值业务服务器 对所述修改后的数据报文进行增值业务的处理;
接收模块, 用于接收增值业务处理后的数据报文;
恢复模块, 用于将所述接收模块接收到的数据报文中的第一 IP地址修改 为所述网络服务器的 IP地址。
7、 根据权利要求 6所述的网关设备, 其特征在于, 所述获得模块具体用 于:
接收所述用户发送给所述网络服务器的上行数据报文; 或者,
接收所述网络服务器发送给所述用户的下行数据报文。
8、 根据权利要求 6所述的网关设备, 其特征在于, 还包括:
判断模块, 用于在所述恢复模块将所述接收模块接收到的数据报文中的 第一 IP地址修改为所述网络服务器的 IP地址之前, 判断所需的 N个增值业 务是否全部完成;
则所述恢复模块具体用于: 如果所述判断模块的判断结果为是, 执行将 所述接收模块接收到的数据报文中的第一 IP地址修改为所述网络服务器的 IP 地址的步骤;
所述修改模块还用于: 如果所述判断模块的判断结果为否, 更改所述 M 的值,并执行所述将所述数据报文中的第一 IP地址修改为地址序列中的第 M 个 IP地址的步骤。
9、 根据权利要求 6所述的网关设备, 其特征在于, 还包括: 分配模块, 用于为所述用户分配地址序列, 所述地址序列中的一个 IP地 址对用户可见, 其他 IP地址对用户不可见。
10、 根据权利要求 9所述的网关设备, 其特征在于, 还包括:
建立模块,用于建立 N个增值业务与地址序列中对用户不可见的 IP地址 之间的对应关系。
11、 一种网关设备, 其特征在于, 包括:
第一接收器, 用于获得用户的数据报文;
第一处理器, 用于确定所述数据报文所需的 N个增值业务, 将所述数据 报文中的第一 IP地址修改为地址序列中的第 M个 IP地址, 其中, N为大于 或等于 1的正整数, M为大于或等于 1的正整数, 所述第一 IP地址为网络服 务器的 IP地址, 所述地址序列为所述网关分配给所述用户的 IP地址集合, 所述地址序列中的地址与增值业务之间存在对应关系;
发送器, 用于将修改后的数据报文发送给第 M个 IP地址对应的增值业 务服务器, 以使所述第 M个 IP地址对应的增值业务服务器对所述修改后的 数据报文进行增值业务的处理;
第二接收器, 用于接收增值业务处理后的数据报文;
第二处理器, 用于将所述第二接收器接收到的数据报文中第一 IP地址修 改为所述网络服务器的 IP地址。
12、 根据权利要求 11所述的网关设备, 其特征在于, 所述第一接收器具 体用于: 接收所述用户发送给所述网络服务器的上行数据报文; 或者, 接收 所述网络服务器发送给所述用户的下行数据报文。
13、 根据权利要求 11所述的网关设备, 其特征在于, 所述第一处理器还 用于:
在将所述第一 IP地址修改为所述网络服务器的 IP地址之前, 判断所需 的 N个增值业务是否全部完成;
如果是, 则执行将所述第一 IP地址修改为所述网络服务器的 IP地址的 步骤;
如果否, 则更改所述 M 的值, 并执行所述将所述数据报文中的第一 IP 地址修改为地址序列中的第 M个 IP地址的步骤。
14、 根据权利要求 11所述的网关设备, 其特征在于, 还包括: 第三处理器, 用于为所述用户分配地址序列, 所述地址序列中的一个 IP 地址对用户可见, 其他 IP地址对用户不可见。
15、 根据权利要求 14所述的网关设备, 其特征在于, 所述第三处理器还 用于:建立 N个增值业务与地址序列中对用户不可见的 IP地址之间的对应关
PCT/CN2013/078151 2013-06-27 2013-06-27 流量控制方法及设备 WO2014205732A1 (zh)

Priority Applications (7)

Application Number Priority Date Filing Date Title
KR1020167001291A KR101870390B1 (ko) 2013-06-27 2013-06-27 흐름 제어 방법 및 기기
PCT/CN2013/078151 WO2014205732A1 (zh) 2013-06-27 2013-06-27 流量控制方法及设备
JP2016522165A JP6145833B2 (ja) 2013-06-27 2013-06-27 フロー制御方法および装置
CN201610512230.5A CN106411724B (zh) 2013-06-27 2013-06-27 流量控制方法及设备
CN201380000692.3A CN103650438B (zh) 2013-06-27 2013-06-27 流量控制方法及设备
EP13887875.6A EP3002917B1 (en) 2013-06-27 2013-06-27 Flow control method and device
US14/998,258 US9923823B2 (en) 2013-06-27 2015-12-24 Flow control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/078151 WO2014205732A1 (zh) 2013-06-27 2013-06-27 流量控制方法及设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US14/998,258 Continuation US9923823B2 (en) 2013-06-27 2015-12-24 Flow control method and device

Publications (1)

Publication Number Publication Date
WO2014205732A1 true WO2014205732A1 (zh) 2014-12-31

Family

ID=50253427

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/078151 WO2014205732A1 (zh) 2013-06-27 2013-06-27 流量控制方法及设备

Country Status (6)

Country Link
US (1) US9923823B2 (zh)
EP (1) EP3002917B1 (zh)
JP (1) JP6145833B2 (zh)
KR (1) KR101870390B1 (zh)
CN (2) CN106411724B (zh)
WO (1) WO2014205732A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10148563B2 (en) * 2013-07-30 2018-12-04 Nec Corporation Communication system, communication apparatus, control apparatus, network device, communication method, control method, and program
CN107534609B (zh) * 2016-04-12 2020-10-27 慧与发展有限责任合伙企业 用于服务功能链的方法、装置及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1556634A (zh) * 2004-01-05 2004-12-22 中兴通讯股份有限公司 一种综合业务平台及其业务流程控制方法
US7177947B1 (en) * 1999-01-22 2007-02-13 Cisco Technology, Inc. Method and apparatus for DNS resolution
CN101459893A (zh) * 2008-12-15 2009-06-17 中兴通讯股份有限公司 一种基于目的归属网络的短消息终呼路由器系统及方法
CN102131239A (zh) * 2010-10-27 2011-07-20 华为技术有限公司 业务处理单元和方法以及业务控制网关和负载均衡方法
US20130029708A1 (en) * 2011-06-24 2013-01-31 Vodafone Ip Licensing Limited Telecommunication networks

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3581589B2 (ja) 1999-01-11 2004-10-27 株式会社日立製作所 通信ネットワークシステムおよび通信ネットワークシステムにおけるサービス管理方法
US20020052915A1 (en) * 2000-04-28 2002-05-02 Bahman Amin-Salehi Network service provider gateway that provides value added services
US7032031B2 (en) * 2000-06-23 2006-04-18 Cloudshield Technologies, Inc. Edge adapter apparatus and method
US20020101848A1 (en) * 2000-12-05 2002-08-01 Ivan Lee Systems and methods for on-location, wireless access of web content
JP2002269061A (ja) * 2001-03-08 2002-09-20 Ntt Comware Corp クライアントサーバシステム、中継サーバ、接続先サーバの決定方法
JP3898498B2 (ja) 2001-12-06 2007-03-28 富士通株式会社 サーバ負荷分散システム
US20050289244A1 (en) * 2004-06-28 2005-12-29 Himansu Sahu Method for service chaining in a communication network
US8223631B2 (en) * 2008-05-30 2012-07-17 At&T Intellectual Property I, L.P. Systems and methods to monitor and analyze customer equipment downtime in a voice over internet protocol (VoIP) service network
WO2012004815A2 (en) * 2010-07-09 2012-01-12 Logica Private Limited System and method of proving energy as service
CN102131154B (zh) * 2010-11-30 2013-10-09 华为技术有限公司 一种消息增值业务处理方法、装置
JP5526015B2 (ja) 2010-12-22 2014-06-18 株式会社日立製作所 ゲートウェイシステム、ゲートウェイ装置、負荷分散方法
JP2013105308A (ja) * 2011-11-14 2013-05-30 Nippon Telegr & Teleph Corp <Ntt> 負荷分散システム、負荷分散装置、負荷分散方法および負荷分散プログラム
US9094364B2 (en) * 2011-12-23 2015-07-28 A10 Networks, Inc. Methods to manage services over a service gateway
WO2012126423A2 (zh) * 2012-05-15 2012-09-27 华为技术有限公司 控制业务传输的方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7177947B1 (en) * 1999-01-22 2007-02-13 Cisco Technology, Inc. Method and apparatus for DNS resolution
CN1556634A (zh) * 2004-01-05 2004-12-22 中兴通讯股份有限公司 一种综合业务平台及其业务流程控制方法
CN101459893A (zh) * 2008-12-15 2009-06-17 中兴通讯股份有限公司 一种基于目的归属网络的短消息终呼路由器系统及方法
CN102131239A (zh) * 2010-10-27 2011-07-20 华为技术有限公司 业务处理单元和方法以及业务控制网关和负载均衡方法
US20130029708A1 (en) * 2011-06-24 2013-01-31 Vodafone Ip Licensing Limited Telecommunication networks

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3002917A4 *

Also Published As

Publication number Publication date
CN103650438B (zh) 2016-08-10
KR20160020562A (ko) 2016-02-23
EP3002917A4 (en) 2016-06-22
EP3002917A1 (en) 2016-04-06
EP3002917B1 (en) 2017-09-13
CN106411724A (zh) 2017-02-15
CN103650438A (zh) 2014-03-19
US9923823B2 (en) 2018-03-20
JP6145833B2 (ja) 2017-06-14
CN106411724B (zh) 2019-08-23
US20160134541A1 (en) 2016-05-12
KR101870390B1 (ko) 2018-06-22
JP2016530601A (ja) 2016-09-29

Similar Documents

Publication Publication Date Title
US11811965B2 (en) Charging method and device for a charging session for a user session utilizing a charging key
RU2583723C2 (ru) Способ и устройство для управления передачей сервиса
US8989000B2 (en) Cloud-based telecommunications infrastructure
CN111246453B (zh) 一种数据传输方法、用户面网元及控制面网元
US9270596B2 (en) Selection of virtual network elements
US10609225B2 (en) Charging method, apparatus, and system
US20130272247A1 (en) Methods for establishing and using public path, m2m communication method, and systems thereof
JP6164219B2 (ja) 移動通信システム、制御装置、通信制御方法、及びプログラム
WO2011098051A1 (zh) 优先级业务处理方法、装置和系统
WO2011026440A1 (zh) 群组策略与计费规则处理方法、装置以及通信系统
KR20120014586A (ko) 모바일 가상 사설망 통신을 위한 방법, 장치 및 시스템
CN103546304A (zh) 业务处理方法、设备及系统
CN107547665B (zh) 一种dhcp地址分配的方法、设备及系统
US10326520B2 (en) Method and apparatus for providing relay service using a relay user equipment
CN109088823B (zh) 一种实现终端互联的方法及装置
US20240163725A1 (en) Systems and methods for supporting multi-access edge computing using application-based quality of service flows
WO2014205732A1 (zh) 流量控制方法及设备
CN113938814B (zh) 内容分发网络的业务调度方法、upf、系统以及介质
JP2019518382A5 (zh)
WO2016173363A1 (zh) 策略规则制定方法、系统及装置
CA3130666C (en) Multi-layered distributed gtp-c processing
CN103874240A (zh) 一种信令发起方法、装置及网关设备
CN109089002B (zh) 一种非法网络电话的封堵方法及设备
CN113438096B (zh) 保障服务质量的方法、系统和应用功能实体
WO2013116978A1 (zh) 用户资源请求的处理方法、装置及系统

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

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2016522165

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2013887875

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2013887875

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 20167001291

Country of ref document: KR

Kind code of ref document: A