[go: up one dir, main page]

CN102917408B - Downlink flow control method and system of LNS (L2TP network server) device in 3G (third-generation) network - Google Patents

Downlink flow control method and system of LNS (L2TP network server) device in 3G (third-generation) network Download PDF

Info

Publication number
CN102917408B
CN102917408B CN201210415526.7A CN201210415526A CN102917408B CN 102917408 B CN102917408 B CN 102917408B CN 201210415526 A CN201210415526 A CN 201210415526A CN 102917408 B CN102917408 B CN 102917408B
Authority
CN
China
Prior art keywords
access device
message
network
access
lns
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210415526.7A
Other languages
Chinese (zh)
Other versions
CN102917408A (en
Inventor
林小洁
汤宇浩
朱桂山
陈箭飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Maipu Communication Technology Co Ltd
Original Assignee
Maipu Communication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Maipu Communication Technology Co Ltd filed Critical Maipu Communication Technology Co Ltd
Priority to CN201210415526.7A priority Critical patent/CN102917408B/en
Publication of CN102917408A publication Critical patent/CN102917408A/en
Application granted granted Critical
Publication of CN102917408B publication Critical patent/CN102917408B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明涉及网络通信领域中的路由交换控制技术,其公开了一种3G网络中LNS端下行流量控制方法及系统,在不控制终端接入个数的情况下,合理有效的分配LNS端的下行流量。该方法包括:A.3G接入设备定时向二层隧道协议网络服务器LNS设备发送PPP Keepalive报文,PPP Keepalive报文中携带该3G接入设备的3G接入接口的信号值、网络服务类型信息;B.LNS设备接收到3G接入设备的PPP Keepalive报文后,根据报文中的3G接入设备的3G接入接口的信号值、网络服务类型信息,计算和该3G接入设备对应的发送优先级并保存;C.LNS设备接收到待发送到3G接入设备的报文时,根据记录的该3G接入设备对应的发送优先级,将报文入队到与发送优先级对应的QOS队列以进行发送。本发明适用于3G网络中LNS端下行流量的控制。

The present invention relates to routing switching control technology in the field of network communication, which discloses a method and system for controlling the downlink flow of LNS end in 3G network, which can reasonably and effectively distribute the downlink flow of LNS end without controlling the number of terminal access . The method includes: A. The 3G access device regularly sends a PPP Keepalive message to the Layer 2 Tunneling Protocol network server LNS device, and the PPP Keepalive message carries the signal value and network service type information of the 3G access interface of the 3G access device ; After receiving the PPP Keepalive message of the 3G access device, the B.LNS device calculates the corresponding PPP value of the 3G access device according to the signal value and network service type information of the 3G access interface of the 3G access device in the message. Send priority and save it; C. When the LNS device receives a message to be sent to the 3G access device, according to the recorded sending priority of the 3G access device, the message is queued to the corresponding sending priority QOS queue for sending. The invention is applicable to the control of the downstream flow of the LNS end in the 3G network.

Description

3G网络中LNS设备下行流量控制方法及系统Method and system for controlling downlink flow of LNS equipment in 3G network

技术领域technical field

本发明涉及网络通信领域中的网络通信技术,特别涉及在3G网络的虚拟专用拨号网应用中网络服务器设备的下行流量控制方法。The invention relates to network communication technology in the field of network communication, in particular to a downlink flow control method of a network server device in the application of a virtual private dial-up network of a 3G network.

背景技术Background technique

虚拟专用拨号网络(Virtual Private Dial-up Network,VPDN)为那些期望通过网络服务提供商(ISP)提供专线接入到公司网络的远程用户提供连接。随着3G通信技术的广泛应用,在3G专网中出现大量L2TP(Layer 2Tunneling Protocol,二层隧道协议)应用需求,L2TP协议作为VPDN技术的一种,当3G接入设备拨入ISP,由L2TP接入集中器(LAC)同用户网络侧的网络服务器(LNS)建立L2TP隧道,3G接入设备与LNS设备之间通过点对点协议的保活报文(ppp keepalive)来维护链路的连通。Virtual private dial-up network (Virtual Private Dial-up Network, VPDN) provides connections for remote users who expect a dedicated line access to the corporate network through an Internet Service Provider (ISP). With the wide application of 3G communication technology, a large number of L2TP (Layer 2Tunneling Protocol, Layer 2 Tunneling Protocol) application requirements appear in 3G private networks. L2TP protocol is a kind of VPDN technology. When 3G access equipment dials into ISP, L2TP The access concentrator (LAC) establishes an L2TP tunnel with the network server (LNS) on the user network side, and the connection between the 3G access device and the LNS device is maintained through a point-to-point protocol keep-alive message (ppp keepalive).

目前在L2TP(版本2)协议的LNS设备,即用户专线接入侧设备,对于大量的L2TP专线用户缺乏一种简单有效的流量控制方案;因此,在大量3G接入设备同时接入情况下,LNS设备下行流量如何控制是个问题。在传统技术中,常采用的控制措施是:在3G接入设备接入带宽超过一定限制时,就不允许会话接入。该方式只是控制用户的接入,并没有根据每条线路的实际情况来合理分配带宽,对用户而言也不公平。At present, the LNS device of the L2TP (version 2) protocol, that is, the device on the user's private line access side, lacks a simple and effective flow control scheme for a large number of L2TP private line users; therefore, when a large number of 3G access devices are connected at the same time, How to control the downlink flow of LNS equipment is a problem. In the traditional technology, a control measure often adopted is: when the access bandwidth of the 3G access device exceeds a certain limit, session access is not allowed. This method only controls the user's access, and does not allocate the bandwidth reasonably according to the actual situation of each line, which is also unfair to the user.

发明内容Contents of the invention

本发明所要解决的技术问题是:提出一种3G网络中LNS设备下行流量控制方法及系统,在不控制终设备接入个数的情况下,合理有效的分配LNS设备的下行流量。The technical problem to be solved by the present invention is to propose a method and system for controlling the downlink flow of LNS equipment in a 3G network, which can reasonably and effectively distribute the downlink flow of LNS equipment without controlling the number of terminal equipment connected.

本发明解决上述技术问题所采用的方案是:3G网络中LNS设备下行流量控制方法,包括如下步骤:The solution adopted by the present invention to solve the above-mentioned technical problems is: a method for controlling the downlink flow of LNS equipment in a 3G network, comprising the following steps:

A.3G接入设备定时向二层隧道协议网络服务器LNS设备发送点对点协议保活PPPKeepalive报文,所述PPP Keepalive报文中携带该3G接入设备的3G接入接口的信号值、网络服务类型信息;A. The 3G access device regularly sends a point-to-point protocol keep-alive PPPKeepalive message to the Layer 2 Tunneling Protocol network server LNS device, and the PPP Keepalive message carries the signal value and network service type of the 3G access interface of the 3G access device information;

B.LNS设备接收到3G接入设备的PPP Keepalive报文后,根据该PPP Keepalive报文中的3G接入设备的3G接入接口的信号值、网络服务类型信息,计算和该3G接入设备对应的发送优先级并保存;B. After the LNS device receives the PPP Keepalive message of the 3G access device, it calculates and calculates the 3G access device according to the signal value and network service type information of the 3G access interface of the 3G access device in the PPP Keepalive message Corresponding sending priority and save;

C.LNS设备接收到待发送到3G接入设备的报文时,根据记录的该3G接入设备对应的发送优先级,将报文入队到与所述发送优先级对应的QOS队列以进行发送。C. When the LNS device receives a message to be sent to the 3G access device, according to the recorded sending priority corresponding to the 3G access device, the message is queued to the QOS queue corresponding to the sending priority for processing send.

优选地,所述步骤B具体包括:Preferably, said step B specifically includes:

B1.LNS设备建立3G接入设备的3G接入接口的周期信号平均值、网络服务类型与发送优先级之间的对应关系表;B1. The LNS device establishes a correspondence table between the average value of the periodic signal of the 3G access interface of the 3G access device, the network service type and the sending priority;

B2.LNS设备接收到3G接入设备的PPP Keepalive报文后,根据该PPP Keepalive报文中携带的3G接入设备的3G接入接口的信号值、网络服务类型信息,计算该3G接入设备的3G接入接口的周期信号平均值并查询所述对应关系表获取对应的发送优先级,更新保存该3G接入设备对应的虚拟访问接口号、周期信号平均值、发送优先级的记录表。B2. After receiving the PPP Keepalive message of the 3G access device, the LNS device calculates the 3G access device according to the signal value and network service type information of the 3G access interface of the 3G access device carried in the PPP Keepalive message The periodic signal average value of the 3G access interface and query the corresponding relationship table to obtain the corresponding transmission priority, update and save the record table of the virtual access interface number, periodic signal average value, and transmission priority corresponding to the 3G access device.

优选地,所述步骤C具体包括:Preferably, said step C specifically includes:

C1.LNS设备接收到待发送到3G接入设备的报文后,根据该3G接入设备对应的发送优先级设置将该报文对应的QOS队列的优先级,根据设置的QOS队列的优先级将报文入队到对应的QOS队列;C1. After the LNS device receives the message to be sent to the 3G access device, it sets the priority of the QOS queue corresponding to the message according to the sending priority corresponding to the 3G access device, and according to the set priority of the QOS queue Enqueue the message to the corresponding QOS queue;

C2.LNS设备根据QOS策略发送各个QOS队列中的报文。C2. The LNS device sends the packets in each QOS queue according to the QOS policy.

具体地,所述记录表中还保存了3G接入设备的3G接入接口的当前信号值和网络服务类型信息。Specifically, the record table also stores the current signal value and network service type information of the 3G access interface of the 3G access device.

具体地,所述周期信号平均值,是指在设定或配置的时间周期内计算的3G接入设备的3G接入接口的当前信号值的平均值。Specifically, the average value of the periodic signal refers to the average value of the current signal value of the 3G access interface of the 3G access device calculated within a set or configured time period.

具体地,所述3G接入设备的3G接入接口的当前信号值、周期信号平均值是指转换后的代表值。Specifically, the current signal value and the average value of the periodic signal of the 3G access interface of the 3G access device refer to converted representative values.

具体地,所述网络服务类型包括2G网络和3G网络。Specifically, the network service type includes 2G network and 3G network.

本发明的另一个目的是提供一种3G网络中LNS设备下行流量控制系统,包括至少一个3G接入设备和二层隧道协议网络服务器LNS设备,所述3G接入设备通过二层隧道协议访问集中器LAC设备与LNS设备建立的L2TP隧道接入所述LNS设备,其特征在于,Another object of the present invention is to provide a downlink flow control system for LNS equipment in a 3G network, including at least one 3G access equipment and a Layer 2 Tunneling Protocol network server LNS equipment, and the 3G access equipment accesses the centralized network through the Layer 2 Tunneling Protocol The L2TP tunnel established between the LAC device and the LNS device accesses the LNS device, wherein,

3G接入设备,用于定时向二层隧道协议网络服务器LNS设备发送点对点协议保活PPPKeepalive报文,所述PPP Keepalive报文中携带该3G接入设备的3G接入接口的信号值、网络服务类型信息;The 3G access device is used to regularly send a point-to-point protocol keep-alive PPPKeepalive message to the Layer 2 tunneling protocol network server LNS device, and the PPP Keepalive message carries the signal value of the 3G access interface of the 3G access device, network service type information;

LNS设备,用于接收到3G接入设备的PPP Keepalive报文后,根据该PPP Keepalive报文中的3G接入设备的3G接入接口的信号值、网络服务类型信息,计算和该3G接入设备对应的发送优先级并保存;接收到待发送到3G接入设备的报文时,根据记录的该3G接入设备对应的发送优先级,将报文入队到与所述发送优先级对应的QOS队列以进行发送。The LNS device is used to calculate and match the 3G access device according to the signal value and network service type information of the 3G access interface of the 3G access device in the PPP Keepalive message after receiving the PPP Keepalive message of the 3G access device. The transmission priority corresponding to the device is saved; when a message to be sent to the 3G access device is received, according to the recorded transmission priority corresponding to the 3G access device, the message is enqueued to the queue corresponding to the transmission priority QOS queue for sending.

具体地,所述LNS设备还用于,Specifically, the LNS device is also used for,

建立3G接入设备的3G接入接口的周期信号平均值、网络服务类型与发送优先级之间的对应关系表;Establishing a corresponding relationship table between the average value of periodic signals of the 3G access interface of the 3G access device, network service type and transmission priority;

接收到3G接入设备的PPP Keepalive报文后,根据该PPP Keepalive报文中携带的3G接入设备的3G接入接口的信号值、网络服务类型信息,计算该3G接入设备的3G接入接口的周期信号平均值并查询所述对应关系表获取对应的发送优先级,更新保存该3G接入设备对应的虚拟访问接口号、周期信号平均值、发送优先级的记录表。After receiving the PPP Keepalive message of the 3G access device, calculate the 3G access status of the 3G access device according to the signal value and network service type information of the 3G access interface of the 3G access device carried in the PPP Keepalive message. The average value of the periodic signal of the interface and query the corresponding relationship table to obtain the corresponding transmission priority, update and save the record table of the virtual access interface number, the average value of the periodic signal, and the transmission priority corresponding to the 3G access device.

具体地,所述LNS设备还用于,Specifically, the LNS device is also used for,

接收到待发送到3G接入设备的报文后,根据该3G接入设备对应的发送优先级设置将该报文对应的QOS队列的优先级,根据设置的QOS队列的优先级将报文入队到对应的QOS队列;After receiving the message to be sent to the 3G access device, set the priority of the QOS queue corresponding to the message according to the sending priority corresponding to the 3G access device, and send the message into the queue to the corresponding QOS queue;

根据QOS策略发送各个QOS队列中的报文。Send packets in each QOS queue according to the QOS policy.

本发明的有益效果是:通过PPP Keepalive报文将3G接入设备的3G接入接口的信号值、网络服务类型携带至LNS设备,在LNS设备对网络服务类型进行区分和对每种网络类型的信号值的强弱进行记录并通过相关计算,确定发送到3G接入设备的优先级,该优先级与QOS队列关联,可以实现在不控制用户设备接入个数的情况下合理、有效的分配LNS下行带宽。The beneficial effects of the present invention are: the signal value and the network service type of the 3G access interface of the 3G access device are carried to the LNS device through the PPP Keepalive message, and the network service type is distinguished and the network service type of each network type is distinguished in the LNS device. The strength of the signal value is recorded and through related calculations, the priority of sending to the 3G access device is determined. The priority is associated with the QOS queue, which can realize reasonable and effective allocation without controlling the number of user equipment access LNS downlink bandwidth.

附图说明Description of drawings

图1为本发明实施例的3G网络中LNS设备下行流量控制方法流程图;Fig. 1 is the flowchart of the downlink flow control method of LNS equipment in the 3G network of the embodiment of the present invention;

图2为本发明实施例的3G网络中LNS设备下行流量控制网络应用环境示意图。FIG. 2 is a schematic diagram of an application environment of an LNS device downlink traffic control network in a 3G network according to an embodiment of the present invention.

具体实施方式Detailed ways

下面结合附图及实施例对本发明的技术方案作进一步的描述。The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings and embodiments.

本发明实施例提出一种3G网络中LNS设备下行流量控制方法,在不控制终设备接入个数的情况下,合理有效的分配LNS设备的下行流量。参见图1,为本发明实施例的3G网络中LNS设备下行流量控制方法流程图,包括以下实现步骤:The embodiment of the present invention proposes a method for controlling downlink traffic of LNS devices in a 3G network, which can reasonably and effectively distribute downlink traffic of LNS devices without controlling the number of connected terminal devices. Referring to Fig. 1, it is a flowchart of a method for controlling the downlink flow of an LNS device in a 3G network according to an embodiment of the present invention, including the following implementation steps:

步骤101,3G接入设备定时向二层隧道协议网络服务器LNS设备发送点对点协议保活PPPKeepalive报文,所述PPP Keepalive报文中携带该3G接入设备的3G接入接口的信号值、网络服务类型信息。所述网络服务类型包括2G网络和3G网络。Step 101, the 3G access device regularly sends a point-to-point protocol keep-alive PPPKeepalive message to the Layer 2 Tunneling Protocol network server LNS device, and the PPP Keepalive message carries the signal value of the 3G access interface of the 3G access device, network service type information. The network service type includes 2G network and 3G network.

步骤102,LNS设备接收到3G接入设备的PPP Keepalive报文后,根据该PPP Keepalive报文中的3G接入设备的3G接入接口的信号值、网络服务类型信息,计算和该3G接入设备对应的发送优先级并保存。本步骤具体实现包括:Step 102: After receiving the PPP Keepalive message of the 3G access device, the LNS device calculates and calculates the 3G access link according to the signal value and network service type information of the 3G access interface of the 3G access device in the PPP Keepalive message. The sending priority corresponding to the device and save it. The specific implementation of this step includes:

1021,LNS设备建立3G接入设备的3G接入接口的周期信号平均值、网络服务类型与发送优先级之间的对应关系表。该对应关系表中的发送优先级与QOS优先级队列的优先级的分类一致。本步骤中的周期信号平均值,是指在设定或配置的时间周期内计算的3G接入设备的3G接入接口的当前信号值的平均值。例如是指在T1时间内接收到的G接入设备的3G接入接口所有信号值的平均值,当T1预设为2分钟时,由于3G接入设备的3G接入接口默认10秒发送一次PPP Keepalive报文,那么正常情况下LNS设备在2分钟内共收到12个3G接入接口的信号值,对12个信号值进行累计相加后除以12得到的值即为该3G接入设备的3G接入接口的周期信号平均值。一般来说3G接入接口的信号值为负值,为了方便计算可以将真实的周期信号平均值转换为代表值,具体转换可采用下表1所示,此处仅仅是作为示例,并不意味着是对本发明的限制。1021. The LNS device creates a correspondence table between the average value of periodic signals of the 3G access interface of the 3G access device, network service types, and transmission priorities. The sending priority in the correspondence table is consistent with the priority classification of the QOS priority queue. The average value of the periodic signal in this step refers to the average value of the current signal value of the 3G access interface of the 3G access device calculated within the set or configured time period. For example, it refers to the average value of all signals received by the 3G access interface of the G access device within T1 time. When T1 is preset to 2 minutes, the 3G access interface of the 3G access device sends it once every 10 seconds by default. PPP Keepalive message, under normal circumstances, the LNS device receives the signal values of 12 3G access interfaces within 2 minutes, and the value obtained by adding up the 12 signal values and dividing by 12 is the 3G access interface The average value of the periodic signal of the 3G access interface of the device. Generally speaking, the signal value of the 3G access interface is a negative value. For the convenience of calculation, the real average value of the periodic signal can be converted into a representative value. The specific conversion can be shown in Table 1 below. This is just an example and does not mean This is a limitation of the invention.

表1Table 1

信号值(单位dbm)Signal value (unit dbm) 代表值representative value 无信号no signal 9999 <=-125<=-125 00 -124-124 11 -122-122 22 -121-121 33 -119-119 44 -117-117 55 -116-116 66 -114-114 77 -113-113 88 -111-111 99 -109-109 1010 -108-108 1111 -106-106 1212 -105-105 1313 -103-103 1414 -101-101 1515 -100-100 1616 -98-98 1717 -96-96 1818 -95-95 1919 -93-93 2020 -92-92 21twenty one -90-90 22twenty two -88-88 23twenty three -87-87 24twenty four -85-85 2525 -84-84 2626 -82-82 2727 -80-80 2828 -79-79 2929 -77-77 3030 >=-75>=-75 3131

根据以上周期信号平均值的代表值,可设置3G接入接口的周期信号平均值、网络服务类型与发送优先级之间的对应关系表如下表2所示。According to the above representative value of the average value of the periodic signal, the correspondence table between the average value of the periodic signal of the 3G access interface, the network service type and the sending priority can be set as shown in Table 2 below.

表2Table 2

1022,LNS设备接收到3G接入设备的PPP Keepalive报文后,根据该PPP Keepalive报文中携带的3G接入设备的3G接入接口的信号值、网络服务类型信息,计算该3G接入设备的3G接入接口的周期信号平均值并查询所述对应关系表获取对应的发送优先级,更新保存该3G接入设备对应的虚拟访问接口号、周期信号平均值、发送优先级的记录表。为了方便计算,还可以在记录表中保存3G接入设备的3G接入接口的当前信号值和网络服务类型信息。当前信号值是指LNS设备接收到3G接入设备的PPP Keepalive报文携带的信号值。根据实现的方便,如果周期信号平均值采用代表值,此处保存的当前信号值也可以是参照表1生成的代表值。1022. After receiving the PPP Keepalive message of the 3G access device, the LNS device calculates the 3G access device's 3G access device according to the signal value and network service type information of the 3G access interface of the 3G access device carried in the PPP Keepalive message. The periodic signal average value of the 3G access interface and query the corresponding relationship table to obtain the corresponding transmission priority, update and save the record table of the virtual access interface number, periodic signal average value, and transmission priority corresponding to the 3G access device. For the convenience of calculation, the current signal value and network service type information of the 3G access interface of the 3G access device can also be saved in the record table. The current signal value refers to the signal value carried by the PPP Keepalive message received by the LNS device from the 3G access device. According to the convenience of implementation, if the average value of the periodic signal adopts a representative value, the current signal value saved here may also be the representative value generated by referring to Table 1.

步骤103,LNS设备接收到待发送到3G接入设备的报文时,根据记录的该3G接入设备对应的发送优先级,将报文入队到与所述发送优先级对应的QOS队列以进行发送。本步骤的具体实施方式如下:Step 103, when the LNS device receives the message to be sent to the 3G access device, according to the recorded sending priority corresponding to the 3G access device, enqueue the message to the QOS queue corresponding to the sending priority for to send. The specific implementation of this step is as follows:

1031.LNS设备接收到待发送到3G接入设备的报文后,根据该3G接入设备对应的发送优先级设置将该报文对应的QOS队列的优先级,根据设置的QOS队列的优先级将报文入队到对应的QOS队列。本步骤中,LNS设备接收到待发送到3G接入设备的报文后,首先根据该报文携带的目的IP地址查找路由表,得到该目的3G接入设备对应的虚拟访问接口VA口号,利用该VA口号可以查询记录表得到该目的3G接入设备对应的发送优先级,从而设置为该报文发送的优先级,即对应的QOS队列的优先级将,从而将报文发送到对应的QOS队列。1031. After the LNS device receives the message to be sent to the 3G access device, it sets the priority of the QOS queue corresponding to the message according to the transmission priority corresponding to the 3G access device, and according to the set priority of the QOS queue Enqueue the packet to the corresponding QOS queue. In this step, after the LNS device receives the message to be sent to the 3G access device, it first searches the routing table according to the destination IP address carried by the message to obtain the virtual access interface VA number corresponding to the destination 3G access device, and uses The VA slogan can query the record table to obtain the sending priority corresponding to the destination 3G access device, so as to set it as the priority of sending the message, that is, the priority of the corresponding QOS queue will be, so that the message is sent to the corresponding QOS queue.

1032.LNS设备根据QOS策略发送各个QOS队列中的报文。1032. The LNS device sends the packets in each QOS queue according to the QOS policy.

本发明实施例还提供了一种实施上述下行流量控制方法的控制系统,参见图2给出了本实施例的下行流量控制系统的网络应用环境示意图,其包括至少一个3G接入设备和二层隧道协议网络服务器LNS设备,所述3G接入设备通过二层隧道协议访问集中器LAC设备与LNS设备建立的L2TP隧道接入所述LNS设备。The embodiment of the present invention also provides a control system for implementing the above-mentioned downlink traffic control method. Referring to FIG. The tunneling protocol network server LNS device, the 3G access device accesses the LNS device through the L2TP tunnel established between the L2 tunneling protocol access concentrator LAC device and the LNS device.

3G接入设备,用于定时向二层隧道协议网络服务器LNS设备发送点对点协议保活PPPKeepalive报文,所述PPP Keepalive报文中携带该3G接入设备的3G接入接口的信号值、网络服务类型信息;所述3G接入设备可以是3G路由器也可以其他用于接入的3G设备。The 3G access device is used to regularly send a point-to-point protocol keep-alive PPPKeepalive message to the Layer 2 tunneling protocol network server LNS device, and the PPP Keepalive message carries the signal value of the 3G access interface of the 3G access device, network service Type information; the 3G access device may be a 3G router or other 3G devices for access.

LNS设备,用于接收到3G接入设备的PPP Keepalive报文后,根据该PPP Keepalive报文中的3G接入设备的3G接入接口的信号值、网络服务类型信息,计算和该3G接入设备对应的发送优先级并保存;接收到待发送到3G接入设备的报文时,根据记录的该3G接入设备对应的发送优先级,将报文入队到与所述发送优先级对应的QOS队列以进行发送。The LNS device is used to calculate and match the 3G access device according to the signal value and network service type information of the 3G access interface of the 3G access device in the PPP Keepalive message after receiving the PPP Keepalive message of the 3G access device. The transmission priority corresponding to the device is saved; when a message to be sent to the 3G access device is received, according to the recorded transmission priority corresponding to the 3G access device, the message is enqueued to the queue corresponding to the transmission priority QOS queue for sending.

所述LNS设备还用于,建立3G接入设备的3G接入接口的周期信号平均值、网络服务类型与发送优先级之间的对应关系表;接收到3G接入设备的PPP Keepalive报文后,根据该PPP Keepalive报文中携带的3G接入设备的3G接入接口的信号值、网络服务类型信息,计算该3G接入设备的3G接入接口的周期信号平均值并查询所述对应关系表获取对应的发送优先级,更新保存该3G接入设备对应的虚拟访问接口号、周期信号平均值、发送优先级的记录表;所述LNS设备接收到待发送到3G接入设备的报文后,根据该3G接入设备对应的发送优先级设置将该报文对应的QOS队列的优先级,根据设置的QOS队列的优先级将报文入队到对应的QOS队列;根据QOS策略发送各个QOS队列中的报文。The LNS device is also used to set up a correspondence table between the periodic signal average value of the 3G access interface of the 3G access device, the network service type and the sending priority; after receiving the PPP Keepalive message of the 3G access device , according to the signal value and network service type information of the 3G access interface of the 3G access device carried in the PPP Keepalive message, calculate the average value of the periodic signal of the 3G access interface of the 3G access device and query the corresponding relationship Obtain the corresponding transmission priority in the table, update and save the record table of the virtual access interface number corresponding to the 3G access device, the average value of the periodic signal, and the transmission priority; the LNS device receives the message to be sent to the 3G access device Finally, set the priority of the QOS queue corresponding to the message according to the sending priority corresponding to the 3G access device, enqueue the message to the corresponding QOS queue according to the priority of the set QOS queue; send each message according to the QOS policy Packets in the QOS queue.

本实施例的一种3G网络中LNS设备下行流量控制系统,在不控制3G接入设备的接入个数的情况下,结合现有的QOS策略合理有效的分配LNS设备的下行流量。The system for controlling downlink flow of LNS devices in a 3G network in this embodiment reasonably and effectively distributes downlink flow of LNS devices in combination with existing QOS policies without controlling the number of 3G access devices.

Claims (10)

  1. In 1.3G network, LNS equipment downlink traffic control method, is characterized in that, comprise the steps:
    A.3G access device timing sends point-to-point protocol keep-alive PPP Keepalive message to L2TP Network Server LNS equipment, carries signal value, the types of network services information of the 3G access interface of this 3G access device in described PPP Keepalive message;
    After B.LNS equipment receives the PPP Keepalive message of 3G access device, according to signal value, the types of network services information of the 3G access interface of the 3G access device in this PPP Keepalive message, calculate and transmission priority corresponding to this 3G access device preserving;
    When C.LNS equipment receives the message being sent to 3G access device, the transmission priority corresponding according to this 3G access device of record, the QOS queue corresponding with described transmission priority of being joined the team to by message is to send.
  2. 2. LNS equipment downlink traffic control method in 3G network as claimed in claim 1, it is characterized in that, described step B specifically comprises:
    B1.LNS equipment sets up the periodic signal mean value of the 3G access interface of 3G access device, the mapping table between types of network services and transmission priority;
    After B2.LNS equipment receives the PPP Keepalive message of 3G access device, according to signal value, the types of network services information of the 3G access interface of the 3G access device carried in this PPP Keepalive message, calculate the periodic signal mean value of the 3G access interface of this 3G access device and inquire about described mapping table and obtain corresponding transmission priority, upgrading and preserve virtual access interface corresponding to this 3G access device number, periodic signal mean value, send the record sheet of priority.
  3. 3. LNS equipment downlink traffic control method in 3G network as claimed in claim 2, it is characterized in that, described step C specifically comprises:
    After C1.LNS equipment receives the message being sent to 3G access device, the transmission priority corresponding according to this 3G access device arranges the priority of QOS queue corresponding to this message, the QOS queue of correspondence of being joined the team to by message according to the priority of QOS queue arranged;
    C2.LNS equipment sends the message in each QOS queue according to QOS strategy.
  4. 4. LNS equipment downlink traffic control method in 3G network as claimed in claim 2 or claim 3, is characterized in that, also saving current signal value and the types of network services information of the 3G access interface of 3G access device in described record sheet.
  5. 5. LNS equipment downlink traffic control method in 3G network as claimed in claim 4, is characterized in that, described periodic signal mean value, refers to the mean value of the current signal value of the 3G access interface of the 3G access device calculated within the time cycle set or configure.
  6. 6. LNS equipment downlink traffic control method in 3G network as claimed in claim 4, it is characterized in that, the current signal value of the 3G access interface of described 3G access device, periodic signal mean value refer to the typical value after conversion.
  7. 7. LNS equipment downlink traffic control method in 3G network as claimed in claim 4, it is characterized in that, described types of network services comprises 2G internet and 3G network.
  8. LNS equipment downlink traffic control system in 8.3G network, comprise at least one 3G access device and L2TP Network Server LNS equipment, described 3G access device accesses described LNS equipment by the L2TP Tunnel that Layer 2 Tunneling Protocol LAC LAC equipment and LNS equipment are set up, it is characterized in that
    3G access device, send point-to-point protocol keep-alive PPP Keepalive message for timing to L2TP Network Server LNS equipment, in described PPP Keepalive message, carry signal value, the types of network services information of the 3G access interface of this 3G access device;
    LNS equipment, for receive 3G access device PPP Keepalive message after, according to signal value, the types of network services information of the 3G access interface of the 3G access device in this PPP Keepalive message, calculate and transmission priority corresponding to this 3G access device preserving; When receiving the message being sent to 3G access device, the transmission priority corresponding according to this 3G access device of record, the QOS queue corresponding with described transmission priority of being joined the team to by message is to send.
  9. 9. LNS equipment downlink traffic control system in 3G network as claimed in claim 8, is characterized in that, described LNS equipment also for,
    Set up the periodic signal mean value of the 3G access interface of 3G access device, the mapping table between types of network services and transmission priority;
    After receiving the PPP Keepalive message of 3G access device, according to signal value, the types of network services information of the 3G access interface of the 3G access device carried in this PPP Keepalive message, calculate the periodic signal mean value of the 3G access interface of this 3G access device and inquire about described mapping table and obtain corresponding transmission priority, upgrading and preserve virtual access interface corresponding to this 3G access device number, periodic signal mean value, send the record sheet of priority.
  10. 10. as claimed in claim 8 or 9 LNS equipment downlink traffic control system in 3G network, is characterized in that, described LNS equipment also for,
    After receiving the message being sent to 3G access device, the transmission priority corresponding according to this 3G access device arranges the priority of QOS queue corresponding to this message, the QOS queue of correspondence of being joined the team to by message according to the priority of QOS queue arranged;
    The message in each QOS queue is sent according to QOS strategy.
CN201210415526.7A 2012-10-26 2012-10-26 Downlink flow control method and system of LNS (L2TP network server) device in 3G (third-generation) network Expired - Fee Related CN102917408B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210415526.7A CN102917408B (en) 2012-10-26 2012-10-26 Downlink flow control method and system of LNS (L2TP network server) device in 3G (third-generation) network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210415526.7A CN102917408B (en) 2012-10-26 2012-10-26 Downlink flow control method and system of LNS (L2TP network server) device in 3G (third-generation) network

Publications (2)

Publication Number Publication Date
CN102917408A CN102917408A (en) 2013-02-06
CN102917408B true CN102917408B (en) 2015-05-20

Family

ID=47615600

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210415526.7A Expired - Fee Related CN102917408B (en) 2012-10-26 2012-10-26 Downlink flow control method and system of LNS (L2TP network server) device in 3G (third-generation) network

Country Status (1)

Country Link
CN (1) CN102917408B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103490972B (en) * 2013-09-27 2016-06-22 迈普通信技术股份有限公司 Multilink tunnel message transmission method and system
CN105656801B (en) * 2015-12-31 2018-10-30 迈普通信技术股份有限公司 A kind of concurrency control method and device
CN107196867B (en) * 2017-07-28 2019-10-18 迈普通信技术股份有限公司 Communicate flow control method, LNS and LAC
CN109639458B (en) * 2018-11-19 2022-02-22 迈普通信技术股份有限公司 Method and device for realizing QOS strategy
CN111355764B (en) * 2018-12-24 2023-10-24 迈普通信技术股份有限公司 Keep-alive message sending method and device, electronic equipment and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674554A (en) * 2004-03-22 2005-09-28 日立通讯技术株式会社 Packet transfer apparatus
CN102055639A (en) * 2009-11-10 2011-05-11 杭州华三通信技术有限公司 Method for establishing remote access virtual private network connection and local access concentrator

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1333603C (en) * 2002-10-08 2007-08-22 诺基亚公司 Method of optimizing resources in a radio system and radio system
US8068502B2 (en) * 2004-12-30 2011-11-29 Alcatel Lucent Method and apparatus for enabling persistent connections with wireless networks

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674554A (en) * 2004-03-22 2005-09-28 日立通讯技术株式会社 Packet transfer apparatus
CN102055639A (en) * 2009-11-10 2011-05-11 杭州华三通信技术有限公司 Method for establishing remote access virtual private network connection and local access concentrator

Also Published As

Publication number Publication date
CN102917408A (en) 2013-02-06

Similar Documents

Publication Publication Date Title
CN104954279B (en) A kind of transfer control method, apparatus and system
CN101447929B (en) Traffic routing method, router and communication system
CN102917408B (en) Downlink flow control method and system of LNS (L2TP network server) device in 3G (third-generation) network
RU2012140411A (en) SYSTEM AND METHOD OF COMMUNICATION IN COMMUNICATION SYSTEMS WITH RELAY COMPONENTS
CN101686180A (en) Data transmission method, network node and data transmission system
EP1585261B1 (en) Apparatus and method for processing labeled flows in a communications access network
CN101789880B (en) Method for realizing uplink QoS (Quality of Service) based on IP access network and multi-service access gateway
CN101035008B (en) A service scheduling method and network aggregation device thereof
CN109379297B (en) A method and device for realizing traffic load balancing
CN112218315A (en) End-to-end QoS policy execution and Ethernet data forwarding method of 5G private network
CN108023802B (en) Data transmission system and method
CN102238057B (en) Ethernet-tree realization method, system, device and network equipment
CN102752192B (en) Bandwidth allocation method of forwarding and control element separation (ForCES) transmission mapping layer based on stream control transmission protocol (SCTP)
CN103916364B (en) For the SLA grade realization method and systems of IMS business group customer
WO2011047583A1 (en) Method and system for acquiring link information in layer 2 virtual private networks
CN102801692B (en) A kind of transmission control protocol optimization method and system connecting based on division
CN107027151A (en) Ensure the method and device of service quality
CN106302246A (en) A kind of method and apparatus adjusting IPv6 tunnel MTU
CN102638853B (en) QoS (Quality of Service) method for guaranteeing multi-service backhaul of home NodeB
JP2008147882A5 (en)
CN101374101A (en) A method, device and system for transmitting multiplexed messages
WO2015074423A1 (en) Data packet forwarding processing method in access gateway
CN100421398C (en) A method for ensuring end-to-end business service quality and access network system
CN103414654B (en) One kind realizes bandwidth shunt method and system
CN103326961B (en) Reserved bandwidth self-adaption method of adjustment based on QoS

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 Sichuan city of Chengdu province high tech Zone nine Hing Road No. 16 building, Maipu

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 610041 nine Xing Xing Road 16, hi tech Zone, Sichuan, Chengdu

Patentee after: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

Address before: 610041 15-24 floor, 1 1 Tianfu street, Chengdu high tech Zone, Sichuan

Patentee before: MAIPU COMMUNICATION TECHNOLOGY Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150520