CN101771901B - Method of multicast permission control in passive optical network, system and multi-dwelling unit - Google Patents
Method of multicast permission control in passive optical network, system and multi-dwelling unit Download PDFInfo
- Publication number
- CN101771901B CN101771901B CN200810242223.3A CN200810242223A CN101771901B CN 101771901 B CN101771901 B CN 101771901B CN 200810242223 A CN200810242223 A CN 200810242223A CN 101771901 B CN101771901 B CN 101771901B
- Authority
- CN
- China
- Prior art keywords
- multicast
- vlan
- address information
- user terminal
- unknown
- 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.)
- Expired - Fee Related
Links
- 230000003287 optical effect Effects 0.000 title claims abstract description 54
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000012545 processing Methods 0.000 claims description 14
- 238000012423 maintenance Methods 0.000 abstract description 10
- 230000006870 function Effects 0.000 abstract description 8
- 238000011144 upstream manufacturing Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000010076 replication Effects 0.000 description 3
- 101150012579 ADSL gene Proteins 0.000 description 2
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 2
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000002708 enhancing effect Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000003362 replicative effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Small-Scale Networks (AREA)
Abstract
The invention provides a method of multicast permission control in passive optical network, a system and a multi-dwelling unit. The invention receives the multicast service flow issued by optical line terminal OLT according to user terminal requests; when the information in the multicast service flow is unsuccessfully matched in the multicast forwarding table, multicast VLAN ID is obtained in unknown multicast learning table, and whether the user terminal has the multicast VLAN ID in the unknown multicast learning table is judged; the multicast service flow issued by the OLT is forwarded or is forbidden to forward by the user terminal, the multicast permission control in the PON system is realized through the multi-dwelling unit MDU, meanwhile, the configuration is simple, the permission control function is rich, and the costs of issue and maintenance of services are reduced.
Description
Technical Field
The invention relates to a network technology in the field of communication, in particular to a method and a system for controlling multicast authority in a passive optical network and a multi-dwelling unit.
Background
With the development of multimedia services such as streaming media, video conference, video on demand and the like in the internet, multicast services have become an important service in the internet, how to effectively manage multicast users and multicast resources while realizing multicast services, and enable multicast services to be diversified, and the multicast services are increasingly adopted by multicast services.
Currently, the multicast implemented on the DSLAM access device is the multicast of the TR101 standard, and its core is the multicast VLAN. In the TR101 standard, a multicast VLAN is used for distributing video multicast programs and, on the other hand, for controlling users who request programs within the multicast VLAN. In the networking structure when the multicast VLAN technology is applied to IPTV, the method generally includes: user host, switching equipment, routing equipment and server. The user host is used for sending a joining message for applying to join a certain multicast group or a leaving message for applying to leave a certain multicast group to the switching equipment through the VLAN domain where the user host is located according to the requirement of the user on the channel program; the switching equipment is used for sending the adding message or the leaving message from the user host to the routing equipment through the corresponding port of the routing equipment, and copying or deleting the channel program multicast stream (which is expressed as a multicast data message in the concrete implementation) from the routing equipment at the port corresponding to the user host according to the adding message or the leaving message; the route device is used for requesting the corresponding multicast stream from the server according to the received joining message, sending the requested multicast stream to the exchange device, and stopping sending the multicast stream according to the leaving message of the last member in the multicast group corresponding to the multicast stream. In addition, the routing device also sends a query message for querying which multicast groups have members, so as to control the sending or stopping of the multicast stream according to the query result.
The inventors have found that the above-mentioned methods of the prior art have at least the following problems: in a Passive Optical Network (PON), multicast authority control is realized on an Optical Line Terminal (OLT), and due to the large number of MDUs connected below each OLT, the hardware configuration of the OLT is complex and heavy in load, and the excessive configuration increases the service distribution and maintenance cost.
Disclosure of Invention
In view of this, embodiments of the present invention mainly aim to provide a method, a system, and a multi-dwelling unit for implementing multicast permission control in a passive optical network, so as to solve the problem of implementing control of user multicast permission on a multi-dwelling unit MDU in a PON system, and achieve simple configuration and rich permission control functions, and implement automatic configuration of a multicast VLAN when multicast service is extended by dynamically learning a corresponding relationship between the multicast VLAN and a multicast IP address, thereby reducing costs of service delivery and maintenance.
In order to achieve the above purpose, the embodiments of the present invention provide the following technical solutions:
a method of multicast permission control in a passive optical network, the method comprising: receiving a multicast service stream issued by a light receiving line terminal OLT according to a user terminal request; when the matching of the VLAN ID in the multicast service stream and the multicast IP address information fails in a multicast forwarding table, the multicast IP address information in the multicast service stream is used as an index, and the multicast VLANID corresponding to the multicast IP address information is obtained in an unknown multicast learning table, wherein the unknown multicast learning table is generated by learning the multicast IP address information in the multicast service stream issued by an OLT in advance and the VLAN ID corresponding to the multicast IP address information; judging whether the user terminal has the multicast VLAN ID in the unknown multicast learning table; and if the user terminal has the multicast VLAN ID in the unknown multicast learning table, forwarding the multicast service stream issued by the optical line terminal to the user terminal.
A multi-dwelling unit, MDU, comprising:
a receiving unit, configured to send, by an optical line terminal OLT, a multicast service stream according to a request from a user terminal;
an obtaining unit, configured to, when matching between a VLAN ID in the multicast service stream and multicast IP address information fails in a multicast forwarding table, obtain, in an unknown multicast learning table, a multicast VLAN ID corresponding to the multicast IP address information by using the multicast IP address information in the multicast service stream as an index, where the unknown multicast learning table is generated by learning, in advance, the multicast IP address information in the multicast service stream issued by an OLT and the VLAN ID corresponding to the multicast IP address information;
the judging unit is used for judging whether the user terminal has the multicast VLAN ID in the unknown multicast learning table or not according to the multicast VLAN ID corresponding to the multicast IP address information obtained by the obtaining unit, and sending the judgment result to the first processing unit;
and the first processing unit is used for forwarding the multicast service stream issued by the optical line terminal to the user terminal if the user terminal has the multicast VLAN ID in the unknown multicast learning table according to the judgment result sent by the judgment unit.
A multicast permission control system in a passive optical network, the system comprising: at least one multi-dwelling unit MDU and an optical line terminal OLT;
the MDU is used for receiving a multicast service stream issued by the optical line terminal OLT according to a request of the user terminal; when the matching of the VLAN ID in the multicast service stream and the multicast IP address information fails in a multicast forwarding table, the multicast VLAN ID corresponding to the multicast IP address information is obtained in an unknown multicast learning table by taking the multicast IP address information in the multicast service stream as an index, and the unknown multicast learning table is generated by learning the multicast IP address information in the multicast service stream issued by an OLT in advance and the VLAN ID corresponding to the multicast IP address information; judging whether the user terminal has the multicast VLAN ID in the unknown multicast learning table; if the user terminal has the multicast VLAN ID in the unknown multicast learning table, forwarding the multicast service stream issued by the optical line terminal to the user terminal;
and the OLT is used for sending the multicast service stream to the MDU according to the multicast group joining request sent by the MDU.
The embodiment of the invention receives the multicast service flow transmitted by the optical line terminal OLT according to the request of the user terminal; when the matching of the VLAN ID in the multicast service stream and the multicast IP address information fails in a multicast forwarding table, the multicast VLAN ID corresponding to the multicast IP address information is obtained in an unknown multicast learning table by taking the multicast IP address information in the multicast service stream as an index, and the unknown multicast learning table is generated by learning the multicast IP address information in the multicast service stream issued by an OLT in advance and the VLAN ID corresponding to the multicast IP address information; judging whether the user terminal has the multicast VLAN ID in the unknown multicast learning table; if the user terminal has the multicast VLAN ID in the unknown multicast learning table, the multicast service flow issued by the optical line terminal is forwarded to the user terminal, the problem that the multicast authority of the user is controlled on a multi-dwelling unit MDU in a PON system is solved, configuration is simple, authority control functions are rich, and by dynamically learning the corresponding relation between the multicast VLAN and the multicast IP address, automatic configuration of the multicast VLAN is realized when the multicast service is expanded, and the cost of service distribution and maintenance is reduced.
Drawings
Fig. 1 is a method for multicast permission control in a passive optical network according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific method for implementing online of a user terminal in a passive optical network according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a dynamic update of an unknown multicast learning table in a passive optical network according to an embodiment of the present invention;
fig. 4 is a flowchart of a specific method for implementing a user terminal offline in a passive optical network according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a multi-dwelling unit MDU according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a multicast permission control system in a passive optical network according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
It should be understood that the described embodiments are only some embodiments of the invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In an embodiment of the present invention, a method for implementing multicast permission control in a passive optical network specifically includes:
step S100, receiving the multicast service stream issued by the OLT according to the request of the user terminal.
And the multi-dwelling unit MDU receives a multicast group adding request of a user terminal, wherein the request is an IGMP adding message, and receives a multicast service stream issued by the OLT according to the multicast group adding request.
Step S102, when the matching of the VLAN ID in the multicast service flow and the multicast IP address information fails in the multicast forwarding table, the multicast VLAN ID corresponding to the multicast IP address information is obtained in an unknown multicast learning table by taking the multicast IP address information in the multicast service flow as an index, and the unknown multicast learning table is generated by learning the multicast IP address information in the multicast service flow issued by an OLT in advance and the VLAN ID corresponding to the multicast IP address information.
The unknown multicast learning table is stored in the MDU, and dynamically updated by learning the VLAN ID and the multicast IP address information in the multicast service stream issued by the OLT.
Step S104, judging whether the user terminal has the multicast VLANID in the unknown multicast learning table.
The method comprises the following steps: and searching a multicast on-demand relation table stored on the MDU by taking the obtained multicast VLAN ID corresponding to the multicast IP address information as an index, and obtaining the user terminal list, wherein the multicast on-demand relation table is configured in the MDU in advance.
According to the user terminal provided by the user terminal list, searching whether the user terminal has the program authority in the multicast VLAN in a user terminal authority list, wherein the user terminal authority list records: and the corresponding relation between the multicast VLAN ID and the user terminal authority is configured on the MDU in advance.
Step S106, if the user terminal has the multicast VLAN ID in the unknown multicast learning table, forwarding the multicast service stream issued by the optical line terminal to the user terminal.
According to the search result, the MDU forwards or forbids to forward the multicast service stream issued by the optical line terminal to the user terminal, namely if the search is successful, the MDU forwards the multicast service stream issued by the optical line terminal to the user terminal; if the search fails, the multicast service stream issued by the optical line terminal is forbidden to be forwarded to the user terminal.
In the embodiment of the invention, by receiving a multicast service stream issued by an OLT, and taking multicast IP address information in the multicast service stream as an index, an unknown multicast learning table is searched to obtain the multicast VLAN ID corresponding to the multicast IP address information, wherein the unknown multicast learning table is generated by learning the multicast IP address information in the multicast service stream issued by the OLT and the VLAN ID corresponding to the multicast IP address information in advance; judging whether the user terminal has the multicast VLAN ID in the unknown multicast learning table or not; if the user terminal has the multicast VLAN ID in the unknown multicast learning table, forwarding a multicast service stream issued by the optical line terminal to the user terminal, and matching the multicast VLAN ID with the multicast VLAN ID in the corresponding relation according to the corresponding relation between the multicast VLAN ID and the user terminal authority; according to the matching result, the multicast service flow issued by the optical line terminal is forwarded or prohibited from being forwarded to the user terminal, the control of the user multicast authority is realized on a multi-dwelling unit MDU in the PON system, the configuration is simple, the authority control function is rich, the automatic configuration of the multicast VLAN is realized when the multicast service is expanded by dynamically learning the corresponding relation between the multicast VLAN and the multicast IP address, and the service distribution and maintenance cost is reduced.
Referring to fig. 2, fig. 2 is a flowchart of a method for implementing a user terminal on-line in a passive optical network according to an embodiment of the present invention.
Step S200, receiving the request of joining the multicast group from the user terminal.
And the multi-dwelling unit MDU receives a multicast group adding request of a user terminal, wherein the request is an IGMP adding message.
Step S202, according to the request for joining the multicast group, receiving the multicast service flow from the OLT.
The MDU sends a multicast group joining request sent by the user terminal to the OLT, and receives a multicast service stream sent by the OLT.
Step S204, according to the VLAN ID and the multicast IP address in the multicast service flow sent by the OLT, the VLAN ID and the multicast IP address in the multicast service flow are matched with the VLAN ID and the multicast IP address in the multicast forwarding table.
The multicast forwarding table is stored on the MDU, and the multicast forwarding table is as follows: table 1 shows a table of correspondence between multicast vlan id, multicast IP address, and multicast replication list:
table 1-multicast forwarding table
Serial number | Multicast VLAN ID | Multicast IP address | Multicast replication list |
And matching the VLAN ID and the multicast IP address in the multicast service stream with the VLAN ID and the multicast IP address in a multicast forwarding table.
If the matching is successful, go to step S206; if the matching fails, steps S208 to S216 are further performed.
Step S206, if the matching is successful, copying and forwarding the corresponding multicast service stream to the user terminal according to the multicast copy list in the multicast forwarding table.
Step S208, if the matching fails, an unknown multicast learning table is searched by using the multicast IP address information in the multicast service stream as an index, and a multicast VLAN ID corresponding to the multicast IP address information is obtained, wherein the unknown multicast learning table is obtained by learning the VLAN ID and the multicast IP address information in the multicast service stream issued by the OLT.
The unknown multicast learning table is a corresponding relation table of a multicast VLAN ID and a multicast IP address, is stored in the MDU and is dynamically updated through learning the VLANID and the multicast IP address information in the multicast service flow sent by the OLT. See table 2 for details.
Table 2 unknown multicast learning table
Serial number | Multicast VLAN ID | Multicast IP address |
And searching an unknown multicast learning table by taking the multicast IP address information in the multicast service stream as an index, and acquiring the multicast VLAN ID corresponding to the multicast IP address information. The process of dynamic update of the unknown multicast learning table is described in detail below with reference to fig. 3.
Step S210, using the multicast VLAN ID in the multicast service stream as an index, searching a multicast on-demand relationship table, and obtaining the user terminal list.
The multicast-on-demand relationship table is a corresponding relationship table of a multicast VLAN ID, a multicast IP address and a user terminal list, and is specifically shown in table 3-the multicast-on-demand relationship table:
TABLE 3 multicast on demand relationship Table
Serial number | Multicast VLAN ID | Multicast IP address | User terminal list |
Step S212, according to the user terminal provided by the user terminal list, searching whether the user terminal has the program authority in the multicast VLAN in the user terminal authority list. If the search is successful, go to step S214; if the search fails, step S216 is executed.
Wherein, the user terminal authority list is: and the corresponding relation among the multicast VLAN ID, the user terminal and the user terminal authority.
TABLE 4 user terminal Authority Table
Serial number | Multicast VLAN ID | User terminal | User terminal rights |
And searching whether the user terminal has the program permission for watching the multicast VLAN in a user terminal permission list, namely judging whether the user terminal has the multicast VLAN ID in the unknown multicast learning list.
Step S214, if the search is successful, adding the user terminal into a multicast replication list in a multicast forwarding table of table 1, and replicating and converting the multicast service stream sent by the light line terminal to the user terminal;
if the search is successful, that is, the user terminal has the multicast VLAN ID in the unknown multicast learning table, the multicast service stream issued by the OLT is forwarded.
Step S216, if the search fails, forbidding forwarding the multicast service stream to the user terminal.
If the search fails, it indicates that the user terminal has no right to watch the programs in the multicast VLAN.
As can be seen from the specific implementation scheme provided by the embodiment of the present invention, with the multicast I P address information in the multicast service stream issued by the OLT as an index, an unknown multicast learning table is searched to obtain a multicast VLAN ID corresponding to the multicast IP address information, where the unknown multicast learning table is obtained by learning the VLAN ID and the multicast IP address information in the multicast service stream issued by the OLT; according to the corresponding relation between the multicast VLAN ID and the user terminal authority, matching the multicast VLAN ID with the multicast VLAN ID in the corresponding relation; according to the matching result, the multicast service flow issued by the optical line terminal is forwarded or prohibited to be forwarded to the user terminal, the control of user multicast permission in a PON system is achieved through the multi-dwelling unit MDU, the configuration is simple, the permission control function is rich, the automatic configuration of the multicast VLAN is achieved when the multicast service is expanded through dynamically learning the corresponding relation between the multicast VLAN and the multicast IP address, and the service distribution and maintenance cost is reduced.
Referring to fig. 3, fig. 3 is a flowchart illustrating a dynamic update process of an unknown multicast learning table in a passive optical network according to an embodiment of the present invention.
Wherein steps S300-S306 are the same as steps S200-S206 described in fig. 2 and will not be described in detail here.
Step S308, if the matching fails, the interruption is triggered, meanwhile, the unknown multicast learning table is searched by taking the multicast IP address information in the received multicast service stream as an index, and the multicast IP address in the multicast service stream is matched with the IP address in the unknown multicast learning table.
If the matching is successful, after executing step S310, executing step S312; if the matching is not successful, step S312 is directly performed.
In step S310, if the matching is successful, deleting the original multicast VLAN ID entry and the multicast IP address entry in the unknown multicast learning table, and after deleting the multicast VLAN ID entry and the multicast IP address entry in the table 2-multicast forwarding table, then performing step S212, that is, adding the corresponding relationship between the corresponding multicast VLAN ID and the multicast IP address information in the unknown multicast learning table.
The method specifically comprises the following steps: if the matching is successful, the corresponding relation between the original multicast VLAN ID and the multicast IP address in the unknown multicast learning table is changed, the original corresponding relation needs to be deleted, and a new corresponding relation needs to be added.
In step S312, if the matching fails, the corresponding relationship between the multicast vlan id and the multicast IP address information is added to the unknown multicast learning table, and the corresponding relationship is added to the table 1-multicast forwarding table.
The method specifically comprises the following steps: if the matching fails, it indicates that the newly added corresponding relationship needs to be added to the table 2-unknown multicast learning table and the table 1-multicast forwarding table in a learning manner.
It can be seen from the above specific implementation scheme provided in the embodiment of the present invention that, when the VLAN ID and the multicast IP address information in the multicast service stream delivered by the OLT are not matched with the multicast VLAN ID and the multicast IP address in the multicast forwarding table, the unknown multicast learning table adds the corresponding relationship between the corresponding multicast VLAN ID and the multicast IP address information in the multicast service stream delivered by the OLT by learning the VLAN ID and the multicast IP address information in the multicast service stream delivered by the OLT, thereby implementing automatic configuration of the multicast VLAN, enhancing scalability of the multicast service, and reducing costs of service delivery and maintenance.
Fig. 4 is a flowchart of a specific implementation method for a user terminal offline in a passive optical network according to an embodiment of the present invention, and fig. 4 is a flowchart of the user terminal offline flow in the passive optical network.
Step S400, receiving a leaving message sent by a user terminal, wherein the leaving message carries multicast IP address information.
Step S402, using the multicast IP address information carried in the leaving message as an index, searching an unknown multicast learning table, and obtaining a multicast VLAN ID corresponding to the multicast IP address information.
And step S404, deleting the user terminal from the multicast on-demand relation table according to the multicast VLAN ID information.
Step S406, when the user terminal is the last user terminal to view the multicast VLAN, the multicast VLAN ID and the multicast IP address information in the multicast forwarding table are deleted, and meanwhile, the multicast VLAN ID and the multicast IP address information in the unknown multicast learning table are deleted.
As can be seen from the specific implementation scheme provided by the embodiment of the present invention, the unknown multicast learning table is searched by using the multicast IP address information carried in the leave message as an index, and a multicast VLAN ID corresponding to the multicast IP address information is obtained; and deleting the user terminal from the multicast on-demand relation table according to the multicast VLAN ID information, so that when the multicast service is expanded, the automatic configuration of the multicast VLAN is realized, and the service distribution and maintenance cost is reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a multi-dwelling unit MDU according to an embodiment of the present invention.
A multi-dwelling unit MDU provides multiple access modes through an LSW/FPGA/ASIC switching chip, for example: ADSL access, VDSL access, ETH access, etc. provide rich upstream modes through LSW/FPGA/ASIC switching chips, for example: GPON upstream, EPON upstream, GE upstream, etc.
The MDU specifically comprises: a receiving unit 500, an obtaining unit 502, and a first processing unit 504.
The receiving unit 500 is configured to receive a multicast service stream issued by the OLT according to a request of the user terminal.
The obtaining unit 502 is configured to, when matching between the VLAN ID in the multicast service stream and the multicast IP address information fails in a multicast forwarding table, obtain, in an unknown multicast learning table, a multicast VLAN ID corresponding to the multicast IP address information by using the multicast IP address information in the multicast service stream as an index, where the unknown multicast learning table is generated by learning, in advance, the multicast IP address information in the multicast service stream issued by the OLT and the VLAN ID corresponding to the multicast IP address information.
A determining unit 504, configured to determine whether the user terminal has the multicast VLAN ID in the unknown multicast learning table according to the multicast VLAN ID corresponding to the multicast IP address information obtained by the obtaining unit, and send a determination result to the first processing unit;
the obtaining unit 504 specifically includes:
a first query unit 5042, configured to search a multicast-on-demand relationship table stored in a storage unit by using the multicast IP address information carried in the request as an index, to obtain the user terminal list;
a second matching unit 5044, configured to search, according to the ue provided in the ue list, whether the ue has a program right in the multicast VLAN in a ue right table;
a second processing unit 5046, where the user forwards the multicast service stream issued by the optical line terminal to the user terminal if the user successfully searches for the matching result of the second matching unit; if the search is unsuccessful, forbidding to forward the multicast service stream issued by the optical line terminal to the user terminal.
The first processing unit 506 is configured to forward, according to the determination result sent by the determining unit, the multicast service stream issued by the optical line terminal to the user terminal if the user terminal has the multicast VLAN ID in the unknown multicast learning table.
The MDU further comprises: a storage unit 508, configured to store an unknown multicast learning table, a multicast on-demand relationship table, a multicast forwarding table, and a user terminal permission relationship table.
The unknown multicast learning table updates the unknown multicast learning table, specifically, the table contents, by dynamically learning the multicast VLAN ID and the multicast IP address information in the multicast service stream delivered by the OLT, please refer to table 2 in embodiment 2.
The multicast forwarding table and the user terminal permission table are configured in advance, and please refer to table 1 and table 3 of embodiment 3, specifically, the contents of the tables are shown; the multicast ordering relation table is dynamically updated according to the information carried in the request message of the user ordering the program.
The MDU further comprises: a matching processing unit 510, configured to match, according to a VLAN ID and a multicast IP address in a multicast service stream issued by an OLT, the VLAN ID and the multicast IP address in the multicast service stream with the VLAN ID and the multicast IP address in a multicast forwarding table; and if the matching fails, forwarding the multicast service flow to an acquisition unit for processing.
When the MDU dynamically updates the unknown multicast learning table, the method further includes: a first matching unit 512, configured to match multicast IP address information in the multicast service stream with multicast IP address information in the unknown multicast learning table, where the unknown multicast learning table is a table of correspondence between multicast VLAN IDs and multicast IP addresses;
a first dynamic updating unit 514, configured to, when the first matching unit is unsuccessfully matched, add a corresponding correspondence between the multicast VLAN ID and the multicast IP address information in the unknown multicast learning table; or,
and when the first matching unit is successfully matched, deleting the corresponding relation between the original multicast VLAN ID and the multicast IP address information in the unknown multicast learning table, and increasing the corresponding relation between the corresponding multicast VLAN ID and the multicast IP address information.
When the MDU receives a leave message sent by a user terminal, the MDU further includes:
a second receiving unit 516, configured to receive a leave message sent by a user terminal, where the leave message carries multicast IP address information;
a second dynamic updating unit 518, configured to look up an unknown multicast learning table by using the multicast IP address information carried in the leave packet as an index, and obtain a multicast VLAN ID corresponding to the multicast IP address information; and deleting the user terminal from a multicast on-demand relation table according to the multicast VLAN ID information.
When the ue is the last ue, the MDU further includes:
a third dynamic updating unit 520, configured to delete the multicast VLAN ID and the multicast IP address information in the multicast forwarding table and delete the multicast VLAN ID and the multicast IP address information in the unknown multicast learning table when the user terminal is the last user terminal.
An embodiment of the present invention provides an MDU, including: the receiving unit, the obtaining unit and the first processing unit meet different forms of access, provide rich uplink modes, and solve the problem that the multicast authority of a user is controlled on a multi-dwelling unit MDU in a PON system, the configuration is simple, the authority control function is rich, and the automatic configuration of the multicast VLAN is realized when the multicast service is expanded by dynamically learning the corresponding relation between the multicast VLAN and the multicast IP address, so that the cost of service distribution and maintenance is reduced.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a multicast right control system in a passive optical network according to an embodiment of the present invention.
A multicast permission control system in a passive optical network, the system comprising: at least one multi-dwelling unit optical line terminal OLT602 and MDU604, the functions performed by the modules are as follows:
the OLT602 is configured to send a multicast service stream to the MDU according to the multicast group joining request sent by the MDU.
The MDU604 is configured to receive a multicast service stream issued by the OLT according to a request of the user terminal;
when the matching of the VLAN ID in the multicast service stream and the multicast IP address information fails in a multicast forwarding table, the multicast VLAN ID corresponding to the multicast IP address information is obtained in an unknown multicast learning table by taking the multicast IP address information in the multicast service stream as an index, and the unknown multicast learning table is generated by learning the multicast IP address information in the multicast service stream issued by an OLT in advance and the VLAN ID corresponding to the multicast IP address information; judging whether the user terminal has the multicast VLANID in the unknown multicast learning table; and if the user terminal has the multicast VLAN ID in the unknown multicast learning table, forwarding the multicast service stream issued by the optical line terminal to the user terminal.
The MDU provides multiple access modes through an LSW/FPGA/ASIC switching chip, for example: ADSL access, VDSL access, ETH access, etc. provide rich upstream modes through LSW/FPGA/ASIC switching chips, for example: GPON upstream, EPON upstream, GE upstream, etc.
The embodiment of the invention provides a multicast authority control system in a passive optical network, which comprises: the multi-dwelling unit MDU and the optical line terminal OLT meet different forms of access, provide rich uplink modes, solve the problem that the multicast authority of a user is controlled on the multi-dwelling unit MDU in a PON system, have simple configuration and rich authority control functions, and realize automatic configuration of the multicast VLAN and reduce the cost of service distribution and maintenance when the multicast service is expanded by dynamically learning the corresponding relation between the multicast VLAN and the multicast IP address.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (13)
1. A method for multicast permission control in a passive optical network, the method comprising:
receiving a multicast service stream issued by a light receiving line terminal OLT according to a user terminal request;
when the matching of the VLAN ID in the multicast service stream and the multicast IP address information fails in a multicast forwarding table, the multicast VLAN ID corresponding to the multicast IP address information is obtained in an unknown multicast learning table by taking the multicast IP address information in the multicast service stream as an index, and the unknown multicast learning table is generated by learning the multicast IP address information in the multicast service stream issued by an OLT in advance and the VLAN ID corresponding to the multicast IP address information;
judging whether the user terminal has the multicast VLAN ID in the unknown multicast learning table;
and if the user terminal has the multicast VLAN ID in the unknown multicast learning table, forwarding the multicast service stream issued by the optical line terminal to the user terminal.
2. The method of claim 1, wherein the matching of the VLAN ID and the multicast IP address information in the multicast service stream in the multicast forwarding table specifically comprises:
according to the VLAN ID and the multicast IP address in the multicast service stream issued by the OLT, the VLAN ID and the multicast IP address in the multicast service stream are matched with the VLAN ID and the multicast IP address in the multicast forwarding table.
3. The method of claim 1, wherein the generating of the unknown multicast learning table for learning in advance multicast IP address information in a multicast service stream delivered by an OLT and a VLAN ID corresponding to the multicast IP address information specifically comprises:
matching multicast IP address information in the multicast service stream with multicast IP address information in the unknown multicast learning table, wherein the unknown multicast learning table is a corresponding relation table of multicast VLAN IDs and multicast IP addresses;
if the matching fails, adding a corresponding relation between the multicast VLAN ID and the multicast IP address information in the unknown multicast learning table;
and if the matching is successful, deleting the corresponding relation between the original multicast VLAN ID and the multicast IP address information in the unknown multicast learning table, and then increasing the corresponding relation between the corresponding multicast VLAN ID and the multicast IP address information.
4. The method according to claim 1, wherein the determining whether the ue has the multicast VLAN ID in the unknown multicast learning table specifically comprises:
searching a multicast on-demand relation table by taking the obtained multicast VLAN ID corresponding to the multicast IP address information as an index, and obtaining a user terminal list;
and searching whether the user terminal has the program authority in the multicast VLAN in a user terminal authority list according to the user terminal provided by the user terminal list.
5. The method of claim 1, wherein the determining whether the user terminal has a multicast VLAN ID in the unknown multicast learning table further comprises:
and if the user terminal does not have the multicast VLAN ID in the unknown multicast learning table, the user terminal is forbidden to forward the multicast service stream issued by the optical line terminal.
6. The method of claim 1, further comprising:
receiving a leaving message sent by a user terminal, wherein the leaving message carries multicast IP address information;
searching an unknown multicast learning table by taking the multicast IP address information carried in the leaving message as an index, and acquiring a multicast VLAN ID corresponding to the multicast IP address information;
and deleting the user terminal from a multicast on-demand relation table according to the multicast VLAN ID information.
7. A multi-dwelling unit, MDU, comprising:
a receiving unit, configured to receive a multicast service stream issued by a light line terminal OLT according to a request of a user terminal;
an obtaining unit, configured to, when matching between a VLAN ID in the multicast service stream and multicast IP address information fails in a multicast forwarding table, obtain, in an unknown multicast learning table, a multicast VLAN ID corresponding to the multicast IP address information by using the multicast IP address information in the multicast service stream as an index, where the unknown multicast learning table is generated by learning, in advance, the multicast IP address information in the multicast service stream issued by an OLT and the VLAN ID corresponding to the multicast IP address information;
the judging unit is used for judging whether the user terminal has the multicast VLAN ID in the unknown multicast learning table or not according to the multicast VLAN ID corresponding to the multicast IP address information obtained by the obtaining unit, and sending the judgment result to the first processing unit;
and the first processing unit is used for forwarding the multicast service stream sent by the optical line terminal to the user terminal if the user terminal has the multicast VLAN ID in the unknown multicast learning table according to the judgment result sent by the judgment unit.
8. The MDU of claim 7, further comprising:
and the storage unit is used for storing an unknown multicast learning table, a multicast on-demand relation table, a multicast forwarding table and a user terminal authority relation table.
9. The MDU of claim 7, further comprising:
the matching processing unit is used for matching the VLAN ID and the multicast IP address in the multicast service stream with the VLAN ID and the multicast I P address in the multicast forwarding table according to the VLAN ID and the multicast IP address in the multicast service stream issued by the OLT; and if the matching fails, forwarding the multicast service flow to an acquisition unit for processing.
10. The MDU of claim 7, further comprising:
a first matching unit, configured to match multicast IP address information in the multicast service stream with multicast IP address information in the unknown multicast learning table, where the unknown multicast learning table is a table of correspondence between multicast VLAN IDs and multicast IP addresses;
the first dynamic updating unit is used for increasing the corresponding relation between the corresponding multicast VLAN ID and the multicast IP address information in the unknown multicast learning table when the first matching unit is unsuccessfully matched; or,
and when the first matching unit is successfully matched, deleting the corresponding relation between the original multicast VLAN ID and the multicast IP address information in the unknown multicast learning table, and increasing the corresponding relation between the corresponding multicast VLAN ID and the multicast IP address information.
11. The MDU of claim 7, wherein the determining unit specifically includes:
the first query unit is used for searching the multicast on-demand relation table stored in the storage unit by taking the multicast IP address information carried in the request as an index to obtain a user terminal list;
a second matching unit, configured to search, according to the user terminal provided by the user terminal list, whether the user terminal in the user terminal permission list has a program permission to view the multicast VLAN;
the second processing unit is used for forwarding the multicast service stream issued by the optical line terminal to the user terminal if the user successfully searches according to the matching result of the second matching unit; if the search is unsuccessful, forbidding to forward the multicast service stream issued by the optical line terminal to the user terminal.
12. The MDU of claim 7, further comprising:
a second receiving unit, configured to receive a leaving message sent by a user terminal, where the leaving message carries multicast IP address information;
a second dynamic updating unit, configured to look up an unknown multicast learning table by using the multicast IP address information carried in the leave packet as an index, and obtain a multicast VLAN ID corresponding to the multicast IP address information; and deleting the user terminal from a multicast on-demand relation table according to the multicast VLAN ID information.
13. A multicast permission control system in a passive optical network, the system comprising: at least one multi-dwelling unit MDU and an optical line terminal OLT;
the MDU is used for receiving a multicast service stream issued by the optical line terminal OLT according to a request of the user terminal; when the matching of the VLAN ID in the multicast service stream and the multicast IP address information fails in a multicast forwarding table, the multicast VLAN ID corresponding to the multicast IP address information is obtained in an unknown multicast learning table by taking the multicast IP address information in the multicast service stream as an index, and the unknown multicast learning table is generated by learning the multicast IP address information in the multicast service stream issued by an OLT in advance and the VLAN ID corresponding to the multicast IP address information; judging whether the user terminal has the multicast VLAN ID in the unknown multicast learning table; if the user terminal has the multicast VLAN ID in the unknown multicast learning table, forwarding the multicast service stream issued by the optical line terminal to the user terminal;
and the OLT is used for sending the multicast service stream to the MDU according to the multicast group joining request sent by the MDU.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810242223.3A CN101771901B (en) | 2008-12-31 | 2008-12-31 | Method of multicast permission control in passive optical network, system and multi-dwelling unit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810242223.3A CN101771901B (en) | 2008-12-31 | 2008-12-31 | Method of multicast permission control in passive optical network, system and multi-dwelling unit |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101771901A CN101771901A (en) | 2010-07-07 |
CN101771901B true CN101771901B (en) | 2013-04-24 |
Family
ID=42504439
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810242223.3A Expired - Fee Related CN101771901B (en) | 2008-12-31 | 2008-12-31 | Method of multicast permission control in passive optical network, system and multi-dwelling unit |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101771901B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102025523B (en) * | 2010-12-23 | 2015-06-03 | 中兴通讯股份有限公司 | Cross-virtual local area network multicast service processing method and device |
CN114143126A (en) * | 2021-11-26 | 2022-03-04 | 广州芯德通信科技股份有限公司 | Multicast data processing method, system and platform using default VLAN |
CN114448740B (en) * | 2022-01-14 | 2023-11-07 | 绿盟科技集团股份有限公司 | Multicast method, device, medium, product and equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1866857A (en) * | 2005-09-19 | 2006-11-22 | 华为技术有限公司 | PON system multicast authority managing and controlling method |
CN101051923A (en) * | 2007-04-05 | 2007-10-10 | 中兴通讯股份有限公司 | Multicast control method in ether passive optical network |
CN101267681A (en) * | 2008-04-23 | 2008-09-17 | 中兴通讯股份有限公司 | An access device and multicast control method for passive optical network |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7289501B2 (en) * | 2003-11-06 | 2007-10-30 | Teknovus, Inc. | Method and apparatus for bandwidth-efficient multicast in ethernet passive optical networks |
-
2008
- 2008-12-31 CN CN200810242223.3A patent/CN101771901B/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1866857A (en) * | 2005-09-19 | 2006-11-22 | 华为技术有限公司 | PON system multicast authority managing and controlling method |
CN101051923A (en) * | 2007-04-05 | 2007-10-10 | 中兴通讯股份有限公司 | Multicast control method in ether passive optical network |
CN101267681A (en) * | 2008-04-23 | 2008-09-17 | 中兴通讯股份有限公司 | An access device and multicast control method for passive optical network |
Also Published As
Publication number | Publication date |
---|---|
CN101771901A (en) | 2010-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8566886B2 (en) | Passive video caching for edge aggregation devices | |
EP1715628B1 (en) | A method for realizing the multicast service | |
US20090190587A1 (en) | Method for deploying multicast network, multicast network and control server | |
US8621534B2 (en) | Method, system, and device for admission control | |
US8149859B2 (en) | Method for managing delivery of multicast traffic to devices | |
CN100477591C (en) | Method for implementing controllable multicast operation | |
WO2007140680A1 (en) | A method for establishing the multicast lsp and a multicast data transfer system | |
Hwang et al. | QoS enhancement of live IPTV using an extended real-time streaming protocol in Ethernet passive optical networks | |
CN101202715A (en) | Method and apparatus for multicast authority auto dispositions | |
US8238337B1 (en) | Hybrid multicast switch employing network-layer routing | |
CN101771901B (en) | Method of multicast permission control in passive optical network, system and multi-dwelling unit | |
AU2011249457B2 (en) | Source selection by routers | |
US20120066720A1 (en) | System and method of internet group management for multicast push in passive access networks | |
CN101166194A (en) | A system and method for realizing distributed acceptance control | |
CN101345641B (en) | Multicast access equipment and method | |
CN101707695B (en) | Method and device for controlling access authority in Internet protocol television service | |
CN102497402B (en) | Content injection method and system thereof, and content delivery method and system thereof | |
CN102149026A (en) | Multicast realizing method and system | |
CN101931787B (en) | Method, device and system for controlling multicast programs | |
CN101409628A (en) | Method for implementing multicast control in point-to-multi-point optical network | |
US9065663B2 (en) | Method, apparatus and system for forwarding multicast program | |
CN103200470B (en) | The dispensing device of a kind of Gbit passive optical network system multicast service and method | |
KR20080061583A (en) | System and method for reducing cannel zapping time of iptv | |
KR100776665B1 (en) | Apparatus and method for multicasting using physical port database in vlan | |
CN101257449B (en) | System, method of medium dynamic jointing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
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: 20130424 Termination date: 20171231 |