CN106453002A - BRAS address updating method, device and system - Google Patents
BRAS address updating method, device and system Download PDFInfo
- Publication number
- CN106453002A CN106453002A CN201610887702.5A CN201610887702A CN106453002A CN 106453002 A CN106453002 A CN 106453002A CN 201610887702 A CN201610887702 A CN 201610887702A CN 106453002 A CN106453002 A CN 106453002A
- Authority
- CN
- China
- Prior art keywords
- tcp
- udp packet
- packet
- address
- gateway
- 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/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
- H04L12/2869—Operational details of access network equipments
- H04L12/287—Remote access server, e.g. BRAS
- H04L12/2876—Handling of subscriber policies
-
- 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
- H04L47/2425—Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
- H04L47/2433—Allocation of priorities to traffic types
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a BRAS address updating method, device and system, relates to the field of communication, and is used for solving the problem that an IPTV service address library of a BRAS server cannot be updated in time when an IPTV service and a broadband service use a same VLAN. The BRAS address updating method comprises the following steps: a gateway receives a TCP/UDP data packet; RTSP protocol data is encapsulated in the TCP/UDP data packet; the gateway judges whether the TCP/UDP data packet is an IPTV service data packet or not according to a target port number in the TCP/UDP data packet or an RTSP protocol characteristic field; if the TCP/UDP data packet is the IPTV service data packet, the gateway detects the priority of the TCP/UDP data packet; if the priority in the TCP/UDP data packet is the lowest priority, the gateway sends a source IP address of the TCP/UDP data packet to the BRAS server; and the source IP address of the TCP/UDP data packet is used for updating the IPTV service address library by the BRAS server. The embodiment of the invention is applied to IPTV.
Description
Technical field
The present invention relates to the communications field, more particularly to a kind of BRAS address renewing method, device and system.
Background technology
Ge great operator also provides the user IPTV (English full name while for domestic consumer's deployment of broadband network:
Internet protocol television, Chinese full name:Network protocol television) business.As user while using both
During business, as IPTV service is more sensitive to time delay, when time delay is big, user's viewing experience is poor, and during broadband access network business pair
Prolong requirement than relatively low, user be easier to receive webpage open slow, it is therefore desirable to IPTV service is set to high priority.Existing
In net, a kind of connected mode is that IPTV and broadband use same service channel i.e. using identical VLAN (English full name:virtual
Local area network, Chinese full name:VLAN), in gateway or OLT (English full name:optical line
Terminal, Chinese full name:Optical line terminal) all the IPTV service of same VLAN and broadband services cannot be made a distinction, and
And different priorities are set.
Can be in BRAS (English full name in prior art:Broadband remote access server, Chinese is complete
Claim:Broadband Remote Access Server) on according to up IPTV service access purpose IP address or descending IPTV service source IP
Address is distinguishing IPTV service or broadband services.However it is necessary that being manually entered in BRAS to set up IPTV service address
Storehouse, when BRAS is recognized in packet with IP address in address above mentioned storehouse, it is believed that the packet be
Bag, and this packet is set to high priority, so as to ensure the quality of IPTV service.Although the method can realize IPTV industry
The priority level initializing of business, but as the source IP address of video resource is more and more and constantly updates, it is possible to there are BRAS clothes
The situation that on business device, IPTV service address base does not upgrade in time, for the IPTV service address base for not updating the BRAS server
In IPTV service, will be unable to arrange priority, and then the communication quality of the IPTV service cannot be ensured.
Content of the invention
Embodiments of the invention provide a kind of BRAS address renewing method, device and system, for solving to work as IPTV service
During with broadband services using identical VLAN, the problem that the IPTV service address base of BRAS server can not upgrade in time.
For reaching above-mentioned purpose, embodiments of the invention are adopted the following technical scheme that:
A kind of first aspect, there is provided BRAS address renewing method, the method includes:
Gateway receives TCP/UDP packet, encapsulates RTSP protocol data in the TCP/UDP packet;
The gateway is judged according to the destination port number in the TCP/UDP packet or RTSP protocol characteristic field
Whether the TCP/UDP packet is IPTV service packet;
If the TCP/UDP packet is excellent in IPTV service packet, the described gateway detection packet
First level;
If the priority in the packet is lowest priority, the gateway by the TCP/UDP packet
Source IP address is sent to BRAS server, and the source IP address of the TCP/UDP packet is used for the BRAS server update
IPTV service address base.
Second aspect, there is provided another kind of BRAS address renewing method, the method includes:
BRAS server receives the source IP address of TCP/UDP packet from gateway, encapsulates in the TCP/UDP packet
RTSP protocol data, if for the gateway, the source IP address of the TCP/UDP packet judges that the TCP/UDP packet is
IPTV service packet, and if the BRAS is sent to when the priority of the TCP/UDP packet is for lowest priority
Server, wherein, the gateway is according to the destination port number in the TCP/UDP packet or the TCP/UDP packet
In whether judge whether the TCP/UDP packet is IPTV service packet comprising RTSP protocol characteristic field;
The source IP address of the TCP/UDP packet is updated to IPTV service address base by the BRAS server.
A kind of third aspect, there is provided gateway device, the gateway device includes:
Receiving unit, for receiving TCP/UDP packet, encapsulates RTSP protocol data in the TCP/UDP packet;
Judging unit, for according to the destination port number in the TCP/UDP packet or RTSP protocol characteristic field
To judge whether the TCP/UDP packet is IPTV service packet;
Detector unit, if be IPTV service packet, to detect in the packet for the TCP/UDP packet
Priority;
Transmitting element, if being lowest priority for the priority in the packet, by the TCP/UDP data
The source IP address of bag is sent to BRAS server, and the source IP address of the TCP/UDP packet is used for the BRAS server more
New IPTV service address base.
A kind of fourth aspect, there is provided BRAS server, the BRAS server includes:
Receiving unit, for receiving the source IP address of TCP/UDP packet from gateway, seals in the TCP/UDP packet
RTSP protocol data is filled, if the source IP address of the TCP/UDP packet judges the TCP/UDP data for the gateway
Wrap as IPTV service packet, and if be sent to when the priority of the TCP/UDP packet is for lowest priority described
BRAS server, wherein, the gateway is according to the destination port number in the TCP/UDP packet or the TCP/UDP number
Judge whether the TCP/UDP packet is IPTV service packet according to whether RTSP protocol characteristic field is included in bag;
Updating block, for being updated to IPTV service address base by the source IP address of the TCP/UDP packet.
5th aspect, there is provided a kind of BRAS address updating system, the system includes that the gateway as described in the third aspect sets
The standby and BRAS server as described in terms of four.
BRAS address renewing method, device and system that embodiments of the invention are provided, for the IPTV industry of current main flow
Whether business application layer mainly adopts RTSP agreement, sentenced comprising the feature for indicating RTSP agreement by judging TCP/UDP packet
Whether the disconnected TCP/UDP packet is IPTV service packet, when the TCP/UDP packet is IPTV service packet, enters
One step judges whether TCP/UDP packet is provided with priority by BRAS server, recognizes if priority is not set
For being not stored in the IPTV service address base of BRAS server, and then the source IP address of the TCP/UDP packet is sent
It is used for updating IPTV service address base to BRAS server, has the TCP/UDP packet using identical source IP address again when next time
When, BRAS server can arrange priority according to the IPTV service address base after renewal, solve when IPTV service and
When broadband services is using identical VLAN, the problem that the IPTV service address base of BRAS server can not upgrade in time.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Accompanying drawing to be used needed for technology description is had to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, acceptable
Other accompanying drawings are obtained according to these accompanying drawings.
The structural representation of the BRAS address updating system that Fig. 1 is provided for embodiments of the invention;
The ethernet frame structural representation of the PON gateway that Fig. 2 is provided for embodiments of the invention;
The schematic flow sheet of the BRAS address renewing method that Fig. 3 is provided for embodiments of the invention;
The schematic diagram of the TCP/UDP data packet format that Fig. 4 is provided for embodiments of the invention;
For what embodiments of the invention were provided, Fig. 5 judges that whether TCP/UDP packet is the flow process of IPTV service packet
Schematic diagram;
The structural representation of the gateway device that Fig. 6 is provided for embodiments of the invention;
The structural representation of the BRAS server that Fig. 7 is provided for embodiments of the invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation is described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made
Embodiment, belongs to the scope of protection of the invention.
The embodiment provides a kind of BRAS address updating system, with reference to shown in Fig. 1, the system includes:With
Family equipment 11, gateway device 12 and BRAS server 13.User equipment 11 can include but is not limited to Set Top Box, router, PC
(English full name:Personal computer, Chinese full name:Personal computer) etc. setting with broadband feature or IPTV function
Standby.Gateway device 11 can include but is not limited to PON (English full name:Passive optical network, Chinese full name:No
Source fiber optic network) gateway.Include IPTV service address base in BRAS server 13, for setting to IPTV service according to the address base
Put priority.
So that gateway device is for PON gateway as an example, IPTV service is entered by gateway device with the broadband services identical VLAN of encapsulation
Row explanation.PON gateway is mainly encapsulated using Ether frame in two layers of encapsulation format, user equipment (such as Set Top Box, PC, route
Device etc.) upstream data or PON gateway is sent from network reception downlink data, the band for encapsulating on PON gateway to PON gateway
The frame format of VLAN is as shown in Figure 2.Wherein VID represents that VLAN is identified, for indicating different VLAN, and PON gateway for
IPTV service and broadband services are not distinguished, and encapsulate identical VID.In addition, in Fig. 2:
Destination address:6 bytes, represent purpose MAC (English full name:Media access control, Chinese full name:Matchmaker
Body access control) address.
Source address:6 bytes, represent source MAC.
Type:2 bytes, represent frame type.Represent 802.1Q Tag frame when value is for 0x8100.If not supporting 802.1Q
Equipment receive such frame, can be abandoned.
PRI:3 bits, PRI (English full name:Priority, Chinese full name:Priority) represent frame priority, value model
Enclose for 0~7, be worth bigger priority higher.For when plugged, preferentially sending the high packet of priority.If arranging user
Priority, but without VLANID, then VLANID is necessarily arranged to 0x000.
CFI:1 bit, CFI (English full name:Canonical format indicator, Chinese full name:Reference format refers to
Show position), represent whether MAC Address is classical form.It is reference format that CFI is 0 explanation, and CFI is expressed as noncanonical format for 1.
For distinguishing ethernet frame, FDDI (English full name:Fiber distributed digital interface, Chinese full name:
Fiber Distributed Data Interface) frame and token-ring network frame.In ethernet networks, the value of CFI is 0.
VID:12 bits, i.e. VLAN ID, represent the VLAN belonging to the frame.In VRP, configurable VLAN ID value model
Enclose for 1~4094.The VLAN ID for retaining is defined as in 0 and 4095 agreements.
Length:2 bytes, represent the byte length of follow-up data, but do not include CRC (English full name:cyclic
Redundancy check, Chinese full name:Cyclic redundancy check (CRC)) check code.
Data:42~1500 bytes, represent data payload (may include filler).
CRC:4 bytes, CRC is used for cyclic redundancy check (also referred to as FCS or the frame inspection sequence of frame in subsequent byte mistake
Row).
BRAS address renewing method, device and system that embodiments of the invention are provided, by judging TCP (English full name:
Transmission control protocol, Chinese full name:Transmission control protocol)/UDP (English full name:user
Datagram protocol, Chinese full name:UDP) packet whether have RTSP protocol data feature and
Determine whether IPTV service packet, when TCP/UDP packet is IPTV service packet, further judge whether
Through being provided with priority by BRAS server, illustrate if priority is not provided with not in the IPTV service address of BRAS server
In storehouse, and then the source IP address of the TCP/UDP packet is sent to BRAS server so that IPTV service address base is updated, solves
The problem that the IPTV service address base of BRAS server can not upgrade in time.
Embodiment 1,
The embodiment provides a kind of BRAS address renewing method, is applied to above-mentioned BRAS address updating system,
With reference to shown in Fig. 3, the method includes:
S101, gateway receive TCP/UDP packet, encapsulate RTSP (English full name in the TCP/UDP packet:real
Time streaming protocol, Chinese full name:Real time streaming transport protocol) protocol data.
The IPTV service application layer for comparing main flow at present mainly carries out streaming media using RTSP agreement.RTSP agreement is
An application layer protocol in ICP/IP protocol system, is submitted to by Columbia University, Netscape and RealNetworks company
IETF RFC standard.The protocol define how one-to-many application effectively transmits multi-medium data by IP network.
RTSP is architecturally located at RTP (English full name:Real-time transport protocol, Chinese full name:Pass in real time
Defeated agreement) and RTCP (English full name:RTP control protocol, Chinese full name:RTP Control Protocol) on, it uses
TCP or UDP complete data transfer.
S102, gateway are judged according to the destination port number in TCP/UDP packet or RTSP protocol characteristic field
Whether TCP/UDP packet is IPTV service packet.
TCP/UDP packet is usually used the target port of limited quantity when by RTSP protocol transmission IPTV service
Number, such as using default objects port numbers 554 or other conventional destination port numbers, therefore can be characterized with destination port number
To judge whether TCP/UDP packet is IPTV service packet.The destination port number of TCP/UDP packet is with reference to institute in Fig. 3
The TCP/UDP data packet format for showing.
In addition, when RTSP protocol data is encapsulated in TCP/UDP packet, can be comprising the RTSP spy for indicating control video flowing
Levy field, such as PLAY, PAUSE etc., therefore can be characterized with RTSP protocol characteristic field to judge that TCP/UDP packet is
No for IPTV service packet.
If S103 TCP/UDP packet is excellent in IPTV service packet, gateway detection TCP/UDP packet
First level.
Comprising the field for indicating priority in TCP/UDP packet, the field i.e. available priority is detected.
If the priority in S104 TCP/UDP packet is lowest priority, gateway by TCP/UDP packet
Source IP address is sent to BRAS server, and the source IP address of the TCP/UDP packet is used for BRAS server update IPTV service
Address base.
Exemplary, it is assumed that 0 is when the priority in TCP/UDP packet is not for 0, illustrates that this regards
Frequency stream is provided with high priority by BRAS server, does not therefore process further;Priority in TCP/UDP packet
During for 0, newly-increased or anthropic factor omission of the video flowing because of video source is described, causes to be not added into BRAS server
IPTV service data base in so that BRAS server does not arrange priority to the video flowing, therefore by the TCP/UDP packet
Source IP address be sent to BRAS server for BRAS server update IPTV service address base.
Optionally, after receiving address from BRAS server and being updated successfully information, then the source for discharging the TCP/UDP packet
IP address, does not safeguard IPTV service address base on gateway, in order to avoid repeat and affect the use of gateway with the function of BRAS server
Performance.
S105, BRAS server receives the source IP address of TCP/UDP packet from gateway.
The source IP address of the TCP/UDP packet is updated to IPTV service address base by S106, BRAS server.
BRAS server checks IPTV service address base after receiving the source IP address of the TCP/UDP packet, and confirming should
The source IP address of the TCP/UDP packet is then updated to IPTV service address base not in IPTV service address base by IP address
In.Follow-up have when carrying out the video flowing of IP address since then again, it will is arranged to high priority.
The BRAS address renewing method that embodiments of the invention are provided, the IPTV service application layer for current main flow is main
Using RTSP agreement, the TCP/UDP is judged by judging TCP/UDP packet whether comprising the feature for indicating RTSP agreement
Whether packet is IPTV service packet, when the TCP/UDP packet is IPTV service packet, determines whether TCP/
Whether UDP message bag is provided with priority by BRAS server, is considered to be not stored in if priority is not set
In the IPTV service address base of BRAS server, and then the source IP address of the TCP/UDP packet is sent to BRAS server
For updating IPTV service address base, when having the TCP/UDP packet using identical source IP address again next time, BRAS server
Priority can be arranged according to the IPTV service address base after renewal, solve and phase is used when IPTV service and broadband services
During with VLAN, the problem that the IPTV service address base of BRAS server can not upgrade in time.
Optionally, with reference to shown in Fig. 5, step S102 includes:
If the destination port number in S1021 TCP/UDP packet is in RTSP agreement default objects port numbers
Individual, then gateway judges TCP/UDP packet for IPTV service packet.
Gateway can locally safeguard multiple RTSP agreement default objects port numbers, and RTSP agreement default objects port numbers
554 for including but not limited to can commonly using, according to practical application scene, can also include other conventional default objects ports
Number, the present invention is not limited thereto.
If the destination port number in S1022 TCP/UDP packet is not in RTSP agreement default objects port numbers
Individual, then whether include RTSP protocol characteristic field in gateway detection TCP/UDP packet.
If including RTSP protocol characteristic field in S1023 TCP/UDP packet, gateway judges the TCP/UDP data
Wrap as IPTV service packet.
Optionally, step S102 is still further comprised:
If including RTSP protocol characteristic field in S1024 TCP/UDP packet, by the mesh in TCP/UDP packet
Mark port numbers add RTSP agreement default objects port numbers.
Specifically, when gateway judges the TCP/UDP packet for IPTV service packet, can be by the TCP/UDP number
The RTSP agreement default objects port numbers of local maintenance are added according to the destination port number in bag, have same target end again so as to next time
IPTV service packet can be directly judged as during the TCP/UDP packet of slogan.
Embodiment 2,
The embodiment provides a kind of gateway device, as the gateway device 12 shown in Fig. 1, is applied to above-mentioned
BRAS address renewing method, with reference to shown in Fig. 6, the gateway device includes:
Receiving unit 1201, for receiving TCP/UDP packet, encapsulates RTSP protocol data in TCP/UDP packet.
Judging unit 1202, for the destination port number in the TCP/UDP packet that received according to receiving unit 1201
Or RTSP protocol characteristic field is judging whether TCP/UDP packet is IPTV service packet.
Detector unit 1203, for if it is determined that unit 1202 judges TCP/UDP packet for IPTV service packet, then
Detect the priority in the TCP/UDP packet.
Transmitting element 1204, if detect that for detector unit 1203 priority in TCP/UDP packet is minimum excellent
First level, then be sent to BRAS server by the source IP address of TCP/UDP packet, and the source IP address of TCP/UDP packet is used for
BRAS server update IPTV service address base.
As the gateway device in the embodiment of the present invention can apply to above-mentioned BRAS address renewing method, therefore, its institute
Obtainable technique effect also refers to said method embodiment, and the embodiment of the present invention will not be described here.
Optionally, in the possible design of one kind,
Judging unit 1202, if give tacit consent to mesh specifically for the destination port number in TCP/UDP packet for RTSP agreement
One in mark port numbers, then judge TCP/UDP packet for IPTV service packet;
Detector unit 1203, if the destination port number being additionally operable in TCP/UDP packet does not give tacit consent to mesh for RTSP agreement
Whether in mark port numbers, then include RTSP protocol characteristic field in detection TCP/UDP packet;
Judging unit 1202, if specifically for including RTSP protocol characteristic field in TCP/UDP packet, judged
TCP/UDP packet is IPTV service packet.
Optionally, in the possible design of one kind, with reference to shown in Fig. 6, gateway device 12 also includes:
Memory element 1205, if detected comprising RTSP agreement spy in TCP/UDP packet for detector unit 1203
Field is levied, then the destination port number in TCP/UDP packet is added RTSP agreement default objects port numbers.
It should be noted that judging unit, detector unit and memory element can be the processor that individually sets up, it is also possible to
Be integrated in some processor of controller and realize, in addition it is also possible to depositing for controller is stored in the form of program code
In reservoir, called by some processor of controller and execute the function of above judging unit, detector unit and memory element.
Processor described here can be a central processing unit (English full name:Central processing unit, English letter
Claim:), or specific integrated circuit (English full name CPU:Application specific integrated circuit,
English abbreviation:ASIC), or be arranged to implement the embodiment of the present invention one or more integrated circuits.
Embodiment 3,
The embodiment provides a kind of BRAS server, as the BRAS server 13 shown in Fig. 1, is applied to
Above-mentioned BRAS address renewing method, with reference to shown in Fig. 7, the BRAS server includes:
Receiving unit 1301, for receiving the source IP address of TCP/UDP packet from gateway, seals in TCP/UDP packet
RTSP protocol data is filled, the source IP address of TCP/UDP packet is judged for gateway if TCP/UDP packet is as IPTV service
Packet, and if when the priority of TCP/UDP packet is for lowest priority, it is sent to BRAS server, wherein, gateway
According in the destination port number in TCP/UDP packet or TCP/UDP packet whether comprising RTSP protocol characteristic field come
Judge whether TCP/UDP packet is IPTV service packet;
Updating block 1302, the source IP address of the TCP/UDP packet for receiving receiving unit 1301 is updated to
IPTV service address base.
As the BRAS server in the embodiment of the present invention can apply to above-mentioned BRAS address renewing method, therefore, its
Can be obtained with technique effect and said method embodiment is also referred to, the embodiment of the present invention will not be described here.
It should be noted that updating block can be the processor that individually sets up, it is also possible to be integrated in a certain of controller
Realize in individual processor, in addition it is also possible to be stored in the form of program code in the memorizer of controller, by controller certain
One processor is called and executes the function of above updating block.Processor described here can be a central processing unit,
Or specific integrated circuit, or it is arranged to implement one or more integrated circuits of the embodiment of the present invention.
It should be understood that in various embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to execute suitable
The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, and should not be to the enforcement of the embodiment of the present invention
Process constitutes any restriction.
Those of ordinary skill in the art are it is to be appreciated that the list of each example for describing with reference to the embodiments described herein
Unit and algorithm steps, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually
Executed with hardware or software mode, the application-specific depending on technical scheme and design constraint.Professional and technical personnel
Each specific application can be used different methods to described function is realized, but this realization is it is not considered that exceed
The scope of the present invention.
Those skilled in the art can be understood that, for convenience and simplicity of description, the system of foregoing description,
Device and the specific work process of unit, may be referred to the corresponding process in preceding method embodiment, will not be described here.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, permissible
Realize by another way.For example, apparatus embodiments described above are only schematic, for example, the unit
Divide, only a kind of division of logic function, can have other dividing mode, such as multiple units or component when actually realizing
Can in conjunction with or be desirably integrated into another system, or some features can be ignored, or not execute.Another, shown or
The coupling each other for discussing or direct-coupling or communication connection can be the indirect couplings of equipment or unit by some interfaces
Close or communicate to connect, can be electrical, mechanical or other forms.
The unit that illustrates as separating component can be or may not be physically separate, aobvious as unit
The part for showing can be or may not be physical location, you can be located at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, it is also possible to
It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function realized using in the form of SFU software functional unit and as independent production marketing or use when, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed by prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) execute each embodiment methods described of the present invention all or part of step.
And aforesaid storage medium includes:USB flash disk, portable hard drive, read only memory (English full name:Read-only memory, English letter
Claim:ROM), random access memory (English full name:Random access memory, English abbreviation:RAM), magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by the scope of the claims.
Claims (9)
1. a kind of BRAS address renewing method, it is characterised in that methods described includes:
Gateway receives TCP/UDP packet, encapsulates RTSP protocol data in the TCP/UDP packet;
Described in the gateway is judged according to the destination port number in the TCP/UDP packet or RTSP protocol characteristic field
Whether TCP/UDP packet is IPTV service packet;
If the TCP/UDP packet is IPTV service packet, described gateway detected in the TCP/UDP packet
Priority;
If the priority in the TCP/UDP packet is lowest priority, the gateway by the TCP/UDP packet
Source IP address be sent to BRAS server, the source IP address of the TCP/UDP packet is used for the BRAS server update
IPTV service address base.
2. method according to claim 1, it is characterised in that the gateway is according to the destination end in TCP/UDP packet
Slogan or RTSP protocol characteristic field judging whether the TCP/UDP packet is IPTV service packet, including:
If the destination port number in the TCP/UDP packet is in RTSP agreement default objects port numbers, institute
Stating gateway judges the TCP/UDP packet for the IPTV service packet;
If the destination port number in the TCP/UDP packet is not in RTSP agreement default objects port numbers,
The gateway detects in the TCP/UDP packet whether include the RTSP protocol characteristic field;
If including the RTSP protocol characteristic field in the TCP/UDP packet, the gateway judges the TCP/UDP
Packet is the IPTV service packet.
3. method according to claim 2, it is characterised in that methods described also includes:
If including the RTSP protocol characteristic field in the TCP/UDP packet, by the TCP/UDP packet
Destination port number adds the RTSP agreement default objects port numbers.
4. a kind of BRAS address renewing method, it is characterised in that methods described includes:
BRAS server receives the source IP address of TCP/UDP packet from gateway, encapsulates RTSP in the TCP/UDP packet
Protocol data, the source IP address of the TCP/UDP packet is judged for the gateway if the TCP/UDP packet is as IPTV
Business data packet, and if when the priority of the TCP/UDP packet is for lowest priority, it is sent to BRAS service
Device, wherein, the gateway according in the destination port number in the TCP/UDP packet or the TCP/UDP packet is
No judge comprising RTSP protocol characteristic field whether the TCP/UDP packet is IPTV service packet;
The source IP address of the TCP/UDP packet is updated to IPTV service address base by the BRAS server.
5. a kind of gateway device, it is characterised in that the gateway device includes:
Receiving unit, for receiving TCP/UDP packet, encapsulates RTSP protocol data in the TCP/UDP packet;
Judging unit, for the destination port number in the TCP/UDP packet that received according to the receiving unit or
RTSP protocol characteristic field is judging whether the TCP/UDP packet is IPTV service packet;
For the judging unit, detector unit, if judge that the TCP/UDP packet, for IPTV service packet, is detected
Priority in the packet;
Transmitting element, if detecting that for the detector unit priority in the packet is lowest priority, by institute
The source IP address for stating TCP/UDP packet is sent to BRAS server, and the source IP address of the TCP/UDP packet is for described
BRAS server update IPTV service address base.
6. gateway device according to claim 5, it is characterised in that
The judging unit, if give tacit consent to mesh specifically for the destination port number in the TCP/UDP packet for RTSP agreement
One in mark port numbers, then judge the TCP/UDP packet for the IPTV service packet;
The detector unit, if the destination port number being additionally operable in the TCP/UDP packet does not give tacit consent to mesh for RTSP agreement
Whether in mark port numbers, then detect comprising the RTSP protocol characteristic field in the TCP/UDP packet;
The judging unit, if specifically for including the RTSP protocol characteristic field in the TCP/UDP packet, sentenced
The TCP/UDP packet that breaks is the IPTV service packet.
7. gateway device according to claim 6, it is characterised in that the gateway device also includes:
Memory element, includes the RTSP protocol characteristic if detected in the TCP/UDP packet for the detector unit
Field, then add the RTSP agreement default objects port numbers by the destination port number in the TCP/UDP packet.
8. a kind of BRAS server, it is characterised in that the BRAS server includes:
Receiving unit, for receiving the source IP address of TCP/UDP packet from gateway, encapsulates in the TCP/UDP packet
RTSP protocol data, if for the gateway, the source IP address of the TCP/UDP packet judges that the TCP/UDP packet is
IPTV service packet, and if the BRAS is sent to when the priority of the TCP/UDP packet is for lowest priority
Server, wherein, the gateway is according to the destination port number in the TCP/UDP packet or the TCP/UDP packet
In whether judge whether the TCP/UDP packet is IPTV service packet comprising RTSP protocol characteristic field;
Updating block, the source IP address of the TCP/UDP packet for receiving the receiving unit is updated to IPTV industry
Business address base.
9. a kind of BRAS address updating system, it is characterised in that include the gateway device as any one of claim 5-7
And BRAS server as claimed in claim 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610887702.5A CN106453002B (en) | 2016-10-11 | 2016-10-11 | BRAS address renewing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610887702.5A CN106453002B (en) | 2016-10-11 | 2016-10-11 | BRAS address renewing method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106453002A true CN106453002A (en) | 2017-02-22 |
CN106453002B CN106453002B (en) | 2019-06-14 |
Family
ID=58173423
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610887702.5A Active CN106453002B (en) | 2016-10-11 | 2016-10-11 | BRAS address renewing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453002B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798079A (en) * | 2004-12-30 | 2006-07-05 | 华为技术有限公司 | Broadband access network of ensuring QoS of survice, and method |
CN102780610A (en) * | 2012-05-21 | 2012-11-14 | 上海斐讯数据通信技术有限公司 | Gateway QoS (Quality of Service) guaranteeing method and packet switching network system |
US8369339B2 (en) * | 2007-01-18 | 2013-02-05 | Alcatel Lucent | System and method of subscriber to content provider network access service management |
CN103581046A (en) * | 2012-07-27 | 2014-02-12 | 中兴通讯股份有限公司 | Method and device for achieving control of gateway service quality |
CN103780505A (en) * | 2014-01-27 | 2014-05-07 | 中国联合网络通信集团有限公司 | Business handling method and device |
-
2016
- 2016-10-11 CN CN201610887702.5A patent/CN106453002B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1798079A (en) * | 2004-12-30 | 2006-07-05 | 华为技术有限公司 | Broadband access network of ensuring QoS of survice, and method |
US8369339B2 (en) * | 2007-01-18 | 2013-02-05 | Alcatel Lucent | System and method of subscriber to content provider network access service management |
CN102780610A (en) * | 2012-05-21 | 2012-11-14 | 上海斐讯数据通信技术有限公司 | Gateway QoS (Quality of Service) guaranteeing method and packet switching network system |
CN103581046A (en) * | 2012-07-27 | 2014-02-12 | 中兴通讯股份有限公司 | Method and device for achieving control of gateway service quality |
CN103780505A (en) * | 2014-01-27 | 2014-05-07 | 中国联合网络通信集团有限公司 | Business handling method and device |
Non-Patent Citations (1)
Title |
---|
崔亮亮: "《基于EPON网络的IPTV业务保障方案及应用研究》", 《中国优秀硕士学位论文全文数据库信息科技辑》 * |
Also Published As
Publication number | Publication date |
---|---|
CN106453002B (en) | 2019-06-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11374848B2 (en) | Explicit routing with network function encoding | |
CN102694721B (en) | Method for the packet switch in network | |
CN101964746B (en) | Routing frames in shortest path computer network for multi-homed legacy bridge node | |
JP6074110B2 (en) | Method and system for synchronization with neighbors in a distributed resilient network interconnection (DRNI) link aggregation group | |
CN108307434B (en) | Method and apparatus for flow control | |
US8184550B2 (en) | Gateway with improved QoS awareness | |
EP1585261B1 (en) | Apparatus and method for processing labeled flows in a communications access network | |
JP2019036976A (en) | Method and system for supporting distributed relay control protocol (drcp) operations upon misconfiguration | |
CN100382517C (en) | Network QoS test method and system | |
WO2013145167A1 (en) | Lan multiplexer apparatus | |
CN101286922B (en) | Signalling control method, system and apparatus | |
CN107231307B (en) | Method, system and device for preventing traffic switching between subnetworks in data center architecture | |
CA2570745C (en) | Technique for transferring data over a packet switched network | |
CN108882008B (en) | A kind of method and apparatus of data conversion | |
CN102301663A (en) | Message processing method and associated devices | |
US20120163165A1 (en) | Apparatus and method for packet transport service based on multi protocol label switching-transport profile (mpls-tp) network | |
US11006319B2 (en) | 5G fixed mobile convergence user plane encapsulation | |
TWI627843B (en) | Method for traffic management at network node, network node in packet-switched network, computer-readable medium, and computer program product | |
WO2007071153A1 (en) | A method, a data network system and a network node for transmitting data packets | |
JP2007221526A (en) | Network repeater and packet transferring method | |
CN109672929A (en) | A kind of detection method and equipment of video traffic message | |
CN108270673A (en) | File transmitting method, device and system | |
KR20130093702A (en) | Packet transport system and traffic management method thereof | |
US10491423B2 (en) | VLAN tag communication method by using a remote network element port and apparatus | |
CN106453002A (en) | BRAS address updating method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |