CN100471168C - Method for multicast managing of multiple terminals under the same access port - Google Patents

Method for multicast managing of multiple terminals under the same access port Download PDF

Info

Publication number
CN100471168C
CN100471168C CNB2005101011254A CN200510101125A CN100471168C CN 100471168 C CN100471168 C CN 100471168C CN B2005101011254 A CNB2005101011254 A CN B2005101011254A CN 200510101125 A CN200510101125 A CN 200510101125A CN 100471168 C CN100471168 C CN 100471168C
Authority
CN
China
Prior art keywords
terminal
message
under
multicast
access interface
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
Application number
CNB2005101011254A
Other languages
Chinese (zh)
Other versions
CN1859284A (en
Inventor
余金宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB2005101011254A priority Critical patent/CN100471168C/en
Publication of CN1859284A publication Critical patent/CN1859284A/en
Application granted granted Critical
Publication of CN100471168C publication Critical patent/CN100471168C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

A multicasting managing method to multiple terminal of same incoming end port includes: configuring each multicasting terminal number of same incoming end port; when different multicasting terminal in constructing internet multicasting management protocol message or leaving message, filling terminal number in unused field in internet multicasting management protocol message; router side equipment through analyzing received said unused field in internet multicasting management protocol message and leaving message, distinguish each multicasting terminal in same incoming end port. The present invention can reduce user record occupied space in access equipment, having high identifying user efficiency.

Description

The method that many station terminals under the same access interface are carried out multicast management
Technical field
The present invention relates to the multicast service technical field, relate in particular to a kind of method that many station terminals under the same access interface are carried out multicast management.
Background technology
Be accompanied by the development of broadband services, the user no longer has been satisfied with basic web page browsing and file and has downloaded, and the business of demands such as video, long-distance education, stock information and video conference is increased rapidly.Therefore the multicast service based on the Internet has become an application greatly that promotes that broadband services grows continuously and fast.
Along with the expansion of multicast service especially video traffic, many families have brought into use the group broadcasting video frequency business.Because growth in the living standard, a lot of families have many medium receiving equipments (as television set, computer), and in the reality operation, one family is generally just put an access interface, under the situation that many station terminals equipment is arranged, how to distinguish many multi-cast terminals under the same physics access interface, guaranteeing that many station terminals can not interfere with each other when request program, is that present video multicast needs a problem solving in the operation process.
Because according to agreement, IGMP (INTERNET multicast management protocol) message itself does not have tape terminal information, confirms different terminals so some present solutions all are some incidental informations (MAC Address) when arriving upper layer device according to user's message.Prior art is generally distinguished a plurality of multi-cast terminals by the study of MAC Address because the MAC Address difference of each multi-cast terminal, access device when receiving the IGMP message, can according to message with the difference of MAC Address distinguish the terminal that sends message.
Access device according to the IGMP protocol massages from a physical port (as the XDSL port), received with source MAC distinguish message and send by which terminal, thereby operate accordingly.If first user who reaches the standard grade that this terminal is this physical port then is provided with the hardware forwarding table item, note the terminal of reaching the standard grade; If last user of rolling off the production line that this terminal is this physical port then deletes the hardware forwarding table item, empty online record simultaneously to terminal; Otherwise, only note terminal on the situation that rolls off the production line, do not do hardware operation.
If the message of reporting of user is Ethernet encapsulation (so just having MAC Address), then access device is after receiving user's message, and analytic message obtains user's MAC Address, and notes, in order to the distinguishing terminal user.When receiving the joining message of user, in the record of user place physical port, note user's MAC Address, simultaneously the flow process of reaching the standard grade of process user; Whether when receiving user's leave message, it is online to search the user according to MAC Address, if online, the flow process that rolls off the production line of process user.It is as follows to upgrade the flow process of transmitting according to record: when the IGMP that receives the user joins message, judge whether the user is first user of its place physical port, if, the hardware forwarding table item then is set, if not, then need not to do operation on the hardware; When receiving user's IGMP leave message, judge whether the user is last user of its place physical port, if, then delete the hardware forwarding table item, if not, then need not to do operation on the hardware.
The shortcoming of prior art is:
If 1 user's access way is PPPOA (the net loaded point-to-point protocol of ATM) or IPOA (the net loaded IP agreement of ATM), then because the message of PPPOA and IPOA is the ATM encapsulation, MAC Address is the information that the ether encapsulation just has, so itself does not carry MAC Address these messages, access device can't be learnt the MAC Address of terminal.
2, a MAC Address has accounted for 48, if distinguish the user with MAC Address, occupation space is bigger when record, and matching efficiency is lower when discerning the user simultaneously.
Summary of the invention
Technical problem to be solved by this invention is: when overcoming prior art and distinguishing many multi-cast terminals under the same access interface according to MAC Address, inapplicable to access waies such as PPPOA or IPOA, write down the MAC Address big deficiency that takes up room simultaneously, a kind of method that many station terminals under the same access interface are carried out multicast management is provided, when distinguishing multi-cast terminal, satisfy the needs of different access waies, and reduce the shared space of user record in the access device.
The present invention solves the problems of the technologies described above the technical scheme that is adopted to be:
This method that many station terminals under the same access interface are carried out multicast management, in PPPOA or IPOA access way, the router side apparatus may further comprise the steps when distinguishing under the same access interface many multi-cast terminals:
A, the terminal number of each multi-cast terminal under the same access interface is set;
Different multi-cast terminals are inserted terminal number in the unused word section of internet multicast management agreement message when structure internet multicast managerial protocol report message or leave message under B, the same access interface;
Internet multicast managerial protocol report message that C, router side apparatus receive by analysis and the unused word section in the leave message are distinguished each multi-cast terminal under the same access interface.
Described router side apparatus comprises the access device or the router of the support internet multicast management agreement message relative with multi-cast terminal.
Among the described step C, in the user record of access device program multicast, increase the space and be used for writing down terminal number, when terminal adds or leaves, in described user record, carry out record; If there is terminal to add, check it whether is first multi-cast terminal under this port, if, the hardware forwarding table item then is set, multicast traffic stream is mail to this access interface, if not, then need not to do operation on the hardware; If there is terminal to leave, check it whether is last user under this port, if, then delete the hardware forwarding table item, multicast traffic stream no longer mails to this access interface, if not, then need not to do operation on the hardware.
Can adopt each to represent a multi-cast terminal in 8 of described unused word section, in the user record of described access device program multicast, increase a byte and write down terminal number, each represents a multi-cast terminal, when terminal adds or leaves, by the binary number of record in the user record and terminal is carried out logical operation, whether the mark terminal is online.
Multi-cast terminal of each digitized representation of 8 representatives that also can described unused word section, in the user record of described access device program multicast, increase by one 256 data field or write down with array different terminals on the situation that rolls off the production line, when terminal added or leaves, whether the mark terminal was online.
Described terminal number can be provided with and revise on the terminal of structure internet multicast management agreement message by software.
Beneficial effect of the present invention is: the invention provides a kind of method that many station terminals under the same access interface are carried out multicast management, guarantee to distinguish different user terminals by expanded application to the unused word section in the IGMP message format, in multi-cast terminal, be supported in the IGMP message and fill in terminal number in the unused word section, the terminal number of in multi-cast terminal, in the IGMP message, filling in the unused word section by software setting.Router side apparatus (equipment that comprises the support IGMP message that access device, router, BAS etc. are relative with main frame) according in the IGMP report message of terminal to report and the leave message with terminal iidentification come distinguishing terminal.
The present invention realizes distinguishing the multiple terminals under the physical port on the basis of having expanded the application of IGMP message, do not need extra message to send end message, not newly-increased message flow, can satisfy the needs of different access waies, and can reduce the shared space of user record in the access device, identification user efficient height.As long as what the mutual multicast control message of host computer side and router top-cross used is the IGMP message, just can realize distinguishing a multiple terminals under the physical port, the message encapsulation format is not required.If press BIT bit representation terminal, can identify 8 terminals, if, can identify 256 terminals with the represented numeral terminal of unused word section.
Description of drawings
Fig. 1 is an IGMP V1 message format schematic diagram;
Fig. 2 is the multicast networking diagram of multiple terminals under the port.
Embodiment
With embodiment the present invention is described in further detail with reference to the accompanying drawings below:
The present invention utilizes existing multicast IGMP message format, expansion IGMP agreement, and different multi-cast terminals are in the process of structure IGMP report message and leave message, with the numbering (1,2 of different terminals under the same physical port ...) insert the unused word section.Terminal number can pass through software setting on the terminal of structure IGMP message, owing to the unused word section has 8 (bit), can represent a terminal with one, then can support 8 multi-cast terminals under a physical port.And in access device,, analyze their unused word section for IGMP report message and the leave message received, the assurance access device can numbering wherein be distinguished the terminal of line up and down.The numbering of terminal can software setting on the terminal that can construct the IGMP message, since the IGMP message on terminal by the multi-cast terminal software construction, get final product so when the structure message, fill in into, and terminal number can be provided with on the terminal software interface and revise, such as manually importing by order line.
Why the present invention considers to expand the IGMP message, is because IGMP is a multicast control message the most frequently used in host computer side and the mutual process of router top-cross at present.Be illustrated in figure 1 as IGMP V1 message format schematic diagram, the form of V2 message is identical with it, just wherein not usefulness byte be used in the igmp querying message, filling in maximum response time, in the report message and leave message of V2, the unused word section still keeps not to be used.Though the form of V3 message and V1, V2 have had very big different, the unused word section still exists.
The present invention utilizes this unused word section, report message at V1, the report message of V2 and leave message, numbering with terminal in the report message of V3 fills in this field, because the igmp querying message is that router or access device send to terminal, be used for the current multicast state of inquiry terminal, and terminal only can send report message and leave message, owing to only need distinguishing terminal, so having identification field in report message and leave message gets final product, when access device is received the IGMP message, by analyzing the unused word section of this message, just can distinguish message and send by which terminal.
Specifically use and be described below:
Be illustrated in figure 2 as the multicast networking diagram of multiple terminals under the port, connect a plurality of multi-cast terminals (terminal 1, terminal 2 and terminal 3) below the MODEM, the journey of linear flow up and down of these terminals is handled as follows:
1, terminal 1 will add program, and group address is A, and then terminal 1 is sent the IGMP report message, and the value of filling in the unused word section in the message is 00000001 (binary system).
2, terminal 2 will add program, and group address is B, and then terminal 2 is sent the IGMP report message, and the value of filling in the unused word section in the message is 00000010 (binary system).
3, terminal 3 will add program, and group address is A and B, and then terminal 3 is sent the IGMP report message respectively at two groups, and the value of filling in the unused word section in the message is 00000100 (binary system).With regard to IGMP V2 message, an IGMP message can only add a multicast group, and also having write here is to send the IGMP report message respectively, promptly to two programs, can send two report messages, it is 00000100 (binary system) that the unused word section in each message is all filled out.
4, in access device (as DSLAM), watch in the user record of certain program, only need to increase a byte and can distinguish different terminals.The user record of watching certain program in original access device is at physical port (as the XDSL port), so will distinguish a different terminals under the port now the time, just need newly-increased byte, notes the sign of terminal.A terminal is represented in each BIT position, also only needs to increase a byte like this and can write down terminal in access device.Be to be recorded as 00000101 (binary system) in this port under the program A, represent that terminal 1 and terminal 3 have added program A under this port, be recorded as 00000110 (binary system) under the program B in this port, represent that terminal 2 and terminal 3 have added program B under this port.
5, terminal 1 will be left program, and group address is A, and then terminal 1 is sent IGMP leave message, and the value of filling in the unused word section in the message is 00000001 (binary system).
6, after access device was received this leave message, the record under the program A in this port changed 00000100 (binary system) into, promptly had only terminal 3 watching this program, and data flow A still is forwarded to this port.
7, terminal 3 will be left program, and group address is A, and then terminal 3 is sent IGMP leave message, and the value of filling in the unused word section in the message is 00000100 (binary system).
8, after access device was received this leave message, the record under the program A in this port changed 00000000 (binary system) into, promptly no longer included terminal under this port and watched this program, and data flow A no longer is forwarded to this port.
The present invention is by filling in terminal number in IGMP unused word section, different terminal number differences just can guarantee to distinguish the terminal that reports message.To increase the spatial registration end message in the user record, the online information of different terminals will be arranged exactly, receiving the IGMP message, can operate accordingly like this.Such as, receive the leave message of a terminal, by checking end message newly-increased in the user record, find to also have other terminal online, then, need not to do operation on the hardware from software as long as the record of this terminal is deleted.
The information of user record essential record user place physical port, the information of the program set address that the user watches, the information that port is reached the standard grade.After increasing a byte records end message, now come for example with terminal of a BIT bit representation: newly-increased byte is initialized as 00000000 (binary system), if terminal 1 adds program A, then be recorded as 00000001 by what 00000000|00000001 calculated newly this moment; Terminal 2 adds program A, then 00000001|00000010 calculate new be recorded as 00000011.When terminal 1 will be left program A, send leave message, this moment is by original record 00000011﹠amp; 00000001, obtain 00000001, promptly this terminal is online, will represent the position 0 of this terminal, if record becomes 00000000 after being provided with like this, last user that this terminal is this port is described, then with the hardware forwarding table entry deletion.
The situation with a terminal of a bit representation has been described in the front, can support 8 terminals at most under such physical port.If the number of terminals that needs to support under physical port can be distinguished with the difference of 8 numerals that can represent greater than 8, can support 8 powers=256 terminal of 2 at most like this.Under this expression situation, in the software records can with 256 promptly the data field of 32 bytes write down different terminals on the situation that rolls off the production line, also can use the array record.Under preceding a kind of recording mode, if terminal 1 is watched program A, then the 1st in 256 bit fields that increase newly under the program A is set to 1, the expression user is watching program, if terminal 2 is watched program A, then the 2nd in 256 bit fields that increase newly under the program A is set to 1, so analogizes.Under a kind of recording mode in back, can be with the sign of terminal subscript as array, if terminal 1 is watched program A, the newly-increased down array A[1 of program A then]=1, if terminal 2 is watched program A, A[2]=1, so analogize.If first user of this port then is provided with the hardware forwarding table item, if not, then need not to do operation on the hardware.If there is the user to leave, check whether be last user of this port, if, then delete the hardware forwarding table item, if not, then need not to do operation on the hardware.If access device can transparent transmission IGMP message (as supporting IGMPSNOOPING, be IGMP snooping), then upper strata router, BAS router side apparatus such as (BAS Broadband Access Servers) also can correspondingly be noted the terminal iidentification in the unused word section in some way, are used for distinguishing the message of each multi-cast terminal under the same physics access interface.If in the time of can be directly with IGMP message reporting BAS (BAS Broadband Access Server), BAS can carry out authentication to the user respectively according to the sign of different terminals under the port.In the present invention, because terminal number fills out in the IGMP message, no matter network environment how, upper layer device can be learnt the numbering of user terminal.
The present invention realizes distinguishing the multiple terminals under the physical port on the basis of having expanded the application of IGMP message, do not need extra message to send end message, not newly-increased message flow, can satisfy the needs of different access waies, and can reduce the shared space of user record in the access device, identification user efficient height.As long as what the mutual multicast control message of host computer side and router top-cross used is the IGMP message, just can realize distinguishing a multiple terminals under the physical port, the message encapsulation format is not required.If press BIT bit representation terminal, can identify 8 terminals, if, can identify 256 terminals at most with the represented numeral terminal of unused word section.
Those skilled in the art do not break away from essence of the present invention and spirit, can there be the various deformation scheme to realize the present invention, the above only is the preferable feasible embodiment of the present invention, be not so limit to interest field of the present invention, the equivalence that all utilizations specification of the present invention and accompanying drawing content are done changes, and all is contained within the interest field of the present invention.

Claims (6)

1, a kind of method that many station terminals under the same access interface are carried out multicast management is characterized in that: in PPPOA or IPOA access way, the router side apparatus may further comprise the steps when distinguishing under the same access interface many multi-cast terminals:
A, the terminal number of each multi-cast terminal under the same access interface is set;
Different multi-cast terminals are inserted terminal number in the unused word section of internet multicast management agreement message when structure internet multicast managerial protocol report message or leave message under B, the same access interface;
Internet multicast managerial protocol report message that C, router side apparatus receive by analysis and the unused word section in the leave message are distinguished each multi-cast terminal under the same access interface.
2, the method that many station terminals under the same access interface are carried out multicast management according to claim 1 is characterized in that: described router side apparatus comprises the access device or the router of the support internet multicast management agreement message relative with multi-cast terminal.
3, the method that many station terminals under the same access interface are carried out multicast management according to claim 2, it is characterized in that: among the described step C, in the user record of access device program multicast, increase the space and be used for writing down terminal number, when terminal adds or leaves, in described user record, carry out record; If there is terminal to add, check it whether is first multi-cast terminal under this port, if, the hardware forwarding table item then is set, multicast traffic stream is mail to this access interface, if not, then need not to do operation on the hardware; If there is terminal to leave, check it whether is last user under this port, if, then delete the hardware forwarding table item, multicast traffic stream no longer mails to this access interface, if not, then need not to do operation on the hardware.
4, the method that many station terminals under the same access interface are carried out multicast management according to claim 3, it is characterized in that: each represents a multi-cast terminal in 8 of described unused word section, in the user record of described access device program multicast, increase a byte and write down terminal number, each represents a multi-cast terminal, when terminal adds or leaves, by the binary number of record in the user record and terminal is carried out logical operation, whether the mark terminal is online.
5, the method that many station terminals under the same access interface are carried out multicast management according to claim 3, it is characterized in that: multi-cast terminal of each digitized representation of 8 representatives of described unused word section, in the user record of described access device program multicast, increase by one 256 data field or write down with array different terminals on the situation that rolls off the production line, when terminal added or leaves, whether the mark terminal was online.
6, the method that many station terminals under the same access interface are carried out multicast management according to claim 3 is characterized in that: described terminal number is provided with and revises by software on the terminal of structure internet multicast management agreement message.
CNB2005101011254A 2005-11-03 2005-11-03 Method for multicast managing of multiple terminals under the same access port Expired - Fee Related CN100471168C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005101011254A CN100471168C (en) 2005-11-03 2005-11-03 Method for multicast managing of multiple terminals under the same access port

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005101011254A CN100471168C (en) 2005-11-03 2005-11-03 Method for multicast managing of multiple terminals under the same access port

Publications (2)

Publication Number Publication Date
CN1859284A CN1859284A (en) 2006-11-08
CN100471168C true CN100471168C (en) 2009-03-18

Family

ID=37298148

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005101011254A Expired - Fee Related CN100471168C (en) 2005-11-03 2005-11-03 Method for multicast managing of multiple terminals under the same access port

Country Status (1)

Country Link
CN (1) CN100471168C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101035136B (en) * 2007-04-06 2011-12-07 中兴通讯股份有限公司 Multicast testing device running in the multi-network card computer and its using method
WO2012119428A1 (en) 2011-08-31 2012-09-13 华为技术有限公司 Method, system and device for implementing multicast in shared network
CN103532783A (en) * 2013-10-17 2014-01-22 北京锐安科技有限公司 Method and device for detecting access terminals
CN108632150B (en) * 2017-03-22 2022-02-25 中兴通讯股份有限公司 Information transmission method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
组播技术研究及其在二层交换机中的实现. 张之龙,沈学其,付立政.小型微型计算机系统,第23卷第4期. 2002
组播技术研究及其在二层交换机中的实现. 张之龙,沈学其,付立政.小型微型计算机系统,第23卷第4期. 2002 *

Also Published As

Publication number Publication date
CN1859284A (en) 2006-11-08

Similar Documents

Publication Publication Date Title
CN101599895B (en) Data processing method, wideband network gateway, strategy controller device and accessing node equipment
CN101409672B (en) Data distribution apparatus, data distribution method, and distribution control program
CN103501486B (en) A kind of information push method and push server
CN101340464B (en) Method and system for unified network resource management
CN100589552C (en) System and method for transmitting multimedia message in network television system
CN103975556A (en) Improved replication management for remote multicast replication network
CN100518412C (en) A multimedia message transmission method
CN101072067A (en) Device and method for realizing short-message classified sending, receiving and displaying
CN100415006C (en) Short message network address device and system and method for realizing short message value added service
CN110460991B (en) Method, system, upper computer, equipment and medium for displaying streaming media data
CN100471168C (en) Method for multicast managing of multiple terminals under the same access port
CN105978748A (en) Terminal equipment information counting method and terminal equipment information counting device based on Hash node
CN103179120A (en) Method and system for realizing printing of mobile device
CN100473037C (en) Method for realizing distributed DHCP relay
CN101662508B (en) Method for data transmission based on point-to-point protocol, device and system thereof
EP3054401A1 (en) Data label carrier information application and processing system and method
CN100566286C (en) The method and the mobile radio communication network that are used for transmitting grouped data
CN104348841A (en) Content delivery method, analysis and management and control system and content delivery network system
CN102065093A (en) Multimedia network service method and system for hotel
CN100477582C (en) Method and system for processing real-time multi-media information in instant telecommunication
CN103795635B (en) Processing method, device and system for controlling message broadcast
CN100592741C (en) Method for realizing multi management server support based on SNMP protocol in CPE telemanagement
CN109067928A (en) The multimedia file transmission terminal of server-side tape format pulls method and device
CN201928308U (en) Hotel individualized network service system
CN100461824C (en) Value-added application service supporting system for digital TV and its method

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

Granted publication date: 20090318

Termination date: 20191103

CF01 Termination of patent right due to non-payment of annual fee