CN107995085B - Message forwarding method and device - Google Patents

Message forwarding method and device Download PDF

Info

Publication number
CN107995085B
CN107995085B CN201711297157.5A CN201711297157A CN107995085B CN 107995085 B CN107995085 B CN 107995085B CN 201711297157 A CN201711297157 A CN 201711297157A CN 107995085 B CN107995085 B CN 107995085B
Authority
CN
China
Prior art keywords
internet video
data
message
data message
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711297157.5A
Other languages
Chinese (zh)
Other versions
CN107995085A (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.)
Hangzhou H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CN201711297157.5A priority Critical patent/CN107995085B/en
Publication of CN107995085A publication Critical patent/CN107995085A/en
Application granted granted Critical
Publication of CN107995085B publication Critical patent/CN107995085B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • 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/20Traffic policing
    • 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/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • 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

Abstract

The invention provides a message forwarding method and a device, wherein the method comprises the following steps: when a data message is received, judging whether the data message is internet video data or not; if the data message is internet video data, processing the data message according to a preset strategy, and forwarding the processed message; and if the data message is non-internet video data, forwarding the data message to broadband service processing equipment, and forwarding and processing the data message by the broadband service processing equipment. The embodiment of the invention can realize the distinguishing processing of the internet video service and the common broadband service and ensure the network quality of the internet video service.

Description

Message forwarding method and device
Technical Field
The present invention relates to the field of network communication technologies, and in particular, to a method and an apparatus for forwarding a packet.
Background
A BRAS (Broadband Remote Access Server) is an Access gateway facing Broadband network application, which is located at the edge layer of a backbone network and can complete data Access of an IP (Internet Protocol)/ATM (Asynchronous Transfer Mode) network of a user bandwidth, thereby realizing Broadband Internet Access of commercial buildings and residential quarters.
OTT (Over The Top) service refers to providing various application services to users through The internet. This application is different from the communication services currently provided by operators, which only utilize the network of the operator, while services are provided by third parties other than the operator, such as various internet video services (which may be referred to as OTT video or internet video, and is described below as internet video).
However, practice shows that the existing internet video is directly loaded in the broadband internet service, an operator cannot identify the internet video service, only can process the internet video service as the broadband service, and cannot perform a refined and differentiated operation strategy on the subdivided service; because the data source of the internet video manufacturer runs in the broadband, the internet video service with high-definition, 4K and other high-bandwidth requirements cannot guarantee the network quality.
Disclosure of Invention
The invention provides a message forwarding method and a message forwarding device, which are used for solving the problem that the internet video service cannot be processed differently from the common broadband service in the prior art.
According to a first aspect of the embodiments of the present invention, a method for forwarding a packet is provided, where the method is applied to a resource pool gateway pool-GW device, and the method includes:
when a data message is received, judging whether the data message is internet video data or not;
if the data message is internet video data, processing the data message according to a preset strategy, and forwarding the processed message;
and if the data message is non-internet video data, forwarding the data message to broadband service processing equipment, and forwarding and processing the data message by the broadband service processing equipment.
According to a second aspect of the embodiments of the present invention, there is provided a packet forwarding apparatus, applied to a resource pool gateway pool-GW device, the apparatus including:
a receiving unit, configured to receive a packet;
the judging unit is used for judging whether the data message is internet video data or not when the receiving unit receives the data message;
the processing unit is used for processing the data message according to a preset strategy and forwarding the processed message if the data message is internet video data;
a sending unit, configured to forward the packet processed by the processing unit;
the sending unit is further configured to forward the data packet to a broadband service processing device if the data packet is non-internet video data, and the broadband service processing device forwards and processes the data packet.
According to the technical scheme, when the data message is received, whether the data message is internet video data or not is judged; if the data message is internet video data, processing the data message according to a preset strategy, and forwarding the processed message; if the data message is non-internet video data, the data message is forwarded to the broadband service processing equipment, and the broadband service processing equipment forwards and processes the data message, so that the internet video service and the common broadband service are processed in a distinguishing way, the pertinence and the fineness of the internet video service processing are improved, and the network quality of the internet video service is guaranteed.
Drawings
Fig. 1 is a schematic diagram of a switch transition control separation networking according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a message forwarding method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another packet forwarding method according to an embodiment of the present invention;
fig. 4A is a schematic diagram of a forwarding path of an uplink data packet according to an embodiment of the present invention;
fig. 4B is a schematic diagram of a forwarding path of a downlink data packet according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a message forwarding apparatus according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution in the embodiment of the present invention, a network architecture to which the embodiment of the present invention is applied will be briefly described below.
Referring to fig. 1, which is a schematic diagram of an architecture of a transfer Control separation networking according to an embodiment of the present invention, as shown in fig. 1, the transfer Control separation networking may include a DP (Data Plane) device, a CP (Control Plane) device, a broadband service processing device (in the figure, a WASH network element is taken as an example), and a Pool-GW (resource Pool gateway) device; wherein:
the DP equipment is used for forwarding processing and can be realized by an ASCI switch;
the CP device is configured to perform control plane processing, and may be implemented by running a Network Function Virtualization (NFV) Network element through a dedicated Server, for example, a virtual Broadband Remote Access Server (vbars) device;
the WASH network element is used for performing Service processing on broadband services, and comprises user-level speed limit, flow statistics, QoS (Quality of Service) processing and the like, and can be realized by traditional BRAS equipment, vBRAS equipment or an x86 network element;
the Pool-GW equipment is used for identifying OTT services and non-OTT services and forwarding the OTT services according to different strategies.
In the transfer control separation networking shown in fig. 1, a VxLAN (Virtual Extensible Local Area Network) tunnel is adopted between a forwarding plane and a control plane to transfer a protocol control message, an Openflow channel is adopted to issue a user flow table, and a Netconf (Network configuration) channel is adopted to issue the configuration of the forwarding plane.
The DP equipment enables a PPPoE (Point to Point Protocol over Ethernet, based on the Point-to-Point Protocol of Ethernet) transfer control separation function, so that the DP equipment sends a Protocol control message to the vBRAS equipment; the method comprises the following steps that a VxLAN tunnel is established between DP equipment and a vBRAS, and a corresponding VxLAN ID is bound for protocol control message forwarding;
the vBRAS equipment can issue the MAC address of the VSI configured by the vBRAS equipment through a Netconf channel pre-established between the vBRAS equipment and the DP equipment so as to ensure that the MAC address of the gateway VSI configured by the DP equipment is the same as the MAC address of the gateway VSI configured by the vBRAS equipment, so that the data message can be forwarded by the switch, and the original high message forwarding capability of the switch serving as the DP equipment is exerted.
Based on the above configuration, in the transfer control separation networking shown in fig. 1, the specific flow of protocol packet interaction is as follows:
1. the PPPoE terminal sends an uplink PPPoE protocol message, and the uplink PPPoE protocol message is encapsulated by the OLT in a Q-in-Q (double-layer VLAN) and then is forwarded to the DP equipment. When the DP equipment receives the Q-in-Q packaged uplink PPPOE protocol message, according to the corresponding relation between the preset inner layer VLAN, the preset outer layer VLAN and the VXLAN ID, the VXLAN tunnel for transmitting the message is determined to be the VXLAN tunnel established between the DP equipment and the vBRAS, and the VXLAN packaged uplink PPPOE protocol message is transmitted to the vBRAS equipment through the VXLAN tunnel;
2. the vBRAS equipment receives the uplink PPPOE protocol message packaged by the VXLAN, removes the VXLAN packaging, replies a PPPOE protocol response message (namely a downlink PPPOE protocol message) after performing corresponding protocol processing according to the uplink PPPOE protocol message after the VXLAN packaging is removed, performs VXLAN packaging on the downlink PPPOE protocol message according to a VXLAN tunnel corresponding to a target MAC address of the downlink PPPOE protocol message, and sends the VXLAN packaging to the DP equipment. And the DP equipment releases VXLAN encapsulation, executes two-layer forwarding according to the destination MAC address of the downlink PPPOE protocol message, namely forwards the message to the OLT serving as the access equipment according to the output port corresponding to the destination MAC address, and forwards the message to the PPPOE terminal by the OLT.
The PPPOE protocol interaction between the PPPOE terminal and the vBRAS equipment comprises a discovery phase and a session phase: through PPPOE protocol message interaction in a discovery phase, a PC and a vBRAS device can acquire an MAC address of an opposite terminal (the MAC address of the vBRAS device acquired by the PC is the MAC address of a configured gateway VSI, and the MAC address is the same as the MAC address of the gateway VSI configured by a DP device), and the vBRAS device can establish a unique PPPOE Session identifier (Session ID) for the PC; through PPPOE protocol message interaction in a session phase, vBRAS equipment can finish authentication on a PC and allocate an IP address to the PC.
The specific PPPOE protocol packet exchanged between the PC and the vbrs device in the discovery phase and the session phase may refer to the related description in the existing PPPOE protocol, which is not described herein again in the embodiments of the present invention.
3. After the PPPoE terminal passes authentication and acquires an IP address, the vbrs device may issue a user flow table for the PPPoE terminal to the DP device, where the user flow table may include an IP address of the PPPoE terminal, an MAC address, Q-in-Q information, a PPPoE Session ID, and an egress port that reaches the IP address of the PPPoE terminal (i.e., a port where the DP device is connected to the OLT device).
An output port of the DP device reaching the IP address of the PPPoE terminal may be obtained by querying the DP device by the vBRAS through an Openflow protocol according to a VxLAN ID (VxLAN ID corresponding to a VxLAN tunnel between the vBRAS device and the DP device).
In order to make the aforementioned objects, features and advantages of the embodiments of the present invention more comprehensible, embodiments of the present invention are described in detail below with reference to the accompanying drawings.
Referring to fig. 2, a schematic flow chart of a message forwarding method according to an embodiment of the present invention is shown, where the message forwarding method may be applied to a pool-GW device, and as shown in fig. 2, the message forwarding method may include the following steps:
step 201, when receiving a data message, determining whether the data message is internet video data. If yes, go to step 202; otherwise, go to step 203.
In the embodiment of the invention, in order to realize the differentiated processing of the internet video service and the broadband service so as to perform more targeted and more precise processing on the internet video data and ensure the network quality of the internet video service, when receiving a data message, the Pool-GW device needs to first judge whether the data message is the internet video data.
In an embodiment of the present invention, the determining whether the data packet is internet video data may include:
when the data message is an uplink data message, inquiring an IP address corresponding to a pre-configured Internet video service according to a target IP address of the uplink data message;
if the matched IP address is inquired, determining that the uplink data message is internet video data; otherwise, determining that the uplink data message is not internet video data.
In this embodiment, in order to enable the Pool-GW device to identify whether the received uplink data packet is internet video data, an IP address corresponding to an internet video service, such as an IP address of each internet video website, an IP address of a video website cooperating with an operator, and the like, may be configured on the Pool-GW device in advance.
Correspondingly, when the Pool-GW device receives the uplink data packet forwarded by the DP device, the Pool-GW device may query an IP address corresponding to a pre-configured internet video service according to a destination IP address of the uplink data packet, so as to determine whether an IP address matching the destination IP address of the uplink data packet exists in the IP address corresponding to the pre-configured internet video service.
If the Pool-GW device queries the matched IP address, the Pool-GW device may determine that the uplink data message is internet video data; otherwise, that is, the Pool-GW device does not query the matched IP address, the Pool-GW device may determine that the uplink data packet is not internet video data.
In another embodiment of the present invention, the determining whether the data packet is internet video data includes:
when the data message is a downlink data message, inquiring an IP address corresponding to a pre-configured Internet video service according to a source IP address of the downlink data message;
if the matched IP address is inquired, determining the downlink data message as Internet video data; otherwise, determining that the downlink data message is not internet video data.
In this embodiment, in order to enable the Pool-GW device to identify whether the received downlink data packet is internet video data, an IP address corresponding to an internet video service, such as an IP address of each internet video website, an IP address of a video website cooperating with an operator, and the like, may be configured on the Pool-GW device in advance.
Correspondingly, when the Pool-GW device receives the downlink data packet forwarded by the CR, the Pool-GW device may query an IP address corresponding to a pre-configured internet video service according to a source IP address of the downlink data packet, so as to determine whether an IP address matching the source IP address of the downlink data packet exists in the IP address corresponding to the pre-configured internet video service.
If the Pool-GW device queries the matched IP address, the Pool-GW device may determine that the downlink data packet is internet video data; otherwise, that is, the Pool-GW device does not query the matched IP address, the Pool-GW device may determine that the downlink data packet is not internet video data.
Step 202, processing the data message according to a preset strategy, and forwarding the processed message.
In the embodiment of the present invention, when the pool-GW device determines that the received data packet is internet video data, the pool-GW device processes the data packet according to a preset internet video data processing policy (referred to herein as a preset policy).
In an embodiment of the present invention, the processing the data packet according to the preset policy may include:
and when the data message is an uplink data message, carrying out speed-limiting processing on the uplink data message according to a preset uplink bandwidth corresponding to the destination IP address of the uplink data message.
In the embodiment, in order to ensure the network quality of the internet video service, the user-level speed limit is not performed on the internet video, but the unified speed limit is performed on the internet video data providers, so that the uplink bandwidth corresponding to each internet video data can be preset.
Wherein the upstream bandwidth may be determined by negotiation between an operator and an internet video data provider, such as 100G.
Correspondingly, in this embodiment, when the pool-GW device receives an uplink data packet and determines that the uplink data packet is internet video data, a preset uplink bandwidth may be queried according to a destination IP address of the uplink data packet to determine a preset uplink bandwidth corresponding to the destination IP address of the uplink data packet, and perform speed-limiting processing on the uplink data packet according to the uplink bandwidth.
In another embodiment of the present invention, the processing the data packet according to the preset policy may include:
and when the data message is a downlink data message, carrying out speed-limiting processing on the downlink data message according to a preset downlink bandwidth corresponding to the source IP address of the downlink data message.
In the embodiment, in order to ensure the network quality of the internet video service, the user-level speed limit is not performed on the internet video, but the unified speed limit is performed on the internet video data providers, so that the downlink bandwidth corresponding to each internet video data can be preset.
Wherein the downstream bandwidth may be determined by negotiation between the operator and the internet video data provider, such as 100G.
Correspondingly, in this embodiment, when the pool-GW device receives a downlink data packet and determines that the downlink data packet is internet video data, a preset downlink bandwidth may be queried according to a destination IP address of the downlink data packet to determine a preset downlink bandwidth corresponding to the destination IP address of the downlink data packet, and perform speed-limiting processing on the downlink data packet according to the downlink bandwidth.
Step 203, the data packet is forwarded to the broadband service processing device, and the broadband service processing device forwards and processes the data packet.
In the embodiment of the present invention, when the pool-GW device determines that the received data packet is non-internet video data, the pool-GW device may forward the data packet to a broadband service processing device (e.g., a WASH network element in fig. 1), and the broadband service processing device forwards and processes the data packet.
Referring to fig. 3, a schematic flow chart of a message forwarding method according to an embodiment of the present invention is provided, where the message forwarding method may be applied to a pool-GW device, and as shown in fig. 3, the message forwarding method may include the following steps:
step 301, when receiving an uplink data packet forwarded by the DP device, determining whether the uplink data packet is internet video data. If so, processing the uplink data message according to a first preset strategy, then forwarding the uplink data message to a core router, and forwarding the uplink data message by the core router; otherwise, the uplink data message is forwarded to the WASH network element, and the WASH network element processes and forwards the uplink data message.
In the embodiment of the invention, when a DP device receives an uplink PPPOE data message through a port connected with an OLT, the destination MAC address of the uplink PPPOE data message is determined to be the MAC address of a virtual interface of the DP device, at the moment, the DP device strips off Q-in-Q encapsulation and PPPOE encapsulation of the uplink PPPOE data message to obtain the uplink Ethernet data message, searches a local forwarding table item according to the destination IP address, and forwards the message to a Pool-GW device.
When the Pool-GW device receives an uplink ethernet data packet forwarded by the DP device, it needs to first determine whether the uplink ethernet data packet is internet video data, so as to process the uplink ethernet data packet according to different policies.
In an embodiment of the present invention, the determining whether the uplink data packet is internet video data may include:
inquiring an IP address corresponding to a pre-configured Internet video service according to the destination IP address of the uplink data message;
if the matched IP address is inquired, determining that the uplink data message is internet video data; otherwise, determining that the uplink data message is not internet video data.
In this embodiment, in order to enable the Pool-GW device to identify whether the received uplink data packet is internet video data, an IP address corresponding to an internet video service, such as an IP address of each internet video website, an IP address of a video website cooperating with an operator, and the like, may be configured on the Pool-GW device in advance.
Correspondingly, when the Pool-GW device receives the uplink data packet forwarded by the DP device, the Pool-GW device may query an IP address corresponding to a pre-configured internet video service according to a destination IP address of the uplink data packet, so as to determine whether an IP address matching the destination IP address of the uplink data packet exists in the IP address corresponding to the pre-configured internet video service.
If the Pool-GW device queries the matched IP address, the Pool-GW device may determine that the uplink data message is internet video data; otherwise, that is, the Pool-GW device does not query the matched IP address, the Pool-GW device may determine that the uplink data packet is not internet video data.
In the embodiment of the present invention, when the Pool-GW device determines that the received uplink data packet forwarded by the DP device is internet video data, the Pool-GW may process the uplink data packet according to a preset internet video data processing policy (referred to as a first preset policy herein).
For example, the Pool-GW may perform the speed-limiting processing on the uplink data according to a preset uplink bandwidth corresponding to the destination IP address of the uplink data packet.
The preset uplink bandwidth corresponding to the destination IP address of the uplink data may be determined by an operator through negotiation with an internet video data provider corresponding to the uplink data, for example, 100G.
It can be seen that, in the method flow shown in fig. 3, for the internet video data, the user-level speed limit is not performed any more, but the unified speed limit is performed for the target IP, so that the hardware resource consumption is reduced, and the network quality of the internet video service is ensured.
After the Pool-GW device processes the uplink data packet according to a first preset policy, the Pool-GW device may forward the processed uplink data packet to a Core Router (CR for short); after receiving the uplink data message, the core router may forward the uplink data message to a corresponding internet video server.
Therefore, in the method flow shown in fig. 3, the internet video data can be identified from the uplink data message, and the internet video data can be stripped from the broadband service data, so that the internet video data can be processed more specifically and more finely to ensure the network quality of the internet video service.
In the embodiment of the invention, when the Pool-GW device determines that the received uplink data packet is not internet video data, the Pool-GW device may forward the uplink data packet to the WASH network element; after receiving the uplink data packet, the WASH network element may perform processing such as user-level speed limit, traffic statistics, QoS processing on the uplink data packet, and the specific implementation thereof may refer to a processing flow of the conventional BRAS device to the broadband service data in the prior art, which is not described herein again in the embodiments of the present invention.
After the push network element processes the uplink data packet, the push network element may forward the processed uplink data packet to the Pool-GW device, and forward the processed uplink data packet to the CR by the Pool-GW device, and forward the uplink data packet by the CR.
A schematic diagram of a forwarding path of an uplink data packet in the switch transfer control separation network may be as shown in fig. 4A.
Step 302, when receiving a downlink data packet forwarded by a core router, determining whether the downlink data packet is internet video data; if so, processing the downlink data message according to a second preset strategy, then forwarding the downlink data message to the DP equipment, and forwarding the downlink data message by the DP equipment; otherwise, forwarding the downlink data message to the WASH network element, and processing and forwarding the downlink data message by the WASH network element.
In the embodiment of the present invention, when receiving a downlink data packet forwarded by a CR, a Pool-GW device needs to first determine whether the downlink data packet is internet video data, so as to process the downlink data packet according to different policies.
In an embodiment of the present invention, the determining whether the downlink data packet is internet video data may include:
inquiring an IP address corresponding to a pre-configured Internet video service according to a source IP address of the downlink data message;
if the matched IP address is inquired, determining that the downlink data message is internet video data; otherwise, determining that the downlink data message is not internet video data.
In this embodiment, in order to enable the Pool-GW device to identify whether the received downlink data packet is internet video data, an IP address corresponding to an internet video service, such as an IP address of each internet video website, an IP address of a video website cooperating with an operator, and the like, may be configured on the Pool-GW device in advance.
Correspondingly, when the Pool-GW device receives the downlink data packet forwarded by the CR, the Pool-GW device may query an IP address corresponding to a pre-configured internet video service according to a source IP address of the downlink data packet, so as to determine whether an IP address matching the source IP address of the downlink data packet exists in the IP address corresponding to the pre-configured internet video service.
If the Pool-GW device queries the matched IP address, the Pool-GW device may determine that the downlink data packet is internet video data; otherwise, that is, the Pool-GW device does not query the matched IP address, the Pool-GW device may determine that the downlink data packet is not internet video data.
In the embodiment of the present invention, when the Pool-GW device determines that the received downlink data packet forwarded by the CR is internet video data, the Pool-GW may process the downlink data packet according to a preset internet video data processing policy (referred to as a second preset policy herein).
For example, the Pool-GW may perform the speed-limiting processing on the downlink data according to a preset downlink bandwidth corresponding to the source IP address of the downlink data packet.
The preset downlink bandwidth corresponding to the source IP address of the downlink data packet may be determined by negotiation between an operator and an internet video data provider corresponding to the downlink data packet, for example, 100G.
It can be seen that, in the method flow shown in fig. 3, for the internet video data, the user-level speed limit is not performed any more, but the unified speed limit is performed for the source IP, so that the hardware resource consumption is reduced, and the network quality of the internet video service is ensured.
After the Pool-GW device processes the downlink data packet according to a second preset policy, the Pool-GW device may forward the processed downlink data packet to the DP device; after receiving the downlink data message, the DP equipment queries a local user flow table, performs PPPoE encapsulation and Q-in-Q encapsulation on the downlink data message according to a table lookup result, further forwards the message to the OLT, and forwards the message to a corresponding PPPoE terminal after the OLT releases the Q-in-Q encapsulation.
It can be seen that, in the method flow shown in fig. 3, the internet video data can be identified from the downlink data message, and the internet video data is stripped from the broadband service data, so that the internet video data can be processed more specifically and more finely to ensure the network quality of the internet video service.
In the embodiment of the invention, when the Pool-GW device determines that the received downlink data packet is not internet video data, the Pool-GW device may forward the downlink data packet to the WASH network element; after receiving the downlink data packet, the WASH network element may perform processing such as user-level speed limit, traffic statistics, QoS processing on the downlink data packet, and the specific implementation thereof may refer to a processing flow of the conventional BRAS device to the broadband service data in the prior art, which is not described herein again in the embodiments of the present invention.
After the push network element processes the downlink data packet, the push network element may forward the processed uplink data packet to the Pool-GW device, and forward the processed uplink data packet to the DP device by the Pool-GW device; after receiving the downlink data message, the DP equipment queries a local user flow table, performs PPPoE encapsulation and Q-in-Q encapsulation on the downlink data message according to a table lookup result, further forwards the message to the OLT, and forwards the message to a corresponding PPPoE terminal after the OLT releases the Q-in-Q encapsulation.
A schematic diagram of a forwarding path of a downlink data packet in the switch forwarding separation network may be as shown in fig. 4B.
It should be noted that, in the embodiment of the present invention, the implementation manner of determining whether the uplink data packet (or the downlink data packet) is the internet video data according to the destination IP address of the packet described in the above method embodiment is only a specific example of determining whether the uplink data packet (or the downlink data packet) is the internet video data in the embodiment of the present invention, and does not belong to the limitation of the protection scope of the present invention, that is, in the embodiment of the present invention, it may also be determined by other manners, for example, for the uplink internet video data (or the downlink internet video data), specific identification information may be carried in the uplink data packet (or the downlink data packet), and the specific identification information is used to indicate that the packet is the internet video data, and further, the Pool-GW device may determine whether the received uplink data packet (or the downlink data packet) is the internet video data according to whether the received uplink data packet (or the downlink data packet) carries the, the detailed implementation thereof is not described herein.
As can be seen from the above description, in the technical solution provided in the embodiment of the present invention, when a data packet is received, it is determined whether the data packet is internet video data; if the data message is internet video data, processing the data message according to a preset strategy, and forwarding the processed message; if the data message is non-internet video data, the data message is forwarded to the broadband service processing equipment, and the broadband service processing equipment forwards and processes the data message, so that the internet video service and the common broadband service are processed in a distinguishing way, the pertinence and the fineness of the internet video service processing are improved, and the network quality of the internet video service is guaranteed.
The method provided by the present invention is described above. The following describes the apparatus provided by the present invention:
referring to fig. 5, a schematic structural diagram of a message forwarding apparatus according to an embodiment of the present invention is provided, where the apparatus may be applied to a Pool-GW device described in the foregoing method embodiment, and as shown in fig. 5, the apparatus may include:
a receiving unit 510, configured to receive a message;
a determining unit 520, configured to determine whether the data packet is internet video data when the receiving unit 510 receives the data packet;
a processing unit 530, configured to, if the data packet is internet video data, process the data packet according to a preset policy, and forward the processed packet;
a sending unit 540, configured to forward the packet processed by the processing unit;
the sending unit 540 is further configured to forward the data packet to a broadband service processing device if the data packet is non-internet video data, and the broadband service processing device forwards and processes the data packet.
In an optional embodiment, the determining unit 520 is specifically configured to, when the data packet is an uplink data packet, query an IP address corresponding to a pre-configured internet video service according to a destination IP address of the uplink data packet; if the matched IP address is inquired, determining the uplink data message as Internet video data; otherwise, determining that the uplink data message is not internet video data.
In an optional embodiment, the determining unit 520 is specifically configured to, when the data packet is a downlink data packet, query an IP address corresponding to a pre-configured internet video service according to a source IP address of the downlink data packet; if the matched IP address is inquired, determining that the downlink data message is internet video data; otherwise, determining that the downlink data message is not internet video data.
In an optional embodiment, the processing unit 530 is specifically configured to, when the data packet is an uplink data packet, perform speed-limiting processing on the uplink data packet according to a preset uplink bandwidth corresponding to a destination IP address of the uplink data packet.
In an optional embodiment, the processing unit 530 is specifically configured to, when the data packet is a downlink data packet, perform speed-limiting processing on the data packet according to a preset downlink bandwidth corresponding to a source IP address of the downlink data packet.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (8)

1. A message forwarding method is applied to a resource pool gateway pool-GW device, and the method comprises the following steps:
when a data message is received, judging whether the data message is internet video data or not;
if the data message is internet video data, processing the data message according to a preset strategy, and forwarding the processed message;
if the data message is non-internet video data, forwarding the data message to broadband service processing equipment, and forwarding and processing the data message by the broadband service processing equipment;
wherein, the processing the data message according to the preset strategy comprises:
and when the data message is an uplink data message, inquiring a preset uplink bandwidth according to the destination IP address of the uplink data message to determine the preset uplink bandwidth corresponding to the destination IP address of the uplink data message, and performing speed-limiting processing on the uplink data message according to the uplink bandwidth.
2. The method of claim 1, wherein said determining whether the data packet is internet video data comprises:
when the data message is an uplink data message, inquiring an IP address corresponding to a pre-configured Internet video service according to a target IP address of the uplink data message;
if the matched IP address is inquired, determining the uplink data message as Internet video data; otherwise, determining that the uplink data message is not internet video data.
3. The method of claim 1, wherein said determining whether the data packet is internet video data comprises:
when the data message is a downlink data message, inquiring an IP address corresponding to a pre-configured Internet video service according to a source IP address of the downlink data message;
if the matched IP address is inquired, determining that the downlink data message is internet video data; otherwise, determining that the downlink data message is not internet video data.
4. The method of claim 1, wherein the processing the data packet according to a preset policy further comprises:
and when the data message is a downlink data message, carrying out speed limit processing on the downlink data message according to a preset downlink bandwidth corresponding to the source IP address of the downlink data message.
5. A message forwarding apparatus is applied to a resource pool gateway pool-GW device, and the apparatus includes:
a receiving unit, configured to receive a packet;
the judging unit is used for judging whether the data message is internet video data or not when the receiving unit receives the data message;
the processing unit is used for processing the data message according to a preset strategy and forwarding the processed message if the data message is internet video data;
a sending unit, configured to forward the packet processed by the processing unit;
the sending unit is further configured to forward the data packet to a broadband service processing device if the data packet is non-internet video data, and forward and process the data packet by the broadband service processing device;
the processing unit is specifically configured to, when the data packet is an uplink data packet, query a preset uplink bandwidth according to a destination IP address of the uplink data packet to determine a preset uplink bandwidth corresponding to the destination IP address of the uplink data packet, and perform speed-limiting processing on the uplink data packet according to the uplink bandwidth.
6. The apparatus of claim 5,
the judging unit is specifically configured to, when the data packet is an uplink data packet, query an IP address corresponding to a pre-configured internet video service according to a destination IP address of the uplink data packet; if the matched IP address is inquired, determining the uplink data message as Internet video data; otherwise, determining that the uplink data message is not internet video data.
7. The apparatus of claim 5,
the judging unit is specifically configured to, when the data packet is a downlink data packet, query an IP address corresponding to a pre-configured internet video service according to a source IP address of the downlink data packet; if the matched IP address is inquired, determining that the downlink data message is internet video data; otherwise, determining that the downlink data message is not internet video data.
8. The apparatus of claim 5,
the processing unit is further specifically configured to, when the data packet is a downlink data packet, perform rate-limiting processing on the downlink data packet according to a preset downlink bandwidth corresponding to a source IP address of the downlink data packet.
CN201711297157.5A 2017-12-08 2017-12-08 Message forwarding method and device Active CN107995085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711297157.5A CN107995085B (en) 2017-12-08 2017-12-08 Message forwarding method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711297157.5A CN107995085B (en) 2017-12-08 2017-12-08 Message forwarding method and device

Publications (2)

Publication Number Publication Date
CN107995085A CN107995085A (en) 2018-05-04
CN107995085B true CN107995085B (en) 2021-04-27

Family

ID=62036953

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711297157.5A Active CN107995085B (en) 2017-12-08 2017-12-08 Message forwarding method and device

Country Status (1)

Country Link
CN (1) CN107995085B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6262978B1 (en) * 1998-03-20 2001-07-17 At&T Corp. Call completion of video telephone/teleconference call as packet voice call
CN101035008A (en) * 2007-04-17 2007-09-12 华为技术有限公司 Service scheduling method and its network convergence device
CN101150496A (en) * 2006-09-22 2008-03-26 中兴通讯股份有限公司 Method for improving important information network transmission quality
CN101232459A (en) * 2005-03-28 2008-07-30 华为技术有限公司 Business band width dynamic control method
CN103841024A (en) * 2012-11-27 2014-06-04 中国电信股份有限公司 Method for achieving data distribution in home gateway and home gateway

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7532712B2 (en) * 2004-12-01 2009-05-12 Time Warner Cable, Inc. System and method for providing caller ID service in a multi-region cable network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6262978B1 (en) * 1998-03-20 2001-07-17 At&T Corp. Call completion of video telephone/teleconference call as packet voice call
CN101232459A (en) * 2005-03-28 2008-07-30 华为技术有限公司 Business band width dynamic control method
CN101150496A (en) * 2006-09-22 2008-03-26 中兴通讯股份有限公司 Method for improving important information network transmission quality
CN101035008A (en) * 2007-04-17 2007-09-12 华为技术有限公司 Service scheduling method and its network convergence device
CN103841024A (en) * 2012-11-27 2014-06-04 中国电信股份有限公司 Method for achieving data distribution in home gateway and home gateway

Also Published As

Publication number Publication date
CN107995085A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
US11902116B2 (en) Packet processing method, forwarding plane device and network device
US9596211B2 (en) Cloud based customer premises equipment
US9686198B1 (en) Enhancing DOCSIS services through network functions virtualization
CN107211038B (en) ENF selection for NFVI
EP3580897B1 (en) Method and apparatus for dynamic service chaining with segment routing for bng
US20150350912A1 (en) Residential service delivery based on unique residential apn
US20100074256A1 (en) Service recognition method of router in ipv6 environment
US9774530B2 (en) Mapping of address and port (MAP) provisioning
US8005083B1 (en) Applying differentiated services within a cable network using customer-aware network router
US20090213860A1 (en) Method and device for service binding
KR20090064431A (en) The method and device for managing route information and retransmitting data in accessing device
EP2548346B1 (en) Packet node for applying service path routing at the mac layer
EP3935814B1 (en) Dynamic access network selection based on application orchestration information in an edge cloud system
US20210351956A1 (en) Customer premises lan expansion
EP3562099A1 (en) Scheduling method, system, controller and computer storage medium
WO2007124679A1 (en) Method and system of network communication
CN106716939B (en) QOS improvement in data stream delivery
EP2656553B1 (en) Method and arrangement for transferring data packets
EP3836495B1 (en) Communication method and communication device
KR100299144B1 (en) Layer-3 ip switching apparatus using layer-2 switch in atmor ethernet and method thereof
US20070147400A1 (en) Communication Method for Interworking of Local Heterogeneous Link Layer Protocols and Apparatus Thereof
EP1940085A1 (en) Method and device for service binding
CN107995085B (en) Message forwarding method and device
CN109922005B (en) Load sharing method, device and system and computer readable storage medium
EP3701683B1 (en) Cable modem interface mask based virtual local area network mapping

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant