CN107995085A - A kind of message forwarding method and device - Google Patents
A kind of message forwarding method and device Download PDFInfo
- Publication number
- CN107995085A CN107995085A CN201711297157.5A CN201711297157A CN107995085A CN 107995085 A CN107995085 A CN 107995085A CN 201711297157 A CN201711297157 A CN 201711297157A CN 107995085 A CN107995085 A CN 107995085A
- Authority
- CN
- China
- Prior art keywords
- data message
- data
- message
- internet video
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4641—Virtual LANs, VLANs, e.g. virtual private networks [VPN]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/20—Traffic policing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/10—Flow control; Congestion control
- H04L47/24—Traffic characterised by specific attributes, e.g. priority or QoS
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/70—Admission control; Resource allocation
- H04L47/80—Actions related to the user profile or the type of traffic
- H04L47/805—QOS or priority aware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/50—Address allocation
- H04L61/5007—Internet protocol [IP] addresses
Abstract
The present invention, which provides a kind of message forwarding method and device, this method, to be included:When receiving data message, judge whether the data message is internet video data;If the data message is internet video data, the data message is handled according to preset strategy, and the message after processing is forwarded to;If the data message is non-internet video data, by the data message forwarding to broadband services processing equipment, the data message is forwarded to and handled by the broadband services processing equipment.It can realize that internet video business and the differentiation of common wide business are handled using the embodiment of the present invention, ensure the network quality of internet video business.
Description
Technical field
The present invention relates to network communication technology field, more particularly to a kind of message forwarding method and device.
Background technology
BRAS (Broadband Remote Access Server, Broadband Remote Access Server) is a kind of towards broadband
The access gateway of network application, it is located at the marginal layer of backbone network, can complete the IP (Internet of user bandwidth
Protocol, Internet protocol) data of/ATM (Asynchronous Transfer Mode, asynchronous transfer mode) net connect
Enter, realize business premises and the broadband access network of neighbours living.
OTT (Over The Top, cross top) business refers to provide a user various application services by internet.This
Kind application it is different with the communication service that current operator is provided, it merely with operator network, and service by operator it
Outer third party provides, and such as various internet video business (are properly termed as OTT videos or internet video, hereinafter with interconnection
Net video is described).
But practice is found, existing internet video is directly carried in broadband access network business, and operator's None- identified is mutual
Networked video business, can only be used as broadband services to handle, the migration efficiency for the differentiation that can not be become more meticulous to subdivision business;
Internet video manufacturer, because its data source is run inside broadband, and for the internet video of the high bandwidth requirements such as high definition, 4K
Business, can not Logistics networks quality.
The content of the invention
The present invention provides a kind of message forwarding method and device, can not be with to solve internet video business in the prior art
The problem of common wide business distinctiveness processing.
First aspect according to embodiments of the present invention, there is provided a kind of message forwarding method, applied to resource pool gateway pool-
GW equipment, this method include:
When receiving data message, judge whether the data message is internet video data;
If the data message is internet video data, the data message is handled according to preset strategy,
And the message after processing is forwarded to;
If the data message is non-internet video data, the data message forwarding to broadband services processing is set
It is standby, the data message is forwarded to and handled by the broadband services processing equipment.
Second aspect according to embodiments of the present invention, there is provided a kind of apparatus for forwarding message, applied to resource pool gateway pool-
GW equipment, the device include:
Receiving unit, for receiving message;
Judging unit, for when the receiving unit receives data message, judging whether the data message is mutual
Networked video data;
Processing unit, if being internet video data for the data message, according to preset strategy to the data
Message is handled, and the message after processing is forwarded to;
Transmitting element, for being forwarded to the message after the processing unit processes;
The transmitting element, if it is non-internet video data to be additionally operable to the data message, by the data message
Broadband services processing equipment is forwarded to, the data message is forwarded to and handled by the broadband services processing equipment.
As can be seen from the above technical solutions, in the present invention, when receiving data message, whether the data message is judged
For internet video data;If the data message is internet video data, the data message is carried out according to preset strategy
Processing, and the message after processing is forwarded to;If the data message is non-internet video data, which is turned
Broadband services processing equipment is sent to, the data message is forwarded to and handled by broadband services processing equipment, realizes interconnection
Net video traffic and the differentiation of common wide business are handled, and improve the specific aim and fineness of internet video business processing,
The network quality of internet video business is ensured.
Brief description of the drawings
Fig. 1 is the configuration diagram that a kind of interchanger provided in an embodiment of the present invention turns control separation networking;
Fig. 2 is a kind of flow diagram of message forwarding method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another message forwarding method provided in an embodiment of the present invention;
Fig. 4 A are a kind of schematic diagrames of the forward-path of uplink data messages provided in an embodiment of the present invention;
Fig. 4 B are a kind of schematic diagrames of the forward-path of downlink data message provided in an embodiment of the present invention;
Fig. 5 is a kind of structure diagram of apparatus for forwarding message provided in an embodiment of the present invention.
Embodiment
In order to make those skilled in the art more fully understand the technical solution in the embodiment of the present invention, below first to this hair
The network architecture that bright embodiment is applicable in is briefly described.
Fig. 1 is referred to, the configuration diagram of networking is separated for a kind of turn provided in an embodiment of the present invention control, as shown in Figure 1,
This turn control separation networking can include DP (Data Plane, datum plane) equipment, CP (Control Plane, control plane)
Equipment, broadband services processing equipment (in figure by taking WASH (washes) network element as an example) and Pool-GW (resource pool gateway) equipment;Its
In:
DP equipment is used to be forwarded to processing, it can be realized by ASCI interchangers;
CP equipment is used to be controlled layer face treatment, it can run NFV (Network Function by private server
Virtualization, network function virtualization) network element realization, such as pass through vBRAS (virtual Broadband Remote
Access Server, virtual broadband remote access server) equipment realization;
WASH network elements are used to carry out business processing to broadband services, include user class speed limit, traffic statistics, QoS
(Quality of Service, service quality) processing etc., it can be real by traditional BRAS equipment, vBRAS equipment or x86 network elements
It is existing;
Pool-GW equipment is used to OTT business and non-OTT business be identified, and is forwarded to place according to Different Strategies
Reason.
In turn control separation networking shown in Fig. 1, VxLAN (Virtual are used between Forwarding plane and control plane
Extensible Local Area Network, virtual expansible LAN) tunnel delivery protocol control message, use
Openflow passages issue user's flow table, and the configuration of Forwarding plane is issued using Netconf (network configuration) passage.
DP equipment enables PPPoE (Point to Point Protocol over Ethernet, the point based on Ethernet
End-to-end protocol (EEP)) turn control separation function, so that DP equipment is by protocol integrated test system message up sending to vBRAS equipment;Wherein, DP equipment and
VxLAN tunnels are established between vBRAS, and bind corresponding VxLAN ID, are forwarded for protocol integrated test system message;
The Netconf passages that vBRAS equipment can be pre-established by itself between DP equipment issue the VSI of itself configuration
MAC Address, to ensure the MAC Address of the gateway VSI of the MAC Address of the gateway VSI of DP device configurations and vBRAS device configurations
It is identical so that interchanger can forwarding data packets, the high message that has forwards the interchanger for playing as DP equipment originally
Ability.
Based on above-mentioned configuration, in turn control separation networking shown in Fig. 1, the idiographic flow of protocol massages interaction is as follows:
1st, PPPoE terminals send uplink PPPOE protocol massages, are forwarded after sealing up Q-in-Q (double layer VLAN) encapsulation by OLT
Give DP equipment.DP equipment receive Q-in-Q encapsulation uplink PPPOE protocol massages when, according to default ectonexine VLAN with
The correspondence of VXLAN ID, determines the VxLAN tunnels for forwarding the VxLAN tunnels of the message to be established between DP equipment and vBRAS
Road, and the uplink PPPoE protocol massages that VxLAN is encapsulated are transmitted to by vBRAS equipment by the VXLAN tunnels;
2nd, vBRAS equipment receives the PPPOE protocol massages of uplink VXLAN encapsulation, VXLAN encapsulation is released, according to releasing
After uplink PPPOE protocol massages after VXLAN encapsulation carry out respective protocol processing, PPPOE protocol responses message (i.e. downlinks are replied
PPPOE protocol massages), according to the corresponding VXLAN tunnels of the target MAC (Media Access Control) address of downlink PPPOE protocol massages, by downlink PPPOE
Protocol massages carry out VXLAN encapsulation, are sent to DP equipment.DP equipment releases VXLAN encapsulation, according to downlink PPPOE protocol massages
Target MAC (Media Access Control) address perform two layers forwarding, i.e., forwarded it to according to the corresponding exit port of target MAC (Media Access Control) address as access device
OLT, PPPoE terminals are transmitted to by OLT.
Wherein, the PPPOE protocol interactions between PPPoE terminals and vBRAS equipment include discovery phase and session stage:It is logical
The PPPOE protocol massages interaction of discovery phase is crossed, PC and vBRAS equipment can get the MAC Address of opposite end, and (PC herein is obtained
The MAC Address for the vBRAS equipment got is the MAC Address of the gateway VSI configured, the MAC Address and the gateway of DP device configurations
The MAC Address of VSI is identical), and vBRAS equipment can be that PC creates a unique PPPOE session identification (Session ID);It is logical
The PPPOE protocol massages interaction of session stage is crossed, vBRAS equipment can complete the certification to PC, and distribute IP address for PC.
Wherein, the specific PPPOE protocol massages interacted between PC and vBRAS equipment in discovery phase and session stage can be with
Referring to the associated description in existing PPPOE agreements, this will not be repeated here for the embodiment of the present invention.
3rd, PPPoE terminal authentications are by the way that and after getting IP address, vBRAS equipment can be issued to DP equipment and is directed to
User's flow table of the PPPoE terminals, the IP address of PPPoE terminals, MAC Address, Q-in-Q letters can be included in the user's flow table
Exit port (the i.e. end of DP equipment connection OLT device of the IP address of breath, PPPoE Session ID and arrival PPPoE terminals
Mouthful).
Wherein, DP equipment reach the IP address of PPPoE terminals exit port can by vBRAS by Openflow agreements,
Obtained according to VxLAN ID (VxLAN tunnels corresponding VxLAN ID) between vBRAS equipment and DP equipment to DP equipment queries.
In order to enable the above-mentioned purpose of the embodiment of the present invention, feature and advantage more obvious understandable, below in conjunction with the accompanying drawings
Technical solution in the embodiment of the present invention is described in further detail.
Fig. 2 is referred to, is a kind of flow diagram of message forwarding method provided in an embodiment of the present invention, wherein, the report
Literary retransmission method can be applied to pool-GW equipment, as shown in Fig. 2, the message forwarding method may comprise steps of:
Step 201, when receiving data message, judge whether the data message is internet video data.If so, turn
To step 202;Otherwise, step 203 is gone to.
In the embodiment of the present invention, in order to realize being handled differently for internet video business and broadband services, so as to interconnection
Net video data carries out more targeted, finer processing, ensures the network quality of internet video business, Pool-GW
, it is necessary to first judge whether the data message is internet video data when equipment receives data message.
In the present invention in one embodiment, it is above-mentioned to judge whether the data message is internet video data, can be with
Including:
When the data message is uplink data messages, matched somebody with somebody in advance according to the inquiry of the purpose IP address of the uplink data messages
The corresponding IP address of internet video business put;
If inquire matched IP address, it is determined that the uplink data messages are internet video data;Otherwise, it determines should
Uplink data messages are not internet video data.
In this embodiment, whether the uplink data messages received to identify Pool-GW equipment are interconnection
Net video data, can regard in the corresponding IP address of configuring internet video traffic in Pool-GW equipment, such as each internet in advance
The IP address of frequency website and the IP address of video website of operators in co-operation etc..
Correspondingly, when Pool-GW equipment receives the uplink data messages of DP device forwards, Pool-GW equipment can be with
The corresponding IP address of preconfigured internet video business is inquired about according to the purpose IP address of the uplink data messages, to determine
With the presence or absence of the purpose IP address with the uplink data messages in the corresponding IP address of preconfigured internet video business
The IP address matched somebody with somebody.
If Pool-GW equipment queries can determine that the uplink data messages are to matched IP address, Pool-GW equipment
Internet video data;Otherwise, i.e., Pool-GW equipment does not inquire matched IP address, and Pool-GW equipment can be determined on this
Row data message is not internet video data.
In another embodiment, it is above-mentioned to judge whether the data message is internet video data, including:
When the data message is downlink data message, it is pre-configured with according to the inquiry of the source IP address of the downlink data message
The corresponding IP address of internet video business;
If inquire matched IP address, it is determined that the downlink data message is internet video data;Otherwise, it determines should
Downlink data message is not internet video data.
In this embodiment, whether the downlink data message received to identify Pool-GW equipment is interconnection
Net video data, can regard in the corresponding IP address of configuring internet video traffic in Pool-GW equipment, such as each internet in advance
The IP address of frequency website and the IP address of video website of operators in co-operation etc..
Correspondingly, when Pool-GW equipment receives the downlink data message of CR forwardings, Pool-GW equipment can basis
The source IP address of the downlink data message inquires about the corresponding IP address of preconfigured internet video business, to determine to match somebody with somebody in advance
With the presence or absence of in the corresponding IP address of internet video business put with the matched IP of source IP address of the downlink data message
Location.
If Pool-GW equipment queries can determine that the downlink data message is to matched IP address, Pool-GW equipment
Internet video data;Otherwise, i.e., Pool-GW equipment does not inquire matched IP address, and Pool-GW equipment can be determined under this
Row data message is not internet video data.
Step 202, according to preset strategy handled data message, and the message after processing is forwarded to.
In the embodiment of the present invention, when the data message that pool-GW equipment determines to receive is internet video data,
Pool-GW equipment is according to internet video data processing policy set in advance (referred to herein as preset strategy) to the datagram
Text is handled.
In the present invention in one embodiment, it is above-mentioned that the data message is handled according to preset strategy, it can wrap
Include:
When the data message is uplink data messages, according to the purpose IP address of the default correspondence uplink data messages
Upstream bandwidth to the uplink data messages carry out speed limit processing.
In this embodiment, in order to ensure the network quality of internet video business, no longer internet video is used
Family level speed limit, but unified speed limit is carried out for internet video metadata provider, therefore, each internet can be preset and regarded
Frequency is according to corresponding upstream bandwidth.
Wherein, which can be consulted to determine by operator and internet video metadata provider, such as 100G.
Correspondingly, in this embodiment, when pool-GW equipment receives uplink data messages, and the definite upstream data
When message is internet video data, default upstream bandwidth can be inquired about according to the purpose IP address of the uplink data messages,
To determine the upstream bandwidth of the purpose IP address of the default correspondence uplink data messages, and according to the upstream bandwidth to the uplink
Data message carries out speed limit processing.
In another embodiment, it is above-mentioned that the data message is handled according to preset strategy, it can include:
When the data message is downlink data message, according to the source IP address of the default correspondence downlink data message
Downlink bandwidth carries out speed limit processing to the downlink data message.
In this embodiment, in order to ensure the network quality of internet video business, no longer internet video is used
Family level speed limit, but unified speed limit is carried out for internet video metadata provider, therefore, each internet can be preset and regarded
Frequency is according to corresponding downlink bandwidth.
Wherein, which can be consulted to determine by operator and internet video metadata provider, such as 100G.
Correspondingly, in this embodiment, when pool-GW equipment receives downlink data message, and the definite downlink data
When message is internet video data, default downlink bandwidth can be inquired about according to the purpose IP address of the downlink data message,
To determine the downlink bandwidth of the purpose IP address of the default correspondence downlink data message, and according to the downlink bandwidth to the downlink
Data message carries out speed limit processing.
Step 203, by the data message forwarding to broadband services processing equipment, by broadband services processing equipment to the data
Message is forwarded to and handles.
In the embodiment of the present invention, when the data message that pool-GW equipment determines to receive is non-internet video data,
Pool-GW equipment can be by the data message forwarding to broadband services processing equipment (the WASH network elements in such as Fig. 1), by broadband industry
Business processing equipment is forwarded to and handles to the data message.
Fig. 3 is referred to, is a kind of flow diagram of message forwarding method provided in an embodiment of the present invention, wherein, the report
Literary retransmission method can be applied to pool-GW equipment, as shown in figure 3, the message forwarding method may comprise steps of:
Step 301, when receiving the uplink data messages of DP device forwards, judge whether the uplink data messages are mutual
Networked video data.If so, after then being handled according to the first preset strategy the uplink data messages, core route is forwarded to
Device, is forwarded to the uplink data messages by core router;Otherwise, which is forwarded to WASH network elements,
Uplink data messages are handled and forwarded by WASH network elements.
In the embodiment of the present invention, when DP equipment receives uplink PPPOE data messages by connecting the port of OLT, determine
The target MAC (Media Access Control) address of uplink PPPOE data messages is the MAC Address of the virtual interface of DP equipment, and at this time, DP equipment is peeled off on this
The Q-in-Q encapsulation and PPPOE encapsulation of row PPPOE data messages, to obtain uplink Ethernet data message, and according to destination IP
Address search local forwarding-table item, forwards the packet to Pool-GW equipment.
When Pool-GW equipment receives the uplink Ethernet data message of DP device forwards, it is necessary to first judge the uplink with
Too whether network data message is internet video data, at according to Different Strategies to the uplink Ethernet data message
Reason.
In the present invention in one embodiment, it is above-mentioned to judge whether uplink data messages are internet video data, can
With including:
The corresponding IP address of preconfigured internet video business is inquired about according to the purpose IP address of uplink data messages;
If inquire matched IP address, it is determined that the uplink data messages are internet video data;Otherwise, it determines should
Uplink data messages are not internet video data.
In this embodiment, whether the uplink data messages received to identify Pool-GW equipment are interconnection
Net video data, can regard in the corresponding IP address of configuring internet video traffic in Pool-GW equipment, such as each internet in advance
The IP address of frequency website and the IP address of video website of operators in co-operation etc..
Correspondingly, when Pool-GW equipment receives the uplink data messages of DP device forwards, Pool-GW equipment can be with
The corresponding IP address of preconfigured internet video business is inquired about according to the purpose IP address of the uplink data messages, to determine
With the presence or absence of the purpose IP address with the uplink data messages in the corresponding IP address of preconfigured internet video business
The IP address matched somebody with somebody.
If Pool-GW equipment queries can determine that the uplink data messages are to matched IP address, Pool-GW equipment
Internet video data;Otherwise, i.e., Pool-GW equipment does not inquire matched IP address, and Pool-GW equipment can be determined on this
Row data message is not internet video data.
In the embodiment of the present invention, when the uplink data messages for the DP device forwards that Pool-GW equipment determines to receive are mutual
During networked video data, Pool-GW can be according to internet video data processing policy set in advance (referred to herein as first
Preset strategy) uplink data messages are handled.
For example, Pool-GW can be according to the upstream bandwidth pair of the purpose IP address of the default correspondence uplink data messages
The upstream data carries out speed limit processing.
Wherein, the upstream bandwidth of the purpose IP address of the default correspondence upstream data can be by line number on operator and this
Consult to determine according to the corresponding internet video metadata provider of message, such as 100G.
As it can be seen that in method flow shown in Fig. 3, for internet video data, user class speed limit is no longer carried out, but pin
Unified speed limit is carried out to destination IP, reduces hardware resource consumption, and ensure that the network quality of internet video business.
, can be by after processing after Pool-GW equipment is handled the uplink data messages according to the first preset strategy
Uplink data messages are forwarded to core router (Core Router, abbreviation CR);Core router receives the upstream data report
After text, corresponding internet video server can be forwarded it to.
As it can be seen that in method flow shown in Fig. 3, internet video data can be identified from uplink data messages, and will
Internet video data are stripped out from the business datum of broadband, and then, internet video data can be more directed to
Property, finer processing, to ensure the network quality of internet video business.
In the embodiment of the present invention, when the uplink data messages that Pool-GW equipment determines to receive are not internet video numbers
According to when, which can be forwarded to WASH network elements by Pool-GW equipment;WASH network elements receive the upstream data report
After text, the uplink data messages can be carried out with the processing such as user class speed limit, traffic statistics, QoS processing, its specific implementation can
With referring to traditional BRAS equipment in the prior art, to the process flow of broadband services data, the embodiment of the present invention is not done superfluous herein
State.
After WASH network elements handle uplink data messages, the uplink data messages after processing can be forwarded to
Pool-GW equipment, by Pool-GW device forwards to CR, and is forwarded to the uplink data messages by CR.
Wherein, uplink data messages can be such as Fig. 4 A institutes in the forward-path schematic diagram that interchanger turns in control separation networking
Show.
Step 302, when receive core router forwarding downlink data message when, whether judge the downlink data message
For internet video data;If so, after then being handled according to the second preset strategy the downlink data message, it is forwarded to DP and sets
It is standby, downlink data message is forwarded to by DP equipment;Otherwise, downlink data message is forwarded to WASH network elements, by WASH nets
Member is handled and forwarded to the downlink data message.
In the embodiment of the present invention, it is necessary to first judge under this when Pool-GW equipment receives the downlink data message of CR forwardings
Whether row data message is internet video data, to be handled according to Different Strategies the downlink data message.
In the present invention in one embodiment, it is above-mentioned judge downlink data message whether internet video data, can be with
Including:
The corresponding IP address of preconfigured internet video business is inquired about according to the source IP address of downlink data message;
If inquire matched IP address, it is determined that downlink data message is internet video data;Otherwise, it determines downlink
Data message is not internet video data.
In this embodiment, whether the downlink data message received to identify Pool-GW equipment is interconnection
Net video data, can regard in the corresponding IP address of configuring internet video traffic in Pool-GW equipment, such as each internet in advance
The IP address of frequency website and the IP address of video website of operators in co-operation etc..
Correspondingly, when Pool-GW equipment receives the downlink data message of CR forwardings, Pool-GW equipment can basis
The source IP address of the downlink data message inquires about the corresponding IP address of preconfigured internet video business, to determine to match somebody with somebody in advance
With the presence or absence of in the corresponding IP address of internet video business put with the matched IP of source IP address of the downlink data message
Location.
If Pool-GW equipment queries can determine that the downlink data message is to matched IP address, Pool-GW equipment
Internet video data;Otherwise, i.e., Pool-GW equipment does not inquire matched IP address, and Pool-GW equipment can be determined under this
Row data message is not internet video data.
In the embodiment of the present invention, when the downlink data message for the CR forwardings that Pool-GW equipment determines to receive is internet
During video data, Pool-GW can (referred to herein as second is default according to internet video data processing policy set in advance
Strategy) downlink data message is handled.
For example, Pool-GW can be according to the downlink bandwidth of the source IP address of the default correspondence downlink data message to this
Downlink data carries out speed limit processing.
Wherein, the downlink bandwidth of the source IP address of the default correspondence downlink data message can be by operator and the downlink
The corresponding internet video metadata provider of data message is consulted to determine, such as 100G.
As it can be seen that in method flow shown in Fig. 3, for internet video data, user class speed limit is no longer carried out, but pin
Unified speed limit is carried out to source IP, reduces hardware resource consumption, and ensure that the network quality of internet video business.
, can be by after processing after Pool-GW equipment is handled the downlink data message according to the second preset strategy
Downlink data message is forwarded to DP equipment;After DP equipment receives the downlink data message, local user's flow table is inquired about, and
PPPoE encapsulation is carried out to the downlink data message according to checking result and Q-in-Q is encapsulated, and then, OLT is forwarded the message to, by
OLT is transmitted to corresponding PPPoE terminals after releasing Q-in-Q encapsulation.
As it can be seen that in method flow shown in Fig. 3, internet video data can be identified from downlink data message, and will
Internet video data are stripped out from the business datum of broadband, and then, internet video data can be more directed to
Property, finer processing, to ensure the network quality of internet video business.
In the embodiment of the present invention, when the downlink data message that Pool-GW equipment determines to receive is not internet video number
According to when, which can be forwarded to WASH network elements by Pool-GW equipment;WASH network elements receive the downlink data report
After text, the processing such as user class speed limit, traffic statistics, QoS processing can be carried out to the downlink data message, its specific implementation can
With referring to traditional BRAS equipment in the prior art, to the process flow of broadband services data, the embodiment of the present invention is not done superfluous herein
State.
After WASH network elements handle downlink data message, the uplink data messages after processing can be forwarded to
Pool-GW equipment, by Pool-GW device forwards to DP equipment;After DP equipment receives the downlink data message, inquiry is local
User's flow table, and PPPoE encapsulation and Q-in-Q are carried out to the downlink data message according to checking result and encapsulated, and then, will report
Text is transmitted to OLT, and corresponding PPPoE terminals are transmitted to after releasing Q-in-Q encapsulation by OLT.
Wherein, downlink data message can be such as Fig. 4 B institutes in the forward-path schematic diagram that interchanger turns in control separation networking
Show.
It should be noted that in embodiments of the present invention, the destination IP according to message described in above method embodiment
Address judges that the implementation of uplink data messages (or source IP address downlink data message according to message) is only the present invention
Judge in embodiment uplink data messages (or downlink data message) whether be internet video data a kind of specific example, and
Limiting the scope of the present invention is not belonging to, namely in embodiments of the present invention, can also be judged otherwise, example
Such as, can be in uplink data messages (or downlink data for uplink internet video data (or downlink internet video data)
Message) in carry specific identification information, the specific identification information be used for indicate that the message is internet video data, and then,
Whether Pool-GW equipment can carry designated identification information according in the uplink data messages (or downlink data message) received
Judge whether it is internet video data, its specific implementation does not repeat herein.
By above description as can be seen that in technical solution provided in an embodiment of the present invention, when receiving data message
When, judge whether the data message is internet video data;If the data message is internet video data, according to default
Strategy handles the data message, and the message after processing is forwarded to;If the data message is non-internet video
Data, then by the data message forwarding to broadband services processing equipment, carry out the data message by broadband services processing equipment
Forwarding and processing, realize internet video business and the differentiation of common wide business is handled, and improve internet video business
The specific aim and fineness of processing, have ensured the network quality of internet video business.
Method provided by the invention is described above.Device provided by the invention is described below:
Fig. 5 is referred to, is a kind of structure diagram of apparatus for forwarding message provided in an embodiment of the present invention, wherein, the dress
The Pool-GW equipment that can be applied to described in above method embodiment is put, as shown in figure 5, the device can include:
Receiving unit 510, for receiving message;
Judging unit 520, for when the receiving unit 510 receives data message, judging that the data message is
No is internet video data;
Processing unit 530, if being internet video data for the data message, according to preset strategy to the number
Handled according to message, and the message after processing is forwarded to;
Transmitting element 540, for being forwarded to the message after the processing unit processes;
The transmitting element 540, if it is non-internet video data to be additionally operable to the data message, by the datagram
Text is forwarded to broadband services processing equipment, and the data message is forwarded to and handled by the broadband services processing equipment.
In an alternative embodiment, the judging unit 520, specifically for being uplink data messages when the data message
When, the corresponding IP address of preconfigured internet video business is inquired about according to the purpose IP address of the uplink data messages;
If inquire matched IP address, it is determined that the uplink data messages are internet video data;Otherwise, it determines the uplink
Data message is not internet video data.
In an alternative embodiment, the judging unit 520, specifically for being downlink data message when the data message
When, the corresponding IP address of preconfigured internet video business is inquired about according to the source IP address of the downlink data message;If
Inquire matched IP address, it is determined that the downlink data message is internet video data;Otherwise, it determines the lower line number
It is not internet video data according to message.
In an alternative embodiment, the processing unit 530, specifically for being uplink data messages when the data message
When, the uplink data messages are carried out according to the upstream bandwidth of the purpose IP address of the default correspondence uplink data messages
Speed limit processing.
In an alternative embodiment, the processing unit 530, specifically for being downlink data message when the data message
When, following data messages are limited according to the downlink bandwidth of the source IP address of the default correspondence downlink data message
Speed processing.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there are other identical element in process, method, article or equipment including the key element.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
God and any modification, equivalent substitution, improvement and etc. within principle, done, should be included within the scope of protection of the invention.
Claims (10)
1. a kind of message forwarding method, it is characterised in that applied to resource pool gateway pool-GW equipment, this method includes:
When receiving data message, judge whether the data message is internet video data;
If the data message is internet video data, the data message is handled according to preset strategy, and it is right
Message after processing is forwarded to;
If the data message is non-internet video data, by the data message forwarding to broadband services processing equipment,
The data message is forwarded to and handled by the broadband services processing equipment.
2. according to the method described in claim 1, it is characterized in that, described judge whether the data message is internet video
Data, including:
When the data message is uplink data messages, matched somebody with somebody in advance according to the inquiry of the purpose IP address of the uplink data messages
The corresponding IP address of internet video business put;
If inquire matched IP address, it is determined that the uplink data messages are internet video data;It is otherwise, it determines described
Uplink data messages are not internet video data.
3. according to the method described in claim 1, it is characterized in that, described judge whether the data message is internet video
Data, including:
When the data message is downlink data message, it is pre-configured with according to the inquiry of the source IP address of the downlink data message
The corresponding IP address of internet video business;
If inquire matched IP address, it is determined that the downlink data message is internet video data;It is otherwise, it determines described
Downlink data message is not internet video data.
4. according to the method described in claim 2, it is characterized in that, it is described according to preset strategy to the data message at
Reason, including:
When the data message is uplink data messages, according to the purpose IP address of the default correspondence uplink data messages
Upstream bandwidth to the uplink data messages carry out speed limit processing.
5. according to the method described in claim 4, it is characterized in that, it is described according to preset strategy to the data message at
Reason, including:
When the data message is downlink data message, according to the source IP address of the default correspondence downlink data message
Downlink bandwidth carries out speed limit processing to following data messages.
6. a kind of apparatus for forwarding message, it is characterised in that applied to resource pool gateway pool-GW equipment, which includes:
Receiving unit, for receiving message;
Judging unit, for when the receiving unit receives data message, judging whether the data message is internet
Video data;
Processing unit, if being internet video data for the data message, according to preset strategy to the data message
Handled, and the message after processing is forwarded to;
Transmitting element, for being forwarded to the message after the processing unit processes;
The transmitting element, if it is non-internet video data to be additionally operable to the data message, by the data message forwarding
To broadband services processing equipment, the data message is forwarded to and handled by the broadband services processing equipment.
7. device according to claim 6, it is characterised in that
The judging unit, specifically for when the data message is uplink data messages, according to the uplink data messages
Purpose IP address inquire about the corresponding IP address of preconfigured internet video business;If inquiring matched IP address,
It is internet video data to determine the uplink data messages;Otherwise, it determines the uplink data messages are not internet videos
Data.
8. device according to claim 6, it is characterised in that
The judging unit, specifically for when the data message is downlink data message, according to the downlink data message
Source IP address inquire about the corresponding IP address of preconfigured internet video business;If matched IP address is inquired, really
The fixed downlink data message is internet video data;Otherwise, it determines the downlink data message is not internet video number
According to.
9. device according to claim 7, it is characterised in that
The processing unit, specifically for when the data message is uplink data messages, according to default correspondence it is described on
The upstream bandwidth of the purpose IP address of row data message carries out speed limit processing to the uplink data messages.
10. device according to claim 8, it is characterised in that
The processing unit, specifically for when the data message is downlink data message, according to default correspondence it is described under
The downlink bandwidth of the source IP address of row data message carries out speed limit processing to following data messages.
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 true CN107995085A (en) | 2018-05-04 |
CN107995085B 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 (6)
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 |
US20090168982A1 (en) * | 2004-12-01 | 2009-07-02 | Tom Gonder | System and method for providing caller id service in a multi-region cable network |
CN103841024A (en) * | 2012-11-27 | 2014-06-04 | 中国电信股份有限公司 | Method for achieving data distribution in home gateway and home gateway |
-
2017
- 2017-12-08 CN CN201711297157.5A patent/CN107995085B/en active Active
Patent Citations (6)
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 |
US20090168982A1 (en) * | 2004-12-01 | 2009-07-02 | Tom Gonder | System and method for providing caller id service in a multi-region cable network |
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 |
---|---|
CN107995085B (en) | 2021-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11811605B2 (en) | Packet data unit (PDU) structure for supporting distributed relay control protocol (DRCP) | |
CN107911258B (en) | SDN network-based security resource pool implementation method and system | |
US9596211B2 (en) | Cloud based customer premises equipment | |
US9813290B2 (en) | Method and system for supporting distributed relay control protocol (DRCP) operations upon misconfiguration | |
EP3228053B1 (en) | Enf selection for nfvi | |
CN103747499B (en) | For for the wired and public control protocol of radio node method and apparatus | |
US10063432B2 (en) | Method and system of supporting service chaining in a data network | |
US7570648B2 (en) | Enhanced H-VPLS service architecture using control word | |
EP3706374B1 (en) | Point-to-multipoint functionality in a bridged network | |
US8050273B2 (en) | Lawful interception in IP networks | |
CN104243270B (en) | A kind of method and apparatus for establishing tunnel | |
CN107040469A (en) | The network equipment and method | |
CN107786613A (en) | Broadband Remote Access Server BRAS forwards implementation method and device | |
CN101110745A (en) | Method, device and system for engaging second layer network and third layer network | |
CN109691026A (en) | Method and apparatus for updating multiple multiprotocol label switching (MPLS) two-way converting detection (BFD) sessions | |
EP2439888B1 (en) | Apparatus and method for establishing pseudo wire | |
CN104660527A (en) | Service switch, virtual local area network (VLAN)-spanning point-to-point protocol over Ethernet (PPPoE) network system and VLAN-spanning PPPoE network method | |
CN110431827A (en) | Distributed network gate framework is realized using location identifier separated protocol to be used for 3GPP mobility | |
WO2018149701A1 (en) | Method for an improved deployment and use of network nodes of a switching fabric of a data center or within a central office point of delivery of a broadband access network of a telecommunications network | |
Kind et al. | Splitarchitecture: Applying the software defined networking concept to carrier networks | |
CN113923076A (en) | SD-WAN-based Ethernet two-layer data exchange method | |
CN107342940A (en) | The generation method and device and message processing method and device of a kind of control information | |
CN107995085A (en) | A kind of message forwarding method and device | |
CN107689881A (en) | Message processing method and device | |
CN104518937B (en) | The method and device of the more communication between devices of virtual LAN VLAN |
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 |