WO2017193960A1 - Data stream distribution method and apparatus, and communication system - Google Patents

Data stream distribution method and apparatus, and communication system Download PDF

Info

Publication number
WO2017193960A1
WO2017193960A1 PCT/CN2017/083975 CN2017083975W WO2017193960A1 WO 2017193960 A1 WO2017193960 A1 WO 2017193960A1 CN 2017083975 W CN2017083975 W CN 2017083975W WO 2017193960 A1 WO2017193960 A1 WO 2017193960A1
Authority
WO
WIPO (PCT)
Prior art keywords
data stream
target device
forwarded
distribution
matching
Prior art date
Application number
PCT/CN2017/083975
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 WO2017193960A1 publication Critical patent/WO2017193960A1/en

Links

Images

Classifications

    • 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
    • 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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • 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/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2408Traffic characterised by specific attributes, e.g. priority or QoS for supporting different services, e.g. a differentiated services [DiffServ] type of service

Definitions

  • An embodiment of the present invention provides a data stream distribution apparatus, including:
  • An obtaining module configured to obtain a distribution attribute of the data stream to be forwarded
  • the embodiment of the present invention provides a communication system, which includes the data stream distribution apparatus provided by the embodiment of the present invention.
  • the method and apparatus of the present application are applicable to the field of communications. After obtaining the distribution attribute of the data stream to be forwarded, the target device of the data stream to be forwarded is determined, and the data stream to be forwarded is distributed to the target device, so that the traffic is configured for the large traffic and the serial deployment environment according to the configuration.
  • the strategy distributes traffic to different network elements, improves traffic forwarding efficiency, and solves the problem that the existing traffic gateway adopts the serial mode to cause unreasonable resource allocation and improves the user experience.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)

Abstract

Disclosed are a data stream distribution method and apparatus, and a communication system. The method comprises: acquiring a distribution attribute of a data stream to be forwarded; according to a correlation between the distribution attribute and a target device, determining a target device of the data stream to be forwarded; and distributing the data stream to be forwarded to the target device. By means of the technical solution provided in the present invention, after a distribution attribute of a data stream to be forwarded is acquired, a target device of the data stream to be forwarded is determined, and the data stream to be forwarded is distributed to the target device, such that with regard to a large-flow and series-connection deployment environment, flows are distributed to different network elements according to a configured policy, thereby improving the flow forwarding efficiency, solving the problem of unreasonable resource allocation caused by the fact that an existing flow gateway uses a series-connection mode, and improving the user experience.

Description

一种数据流分发方法、装置及通信系统Data stream distribution method, device and communication system 技术领域Technical field
本发明的实施例涉及通信领域,尤其涉及一种数据流分发方法、装置及通信系统。Embodiments of the present invention relate to the field of communications, and in particular, to a data stream distribution method, apparatus, and communication system.
背景技术Background technique
随着互联网技术的蓬勃发展,尤其是移动互联网的兴起,互联网数据流量进入大爆炸阶段;为应对大流量挑战,需要大幅度提升现网的流量网关分流性能,才能提升用户体验。With the rapid development of Internet technology, especially the rise of mobile Internet, Internet data traffic has entered the big bang stage; in order to cope with the big traffic challenge, it is necessary to greatly improve the traffic gateway traffic offload performance of the existing network to enhance the user experience.
现有服务运营商的网设备复杂,不同网元承载的业务不同,流量网关在组网时采用串联模式,这样数据流需要经过所有网元后才发送给SP(服务提供商),这种处理缺点显而易见:处理能力低下的网元将成为整个网络性能瓶颈,不同业务不一定需要所有流量,会造成流量浪费,即现有流量网关采用串联模式导致资源分配不合理。The network equipment of the existing service provider is complex, and the services carried by different network elements are different. The traffic gateway adopts the serial mode when networking, so that the data flow needs to pass through all the network elements before being sent to the SP (service provider). The shortcomings are obvious: the network element with low processing power will become the bottleneck of the entire network performance. Different services do not need all the traffic, which will cause waste of traffic. That is, the existing traffic gateway adopts the serial mode and the resource allocation is unreasonable.
针对上述问题,提出一种数据流分发方法,以解决现有流量网关采用串联模式导致资源分配不合理的问题,是本领域技术人员亟待解决的技术问题。Aiming at the above problems, a data stream distribution method is proposed to solve the problem that the existing traffic gateway adopts the serial mode to cause unreasonable resource allocation, which is a technical problem to be solved by those skilled in the art.
发明内容Summary of the invention
本发明实施例提供了一种数据流分发方法、装置及通信系统,以解决现有流量网关采用串联模式导致资源分配不合理的问题。The embodiment of the invention provides a data stream distribution method, device and communication system, so as to solve the problem that the existing traffic gateway adopts the serial mode, resulting in unreasonable resource allocation.
本发明实施例提供了一种数据流分发方法,其包括:An embodiment of the present invention provides a data stream distribution method, including:
获取待转发数据流的分发属性;Obtain the distribution attribute of the data stream to be forwarded;
根据分发属性与目标设备的对应关系,确定待转发数据流的目标设备;Determining a target device of the data stream to be forwarded according to the correspondence between the distribution attribute and the target device;
将待转发数据流分发至目标设备。Distribute the data stream to be forwarded to the target device.
进一步的,分发属性包括数据流的用户号段、承载类型和服务器地址;确定待转发数据流的目标设备包括:根据分发属性在对应关系中进行匹配,根据匹配结果确定目标设备。Further, the distribution attribute includes a user number segment, a bearer type, and a server address of the data stream. The target device that determines the data stream to be forwarded includes: matching in the corresponding relationship according to the distribution attribute, and determining the target device according to the matching result.
进一步的,根据匹配结果确定目标设备包括:若匹配成功,则目标设备为WAP网关或者NET网关,若匹配失败,则目标设备为服务提供商服务器。Further, determining the target device according to the matching result includes: if the matching is successful, the target device is a WAP gateway or a NET gateway, and if the matching fails, the target device is a service provider server.
进一步的,若目标设备为WAP网关或者NET网关,确定待转发数据流的目标设备,还包括:根据对应关系匹配动作类型及动作参数;将待转发数据流分发至目标 设备包括:根据匹配的动作类型及动作参数处理待转发数据流后,分发至目标设备。Further, if the target device is a WAP gateway or a NET gateway, determining the target device of the data stream to be forwarded, the method further includes: matching the action type and the action parameter according to the corresponding relationship; and distributing the data stream to be forwarded to the target The device includes: processing the data stream to be forwarded according to the matched action type and the action parameter, and distributing the data stream to the target device.
进一步的,对应关系包括多个下发策略;确定待转发数据流的目标设备包括:根据下发策略的优先级,对分发属性进行匹配。Further, the corresponding relationship includes multiple delivery policies. The target device that determines the data flow to be forwarded includes: matching the distribution attributes according to the priority of the delivery policy.
本发明实施例提供了一种数据流分发装置,其包括:An embodiment of the present invention provides a data stream distribution apparatus, including:
获取模块,用于获取待转发数据流的分发属性;An obtaining module, configured to obtain a distribution attribute of the data stream to be forwarded;
处理模块,用于根据分发属性与目标设备的对应关系,确定待转发数据流的目标设备;a processing module, configured to determine, according to a correspondence between the distribution attribute and the target device, a target device of the data stream to be forwarded;
分发模块,用于将待转发数据流分发至目标设备。A distribution module, configured to distribute the data stream to be forwarded to the target device.
进一步的,分发属性包括数据流的用户号段、承载类型和服务器地址;处理模块用于根据分发属性在对应关系中进行匹配,根据匹配结果确定目标设备。Further, the distribution attribute includes a user number segment, a bearer type, and a server address of the data stream; the processing module is configured to perform matching in the corresponding relationship according to the distribution attribute, and determine the target device according to the matching result.
进一步的,处理模块用于若匹配成功,则目标设备为WAP网关或者NET网关,若匹配失败,则目标设备为服务提供商服务器。Further, the processing module is configured to: if the matching is successful, the target device is a WAP gateway or a NET gateway, and if the matching fails, the target device is a service provider server.
进一步的,若目标设备为WAP网关或者NET网关,处理模块还用于根据对应关系匹配动作类型及动作参数;将待转发数据流分发至目标设备包括:根据匹配的动作类型及动作参数处理待转发数据流后,分发至目标设备。Further, if the target device is a WAP gateway or a NET gateway, the processing module is further configured to match the action type and the action parameter according to the corresponding relationship; and the distributing the data stream to be forwarded to the target device includes: processing the to-be-forward according to the matched action type and the action parameter After the data stream, it is distributed to the target device.
进一步的,对应关系包括多个下发策略;处理模块用于根据下发策略的优先级,对分发属性进行匹配。Further, the correspondence relationship includes multiple delivery policies; the processing module is configured to match the distribution attributes according to the priority of the delivery policy.
本发明实施例提供了一种通信系统,其包括本发明实施例提供的数据流分发装置。The embodiment of the present invention provides a communication system, which includes the data stream distribution apparatus provided by the embodiment of the present invention.
本发明实施例还提供一种计算机可读存储介质,用于存储程序,其中所述程序被执行时使得数据流分发装置执行上述方法中的步骤。The embodiment of the invention further provides a computer readable storage medium for storing a program, wherein when the program is executed, the data stream distribution device performs the steps in the above method.
本发明实施例的有益效果:Advantageous effects of embodiments of the present invention:
本发明实施例提供了一种数据流分发方法,在获取到待转发数据流的分发属性后,确定待转发数据流的目标设备,并将待转发数据流分发至目标设备,这样针对大流量和串联部署环境,根据配置的策略把流量分发到不同网元,提高流量转发效率,解决了现有流量网关采用串联模式导致资源分配不合理的问题,提升了用户体验。An embodiment of the present invention provides a data stream distribution method, after obtaining a distribution attribute of a data stream to be forwarded, determining a target device of the data stream to be forwarded, and distributing the data stream to be forwarded to the target device, so that the traffic is large and The tandem deployment environment distributes traffic to different NEs according to the configured policy, improves traffic forwarding efficiency, and solves the problem that the existing traffic gateway adopts the serial mode to cause unreasonable resource allocation and improves the user experience.
附图说明DRAWINGS
图1为本发明第一实施例提供的数据流分发装置的结构示意图;1 is a schematic structural diagram of a data stream distribution apparatus according to a first embodiment of the present invention;
图2为本发明第二实施例提供的数据流分发方法的流程图; 2 is a flowchart of a data stream distribution method according to a second embodiment of the present invention;
图3是本发明第三实施例提供的通信系统的结构图;3 is a structural diagram of a communication system according to a third embodiment of the present invention;
图4是本发明第三实施例中的数据流分发方法的示意图;4 is a schematic diagram of a data stream distribution method in a third embodiment of the present invention;
图5是本发明第三实施例中的数据流分发方法的流程图。Figure 5 is a flow chart showing a data stream distribution method in a third embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本发明中一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
现通过具体实施方式结合附图的方式对本发明实施例做出进一步的诠释说明。The embodiments of the present invention are further illustrated by the specific embodiments and the accompanying drawings.
第一实施例:First embodiment:
图1为本发明第一实施例提供的数据流分发装置的结构示意图,由图1可知,本实施例中提供的数据流分发装置包括:1 is a schematic structural diagram of a data stream distribution apparatus according to a first embodiment of the present invention. As shown in FIG. 1, the data stream distribution apparatus provided in this embodiment includes:
获取模块11,用于获取待转发数据流的分发属性;The obtaining module 11 is configured to obtain a distribution attribute of the data stream to be forwarded;
处理模块12,用于根据分发属性与目标设备的对应关系,确定待转发数据流的目标设备;The processing module 12 is configured to determine, according to a correspondence between the distribution attribute and the target device, a target device that is to forward the data stream;
分发模块13,用于将待转发数据流分发至目标设备。The distribution module 13 is configured to distribute the data stream to be forwarded to the target device.
在一些实施例中,上述实施例中的分发属性包括数据流的用户号段、承载类型和服务器地址;处理模块12用于根据分发属性在对应关系中进行匹配,根据匹配结果确定目标设备。In some embodiments, the distribution attribute in the foregoing embodiment includes a user number segment, a bearer type, and a server address of the data stream. The processing module 12 is configured to perform matching in the correspondence according to the distribution attribute, and determine the target device according to the matching result.
在一些实施例中,上述实施例中的处理模块12用于若匹配成功,则目标设备为WAP网关或者NET网关,若匹配失败,则目标设备为服务提供商服务器。In some embodiments, the processing module 12 in the foregoing embodiment is configured to: if the matching is successful, the target device is a WAP gateway or a NET gateway, and if the matching fails, the target device is a service provider server.
在一些实施例中,若目标设备为WAP网关或者NET网关,上述实施例中的处理模块12还用于根据对应关系匹配动作类型及动作参数;将待转发数据流分发至目标设备包括:根据匹配的动作类型及动作参数处理待转发数据流后,分发至目标设备。In some embodiments, if the target device is a WAP gateway or a NET gateway, the processing module 12 in the foregoing embodiment is further configured to match the action type and the action parameter according to the corresponding relationship; and distributing the data stream to be forwarded to the target device includes: matching After the action type and action parameters are processed, the data stream to be forwarded is distributed to the target device.
在一些实施例中,上述实施例中的对应关系包括多个下发策略;处理模块12用于根据下发策略的优先级,对分发属性进行匹配。In some embodiments, the corresponding relationship in the foregoing embodiment includes multiple delivery policies; the processing module 12 is configured to match the distribution attributes according to the priority of the delivery policy.
对应的,本发明实施例提供了一种通信系统,其包括本发明实施例提供的数据流分发装置。Correspondingly, the embodiment of the present invention provides a communication system, which includes the data stream distribution apparatus provided by the embodiment of the present invention.
第二实施例: Second embodiment:
图2为本发明第二实施例提供的数据流分发方法的流程图,由图2可知,本实施例中提供的数据流分发方法包括:2 is a flowchart of a data stream distribution method according to a second embodiment of the present invention. As shown in FIG. 2, the data stream distribution method provided in this embodiment includes:
S201:获取待转发数据流的分发属性;S201: Acquire a distribution attribute of the data stream to be forwarded;
S202:根据分发属性与目标设备的对应关系,确定待转发数据流的目标设备;S202: Determine, according to the correspondence between the distribution attribute and the target device, the target device of the data stream to be forwarded;
S203:将待转发数据流分发至目标设备。S203: Distribute the data stream to be forwarded to the target device.
在一些实施例中,上述实施例中的分发属性包括数据流的用户号段、承载类型和服务器地址;确定待转发数据流的目标设备包括:根据分发属性在对应关系中进行匹配,根据匹配结果确定目标设备。In some embodiments, the distribution attribute in the foregoing embodiment includes a user number segment, a bearer type, and a server address of the data stream. The target device that determines the data stream to be forwarded includes: matching in the corresponding relationship according to the distribution attribute, according to the matching result. Identify the target device.
在一些实施例中,上述实施例中的根据匹配结果确定目标设备包括:若匹配成功,则目标设备为WAP网关或者NET网关,若匹配失败,则目标设备为服务提供商服务器。In some embodiments, determining the target device according to the matching result in the foregoing embodiment includes: if the matching is successful, the target device is a WAP gateway or a NET gateway, and if the matching fails, the target device is a service provider server.
在一些实施例中,若目标设备为WAP网关或者NET网关,确定待转发数据流的目标设备,上述实施例中的方法还包括:根据对应关系匹配动作类型及动作参数;将待转发数据流分发至目标设备包括:根据匹配的动作类型及动作参数处理待转发数据流后,分发至目标设备。In some embodiments, if the target device is a WAP gateway or a NET gateway, the target device that determines the data stream to be forwarded, the method in the foregoing embodiment further includes: matching the action type and the action parameter according to the corresponding relationship; and distributing the data stream to be forwarded The target device includes: processing the data stream to be forwarded according to the matched action type and the action parameter, and distributing the data stream to the target device.
在一些实施例中,对应关系包括多个下发策略;上述实施例中的确定待转发数据流的目标设备包括:根据下发策略的优先级,对分发属性进行匹配。In some embodiments, the corresponding relationship includes multiple delivery policies. The target device that determines the data flow to be forwarded in the foregoing embodiment includes: matching the distribution attributes according to the priority of the delivery policy.
第三实施例:Third embodiment:
现结合具体应用场景对本发明实施例做进一步的诠释说明。The embodiments of the present invention are further explained in conjunction with specific application scenarios.
本实施例提供一种高性能分流网关,可根据策略把移动互联网流量分发到不同网元;支持三种分发模式:把HTTP流量(包括访问WAP代理流量)和wap1x流量分发到WAP网关模块,把HTTP流量分发到运营商的其它NET管理模块,把流量直接透传到SP;三种分发模式依据配置策略进行,策略匹配条件包括承载类型组(联通运营商规定)、MSISDN(Mobile Subscriber International ISDN/PSTN number,主叫用户为呼叫GSMPLMN中的一个移动用户所需拨的号码,作用同于固定网PSTN号码;是在公共电话网交换网络编号计划中,唯一能识别移动用户的号码)组,服务器组;在实际应用中,策略匹配条件可动态管理,修改后动态生效。This embodiment provides a high-performance traffic distribution gateway, which can distribute mobile Internet traffic to different network elements according to policies; supports three distribution modes: distributing HTTP traffic (including accessing WAP proxy traffic) and wap1x traffic to the WAP gateway module, and The HTTP traffic is distributed to other NET management modules of the carrier, and the traffic is directly transmitted to the SP. The three distribution modes are performed according to the configuration policy. The policy matching conditions include the bearer type group (provided by the Unicom operator) and the MSISDN (Mobile Subscriber International ISDN/). PSTN number, the calling user is the number required to call a mobile subscriber in the GSMPLMN, which acts as the fixed network PSTN number; it is the only number in the public switched telephone network numbering plan that can identify the mobile subscriber), the server Group; in actual applications, the policy matching conditions can be dynamically managed, and the dynamics take effect after modification.
本实施例和其它方案相比,主要有以下特色:Compared with other solutions, this embodiment has the following main features:
大流量高效分发,如附图3、图4所示:Large-flow distribution is efficient, as shown in Figure 3 and Figure 4:
1、采用DPDK内核模块接管承载业务流量万兆网卡,实现大流量数据流接收和 发送;1. Adopt the DPDK kernel module to take over the 10G NIC carrying the traffic, and realize the large-flow data stream receiving and send;
2、业务处理机采用了虚拟网络技术,把流量分发模块与其它业务处理模块(WAP模块、NET处理模块)隔离在不同的网络平面;2. The service processor adopts a virtual network technology to isolate the traffic distribution module from other service processing modules (WAP module, NET processing module) in different network planes;
3、流量分发模块和业务处理模块隔离的目的是把数据经过交换机二层转发给虚拟网络平面的业务,效率很高;如果不采用虚拟网络隔离,就要使用DPDK提供的内核模块把数据包转换为内核协议栈兼容数据结构发送给业务,而DPDK提供的内核模块效率不高;3. The purpose of the traffic distribution module and the service processing module is to forward data to the virtual network plane through the Layer 2 switch. The efficiency is high. If virtual network isolation is not used, the packet is translated by the kernel module provided by the DPDK. The core protocol stack compatible data structure is sent to the service, and the kernel module provided by the DPDK is not efficient;
4、DPDK接管业务流量承载网卡后,采用DPDK无锁ring、处理线程核绑定等技术进行数据流量高效转发;4. After the DPDK takes over the service traffic carrying network card, the DPDK uses the technology of lock-free ring and processing thread core binding to efficiently forward data traffic.
流量依据策略配置分发到不同网元,如附图5所示:The traffic is distributed to different NEs according to the policy configuration, as shown in Figure 5:
S501、运维下发策略给业务。S501. The O&M delivers the policy to the service.
策略段组成包括:用户号段、承载类型、服务器ip、动作类型等,号段以tire树保存,其它配置段以hash表保存在内存中。为便于动态更新,采用主副表存储,支持策略优先级;The policy segment consists of: user number segment, bearer type, server ip, action type, etc. The number segment is saved in the tire tree, and other configuration segments are stored in the memory in the hash table. In order to facilitate dynamic update, the primary and secondary table storage is used to support the policy priority;
S502-S510、数据流分发。S502-S510, data stream distribution.
具体的,数据流分发包括:Specifically, the data stream distribution includes:
业务获取数据流后,根据下发策略的优先级由高到低进行匹配,需要依次匹配号段组、承载类型组、服务器信息,如果同时满足,则认为匹配成功,获取策略的动作类型;After the service obtains the data flow, the priority of the delivery policy is matched from high to low. The number of the segment group, the bearer type group, and the server information are matched in sequence. If the match is successful, the match is considered successful, and the action type of the policy is obtained.
数据流根据匹配成功的动作类型和动作参数,分发数据流到对应网元,如:动作类型是分发WAP网关,则修改数据包的目的ip和端口发送到对应的WAP网关;The data stream distributes the data stream to the corresponding network element according to the matching action type and the action parameter. For example, if the action type is to distribute the WAP gateway, the destination ip and the port of the modified data packet are sent to the corresponding WAP gateway.
若数据流匹配失败,则根据默认策略处理,一般是直接透传SP。If the data stream fails to match, it is processed according to the default policy, and the SP is generally directly transmitted.
综上可知,本发明实施例提供的技术方案至少存在以下有益效果:In summary, the technical solutions provided by the embodiments of the present invention have at least the following beneficial effects:
本发明实施例提供了一种数据流分发方法,在获取到待转发数据流的分发属性后,确定待转发数据流的目标设备,并将待转发数据流分发至目标设备,这样针对大流量和串联部署环境,根据配置的策略把流量分发到不同网元,提高流量转发效率,解决了现有流量网关采用串联模式导致资源分配不合理的问题,提升了用户体验。An embodiment of the present invention provides a data stream distribution method, after obtaining a distribution attribute of a data stream to be forwarded, determining a target device of the data stream to be forwarded, and distributing the data stream to be forwarded to the target device, so that the traffic is large and The tandem deployment environment distributes traffic to different NEs according to the configured policy, improves traffic forwarding efficiency, and solves the problem that the existing traffic gateway adopts the serial mode to cause unreasonable resource allocation and improves the user experience.
本发明实施例中数据流分发装置中的各个模块或单元可以通过一个或多个数字信号处理器(DSP)、专用集成电路(ASIC)、处理器、微处理器、控制器、微控 制器、现场可编程阵列(FPGA)、可编程逻辑器件或其他电子单元或其任意组合来实现。在本申请实施例中描述的一些功能或处理也可以通过在处理器上执行的软件来实现。Each module or unit in the data stream distribution apparatus in the embodiment of the present invention may pass through one or more digital signal processors (DSPs), application specific integrated circuits (ASICs), processors, microprocessors, controllers, and microcontrollers. Implemented by a controller, field programmable array (FPGA), programmable logic device, or other electronic unit, or any combination thereof. Some of the functions or processes described in this application embodiment may also be implemented by software executing on a processor.
例如,本发明实施例还提供了一种数据流分发装置,包括:For example, the embodiment of the present invention further provides a data stream distribution apparatus, including:
处理器;processor;
用于存储处理器可执行指令的存储器;a memory for storing processor executable instructions;
其中,所述处理器被配置为:Wherein the processor is configured to:
获取待转发数据流的分发属性;Obtain the distribution attribute of the data stream to be forwarded;
根据分发属性与目标设备的对应关系,确定所述待转发数据流的目标设备;Determining, according to a correspondence between the distribution attribute and the target device, the target device of the data stream to be forwarded;
将所述待转发数据流分发至所述目标设备。Distributing the to-be-forwarded data stream to the target device.
该处理器还可以被设置为执行上述方法中的其他步骤。The processor can also be arranged to perform other steps in the above method.
上述存储器可以是包括指令的非临时性计算机可读存储介质,例如,ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。The above memory may be a non-transitory computer readable storage medium including instructions such as a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.
工业实用性Industrial applicability
本申请的方法和装置可应用于通信领域中。采用本申请的技术方案,在获取到待转发数据流的分发属性后,确定待转发数据流的目标设备,并将待转发数据流分发至目标设备,这样针对大流量和串联部署环境,根据配置的策略把流量分发到不同网元,提高流量转发效率,解决了现有流量网关采用串联模式导致资源分配不合理的问题,提升了用户体验。The method and apparatus of the present application are applicable to the field of communications. After obtaining the distribution attribute of the data stream to be forwarded, the target device of the data stream to be forwarded is determined, and the data stream to be forwarded is distributed to the target device, so that the traffic is configured for the large traffic and the serial deployment environment according to the configuration. The strategy distributes traffic to different network elements, improves traffic forwarding efficiency, and solves the problem that the existing traffic gateway adopts the serial mode to cause unreasonable resource allocation and improves the user experience.
以上仅是本发明的具体实施方式而已,并非对本发明做任何形式上的限制,凡是依据本发明实施例的技术实质对以上实施方式所做的任意简单修改、等同变化、结合或修饰,均仍属于本发明的保护范围。 The above is only a specific embodiment of the present invention, and is not intended to limit the present invention in any way. Any simple modification, equivalent change, combination or modification of the above embodiments in accordance with the technical essence of the embodiments of the present invention remains It belongs to the scope of protection of the present invention.

Claims (12)

  1. 一种数据流分发方法,其中,包括:A data stream distribution method, comprising:
    获取待转发数据流的分发属性;Obtain the distribution attribute of the data stream to be forwarded;
    根据分发属性与目标设备的对应关系,确定所述待转发数据流的目标设备;Determining, according to a correspondence between the distribution attribute and the target device, the target device of the data stream to be forwarded;
    将所述待转发数据流分发至所述目标设备。Distributing the to-be-forwarded data stream to the target device.
  2. 如权利要求1所述的数据流分发方法,其中,所述分发属性包括数据流的用户号段、承载类型和服务器地址;所述确定所述待转发数据流的目标设备包括:根据所述分发属性在所述对应关系中进行匹配,根据匹配结果确定目标设备。The data stream distribution method according to claim 1, wherein the distribution attribute comprises a user number segment of the data stream, a bearer type, and a server address; and the determining the target device of the data stream to be forwarded comprises: distributing according to the The attributes are matched in the corresponding relationship, and the target device is determined according to the matching result.
  3. 如权利要求2所述的数据流分发方法,其中,所述根据匹配结果确定目标设备包括:若匹配成功,则所述目标设备为WAP网关或者NET网关,若匹配失败,则所述目标设备为服务提供商服务器。The data stream distribution method according to claim 2, wherein the determining the target device according to the matching result comprises: if the matching is successful, the target device is a WAP gateway or a NET gateway, and if the matching fails, the target device is Service provider server.
  4. 如权利要求2所述的数据流分发方法,其中,若所述目标设备为WAP网关或者NET网关,所述确定所述待转发数据流的目标设备,还包括:根据所述对应关系匹配动作类型及动作参数;所述将所述待转发数据流分发至所述目标设备包括:根据匹配的动作类型及动作参数处理所述待转发数据流后,分发至所述目标设备。The data stream distribution method according to claim 2, wherein, if the target device is a WAP gateway or a NET gateway, the determining the target device of the data stream to be forwarded further comprises: matching an action type according to the correspondence relationship And the action parameter; the distributing the to-be-forwarded data stream to the target device comprises: processing the to-be-forwarded data stream according to the matched action type and the action parameter, and distributing the data stream to the target device.
  5. 如权利要求1至4任一项所述的数据流分发方法,其中,所述对应关系包括多个下发策略;所述确定所述待转发数据流的目标设备包括:根据所述下发策略的优先级,对所述分发属性进行匹配。The data stream distribution method according to any one of claims 1 to 4, wherein the correspondence relationship comprises a plurality of delivery policies; the determining the target device of the data flow to be forwarded comprises: according to the delivery policy Priority to match the distribution attributes.
  6. 一种数据流分发装置,其中,包括:A data stream distribution device, comprising:
    获取模块,设置为获取待转发数据流的分发属性;Obtaining a module, configured to obtain a distribution attribute of the data stream to be forwarded;
    处理模块,设置为根据分发属性与目标设备的对应关系,确定所述待转发数据流的目标设备;a processing module, configured to determine, according to a correspondence between the distribution attribute and the target device, the target device of the data stream to be forwarded;
    分发模块,设置为将所述待转发数据流分发至所述目标设备。a distribution module configured to distribute the to-be-forwarded data stream to the target device.
  7. 如权利要求6所述的数据流分发装置,其中,所述分发属性包括数据流的用户号段、承载类型和服务器地址;所述处理模块设置为根据所述分发属性在所述对应关系中进行匹配,根据匹配结果确定目标设备。The data stream distribution apparatus according to claim 6, wherein said distribution attribute includes a user number segment of a data stream, a bearer type, and a server address; said processing module being configured to perform said correspondence in accordance with said distribution attribute Match, determine the target device based on the matching result.
  8. 如权利要求7所述的数据流分发装置,其中,所述处理模块设置为若匹配成功,则所述目标设备为WAP网关或者NET网关,若匹配失败,则所述目标设备为服务提供商服务器。The data stream distribution device according to claim 7, wherein the processing module is configured to: if the matching is successful, the target device is a WAP gateway or a NET gateway, and if the matching fails, the target device is a service provider server. .
  9. 如权利要求7所述的数据流分发装置,其中,若所述目标设备为WAP网关或 者NET网关,所述处理模块还设置为根据所述对应关系匹配动作类型及动作参数;所述将所述待转发数据流分发至所述目标设备包括:根据匹配的动作类型及动作参数处理所述待转发数据流后,分发至所述目标设备。The data stream distribution device according to claim 7, wherein if said target device is a WAP gateway or The NET gateway, the processing module is further configured to match the action type and the action parameter according to the correspondence relationship; the distributing the to-be-forwarded data stream to the target device comprises: processing the location according to the matched action type and the action parameter After the data stream is forwarded, it is distributed to the target device.
  10. 如权利要求6至9任一项所述的数据流分发装置,其中,所述对应关系包括多个下发策略;所述处理模块设置为根据所述下发策略的优先级,对所述分发属性进行匹配。The data stream distribution apparatus according to any one of claims 6 to 9, wherein the correspondence relationship includes a plurality of delivery policies; the processing module is configured to perform the distribution according to a priority of the delivery policy The attributes are matched.
  11. 一种通信系统,其中,包括如权利要求6至10任一项所述的数据流分发装置。A communication system comprising the data stream distribution device according to any one of claims 6 to 10.
  12. 一种计算机可读存储介质,用于存储程序,其中所述程序被执行时使得数据流分发装置执行如权利要求1到5中任一项所述的方法中的步骤。 A computer readable storage medium for storing a program, wherein the program is executed such that the data stream distribution device performs the steps of the method of any one of claims 1 to 5.
PCT/CN2017/083975 2016-05-11 2017-05-11 Data stream distribution method and apparatus, and communication system WO2017193960A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610313352.1A CN107371190A (en) 2016-05-11 2016-05-11 A kind of data stream distributing method, device and communication system
CN201610313352.1 2016-05-11

Publications (1)

Publication Number Publication Date
WO2017193960A1 true WO2017193960A1 (en) 2017-11-16

Family

ID=60266344

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/083975 WO2017193960A1 (en) 2016-05-11 2017-05-11 Data stream distribution method and apparatus, and communication system

Country Status (2)

Country Link
CN (1) CN107371190A (en)
WO (1) WO2017193960A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108989433A (en) * 2018-07-23 2018-12-11 中国联合网络通信集团有限公司 A kind of WAP-APN business access method and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110110328A1 (en) * 2009-11-11 2011-05-12 Venkatesan Pradeep Method and Apparatus for Providing WiMAX (Worldwide Interoperability for Microwave Access) Anchor Mode Service on a System with Distributed Forwarding Planes
CN102238149A (en) * 2010-05-05 2011-11-09 华为技术有限公司 Method, device and system for terminal to access to services
CN103250382A (en) * 2012-12-28 2013-08-14 华为技术有限公司 Distribution method, apparatus and system
CN104283801A (en) * 2013-07-04 2015-01-14 中兴通讯股份有限公司 Method and system for processing service data
EP2844022A1 (en) * 2013-08-29 2015-03-04 Alcatel Lucent Method and system for routing cdn traffic with a shadow packet data network gateway
CN104486091A (en) * 2014-12-05 2015-04-01 中国联合网络通信集团有限公司 Charging method and device
WO2015109821A1 (en) * 2014-01-24 2015-07-30 中兴通讯股份有限公司 Service chain management method, system and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110110328A1 (en) * 2009-11-11 2011-05-12 Venkatesan Pradeep Method and Apparatus for Providing WiMAX (Worldwide Interoperability for Microwave Access) Anchor Mode Service on a System with Distributed Forwarding Planes
CN102238149A (en) * 2010-05-05 2011-11-09 华为技术有限公司 Method, device and system for terminal to access to services
CN103250382A (en) * 2012-12-28 2013-08-14 华为技术有限公司 Distribution method, apparatus and system
CN104283801A (en) * 2013-07-04 2015-01-14 中兴通讯股份有限公司 Method and system for processing service data
EP2844022A1 (en) * 2013-08-29 2015-03-04 Alcatel Lucent Method and system for routing cdn traffic with a shadow packet data network gateway
WO2015109821A1 (en) * 2014-01-24 2015-07-30 中兴通讯股份有限公司 Service chain management method, system and device
CN104486091A (en) * 2014-12-05 2015-04-01 中国联合网络通信集团有限公司 Charging method and device

Also Published As

Publication number Publication date
CN107371190A (en) 2017-11-21

Similar Documents

Publication Publication Date Title
US11895154B2 (en) Method and system for virtual machine aware policy management
CN103595648B (en) Method and system for balancing load at receiving side of server
WO2023000935A1 (en) Data processing method, network element device, and readable storage medium
WO2015096513A1 (en) Packet processing method, node and system
CN109040243B (en) Message processing method and device
US10693785B2 (en) Method and system for forwarding data, virtual load balancer, and readable storage medium
US10594602B2 (en) Web services across virtual routing and forwarding
US11496599B1 (en) Efficient flow management utilizing control packets
WO2016180188A1 (en) Distributed link establishment method, apparatus and system
CN103220165B (en) Processing method and device for server active downtime
CN113810512A (en) Internet of things terminal access system, method and device and storage medium
RU2013106261A (en) METHOD AND DEVICE FOR DISTRIBUTING VIRTUAL LOCAL NETWORK
US20140025800A1 (en) Systems and methods for multi-blade load balancing
CN112187958A (en) Method and device for registering, discovering and forwarding microservice
WO2020181735A1 (en) Method for providing network address translation (nat) service and controller
CN111541765B (en) Method and system for multi-level routing scheduling
EP4085330A1 (en) Systems, devices and methods for edge node computing
CN112087382B (en) Service routing method and device
US12015557B2 (en) Efficient flow management utilizing unified logging
WO2017193960A1 (en) Data stream distribution method and apparatus, and communication system
KR20110001863A (en) Sip servlet applications co-hosting
CN103118115B (en) Facing cloud calculates virtual machine management method and the device of user
CN114024971A (en) Service data processing method, Kubernetes cluster and medium
WO2024124641A1 (en) Cluster load balancing method, apparatus, electronic device and storage medium
US11637812B2 (en) Dynamic forward proxy chaining

Legal Events

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

Ref country code: DE

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

Ref document number: 17795578

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 17795578

Country of ref document: EP

Kind code of ref document: A1