CN106453002B - BRAS address renewing method, device and system - Google Patents
BRAS address renewing method, device and system Download PDFInfo
- Publication number
- CN106453002B CN106453002B CN201610887702.5A CN201610887702A CN106453002B CN 106453002 B CN106453002 B CN 106453002B CN 201610887702 A CN201610887702 A CN 201610887702A CN 106453002 B CN106453002 B CN 106453002B
- Authority
- CN
- China
- Prior art keywords
- data packet
- tcp
- udp data
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000001514 detection method Methods 0.000 claims description 12
- 230000005540 biological transmission Effects 0.000 claims description 7
- 238000004891 communication Methods 0.000 abstract description 4
- 230000006870 function Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 4
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 125000004122 cyclic group Chemical group 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 239000000835 fiber Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- RTZKZFJDLAIYFH-UHFFFAOYSA-N Diethyl ether Chemical compound CCOCC RTZKZFJDLAIYFH-UHFFFAOYSA-N 0.000 description 2
- 230000008878 coupling Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004364 calculation method Methods 0.000 description 1
- 238000012790 confirmation Methods 0.000 description 1
- 230000010485 coping Effects 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000005538 encapsulation Methods 0.000 description 1
- 239000000945 filler Substances 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 238000000926 separation method Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
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 kind of BRAS address renewing methods, device and system, are related to the communications field, for solving the problem of that the IPTV service address base of the BRAS server when IPTV service and broadband services are using identical VLAN cannot timely update.BRAS address renewing method includes: that gateway receives TCP/UDP data packet, encapsulates RTSP protocol data in TCP/UDP data packet;Gateway according in TCP/UDP data packet destination port number or RTSP protocol characteristic field judge whether TCP/UDP data packet is IPTV service data packet;If TCP/UDP data packet is IPTV service data packet, gateway detects the priority of the TCP/UDP data packet;If the priority in TCP/UDP data packet is lowest priority, the source IP address of TCP/UDP data packet is sent to BRAS server by gateway, and the source IP address of TCP/UDP data packet is used for BRAS server update IPTV service address base.The embodiment of the present 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 methods, device and system.
Background technique
Major operator while for domestic consumer's deployment of broadband network, also for user provide IPTV (full name in English:
Internet protocol television, Chinese name: network protocol television) business.When user uses both simultaneously
When business, since IPTV service is more sensitive to time delay, user's viewing experience is poor when time delay is big, and broadband access network business clock synchronization
It is relatively low to prolong requirement, user is easier to receive webpage unlatching slowly, it is therefore desirable to set high priority for IPTV service.It is existing
A kind of connection type is that IPTV and broadband use same service channel i.e. use identical VLAN (full name in English: virtual in net
Local area network, Chinese name: virtual LAN), in gateway or OLT (full name in English: optical line
Terminal, Chinese name: optical line terminal) all can not IPTV service to same VLAN and broadband services distinguish, and
And setting different priorities.
It in the prior art can (full name in English: broadband remote access server, Chinese be complete in BRAS
Claim: Broadband Remote Access Server) on according to uplink IPTV service access purpose IP address or downlink IPTV service source IP
IPTV service or broadband services are distinguished in address.But it needs to be manually entered in BRAS to establish IPTV service address
Library, when BRAS is recognized in data packet with the IP address in address above mentioned library, it is believed that the data packet is IPTV service data
Packet, and high priority is set by this data packet, to guarantee the quality of IPTV service.Although IPTV industry may be implemented in the method
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
It is engaged in IPTV service address base more news not in time on device, for not updating the IPTV service address base of the BRAS server
In IPTV service, will be unable to setting priority, and then not can guarantee the communication quality of the IPTV service.
Summary of the invention
The embodiment of the present invention provides a kind of BRAS address renewing method, device and system, works as IPTV service for solving
When using identical VLAN with broadband services, the problem of IPTV service address base of BRAS server cannot timely update.
In order to achieve the above objectives, the embodiment of the present invention adopts the following technical scheme that
In a first aspect, a kind of BRAS address renewing method is provided, this method comprises:
Gateway receives TCP/UDP data packet, encapsulates RTSP protocol data in the TCP/UDP data packet;
The gateway according in the TCP/UDP data packet destination port number or RTSP protocol characteristic field judge
Whether the TCP/UDP data packet is IPTV service data packet;
If the TCP/UDP data packet is IPTV service data packet, the gateway detects excellent in the data packet
First grade;
If priority in the data packet is lowest priority, the gateway is by the TCP/UDP data packet
Source IP address is sent to BRAS server, and the source IP address of the TCP/UDP data packet is used for the BRAS server update
IPTV service address base.
Second aspect provides another BRAS address renewing method, this method comprises:
BRAS server receives the source IP address of TCP/UDP data packet from gateway, encapsulates in the TCP/UDP data packet
RTSP protocol data, if the source IP address of the TCP/UDP data packet is that the gateway judges that the TCP/UDP data packet is
IPTV service data packet, and if the priority of the TCP/UDP data packet is sent to the BRAS when being lowest priority
Server, wherein the gateway is according to the destination port number or the TCP/UDP data packet in the TCP/UDP data packet
In whether comprising RTSP protocol characteristic field judge whether the TCP/UDP data packet is IPTV service data packet;
The source IP address of the TCP/UDP data packet is updated to IPTV service address base by the BRAS server.
The third aspect provides a kind of gateway, which includes:
Receiving unit encapsulates RTSP protocol data in the TCP/UDP data packet for receiving TCP/UDP data packet;
Judging unit, for according to the destination port number or RTSP protocol characteristic field in the TCP/UDP data packet
To judge whether the TCP/UDP data packet is IPTV service data packet;
Detection unit detects in the data packet if being IPTV service data packet for the TCP/UDP data packet
Priority;
Transmission unit, if being lowest priority for the priority in the data packet, by the TCP/UDP data
The source IP address of packet is sent to BRAS server, and the source IP address of the TCP/UDP data packet is used for the BRAS server more
New IPTV service address base.
Fourth aspect provides a kind of BRAS server, which includes:
Receiving unit seals in the TCP/UDP data packet for receiving the source IP address of TCP/UDP data packet from gateway
RTSP protocol data is filled, if the source IP address of the TCP/UDP data packet is that the gateway judges the TCP/UDP data
Packet is IPTV service data packet, and if the priority of the TCP/UDP data packet is described to be sent to when lowest priority
BRAS server, wherein the gateway according in the TCP/UDP data packet destination port number or the TCP/UDP number
Judge whether the TCP/UDP data packet is IPTV service data packet according to whether including RTSP protocol characteristic field in packet;
Updating unit, for the source IP address of the TCP/UDP data packet to be updated to IPTV service address base.
5th aspect, provides a kind of BRAS address updating system, which includes that the gateway as described in the third aspect is set
BRAS servers standby and as described in terms of four.
The BRAS address renewing method of the embodiment of the present invention offer, device and system, for the IPTV industry of current mainstream
Business application layer mainly uses RTSP agreement, by judging whether TCP/UDP data packet includes the feature for indicating RTSP agreement, to sentence
Whether the TCP/UDP data packet of breaking is IPTV service data packet, when the TCP/UDP data packet is IPTV service data packet, into
One step judges whether TCP/UDP data packet has been provided with priority by BRAS server, recognizes if priority is not set
To be in the IPTV service address base for be not stored in BRAS server, and then the source IP address of the TCP/UDP data packet is sent
To BRAS server for updating IPTV service address base, there is the TCP/UDP data packet using identical source IP address again when next time
When, priority can be arranged according to updated IPTV service address base in BRAS server, solve when IPTV service and
When broadband services uses identical VLAN, the problem of IPTV service address base of BRAS server cannot timely update.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is the structural schematic diagram for the BRAS address updating system that the embodiment of the present invention provides;
Fig. 2 is the ethernet frame structural schematic diagram for the PON gateway that the embodiment of the present invention provides;
Fig. 3 is the flow diagram for the BRAS address renewing method that the embodiment of the present invention provides;
Fig. 4 is the schematic diagram for the TCP/UDP data packet format that the embodiment of the present invention provides;
Fig. 5 be the embodiment of the present invention provide judge TCP/UDP data packet whether be IPTV service data packet process
Schematic diagram;
Fig. 6 is the structural schematic diagram for the gateway that the embodiment of the present invention provides;
Fig. 7 is the structural schematic diagram for the BRAS server that the embodiment of the present invention provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
The embodiment provides a kind of BRAS address updating systems, and referring to fig. 1, which includes: use
Family equipment 11, gateway 12 and BRAS server 13.User equipment 11 can include but is not limited to set-top box, router, PC
(full name in English: personal computer, Chinese name: personal computer) etc. has setting for broadband feature or IPTV function
It is standby.Gateway 12 can include but is not limited to PON (full name in English: passive optical network, Chinese name: nothing
Source fiber optic network) gateway.It include IPTV service address base in BRAS server 13, for being set according to the address base to IPTV service
Set priority.
By taking gateway is PON gateway as an example, to gateway by IPTV service and broadband services encapsulate identical VLAN into
Row explanation.PON gateway mainly uses Ether frame to encapsulate in two layers of encapsulation format, user equipment (such as set-top box, PC, routing
Device etc.) to PON gateway transmission upstream data or PON gateway from network reception downlink data, the band encapsulated on PON gateway
The frame format of VLAN is as shown in Figure 2.Wherein VID indicates VLAN mark, is used to indicate different VLAN, and PON gateway for
IPTV service and broadband services do not distinguish, and encapsulate identical VID.In addition, in Fig. 2:
Destination address: 6 bytes indicate purpose MAC (full name in English: media access control, Chinese name: matchmaker
Body access control) address.
Source address: 6 bytes indicate source MAC.
Type: 2 bytes indicate frame type.802.1Q Tag frame is indicated when value is 0x8100.If not supporting 802.1Q
Equipment receive such frame, can be abandoned.
PRI:3 bit, PRI (full name in English: priority, Chinese name: priority) indicate the priority of frame, value model
Enclosing is 0~7, and it is higher to be worth bigger priority.For when plugged, preferentially sending the high data packet of priority.If user is arranged
Priority, but there is no VLANID, then VLANID is necessarily arranged to 0x000.
CFI:1 bit, (full name in English: canonical format indicator, Chinese name: reference format refers to CFI
Show position), indicate whether MAC Address is classical format.CFI is that 0 explanation is reference format, and CFI is expressed as noncanonical format for 1.
For distinguish ethernet frame, FDDI (full name in English: fiber distributed digital interface, Chinese name:
Fiber Distributed Data Interface) frame and token-ring network frame.In ethernet networks, the value of CFI is 0.
VID:12 bit, i.e. VLAN ID, indicate VLAN belonging to the frame.In VRP, configurable VLAN ID value model
Enclose is 1~4094.The VLAN ID retained is defined as in 0 and 4095 agreements.
Length: 2 bytes indicate the byte length of follow-up data, but do not include CRC (full name in English: cyclic
Redundancy check, Chinese name: cyclic redundancy check) check code.
Data: 42~1500 bytes indicate data payload (may include filler).
CRC:4 byte, cyclic redundancy check (also referred to as FCS or frame inspection sequence of the CRC for subsequent byte mistake in frame
Column).
The embodiment of the present invention provide BRAS address renewing method, device and system, by judge TCP (full name in English:
Transmission control protocol, Chinese name: transmission control protocol)/UDP (full name in English: user
Datagram protocol, Chinese name: User Datagram Protocol) data packet whether have RTSP protocol data feature and
Judge whether it is IPTV service data packet, when TCP/UDP data packet is IPTV service data packet, further judges whether
Through being provided with priority by BRAS server, the IPTV service address not in BRAS server is illustrated if not set priority
In library, and then the source IP address of the TCP/UDP data packet is sent to BRAS server to update IPTV service address base, solved
The problem of IPTV service address base of BRAS server cannot timely update.
Embodiment 1,
The embodiment provides a kind of BRAS address renewing methods, are applied to above-mentioned BRAS address updating system,
Referring to fig. 3, this method comprises:
S101, gateway receive TCP/UDP data packet, encapsulate RTSP (full name in English: real in the TCP/UDP data packet
Time streaming protocol, Chinese name: real time streaming transport protocol) protocol data.
The IPTV service application layer of relatively mainstream mainly uses RTSP agreement to carry out streaming media at present.RTSP agreement is
An application layer protocol in ICP/IP protocol system is submitted by Columbia University, Netscape and RealNetworks company
IETF RFC standard.The protocol define one-to-many applications how effectively to transmit multi-medium data by IP network.
RTSP is architecturally located at RTP, and (full name in English: Chinese name: real-time transport protocol is passed in real time
Defeated agreement) and RTCP (full name in English: RTP control protocol, Chinese name: RTP Control Protocol) on, it use
TCP or UDP completes data transmission.
S102, gateway according in TCP/UDP data packet destination port number or RTSP protocol characteristic field judge
Whether TCP/UDP data packet is IPTV service data packet.
TCP/UDP data packet is when transmitting IPTV service by RTSP agreement, usually using the target port of limited quantity
Number, such as using default objects port numbers 554 or other common destination port numbers, therefore can be characterized by destination port number
To judge whether TCP/UDP data packet is IPTV service data packet.The destination port number of TCP/UDP data packet is referring to institute in Fig. 4
The TCP/UDP data packet format shown.
In addition, the RTSP spy of instruction control video flowing can be included when encapsulating RTSP protocol data in TCP/UDP data packet
Field, such as PLAY, PAUSE etc. are levied, therefore can judge that TCP/UDP data packet is characterized by RTSP protocol characteristic field
No is IPTV service data packet.
If S103, TCP/UDP data packet are IPTV service data packet, gateway detects excellent in TCP/UDP data packet
First grade.
Field comprising instruction priority in TCP/UDP data packet, detects the priority that the field can be obtained.
If priority in S104, TCP/UDP data packet is lowest priority, gateway is by TCP/UDP data packet
Source IP address is sent to BRAS server, and the source IP address of the TCP/UDP data packet is used for BRAS server update IPTV service
Address base.
Illustratively, it is assumed that 0 is lowest priority, when the priority in TCP/UDP data packet is not 0, illustrates the view
Frequency stream is provided with high priority by BRAS server, therefore is not further processed;Priority in TCP/UDP data packet
When being 0, illustrates that the video flowing may be omitted due to the newly-increased or human factor of video source, cause to be not added into BRAS server
IPTV service database in so that priority is not arranged to the video flowing in BRAS server, therefore by the TCP/UDP data 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 of the TCP/UDP data packet is discharged
IP address does not safeguard IPTV service address base on gateway, in order to avoid the use of gateway is repeated and influenced with the function of BRAS server
Performance.
S105, BRAS server receive the source IP address of TCP/UDP data packet from gateway.
The source IP address of the TCP/UDP data 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 data packet, and confirmation should
The source IP address of the TCP/UDP data packet is then updated to IPTV service address base not in IPTV service address base by IP address
In.It is subsequent to have when carrying out the video flowing of IP address since then again, it will to be arranged to high priority.
The BRAS address renewing method that the embodiment of the present invention provides, it is main for the IPTV service application layer of current mainstream
Using RTSP agreement, by judging whether TCP/UDP data packet includes the feature for indicating RTSP agreement, to judge the TCP/UDP
Whether data packet is IPTV service data packet, when the TCP/UDP data packet is IPTV service data packet, further judges TCP/
Whether UDP message packet has been 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 data packet is sent to BRAS server
For updating IPTV service address base, when having the TCP/UDP data packet using identical source IP address again next time, BRAS server
Priority can be set according to updated IPTV service address base, solve when IPTV service and broadband services use phase
When with VLAN, the problem of IPTV service address base of BRAS server cannot timely update.
Optionally, referring to fig. 5, step S102 includes:
If the destination port number in S1021, TCP/UDP data packet is one in RTSP agreement default objects port numbers
A, then gateway judges TCP/UDP data packet for IPTV service data packet.
Gateway can locally safeguard multiple RTSP agreement default objects port numbers, and RTSP agreement default objects port numbers
It can include but is not limited to common 554, can also include other common default objects ports according to practical application scene
Number, the present invention is not limited thereto.
If the destination port number in S1022, TCP/UDP data packet is not one in RTSP agreement default objects port numbers
It is a, then it whether include RTSP protocol characteristic field in gateway detection TCP/UDP data packet.
If including RTSP protocol characteristic field in S1023, TCP/UDP data packet, gateway judges the TCP/UDP data
Packet is IPTV service data packet.
Optionally, step S102 may further comprise:
If including RTSP protocol characteristic field in S1024, TCP/UDP data packet, by the mesh in TCP/UDP data packet
It marks port numbers and RTSP agreement default objects port numbers is added.
Specifically, when gateway judges the TCP/UDP data packet for IPTV service data packet, it 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 packet so that there is same target end in next time again
It can directly be judged as IPTV service data packet when the TCP/UDP data packet of slogan.
Embodiment 2,
The embodiment provides a kind of gateways to be applied to above-mentioned as gateway 12 shown in Fig. 1
BRAS address renewing method, referring to fig. 6, which includes:
Receiving unit 1201 encapsulates RTSP protocol data for receiving TCP/UDP data packet in TCP/UDP data packet.
Judging unit 1202, the destination port number in TCP/UDP data packet for being received according to receiving unit 1201
Or RTSP protocol characteristic field judges whether TCP/UDP data packet is IPTV service data packet.
Detection unit 1203, be used for if it is determined that unit 1202 judge TCP/UDP data packet for IPTV service data packet, then
Detect the priority in the TCP/UDP data packet.
Transmission unit 1204, if it is minimum excellent for detecting the priority in TCP/UDP data packet for detection unit 1203
First grade, then be sent to BRAS server for the source IP address of TCP/UDP data packet, and the source IP address of TCP/UDP data packet is used for
BRAS server update IPTV service address base.
Since the gateway in the embodiment of the present invention can be applied to above-mentioned BRAS address renewing method, institute
Obtainable technical effect is see also above method embodiment, and details are not described herein for the embodiment of the present invention.
Optionally, in a kind of possible design,
Judging unit 1202, if being that RTSP agreement defaults mesh specifically for the destination port number in TCP/UDP data packet
One in port numbers is marked, then judges TCP/UDP data packet for IPTV service data packet;
Detection unit 1203, if the destination port number being also used in TCP/UDP data packet is not RTSP agreement default mesh
One in port numbers is marked, then whether is detected in TCP/UDP data packet comprising RTSP protocol characteristic field;
Judging unit 1202 judges if being specifically used in TCP/UDP data packet including RTSP protocol characteristic field
TCP/UDP data packet is IPTV service data packet.
Optionally, in a kind of possible design, referring to fig. 6, gateway 12 further include:
Storage unit 1205, if detected for detection unit 1203 special comprising RTSP agreement in TCP/UDP data packet
Field is levied, then RTSP agreement default objects port numbers are added in the destination port number in TCP/UDP data packet.
It, can also be with it should be noted that judging unit, detection unit and storage unit can be the processor individually set up
It is integrated in some processor of controller and realizes, in addition it is also possible to be stored in depositing for controller in the form of program code
In reservoir, is called by some processor of controller and execute the function of the above judging unit, detection unit and storage unit.
Processor described here can be a central processing unit (full name in English: central processing unit, English letter
Claim: CPU) or specific integrated circuit (full name in English: application specific integrated circuit,
English abbreviation: ASIC), or be arranged to implement one or more integrated circuits of the embodiment of the present invention.
Embodiment 3,
The embodiment provides a kind of BRAS servers to be applied to as BRAS server 13 shown in Fig. 1
Above-mentioned BRAS address renewing method, referring to fig. 7, which includes:
Receiving unit 1301 seals in TCP/UDP data packet for receiving the source IP address of TCP/UDP data packet from gateway
RTSP protocol data is filled, judgement TCP/UDP data packet is IPTV service if the source IP address of TCP/UDP data packet is gateway
Data packet, and if the priority of TCP/UDP data packet is sent to BRAS server when being lowest priority, wherein gateway
According in the destination port number or TCP/UDP data packet in TCP/UDP data packet whether comprising RTSP protocol characteristic field come
Judge whether TCP/UDP data packet is IPTV service data packet;
The source IP address of updating unit 1302, the TCP/UDP data packet for receiving receiving unit 1301 is updated to
IPTV service address base.
Since the BRAS server in the embodiment of the present invention can be applied to above-mentioned BRAS address renewing method,
Technical effect be can be obtained see also above method embodiment, details are not described herein for the embodiment of the present invention.
It should be noted that updating unit can be the processor individually set up, also can integrate in a certain of controller
It is realized in a processor, in addition it is also possible to be stored in the form of program code in the memory of controller, by certain of controller
One processor calls and executes the function of the above updating unit.Processor described here can be a central processing unit,
Either specific integrated circuit, or be 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, magnitude of the sequence numbers of the above procedures are not meant to execute suitable
Sequence it is successive, the execution of each process sequence should be determined by its function and internal logic, the implementation without coping with the embodiment of the present invention
Process constitutes any restriction.
Those of ordinary skill in the art may be aware that list described in conjunction with the examples disclosed in the embodiments of the present disclosure
Member and algorithm steps can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
It is implemented in hardware or software, the specific application and design constraint depending on technical solution.Professional technician
Each specific application can be used different methods to achieve the described function, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, apparatus and method, it can be with
It realizes by another way.For example, apparatus embodiments described above are merely indicative, for example, the unit
It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components
It can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of equipment or unit
It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (full name in English: read-only memory, English letter
Claim: ROM), random access memory (full name in English: random access memory, English abbreviation: RAM), magnetic disk or light
The various media that can store program code such as disk.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (9)
1. a kind of BRAS address renewing method, which is characterized in that the described method includes:
Gateway receives TCP/UDP data packet, encapsulates RTSP protocol data in the TCP/UDP data packet;
The gateway according in the TCP/UDP data packet destination port number or RTSP protocol characteristic field it is described to judge
Whether TCP/UDP data packet is IPTV service data packet;
If the TCP/UDP data packet is IPTV service data packet, the gateway is detected in the TCP/UDP data packet
Priority;
If priority in the TCP/UDP data packet is lowest priority, the gateway is by the TCP/UDP data packet
Source IP address be sent to BRAS server, the source IP address of the TCP/UDP data packet is used for the BRAS server update
IPTV service address base.
2. the method according to claim 1, wherein the gateway is according to the target side in TCP/UDP data packet
Slogan or RTSP protocol characteristic field judge whether the TCP/UDP data packet is IPTV service data packet, comprising:
If the destination port number in the TCP/UDP data packet is one in RTSP agreement default objects port numbers, institute
Stating gateway judges the TCP/UDP data packet for the IPTV service data packet;
If the destination port number in the TCP/UDP data packet is not one in RTSP agreement default objects port numbers,
Whether it includes the RTSP protocol characteristic field that the gateway detects in the TCP/UDP data packet;
If including the RTSP protocol characteristic field in the TCP/UDP data packet, the gateway judges the TCP/UDP
Data packet is the IPTV service data packet.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
It, will be in the TCP/UDP data packet if in the TCP/UDP data packet including the RTSP protocol characteristic field
The RTSP agreement default objects port numbers are added in destination port number.
4. a kind of BRAS address renewing method, which is characterized in that the described method includes:
BRAS server receives the source IP address of TCP/UDP data packet from gateway, encapsulates RTSP in the TCP/UDP data packet
Protocol data, if the source IP address of the TCP/UDP data packet is that the gateway judges that the TCP/UDP data packet is IPTV
Business data packet, and if the priority of the TCP/UDP data packet is sent to the BRAS service when being lowest priority
Device, wherein the gateway is according in the destination port number or the TCP/UDP data packet in the TCP/UDP data packet
No includes RTSP protocol characteristic field to judge whether the TCP/UDP data packet is IPTV service data packet;
The source IP address of the TCP/UDP data packet is updated to IPTV service address base by the BRAS server.
5. a kind of gateway, which is characterized in that the gateway includes:
Receiving unit encapsulates RTSP protocol data in the TCP/UDP data packet for receiving TCP/UDP data packet;
Judging unit, for according in the received TCP/UDP data packet of the receiving unit destination port number or
RTSP protocol characteristic field judges whether the TCP/UDP data packet is IPTV service data packet;
Detection unit, if judging that the TCP/UDP data packet for IPTV service data packet, detects for the judging unit
Priority in the data packet;
Transmission unit, if detecting the priority in the data packet for the detection unit is lowest priority, by institute
The source IP address for stating TCP/UDP data packet is sent to BRAS server, and the source IP address of the TCP/UDP data packet is for described
BRAS server update IPTV service address base.
6. gateway according to claim 5, which is characterized in that
The judging unit, if being that RTSP agreement defaults mesh specifically for the destination port number in the TCP/UDP data packet
One in port numbers is marked, then judges the TCP/UDP data packet for the IPTV service data packet;
The detection unit, if the destination port number being also used in the TCP/UDP data packet is not RTSP agreement default mesh
One in port numbers is marked, then whether is detected in the TCP/UDP data packet comprising the RTSP protocol characteristic field;
The judging unit is sentenced if being specifically used in the TCP/UDP data packet including the RTSP protocol characteristic field
The TCP/UDP data packet of breaking is the IPTV service data packet.
7. gateway according to claim 6, which is characterized in that the gateway further include:
Storage unit, if detecting for the detection unit includes the RTSP protocol characteristic in the TCP/UDP data packet
Then the RTSP agreement default objects port numbers are added in destination port number in the TCP/UDP data packet by field.
8. a kind of BRAS server, which is characterized in that the BRAS server includes:
Receiving unit encapsulates in the TCP/UDP data packet for receiving the source IP address of TCP/UDP data packet from gateway
RTSP protocol data, if the source IP address of the TCP/UDP data packet is that the gateway judges that the TCP/UDP data packet is
IPTV service data packet, and if the priority of the TCP/UDP data packet is sent to the BRAS when being lowest priority
Server, wherein the gateway is according to the destination port number or the TCP/UDP data packet in the TCP/UDP data packet
In whether comprising RTSP protocol characteristic field judge whether the TCP/UDP data packet is IPTV service data packet;
Updating unit, for the source IP address of the received TCP/UDP data packet of the receiving unit to be updated to IPTV industry
Business address base.
9. a kind of BRAS address updating system, which is characterized in that including the gateway as described in 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 CN106453002A (en) | 2017-02-22 |
CN106453002B true 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业务保障方案及应用研究》;崔亮亮;《中国优秀硕士学位论文全文数据库信息科技辑》;20130215(第2期);全文 |
Also Published As
Publication number | Publication date |
---|---|
CN106453002A (en) | 2017-02-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102694721B (en) | Method for the packet switch in network | |
US9451056B2 (en) | Method for mapping packets to network virtualization instances | |
JP6046309B2 (en) | Method and system for updating distributed resilient network interconnection (DRNI) status | |
JP2019036976A (en) | Method and system for supporting distributed relay control protocol (drcp) operations upon misconfiguration | |
EP1585261B1 (en) | Apparatus and method for processing labeled flows in a communications access network | |
CN104092595B (en) | Message processing method and device in virtualization system based on 802.1BR | |
US20080151893A1 (en) | Method and system for virtual routing using containers | |
US9154404B2 (en) | Method and system of accessing network for access network device | |
EP3720075B1 (en) | Data transmission method and virtual switch | |
EP2996282B1 (en) | Handling network traffic via a fixed access | |
US9240943B2 (en) | Metropolitan area network communications method and communication system | |
CN104602266B (en) | A method of realizing software definition wireless network | |
CN105745898A (en) | Method and telecommunications arrangement for transferring media data having differing media types via a network sensitive to quality of service | |
CN108270673A (en) | File transmitting method, device and system | |
WO2018109550A1 (en) | Address configuration method and apparatus in software-defined networking system | |
EP2951973B1 (en) | Data transfer | |
CN104184637B (en) | Fully-mechanized mining working data transmission system and its data transmission method | |
US20060013226A1 (en) | Technique for transferring data over a packet switched network | |
WO2009006560A1 (en) | Flexible mapping of virtual local area networks to ethernet virtual circuits | |
EP3701683B1 (en) | Cable modem interface mask based virtual local area network mapping | |
CN110679121A (en) | Full fabric-wide bandwidth management | |
CN106453002B (en) | BRAS address renewing method, device and system | |
Cisco | Configuring X.25 and LAPB | |
Cisco | Configuring X.25 and LAPB | |
EP3011720B1 (en) | Transporting serially over tcp/ip using raw tcp encapsulation |
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 |