CN103281232A - Method for achieving VLAN multicasting on modem - Google Patents
Method for achieving VLAN multicasting on modem Download PDFInfo
- Publication number
- CN103281232A CN103281232A CN2013102099318A CN201310209931A CN103281232A CN 103281232 A CN103281232 A CN 103281232A CN 2013102099318 A CN2013102099318 A CN 2013102099318A CN 201310209931 A CN201310209931 A CN 201310209931A CN 103281232 A CN103281232 A CN 103281232A
- Authority
- CN
- China
- Prior art keywords
- vlan
- multicast
- configuration file
- iptv
- multicasting
- 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
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
Disclosed is a method for achieving VLAN multicasting on a modem. The method for achieving the VLAN multicasting on the modem comprises the steps that a VLAN allocation file is newly built in a file system of the modem; the IPTV VLAN of each LAN port is read from an allocation file to the VLAN allocation file after the modem is powered up; after downlink multicasting data flow or universal multicasting searching message comes, the VLAN allocation file is read by the modem, and the IPTV VLAN of each LAN port is found out; the multicasting data flow or the VLAN in the universal multicasting searching message is replaced, and therefore VLAN multicasting is achieved. Due to the method for achieving the VLAN multicasting on the modem, the VLAN allocation file is the integer value of the number of corresponding LAN ports and is very simple and easy to modify according to the VLAN allocation file built in the modem system file, and the multicasting data flow or the VLAN in the universal multicasting searching message is replaced according to the VLAN allocation file so as to achieve the VLAN multicasting. When IPTV_WLANs change, the VLAN allocation file can be modified.
Description
Technical field
The present invention relates to technical field of multicast, particularly relate to the implementation method that a kind of broadband cat goes up the travelling across VLAN multicast.
Background technology
The Ethernet interface of broadband cat, top box sometimes picks down, to support the IPTV business, group business stream generally can have public M-VLAN, descending multicast traffic stream and multicast general polling (Query) message, all use this VLAN, we need will this public M-VLAN to be converted to user's IPTV VLAN, i.e. travelling across VLAN multicast sometimes.For example the VLAN tag of the multicast data message of VLAN=M is replaced with the User IP TV VLAN tag of VID=N.Present existing scheme is to set up software register mostly, record multicast source VLAN, and purpose VLAN, multicast address and port numbers according to the mapping relations of multicast source VLAN and purpose VLAN, copy to the IPTV VLAN that purpose VLAN(is the user with message)
Present existing technology, by setting up the mode of software register, be relatively to be fit to switch, the equipment that local area network (LAN) etc. are large-scale, but on the cat of broadband, it is so complicated that we there is no need to do, broadband cat ethernet port is generally 1 or 4, there is no need to set up software register, the increase of software register, the deletion and more new capital be more loaded down with trivial details.We can have the travelling across VLAN multicast on the fairly simple method realization broadband cat
Summary of the invention
Based on this, be necessary to provide a kind of convenient and simple broadband cat to go up the implementation method of travelling across VLAN multicast.
A kind of broadband cat goes up the implementation method of travelling across VLAN multicast, comprising:
A newly-built VLAN configuration file in the file system of broadband cat;
After powering on, the broadband cat from configuration file, reads the IPTV VLAN of each LAN mouth in described VLAN configuration file;
After descending multicast traffic stream or multicast general polling message got off, the broadband cat was read described VLAN configuration file, finds the IPTV VLAN of corresponding LAN mouth;
Replace the VLAN in multicast traffic stream or the multicast general polling message, thereby realize the travelling across VLAN multicast.
Therein among embodiment, described VLAN configuration file be corresponding LAN mouth number 0~4095 between integer value.
Among embodiment, also comprise therein:
Configuration of IP TV VLAN is to described VLAN configuration file.
Among embodiment, described configuration of IP TV VLAN finishes by the TR069 server to the step of described VLAN configuration file therein.
Among embodiment, described configuration of IP TV VLAN finishes by the broadband cat page to the step of described VLAN configuration file therein.
After adopting method of the present invention, by the newly-built VLAN configuration file in the cat system file of broadband, described VLAN configuration file is the integer value of corresponding LAN mouth number, very simple and be easy to revise, according to described VLAN configuration file, replace the VLAN in multicast traffic stream or the multicast general polling message, thereby realize the travelling across VLAN multicast.And when IPTV VLAN changes, can revise the VLAN configuration file.
Description of drawings
The broadband cat that Fig. 1 provides for one embodiment of the invention goes up the flow chart of the implementation method of travelling across VLAN multicast;
The broadband cat that Fig. 2 provides for another embodiment of the present invention goes up the flow chart of the implementation method of travelling across VLAN multicast.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is described in more detail.Should be appreciated that specific embodiment described herein only in order to explaining the present invention, and be not used in restriction the present invention.
Consult Fig. 1, the broadband cat of an embodiment provided by the invention goes up the implementation method of travelling across VLAN multicast, comprising:
Step S101, a newly-built VLAN configuration file in the file system of broadband cat;
In this step, the VLAN configuration file be corresponding LAN mouth number 0~4095 between integer value.For example, if the broadband cat is the 4LAN mouth, then the VLAN configuration file is the integer value between 4 0~4095, uses space-separated between the integer value between these 4 0~4095, if corresponding LAN mouth need not the travelling across VLAN multicast, then this integer value is 0.
Step S102 reads the IPTV VLAN of each LAN mouth in the VLAN configuration file after the broadband cat powers on from configuration file;
In this step, after powering on, the broadband cat from configuration file, reads the acquiescence IPTV VLAN of each LAN mouth in the VLAN configuration file.
Step S103, after descending multicast traffic stream or multicast general polling message got off, the broadband cat was read the VLAN configuration file, finds the IPTV VLAN of corresponding LAN mouth;
In this step, according to the VLAN configuration file, find the LAN mouth that needs the IPTV of travelling across VLAN multicast VLAN.
Step S104 replaces the VLAN in multicast traffic stream or the multicast general polling message, thereby realizes the travelling across VLAN multicast.
If what broadband cat WAN mouth was come in is the multicast traffic stream of public multicast 4095, the broadband cat is 4 LAN mouths, the IPTV VLAN of 4 LAN mouths is respectively IPTV VLAN100, IPTV VLAN200, IPTV VLAN300 and IPTV VLAN400, all needs the travelling across VLAN multicast.Then after the broadband cat powers on, from configuration file, read the IPTV VLAN of each LAN mouth in the VLAN configuration file, namely IPTV VLAN100, IPTV VLAN200, IPTV VLAN300 and IPTV VLAN400 are read in the VLAN configuration file, the result of VLAN configuration file is 100,200,300,400 4 integer values, and by space-separated.Replace the VLAN in multicast traffic stream or the multicast general polling message, thereby realize the travelling across VLAN multicast, in this example, namely public multicast 4095 is replaced with IPTV VLAN100, IPTV VLAN200, IPTV VLAN300 and IPTV VLAN400.If corresponding LAN mouth is not thought the travelling across VLAN multicast, then the integer value of the corresponding LAN mouth of VLAN configuration file is changed into 0.
Consult Fig. 2, the implementation method for travelling across VLAN multicast on the broadband cat of another enforcement provided by the invention comprises:
Step S201, a newly-built VLAN configuration file in the file system of broadband cat;
In this step, the VLAN configuration file be corresponding LAN mouth number 0~4095 between integer value.For example, if the broadband cat is the 4LAN mouth, then the VLAN configuration file is the integer value between 4 0~4095, uses space-separated between the integer value between these 4 0~4095, if corresponding LAN mouth need not the travelling across VLAN multicast, then this integer value is 0.
Step S202 reads the IPTV VLAN of each LAN mouth in the VLAN configuration file after the broadband cat powers on from configuration file;
In this step, after powering on, the broadband cat from configuration file, reads the acquiescence IPTV VLAN of each LAN mouth in the VLAN configuration file.
Step S203, after descending multicast traffic stream or multicast general polling message got off, the broadband cat was read the VLAN configuration file, finds the IPTV VLAN of corresponding LAN mouth;
In this step, according to the VLAN configuration file, find the LAN mouth that needs the IPTV of travelling across VLAN multicast VLAN.
Step S204 replaces the VLAN in multicast traffic stream or the multicast general polling message, thereby realizes the travelling across VLAN multicast;
If what broadband cat WAN mouth was come in is the multicast traffic stream of public multicast 4095, the broadband cat is 4 LAN mouths, the IPTV VLAN of 4 LAN mouths is respectively IPTV VLAN100, IPTV VLAN200, IPTV VLAN300 and IPTV VLAN400, all needs the travelling across VLAN multicast.Then after the broadband cat powers on, from configuration file, read the IPTV VLAN of each LAN mouth in the VLAN configuration file, namely IPTV VLAN100, IPTV VLAN200, IPTV VLAN300 and IPTV VLAN400 are read in the VLAN configuration file, the result of VLAN configuration file is 100,200,300,400 4 integer values, and by space-separated.Replace the VLAN in multicast traffic stream or the multicast general polling message, thereby realize the travelling across VLAN multicast, in this example, namely public multicast 4095 is replaced with IPTV VLAN100, IPTV VLAN200, IPTV VLAN300 and IPTV VLAN400.If corresponding LAN mouth is not thought the travelling across VLAN multicast, then the integer value of the corresponding LAN mouth of VLAN configuration file is changed into 0.
Step S205, configuration of IP TV VLAN is to the VLAN configuration file.
Because the change that the IPTV VLAN of LAN mouth may think so need to revise the VLAN configuration file, in time realizes the travelling across VLAN multicast.The IPTV VLAN100 that for example in step S204, mentions, IPTV VLAN200, IPTV VLAN300 and IPTV VLAN400, if IPTV VLAN400 has changed, become IPTV VLAN500, then revised corresponding VLAN configuration file, changed the integer value of correspondence into 500.Revising the VLAN configuration file can finish by the broadband cat page or TR069 server, is appreciated that the mode of revising the VLAN configuration file is not limited to above-mentioned two kinds.
After adopting method of the present invention, by the newly-built VLAN configuration file in the cat system file of broadband, the VLAN configuration file is the integer value of corresponding LAN mouth number, very simple and be easy to revise, according to the VLAN configuration file, replace the VLAN in multicast traffic stream or the multicast general polling message, thereby realize the travelling across VLAN multicast.And when IPTV VLAN changes, can revise the VLAN configuration file.
The above embodiment has only expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but can not therefore be interpreted as the restriction to claim of the present invention.Should be pointed out that for the person of ordinary skill of the art without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (5)
1. the implementation method of the last travelling across VLAN multicast of broadband cat is characterized in that, comprising:
A newly-built VLAN configuration file in the file system of broadband cat;
After powering on, the broadband cat from configuration file, reads the IPTV VLAN of each LAN mouth in described VLAN configuration file;
After descending multicast traffic stream or multicast general polling message got off, the broadband cat was read described VLAN configuration file, finds the IPTV VLAN of corresponding LAN mouth;
Replace the VLAN in multicast traffic stream or the multicast general polling message, thereby realize the travelling across VLAN multicast.
2. broadband according to claim 1 cat goes up the implementation method of travelling across VLAN multicast, it is characterized in that, described VLAN configuration file be corresponding LAN mouth number 0~4095 between integer value.
3. the implementation method of the last travelling across VLAN multicast of broadband cat according to claim 1 is characterized in that, also comprises:
Configuration of IP TV VLAN is to described VLAN configuration file.
4. the implementation method of the last travelling across VLAN multicast of broadband cat according to claim 3 is characterized in that described configuration of IP TV VLAN finishes by the TR069 server to the step of described VLAN configuration file.
5. the implementation method of the last travelling across VLAN multicast of broadband cat according to claim 3 is characterized in that described configuration of IP TV VLAN finishes by the broadband cat page to the step of described VLAN configuration file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310209931.8A CN103281232B (en) | 2013-05-30 | 2013-05-30 | A kind of implementation method of the upper travelling across VLAN multicast of broadband cat |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310209931.8A CN103281232B (en) | 2013-05-30 | 2013-05-30 | A kind of implementation method of the upper travelling across VLAN multicast of broadband cat |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103281232A true CN103281232A (en) | 2013-09-04 |
CN103281232B CN103281232B (en) | 2018-05-01 |
Family
ID=49063687
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310209931.8A Expired - Fee Related CN103281232B (en) | 2013-05-30 | 2013-05-30 | A kind of implementation method of the upper travelling across VLAN multicast of broadband cat |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103281232B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6977891B1 (en) * | 2001-06-30 | 2005-12-20 | Extreme Networks, Inc. | Method and system for multicast traffic reduction |
CN1756210A (en) * | 2004-09-29 | 2006-04-05 | 上海贝尔阿尔卡特股份有限公司 | Multicast access control method and device in access network |
CN101005434A (en) * | 2007-01-15 | 2007-07-25 | 杭州华为三康技术有限公司 | Polymerizing method for two layer multicast virtual local area network and its convergent exchanger |
CN101083546A (en) * | 2007-07-18 | 2007-12-05 | 中兴通讯股份有限公司 | Multicasting management approach of switch equipment |
CN101123522A (en) * | 2007-09-11 | 2008-02-13 | 中兴通讯股份有限公司 | A system and method for communication element to realize multicast service and network TV service |
CN102882794A (en) * | 2012-07-23 | 2013-01-16 | 上海斐讯数据通信技术有限公司 | Method for optimizing ethernet multicast data transmission |
-
2013
- 2013-05-30 CN CN201310209931.8A patent/CN103281232B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6977891B1 (en) * | 2001-06-30 | 2005-12-20 | Extreme Networks, Inc. | Method and system for multicast traffic reduction |
CN1756210A (en) * | 2004-09-29 | 2006-04-05 | 上海贝尔阿尔卡特股份有限公司 | Multicast access control method and device in access network |
CN101005434A (en) * | 2007-01-15 | 2007-07-25 | 杭州华为三康技术有限公司 | Polymerizing method for two layer multicast virtual local area network and its convergent exchanger |
CN101083546A (en) * | 2007-07-18 | 2007-12-05 | 中兴通讯股份有限公司 | Multicasting management approach of switch equipment |
CN101123522A (en) * | 2007-09-11 | 2008-02-13 | 中兴通讯股份有限公司 | A system and method for communication element to realize multicast service and network TV service |
CN102882794A (en) * | 2012-07-23 | 2013-01-16 | 上海斐讯数据通信技术有限公司 | Method for optimizing ethernet multicast data transmission |
Non-Patent Citations (1)
Title |
---|
林勇: "跨VLAN组播在IPTV中的应用于实现", 《计算机光盘软件与应用》 * |
Also Published As
Publication number | Publication date |
---|---|
CN103281232B (en) | 2018-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107733799B (en) | Message transmission method and device | |
CN109937559B (en) | Method and device for network communication | |
US20140334495A1 (en) | Direct Connect Virtual Private Interface for a One to Many Connection with Multiple Virtual Private Clouds | |
ATE553570T1 (en) | SCALING VLANS IN A DATA NETWORK | |
WO2016023443A1 (en) | Method for supporting vlan by means of linux soft bridge | |
CN103931144B (en) | A kind of method, apparatus and system communicated in virtual Domain | |
CN103095546A (en) | Method, device and data center network for processing messages | |
CN104407913A (en) | Method for implementing two-wire access through virtual machine with single network card | |
CN101667964B (en) | Collocation method and device of access control list (ACL) regulations | |
CN102055641A (en) | Distribution method for virtual local area network and related device | |
US20200136863A1 (en) | Synchronizing route | |
CN104410559A (en) | A method for achieving multiple routing and bridging of home gateway using single network bridge | |
CN105765922B (en) | Flow entry treating method and apparatus | |
WO2016101515A1 (en) | Method and apparatus for determining information technology (it) device port | |
CN101115001B (en) | Host computer of ADSL router and PVC dynamic binding method | |
CN103281232A (en) | Method for achieving VLAN multicasting on modem | |
CN106330783A (en) | Method and device for reporting OpenFlow switch capabilities | |
WO2017177648A1 (en) | Method for enabling super vlan and vlanif to be compatible in ipran system | |
WO2015149432A1 (en) | Controlling method and controlling device for mac address drifting | |
CN103384222A (en) | Method for matching data flow with ACL | |
WO2018205541A1 (en) | Dynamically allocated virtual port vpls forwarding mistake-proof method and system | |
CN103532758A (en) | Configuration processing method suitable for next-generation transmission equipment and data equipment integration | |
Chen et al. | Svdc: a highly scalable isolation architecture for virtualized layer-2 data center networks | |
CN104994137B (en) | A kind of method of network readezvous point agency | |
CN103596649A (en) | Method, equipment and system for communication in virtual local area network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180501 Termination date: 20190530 |