WO2007140702A1 - Multicast service processing method and access equipment - Google Patents

Multicast service processing method and access equipment Download PDF

Info

Publication number
WO2007140702A1
WO2007140702A1 PCT/CN2007/001644 CN2007001644W WO2007140702A1 WO 2007140702 A1 WO2007140702 A1 WO 2007140702A1 CN 2007001644 W CN2007001644 W CN 2007001644W WO 2007140702 A1 WO2007140702 A1 WO 2007140702A1
Authority
WO
WIPO (PCT)
Prior art keywords
multicast
channel
program
access device
user
Prior art date
Application number
PCT/CN2007/001644
Other languages
French (fr)
Chinese (zh)
Other versions
WO2007140702A8 (en
Inventor
Zhiqiang Li
Qin Chen
Deyi Wang
Peifeng Qin
Yong Luo
Xifeng Wan
Jiahong Wei
Yue Chang
Haijun Wu
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
Priority claimed from CNB2006100358816A external-priority patent/CN100563206C/en
Priority claimed from CN200610098972A external-priority patent/CN1889558B/en
Priority claimed from CNB2006101036010A external-priority patent/CN100561979C/en
Priority claimed from CN2006101112160A external-priority patent/CN1921402B/en
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Priority to EP07721217A priority Critical patent/EP2034731A4/en
Publication of WO2007140702A1 publication Critical patent/WO2007140702A1/en
Priority to US12/330,188 priority patent/US20090147786A1/en
Publication of WO2007140702A8 publication Critical patent/WO2007140702A8/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/16Analogue secrecy systems; Analogue subscription systems
    • H04N7/173Analogue secrecy systems; Analogue subscription systems with two-way working, e.g. subscriber sending a programme selection signal
    • H04N7/17309Transmission or handling of upstream communications
    • H04N7/17336Handling of requests in head-ends
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/611Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • H04N21/2396Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests characterized by admission policies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25866Management of end-user data
    • H04N21/25891Management of end-user data being end-user preferences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26208Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
    • H04N21/26216Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving the channel capacity, e.g. network bandwidth
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
    • H04N21/266Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/61Network physical structure; Signal processing
    • H04N21/6106Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
    • H04N21/6125Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving transmission via Internet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/65Transmission of management data between client and server
    • H04N21/658Transmission by the client directed to the server

Definitions

  • Multicast service processing method system and access device
  • the present invention relates to the field of data communications, and in particular, to a multicast service processing method, system, and access device.
  • FIG. 1 is a schematic diagram of a structure of a multicast system. As shown in the figure, the multicast system is composed of a video multicast service system 10, an IP metropolitan area network 11, an access network 12, and a home network.
  • the access network 12 includes: an access device 121 and a modem 122; and the home network 13 includes: a collar box 131, a television 132, and a computer 133.
  • the multicast service system implements video user management, video collection system, and video encoding function, and then sends the video service stream to the IP metropolitan area network; the IP metropolitan area network sends the video service stream to the broadband access network through the ⁇ >multicast function; The access network implements the control function of joining or leaving the video group, and sends the video stream required by the user to the user.
  • IPTV IP TeleVison, IP Video
  • IGMP Internet Group Management Protocol
  • IGMP-based multicast services IP TeleVison, IP Video
  • IPTV IP TeleVison, IP Video
  • IGMP-based multicast services IP TeleVison, IP Video
  • network multimedia conferencing distance education
  • IPTV online real-time broadcast
  • network data distribution distributed collaborative work, and so on.
  • the system networking structure of the multicast service using the IGMP protocol is shown in Figure 2, including: 21.
  • the terminal device 21 needs to join a multicast group, that is, the channel that is usually spoken, the IGMP Report message is sent to the access device 22 through the modem 20.
  • the terminal device 21 receives the IGMP Report message, the terminal device 21
  • the multicast forwarding table is added to the multicast forwarding table, and then the IGMP Report message is sent to the multicast source network 23, and the multicast stream is imported to the access device 22.
  • the access device 22 forwards the multicast stream to the line where the terminal device 21 is located. on.
  • the access device 22 sends an IGMP Query to query whether the terminal device 21 is still receiving the multicast stream. If the terminal device 21 needs to continue to remain in the multicast group, it must respond to an IGMP Report message and simultaneously multicast. There is also a process between the source network 23 and the access device 22 to maintain the forwarding relationship of the multicast stream.
  • the multicast terminal device From the process of multicasting a multicast group by the multicast terminal device, the multicast terminal device switches the channel to send two IGMP messages, one is the leaving message of the current channel, and then sends a joining message that the terminal device wants to watch the channel.
  • the right to join a program to a terminal device can be controlled by the access device or on the authorization server.
  • the IGMP protocol stipulates that after receiving the Leave message of the multicast user on the port, the access device needs to send a specific group query message and wait for the response of other users that may exist in the multicast group to determine the connection of the port. Whether there are other multicast users in the network in the group. After confirming that no other users are in the multicast group, the port can be deleted from the multicast group entry, thus ensuring that a user does not leave.
  • the interference may be other users of the same multicast group as the user.
  • the user's channel switching operation includes: sending an IGMP leave message of the original channel, and sending an IGMP join message of the new channel.
  • the multicast access device After receiving the IGMP Leave message, the multicast access device does not immediately interrupt the original video stream. Instead, it sends an IGMP group-specific query message and waits for the user to respond to the IGMP join message. Video stream.
  • the multicast access device waits for the response packet, the original channel cannot be deleted in time, and the new and old video streams are simultaneously delivered, which wastes a lot of bandwidth.
  • a video stream of 10 channels is simultaneously sent to a multicast service port of the multicast access device in a period of time, which may be greatly
  • the downlink bandwidth of the service port is exceeded, resulting in packet loss and delay.
  • the video quality of the user is drastically reduced or even cannot be viewed.
  • the multicast performance of the current metropolitan area network is a key performance bottleneck of the multicast technology, the metropolitan area network has tens of thousands of users, and the user needs to have a performance experience similar to the traditional CATV (cable network), which needs to be completed in one second.
  • CATV cable network
  • the access device initiates a fast leave function for multiple multicast users under one service port, and also sets a fast leave response time.
  • a service port of the access device After receiving a multicast leave message requested by the switching channel of the multicast user, a service port of the access device sends a specific group query message requesting to leave the channel to the multicast user under the port to determine whether to There are other multicast users watching the channel; if no other multicast users send the join message of the channel within the given fast leave response time, then no other users are considered to be watching the channel, so the channel is immediately cut off. If the multicast message is received by another multicast user in the given fast leave response time, the multicast stream of the channel is not cut off and the forwarding is continued.
  • the technical solution can quickly cut off the message that the multicast user leaves in a short enough time, and avoids the group that requests to leave.
  • the long staying time of the broadcast channel affects the use of bandwidth, and at the same time It is enough to ensure that the outgoing multicast users will not interfere with other multicast users.
  • the controlled multicast service needs to control the maximum number of multicast channels that can be on-demand under one service port. Under this premise, the above technical solution may lead to unsuccessful channel switching.
  • ⁇ Set the maximum number of on-demand channels of a service port to 2 and the two multicast users under the service port respectively subscribe to the multicast channel VIII and ⁇ .
  • the multicast user of the on-demand channel A wants to switch to channel C
  • the multicast user The leaving message of channel A and the joining message of channel C are sent to the access device. After receiving the Leave message of the multicast channel A sent by the multicast user, the access device sends a specific multicast query message of the channel A to the port.
  • the access device Before the fast leave response time expires, there are two ports under the port.
  • the channel is being forwarded.
  • the access device receives the join message of channel C.
  • the number of simultaneous multicast channels on the port has reached 2, so according to the principle of controlled multicast, the access device will The joining of channel C is rejected, causing the channel switching to fail.
  • the multicast user re-issues the join message of channel C after the fast leave response message times out, the on-demand success can be obtained. That is, when the number of multicast channels currently being forwarded has reached the maximum number of multicast channels allowed to be accessed by the port, the multicast user must wait for the fast leave response timeout to switch to the multicast channel C to join. Such channel switching delay is not satisfactory for multicast users, and even cannot be received.
  • An embodiment of the present invention provides a method and system for processing a multicast service, so as to reduce the delay of channel switching in an IPTV service and improve service quality.
  • Another aspect of the present invention provides an access device, which improves the processing capability of the access device, reduces the delay of channel switching in the IPTV service, and improves the service quality.
  • the access device receives the multicast program request message from the terminal device;
  • the multicast service processing method of this embodiment adds a new parameter, that is, multicast program grading priority information, in the prior art multicast program grading parameter, thereby further refining the multicast program grading and improving the service quality.
  • a new parameter that is, multicast program grading priority information
  • An access device provided by the embodiment of the present invention includes: an IGMP packet processing unit, a router joining and leaving a message unit, and the following:
  • a multicast program management unit configured to set a management multicast program hierarchical format and a hierarchical priority, and after the IGMP packet processing unit receives the multicast program request message of the terminal device, according to the hierarchical form and the hierarchical priority
  • the level generates multicast program data, and transmits the multicast program data to the router to join the leave message unit.
  • the access device of the embodiment manages the multicast program hierarchical form and the hierarchical priority, and after receiving the multicast program request message of the terminal device, generates the multicast program data according to the hierarchical form and the hierarchical priority. Therefore, the multicast thrift classification is further refined, and the service quality is improved.
  • the access device differentiates the multicast program according to the multicast program priority.
  • the multicast service processing method of this embodiment determines the processing priority of the program by using the audience rating to perform future audience rating prediction, so that different programs can be differentiated, and the most important programs are preferentially guaranteed to ensure the switching time.
  • QoS Quality of Service
  • packet loss rate reserved bandwidth and pushed to the edge.
  • An IGMP message processing unit configured to receive a message, where the message includes a multicast program request message from the terminal device;
  • the router joins the leave message unit, and is configured to send the multicast program to the terminal device;
  • the audience rating unit is configured to obtain the multicast program rating statistics information;
  • a multicast program priority determining unit configured to determine a multicast program priority according to the audience rating statistics information
  • a multicast program processing unit configured to perform differentiating processing on the multicast program that the terminal device depends on according to the priority of the multicast program, and transmit the processed multicast program to the router to join the leaving message unit .
  • the purpose is to handle the priority, so that different programs can be differentiated, priority is given to the most important programs, and QoS (Quality of Service) such as switching time and packet loss rate is guaranteed, and the bandwidth is reserved and pushed to the edge.
  • QoS Quality of Service
  • the multicast service processing system includes: an access device and a policy server, where the access device includes: a multicast behavior information obtaining unit, a sending unit, and a multicast program processing unit;
  • the method includes: a rating unit, a multicast program priority determining unit, and a configuration unit;
  • the multicast behavior information obtaining unit is configured to obtain user multicast behavior information according to the multicast program request message of the terminal device received by the access device;
  • the sending unit is configured to send the user multicast behavior information to the policy server, where the audience rating information unit is configured to obtain multicast program rating statistics information according to the user multicast behavior information;
  • the multicast program priority determining unit is configured to determine a multicast program priority according to the audience rating statistics information
  • the configuration unit is configured to configure the multicast program priority to the access device, and the multicast program processing unit is configured to: request, according to the priority of the multicast program, the multicast requested by the terminal device The program is differentiated.
  • the channel currently being forwarded by the service port is queried whether there is a multicast channel that has not received a response before the specific group query response time expires after the application leaves, and if yes, stops forwarding the application to leave. A multicast channel, and forwards the multicast channel to which the application is added. Otherwise, the join of the multicast channel is rejected.
  • the multicast service processing method of this embodiment is implemented under the condition of controlled single port multi-user access. Now, in the fast response time, the multicast channel switching can be controlled reasonably and effectively, the delay of channel switching is reduced, and the shield of the multicast service is guaranteed.
  • An access device provided by an embodiment of the present invention includes a channel leaving processing unit and a channel joining processing unit, where
  • the channel leaving the processing unit configured to send, after the access device receives the multicast channel leaving the message, the multicast channel specific group query report that the application leaves the service port that receives the multicast channel After the response timeout of the specific group query timeout expires, the forwarding of the multicast channel that is requested to leave is stopped.
  • the channel joining processing unit includes: a multicast forwarding unit, a first control unit, and a second control unit, where
  • the multicast forwarding unit is configured to control forwarding of a multicast channel
  • the first control unit is configured to: after the access device receives the multicast channel join message, determine whether the current service port is allowed to join the multicast channel to be joined, and if yes, notify the multicast forwarding unit to forward The multicast channel to which the application is added, otherwise, is sent to the second control unit for processing; the second control unit is configured to query, in the channel currently being forwarded, whether there is a request to leave after a specific group query response time expires a multicast channel that has not received a response before, if yes, notifying the multicast forwarding unit to stop forwarding a multicast channel that the application leaves, and forwarding the multicast channel that the application joins, otherwise, rejecting the multicast channel Join.
  • the access device of this embodiment can control the switching of the multicast channel reasonably and effectively in the fast response time under the controlled single-port multi-user access, thereby reducing the delay of the channel switching and ensuring The quality of the multicast service.
  • the main control board requests the network side to deliver the multicast stream of the common multicast channel of the user according to the multicast group.
  • the multicast service processing method of the embodiment obtains the common multicast channel of the user in the access device by using the cumulative statistics, and the multicast processing unit of the main control board of the access device actively applies to join the multicast stream of the common multicast channel of the user, thereby The join delay of the multicast channel is reduced, and the processing efficiency of the multicast service is improved.
  • a multicast service processing system includes an IP metropolitan area network and an access network, where the access network includes an access device, and the access device includes a main control board and at least one interface board, each of which The interface board is connected to the main control board, and the main control board includes a main control board multicast processing unit, a main control board storage unit for storing the main control board multicast forwarding table, and a main control board multicast copy unit.
  • the interface board includes an interface board storage unit for storing an interface board multicast forwarding table, and an interface board multicast copy unit for copying the multicast stream to the user port;
  • the intelligent decision device is connected to the main control board multicast processing unit of the access device, and is configured to acquire a common multicast channel of the user.
  • the multicast service processing system of the embodiment can obtain the common multicast channel of the user in the access device or the access network through the cumulative statistics, and the main control board actively pushes the multicast stream of the common multicast channel of the user to the interface board. Or the network side actively pushes the common multicast group of the user to the common access device, thereby reducing the join delay of the multicast channel and improving the processing efficiency of the multicast service.
  • An access device provided by the embodiment of the present invention includes a main control board and at least one interface board, and each interface board is connected to the main control board, where the main control board includes a main control board multicast processing unit, and is used for The main control board storage unit of the multicast forwarding table of the main control board and the multicast replication unit of the main control board, where the interface board includes an interface board storage unit for storing the multicast forwarding table of the interface board, and is used for the multicast stream.
  • the interface board multicast replication unit is copied to the user port, and the access device further includes:
  • the smart decision device is connected to the main control board multicast processing unit, and is configured to obtain a common multicast channel of the user according to the multicast group information recorded by the multicast processing unit of the main control board, and instruct the main control board
  • the multicast processing unit acquires the multicast stream of the common multicast channel of the user.
  • the access device of the embodiment can actively join the multicast stream of the common multicast channel of the user through the multicast processing unit of the main control board, thereby reducing the join delay of the multicast channel and improving the efficiency of the multicast service processing.
  • FIG. 1 is a schematic structural diagram of a prior art multicast system
  • FIG. 2 is a network diagram of a system for implementing a multicast service by using the IGMP protocol in the prior art
  • FIG. 3 is a flowchart of a first embodiment of a method for processing a multicast service according to the present invention
  • FIG. 4 is a schematic block diagram of an embodiment of an access device according to the present invention.
  • 5 is a flowchart of a second embodiment of a multicast service processing method according to the present invention
  • 6 is a schematic block diagram of a second embodiment of an access device of the present invention
  • FIG. 7 is a schematic diagram of networking of a first embodiment of a multicast service processing system according to the present invention.
  • FIG. 8 is a flowchart of a third embodiment of a multicast service processing method according to the present invention.
  • FIG. 9 is a network diagram of an IPTV service according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of multicast leaving processing in the embodiment of the present invention shown in FIG. 9;
  • FIG. 11 is a flowchart of multicast joining processing in the embodiment of the present invention shown in FIG. 9;
  • FIG. 12 is a schematic structural diagram of a third embodiment of an access device according to the present invention.
  • FIG. 13 is a flowchart of a fourth embodiment of a multicast service processing method according to the present invention.
  • FIG. 14 is a flowchart of a fifth embodiment of a multicast service processing method according to the present invention.
  • FIG. 15 is a schematic structural diagram of a fourth embodiment of an access device according to the present invention.
  • FIG. 16 is a schematic structural diagram of a fifth embodiment of an access device according to the present invention.
  • FIG. 17 is a schematic diagram of networking of a second embodiment of a multicast service processing system according to the present invention.
  • FIG. 18 is a schematic diagram of networking of a third embodiment of a multicast service processing system according to the present invention.
  • FIG. 3 shows a flow of a first embodiment of a multicast service processing method according to the present invention, which includes the following steps:
  • Step 301 The access device receives a multicast program request message from the terminal device.
  • Step 302 Acquire a program grading parameter according to the multicast program request message query.
  • the multicast program grading parameter adds a new parameter based on the prior art grading parameters, that is, the multicast program grading priority information, to further refine the multicast program on the basis of the existing grading.
  • the parameter may also include: a multicast group IP address, and/or a multicast source IP address, and/or a multicast program name, and/or a multicast program priority, and/or a multicast program VLAN, and/or Port information for sending multicast programs to the upstream router.
  • the rating priority is information such as program bandwidth, and/or program provider, and/or program type.
  • Step 303 Generate multicast program data according to the program ranking parameter.
  • Step 304 Transfer multicast program data to the terminal device.
  • the multicast program data may be transmitted to the terminal device according to a preset control policy, and the control policy may be set according to a hierarchical priority and a hierarchical form of the multicast program data.
  • Hierarchical form The expression of the program rating, such as when using numbers, the level of program A is 1, the program of program B is 2, etc.; when using characters: the level of program A is AAA, the level of program B is AAAA, etc.; When character and number are combined, the level of program A is X.1, and the level of program B is X.2.
  • the hierarchical priority is a priority formed by the hierarchical classification of the multicast program.
  • the hierarchical data determined according to the hierarchical form is sorted, and the numerical value may be incremented or decremented according to the numerical value, or the character string may be sorted in the order of characters. Sort by string to form a certain format, etc.
  • the following control strategies can be selected: the priority of the multicast program with a lower priority; the priority of the multicast program with a higher priority; the priority of the multicast program is higher than a threshold (depending on the hierarchical priority and the classification basis)
  • the maximum number of simultaneous online programs of the terminal device is a specific value, such as 1; the priority of the multicast program is lower than a threshold (depending on the hierarchical priority and the classification basis), and the maximum number of simultaneous online programs of the terminal device is one.
  • a specific value such as 3.
  • control policies can be many, based on the system in effect, or based on the multicast terminal device, or some control policies are based on the system, while other control policies are based on the terminal device port; when multiple control policies take effect, the effective sequence It can be chosen to be system-based over terminal-based device-based, or it can be selected as terminal-based port-based over system-based.
  • the control policy sets the priority of the multicast program to be higher than 10, wherein the grading is based on the multicast bandwidth, the grading priority is a value, and the maximum number of simultaneous online programs of the terminal device is 1, and the control strategy is based on the system. That is, the on-demand of all terminal devices is handled as long as they are satisfied.
  • the priority of the multicast program that the terminal device needs to order is 15 and the priority of other online multicast programs is less than 15
  • the other terminal is first used.
  • the multicast program that the device has already online is offline, and then the channel of the on-demand request is set to be normally forwarded.
  • the above control strategies are all controlled when the terminal device is online.
  • the configuration command is as follows: program add group-ip 228.1.1.1 source-ip 1.1.1.1 name phenix-tv priority 5 vlan 120 bind-port 8 grade aaa; , group-i source-i ⁇ name, priority, vlan, bind-port, and grade indicate the parameters for configuring the multicast program, followed by the parameter value.
  • the meaning of the command is to add a multicast group IP address to 228.1.1.1.
  • the multicast source IP address is 1.1.1.1
  • the multicast program name is phenix-tv
  • the multicast priority is 5
  • the multicast program vlan is 120.
  • the bound uplink port is
  • the multicast program is graded as aaa.
  • the terminal device orders the multicast program it may first authenticate the terminal device according to the authority of the terminal device, and determine the legitimacy of the program broadcasted by the terminal device. After the authentication is passed, the multicast bandwidth CAC (Connection Access Control) is performed, and then the multicast program is classified according to the on-demand.
  • CAC Connection Access Control
  • the multicast service processing method of this embodiment adds a new parameter, that is, multicast program grading priority information, in the prior art multicast program grading parameter, thereby further refining the multicast program grading and improving the service quality.
  • the operator can control the terminal device to preferentially order certain multicast programs according to the multicast program hierarchy; the operator can provide differentiated services according to the program provider to improve the competitiveness.
  • the program of the high-low bandwidth is used for grading, and the program that is requested by the terminal device can only be on-demand when the program is on-demand, and the low-bandwidth program can be on-demand, so that the bandwidth of the terminal device can be used most effectively. Therefore, the best experience of the on-demand program of the terminal device is realized, thereby circumventing the limitation of the number of multicasts that can be simultaneously limited when the multicast bandwidth CAC is limited.
  • FIG. 4 is a schematic block diagram of a first embodiment of an access device according to the present invention.
  • the access device 400 includes: a router joining and leaving message unit 401, an IGMP message processing unit 403, and a multicast program management unit 404.
  • the multicast program management unit 404 is configured to set a management multicast program hierarchical format and a hierarchical priority, and generate multicast program data according to the hierarchical form and the hierarchical priority.
  • the IGMP packet processing unit 403 is configured to receive the packet.
  • the multicast program request message sent by the terminal device is included; the router join and leave message unit 401 is used for forwarding the multicast program data, that is, the multicast program data is injected into the access device, and the multicast program data is sent to the access device.
  • the access device 400 may further include: a terminal device identification/authentication, a channel state management unit 402, configured to perform a validity check on the terminal device, and determine according to a hierarchical priority of the multicast program requested by the terminal device.
  • Channel forwarding control strategy includes a priority offline with a low priority of the multicast program, a priority uplink with a high priority of the multicast program, and a maximum number of simultaneous online programs of the terminal device according to the hierarchical priority of the multicast program.
  • the access device in the embodiment of the present invention is not limited to the foregoing configuration manner. According to the principle, other implementation manners may be further provided.
  • the terminal device identification/authentication and the channel state management unit 402 are respectively separated into two independent manners.
  • the processing of the multicast service in the access device 400 is similar to the description in the multicast service processing method in the embodiment of the present invention shown in FIG. 3, and details are not described herein again. N2007/001644
  • the access device of the embodiment manages the multicast program hierarchical form and the hierarchical priority, and after receiving the multicast program request message of the terminal device, generates according to the hierarchical form and the hierarchical priority.
  • the multicast program data is used to further refine the multicast program and improve the quality of the service.
  • FIG. 5 shows a flow of a second embodiment of a multicast service processing method according to the present invention, which includes the following steps:
  • Step 501 The access device receives a multicast program request message from the terminal device.
  • Step 502 Obtain user multicast behavior information according to the multicast program request.
  • the multicast program request message includes a watch program request message and an exit program request message;
  • the user multicast behavior information includes: a user join time, a user departure time, a user number, a watch program number, and the like.
  • the access device receives the multicast program request message that is sent by the terminal device and includes the program request information, and the access device records the program request information.
  • User multicast behavior information is determined based on the program request information.
  • Step 503 The access device sends a user multicast behavior information file to the policy server, where the information file includes a file header and a record of multiple pieces of user behavior information.
  • the file header includes: a start statistics time, an end statistics time, and a user equipment number.
  • the user multicast behavior information includes: a user join time, a user departure time, a user number, and a watch program number.
  • Step 504 The policy server obtains program rating statistics information according to the user multicast behavior information. Specifically, the method includes: taking a record by the policy server, determining whether the time range of the record includes a sampling time point; if yes, determining the program type, and adding 1 to the number of users watching the program; determining whether the record is the last record If yes, take the ratio of the number of users watching the program to the total number of devices, otherwise continue to take a record.
  • Step 505 The policy server determines a program priority according to the audience rating statistics information, and configures the priority to the access device.
  • the statistical information is subjected to a high-order curve fitting method, or a weighted arithmetic average or a minimum square root to determine the program priority.
  • the process of configuring the priority to the access device may be a periodic configuration or a real-time configuration.
  • the periodic configuration is specifically configured to: configure a program priority of the multiple time segments to the access device at one time, and the access device starts a timer, and periodically refreshes the current priority configuration of the access device according to the priority information;
  • the configuration is as follows: Real-time sending current needs The desired program priority is given to the designated access device, and the access device updates its stored priority configuration according to the priority information.
  • Step 506 The access device performs a differentiated process on the program according to the program priority. For example, reserve bandwidth for the program, and/or program statically forward to the access layer device, and/or guarantee program quality according to 802. lp information, and/or reserve multicast resources for the program, and/or send priority when concurrent IGMP protocol.
  • the determining the bandwidth for the program includes: determining whether the sum of the allocated bandwidth and the to-be-allocated bandwidth at each point is less than the maximum multicast bandwidth, and if not, normal processing; otherwise, determining whether the program priority is above the value of the interpretation, If so, the program is transmitted using the allocated bandwidth, otherwise the multicast program is refused to be transmitted.
  • the static forwarding to the access device specifically includes: copying the program whose priority is above the threshold to the line card; the line card creating the program multicast entry; adding the user port to the multicast entry.
  • the quality of the program is specifically as follows: The order of the 802.1p of the program is marked in the order of priority, and the multicast program or the access control list ACL is used to perform 802. lp marking on the multicast program.
  • the policy server obtains the program rating statistics information according to the user multicast behavior information sent by the access device, and the embodiment of the present invention is not limited to this manner, and the program rating statistics information may also be obtained according to other manners. . Moreover, the statistical work of program ratings can also be done independently by the access device.
  • the multicast service processing method in the embodiment of the present invention is described in detail below with reference to specific examples.
  • the program can be divided into multiple priorities, which are typically divided into four categories.
  • the access device uses different processing actions, and each processing action can be enabled or disabled. Typical actions are as follows. Table 1 shows:
  • the scheduling queue in Table 1 indicates that the high-priority program enters the high scheduling queue, ensuring that it can be sent to the channel preferentially. When the egress is congested, the high-priority program can still be preferentially sent out without packet loss.
  • the Layer 3 forwarding table in the device format is ⁇ in port, inbound VLAN, multicast group IP, multicast source IP, egress vlan + port list, egress queue, 802.1p ⁇ . You can specify the program exit in the multicast forwarding table.
  • the queue is a high-priority queue. When the hardware copies a multicast program, the copied packets are inserted into the high-priority queue. When the packets are sent out, the packets of the high-priority queue are sent preferentially.
  • Whether to reserve bandwidth means: The bandwidth can be reserved for high-priority programs within the device and the network, ensuring that other services and low-priority programs cannot preempt high-priority bandwidth.
  • the maximum multicast bandwidth is limited on the uplink port, circuit board, and user port.
  • the bandwidth of each program can be counted or configured.
  • a new multicast program request is added, it is determined whether the allocated multicast bandwidth and the bandwidth of the allocated program at each point are smaller than the maximum multicast bandwidth. If not, the new multicast program is not allowed to be added, for high priority. Programs can reserve bandwidth.
  • Whether it is statically forwarded to the edge node means:
  • the high-priority program is statically pulled to the edge of the node when there is no user on-demand, ensuring that only one copy can be reached to the user, ensuring to join the high-priority program as much as possible. fast.
  • access devices often have two-level replication, one-level replication of online cards, and one-level replication on the stencil.
  • the three-layer multicast table format on the stencil is ⁇ in port, in-VLAN, multicast group IP, multicast.
  • Source IP, multicast vlan + line card list, egress queue, 802.1p ⁇ , for high-priority programs all line cards can be fixed to this program, no user watch in time, high-priority programs will be copied to each line. card.
  • the high-priority program is marked as high 802.1P, indicating that the lower-layer device can guarantee the quality of the high-priority program according to the 802.1p information, and can use the hardware multicast table or the ACL (Access Control List) to multicast the program.
  • the 802.1p of the message is marked.
  • a multicast program needs to use some multicast resources, such as internal multicast entries of the device, and multicast VLANs.
  • the source IP address is mapped to the multicast VLAN to support SSM.
  • the program can set reserved multicast resources to prevent low-priority programs from occupying, resulting in high-priority programs without resources available.
  • the level 2 multicast table on the line card is in the form of ⁇ multicast VLAN, multicast group MAC or IP, egress pvc, or port list ⁇ .
  • multicast entries can be created in a fixed manner. You don't need to apply for resources when you order it.
  • the principle is that all IGMP messages are cached in the cache queue. In order to ensure that the high-priority program is pre-processed, it can be judged when the queue is queued. If the IGMP message is requested by the high-priority program, the header of the cache queue is preferentially inserted.
  • each priority processing action can be configured.
  • the priority of the program can be configured from the configuration interface, either from the command line, the network management, or from the policy server.
  • the priority of the program is not static, related to time and region, such as: During the day, shopping, cooking, variety and other channels are more popular, football channels may be very popular during the World Cup; video games in the student dormitory area Sports channels are more popular, and the financial, geographic, and tourism channels of the noble community are more popular. If the program priority of a certain period of time in a certain area can be automatically and accurately predicted and automatically configured on the bearer device of the metropolitan area network, the adaptability of the device and the performance of the IPTV service are greatly improved.
  • the access device is the multicast replication point closest to the user.
  • the access device can collect the user's multicast behavior information, including the ⁇ user number, watch program number, start viewing time, end viewing time ⁇ , because access
  • the device needs to process the IGMP protocol packets sent by the user, so the device will perceive and record the user's request and leave request each time.
  • the access device periodically organizes the information into files, such as generating a local file for 2 hours, adding the time to start statistics, ending the statistics, and the device number, and then sending it to the policy server through the transport protocol.
  • the policy server opens the file to perform the statistics of the access device of the access device during the statistical period.
  • the viewing statistics are shown in Table 2:
  • the audience rating forecast is to first select the statistical sample. The more reasonable method is to select the sample on a daily basis. It is considered that a certain time period of the previous day has a predictive significance for the same time period of the future day. This allows you to predict the ratings for the next day on a daily basis. Note that the working day and the section are divided into 4 days. To predict the working day, select the work ⁇ statistics to make statistical samples. To predict the holiday, select the holiday statistics as the statistical sample. There are many prediction methods, including: high-order curve fitting method, weighted arithmetic average, minimum square root, and so on.
  • the priority of the program on the access device can be determined based on the rating prediction.
  • the audience rating prediction period is generally smaller than the program priority refresh period.
  • the arithmetic average method is used to calculate the average audience rating prediction of a program during the refresh period.
  • the rating forecast determines the priority, for example:
  • the audience rating prediction of the program between 2 and 4 points can be averaged to obtain 2 to 4 points.
  • the average rating of the show is predicted.
  • the priority of the program during this time period is determined according to the following judgment rules: the audience rating > 20% is the highest priority; the 10%-20% is the second highest priority; 2%-10% is the normal priority; 2% is low priority.
  • the policy server also supports manual intervention to modify the program priority of an access device for a certain period of time. For example, if a popular program is to be played on a certain unpopular channel tomorrow, the program priority of the time period needs to be manually increased.
  • the multicast service processing method of this embodiment determines the processing priority of the program by using the rating statistics to perform future audience rating prediction, so that different programs can be differentiated and processed, and the most important programs can be performed.
  • QoS Quality of Service
  • Figure 6 is a block diagram showing the second embodiment of the access device of the present invention.
  • the access device 600 includes: an IGMP packet processing unit 601, and a router joins and leaves a message unit.
  • the IGMP message processing unit 601 is configured to receive a message, where the message includes a multicast program request message from the terminal device, and the router join and leave message unit 602 is configured to send the multicast program to the terminal device.
  • the audience rating unit 604 is configured to obtain the multicast program rating statistics information;
  • the multicast program priority determining unit 605 is configured to determine the multicast program priority according to the audience rating statistics information;
  • the multicast program processing unit 606 is configured to use the The multicast program priority classifies the multicast program requested by the terminal device, and transmits the processed multicast program to the router to join the leave message unit.
  • the audience rating unit 604 can obtain the multicast program rating statistics information in a plurality of manners.
  • the information transmitted by the multicast behavior information obtaining unit 603 provided in the access device 600 is used to obtain the group.
  • a way of broadcasting program ratings statistics As shown in FIG. 6, the multicast behavior information obtaining unit 603 is configured to obtain user multicast behavior information according to the multicast program request message.
  • the audience rating unit 604 obtains multicast program rating statistics according to the user multicast behavior information. information.
  • any one or more of the following subunits may be included in the multicast program processing unit 606 described above. (not shown): a reserved bandwidth sub-unit that reserves bandwidth for the multicast program, statically forwards the multicast program to a static forwarding sub-unit of the access device, and multicasts the multicast program a quality assurance subunit for ensuring program quality according to 802-lp information, and a reserved multicast resource subunit for reserving multicast resources for the multicast program, for storing the multicast program in a cache queue, In the case of multiple concurrent processing processes, the multicast program is preferentially inserted into the concurrent processing sub-unit of the header of the buffer queue.
  • the processing procedure of the access device 600 for the multicast service is similar to that described in the foregoing embodiment shown in FIG. 5, and details are not described herein again.
  • the priority of the multicast program can be determined by means of the policy server, and the multicast program priority is configured to the access device in real time or periodically.
  • the multicast service processing system of the embodiment of the present invention includes: an access device 71 and a policy server 72.
  • the access device 71 includes: a multicast behavior information obtaining unit 711, a sending unit 712, and a multicast program processing unit 713.
  • the policy server 72 includes: a rating statistics unit 721, a multicast program priority determining unit 722, and a configuration unit 723.
  • the multicast behavior information obtaining unit 711 obtains the user multicast behavior information, where the user multicast behavior information includes: Join time, user departure time, user number, watch program number, etc. These user multicast behavior information is then sent by the transmitting unit 712 to the policy server 72.
  • the audience rating unit 721 obtains the multicast program rating statistics according to the user multicast behavior information. For details, refer to the description in the method of the previous embodiment of the present invention.
  • the multicast program priority determining unit 722 determines the priority of the multicast program according to the rating statistics information. For details, refer to the description in the method of the previous embodiment of the present invention.
  • the configuration unit 723 can be configured to the access device 71, and can be configured in real time.
  • the timer 724 provided in the policy server 72 can periodically generate a notification signal, and the configuration unit 723 is notified.
  • the multicast program priority is configured to the access device 71. In this way, the multicast program processing unit 713 in the access device 71 can differentiate the multicast program requested by the terminal device according to the multicast program priority.
  • the access device or the multicast service processing system of the embodiment of the present invention can determine the processing priority of the program by using the audience rating to perform future audience estimation, thereby enabling different programs to be differentiated. Handling, giving priority to the most important programs, guaranteeing cut Change the QoS (Quality of Service) such as time and packet loss rate, reserve bandwidth and push it to the edge.
  • QoS Quality of Service
  • Another multicast service processing method provided by the embodiment of the present invention improves the processing of receiving a multicast join message by the multicast access device on the basis of the prior art, so as to implement the group for leaving and joining the application. Reasonable and effective control of the broadcast channel.
  • the access device after receiving the multicast channel leaving message, the access device sends the multicast channel specific group query message to which the application leaves the service port to the service port that receives the multicast channel, and starts a specific group. Query the fast response time timer. After the timer expires, the forwarding of the multicast channel that is requested to leave is stopped immediately.
  • the process of the third embodiment of the multicast service processing method of the present invention is as follows:
  • Step 801 Receive a multicast join message.
  • step 802 it is determined whether the current service port is allowed to join the multicast channel to be joined. If yes, go to step 805. Otherwise, go to step 803.
  • Step 803 Query, in the currently forwarding channel, whether there is a multicast channel that has not received a response before the specific group query response time expires after the application leaves, if yes, go to step 804, otherwise, go to step 806.
  • Step 804 Stop forwarding a multicast channel that the application leaves.
  • Step 805 Forward the multicast channel to which the application is added.
  • Step 806 rejecting the joining of the multicast channel.
  • the access device 91 of the multicast service is a DSLAM (Digital Subscriber Line Access Multiplexer), which functions as a multicast router and accesses the device.
  • 91 provides the user with an xDSL (Digital Subscriber Line) service port; on the user side, two STB (Set Top Box) devices 92 pass through the HUB (hub) 93 and the same xDSL modem (Modulation and DEModulation, MODEM) ) 94 connections, two TVs 90 are connected to each of the two STBs.
  • DSLAM Digital Subscriber Line Access Multiplexer
  • each STB device 92 can be divided into three types: power on, switch channels, and power off.
  • the STB device 92 sends a multicast join message when the device is powered on.
  • the multicast leave message of the current channel is sent first, and then the multicast join message of the new channel is sent, and the current channel is sent when the device is powered off.
  • Group Broadcast to leave the message Therefore, the processing of the request of the client STB can also be summarized as the processing of the multicast leave request and the multicast join request.
  • Step 1001 Receive a multicast leaving message.
  • Step 1002 Send, to the xDSL port that receives the multicast leaving message, a specific group query message of the channel that is requested to leave;
  • Step 1003 setting the state of the channel to the upcoming state, and starting the fast response time timer
  • Step 1004 Determine whether the timeout device has timed out. If yes, go to step 1005. Otherwise, go to step 1006.
  • Step 1005 stopping forwarding of channel data that the application leaves
  • Step 1006 it is determined whether a response message of a specific group query is received, and if yes, step 1007 is performed; otherwise, step 1004 is continued;
  • step 1007 the status of the channel is changed to the normal state, and the timer is cleared, and the operation ends.
  • the processing procedure for multicast join messages is as shown in Figure 11:
  • Step 111 Receive a multicast access message
  • Step 112 Determine whether the current xDSL port is allowed to join the multicast channel to which the application is added, and if yes, go to step 115, otherwise, go to step 113;
  • Step 113 Query whether there is a multicast channel in the upcoming state in the channel currently being forwarded, if yes, go to step 114, otherwise, go to step 116;
  • Step 114 Stop forwarding the multicast channel that is in the outgoing state and the earliest application to leave; Step 115, forwarding the multicast channel that the application joins, and the operation ends;
  • Step 116 Reject the joining of the multicast channel, and the operation ends.
  • the DSLAM sends a specific group query report of the channel to which the application leaves the xB port of the STB.
  • the DSLAM sends a specific group query report of the channel to which the application leaves the xB port of the STB.
  • the status of the channel is set to the upcoming state, and start the quick response timer.
  • the fast response time that is, before the timer expires, the following three situations may occur:
  • This situation includes two scenarios: the channel that is applied for joining is the current forwarding channel that is about to leave the state and the channel that is being forwarded to the channel that is currently being forwarded.
  • the state of the channel in the leaving state is changed to the normal state, the timer is cleared, and the channel is normally forwarded.
  • the current xDSL service port also allows the new channel to join, and if so, directly forwards the newly applied channel data to the port, otherwise, it queries whether there is a channel currently in the leaving state. If yes, the forwarding of the channel in the upcoming state is aborted, and the newly added multicast channel is forwarded; otherwise, the new multicast channel cannot be joined.
  • an xDSL service port is configured with a maximum number of multicast channels allowed to be accessed, and the maximum number of access multicast channels is set according to the bandwidth or management needs of the xDSL port. Determine whether the current xDSL service port allows the joining of new channels, that is, determine that the port is currently Whether the number of forwarded channels is less than the maximum number of allowed access channels set by the port. If it is less than, the access of the newly added channel is allowed. Otherwise, access is not allowed.
  • the newly applied channel cannot be accepted according to the conditions of the access control, so it is searched for whether there is an upcoming leaving state but still
  • the forwarded channel if it exists, suspends the forwarding of one of the most outgoing channels in the upcoming state, forwarding the newly joined multicast channel, otherwise, the new multicast channel cannot be joined.
  • a STB user When an STB user switches channels to a new channel, a STB user sends a multicast leaving message of the existing channel and a multicast joining message of the new channel to the DSLAM device in a short time while switching channels. The probability of this situation is much higher. Therefore, this embodiment has a greater significance for the STB user to control the multicast channel when switching channels.
  • the embodiment of the present invention also provides an access device, which implements effective control of joining and leaving a multicast channel by using the above method.
  • an access device which implements effective control of joining and leaving a multicast channel by using the above method.
  • FIG. 12 is a schematic structural diagram of a third embodiment of an access device according to the present invention.
  • the access device includes a channel leaving processing unit 121 and a channel joining processing unit 122, wherein the channel leaving processing unit 121, after receiving the multicast channel leaving message, accesses the access device that receives the multicast leaving message.
  • the service port sends a specific group of query messages for the channel that is leaving the application, and the channel's The status is set to the upcoming state and the fast response time timer is started. After the timer expires, the forwarding of the multicast channel that is requested to leave is immediately stopped.
  • the channel joining processing unit 122 further includes a multicast forwarding unit (not shown), a first control unit 123, and a second control unit 124, where:
  • the multicast forwarding unit controls the forwarding of the multicast channel according to instructions from other units, and mainly includes two operations: stopping forwarding a specified multicast channel and starting to forward a designated multicast channel.
  • the first control unit 123 After receiving the multicast channel join message sent by the STB user, the first control unit 123 determines whether the current port is allowed to join the multicast channel to be joined, and if so, notifies the multicast forwarding unit to forward the multicast channel to which the application is added. Otherwise, it is handed over to the second control unit 124 for further processing.
  • one service port of the access device sets a maximum number of multicast channels that are allowed to access, and the maximum number of access multicast channels is set according to the bandwidth of the service port or management requirements. Determining whether the current service port allows the joining of a new channel, that is, determining whether the number of channels currently being forwarded by the port is less than the maximum number of allowed access channels set by the port, and if not, allowing access of the newly added channel, otherwise , it is not allowed to access. In the process of determining by the channel determining unit 125, it is first determined whether the multicast channel applied by the STB user is a multicast channel that the current service port is already forwarding. If yes, no processing is performed. Otherwise, the channel number comparison unit 126 continues to determine.
  • the multicast forwarding unit is notified to start forwarding the data of the newly added channel. Otherwise, it is initially determined that the channel is not allowed. Access.
  • the second control unit 124 starts working after the first control unit 123 initially determines that it has been unable to accept a newly applied multicast channel. After receiving the notification from the first control unit 123, the second control unit 124 queries whether the multicast channel currently in the leaving state exists in the multicast channel currently forwarded by the service port, and if so, notifies the multicast forwarding unit to suspend the multicast channel. The forwarding of the channel in the upcoming state begins to forward the newly added multicast channel, otherwise, it is finally confirmed that the new multicast channel cannot be joined.
  • the forwarding of the channel that should be the most left should be suspended first, and the most should be left in the actual application. It can be judged in two ways, one is the channel that is the earliest application to leave, and the other is the channel closest to the timeout.
  • an intelligent decision-making device is added to the multicast processing system, and the multicast channel commonly used by the user is obtained by the cumulative statistics, and the access device obtains the multicast stream of the multicast channel commonly used by the user, thereby reducing the multicast stream.
  • the join delay of the multicast channel improves the efficiency of multicast processing.
  • the following describes the multicast service processing method in the embodiment of the present invention by taking the processing of the multicast in the access device as an example.
  • FIG. 13 is a schematic flowchart diagram of a fourth embodiment of a method for processing a multicast service according to the present invention, which includes the following steps:
  • Step 1301 The access device acquires a common multicast channel of the user.
  • the access device periodically records the multicast processing information recorded and processed by the multicast processing unit on the main control board, and records the multicast group maintained by the multicast and the time when the user joins and leaves each multicast group.
  • Point collect statistics on the on-demand frequency and time distribution of each interface board, and further collect statistics on the statistics to obtain the distribution of channels in the access device in each time period.
  • a plurality of program frequencies with the highest frequency of the on-demand or the longest use time in the access device are obtained as the common multicast channel of the user, and the specific interface board with the high frequency of the multicast channel on the interface board is obtained.
  • the user can select the common multicast channel of the user according to the on-demand frequency of the multicast channel or the usage time of the channel, or the user can select the common multicast channel of the user in combination with the trade-off.
  • the statistics of the common channel can be weighted according to factors such as the bandwidth occupied by the multicast channel, and the on-demand frequency of the multicast channel is weighted, so that the technical solution is more suitable for practical applications. Specifically, in order to balance the bandwidth factor, the weighting process multiplies the on-demand frequency by a smaller weighting factor for a program occupying a larger bandwidth.
  • multicast channel 1 has an on-demand frequency of 200 times/minute, and its occupied bandwidth is 2M
  • multicast channel 2 has an on-demand frequency of 210 times/minute, and its occupied bandwidth is 5M.
  • the multicast frequency of multicast channel 3 is 300 times per minute, and the bandwidth occupied by it is 8M.
  • the weighting factor for channel 1 occupying a smaller bandwidth is 1.1
  • the weighting factor for channel 2 occupying a slightly larger bandwidth is 1
  • the weighting factor for channel 3 occupying a larger bandwidth is 0.8.
  • the on-demand frequency of channel 1 is 220 times/minute
  • the on-demand frequency of channel 2 is 210 times/minute
  • the on-demand frequency of channel 3 is 240 times/minute.
  • Statistical analysis is performed on all weighted multicast channel on-demand frequencies, and several channels with the highest weighted on-demand frequency are obtained as common multicast channels for users.
  • the user main control board multicast processing unit sends a request to the network side, and actively requests the network side to join the user's common multicast channel, and the network side sends the user to the access device according to the received request.
  • Multicast stream of common multicast channels
  • Step 1303 The interface board receives a user IGMP join request.
  • the STB When the user needs to order a certain multicast channel, the STB sends an IGMP message to the access device to request the multicast channel.
  • Step 1304 The interface board submits the IGMP request to the main control board.
  • the port board submits all the IGMs received in the interface board to the multicast processing unit of the main control board connected to the main control board, and is processed by the multicast processing unit of the main control board.
  • Step 1305 The main control board determines whether the requested multicast stream is on the main control board. If yes, go to step 1307; otherwise, go to step 1306.
  • the main control board determines whether the requested multicast stream is on the main control board according to the multicast group information maintained by the multicast processing unit of the main control board.
  • the recorded multicast group information maintained by the multicast indicates that the requested multicast stream exists on the current main control board, and the requested multicast stream is on the main control board; otherwise, the requested multicast stream is not on the main control board. on.
  • Step 1306 Generate a multicast group in the multicast forwarding table of the main control board, add the interface board to the broadcast group, and generate a multicast entry in the multicast forwarding table of the interface board to join the user to the multicast group.
  • the main control board adds the multicast group of the multicast channel to which the user subscribes in the multicast forwarding table of the main control board, and adds the interface board that submits the IGMP request (that is, the interface board where the requesting user is located) to the multicast. In the group.
  • the main control board multicast processing unit generates a multicast group requesting the multicast stream of the multicast channel according to the IGMP request, and joins the user who requests the join to the multicast group, and then the multicast group
  • the interface board multicast forwarding table that is distributed to the interface board that submits the IGMP request.
  • Step 1307 Add the interface board to the multicast group in the multicast forwarding table of the main control board, and generate a multicast entry in the multicast forwarding table of the interface board to join the user to the multicast group. Then go to step 1 3 10.
  • the main control board adds the interface board that submits the IGMP request to the multicast group that requests the multicast channel in the multicast forwarding table of the main control board.
  • the main control board multicast processing unit generates a multicast group requesting the multicast stream of the multicast channel according to the IGMP request, and joins the user who requests the join to the multicast group, and then joins the multicast group.
  • the interface board multicast forwarding table that is distributed to the interface board that submits the IGMP request.
  • Step 1308 The main control board requests multicast stream data from the network side.
  • the main control board sends a control packet to the edge device on the network side; the edge device on the side of the metropolitan area network passes the IP metropolitan area network. And requesting, by the multicast service system, the multicast stream of the multicast channel to be delivered; after receiving the request, the multicast service center adopts an MPEG-2 encoding format, and encodes the encoded channel into a unicast stream to be encapsulated into UDP/IP ( The User Datagram Protocol/Internet Protocol, User Data Protocol/Internet Protocol, is pushed to the IP Metropolitan Area Network. After the edge device is passed, the edge device forwards it to the access device.
  • UDP/IP The User Datagram Protocol/Internet Protocol, User Data Protocol/Internet Protocol
  • Step 1309 The main control board receives the multicast stream delivered by the network.
  • the multicast replication unit of the main control board determines whether the multicast stream is the required multicast stream according to the multicast forwarding table of the main control board, and if yes, receives the multicast stream. The multicast stream.
  • Step 1310 The main control board sends a multicast stream to the interface board.
  • the main control board After receiving the multicast stream, the main control board multicasts the copying unit to the interface board of the multicast stream according to the record in the multicast forwarding table of the main control board, and copies the multicast stream to the interface board. .
  • Step 1311 The interface board sends a multicast stream to the user according to the multicast table.
  • the interface board After receiving the multicast stream, the interface board copies the multicast stream to the user port of the user on the interface board according to the user corresponding to the multicast channel in the multicast forwarding table of the interface board.
  • the multicast stream arrives at the terminal device by the user port, and after receiving the multicast stream, the user can watch the multicast channel that is requested.
  • the common channel of the access device is obtained in the access device.
  • the multicast processing unit of the main control board receives the IGMP request of the user. After that, the multicast stream of the requested multicast channel can be directly forwarded from the main control board to the interface board where the user is located, without requesting to be sent to the network side, thereby reducing the join delay of the multicast channel and improving the insertion delay. Multicast processing efficiency.
  • FIG. 14 is a flowchart of a fifth embodiment of a method for processing a multicast service according to the present invention, which includes the following steps:
  • Step 1401 Obtain a common multicast channel of the user.
  • This step is the same as the step 1301 in the embodiment shown in FIG. 13 .
  • the difference is that the interface board multicast processing for processing the user IGMP messages received by the interface board is added to the access board. Therefore, the acquisition of the common multicast channel of the user is specifically obtained according to the multicast group maintained by the multicast recorded by the interface board multicast processing unit and the time point when the user joins and leaves each multicast group.
  • the method is the same as step 1301 in the embodiment shown in FIG. 13 and will not be described herein.
  • a specific interface board with a higher weight of the on-demand channel or channel of the user's common multicast channel or a longer time of using the common multicast channel of the user is used as a common interface board, and is multicasted on the main control board.
  • a multicast table of the common multicast channel of the user is established in the forwarding table, and each common interface board is added to the multicast table corresponding to the common multicast channel of the user.
  • Step 1402 Send the obtained multicast stream corresponding to the common multicast channel of the user to the interface board.
  • the main control board multicast processing unit sends a request to the network side, and actively requests the network side to join the user's common multicast channel, and the network side sends the user to the access device according to the received request. Multicast stream of multicast channels.
  • the main control board After receiving the multicast stream of the common multicast channel of the user delivered by the network, the main control board automatically copies the multicast group of the common multicast channel of the user in the multicast forwarding table. The multicast stream of the user's common multicast channel is copied to the common interface board of the common multicast channel of the user.
  • Step 1403 The interface board receives a user IGMP join request.
  • the STB When the user needs to order a certain multicast channel, the STB sends an IGMP message to the access device to request the multicast channel.
  • Step 1404 Determine whether the requested multicast stream is on the interface board. If no, go to step 1405. Otherwise, go to step 1406.
  • the interface board of the access device determines, according to the multicast group information maintained by the multicast processing unit of the interface board, whether the multicast stream is on the interface board, and if the recorded multicast group information maintained by the multicast indicates the current If the interface board has a multicast group of the requested multicast stream, the requested multicast stream is on the interface board, otherwise the requested multicast stream is not on the interface board. If the multicast channel requested by the user is a common channel obtained by the step 1401, and the common multicast channel of the user is the multicast frequency of the on-demand frequency or channel in the interface board, or the multicast channel with a long time is used. Then, in step 1402, the multicast stream of the user's common multicast channel has been pushed to the interface board, so the multicast stream already exists on the interface board.
  • Step 1405 Add the user to the multicast group in the multicast forwarding table of the interface board, and go to step 1404.
  • the interface board adds the requesting user to the multicast group corresponding to the multicast channel that it requests in the multicast forwarding table of the interface board.
  • Step 1406 Generate a multicast group in the interface board multicast forwarding table.
  • the multicast group of the multicast channel that the user subscribes to is newly added, and the user is forced into the newly added multicast group.
  • Step 1407 The interface board requests the main control board to request the multicast stream of the multicast channel from the user.
  • Step 1408 The main control board determines whether the requested multicast stream is on the main control board. If yes, go to step 1409; otherwise, go to step 1410.
  • the main control board After receiving the multicast stream request sent by the interface board, the main control board determines whether the requested multicast stream is on the main control board according to the multicast group information maintained by the multicast processing unit of the main control board.
  • the recorded multicast group information maintained by the multicast indicates that the current multicast group has the multicast group of the requested multicast stream, and the requested multicast stream is on the main control board, otherwise the requested multicast stream Not on the main control board.
  • the multicast channel requested by the user is the common channel obtained in step 1401, then there must be a multicast stream of the multicast channel requested by the user in the main control board.
  • Step 1409 The main control board adds the interface board to the multicast group in the multicast forwarding table, and then goes to the step.
  • Step 1410 Generate a multicast group in the multicast forwarding table of the main control board.
  • the main control board adds a multicast group of the user's on-demand channel to the multicast forwarding table of the main control board, and inserts the interface board into the multicast group.
  • Step 1411 The main control board requests multicast stream data from the network side.
  • Step 1412 The main control board receives the multicast stream delivered by the network.
  • Step 1413 The main control board sends a multicast stream to the interface board.
  • Step 1414 The interface board sends a multicast stream to the user according to the multicast table in the multicast forwarding table of the interface board.
  • the steps 1411 to 1414 are the same as the steps 1309 to 1313 in the embodiment shown in FIG. 13, and are not described herein.
  • the multicast processing of the access device is distributed to the interface board and the main control board in cooperation with the multicast processing in the internal processing of the access device in the embodiment shown in FIG. deal with. Because the multicast distributed processing is adopted, when the interface board has multiple users joining the same program source, the main control board only needs to process the first request, and does not need to repeat the processing, and uses the embodiment of the present invention. The method can make full use of the processing power of the system and greatly improve the multicast processing capability of the access device.
  • the mode of the multicast distributed processing is adopted, and the multicast forwarding table on the interface board is configured by the interface board according to the received user IGMP message, instead of being forwarded or transparently transmitted by the main control board according to the interface board.
  • User IGMP messages are redistributed to each interface board.
  • the main control board only needs to configure its own multicast forwarding table according to the IGMP messages forwarded by the interface board to the main control board. It can be seen that the method of the embodiment of the invention saves the communication inside the access device, which is beneficial to improving the processing speed.
  • the user IGMP request is submitted by the interface board to the main control board, and only needs to reach the main control board.
  • the interface card can be pushed to the user port of the requested user without requesting multicast join to the network side, which reduces the multicast processing delay and improves the multicast processing efficiency.
  • an intelligent decision scheme for counting common channels within the access device and pushing the counted common channels to the corresponding interface boards is used.
  • the scheme is applied to the multicast processing of the access network by the extension of the method in the embodiment shown in FIG. 14, and the details are as follows:
  • Example I Collect and count the programs in each interface board according to the time points of the users in the access board to join and leave each multicast channel in each access network inside the access network.
  • the frequency and time distribution of the on-demand frequency are further summarized and statistically analyzed in all the interface boards of all the access devices to obtain the common channels in the access network, and the weights of the frequency or frequency of the commonly used multicast channels of the user are compared.
  • the calculation method is shown in FIG. 4 The procedure of Example I in 1401 the same way.
  • the multicast copying unit of the access device that informs the user that the common multicast channel is located with a high on-demand frequency is fixed, and the most commonly used multicast channels are actively connected to the network.
  • the side requests to join, and the multicast stream of the common multicast channel of the user is sent by the network side to the main control board of the access device that uses the common multicast channel frequency or frequency weight of the user or has a long use time.
  • the method in the embodiment shown in FIG. 13 or the method in the embodiment shown in FIG. 14 may be used.
  • control network since an intelligent decision-making scheme is introduced in the access network, the control network establishes a pre-addition tree, which improves the processing efficiency of the entire network.
  • the comparison table may be established on the network side according to the statistical result. Therefore, each common channel corresponds to an access device that uses the highest frequency of the common multicast channel of the user.
  • the network side actively pushes the multicast stream of the common multicast channel of the user to the access device according to the comparison table.
  • FIG. 15 is a schematic structural diagram of a fourth embodiment of an access device in a multicast processing system according to the present invention.
  • the access device 150 includes an interface board 1501, a main control board 1502, and an intelligent device.
  • the decision device 1503, the access device is different from the prior art access device in that an intelligent decision device 1503 is added inside the access device.
  • the interface board 1501 includes: an interface board storage unit 1511 and an interface board multicast replication unit 1512.
  • the main control board 1502 includes: a main control board multicast processing unit 1521, a main control board storage unit 1522, and a main control board multicast replication unit 1523.
  • the intelligent decision device 1503 is connected to the main control board multicast processing unit 1521, and is configured to record the multicast group information maintained by the multicast according to the main control board multicast processing unit 1521, the recorded user multicast behavior, and the user in each interface board.
  • the program frequency is used as a common multicast channel for users.
  • the weighting factor of the weight of the frequency is specifically set according to the bandwidth occupied by the frequency. A smaller weighting factor is adopted for a channel occupying a larger bandwidth, and a larger weighting factor is adopted for a channel occupying a smaller bandwidth, so that the processing for a common multicast channel can be considered more in combination with the allocation of bandwidth resources.
  • the smart decision device 1503 instructs the main control board multicast processing unit 1521 to establish a multicast for the common multicast channel of the user according to the main control board multicast forwarding table stored in the main control board storage unit 1522.
  • the main control board multicast replication unit 1523 requests to join the network side according to the multicast group of the common channel in the multicast forwarding table of the main control board, so that the network sends the common multicast channel of the user to the main control board 1502. Multicast stream.
  • the interface board storage unit 1511 is connected to the main control board multicast processing unit 1521, and is controlled by the main control board multicast processing unit 1521, and is configured to record the multicast group of the user corresponding to each multicast channel in the interface board.
  • the interface board multicast replication unit 1512 is connected to the interface board storage unit 1511 and the main control board multicast replication unit 1523, and is configured to perform multicast replication from the main control board according to the multicast group record in the multicast forwarding table of the interface board.
  • the unit 1523 copies the multicast stream and copies the copied multicast stream to the corresponding user port of each user in the multicast group.
  • the main control board multicast processing unit 1521 is connected to the main control board storage unit 1522, the interface board storage unit 1511, and the smart decision device 1503, and is configured to receive the user IGMP message forwarded by the interface board 1501, and perform the IGMP message according to the IGMP message. Multicast processing. The process is as follows:
  • the main control board multicast processing unit 1521 determines the requested information of the multicast group according to the multicast group information recorded by the main control board storage unit 1522 for multicast maintenance. Whether the multicast stream is on the main control board 1502. If the multicast stream requested by the user is on the main control board 1502, the main control board multicast processing unit 1521 instructs the main control board storage unit 1522 to submit the IGMP message. After the interface board 1501 is added to the multicast group corresponding to the multicast channel, and the interface board 1501 is added to the multicast group, the multicast forwarding unit 1523 of the main control board can be based on the multicast forwarding table of the main control board. The multicast stream of the multicast channel is copied to the interface board 1501. If the multicast stream requested by the user is not on the main control board 1502, the main control board multicast processing unit 1521 requests the network side to join, and requests to deliver the multicast stream. .
  • the main control board multicast processing unit 1521 generates a multicast group corresponding to the user port of the multicast stream, and adds the multicast group to the interface board multicast forwarding table of the interface board 1501 that receives the user request.
  • the main control board storage unit 1522 is connected to the main control board multicast processing unit 1521 and the main control board multicast copy unit 1523, and is controlled by the main control board multicast processing unit 1521, and is used for recording the interface board corresponding to the multicast channel. Multicast group.
  • the main control board multicast replication unit 1523 is connected to the main control board storage unit 1522 and the network side, and is configured to receive the delivered multicast stream from the network side according to the multicast group record in the multicast forwarding table of the main control board. And copy the multicast stream to the corresponding interface boards in the multicast group.
  • the smart decision device 1503 is newly added to the access device 150, if the multicast channel requested by the user is a commonly used channel, the multicast stream of the multicast channel is on the main control board 1502, and the user IGMP requests. After being submitted to the main control board 1502, the main control board 1502 only needs to be processed by the main control board 1502, and can be pushed to the user port of the requesting user through the interface board 1501 without requesting multicast join to the network side, thereby reducing the multicast processing delay. , improve the efficiency of multicast processing.
  • FIG. 16 is a schematic structural diagram of a system according to a fifth embodiment of an access device of a multicast processing system according to the present invention.
  • the access device 160 includes an intelligent decision device 1603, an interface board 1601, and a main control board. 1602.
  • the access device 160 differs from the access device 150 in the embodiment shown in FIG. 15 in that the interface board multicast processing unit 1613 is further added to the interface board 1601 of the access device 160 in this embodiment.
  • the intelligent decision device 1603 is respectively connected to the interface board multicast processing unit 1613 and the main control board multicast processing unit 1621. Since the interface board multicast processing unit 1613 is introduced in the access device 160, the intelligent decision device 1603 is In this embodiment, only the user multicast behavior recorded by the interface board multicast processing unit 1613 is required to obtain the common multicast channel of the user in the access device.
  • the statistical method and the embodiment shown in FIG. The method in the same way.
  • the intelligent decision device 1603 obtains, in addition to the statistics, the number of program frequencies in the access device 160 that are most frequently used in a relatively long time as the user's common multicast channel, and further acquires the frequency of using the common multicast channel of the user.
  • the smart decision device 1603 instructs the main control board multicast processing unit 1621 to establish a multicast group for the common multicast channel of the user according to the multicast forwarding table of the main control board, so that the common channels are compared with the frequency of the common multicast channel used by the user.
  • the high specific interface boards 1601 correspond to each other.
  • the main control board multicast replication unit 1523 automatically multicasts the common multicast channel of the user according to the multicast group of the common multicast channel of the user.
  • the multicast stream has a higher weight for using the frequency or frequency of the common multicast channel of the user, or is pushed by a specific interface board 1601 that uses the user's common multicast channel for a long time.
  • the interface board 1601 includes: The interface board multicast processing unit 1613 is connected to the interface board storage unit 1511 in the interface board 1601, and the main control board multicast processing unit 1621 and the intelligent decision device 1603, respectively, for performing the IGMP message sent by the user. Corresponding multicast processing. such as:
  • the interface board 1601 When the interface board 1601 receives the IGMP message for the multicast channel to be broadcasted by the user, it determines whether the multicast stream requested by the user is on the interface board according to the multicast maintenance multicast group recorded by the interface board storage unit 1511. If the multicast stream requested by the user is on the interface board 1601, the interface board multicast processing unit 1613 instructs the interface board multicast replication unit 1512 to perform the multicast group corresponding to the multicast channel recorded by the interface board storage unit 1511. Copying the multicast stream of the multicast channel to the user port; if the multicast stream requested by the user is not on the interface board 1601, the interface board multicast processing unit 1613 instructs the interface board storage unit 1511 to add the group of the multicast channel.
  • the multicast group is forwarded to the interface board multicast forwarding table, and the interface board multicast processing unit 1613 forwards the user IGMP message to the main control board multicast processing unit 1621, and requests the main control board multicast processing unit 1621 to request the user to join.
  • Multicast stream of multicast channels are forwarded to the interface board multicast forwarding table, and the interface board multicast processing unit 1613 forwards the user IGMP message to the main control board multicast processing unit 1621, and requests the main control board multicast processing unit 1621 to request the user to join.
  • the interface board storage unit 1511 is connected to the interface board multicast processing unit 1613 and the interface board multicast replication unit 1512, and is controlled by the interface board multicast processing unit 1613, and is configured to record the multicast group of the user corresponding to the multicast channel.
  • the interface board multicast copy unit 1512 has the same connection relationship and functions as those in the embodiment shown in FIG.
  • the difference between the main control board 1602 and the embodiment shown in FIG. 15 is the main control board multicast processing unit 1621.
  • the processing unit 1512 and the intelligent decision device 1603 are respectively connected to receive the multicast stream request sent by the interface board multicast processing unit 1613, and perform multicast processing according to the request.
  • the interface board multicast processing unit 1613 is added to each interface board of the access device, all multicast processing originally concentrated on the main control board is distributed to each interface board and the main control board. Collaborative processing. Because the multicast distributed processing is adopted, when the interface board has multiple users joining the same program source, the main control board only needs to process the first request, and does not need to repeat the processing, and uses the embodiment of the present invention.
  • the access device can fully utilize the processing capability of the system and greatly improve the multicast processing capability of the access device.
  • the mode of the multicast distributed processing is adopted, and the multicast forwarding table on the interface board is configured by the interface board according to the received user IGMP message, instead of being configured by the main control board according to the interface.
  • the user forwards the IGMP messages to the interface board.
  • the main control board only needs to configure the multicast forwarding table based on the IGMP messages forwarded by the interface board to the main control board. It can be seen that the method of the invention saves the communication inside the access device, which is beneficial to improve the processing speed.
  • the multicast channel requested by the user is a channel with a higher on-demand frequency in the interface board 1601
  • the user interface can be directly pushed by the interface board 1601 to the user port of the requested user. It is not required to be submitted to the main control board 1602 for processing, which further reduces the multicast processing delay and greatly improves the multicast processing efficiency.
  • FIG. 17 is a schematic structural diagram of a second embodiment of a multicast processing system according to the present invention.
  • the smart decision device 340 is applied to the entire access network, and the smart decision device 340 is connected to the network 80.
  • Each of the access devices 800 (the access device 800 may be an access device in the prior art, or an access device 150 shown in FIG. 15 or an access device 160 shown in FIG. 16).
  • the connection relationship between the smart decision device 340 and the ingress device 800 is specifically connected to the main control board multicast processing unit of each access device 800.
  • each interface board multicast processing unit For instructing the main control board multicast processing unit, according to the user multicast behavior recorded by each interface board multicast processing unit connected to the main control board multicast processing unit, statistics are added and removed from each interface board in the main control board.
  • the weight of the user's on-demand frequency or frequency of each multicast channel in each access device, and the time distribution of the weight of the frequency or frequency are counted, and the result is statistically obtained to obtain an access network.
  • All access devices 800 in 80 select the highest frequency of the frequency or frequency or the program frequency of the longest frequency as the user's common multicast channel for a relatively long period of time, and further select the common multicast of the user.
  • the channel has a higher weight on the frequency or frequency of the corresponding access device 800, or the specific access device that uses the user's common multicast channel for the longest time is used as a common access device for the common multicast channel of the user.
  • the smart decision device 340 establishes a comparison table between the common channel and the access device 800 that commonly uses the common multicast channel of the user according to the obtained result, and notifies the common access device in the comparison table in the comparison table according to the comparison table.
  • the multicast processing unit of the main control board actively sends a join request to the network side to request a multicast stream of a common channel with a high frequency of on-demand in the access device.
  • FIG. 18 is a schematic structural diagram of a third embodiment of a multicast processing system according to the present invention. As shown in the figure, the embodiment is different from the embodiment shown in FIG.
  • the intelligent decision device 350 to which the access devices 800 are respectively connected is also connected to the IP metropolitan area network 107.
  • the common channel is established in the IP metropolitan area network 107 and the frequency of using the common multicast channel of the user is relatively high.
  • the access device 800 compares the table, so that the D metropolitan area network 107 actively pushes the multicast stream of the corresponding multicast channel to the access device 800 in the lookup table according to the lookup table.
  • the IP metropolitan area network 107 is used to actively push the multicast stream of the program frequency commonly used by the access system, thereby further reducing the delay of the multicast request processing and improving the multicast processing efficiency.

Abstract

A multicast service processing method and access equipment are disclosed, wherein the method includes: receiving multicast program request message from terminal device, inquiring about program rating parameters according to said multicast program request message, wherein the program rating parameter includes multicast group IP address and multicast program rating priority, generating multicast program data according to the program rating parameters, then sending the multicast program data to the terminal device.

Description

组播业务处理方法、 系统及接入设备  Multicast service processing method, system and access device
本申请要求于 2006年 6月 9日提交中国专利局、申请号为 200610035881.6、 发明名称为"一种组播频道控制方法及装置"的中国专利申请的优先权、于 2006 年 7月 20 日提交中国专利局、 申请号为 200610098972.4、 发明名称为"一种 IPTV承载网中节目频道差异化处理的方法"的中国专利申请的优先权、于 2006 年 7月 24日提交中国专利局、 申请号为 200610103601.0、发明名称为"一种对 組播节目进行分级控制的方法及接入设备"的中国专利申请的优先权、 于 2006 年 8月 15日提交中国专利局、 申请号为 200610111216.0、发明名称为"一种组 播业务处理方法以及系统,,的中国专利申请的优先权, 其全部内容通过引用结 合在本申请中。  This application claims the priority of the Chinese patent application filed on June 9, 2006, the Chinese Patent Office, the application number is 200610035881.6, and the invention name is "a multicast channel control method and device", submitted on July 20, 2006. China Patent Office, Application No. 200610098972.4, the priority of the Chinese patent application entitled "A Method for Differentiating Program Channels in an IPTV Bearer Network", submitted to the China Patent Office on July 24, 2006, the application number is 200610103601.0, the priority of the Chinese patent application entitled "A method for hierarchical control of multicast programs and access devices", submitted to the Chinese Patent Office on August 15, 2006, the application number is 200610111216.0, and the invention name is The priority of a Chinese patent application for a multicast service processing method and system, the entire contents of which are incorporated herein by reference.
技术领域 Technical field
本发明涉及数据通信领域, 具体涉及一种组播业务处理方法、 系统及接入 设备。  The present invention relates to the field of data communications, and in particular, to a multicast service processing method, system, and access device.
背景技术 Background technique
组播技术是一种点到多点的网络技术,其目的是减轻网络负载和媒体服务 器的负担。 图 1为组播系统结构示意图, 如图示, 组播系统由视频组播业务系 统 10、 IP城域网 11、 接入网络 12和家庭网絡 13四部分组成。 其中, 接入网络 12 包括: 接入设备 121和调制解调器 122; 家庭网络 13包括: 机领盒 131、 电视机 132, 还可以包括电脑 133。 组播业务系统实现视频用户管理、 视频采集系统、 视频编码功能, 然后将视频业务流发送入 IP城域网; IP城域网通过 Π>组播功能 将视频业务流送到宽带接入网; 接入网实现视频组加入或离开的控制功能, 并 将用户需要的视频流发送给用户。  Multicast technology is a point-to-multipoint network technology designed to ease the burden of network load and media servers. FIG. 1 is a schematic diagram of a structure of a multicast system. As shown in the figure, the multicast system is composed of a video multicast service system 10, an IP metropolitan area network 11, an access network 12, and a home network. The access network 12 includes: an access device 121 and a modem 122; and the home network 13 includes: a collar box 131, a television 132, and a computer 133. The multicast service system implements video user management, video collection system, and video encoding function, and then sends the video service stream to the IP metropolitan area network; the IP metropolitan area network sends the video service stream to the broadband access network through the Π>multicast function; The access network implements the control function of joining or leaving the video group, and sends the video stream required by the user to the user.
目前随着 IPTV ( IP TeleVison, IP视频)业务的发展, 越来越多的宽带接入 网络支持了 IGMP ( Internet Group Management Protocol , 互联网组管理协议 ) 和以 IGMP协议为基础的组播业务。 组播相对于单播来说, 可以有效地利用网 络带宽, 減少网络流量, 提高数据传输的效率。 目前, 组播技术成为许多网络 应用的关键支撑技术, 例如: 网络多媒体会议、 远程教育、 IPTV、 网上实时 转播、 网络数据发布、 分布式协同工作等。  With the development of IPTV (IP TeleVison, IP Video) services, more and more broadband access networks support IGMP (Internet Group Management Protocol) and IGMP-based multicast services. Compared with unicast, multicast can effectively utilize network bandwidth, reduce network traffic, and improve data transmission efficiency. At present, multicast technology has become a key supporting technology for many network applications, such as: network multimedia conferencing, distance education, IPTV, online real-time broadcast, network data distribution, distributed collaborative work, and so on.
利用 IGMP协议实现组播业务的系统组网结构如图 2所示, 包括: 终端设备 21、调制解调器 20、 接入设备 22、組播源网络 23和授权服务器 24。 当终端设备 21需要加入一个組播组, 即通常所讲的频道时,通过调制解调器 20向接入设备 22发送 IGMP Report报文; 接入设备 22收到 IGMP Report报文后,将该终端设备 21加入其組播转发表中, 然后向组播源网络 23发送 IGMP Report报文, 将组播 流引入到接入设备 22,然后接入设备 22再将组播流转发到终端设备 21所在的线 路上。 每隔一定的时期, 接入设备 22发送 IGMP Query查询终端设备 21是否还 在接收该组播流, 如果终端设备 21需要继续保持在该组播组, 必须响应一个 IGMP Report报文, 同时组播源网络 23与接入设备 22之间也存在这样的过程, 以维护组播流的转发关系。 The system networking structure of the multicast service using the IGMP protocol is shown in Figure 2, including: 21. A modem 20, an access device 22, a multicast source network 23, and an authorization server 24. When the terminal device 21 needs to join a multicast group, that is, the channel that is usually spoken, the IGMP Report message is sent to the access device 22 through the modem 20. After the access device 22 receives the IGMP Report message, the terminal device 21 The multicast forwarding table is added to the multicast forwarding table, and then the IGMP Report message is sent to the multicast source network 23, and the multicast stream is imported to the access device 22. Then, the access device 22 forwards the multicast stream to the line where the terminal device 21 is located. on. At a certain period of time, the access device 22 sends an IGMP Query to query whether the terminal device 21 is still receiving the multicast stream. If the terminal device 21 needs to continue to remain in the multicast group, it must respond to an IGMP Report message and simultaneously multicast. There is also a process between the source network 23 and the access device 22 to maintain the forwarding relationship of the multicast stream.
从上述组播终端设备点播组播组的过程来看,組播终端设备切换频道会发 出两个 IGMP报文, 一个是当前频道的离开报文, 紧接着发送一个终端设备想 观看频道的加入报文, 同时对终端设备加入某节目的权限,可以在接入设备控 制, 也可以在授权服务器上提供。  From the process of multicasting a multicast group by the multicast terminal device, the multicast terminal device switches the channel to send two IGMP messages, one is the leaving message of the current channel, and then sends a joining message that the terminal device wants to watch the channel. For example, the right to join a program to a terminal device can be controlled by the access device or on the authorization server.
IGMP协议规定, 当接入设备接收到端口下组播用户的离开报文后, 需要 发送特定组查询报文,等待该组播组下可能存在的其他用户的回应, 以确定此 端口所连接的网络中是否还有其他组播用户在这个组中,当确认没有其他用户 在这个组播组后, 才能将这个端口从该組播组的表项中删除,从而保证了一个 用户的离开不会干扰可能跟该用户同属于一个組播組的其他用户。  The IGMP protocol stipulates that after receiving the Leave message of the multicast user on the port, the access device needs to send a specific group query message and wait for the response of other users that may exist in the multicast group to determine the connection of the port. Whether there are other multicast users in the network in the group. After confirming that no other users are in the multicast group, the port can be deleted from the multicast group entry, thus ensuring that a user does not leave. The interference may be other users of the same multicast group as the user.
但是上述的组播特定组查询报文过程所产生的延时在实际的 IPTV业务应 用中带来了问题。 在由组播技术提供的 IPTV业务中, 用户的频道切换操作包 括: 发送原频道的 IGMP离开报文, 发送新频道的 IGMP加入报文。 当組播接入 设备接收到 IGMP离开报文后, 不会立刻将原有视频流中断, 而是要发送 IGMP 特定组查询报文后, 等待用户是否回应 IGMP加入报文后, 再决定是否中断视 频流。在组播接入设备等待响应报文的期间内,就不能及时的将原有的频道删 除, 造成新旧视频流同时下发, 浪费大量的带宽。 例如, 当用户快速依次浏览 多个频道, 从频道 1到频道 10, 这样就会在一段时间内有 10个频道的视频流同 时发送到组播接入设备的一个组播业务端口上,可能大大超过该业务端口的下 行带宽,造成报文丢失、延迟, 用户的视频节目质量急剧下降,甚至无法观看。 由于当前城域网的组播性能是組播技术的一个关键性能瓶颈,城域网有上 万用户, 要让用户拥有类似于传统 CATV (有线电视网)的性能体验, 需要在 1秒内完成单个用户的切换频道请求, 所有用户的并发切换频道请求的处理时 间不能超过 1秒。 也就是说, 视频流在接入设备中容许的最大时间 (不包括家 庭设备的传输与编解码时间, 也不包括城域网、 组播业务系统的处理时间)不 能超过 1秒。 However, the delay caused by the above-mentioned multicast specific group query message process brings problems in the actual IPTV service application. In the IPTV service provided by the multicast technology, the user's channel switching operation includes: sending an IGMP leave message of the original channel, and sending an IGMP join message of the new channel. After receiving the IGMP Leave message, the multicast access device does not immediately interrupt the original video stream. Instead, it sends an IGMP group-specific query message and waits for the user to respond to the IGMP join message. Video stream. During the period in which the multicast access device waits for the response packet, the original channel cannot be deleted in time, and the new and old video streams are simultaneously delivered, which wastes a lot of bandwidth. For example, when a user browses multiple channels in sequence, from channel 1 to channel 10, a video stream of 10 channels is simultaneously sent to a multicast service port of the multicast access device in a period of time, which may be greatly The downlink bandwidth of the service port is exceeded, resulting in packet loss and delay. The video quality of the user is drastically reduced or even cannot be viewed. Since the multicast performance of the current metropolitan area network is a key performance bottleneck of the multicast technology, the metropolitan area network has tens of thousands of users, and the user needs to have a performance experience similar to the traditional CATV (cable network), which needs to be completed in one second. For a single user's switching channel request, the processing time of all users' concurrent switching channel requests cannot exceed 1 second. That is to say, the maximum time allowed for the video stream in the access device (excluding the transmission and codec time of the home device, and the processing time of the metropolitan area network and the multicast service system) cannot exceed 1 second.
为了解决组播处理的时延问题, 目前存在一种解决方案,该解决方案是将 组播节目全部推送到接入设备上。但是, 这种方案在组播频道很多时, 会使得 组播占用的固定带宽大大增大。 比如, 考虑 1000个组播频道, 平均每节目需 要占用的带宽为 5M, 那么, 该组播将需要 20G的固定带宽从边缘设备到接入 设备,以专门供组播流量的推送之用。很显然,这在实际应用中是不可接收的。 而且,由于接入设备需要处理所有用户侧的 IGMP报文以及发送至网络侧的控 制报文, 当多个用户同时加入一个节目源时, 接入设备需要对每个用户的 IGMP请求 文均作处理, 存在大量重复的处理工作。 当大量用户上线切换视 频业务频道时, 接入设备的性能将无法胜任。 而且, 随着城域网承载的节目数 量越来越多, 节目的质量和码流越来越高,整个城域网的带宽将无法承受将所 有节目都推送到接入设备。  In order to solve the delay problem of multicast processing, there is currently a solution for pushing all multicast programs to the access device. However, this scheme greatly increases the fixed bandwidth occupied by multicast when there are many multicast channels. For example, considering 1000 multicast channels, the average bandwidth required for each program is 5M. Then, the multicast will require 20G of fixed bandwidth from the edge device to the access device to specifically push the multicast traffic. Obviously, this is unacceptable in practical applications. Moreover, since the access device needs to process all user-side IGMP messages and control messages sent to the network side, when multiple users join a program source at the same time, the access device needs to make an IGMP request message for each user. Processing, there is a lot of repetitive processing work. When a large number of users go online to switch video service channels, the performance of the access device will not be sufficient. Moreover, as the number of programs carried by the metropolitan area network increases, the quality of the program and the code stream become higher and higher, the bandwidth of the entire metropolitan area network cannot withstand pushing all the programs to the access device.
另外,在实际应用中还存在这样一种情况: 一个业务端口下可能接入多个 组播用户。 为此,现有技术中接入设备对一个业务端口下的多个组播用户启动 快速离开功能, 同时还设置一个快速离开响应时间。 当接入设备的一个业务端 口接收到一个组播用户的切换频道请求的组播离开报文后,向该端口下的组播 用户发送该请求离开频道的特定组查询报文,以确定是否还存在其它组播用户 在收看该频道;如果在给定的快速离开响应时间内没有收到其它组播用户发送 该频道的加入报文, 则认为没有其他用户在收看该频道, 因此立即切断该频道 的组播流;如果在给定的快速离开响应时间内接收到其它组播用户发送该频道 的加入报文, 则不切断该频道的组播流, 继续转发。  In addition, there is a case in practical applications: Multiple multicast users may be connected to one service port. To this end, in the prior art, the access device initiates a fast leave function for multiple multicast users under one service port, and also sets a fast leave response time. After receiving a multicast leave message requested by the switching channel of the multicast user, a service port of the access device sends a specific group query message requesting to leave the channel to the multicast user under the port to determine whether to There are other multicast users watching the channel; if no other multicast users send the join message of the channel within the given fast leave response time, then no other users are considered to be watching the channel, so the channel is immediately cut off. If the multicast message is received by another multicast user in the given fast leave response time, the multicast stream of the channel is not cut off and the forwarding is continued.
这种方案由于可以将快速离开响应时间控制在一个合理的并且足够短的 时间内,因此该技术方案能够实现在足够短的时间内迅速切断组播用户离开的 报文,避免了申请离开的组播频道滞留时间太长影响了带宽的使用, 同时又能 够保证离开的组播用户不会对其他的组播用户产生干扰。 Since the solution can control the fast leave response time within a reasonable and short enough time, the technical solution can quickly cut off the message that the multicast user leaves in a short enough time, and avoids the group that requests to leave. The long staying time of the broadcast channel affects the use of bandwidth, and at the same time It is enough to ensure that the outgoing multicast users will not interfere with other multicast users.
但是, 在受控組播业务应用中, 上述方案却不能很好地实现。 所述受控组 播业务要求控制一个业务端口下最多可以点播的组播频道数, 在这种前提下, 上述的技术方案可能导致频道切换不成功的情况。 ^^设一个业务端口的最大点 播频道数为 2, 该业务端口下的两个组播用户分别点播组播频道八和^ 当点 播频道 A的组播用户想切换到频道 C, 该组播用户会向接入设备发送频道 A 的离开报文和频道 C 的加入报文。 接入设备接收到该组播用户发出的组播频 道 A的离开报文后, 向该端口下发频道 A的特定组播查询报文, 在快速离开 响应时间超时之前, 该端口下还存在两个频道正在转发, 此时接入设备又接收 到频道 C的加入报文,由于此时该端口下同时在线的组播频道数目已经达到 2, 所以根据受控组播的原理, 接入设备会拒绝频道 C 的加入, 从而造成频道切 换的失败。 当然, 如果在快速离开响应报文超时之后, 如果组播用户再发出频 道 C 的加入报文, 则可以点播成功。 也就是说, 在当前正在转发的組播频道 数目已经达到端口允许接入的最大组播频道数时,组播用户必须要等待快速离 开响应时间超时才能够切换到要加入的组播频道 C 中, 这样的频道切换时延 对于组播用户来说是不符合要求的, 甚至是无法接收的。  However, in the controlled multicast service application, the above solution is not well implemented. The controlled multicast service needs to control the maximum number of multicast channels that can be on-demand under one service port. Under this premise, the above technical solution may lead to unsuccessful channel switching. ^^Set the maximum number of on-demand channels of a service port to 2, and the two multicast users under the service port respectively subscribe to the multicast channel VIII and ^. When the multicast user of the on-demand channel A wants to switch to channel C, the multicast user The leaving message of channel A and the joining message of channel C are sent to the access device. After receiving the Leave message of the multicast channel A sent by the multicast user, the access device sends a specific multicast query message of the channel A to the port. Before the fast leave response time expires, there are two ports under the port. The channel is being forwarded. The access device receives the join message of channel C. The number of simultaneous multicast channels on the port has reached 2, so according to the principle of controlled multicast, the access device will The joining of channel C is rejected, causing the channel switching to fail. Of course, if the multicast user re-issues the join message of channel C after the fast leave response message times out, the on-demand success can be obtained. That is, when the number of multicast channels currently being forwarded has reached the maximum number of multicast channels allowed to be accessed by the port, the multicast user must wait for the fast leave response timeout to switch to the multicast channel C to join. Such channel switching delay is not satisfactory for multicast users, and even cannot be received.
发明内容 Summary of the invention
本发明实施例一方面提供一种組播业务处理方法及系统, 以減少 IPTV业 务中频道切换的时延, 提高业务质量。  An embodiment of the present invention provides a method and system for processing a multicast service, so as to reduce the delay of channel switching in an IPTV service and improve service quality.
本发明实施例另一方面提供一种接入设备, 以提高接入设备的处理能力, 减少 IPTV业务中频道切换的时延, 提高业务质量。  Another aspect of the present invention provides an access device, which improves the processing capability of the access device, reduces the delay of channel switching in the IPTV service, and improves the service quality.
本发明实施例提供的一种组播业务处理方法, 包括:  A multicast service processing method provided by the embodiment of the present invention includes:
接入设备接收来自终端设备的组播节目请求报文;  The access device receives the multicast program request message from the terminal device;
根据所述组播节目请求报文查询获得节目分级参数;  Obtaining a program grading parameter according to the multicast program request message query;
根据所述节目分级参数生成组播节目数据;  Generating multicast program data according to the program ranking parameter;
将所述組播节目数据传送给所述终端设备。  Transmitting the multicast program data to the terminal device.
该实施例的组播业务处理方法在现有技术的组播节目分级参数中增加了 新的参数, 即組播节目分级优先级信息, 从而对组播节目分级进一步细化, 提 高了业务质量。 T/CN2007/001644 The multicast service processing method of this embodiment adds a new parameter, that is, multicast program grading priority information, in the prior art multicast program grading parameter, thereby further refining the multicast program grading and improving the service quality. T/CN2007/001644
-5- 本发明实施例提供的一种接入设备, 包括: IGMP报文处理单元、 路由器 加入离开报文单元, 还包括:  An access device provided by the embodiment of the present invention includes: an IGMP packet processing unit, a router joining and leaving a message unit, and the following:
组播节目管理单元, 用于设置管理组播节目分级形式与分级优先级,并在 所述 IGMP报文处理单元接收到终端设备的組播节目请求报文后,根据所述分 级形式与分级优先級生成组播节目数据 ,并将所述组播节目数据传送给所述路 由器加入离开报文单元。  a multicast program management unit, configured to set a management multicast program hierarchical format and a hierarchical priority, and after the IGMP packet processing unit receives the multicast program request message of the terminal device, according to the hierarchical form and the hierarchical priority The level generates multicast program data, and transmits the multicast program data to the router to join the leave message unit.
该实施例的接入设备通过设置管理组播节目分级形式与分级优先级,并在 接收到终端设备的组播节目请求报文后,根据所述分级形式与分级优先级生成 组播节目数据, 从而对组播节 ϋ分级进一步细化, 提高了业务质量。  The access device of the embodiment manages the multicast program hierarchical form and the hierarchical priority, and after receiving the multicast program request message of the terminal device, generates the multicast program data according to the hierarchical form and the hierarchical priority. Therefore, the multicast thrift classification is further refined, and the service quality is improved.
本发明实施例提供的一种组播业务处理方法, 包括:  A multicast service processing method provided by the embodiment of the present invention includes:
获得组播节目收视率统计信息;  Obtaining statistics on multicast program ratings;
根据所述收视率统计信息确定组播节目优先级,并将所述优先級配置到所 述接入设备;  Determining a multicast program priority according to the rating statistics information, and configuring the priority to the access device;
接入设备根据所述组播节目优先级对组播节目进行差异化处理。  The access device differentiates the multicast program according to the multicast program priority.
该实施例的组播业务处理方法通过使用收视率统计进行未来收视率预测, 来确定节目的处理优先级, 因而可以对不同节目进行差异化处理,对热门重要 的节目进行优先保证, 保证切换时间、 丟包率等 QoS(Quality of Service, 服务 质量) , 预留带宽并推送到边缘。  The multicast service processing method of this embodiment determines the processing priority of the program by using the audience rating to perform future audience rating prediction, so that different programs can be differentiated, and the most important programs are preferentially guaranteed to ensure the switching time. QoS (Quality of Service), such as packet loss rate, reserved bandwidth and pushed to the edge.
本发明实施例提供的一种接入设备, 包括:  An access device provided by the embodiment of the present invention includes:
IGMP报文处理单元, 用于接收报文, 所述报文包括来自终端设备的组播 节目请求艮文;  An IGMP message processing unit, configured to receive a message, where the message includes a multicast program request message from the terminal device;
路由器加入离开报文单元, 用于将组播节目发送给所述终端设备; 收视率统计单元, 用于获得组播节目收视率统计信息;  The router joins the leave message unit, and is configured to send the multicast program to the terminal device; the audience rating unit is configured to obtain the multicast program rating statistics information;
组播节目优先级确定单元,用于根据所述收视率统计信息确定组播节目优 先级;  a multicast program priority determining unit, configured to determine a multicast program priority according to the audience rating statistics information;
组播节目处理单元,用于根据所述组播节目优先级对所述终端设备倚求的 组播节目进行差异化处理,并将处理后的组播节目传送给所述路由器加入离开 报文单元。 目的处理优先级, 因而可以对不同节目进行差异化处理,对热门重要的节目进 行优先保证, 保证切换时间、 丟包率等 QoS(Quality of Service, 服务质量) , 预留带宽并推送到边缘。 a multicast program processing unit, configured to perform differentiating processing on the multicast program that the terminal device depends on according to the priority of the multicast program, and transmit the processed multicast program to the router to join the leaving message unit . The purpose is to handle the priority, so that different programs can be differentiated, priority is given to the most important programs, and QoS (Quality of Service) such as switching time and packet loss rate is guaranteed, and the bandwidth is reserved and pushed to the edge.
本发明实施例提供的一种组播业务处理系统, 包括:接入设备和策略服务 器, 所述接入设备包括: 组播行为信息获得单元、 发送单元、 组播节目处理单 元; 所述策略服务器包括: 收视率统计单元、 组播节目优先级确定单元、 配置 单元;  The multicast service processing system provided by the embodiment of the present invention includes: an access device and a policy server, where the access device includes: a multicast behavior information obtaining unit, a sending unit, and a multicast program processing unit; The method includes: a rating unit, a multicast program priority determining unit, and a configuration unit;
所述组播行为信息获得单元,用于根据所述接入设备收到的终端设备的组 播节目请求报文获得用户组播行为信息;  The multicast behavior information obtaining unit is configured to obtain user multicast behavior information according to the multicast program request message of the terminal device received by the access device;
所述发送单元, 用于将所述用户组播行为信息发送给所述策略服务器; 所述收视率统计单元,用于根据所述用户组播行为信息获得组播节目收视 率统计信息;  The sending unit is configured to send the user multicast behavior information to the policy server, where the audience rating information unit is configured to obtain multicast program rating statistics information according to the user multicast behavior information;
所述组播节目优先级确定单元,用于根据所述收视率统计信息确定组播节 目优先级;  The multicast program priority determining unit is configured to determine a multicast program priority according to the audience rating statistics information;
所述配置单元, 用于将所述组播节目优先级配置到所述接入设备; 所述组播节目处理单元,用于根据所述组播节目优先级对所述终端设备请 求的组播节目进行差异化处理。  The configuration unit is configured to configure the multicast program priority to the access device, and the multicast program processing unit is configured to: request, according to the priority of the multicast program, the multicast requested by the terminal device The program is differentiated.
利用该实施例的系统可以对不同节目进行差异化处理,对热门重要的节目 进行优先保证, 保证切换时间、丢包率等 QoS(Quality of Service, 服务质量) , 预留带宽并推送到边缘。  With the system of this embodiment, different programs can be differentiated, priority is given to the most important programs, and QoS (Quality of Service) such as switching time and packet loss rate is guaranteed, and the bandwidth is reserved and pushed to the edge.
本发明实施例提供的一种组播业务处理方法, 包括:  A multicast service processing method provided by the embodiment of the present invention includes:
当接收到组播频道加入报文后,判断是否允许当前业务端口加入所述申倩 加入的组播频道;  After receiving the multicast channel join message, determining whether the current service port is allowed to join the multicast channel that the Shen Qian joins;
如果允许, 则转发该申请加入的组播频道;  If allowed, forward the multicast channel to which the application is added;
如果不允许,则在所述业务端口当前正在转发的频道中查询是否存在申请 离开后在特定组查询响应时间超时之前还未接收到响应的组播频道, 如果存 在, 停止转发所述申请离开的一个组播频道, 并转发该申请加入的组播频道, 否则, 拒绝该组播频道的加入。  If not allowed, the channel currently being forwarded by the service port is queried whether there is a multicast channel that has not received a response before the specific group query response time expires after the application leaves, and if yes, stops forwarding the application to leave. A multicast channel, and forwards the multicast channel to which the application is added. Otherwise, the join of the multicast channel is rejected.
该实施例的组播业务处理方法,在受控的单端口多用户接入的情况下, 实 现了在快速响应时间内也能合理有效地控制组播频道的切换,减少了频道切换 的时延, 保证了组播业务的盾量。 The multicast service processing method of this embodiment is implemented under the condition of controlled single port multi-user access. Now, in the fast response time, the multicast channel switching can be controlled reasonably and effectively, the delay of channel switching is reduced, and the shield of the multicast service is guaranteed.
本发明实施例提供的一种接入设备,包括频道离开处理单元和频道加入处 理单元, 其中, '  An access device provided by an embodiment of the present invention includes a channel leaving processing unit and a channel joining processing unit, where
所述频道离开处理单元, 用于在所述接入设备接收到组播频道离开才艮文 后,向接收到所述组播频道的业务端口发送所述申请离开的组播频道特定组查 询报文, 在特定组查询响应时间超时后, 停止申请离开的组播频道的转发, 所述的频道加入处理单元包括: 组播转发单元、第一控制单元和第二控制 单元, 其中,  The channel leaving the processing unit, configured to send, after the access device receives the multicast channel leaving the message, the multicast channel specific group query report that the application leaves the service port that receives the multicast channel After the response timeout of the specific group query timeout expires, the forwarding of the multicast channel that is requested to leave is stopped. The channel joining processing unit includes: a multicast forwarding unit, a first control unit, and a second control unit, where
所述组播转发单元, 用于控制组播频道的转发;  The multicast forwarding unit is configured to control forwarding of a multicast channel;
所述第一控制单元, 用于在所述接入设备接收到组播频道加入报文后, 判 断是否允许当前业务端口加入申请加入的组播频道,如果是,通知所述组播转 发单元转发该申请加入的组播频道, 否则, 交给所述第二控制单元进行处理; 所述第二控制单元,用于在当前正在转发的频道中查询是否存在申请离开 后在特定组查询响应时间超时之前还未接收到响应的组播频道,如果存在,通 知所述組播转发单元停止转发所述申请离开的一个组播频道,并转发该申请加 入的组播频道, 否则, 拒绝该组播频道的加入。  The first control unit is configured to: after the access device receives the multicast channel join message, determine whether the current service port is allowed to join the multicast channel to be joined, and if yes, notify the multicast forwarding unit to forward The multicast channel to which the application is added, otherwise, is sent to the second control unit for processing; the second control unit is configured to query, in the channel currently being forwarded, whether there is a request to leave after a specific group query response time expires a multicast channel that has not received a response before, if yes, notifying the multicast forwarding unit to stop forwarding a multicast channel that the application leaves, and forwarding the multicast channel that the application joins, otherwise, rejecting the multicast channel Join.
该实施例的接入设备,可以在受控的单端口多用户接入的情况下, 实现在 快速响应时间内也能合理有效地控制组播频道的切换, 减少了频道切换的时 延, 保证了组播业务的质量。  The access device of this embodiment can control the switching of the multicast channel reasonably and effectively in the fast response time under the controlled single-port multi-user access, thereby reducing the delay of the channel switching and ensuring The quality of the multicast service.
本发明实施例提供的一种组播业务处理方法, 包括:  A multicast service processing method provided by the embodiment of the present invention includes:
接入设备统计获取用户常用组播频道;  Accessing device statistics to obtain common multicast channels for users;
在所述接入设备的主控板组播转发表内生成所述用户常用组播频道的组 播组;  Generating a multicast group of the common multicast channel of the user in the multicast forwarding table of the main control board of the access device;
所述主控板根据所述组播组,向网络侧请求下发所述用户常用组播频道的 组播流。  The main control board requests the network side to deliver the multicast stream of the common multicast channel of the user according to the multicast group.
该实施例的组播业务处理方法,通过累计统计获取接入设备内用户常用组 播频道,接入设备的主控板组播处理单元主动申请加入该用户常用组播频道的 组播流, 从而减少了组播频道的加入时延, 提高了组播业务处理效率。 本发明实施例提供的一种组播业务处理系统, 包括 IP城域网以及接入网 絡,所述接入网络包括接入设备,所述接入设备包括主控板以及至少一个接口 板, 各接口板与所述主控板相连接, 所述主控板包括主控板组播处理单元、 用 于存储主控板组播转发表的主控板存储单元以及主控板组播复制单元,所述接 口板包括用于存储接口板组播转发表的接口板存储单元、用于将组播流复制到 用户端口的接口板组播复制单元; The multicast service processing method of the embodiment obtains the common multicast channel of the user in the access device by using the cumulative statistics, and the multicast processing unit of the main control board of the access device actively applies to join the multicast stream of the common multicast channel of the user, thereby The join delay of the multicast channel is reduced, and the processing efficiency of the multicast service is improved. A multicast service processing system according to an embodiment of the present invention includes an IP metropolitan area network and an access network, where the access network includes an access device, and the access device includes a main control board and at least one interface board, each of which The interface board is connected to the main control board, and the main control board includes a main control board multicast processing unit, a main control board storage unit for storing the main control board multicast forwarding table, and a main control board multicast copy unit. The interface board includes an interface board storage unit for storing an interface board multicast forwarding table, and an interface board multicast copy unit for copying the multicast stream to the user port;
智能决策设备, 与所述接入设备的主控板组播处理单元相连接, 用于获取 用户常用组播频道。  The intelligent decision device is connected to the main control board multicast processing unit of the access device, and is configured to acquire a common multicast channel of the user.
该实施例的组播业务处理系统,可以通过累计统计获取接入设备内或接入 网络内的用户常用组播频道,由主控板主动向接口板推送用户常用组播频道的 组播流,或者由网络侧主动向常用接入设备推送用户常用組播組,从而减少了 组播频道的加入时延, 提高了组播业务处理效率。  The multicast service processing system of the embodiment can obtain the common multicast channel of the user in the access device or the access network through the cumulative statistics, and the main control board actively pushes the multicast stream of the common multicast channel of the user to the interface board. Or the network side actively pushes the common multicast group of the user to the common access device, thereby reducing the join delay of the multicast channel and improving the processing efficiency of the multicast service.
本发明实施例提供的一种接入设备, 包括主控板以及至少一个接口板, 各接口板与所述主控板相连接, 所述主控板包括主控板组播处理单元、用于存 储主控板组播转发表的主控板存储单元、 以及主控板组播复制单元, 所述接口 板包括用于存储接口板组播转发表的接口板存储单元、用于将組播流复制到用 户端口的接口板组播复制单元, 所述接入设备进一步包括:  An access device provided by the embodiment of the present invention includes a main control board and at least one interface board, and each interface board is connected to the main control board, where the main control board includes a main control board multicast processing unit, and is used for The main control board storage unit of the multicast forwarding table of the main control board and the multicast replication unit of the main control board, where the interface board includes an interface board storage unit for storing the multicast forwarding table of the interface board, and is used for the multicast stream. The interface board multicast replication unit is copied to the user port, and the access device further includes:
智能决策设备, 与所述主控板组播处理单元相连接,用于根据所述主控板 组播处理单元记录的组播组信息获取用户常用组播频道,并指示所述的主控板 组播处理单元获取所述用户常用组播频道的组播流。  The smart decision device is connected to the main control board multicast processing unit, and is configured to obtain a common multicast channel of the user according to the multicast group information recorded by the multicast processing unit of the main control board, and instruct the main control board The multicast processing unit acquires the multicast stream of the common multicast channel of the user.
该实施例的接入设备,可以通过其主控板组播处理单元主动申请加入用户 常用组播频道的组播流,从而减少了组播频道的加入时延,提高了组播业务处 理效率。  The access device of the embodiment can actively join the multicast stream of the common multicast channel of the user through the multicast processing unit of the main control board, thereby reducing the join delay of the multicast channel and improving the efficiency of the multicast service processing.
附图说明 DRAWINGS
图 1是现有技术的组播系统结构示意图;  1 is a schematic structural diagram of a prior art multicast system;
图 2是现有技术中利用 IGMP协议实现组播业务的系统组网图; 图 3是本发明的组播业务处理方法第一实施例的流程图;  2 is a network diagram of a system for implementing a multicast service by using the IGMP protocol in the prior art; FIG. 3 is a flowchart of a first embodiment of a method for processing a multicast service according to the present invention;
图 4是本发明的接入设备笫一实施例的原理框图;  4 is a schematic block diagram of an embodiment of an access device according to the present invention;
图 5是本发明的组播业务处理方法第二实施例的流程图; 图 6是本发明的接入设备第二实施例的原理框图; 5 is a flowchart of a second embodiment of a multicast service processing method according to the present invention; 6 is a schematic block diagram of a second embodiment of an access device of the present invention;
图 7是本发明的组播业务处理系统第一实施例的组网示意图;  7 is a schematic diagram of networking of a first embodiment of a multicast service processing system according to the present invention;
图 8是本发明的组播业务处理方法第三实施例的流程图;  8 is a flowchart of a third embodiment of a multicast service processing method according to the present invention;
图 9是本发明实施例的 IPTV业务组网图;  FIG. 9 is a network diagram of an IPTV service according to an embodiment of the present invention;
图 10是图 9所示本发明实施例中组播离开处理流程图;  10 is a flowchart of multicast leaving processing in the embodiment of the present invention shown in FIG. 9;
图 11是图 9所示本发明组实施例中组播加入处理流程图;  11 is a flowchart of multicast joining processing in the embodiment of the present invention shown in FIG. 9;
图 12是本发明的接入设备第三实施例的结构示意图;  12 is a schematic structural diagram of a third embodiment of an access device according to the present invention;
图 13是本发明的组播业务处理方法第四实施例的流程图;  13 is a flowchart of a fourth embodiment of a multicast service processing method according to the present invention;
图 14是本发明的组播业务处理方法第五实施例的流程图;  14 is a flowchart of a fifth embodiment of a multicast service processing method according to the present invention;
图 15是本发明的接入设备第四实施例的结构示意图;  15 is a schematic structural diagram of a fourth embodiment of an access device according to the present invention;
图 16是本发明的接入设备第五实施例的结构示意图;  16 is a schematic structural diagram of a fifth embodiment of an access device according to the present invention;
图 17是本发明的组播业务处理系统第二实施例的组网示意图;  17 is a schematic diagram of networking of a second embodiment of a multicast service processing system according to the present invention;
图 18是本发明的组播业务处理系统第三实施例的组网示意图。  FIG. 18 is a schematic diagram of networking of a third embodiment of a multicast service processing system according to the present invention.
具体实施方式 detailed description
下面结合附图对本发明的实施例作进一步详细的说明。  The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
参照图 3 , 图 3示出了本发明组播业务处理方法第一实施例的流程, 包括 以下步骤:  Referring to FIG. 3, FIG. 3 shows a flow of a first embodiment of a multicast service processing method according to the present invention, which includes the following steps:
步骤 301 , 接入设备接收来自终端设备的组播节目请求报文。  Step 301: The access device receives a multicast program request message from the terminal device.
步骤 302, 根据所述组播节目请求报文查询获得节目分级参数。  Step 302: Acquire a program grading parameter according to the multicast program request message query.
该组播节目分级参数在现有技术的分级参数基础上增加了新的参数,即组 播节目分级优先级信息, 以在现有分级基础上对组播节目进一步细化。该参数 中还可以包括: 组播组 IP地址、 和 /或組播源 IP地址、 和 /或组播节目名称、 和 /或组播节目优先级、 和 /或组播节目 VLAN、 和 /或发送组播节目到上行路由 器的端口信息。 其中分級优先级由节目带宽、和 /或节目提供商、和 /或节目种 类等信息。  The multicast program grading parameter adds a new parameter based on the prior art grading parameters, that is, the multicast program grading priority information, to further refine the multicast program on the basis of the existing grading. The parameter may also include: a multicast group IP address, and/or a multicast source IP address, and/or a multicast program name, and/or a multicast program priority, and/or a multicast program VLAN, and/or Port information for sending multicast programs to the upstream router. The rating priority is information such as program bandwidth, and/or program provider, and/or program type.
步驟 303, 根据所述节目分级参数生成组播节目数据。  Step 303: Generate multicast program data according to the program ranking parameter.
步驟 304, 向所述终端设备传送组播节目数据。  Step 304: Transfer multicast program data to the terminal device.
可以按照预先设置的控制策略向所述终端设备传送组播节目数据,所述控 制策略可以根据组播节目数据的分级优先级及分级形式来设置。分级形式为组 播节目分级的表现形式, 比如当使用数字时, 节目 A的级别为 1、 节目 B的 节目为 2等; 当使用字符: 节目 A的级别为 AAA级, 节目 B的级别为 AAAA 级等; 当使用字符与数字组合时, 节目 A的级别 X.1 , 节目 B的级别为 X.2 等。分级优先级是組播节目分级后形成的优先级,例如根据分級的形式确定的 分级数据进行排序,可以依据数字的数值递增或递减进行排序、也可以选择字 符串按字符顺序进行排序、 还可以按字符串形成一定格式的排列进行排序等。 The multicast program data may be transmitted to the terminal device according to a preset control policy, and the control policy may be set according to a hierarchical priority and a hierarchical form of the multicast program data. Hierarchical form The expression of the program rating, such as when using numbers, the level of program A is 1, the program of program B is 2, etc.; when using characters: the level of program A is AAA, the level of program B is AAAA, etc.; When character and number are combined, the level of program A is X.1, and the level of program B is X.2. The hierarchical priority is a priority formed by the hierarchical classification of the multicast program. For example, the hierarchical data determined according to the hierarchical form is sorted, and the numerical value may be incremented or decremented according to the numerical value, or the character string may be sorted in the order of characters. Sort by string to form a certain format, etc.
可以选择如下控制策略: 组播节目分级优先级低的优先下线; 组播节目分 级优先级高的优先下线; 组播节目分级优先级高于一个阈值(取决于分级优先 级与分级依据) , 终端设备的最大同时在线节目个数为一个特定值, 如 1; 组 播节目分级优先级低于一个阈值(取决于分级优先级与分级依据 ) , 终端设备 的最大同时在线节目个数为一个特定值, 如 3。  The following control strategies can be selected: the priority of the multicast program with a lower priority; the priority of the multicast program with a higher priority; the priority of the multicast program is higher than a threshold (depending on the hierarchical priority and the classification basis) The maximum number of simultaneous online programs of the terminal device is a specific value, such as 1; the priority of the multicast program is lower than a threshold (depending on the hierarchical priority and the classification basis), and the maximum number of simultaneous online programs of the terminal device is one. A specific value, such as 3.
上述控制策略可以很多,可以基于系统生效,也可以基于組播终端设备生 效,或者某些控制策略基于系统生效, 同时另外一些控制策略基于终端设备端 口; 当多个控制策略生效时,其生效顺序可以选择为基于系统的优先于基于终 端设备端口的, 也可以选择为基于终端设备端口的优先于基于系统的。  The above control policies can be many, based on the system in effect, or based on the multicast terminal device, or some control policies are based on the system, while other control policies are based on the terminal device port; when multiple control policies take effect, the effective sequence It can be chosen to be system-based over terminal-based device-based, or it can be selected as terminal-based port-based over system-based.
例如设置控制策略为组播节目分级优先级高于 10,其中,分级依据为組播 带宽, 分级优先级为数值, 终端设备的最大同时在线节目个数为 1 , 且该控制 策略是基于系统的, 即所有终端设备的点播只要满足都是同样处理。 当终端设 备需要点播的組播节目分级优先级为 15,其它已经在线的组播节目分级优先级 都小于 15, 则收到终端设备的点播报文(IGMP report报文)后, 先把其它终 端设备已经在线的组播节目下线,然后把点播请求的频道设置为正常转发。 另 外, 上述控制策略都是在终端设备上线时进行控制。  For example, the control policy sets the priority of the multicast program to be higher than 10, wherein the grading is based on the multicast bandwidth, the grading priority is a value, and the maximum number of simultaneous online programs of the terminal device is 1, and the control strategy is based on the system. That is, the on-demand of all terminal devices is handled as long as they are satisfied. When the priority of the multicast program that the terminal device needs to order is 15 and the priority of other online multicast programs is less than 15, after receiving the on-demand message (IGMP report message) of the terminal device, the other terminal is first used. The multicast program that the device has already online is offline, and then the channel of the on-demand request is set to be normally forwarded. In addition, the above control strategies are all controlled when the terminal device is online.
生成一个组播节目分级为 aaa的組播节目的具体实例, 配置命令如下: program add group-ip 228.1.1.1 source-ip 1.1.1.1 name phenix-tv priority 5 vlan 120 bind-port 8 grade aaa; 其中, group-i source-i ^ name、 priority、 vlan、 bind-port和 grade表示配置组播节目的参数, 其后紧接着参数数值, 该命令的 含义是增加一个组播组 IP地址为 228.1.1.1 , 组播源 IP地址为 1.1.1.1 , 組播节 目名称为 phenix-tv, 组播优先级为 5, 组播节目 vlan为 120, 绑定的上行口为 To generate a specific instance of a multicast program whose multicast program is classified into aaa, the configuration command is as follows: program add group-ip 228.1.1.1 source-ip 1.1.1.1 name phenix-tv priority 5 vlan 120 bind-port 8 grade aaa; , group-i source-i ^ name, priority, vlan, bind-port, and grade indicate the parameters for configuring the multicast program, followed by the parameter value. The meaning of the command is to add a multicast group IP address to 228.1.1.1. The multicast source IP address is 1.1.1.1, the multicast program name is phenix-tv, the multicast priority is 5, and the multicast program vlan is 120. The bound uplink port is
8, 组播节目分级为 aaa的节目。 在上述步骤 301和步骤 302之间, 即在终端设备点播组播节目时, 可以先 根据终端设备的权限对其进行鉴权,判断终端设备所要点播节目的合法性。 当 鉴权通过后再进行组播带宽 CAC( Connection Access Control,连接接入控制), 然后根据点播的组播节目分级。 8, the multicast program is graded as aaa. Between the foregoing steps 301 and 302, that is, when the terminal device orders the multicast program, it may first authenticate the terminal device according to the authority of the terminal device, and determine the legitimacy of the program broadcasted by the terminal device. After the authentication is passed, the multicast bandwidth CAC (Connection Access Control) is performed, and then the multicast program is classified according to the on-demand.
该实施例的组播业务处理方法在现有技术的组播节目分级参数中增加了 新的参数, 即组播节目分级优先级信息, 从而对组播节目分级进一步细化, 提 高了业务质量。使运营商可以根据组播节目分级控制终端设备优先点播某些组 播节目; 运营商可以根据节目提供商提供差异化服务, 以提高竟争力。 进一步 地,本发明实施例通过高低带宽的节目进行分级, 实现终端设备点播的节目为 高带宽时只能点播一个, 而低带宽的节目可以点播多个,这样终端设备带宽可 以最有效的使用,从而实现终端设备点播节目的最佳体验,进而规避组播带宽 CAC时限制的组播可以同时点播的个数限制。  The multicast service processing method of this embodiment adds a new parameter, that is, multicast program grading priority information, in the prior art multicast program grading parameter, thereby further refining the multicast program grading and improving the service quality. The operator can control the terminal device to preferentially order certain multicast programs according to the multicast program hierarchy; the operator can provide differentiated services according to the program provider to improve the competitiveness. Further, in the embodiment of the present invention, the program of the high-low bandwidth is used for grading, and the program that is requested by the terminal device can only be on-demand when the program is on-demand, and the low-bandwidth program can be on-demand, so that the bandwidth of the terminal device can be used most effectively. Therefore, the best experience of the on-demand program of the terminal device is realized, thereby circumventing the limitation of the number of multicasts that can be simultaneously limited when the multicast bandwidth CAC is limited.
参照图 4, 图 4是本发明接入设备第一实施例的原理框图。  Referring to FIG. 4, FIG. 4 is a schematic block diagram of a first embodiment of an access device according to the present invention.
该接入设备 400包括: 路由器加入离开报文单元 401、 IGMP报文处理单元 403和组播节目管理单元 404。 其中, 组播节目管理单元 404用于设置管理组播 节目分级形式与分级优先级,并根据所述分级形式与分级优先级生成組播节目 数据; IGMP报文处理单元 403用于接收报文, 包括终端设备发送的组播节目请 求报文; 路由器加入离开报文单元 401用于组播节目数据的转发, 即将組播节 目数据注入接入设备, 即将组播节目数据发送给接入设备。  The access device 400 includes: a router joining and leaving message unit 401, an IGMP message processing unit 403, and a multicast program management unit 404. The multicast program management unit 404 is configured to set a management multicast program hierarchical format and a hierarchical priority, and generate multicast program data according to the hierarchical form and the hierarchical priority. The IGMP packet processing unit 403 is configured to receive the packet. The multicast program request message sent by the terminal device is included; the router join and leave message unit 401 is used for forwarding the multicast program data, that is, the multicast program data is injected into the access device, and the multicast program data is sent to the access device.
除此之外, 接入设备 400还可以包括: 终端设备识别 /鉴权、 频道状态管理 单元 402, 用于对终端设备进行合法性检查, 并根据终端设备点播的组播节目 的分级优先级确定频道转发的控制策略。所述控制策略包括组播节目分级优先 级低的优先下线、组播节目分级优先级高的优先上线、根据组播节目分级优先 级高低设置终端设备的最大同时在线节目个数。  In addition, the access device 400 may further include: a terminal device identification/authentication, a channel state management unit 402, configured to perform a validity check on the terminal device, and determine according to a hierarchical priority of the multicast program requested by the terminal device. Channel forwarding control strategy. The control policy includes a priority offline with a low priority of the multicast program, a priority uplink with a high priority of the multicast program, and a maximum number of simultaneous online programs of the terminal device according to the hierarchical priority of the multicast program.
当然, 本发明实施例的接入设备并不仅限于上述这种结构方式,基于该原 理, 还可以有其它实现方式, 比如, 将终端设备识别 /鉴权、 频道状态管理单 元 402分成两个各自独立的单元: 鉴权单元、 频道状态管理单元。  Certainly, the access device in the embodiment of the present invention is not limited to the foregoing configuration manner. According to the principle, other implementation manners may be further provided. For example, the terminal device identification/authentication and the channel state management unit 402 are respectively separated into two independent manners. Unit: Authentication unit, channel status management unit.
该接入设备 400对组播业务的处理过程与前面图 3所示本发明实施例的组 播业务处理方法中的描述类似, 在此不再赘述。 N2007/001644 The processing of the multicast service in the access device 400 is similar to the description in the multicast service processing method in the embodiment of the present invention shown in FIG. 3, and details are not described herein again. N2007/001644
- 12- 可见, 该实施例的接入设备通过设置管理组播节目分级形式与分级优先 級, 并在接收到终端设备的组播节目请求报文后,根据所述分级形式与分级优 先级生成組播节目数据, 从而对组播节目分级进一步细化, 提高了业务质量。  - 12 - It can be seen that the access device of the embodiment manages the multicast program hierarchical form and the hierarchical priority, and after receiving the multicast program request message of the terminal device, generates according to the hierarchical form and the hierarchical priority. The multicast program data is used to further refine the multicast program and improve the quality of the service.
参照图 5, 图 5示出了本发明组播业务处理方法第二实施例的流程, 包括 以下步骤:  Referring to FIG. 5, FIG. 5 shows a flow of a second embodiment of a multicast service processing method according to the present invention, which includes the following steps:
步骤 501 , 接入设备接收来自终端设备的组播节目请求报文。  Step 501: The access device receives a multicast program request message from the terminal device.
步骤 502, 才艮据所述组播节目请求 4艮文获得用户组播行为信息。  Step 502: Obtain user multicast behavior information according to the multicast program request.
所述组播节目请求报文包括观看节目请求报文和离开节目请求报文;所述 用户组播行为信息包括: 用户加入时间、 用户离开时间、 用户编号、 观看节目 编号等。  The multicast program request message includes a watch program request message and an exit program request message; the user multicast behavior information includes: a user join time, a user departure time, a user number, a watch program number, and the like.
接入设备接收终端设备发送的包含了节目请求信息的组播节目请求报 文,接入设备记录所述节目请求信息。根据所述节目请求信息确定用户组播行 为信息。  The access device receives the multicast program request message that is sent by the terminal device and includes the program request information, and the access device records the program request information. User multicast behavior information is determined based on the program request information.
步骤 503, 接入设备向策略服务器发送用户组播行为信息文件, 该信息文 件包括文件头和多条用户行为信息的记录。其中,文件头包括:开始统计时间、 结束统计时间和用户设备编号; 所述用户组播行为信息包括: 用户加入时间、 用户离开时间, 用户编号、 观看节目编号。  Step 503: The access device sends a user multicast behavior information file to the policy server, where the information file includes a file header and a record of multiple pieces of user behavior information. The file header includes: a start statistics time, an end statistics time, and a user equipment number. The user multicast behavior information includes: a user join time, a user departure time, a user number, and a watch program number.
步骤 504, 策略服务器根据所述用户组播行为信息获得节目收视率统计信 息。 具体包括: 策略服务器取一条记录, 判断该记录的时间范围, 是否包含采 样时间点; 如果有, 则确定该节目类型, 并将观看该节目的用户数加 1; 判断 该记录是否为最后一条记录,如果是,则取观看该节目的用户数与全部设备数 的比值, 否则继续取下一条记录。  Step 504: The policy server obtains program rating statistics information according to the user multicast behavior information. Specifically, the method includes: taking a record by the policy server, determining whether the time range of the record includes a sampling time point; if yes, determining the program type, and adding 1 to the number of users watching the program; determining whether the record is the last record If yes, take the ratio of the number of users watching the program to the total number of devices, otherwise continue to take a record.
步骤 505 , 策略服务器根据所述收视率统计信息确定节目优先级, 并将所 述优先级配置到接入设备。 比如, 对统计信息进行高次曲线拟合法、 或权重算 术平均或最小方根等处理, 确定节目优先级。 其中, 将优先级配置到接入设备 的过程可以是周期性配置或实时配置。所述周期性配置具体为: 一次配置多个 时间段的节目优先级给接入设备,接入设备启动定时器, 定时根据所述优先级 信息刷新接入设备当前的优先级配置; 所述实时配置具体为: 实时发送当前需 要的节目优先级给指定接入设备,所述接入设备根据该优先级信息更新其存储 的优先级配置。 Step 505: The policy server determines a program priority according to the audience rating statistics information, and configures the priority to the access device. For example, the statistical information is subjected to a high-order curve fitting method, or a weighted arithmetic average or a minimum square root to determine the program priority. The process of configuring the priority to the access device may be a periodic configuration or a real-time configuration. The periodic configuration is specifically configured to: configure a program priority of the multiple time segments to the access device at one time, and the access device starts a timer, and periodically refreshes the current priority configuration of the access device according to the priority information; The configuration is as follows: Real-time sending current needs The desired program priority is given to the designated access device, and the access device updates its stored priority configuration according to the priority information.
步骤 506, 接入设备根据所述节目优先级对节目进行差异化处理。 比如, 为节目预留带宽、 和 /或节目静态转发到接入层设备、 和 /或按照 802. lp信息保 证节目质量、 和 /或为节目预留组播资源、 和 /或并发时优先发送 IGMP协议。 所述为节目预留带宽具体包括:判断各点上已分配带宽与待分配带宽之和是否 小于最大组播带宽, 如果小于, 则正常处理; 否则, 判断该节目优先级是否在 阐值以上, 如果是, 则利用已分配带宽传输该节目, 否则, 拒绝传输该组播节 目。 静态转发到接入设备具体包括: 将优先级在阈值以上的节目复制到线卡; 线卡创建该节目組播表项; 将用户端口加入该组播表项。 按照 802.1p信息保 证节目质量具体包括: 用优先级的高低顺序标记节目的 802.1p高低顺序, 使 用硬件組播表或访问控制列表 ACL将组播节目 艮文进行 802. lp标记。  Step 506: The access device performs a differentiated process on the program according to the program priority. For example, reserve bandwidth for the program, and/or program statically forward to the access layer device, and/or guarantee program quality according to 802. lp information, and/or reserve multicast resources for the program, and/or send priority when concurrent IGMP protocol. The determining the bandwidth for the program includes: determining whether the sum of the allocated bandwidth and the to-be-allocated bandwidth at each point is less than the maximum multicast bandwidth, and if not, normal processing; otherwise, determining whether the program priority is above the value of the interpretation, If so, the program is transmitted using the allocated bandwidth, otherwise the multicast program is refused to be transmitted. The static forwarding to the access device specifically includes: copying the program whose priority is above the threshold to the line card; the line card creating the program multicast entry; adding the user port to the multicast entry. According to the 802.1p information, the quality of the program is specifically as follows: The order of the 802.1p of the program is marked in the order of priority, and the multicast program or the access control list ACL is used to perform 802. lp marking on the multicast program.
在上述实施例中,描述了策略服务器根据接入设备发送的用户组播行为信 息获得节目收视率统计信息,本发明实施例并不限于这种方式,还可以根据其 它方式获得节目收视率统计信息。 而且, 节目收视率的统计工作也可以由接入 i殳备来独立完成。  In the foregoing embodiment, the policy server obtains the program rating statistics information according to the user multicast behavior information sent by the access device, and the embodiment of the present invention is not limited to this manner, and the program rating statistics information may also be obtained according to other manners. . Moreover, the statistical work of program ratings can also be done independently by the access device.
下面结合具体实例对本发明实施例的组播业务处理方法进行详细描述。 节目可以分为多个优先级, 典型分为 4类, 针对每一种优先级的节目,接 入设备采用不同的处理动作,每种处理动作都可以使能或者禁止使能,典型的 动作如表 1所示:  The multicast service processing method in the embodiment of the present invention is described in detail below with reference to specific examples. The program can be divided into multiple priorities, which are typically divided into four categories. For each priority program, the access device uses different processing actions, and each processing action can be enabled or disabled. Typical actions are as follows. Table 1 shows:
表 1: Table 1:
名 调度队 是否预 是否静态转发 是否预留 并发时是否优 称 列 留带宽 到边缘节点 组播资源 先处理 IGMPName Dispatch team Pre-requisite Whether to forward or not Reserve whether to reserve the bandwidth when concurrency. Leave the bandwidth to the edge node. Multicast resources.
4 高优先 是 是 6 是 是 4 High priority Yes Yes 6 Yes Yes
 Level
3 次高优 否 否 5 否 否  3 times high excellent no no 5 no no
先级  Pre-level
2 正常优 否 否 4 否 否  2 Normal Excellent No No 4 No No
先级  Pre-level
1 低优先 否 否 3 否 否  1 low priority no no 3 no no
 Level
表 1中调度队列表示高优先级节目进入高的调度队列,保证可以优先发送 到信道上, 当出口拥塞时, 高优先级节目依然可以保证优先发出, 不会丟包。  The scheduling queue in Table 1 indicates that the high-priority program enters the high scheduling queue, ensuring that it can be sent to the channel preferentially. When the egress is congested, the high-priority program can still be preferentially sent out without packet loss.
 ∞
设备内部的 3层转发表形式是{入端口、 入 VLAN、 组播组 IP、 組播源 IP、 出 口 vlan + port列表、 出口队列、 802.1p}, 可以在组播转发表中指定节目的出口 队列为高优先级队列, 硬件复制组播节目时会将复制的报文插入高优先級队 列, 向外发送报文时高优先级队列的报文将会优先发送。 The Layer 3 forwarding table in the device format is {in port, inbound VLAN, multicast group IP, multicast source IP, egress vlan + port list, egress queue, 802.1p}. You can specify the program exit in the multicast forwarding table. The queue is a high-priority queue. When the hardware copies a multicast program, the copied packets are inserted into the high-priority queue. When the packets are sent out, the packets of the high-priority queue are sent preferentially.
是否预留带宽表示: 在设备内部和网络可以为高优先级节目预留带宽,保 证其它业务和低优先级节目无法抢占高优先级的带宽。 设备做组播 CAC时, 上行口、 线路板、用户端口上都会限制最大的組播带宽, 每个节目的带宽可以 统计或者配置得到。 当新的组播节目请求增加时,要判断各个点上已分配组播 带宽加待分配节目带宽是否小于最大组播带宽,如果不满足, 则不允许加入新 的组播节目, 对于高优先级节目, 可以预留带宽。  Whether to reserve bandwidth means: The bandwidth can be reserved for high-priority programs within the device and the network, ensuring that other services and low-priority programs cannot preempt high-priority bandwidth. When a device performs multicast CAC, the maximum multicast bandwidth is limited on the uplink port, circuit board, and user port. The bandwidth of each program can be counted or configured. When a new multicast program request is added, it is determined whether the allocated multicast bandwidth and the bandwidth of the allocated program at each point are smaller than the maximum multicast bandwidth. If not, the new multicast program is not allowed to be added, for high priority. Programs can reserve bandwidth.
是否静态转发到边缘节点(即接入设备 )表示: 高优先级节目在没有用户 点播时静态的拉到最边缘的节点, 保证只需要经过一次复制就可以到达用户, 保证加入高优先级节目尽量快。 接入设备为了提高性能, 往往存在两级复制, 一级复制在线卡, 一级复制在网板, 网板上 3 层组播表形式为{入端口、 入 VLAN、 组播组 IP、 组播源 IP、 组播 vlan +线卡列表、 出口队列、 802.1p}, 对于高优先级节目可以将所有线卡固定加入这个节目,及时没有用户观看, 高 优先级节目也会一直复制到每个线卡。用户一旦点播这个节目,只需要线卡创 建该节目组播表项并将用户端口加入线卡的組播表即可。 高优先级节目标记为高的 802.1P, 指示下层的设备可以依据 802.1p信息 保证高优先级节目的质量,可以使用硬件组播表或者 ACL( Access Control List, 接入控制列表)将组播节目报文的 802.1p进行标记。 Whether it is statically forwarded to the edge node (that is, the access device) means: The high-priority program is statically pulled to the edge of the node when there is no user on-demand, ensuring that only one copy can be reached to the user, ensuring to join the high-priority program as much as possible. fast. In order to improve performance, access devices often have two-level replication, one-level replication of online cards, and one-level replication on the stencil. The three-layer multicast table format on the stencil is {in port, in-VLAN, multicast group IP, multicast. Source IP, multicast vlan + line card list, egress queue, 802.1p}, for high-priority programs, all line cards can be fixed to this program, no user watch in time, high-priority programs will be copied to each line. card. Once the user orders the program, only the line card needs to create the program multicast entry and add the user port to the multicast table of the line card. The high-priority program is marked as high 802.1P, indicating that the lower-layer device can guarantee the quality of the high-priority program according to the 802.1p information, and can use the hardware multicast table or the ACL (Access Control List) to multicast the program. The 802.1p of the message is marked.
是否预留組播资源表示: 一个组播节目需要使用一些组播资源, 比如设备 内部组播表项, 组播 VLAN, 例如, 源 IP映射为組播 VLAN用来支持 SSM 等,对于高优先级节目可以设置预留组播资源, 防止低优先级节目占据后导致 高优先级节目无资源可用。 线卡上 2 级組播表形式为 {组播 VLAN、 组播组 MAC或者 IP、 出口 pvc或者端口列表 },对于高优先级节目可以固定创建组播 表项, 可以固定占用組播 VLAN, 首先点播时就不需要再去申请资源。  Whether to reserve multicast resources: A multicast program needs to use some multicast resources, such as internal multicast entries of the device, and multicast VLANs. For example, the source IP address is mapped to the multicast VLAN to support SSM. For high priority. The program can set reserved multicast resources to prevent low-priority programs from occupying, resulting in high-priority programs without resources available. The level 2 multicast table on the line card is in the form of {multicast VLAN, multicast group MAC or IP, egress pvc, or port list}. For high-priority programs, multicast entries can be created in a fixed manner. You don't need to apply for resources when you order it.
为了保证接入设备及时处理 IGMP协议消息,可以采用并发方式,原理是 所有 IGMP报文先进入緩存队列进行緩存, 多个并发处理进程从队列头取 IGMP报文进行处理。 为了保证高优先级节目预先处理, 可以在入緩存队列时 进行判断,如果是高优先级节目的请求 IGMP报文, 则优先插入緩存队列的头 部, 这样可以保证优先得到处理。  To ensure that the access device processes IGMP messages in a timely manner, you can use the concurrency mode. The principle is that all IGMP messages are cached in the cache queue. In order to ensure that the high-priority program is pre-processed, it can be judged when the queue is queued. If the IGMP message is requested by the high-priority program, the header of the cache queue is preferentially inserted.
另外, 为了适应不同运营要求, 每种优先级的处理动作可以进行配置。 对于接入设备来说, 节目的优先级可以从配置界面上进行配置,可以来自 于命令行、 网管, 也可以来自于策略服务器。 实际上, 节目的优先级并不是一 成不变的, 和时间以及区域相关, 比如: 白天的时候, 购物、 烹饪、 综艺等频 道较受欢迎,世界杯期间可能足球频道会非常热门;学生宿舍区域的电子游戏、 体育频道较受欢迎, 高尚社区的财经、 地理、 旅游等频道看得人较多。 如果能 够自动、准确地预测到某个区域某个时间段的节目优先級, 并自动地配置到城 域网的承载设备上, 则会大大提高设备的自适应性和 IPTV业务性能。  In addition, in order to adapt to different operational requirements, each priority processing action can be configured. For an access device, the priority of the program can be configured from the configuration interface, either from the command line, the network management, or from the policy server. In fact, the priority of the program is not static, related to time and region, such as: During the day, shopping, cooking, variety and other channels are more popular, football channels may be very popular during the World Cup; video games in the student dormitory area Sports channels are more popular, and the financial, geographic, and tourism channels of the noble community are more popular. If the program priority of a certain period of time in a certain area can be automatically and accurately predicted and automatically configured on the bearer device of the metropolitan area network, the adaptability of the device and the performance of the IPTV service are greatly improved.
接入设备是最贴近用户的组播复制点,在接入设备上可以采集用户的组播 行为信息, 这些信息包括 {用户编号、 观看节目编号、 开始观看时间、 结束观 看时间 } , 因为接入设备需要处理用户发送的 IGMP协议报文, 所以用户每次 的观看请求和离开请求,设备都会感知并记录下来。接入设备会定期将这些信 息组织成文件 ,比如 2个小时生成一个本地文件,里面增加上开始统计的时间、 结束统计的时间、 设备编号, 然后通过传输协议发送给策略服务器。 策略服务器打开文件进行这个统计时间段内该接入设备的收视率统计。收 视统计表举例如表 2所示: The access device is the multicast replication point closest to the user. The access device can collect the user's multicast behavior information, including the {user number, watch program number, start viewing time, end viewing time}, because access The device needs to process the IGMP protocol packets sent by the user, so the device will perceive and record the user's request and leave request each time. The access device periodically organizes the information into files, such as generating a local file for 2 hours, adding the time to start statistics, ending the statistics, and the device number, and then sending it to the policy server through the transport protocol. The policy server opens the file to perform the statistics of the access device of the access device during the statistical period. The viewing statistics are shown in Table 2:
表 2  Table 2
Figure imgf000018_0001
Figure imgf000018_0001
累计足够的收视率统计记录后,可以进行未来的收视率预测。收视率预测 首先要选取统计样本, 比较合理的方法是按天为单位进行样本选取,认为前些 天的某个时间段对未来的某天的同样时间段具有预测意义。这样可以在每天预 测到第二天的收视率。注意区分工作日和节 4艮日,要预测工作日则选取工作曰 统计做统计样本,要预测节假曰则选取节假日统计作为统计样本。预测方法可 以有多种, 包括: 高次曲线拟合法、 权重算术平均、 最小方根等。  After accumulating enough ratings statistics, you can make future ratings forecasts. The audience rating forecast is to first select the statistical sample. The more reasonable method is to select the sample on a daily basis. It is considered that a certain time period of the previous day has a predictive significance for the same time period of the future day. This allows you to predict the ratings for the next day on a daily basis. Note that the working day and the section are divided into 4 days. To predict the working day, select the work 曰 statistics to make statistical samples. To predict the holiday, select the holiday statistics as the statistical sample. There are many prediction methods, including: high-order curve fitting method, weighted arithmetic average, minimum square root, and so on.
下面使用权重算术平均进行举例, 有如下一些环境参数: 今天是星期 4, 要预测明天(周 5 )下午 2点节目 A的收视率使用 Ί个收视率统计记录作为预 测样本 分別是本周 3下午 2点, 本周 2下午 2点, 本周 1下午 2点, 上周 5 下午 2点, 上周 4下午 2点, 上周 3下午 2点, 上周 2下午 2点, 权重分别是 60,20,10,5,2,2,1 c则带权重的算术平均值为:(本周 3下午 2点收视率) x 60%+ (本周 2下午 2点收视率) X 20%+ (本周 1下午 2点收视率) X 10%+ (上周 5下午 2点收视率) X 5%+ (上周 4下午 2点收视率) X 2%+ (上周 3下午 2 点收视率) X 2%+ (上周 2下午 2点收视率) X 1%。  The following is an example of weighted arithmetic averaging. There are some environmental parameters as follows: Today is week 4, to predict tomorrow (week 5), 2:00 pm, program A's ratings use one of the ratings statistics as the forecast samples are 3 pm this week. 2 o'clock, 2 pm this week, 2 pm this week, 2 pm last week, 2 pm last week, 2 pm last week, 2 pm last week, 2 pm last week, the weight is 60, The arithmetic mean of 20, 10, 5, 2, 2, 1 c with weights is: (3 PM at 3 pm this week) x 60%+ (2 PM at 2 pm this week) X 20%+ ( This week's 1 pm ratings) X 10%+ (5 pm at 5 pm last week) X 5%+ (4 pm at 4 pm last week) X 2%+ (3 pm at 3 pm last week) ) X 2%+ (2 PM at 2 pm last week) X 1%.
有了接入设备的收视率预测后,就可以根据收视率预测确定在该接入设备 上节目的优先级。首先要确定节目优先级刷新的周期, 由于节目的优先级频繁 修改会造成承载网设备非常繁忙,所以不能太短, 为了保证节目优先级可以比 较实时地反映, 也不能太长, 2小时是比较合适的时间。 这个周期在策略服务 器上是可以设置的。 收视率预测周期一般来说会比节目优先级刷新周期要小, 采用算术平均的方法统计出刷新周期内某个节目的平均收视率预测,然后才艮据 收视率预测确定出优先级, 举例说明: With the rating prediction of the access device, the priority of the program on the access device can be determined based on the rating prediction. First, it is necessary to determine the period of program priority refresh. Since the priority of the program is frequently modified, the bearer network device is very busy, so it cannot be too short. In order to ensure that the program priority can be reflected in real time, it can not be too long. 2 hours is comparison. appropriate time. This period is configurable on the Policy Server. The audience rating prediction period is generally smaller than the program priority refresh period. The arithmetic average method is used to calculate the average audience rating prediction of a program during the refresh period. The rating forecast determines the priority, for example:
要确定周 5下午 2点到 4点的节目优先级, 假设收视率预测周期是 15分 钟, 则可以将 2点到 4点之间的该节目的收视率预测进行平均, 得到 2点到 4 点该节目平均的收视率预测。按照下面的判断规则确定这个时间段内该节目的 优先级: 收视率 >20 %为最高优先级; 10%-20 %之间为次高优先级; 2%-10% 为普通优先级; <2%为低优先级。  To determine the priority of the program from 2 pm to 4 pm on week 5, assuming that the rating prediction period is 15 minutes, the audience rating prediction of the program between 2 and 4 points can be averaged to obtain 2 to 4 points. The average rating of the show is predicted. The priority of the program during this time period is determined according to the following judgment rules: the audience rating > 20% is the highest priority; the 10%-20% is the second highest priority; 2%-10% is the normal priority; 2% is low priority.
当然,这些规则在策略服务器上是可以进行定制修改的。 策略服务器也支 持人工干预修改某接入设备某时间段的节目优先级,比如明天要在某个冷门频 道播放一个热门节目, 则需要人工调高该时间段的节目优先级。  Of course, these rules can be customized on the policy server. The policy server also supports manual intervention to modify the program priority of an access device for a certain period of time. For example, if a popular program is to be played on a certain unpopular channel tomorrow, the program priority of the time period needs to be manually increased.
由上述实施例可见,该实施例的组播业务处理方法通过使用收视率统计进 行未来收视率预测,来确定节目的处理优先级, 因而可以对不同节目进行差异 化处理, 对热门重要的节目进行优先保证, 保证切换时间、 丢包率等 It can be seen from the foregoing embodiment that the multicast service processing method of this embodiment determines the processing priority of the program by using the rating statistics to perform future audience rating prediction, so that different programs can be differentiated and processed, and the most important programs can be performed. Priority guarantee, guarantee switching time, packet loss rate, etc.
QoS(Quality of Service, 服务盾量) , 预留带宽并推送到边缘。 QoS (Quality of Service), reserved bandwidth and pushed to the edge.
参照图 6, 图 6是本发明接入设备第二实施例的原理框图。  Referring to Figure 6, Figure 6 is a block diagram showing the second embodiment of the access device of the present invention.
该接入设备 600包括: IGMP报文处理单元 601、 路由器加入离开报文单元 The access device 600 includes: an IGMP packet processing unit 601, and a router joins and leaves a message unit.
602、 收视率统计单元 604、 组播节目优先级确定单元 605和组播节目处理单元 606。 其中, IGMP报文处理单元 601用于接收报文, 所述报文包括来自终端设 备的组播节目请求报文; 路由器加入离开报文单元 602用于将组播节目发送给 所述终端设备; 收视率统计单元 604用于获得组播节目收视率统计信息; 组播 节目优先级确定单元 605用于根据所述收视率统计信息确定组播节目优先级; 组播节目处理单元 606用于根据所述组播节目优先级对所述终端设备请求的组 播节目进行差异化处理,并将处理后的组播节目传送给所述路由器加入离开报 文单元。 602. The rating statistics unit 604, the multicast program priority determining unit 605, and the multicast program processing unit 606. The IGMP message processing unit 601 is configured to receive a message, where the message includes a multicast program request message from the terminal device, and the router join and leave message unit 602 is configured to send the multicast program to the terminal device. The audience rating unit 604 is configured to obtain the multicast program rating statistics information; the multicast program priority determining unit 605 is configured to determine the multicast program priority according to the audience rating statistics information; the multicast program processing unit 606 is configured to use the The multicast program priority classifies the multicast program requested by the terminal device, and transmits the processed multicast program to the router to join the leave message unit.
收视率统计单元 604可以通过多种方式获得组播节目收视率统计信息, 在 该实施例中, 示出了通过设置于接入设备 600中的组播行为信息获得单元 603 发送的信息来获得组播节目收视率统计信息的一种方式。 如图 6所示, 组播行 为信息获得单元 603用于根据所述組播节目请求报文获得用户组播行为信息; 收视率统计单元 604根据该用户组播行为信息获得组播节目收视率统计信息。  The audience rating unit 604 can obtain the multicast program rating statistics information in a plurality of manners. In this embodiment, the information transmitted by the multicast behavior information obtaining unit 603 provided in the access device 600 is used to obtain the group. A way of broadcasting program ratings statistics. As shown in FIG. 6, the multicast behavior information obtaining unit 603 is configured to obtain user multicast behavior information according to the multicast program request message. The audience rating unit 604 obtains multicast program rating statistics according to the user multicast behavior information. information.
在上述组播节目处理单元 606 中可以包括以下的任意一个或多个子单元 (图中未示出): 为所述组播节目预留带宽的预留带宽子单元、 将所述组播节 目静态转发到所述接入设备的静态转发子单元、 将所述组播节目按照 802-lp 信息保证节目质量的质量保证子单元、为所述组播节目预留组播资源的预留组 播资源子单元、用于在将所述组播节目存入緩存队列时,有多个并发处理进程 的情况下, 将所述组播节目优先插入所述緩存队列的头部的并发处理子单元。 Any one or more of the following subunits may be included in the multicast program processing unit 606 described above. (not shown): a reserved bandwidth sub-unit that reserves bandwidth for the multicast program, statically forwards the multicast program to a static forwarding sub-unit of the access device, and multicasts the multicast program a quality assurance subunit for ensuring program quality according to 802-lp information, and a reserved multicast resource subunit for reserving multicast resources for the multicast program, for storing the multicast program in a cache queue, In the case of multiple concurrent processing processes, the multicast program is preferentially inserted into the concurrent processing sub-unit of the header of the buffer queue.
接入设备 600对组播业务的处理过程与前面图 5所示实施例中的描述类似, 在此不再赘述。  The processing procedure of the access device 600 for the multicast service is similar to that described in the foregoing embodiment shown in FIG. 5, and details are not described herein again.
为了减轻接入设备的处理负荷,还可以借助于策略服务器来实现对组播节 目优先级的确定, 并将组播节目优先级实时地或者定时地配置给接入设备。  In order to reduce the processing load of the access device, the priority of the multicast program can be determined by means of the policy server, and the multicast program priority is configured to the access device in real time or periodically.
如图 7所示本发明实施例的组播业务处理系统, 其包括: 接入设备 71和策 略服务器 72。 接入设备 71包括: 组播行为信息获得单元 711、 发送单元 712、 组 播节目处理单元 713; 策略服务器 72包括: 收视率统计单元 721、 组播节目优先 级确定单元 722、 配置单元 723。  As shown in FIG. 7, the multicast service processing system of the embodiment of the present invention includes: an access device 71 and a policy server 72. The access device 71 includes: a multicast behavior information obtaining unit 711, a sending unit 712, and a multicast program processing unit 713. The policy server 72 includes: a rating statistics unit 721, a multicast program priority determining unit 722, and a configuration unit 723.
当接入设备 71接收到终端设备的组播节目请求报文后, 由组播行为信息 获得单元 711该组播节目请求报文获得用户组播行为信息,所述用户组播行为 信息包括: 用户加入时间、 用户离开时间, 用户编号、 观看节目编号等。 然后 由发送单元 712将这些用户组播行为信息发送给策略服务器 72。 策略服务器 72收到用户组播行为信息后, 由收视率统计单元 721根据所述用户组播行为 信息获得组播节目收视率统计信息,具体实现可参照前面本发明实施例的方法 中的描述。然后由组播节目优先级确定单元 722根据所述收视率统计信息确定 组播节目优先级,具体实现可参照前面本发明实施例的方法中的描述。组播节 目优先級确定后, 可由配置单元 723配置给接入设备 71 , 可以实时进行配置, 也可以由设置于策略服务器 72中的定时器 724周期性地产生一个通知信号, 通知配置单元 723将组播节目优先級配置给接入设备 71。 这样, 接入设备 71 中的组播节目处理单元 713 就可以根据所述組播节目优先級对终端设备清求 的组播节目进行差异化处理。  After the access device 71 receives the multicast program request message of the terminal device, the multicast behavior information obtaining unit 711 obtains the user multicast behavior information, where the user multicast behavior information includes: Join time, user departure time, user number, watch program number, etc. These user multicast behavior information is then sent by the transmitting unit 712 to the policy server 72. After the policy server 72 receives the user multicast behavior information, the audience rating unit 721 obtains the multicast program rating statistics according to the user multicast behavior information. For details, refer to the description in the method of the previous embodiment of the present invention. Then, the multicast program priority determining unit 722 determines the priority of the multicast program according to the rating statistics information. For details, refer to the description in the method of the previous embodiment of the present invention. After the priority of the multicast program is determined, the configuration unit 723 can be configured to the access device 71, and can be configured in real time. The timer 724 provided in the policy server 72 can periodically generate a notification signal, and the configuration unit 723 is notified. The multicast program priority is configured to the access device 71. In this way, the multicast program processing unit 713 in the access device 71 can differentiate the multicast program requested by the terminal device according to the multicast program priority.
由上述实施例可见, 利用本发明实施例的接入设备或组播业务处理系统, 可以通过使用收视率统计进行未来收视率预测,来确定节目的处理优先级, 因 而可以对不同节目进行差异化处理,对热门重要的节目进行优先保证,保证切 换时间、 丟包率等 QoS(Quality of Service, 服务质量) , 预留带宽并推送到边 缘。 本发明实施例提供的另一种组播业务处理方法, 在现有技术的基础上, 对 组播接入设备接收到组播加入报文的处理加以改进,以实现对申请离开和加入 的组播频道的合理有效控制。 It can be seen from the above embodiments that the access device or the multicast service processing system of the embodiment of the present invention can determine the processing priority of the program by using the audience rating to perform future audience estimation, thereby enabling different programs to be differentiated. Handling, giving priority to the most important programs, guaranteeing cut Change the QoS (Quality of Service) such as time and packet loss rate, reserve bandwidth and push it to the edge. Another multicast service processing method provided by the embodiment of the present invention improves the processing of receiving a multicast join message by the multicast access device on the basis of the prior art, so as to implement the group for leaving and joining the application. Reasonable and effective control of the broadcast channel.
在现有技术中, 当接入设备接收到组播频道离开报文后, 向接收到所述组 播频道的业务端口发送所述申请离开的组播频道特定组查询报文,并启动特定 组查询快速响应时间计时器,计时器超时后,立即停止申请离开的组播频道的 转发。  In the prior art, after receiving the multicast channel leaving message, the access device sends the multicast channel specific group query message to which the application leaves the service port to the service port that receives the multicast channel, and starts a specific group. Query the fast response time timer. After the timer expires, the forwarding of the multicast channel that is requested to leave is stopped immediately.
而在接收到组播频道加入报文时, 如图 8所示本发明的组播业务处理方法 第三实施例的流程, 采用以下步骤:  When the multicast channel join message is received, the process of the third embodiment of the multicast service processing method of the present invention is as follows:
步驟 801 , 接收組播加入报文。  Step 801: Receive a multicast join message.
步 802, 判断是否允许当前业务端口加入申请加入的組播频道, 如果允 许, 执行步骤 805 , 否则, 执行步驟 803。  In step 802, it is determined whether the current service port is allowed to join the multicast channel to be joined. If yes, go to step 805. Otherwise, go to step 803.
步骤 803 , 在当前正在转发的频道中查询是否存在申请离开后在特定组查 询响应时间超时之前还未接收到响应的组播频道, 如果存在, 执行步驟 804, 否则, 执行步骤 806。  Step 803: Query, in the currently forwarding channel, whether there is a multicast channel that has not received a response before the specific group query response time expires after the application leaves, if yes, go to step 804, otherwise, go to step 806.
步驟 804, 停止转发所述申请离开的一个組播频道。  Step 804: Stop forwarding a multicast channel that the application leaves.
步骤 805, 转发该申请加入的组播频道。  Step 805: Forward the multicast channel to which the application is added.
步骤 806, 拒绝该組播频道的加入。  Step 806, rejecting the joining of the multicast channel.
下面根据具体实例对上述描述进行具体说明。  The above description will be specifically described below based on specific examples.
如图 9所示,在 IPTV接入网络中,组播业务的接入设备 91为 DSLAM( Digital Subscriber Line Access Multiplexer, 数字用户线接入复用器) , 担任组播路由 器的功能,接入设备 91向用户提供 xDSL ( Digital Subscriber Line,数字用户线) 业务端口; 在用户侧, 两台 STB ( Set Top Box, 机顶盒)设备 92通过 HUB (集 线器) 93与同一个 xDSL调制解调器( Modulation and DEModulation, MODEM ) 94连接, 两台 STB分别连接有一台电视机 90。  As shown in FIG. 9, in the IPTV access network, the access device 91 of the multicast service is a DSLAM (Digital Subscriber Line Access Multiplexer), which functions as a multicast router and accesses the device. 91 provides the user with an xDSL (Digital Subscriber Line) service port; on the user side, two STB (Set Top Box) devices 92 pass through the HUB (hub) 93 and the same xDSL modem (Modulation and DEModulation, MODEM) ) 94 connections, two TVs 90 are connected to each of the two STBs.
每台 STB设备 92的操作可分为三种类型: 开机、切换频道、和关机。 其中, STB设备 92开机时会发出组播加入报文,切换频道时会先发出当前频道的組播 离开报文, 然后发出新频道的组播加入报文, 而关机时则会发出当前频道的组 播离开报文。 因此, 对客户端 STB的请求的处理也可以归纳为对组播离开请求 和组播加入请求的处理。 The operation of each STB device 92 can be divided into three types: power on, switch channels, and power off. The STB device 92 sends a multicast join message when the device is powered on. When the channel is switched, the multicast leave message of the current channel is sent first, and then the multicast join message of the new channel is sent, and the current channel is sent when the device is powered off. Group Broadcast to leave the message. Therefore, the processing of the request of the client STB can also be summarized as the processing of the multicast leave request and the multicast join request.
在本实施例种, 对于组播离开报文的处理过程如图 10所示:  In this embodiment, the process of processing a multicast leaving message is as shown in FIG. 10:
步骤 1001 , 接收组播离开报文;  Step 1001: Receive a multicast leaving message.
步驟 1002, 向接收到组播离开报文的 xDSL端口发送申请离开的频道的特 定组查询艮文;  Step 1002: Send, to the xDSL port that receives the multicast leaving message, a specific group query message of the channel that is requested to leave;
步骤 1003,将频道的状态设置为即将离开状态, 并启动快速响应时间计时 器;  Step 1003, setting the state of the channel to the upcoming state, and starting the fast response time timer;
步骤 1004, 判断超时器是否超时, 如果是, 执行步骤 1005, 否则, 执行步 骤 1006;  Step 1004: Determine whether the timeout device has timed out. If yes, go to step 1005. Otherwise, go to step 1006.
步驟 1005, 停止该申请离开的频道数据的转发;  Step 1005, stopping forwarding of channel data that the application leaves;
步骤 1006, 判断是否接收到特定组查询的响应报文, 如果是, 执行步骤 1007, 否则, 继续执行步骤 1004;  Step 1006, it is determined whether a response message of a specific group query is received, and if yes, step 1007 is performed; otherwise, step 1004 is continued;
步骤 1007, 将频道的状态改为正常状态, 并将计时器清零, 操作结束。 相应地, 对于组播加入报文的处理过程如图 11所示: ,  In step 1007, the status of the channel is changed to the normal state, and the timer is cleared, and the operation ends. Correspondingly, the processing procedure for multicast join messages is as shown in Figure 11:
步骤 111 , 接收组播接入艮文;  Step 111: Receive a multicast access message;
步骤 112, 判断是否允许当前 xDSL端口接受申请加入的組播频道的加入, 如果是, 执行步骤 115, 否则, 执行步骤 113;  Step 112: Determine whether the current xDSL port is allowed to join the multicast channel to which the application is added, and if yes, go to step 115, otherwise, go to step 113;
步骤 113, 在当前正在转发的频道中查询是否存在处于即将离开状态的组 播频道, 如果是, 执行步骤 114, 否则, 执行步驟 116;  Step 113: Query whether there is a multicast channel in the upcoming state in the channel currently being forwarded, if yes, go to step 114, otherwise, go to step 116;
步據 114,停止转发所述处于即将离开状态的、最早申请离开的组播频道; 步骤 115, 转发该申请加入的组播频道, 操作结束;  Step 114: Stop forwarding the multicast channel that is in the outgoing state and the earliest application to leave; Step 115, forwarding the multicast channel that the application joins, and the operation ends;
步骤 116, 拒绝该组播频道的加入, 操作结束。  Step 116: Reject the joining of the multicast channel, and the operation ends.
根据上述的处理步驟,下面结合上述的三种操作对本实施例的原理及应用 作具体描述。  According to the above processing steps, the principles and applications of the present embodiment will be specifically described below in conjunction with the above three operations.
假设 STB用户进行关机操作或者频道切换操作向 DSLAM^出组播离开报 文, DSLAM接收到该 STB发出的组播离开报文后, 向该 STB的 xDSL端口发送 申请离开的频道的特定组查询报文, 同时将频道的状态设置为即将离开状态, 并启动快速响应计时器。 在快速响应时间内, 也即计时器超时之前, 可能出现以下三种情况:Assume that the STB user performs a shutdown operation or a channel switching operation to send a multicast leave message to the DSLAM. After receiving the multicast leave message sent by the STB, the DSLAM sends a specific group query report of the channel to which the application leaves the xB port of the STB. At the same time, set the status of the channel to the upcoming state, and start the quick response timer. In the fast response time, that is, before the timer expires, the following three situations may occur:
1 )没有接收到任何加入艮文。 1) Did not receive any affiliation.
当一个 STB用户关机后可能会出现这种情况。  This can happen when an STB user shuts down.
在这种情况下, 计时器超时, 该 STB用户申请离开的频道的数据会停止转 发。  In this case, the timer expires and the data of the channel that the STB user applied to leave will stop forwarding.
2 )接收到该 xDSL端口当前正在转发的频道的加入报文。  2) Receive the join message of the channel that the xDSL port is currently forwarding.
当一个 STB用户正关机、 另外 STB用户正开机加入到一个正在转发的频 道, 或者一个 STB用户正关机、 另外一个 STB用户在切换频道到一个正在转发 的频道, 或者一个 STB用户切换频道到一个正在转发的频道, 都可能出现这种 情况。  When an STB user is shutting down, another STB user is booting up to a channel being forwarded, or one STB user is shutting down, another STB user is switching channels to a channel being forwarded, or an STB user is switching channels to a This may happen with forwarded channels.
在这种情况下, 由于申请加入的频道已经被当前的 xDSL端口正在转发, 不需要增加或者删除组播频道的转发数据。  In this case, since the channel to which the application is applied has been forwarded by the current xDSL port, there is no need to add or delete the forwarding data of the multicast channel.
这种情况又包括两种情形:申请加入的频道为即将离开状态的当前正在转 发频道和申请加入的频道为正常状态的当前正在转发的频道。  This situation includes two scenarios: the channel that is applied for joining is the current forwarding channel that is about to leave the state and the channel that is being forwarded to the channel that is currently being forwarded.
对于前面一种情形, 将该处于即将离开状态的频道的状态修改为正常状 态, 清零计时器, 正常转发该频道。  In the former case, the state of the channel in the leaving state is changed to the normal state, the timer is cleared, and the channel is normally forwarded.
对于后面一种情况, 不需作任何处理。  For the latter case, no processing is required.
3 )接收到新频道的加入报文。  3) Receive the join message of the new channel.
当一个 STB用户正关机、 另外 STB用户正开机加入到一个新的频道, 或者 一个 STB用户正关机、 另外一个 STB用户在切换频道到一个新的频道, 或者一 个 STB用户切换频道到新的频道, 都可能出现这种情况。  When an STB user is shutting down, another STB user is booting up to a new channel, or one STB user is shutting down, another STB user is switching channels to a new channel, or an STB user is switching channels to a new channel, This may happen.
在这种情况下, 首先判断当前 xDSL业务端口是否还允许该新的频道的加 入, 如果是, 直接向该端口转发新申请加入的频道数据, 否则, 查询当前是否 存在处于即将离开状态的频道,如果是, 则中止该处于即将离开状态的频道的 转发, 转发该新加入的组播频道, 否则, 无法加入该新的组播频道。  In this case, it is first determined whether the current xDSL service port also allows the new channel to join, and if so, directly forwards the newly applied channel data to the port, otherwise, it queries whether there is a channel currently in the leaving state. If yes, the forwarding of the channel in the upcoming state is aborted, and the newly added multicast channel is forwarded; otherwise, the new multicast channel cannot be joined.
在实际应用中, 一个 xDSL业务端口都设置一个最大允许接入的组播频道 数, 该最大接入组播频道数根据 xDSL端口的带宽或者管理的需要进行设置。 判断当前 xDSL业务端口是否允许新的频道的加入, 即是判断该端口当前正在 转发的频道数是否小于该端口设定的最大允许接入频道数, 如果小于, 则允许 该新加入频道的接入, 否则, 不允许其接入。 In practical applications, an xDSL service port is configured with a maximum number of multicast channels allowed to be accessed, and the maximum number of access multicast channels is set according to the bandwidth or management needs of the xDSL port. Determine whether the current xDSL service port allows the joining of new channels, that is, determine that the port is currently Whether the number of forwarded channels is less than the maximum number of allowed access channels set by the port. If it is less than, the access of the newly added channel is allowed. Otherwise, access is not allowed.
另夕卜,在上述判断当前是否存在处于即将离开状态的频道的过程中, 如果 当前存在有不只一个处于即将离开状态的频道,则最先中止最应该离开的频道 的转发,其中最应该离开在实际应用中可以采用两种方式来判断, 一是其中最 早申请离开的频道, 二是离超时时刻最接近的频道。  In addition, in the above process of determining whether there is currently a channel in the upcoming state, if there is currently more than one channel in the upcoming state, the forwarding of the channel that should be the most left should be suspended first, and the most should be left in the channel. In practical applications, there are two ways to judge, one is the channel that is the earliest application to leave, and the other is the channel closest to the timeout.
这样,在这种情况下,如果端口当前转发频道数已经等于最大允许接入频 道数,新申请加入的频道根据接入控制的条件无法被接受, 于是就寻找是否存 在有处于即将离开状态但仍然被转发的频道,如果存在,就中止处于即将离开 状态的其中一个最应该离开的频道的转发, 转发该新加入的组播频道, 否则, 无法加入该新的组播频道。  In this case, if the number of currently forwarded channels of the port is already equal to the maximum number of allowed access channels, the newly applied channel cannot be accepted according to the conditions of the access control, so it is searched for whether there is an upcoming leaving state but still The forwarded channel, if it exists, suspends the forwarding of one of the most outgoing channels in the upcoming state, forwarding the newly joined multicast channel, otherwise, the new multicast channel cannot be joined.
下面对可能产生这种情况的 STB几种操作进行分析:  The following is an analysis of several operations of STB that may cause this situation:
当一个 STB用户正关机、 另外 STB用户正开机加入到一个新的频道时, 需 要两个 STB用户的动作恰好在快速响应时间内才可能出现这种情况,所以这种 情况的概率比较低。  When an STB user is shutting down and another STB user is booting up to a new channel, the two STB users need to be in the fast response time, so the probability of this situation is relatively low.
当一个 STB用户正关机、 另外一个 STB用户在切换频道时, 同样需要两个 STB用户的动作 '^·在快速响应时间内才可能出现这种情况,所以这种情况的 概率也比较低。  When one STB user is shutting down and another STB user is switching channels, the same action is required for two STB users. ^^ This can happen in a fast response time, so the probability of this situation is also low.
当一个 STB用户在切换频道到一个新的频道时, 由于一个 STB用户在切换 频道的时候在很短的时间内向 DSLAM设备先后发送现有频道的组播离开报文 和新频道的组播加入报文, 这种情况的概率要高得多。 所以该实施例对 STB用 户在切换频道时对组播频道的控制有更大的意义。  When an STB user switches channels to a new channel, a STB user sends a multicast leaving message of the existing channel and a multicast joining message of the new channel to the DSLAM device in a short time while switching channels. The probability of this situation is much higher. Therefore, this embodiment has a greater significance for the STB user to control the multicast channel when switching channels.
相应地, 本发明实施例也提供了一种接入设备,该设备采用上面的方法实 现对组播频道的加入和离开的有效控制。 下面对其实施例进行描述。  Correspondingly, the embodiment of the present invention also provides an access device, which implements effective control of joining and leaving a multicast channel by using the above method. The embodiments are described below.
参照图 12, 图 12是本发明的接入设备第三实施例的结构示意图。  Referring to FIG. 12, FIG. 12 is a schematic structural diagram of a third embodiment of an access device according to the present invention.
如图所示, 接入设备包括频道离开处理单元 121和频道加入处理单元 122, 其中频道离开处理单元 121在接收到组播频道离开报文后, 向接收到组播离开 报文的接入设备的业务端口发送申请离开的频道的特定组查询报文,将频道的 状态设置为即将离开状态, 并启动快速响应时间计时器。 计时器超时后, 立即 停止申请离开的组播频道的转发。 As shown in the figure, the access device includes a channel leaving processing unit 121 and a channel joining processing unit 122, wherein the channel leaving processing unit 121, after receiving the multicast channel leaving message, accesses the access device that receives the multicast leaving message. The service port sends a specific group of query messages for the channel that is leaving the application, and the channel's The status is set to the upcoming state and the fast response time timer is started. After the timer expires, the forwarding of the multicast channel that is requested to leave is immediately stopped.
其中频道加入处理单元 122又包括组播转发单元(图中未示出) 、 第一控 制单元 123和第二控制单元 124, 其中:  The channel joining processing unit 122 further includes a multicast forwarding unit (not shown), a first control unit 123, and a second control unit 124, where:
组播转发单元根据来自于其他单元的指令控制组播频道的转发,主要包括 两个操作: 停止转发一个指定的组播频道和开始转发一个指定的组播频道。  The multicast forwarding unit controls the forwarding of the multicast channel according to instructions from other units, and mainly includes two operations: stopping forwarding a specified multicast channel and starting to forward a designated multicast channel.
第一控制单元 123在接收到 STB用户发出的组播频道加入报文后 , 判断当 前端口是否允许申请加入的组播频道的加入, 如果是,通知组播转发单元转发 该申请加入的组播频道, 否则, 交给第二控制单元 124做进一步处理。  After receiving the multicast channel join message sent by the STB user, the first control unit 123 determines whether the current port is allowed to join the multicast channel to be joined, and if so, notifies the multicast forwarding unit to forward the multicast channel to which the application is added. Otherwise, it is handed over to the second control unit 124 for further processing.
在实际应用中,接入设备的一个业务端口都设置一个最大允许接入的组播 频道数, 该最大接入组播频道数根据业务端口的带宽或者管理的需要进行设 置。判断当前业务端口是否允许新的频道的加入, 即判断该端口当前正在转发 的频道数是否小于该端口设定的最大允许接入频道数,如果小于,则允许该新 加入频道的接入, 否则, 不允许其接入。 频道判断单元 125判断的过程中, 首先判断该 STB用户申请加入的组播频道是 否是当前业务端口已经正在转发的组播频道, 如果是, 不作任何处理, 否则, 由频道数比较单元 126继续判断当前业务端口正在转发的频道数是否小于该端 口设定的最大允许接入频道数,如果小于, 则通知组播转发单元开始转发该新 加入频道的数据, 否则, 初步判断为不允许该频道的接入。  In a practical application, one service port of the access device sets a maximum number of multicast channels that are allowed to access, and the maximum number of access multicast channels is set according to the bandwidth of the service port or management requirements. Determining whether the current service port allows the joining of a new channel, that is, determining whether the number of channels currently being forwarded by the port is less than the maximum number of allowed access channels set by the port, and if not, allowing access of the newly added channel, otherwise , it is not allowed to access. In the process of determining by the channel determining unit 125, it is first determined whether the multicast channel applied by the STB user is a multicast channel that the current service port is already forwarding. If yes, no processing is performed. Otherwise, the channel number comparison unit 126 continues to determine. Whether the number of channels that the current service port is forwarding is smaller than the maximum number of allowed access channels set by the port. If it is smaller, the multicast forwarding unit is notified to start forwarding the data of the newly added channel. Otherwise, it is initially determined that the channel is not allowed. Access.
第二控制单元 124在第一控制单元 123初步判断已经无法接受一个新申请 加入的组播频道后开始工作。第二控制单元 124在接收到第一控制单元 123的通 知后,在业务端口当前转发的组播频道中查询是否存在处于即将离开状态的组 播频道,如果有,则通知组播转发单元中止该处于即将离开状态的频道的转发, 开始转发该新加入的组播频道, 否则, 最终确认无法加入该新的组播频道。  The second control unit 124 starts working after the first control unit 123 initially determines that it has been unable to accept a newly applied multicast channel. After receiving the notification from the first control unit 123, the second control unit 124 queries whether the multicast channel currently in the leaving state exists in the multicast channel currently forwarded by the service port, and if so, notifies the multicast forwarding unit to suspend the multicast channel. The forwarding of the channel in the upcoming state begins to forward the newly added multicast channel, otherwise, it is finally confirmed that the new multicast channel cannot be joined.
同样,在上述判断是否存在处于即将离开状态的频道的过程中,如果当前 存在有不只一个处于即将离开状态的频道,则最先中止最应该离开的频道的转 发,其中最应该离开在实际应用中可以采用两种方式来判断,一是其中最早申 请离开的频道, 二是离超时时刻最接近的频道。 本发明实施例还在组播处理系统中增加了智能决策设备,通过累计统计获 取用户常用的组播频道,主动地使接入设备获取到该用户常用的组播频道的组 播流, 从而降低了组播频道的加入时延, 提高组播处理效率。 Similarly, in the above process of judging whether there is a channel in the upcoming state, if there is currently more than one channel in the upcoming state, the forwarding of the channel that should be the most left should be suspended first, and the most should be left in the actual application. It can be judged in two ways, one is the channel that is the earliest application to leave, and the other is the channel closest to the timeout. In the embodiment of the present invention, an intelligent decision-making device is added to the multicast processing system, and the multicast channel commonly used by the user is obtained by the cumulative statistics, and the access device obtains the multicast stream of the multicast channel commonly used by the user, thereby reducing the multicast stream. The join delay of the multicast channel improves the efficiency of multicast processing.
下面以接入设备内部对组播的处理为例,对本发明实施例的组播业务处理 方法进行举例说明。  The following describes the multicast service processing method in the embodiment of the present invention by taking the processing of the multicast in the access device as an example.
参照图 13 , 图 13为本发明的组播业务处理方法第四实施例的流程示意图, 包括以下步 -骤:  Referring to FIG. 13, FIG. 13 is a schematic flowchart diagram of a fourth embodiment of a method for processing a multicast service according to the present invention, which includes the following steps:
步骤 1301 , 接入设备获取用户常用组播频道。  Step 1301: The access device acquires a common multicast channel of the user.
接入设备周期性地根据每接口板接收到并提交到主控板组播处理单元处 理记录的组播处理信息,记录组播维护的组播组以及用户加入和离开每个组播 组的时间点, 收集统计每个接口板内的节目点播频率和时间分布, 并将该统计 结果进一步进行统计,得到某个相对长时间内每个时间段内频道在接入设备内 的分布。得到接入设备内在某相对长时间内点播频率最高或者使用时间最长的 几个节目频率作为用户常用组播频道,并获取该组播频道在接口板内点播频率 较高的具体接口板。在使用过程中具体可以单纯根据组播频道的点播频率或者 频道的使用时间选取用户常用组播频道,亦可以两者结合权衡选取用户常用组 播频道。  The access device periodically records the multicast processing information recorded and processed by the multicast processing unit on the main control board, and records the multicast group maintained by the multicast and the time when the user joins and leaves each multicast group. Point, collect statistics on the on-demand frequency and time distribution of each interface board, and further collect statistics on the statistics to obtain the distribution of channels in the access device in each time period. A plurality of program frequencies with the highest frequency of the on-demand or the longest use time in the access device are obtained as the common multicast channel of the user, and the specific interface board with the high frequency of the multicast channel on the interface board is obtained. In the process of using, the user can select the common multicast channel of the user according to the on-demand frequency of the multicast channel or the usage time of the channel, or the user can select the common multicast channel of the user in combination with the trade-off.
该常用频道的统计除了单纯根据点播频率进行判定夕卜,还可以结合该組播 频道占用的带宽等因素,对该组播频道的点播频率进行加权处理, 以使得本技 术方案更加符合实际应用。 该加权处理具体是, 为了权衡带宽因素, 对于占用 带宽较大的节目, 将其点播频率乘以一较小的权重因子。 比如, 组播频道 1的 点播频率为 200次 /分钟, 其占用的带宽为 2M, 组播频道 2的点播频率为 210次 / 分钟, 其占用的带宽为 5M。 组播频道 3的点播频率为 300次每分钟, 其占用的 带宽为 8M。假设根据预设的权重规则, 对于占用带宽较小的频道 1的权重因子 为 1.1, 对于占用带宽略大的频道 2的权重因子为 1 , 对于占用带宽较大的频道 3 的权重因子为 0.8。 那么, 经加权处理后, 频道 1的点播频率为 220次 /分钟, 频 道 2的点播频率为 210次 /分钟, 频道 3的点播频率为 240次 /分钟。 对所有的经过 加权处理的组播频道点播频率进行统计分析,获取加权处理后的点播频率权值 最高的几个频道作为用户常用组播频道。 步骤 1302, 接入设备获取该用户常用组播频道的組播流。 The statistics of the common channel can be weighted according to factors such as the bandwidth occupied by the multicast channel, and the on-demand frequency of the multicast channel is weighted, so that the technical solution is more suitable for practical applications. Specifically, in order to balance the bandwidth factor, the weighting process multiplies the on-demand frequency by a smaller weighting factor for a program occupying a larger bandwidth. For example, multicast channel 1 has an on-demand frequency of 200 times/minute, and its occupied bandwidth is 2M, and multicast channel 2 has an on-demand frequency of 210 times/minute, and its occupied bandwidth is 5M. The multicast frequency of multicast channel 3 is 300 times per minute, and the bandwidth occupied by it is 8M. It is assumed that according to the preset weighting rule, the weighting factor for channel 1 occupying a smaller bandwidth is 1.1, the weighting factor for channel 2 occupying a slightly larger bandwidth is 1, and the weighting factor for channel 3 occupying a larger bandwidth is 0.8. Then, after weighting, the on-demand frequency of channel 1 is 220 times/minute, the on-demand frequency of channel 2 is 210 times/minute, and the on-demand frequency of channel 3 is 240 times/minute. Statistical analysis is performed on all weighted multicast channel on-demand frequencies, and several channels with the highest weighted on-demand frequency are obtained as common multicast channels for users. Step 1302: The access device acquires a multicast stream of the common multicast channel of the user.
根据步骤 1301的统计结果, 用户主控板组播处理单元向网络侧发送请求, 主动向网络侧请求加入用户常用组播频道, 由网络侧根据所接收的请求, 向接 入设备下发该用户常用组播频道的组播流。  According to the statistical result of the step 1301, the user main control board multicast processing unit sends a request to the network side, and actively requests the network side to join the user's common multicast channel, and the network side sends the user to the access device according to the received request. Multicast stream of common multicast channels.
步骤 1303, 接口板接收用户 IGMP加入请求。  Step 1303: The interface board receives a user IGMP join request.
当用户需要点播某个组播频道时, 通过 STB向接入设备发送 IGMP报文, 以请求点播该组播频道。  When the user needs to order a certain multicast channel, the STB sends an IGMP message to the access device to request the multicast channel.
步骤 1304, 接口板将该 IGMP请求提交主控板。  Step 1304: The interface board submits the IGMP request to the main control board.
矣口板将本接口板内接收的所有 IGM i艮文提交到与之相连接主控板的 主控板组播处理单元, 由该主控板组播处理单元处理。  The port board submits all the IGMs received in the interface board to the multicast processing unit of the main control board connected to the main control board, and is processed by the multicast processing unit of the main control board.
步驟 1305, 主控板判断所请求的組播流是否在主控板, 如果是,执行步骤 1307; 否则, 执行步骤 1306。  Step 1305: The main control board determines whether the requested multicast stream is on the main control board. If yes, go to step 1307; otherwise, go to step 1306.
主控板接收到接口板发送的组播流请求后,根据所述主控板组播处理单元 记录的组播维护的组播组信息判定所请求的组播流是否在主控板上,如果所记 录的组播维护的组播组信息标示当前主控板存在所述所请求的组播流,则所请 求的组播流在主控板上; 否则所请求的組播流不在主控板上。  After receiving the multicast stream request sent by the interface board, the main control board determines whether the requested multicast stream is on the main control board according to the multicast group information maintained by the multicast processing unit of the main control board. The recorded multicast group information maintained by the multicast indicates that the requested multicast stream exists on the current main control board, and the requested multicast stream is on the main control board; otherwise, the requested multicast stream is not on the main control board. on.
步骤 1306,在主控板组播转发表中生成组播組,并将该接口板加入该播组, 并且在接口板组播转发表中生成组播表项, 将用户加入该组播组。  Step 1306: Generate a multicast group in the multicast forwarding table of the main control board, add the interface board to the broadcast group, and generate a multicast entry in the multicast forwarding table of the interface board to join the user to the multicast group.
主控板在主控板组播转发表中,增加该用户所点播组播频道的组播组,并 将该提交该 IGMP请求的接口板(即请求用户所在的接口板)加入到该组播组 中。  The main control board adds the multicast group of the multicast channel to which the user subscribes in the multicast forwarding table of the main control board, and adds the interface board that submits the IGMP request (that is, the interface board where the requesting user is located) to the multicast. In the group.
相应地, 主控板组播处理单元根据该 IGMP请求, 生成该请求组播频道的 組播流的组播组,并将请求加入的用户加入到该组播组中,然后将该组播组分 发给提交该 IGMP请求的接口板的接口板组播转发表。  Correspondingly, the main control board multicast processing unit generates a multicast group requesting the multicast stream of the multicast channel according to the IGMP request, and joins the user who requests the join to the multicast group, and then the multicast group The interface board multicast forwarding table that is distributed to the interface board that submits the IGMP request.
步骤 1307,在主控板組播转发表中将该接口板加入到组播组,并且在接口 板组播转发表中生成组播表项, 将用户加入该组播组。 然后跳转至步骤 1310。 Step 1307: Add the interface board to the multicast group in the multicast forwarding table of the main control board, and generate a multicast entry in the multicast forwarding table of the interface board to join the user to the multicast group. Then go to step 1 3 10.
主控板在主控板组播转发表中该请求组播频道的组播组中加入提交该 IGMP请求的接口板。 相应地, 主控板组播处理单元根据该 IGMP请求, 生成该请求组播频道的 组播流的组播组, 并将请求加入的用户加入到该组播组中, 然后将该组播组分 发给提交该 IGMP请求的接口板的接口板组播转发表。 The main control board adds the interface board that submits the IGMP request to the multicast group that requests the multicast channel in the multicast forwarding table of the main control board. Correspondingly, the main control board multicast processing unit generates a multicast group requesting the multicast stream of the multicast channel according to the IGMP request, and joins the user who requests the join to the multicast group, and then joins the multicast group. The interface board multicast forwarding table that is distributed to the interface board that submits the IGMP request.
步骤 1308, 主控板向网络侧请求组播流数据。  Step 1308: The main control board requests multicast stream data from the network side.
如果在接入设备中没有该用户所请求组播频道的组播流,则主控板向网络 侧的边缘设备发送控制报文; 由位于 Π>城域网侧的边缘设备通过 IP城域网, 向 组播业务系统请求下发该組播频道的组播流; 组播业务中心接收到请求后,将 该组播频道采用 MPEG-2编码格式, 编码成一路码流封装到 UDP/IP ( User Datagram Protocol/Internet Protocol , 用户数据艮协议 /因特网协议 )才艮文中, 向 IP城域网推送, 经过边缘设备后, 由边缘设备向接入设备转发。  If there is no multicast stream of the multicast channel requested by the user in the access device, the main control board sends a control packet to the edge device on the network side; the edge device on the side of the metropolitan area network passes the IP metropolitan area network. And requesting, by the multicast service system, the multicast stream of the multicast channel to be delivered; after receiving the request, the multicast service center adopts an MPEG-2 encoding format, and encodes the encoded channel into a unicast stream to be encapsulated into UDP/IP ( The User Datagram Protocol/Internet Protocol, User Data Protocol/Internet Protocol, is pushed to the IP Metropolitan Area Network. After the edge device is passed, the edge device forwards it to the access device.
步驟 1309, 主控板接收网络下发的组播流。  Step 1309: The main control board receives the multicast stream delivered by the network.
当边缘设备转发的组播流到达接入设备时,由主控板组播复制单元根据主 控板组播转发表, 判断该组播流是否为所需要的组播流, 如果是, 则接收该组 播流。  When the multicast stream forwarded by the edge device reaches the access device, the multicast replication unit of the main control board determines whether the multicast stream is the required multicast stream according to the multicast forwarding table of the main control board, and if yes, receives the multicast stream. The multicast stream.
步骤 1310, 主控板向接口板发送组播流。  Step 1310: The main control board sends a multicast stream to the interface board.
主控板接收该组播流后,由主控板组播复制单元根据主控板组播转发表中 的记录的请求该组播流的接口板, 将该組播流复制到该接口板上。  After receiving the multicast stream, the main control board multicasts the copying unit to the interface board of the multicast stream according to the record in the multicast forwarding table of the main control board, and copies the multicast stream to the interface board. .
步骤 1311 , 接口板根据组播表向用户发送组播流。  Step 1311: The interface board sends a multicast stream to the user according to the multicast table.
接口板接收该组播流后,根据接口板组播转发表中的该组播频道所对应的 用户, 将该组播流复制到该用户在本接口板上的用户端口。  After receiving the multicast stream, the interface board copies the multicast stream to the user port of the user on the interface board according to the user corresponding to the multicast channel in the multicast forwarding table of the interface board.
该组播流由用户端口到达终端设备,用户接收到该组播流后,便可以观看 所点播的组播频道。  The multicast stream arrives at the terminal device by the user port, and after receiving the multicast stream, the user can watch the multicast channel that is requested.
由上可知 , 由于本实施例在接入设备内统计获取本接入设备的常用频道, 如果用户请求的组播频道为常用的频道,那么主控板组播处理单元接收到该用 户的 IGMP请求后, 可以直接从主控板向用户所在的接口板复制推送所请求的 組播频道的组播流, 而不需要向网络侧请求下发,从而降低了組播频道的加入 时延, 提高了组播处理效率。  It can be seen that, in this embodiment, the common channel of the access device is obtained in the access device. If the multicast channel requested by the user is a commonly used channel, the multicast processing unit of the main control board receives the IGMP request of the user. After that, the multicast stream of the requested multicast channel can be directly forwarded from the main control board to the interface board where the user is located, without requesting to be sent to the network side, thereby reducing the join delay of the multicast channel and improving the insertion delay. Multicast processing efficiency.
为了进一步优化接入设备内部对组播处理,还可以在接口板内增加用于进 行组播处理的接口板组播处理单元。 参照图 14, 图 14为本发明的组播业务处理方法第五实施例流程图, 包括以 下步骤: To further optimize the multicast processing inside the access device, you can also add an interface board multicast processing unit for multicast processing on the interface board. Referring to FIG. 14, FIG. 14 is a flowchart of a fifth embodiment of a method for processing a multicast service according to the present invention, which includes the following steps:
步骤 1401 , 获取用户常用组播频道。  Step 1401: Obtain a common multicast channel of the user.
本步骤与图 13所示实施例中的步骤 1301同理, 所不同的是, 由于在接入板 内增加了用于对接口板所接收到的用户 IGMP报文进行处理的接口板組播处理 单元, 因此,用户常用组播频道的获取具体根据接口板组播处理单元记录的组 播维护的组播組、以及用户加入和离开每个组播组的时间点所统计获取,所使 用的统计方法与图 13所示实施例中的步骤 1301同理, 在此不作赘述。  This step is the same as the step 1301 in the embodiment shown in FIG. 13 . The difference is that the interface board multicast processing for processing the user IGMP messages received by the interface board is added to the access board. Therefore, the acquisition of the common multicast channel of the user is specifically obtained according to the multicast group maintained by the multicast recorded by the interface board multicast processing unit and the time point when the user joins and leaves each multicast group. The method is the same as step 1301 in the embodiment shown in FIG. 13 and will not be described herein.
进一步地根据统计结果获取该用户常用组播频道的点播频道或频道的权 值较高、 或者使用该用户常用组播频道时间较长的具体接口板作为常用接口 板,并在主控板组播转发表中建立该用户常用组播频道的组播表,并将各常用 接口板加入至对应用户常用组播频道的组播表中。  Further, according to the statistical result, a specific interface board with a higher weight of the on-demand channel or channel of the user's common multicast channel or a longer time of using the common multicast channel of the user is used as a common interface board, and is multicasted on the main control board. A multicast table of the common multicast channel of the user is established in the forwarding table, and each common interface board is added to the multicast table corresponding to the common multicast channel of the user.
步骤 1402, 将所获取的用户常用组播频道对应的组播流发送至接口板。 根据步骤 1401的统计结果,主控板組播处理单元向网络侧发送请求,主动 向网络侧请求加入用户常用组播频道, 由网络侧根据所接收的请求,向接入设 备下发该用户常用组播频道的组播流。  Step 1402: Send the obtained multicast stream corresponding to the common multicast channel of the user to the interface board. According to the statistics of the step 1401, the main control board multicast processing unit sends a request to the network side, and actively requests the network side to join the user's common multicast channel, and the network side sends the user to the access device according to the received request. Multicast stream of multicast channels.
主控板接收到网络下发的用户常用組播频道的组播流后,由主控板组播复 制单元根据组播转发表中的该用户常用组播频道的组播组,自动的将该用户常 用组播频道的组播流复制至该用户常用组播频道的常用接口板中。  After receiving the multicast stream of the common multicast channel of the user delivered by the network, the main control board automatically copies the multicast group of the common multicast channel of the user in the multicast forwarding table. The multicast stream of the user's common multicast channel is copied to the common interface board of the common multicast channel of the user.
步骤 1403, 接口板接收用户 IGMP加入请求。  Step 1403: The interface board receives a user IGMP join request.
当用户需要点播某个组播频道时, 通过 STB向接入设备发送 IGMP报文, 以请求点播该组播频道。  When the user needs to order a certain multicast channel, the STB sends an IGMP message to the access device to request the multicast channel.
步驟 1404, 判断所请求的组播流是否在接口板, 如果否, 执行步骤 1405, 否则, 执行步骤 1406。  Step 1404: Determine whether the requested multicast stream is on the interface board. If no, go to step 1405. Otherwise, go to step 1406.
接入设备的接口板根据所述接口板组播处理单元记录的组播维护的组播 组信息判断所述组播流是否在接口板,如果所记录的组播维护的组播组信息标 示当前接口板存在所述所请求的组播流的组播組,则所请求的組播流在接口板 上, 否则所请求的组播流不在接口板上。 如果该用户所请求的组播频道为步驟 1401统计得到的常用频道,并且该用 户常用组播频道为本接口板内的点播频率或者频道的权值较高、或者使用时间 较长的組播频道,那么显然在步驟 1402中, 已经将该用户常用组播频道的组播 流推送至本接口板, 因此接口板已存在该組播流。 The interface board of the access device determines, according to the multicast group information maintained by the multicast processing unit of the interface board, whether the multicast stream is on the interface board, and if the recorded multicast group information maintained by the multicast indicates the current If the interface board has a multicast group of the requested multicast stream, the requested multicast stream is on the interface board, otherwise the requested multicast stream is not on the interface board. If the multicast channel requested by the user is a common channel obtained by the step 1401, and the common multicast channel of the user is the multicast frequency of the on-demand frequency or channel in the interface board, or the multicast channel with a long time is used. Then, in step 1402, the multicast stream of the user's common multicast channel has been pushed to the interface board, so the multicast stream already exists on the interface board.
步驟 1405,在接口板组播转发表中将用户加入到组播组,跳转至步骤 1404。 接口板在接口板组播转发表中 ,将该请求用户加入到其所点播的组播频道 所对应的组播组中。  Step 1405: Add the user to the multicast group in the multicast forwarding table of the interface board, and go to step 1404. The interface board adds the requesting user to the multicast group corresponding to the multicast channel that it requests in the multicast forwarding table of the interface board.
步骤 1406, 在接口板组播转发表中生成组播组 <;  Step 1406: Generate a multicast group in the interface board multicast forwarding table.
在接口板组播转发表中,新增加该用户所点播的组播频道的组播组,并将 用户力 p入到该新增加的組播组中。  In the multicast forwarding table of the interface board, the multicast group of the multicast channel that the user subscribes to is newly added, and the user is forced into the newly added multicast group.
步骤 1407 , 接口板向主控板请求该用户请求组播频道的组播流。  Step 1407: The interface board requests the main control board to request the multicast stream of the multicast channel from the user.
步骤 1408, 主控板判断所请求的组播流是否在主控板, 如果是,执行步骤 1409; 否则, 执行步骤 1410。  Step 1408: The main control board determines whether the requested multicast stream is on the main control board. If yes, go to step 1409; otherwise, go to step 1410.
主控板接收到接口板发送的组播流请求后,根据所述主控板组播处理单元 记录的组播维护的组播組信息判定所请求的组播流是否在主控板上,如果所记 录的组播维护的组播组信息标示当前主控板存在所述所请求的组播流的组播 组, 则所请求的组播流在主控板上, 否则所请求的组播流不在主控板上。  After receiving the multicast stream request sent by the interface board, the main control board determines whether the requested multicast stream is on the main control board according to the multicast group information maintained by the multicast processing unit of the main control board. The recorded multicast group information maintained by the multicast indicates that the current multicast group has the multicast group of the requested multicast stream, and the requested multicast stream is on the main control board, otherwise the requested multicast stream Not on the main control board.
如果该用户所请求的组播频道为步骤 1401中所统计获取的常用频道,那么 在主控板中一定有该用户所请求的组播频道的組播流。  If the multicast channel requested by the user is the common channel obtained in step 1401, then there must be a multicast stream of the multicast channel requested by the user in the main control board.
步驟 1409,主控板在组播转发表中将该接口板加入到组播组,跳转至步骤 Step 1409: The main control board adds the interface board to the multicast group in the multicast forwarding table, and then goes to the step.
1413。 1413.
在主控板组播转发表中的该组播频道所对应的组播组中加入该提交 IGMP 请求的接口板。  Add the interface board that submits the IGMP request to the multicast group corresponding to the multicast channel in the multicast forwarding table of the main control board.
步驟 1410, 在主控板组播转发表中生成组播组。  Step 1410: Generate a multicast group in the multicast forwarding table of the main control board.
主控板在主控板组播转发表中,增加该用户点播频道的组播组,并将该接 口板力 p入到该组播組中。  The main control board adds a multicast group of the user's on-demand channel to the multicast forwarding table of the main control board, and inserts the interface board into the multicast group.
步骤 1411 , 主控板向网络侧请求组播流数据。  Step 1411: The main control board requests multicast stream data from the network side.
步骤 1412, 主控板接收网络下发的组播流。  Step 1412: The main control board receives the multicast stream delivered by the network.
步骤 1413 , 主控板向接口板发送组播流。 步骤 1414, 接口板根据接口板组播转发表中的组播表向用户发送组播流。 上述步骤 1411至步骤 1414分别与图 13所示实施例中的步驟 1309至步骤 1313同理, 在此不作赘述。 Step 1413: The main control board sends a multicast stream to the interface board. Step 1414: The interface board sends a multicast stream to the user according to the multicast table in the multicast forwarding table of the interface board. The steps 1411 to 1414 are the same as the steps 1309 to 1313 in the embodiment shown in FIG. 13, and are not described herein.
由上可知,由于相对图 13所示实施例对于接入设备的内部的的组播处理采 用了组播分布式处理的模式,将接入设备的组播处理分布到接口板以及主控板 协同处理。 由于采用了该组播分布式处理, 当接口板存在多个用户加入同一个 节目源的时候, 主控板只需要处理第一个请求就可以了, 而不需要重复处理, 使用本发明实施例的方法可以充分利用系统的处理能力,大大提升接入设备的 组播处理能力。  It can be seen that the multicast processing of the access device is distributed to the interface board and the main control board in cooperation with the multicast processing in the internal processing of the access device in the embodiment shown in FIG. deal with. Because the multicast distributed processing is adopted, when the interface board has multiple users joining the same program source, the main control board only needs to process the first request, and does not need to repeat the processing, and uses the embodiment of the present invention. The method can make full use of the processing power of the system and greatly improve the multicast processing capability of the access device.
另外, 由于采用该组播分布式处理的模式,接口板上的组播转发表由接口 板自行根据接收到的用户 IGMP报文进行配置, 而不是由主控板根据接口板转 发或者透传的用户 IGMP报文生成再分发至各接口板; 主控板只需要根据接口 板向主控板转发的 IGMP报文, 对自身的组播转发表进行配置即可。 可见采用 本发明实施例的方法, 节省了接入设备内部的通信, 有利于提高处理速度。  In addition, the mode of the multicast distributed processing is adopted, and the multicast forwarding table on the interface board is configured by the interface board according to the received user IGMP message, instead of being forwarded or transparently transmitted by the main control board according to the interface board. User IGMP messages are redistributed to each interface board. The main control board only needs to configure its own multicast forwarding table according to the IGMP messages forwarded by the interface board to the main control board. It can be seen that the method of the embodiment of the invention saves the communication inside the access device, which is beneficial to improving the processing speed.
另外的, 如果用户请求的组播频道不为本接口板内的点播频率较高的频 道, 但是, 为常用的频道, 那么用户 IGMP请求由接口板提交到主控板, 只需 要到达主控板处理之后,便可以通过接口板推送至所请求用户的用户端口, 而 不需要向网络侧请求组播加入, 降低了组播处理时延, 提升了组播处理效率。  In addition, if the multicast channel requested by the user is not the channel with the higher frequency of the on-demand interface, but is a commonly used channel, the user IGMP request is submitted by the interface board to the main control board, and only needs to reach the main control board. After the processing is performed, the interface card can be pushed to the user port of the requested user without requesting multicast join to the network side, which reduces the multicast processing delay and improves the multicast processing efficiency.
在图 14所示实施例中使用了在接入设备内部统计常用频道,并将所统计的 常用频道推送至相应的接口板内的智能决策方案。由图 14所示实施例的方法的 延伸, 将该方案应用于接入网络的组播处理中, 具体如下:  In the embodiment shown in FIG. 14, an intelligent decision scheme for counting common channels within the access device and pushing the counted common channels to the corresponding interface boards is used. The scheme is applied to the multicast processing of the access network by the extension of the method in the embodiment shown in FIG. 14, and the details are as follows:
在接入网络的内部的各个接入网络内部,根据每个接入设备内的 ^^矣口板 内的用户加入和离开每个组播频道的时间点,收集统计每个接口板内的节目点 播频率和时间分布,并将所有接入设备内的所有接口板内的统计结果进一步汇 总统计分析,获取接入网络中的常用频道, 以及该用户常用组播频道点播频率 或频率的权值较高、或者使用时间较长的接入设备。其统计方法与图 I4所示实 施例中的步骤 1401同理。 Collect and count the programs in each interface board according to the time points of the users in the access board to join and leave each multicast channel in each access network inside the access network. The frequency and time distribution of the on-demand frequency are further summarized and statistically analyzed in all the interface boards of all the access devices to obtain the common channels in the access network, and the weights of the frequency or frequency of the commonly used multicast channels of the user are compared. A high or long access device. The calculation method is shown in FIG. 4 The procedure of Example I in 1401 the same way.
然后,根据统计结果,通知该用户常用组播频道所在的点播频率较高的接 入设备的主控的组播复制单元固定的将该几个最常用的组播频道,主动向网絡 侧请求加入,由网络侧将该用户常用组播频道的组播流下发至使用该用户常用 组播频道频率或频率权值较高、 或者使用时间较长的接入设备的主控板。 Then, according to the statistical result, the multicast copying unit of the access device that informs the user that the common multicast channel is located with a high on-demand frequency is fixed, and the most commonly used multicast channels are actively connected to the network. The side requests to join, and the multicast stream of the common multicast channel of the user is sent by the network side to the main control board of the access device that uses the common multicast channel frequency or frequency weight of the user or has a long use time.
对于接入设备内部的组播处理方法, 既可以采用图 13所示实施例中的方 法, 亦可以采用图 14所示实施例中的方法。  For the multicast processing method in the access device, the method in the embodiment shown in FIG. 13 or the method in the embodiment shown in FIG. 14 may be used.
本实施例,由于在接入网絡内引进了智能决策方案,控制网络建立预加树, 提升了整个网络的处理效率。  In this embodiment, since an intelligent decision-making scheme is introduced in the access network, the control network establishes a pre-addition tree, which improves the processing efficiency of the entire network.
值得说明的是, 在本实施例中, 在获取接入网络中的常用频道, 以及使用 该用户常用组播频道频率最高的接入设备之后,还可以根据该统计结果,在网 络侧建立对照表,使得各常用频道分别与使用该用户常用组播频道频率最高的 接入设备相对应。 网络侧根据该对照表,主动向接入设备推送该用户常用组播 频道的组播流。采用本技术方案,能够进一步的减少组播请求加入的处理过程, 进一步的减少组播处理时延, 提高组播处理效率。  It should be noted that, in this embodiment, after obtaining the common channel in the access network and using the access device with the highest frequency of the common multicast channel of the user, the comparison table may be established on the network side according to the statistical result. Therefore, each common channel corresponds to an access device that uses the highest frequency of the common multicast channel of the user. The network side actively pushes the multicast stream of the common multicast channel of the user to the access device according to the comparison table. With the technical solution, the process of joining the multicast request can be further reduced, the multicast processing delay is further reduced, and the multicast processing efficiency is improved.
参照图 15 ,图 15为本发明的组播处理系统中的接入设备第四实施例的结构 示意图, 如图 15所示, 该接入设备 150包括接口板 1501以及主控板 1502、 以及 智能决策设备 1503 , 本接入设备相对于现有技术的接入设备的不同之处在于, 在接入设备内部加入了智能决策设备 1503。  Referring to FIG. 15, FIG. 15 is a schematic structural diagram of a fourth embodiment of an access device in a multicast processing system according to the present invention. As shown in FIG. 15, the access device 150 includes an interface board 1501, a main control board 1502, and an intelligent device. The decision device 1503, the access device is different from the prior art access device in that an intelligent decision device 1503 is added inside the access device.
接口板 1501包括: 接口板存储单元 1511和接口板组播复制单元 1512; 主控 板 1502包括: 主控板组播处理单元 1521、主控板存储单元 1522和主控板组播复 制单元 1523。  The interface board 1501 includes: an interface board storage unit 1511 and an interface board multicast replication unit 1512. The main control board 1502 includes: a main control board multicast processing unit 1521, a main control board storage unit 1522, and a main control board multicast replication unit 1523.
智能决策设备 1503与主控板组播处理单元 1521相连接,用于根据主控板組 播处理单元 1521记录组播维护的组播组信息以及所记录的用户组播行为、每接 口板内用户加入和离开每个组播频道的时间点,收集统计每接口板内的组播频 道的点播频率或频率的权值和频率或频率的权值的时间分布,并将该统计结果 进一步进行统计, 得到某个相对长时间内每个时间段内频道在接入设备的分 布, 得到接入设备 150内在某相对长时间内点播频率或频率的权值最高, 或者 在时间分布范围最广的几个节目频率作为用户常用组播频道。其中频率的权值 的权重因子具体根据频率所占用的带宽设置。对于占用带宽较大的频道取较小 的权重因子,对于占用带宽较小的频道取较大的权重因子,使得对于用于常用 組播频道的处理能够结合带宽资源的分配考虑, 更加合理。 智能决策设备 1503获取到该常用组播频道后, 指示主控板組播处理单元 1521根据主控板存储单元 1522中存储的主控板组播转发表,为该用户常用组播 频道建立组播組 ,主控板组播复制单元 1523根据主控板组播转发表中的常用频 道的组播组, 固定地向网络侧请求加入,使得网络向主控板 1502下发该用户常 用组播频道的組播流。 接口板存储单元 1511, 与主控板组播处理单元 1521相连接,受主控板组播 处理单元 1521控制, 用于记录接口板内当前各组播频道对应的用户的组播组。 The intelligent decision device 1503 is connected to the main control board multicast processing unit 1521, and is configured to record the multicast group information maintained by the multicast according to the main control board multicast processing unit 1521, the recorded user multicast behavior, and the user in each interface board. At the time of joining and leaving each multicast channel, collect the time distribution of the weight of the on-demand frequency or frequency of the multicast channel in each interface board and the weight of the frequency or frequency, and further statisticalize the statistical result. Obtaining the distribution of channels in the access device in each time period for a relatively long period of time, and obtaining the highest weight of the on-demand frequency or frequency in the access device 150 for a relatively long time, or the most widely distributed time range The program frequency is used as a common multicast channel for users. The weighting factor of the weight of the frequency is specifically set according to the bandwidth occupied by the frequency. A smaller weighting factor is adopted for a channel occupying a larger bandwidth, and a larger weighting factor is adopted for a channel occupying a smaller bandwidth, so that the processing for a common multicast channel can be considered more in combination with the allocation of bandwidth resources. After obtaining the common multicast channel, the smart decision device 1503 instructs the main control board multicast processing unit 1521 to establish a multicast for the common multicast channel of the user according to the main control board multicast forwarding table stored in the main control board storage unit 1522. In the group, the main control board multicast replication unit 1523 requests to join the network side according to the multicast group of the common channel in the multicast forwarding table of the main control board, so that the network sends the common multicast channel of the user to the main control board 1502. Multicast stream. The interface board storage unit 1511 is connected to the main control board multicast processing unit 1521, and is controlled by the main control board multicast processing unit 1521, and is configured to record the multicast group of the user corresponding to each multicast channel in the interface board.
接口板组播复制单元 1512,分别与接口板存储单元 1511、主控板组播复制 单元 1523相连接,用于根据接口板组播转发表中的组播组纪录,从主控板组播 复制单元 1523复制组播流,并将所复制的组播流再复制到组播组内的各用户对 应的用户端口。  The interface board multicast replication unit 1512 is connected to the interface board storage unit 1511 and the main control board multicast replication unit 1523, and is configured to perform multicast replication from the main control board according to the multicast group record in the multicast forwarding table of the interface board. The unit 1523 copies the multicast stream and copies the copied multicast stream to the corresponding user port of each user in the multicast group.
主控板组播处理单元 1521 , 与主控板存储单元 1522、接口板存储单元 1511 以及智能决策设备 1503分别相连接, 用于接收接口板 1501转发的用户 IGMP报 文, 并根据 IGMP报文进行组播处理。 该处理过程具体如下:  The main control board multicast processing unit 1521 is connected to the main control board storage unit 1522, the interface board storage unit 1511, and the smart decision device 1503, and is configured to receive the user IGMP message forwarded by the interface board 1501, and perform the IGMP message according to the IGMP message. Multicast processing. The process is as follows:
当所接收的 IGMP报文为用户请求点播组播频道, 那么主控板组播处理单 元 1521根据主控板存储单元 1522所记录的用于组播维护的组播组信息,判断该 用户所请求的组播流是否在主控板 1502上,如果该用户所请求的组播流在主控 板 1502上,主控板组播处理单元 1521指示主控板存储单元 1522,将该提交 IGMP 报文的接口板 1501加入到该组播频道所对应的组播组中 ,将该接口板 1501加入 到该组播组内后,主控板组播复制单元 1523便可根据主控板组播转发表将该组 播频道的组播流复制到接口板 1501上; 如果该用户请求的组播流不在主控板 1502上, 主控板组播处理单元 1521向网络侧请求加入, 请求下发组播流。  When the received IGMP message is requested by the user to request the multicast channel, the main control board multicast processing unit 1521 determines the requested information of the multicast group according to the multicast group information recorded by the main control board storage unit 1522 for multicast maintenance. Whether the multicast stream is on the main control board 1502. If the multicast stream requested by the user is on the main control board 1502, the main control board multicast processing unit 1521 instructs the main control board storage unit 1522 to submit the IGMP message. After the interface board 1501 is added to the multicast group corresponding to the multicast channel, and the interface board 1501 is added to the multicast group, the multicast forwarding unit 1523 of the main control board can be based on the multicast forwarding table of the main control board. The multicast stream of the multicast channel is copied to the interface board 1501. If the multicast stream requested by the user is not on the main control board 1502, the main control board multicast processing unit 1521 requests the network side to join, and requests to deliver the multicast stream. .
同时,主控板组播处理单元 1521生成该组播流对应用户端口的组播组, 并 将该组播组加入到接收到该用户请求的接口板 1501的接口板组播转发表中。  At the same time, the main control board multicast processing unit 1521 generates a multicast group corresponding to the user port of the multicast stream, and adds the multicast group to the interface board multicast forwarding table of the interface board 1501 that receives the user request.
主控板存储单元 1522 ,与主控板组播处理单元 1521以及主控板组播复制单 元 1523分别相连接, 受主控板组播处理单元 1521控制, 用于记录组播频道对应 的接口板组播组。 主控板组播复制单元 1523 , 与主控板存储单元 1522以及网络侧分别相连 接,用于根据主控板组播转发表中的组播组记录,从网络侧接收下发的组播流, 并将该组播流复制到组播组内的相应的各接口板。 The main control board storage unit 1522 is connected to the main control board multicast processing unit 1521 and the main control board multicast copy unit 1523, and is controlled by the main control board multicast processing unit 1521, and is used for recording the interface board corresponding to the multicast channel. Multicast group. The main control board multicast replication unit 1523 is connected to the main control board storage unit 1522 and the network side, and is configured to receive the delivered multicast stream from the network side according to the multicast group record in the multicast forwarding table of the main control board. And copy the multicast stream to the corresponding interface boards in the multicast group.
由上可见, 由于在接入设备 150中新增加了智能决策设备 1503, 如果用户 请求的组播频道为常用的频道,那么该组播频道的组播流在主控板 1502上,用 户 IGMP请求提交至主控板 1502, 只需要由主控板 1502处理之后, 便可以通过 接口板 1501推送至所请求用户的用户端口, 而不需要向网络侧请求组播加入, 降低了组播处理时延, 提升了组播处理效率。  It can be seen that, because the smart decision device 1503 is newly added to the access device 150, if the multicast channel requested by the user is a commonly used channel, the multicast stream of the multicast channel is on the main control board 1502, and the user IGMP requests. After being submitted to the main control board 1502, the main control board 1502 only needs to be processed by the main control board 1502, and can be pushed to the user port of the requesting user through the interface board 1501 without requesting multicast join to the network side, thereby reducing the multicast processing delay. , improve the efficiency of multicast processing.
参照图 16,图 16为本发明的组播处理系统的接入设备第五实施例的系统结 构示意图, 如图示, 本接入设备 160包括智能决策设备 1603 , 接口板 1601、 以 及主控板 1602。本接入设备 160相对于图 15所示的实施例中的接入设备 150所不 同的是, 在本实施例中接入设备 160的接口板 1601中进一步增加了接口板组播 处理单元 1613。  Referring to FIG. 16, FIG. 16 is a schematic structural diagram of a system according to a fifth embodiment of an access device of a multicast processing system according to the present invention. As shown, the access device 160 includes an intelligent decision device 1603, an interface board 1601, and a main control board. 1602. The access device 160 differs from the access device 150 in the embodiment shown in FIG. 15 in that the interface board multicast processing unit 1613 is further added to the interface board 1601 of the access device 160 in this embodiment.
智能决策设备 1603,分别与接口板组播处理单元 1613、主控板组播处理单 元 1621分别相连接, 由于本接入设备 160中引入了接口板组播处理单元 1613, 因此智能决策设备 1603在本实施例中, 只需要才艮据接口板组播处理单元 1613 所记录的用户组播行为,统计获取接入设备内的用户常用组播频道即可,该统 计方法与图 15所示实施例中的方法同理。  The intelligent decision device 1603 is respectively connected to the interface board multicast processing unit 1613 and the main control board multicast processing unit 1621. Since the interface board multicast processing unit 1613 is introduced in the access device 160, the intelligent decision device 1603 is In this embodiment, only the user multicast behavior recorded by the interface board multicast processing unit 1613 is required to obtain the common multicast channel of the user in the access device. The statistical method and the embodiment shown in FIG. The method in the same way.
进一步地, 智能决策设备 1603除了统计获取得到接入设备 160内在某相对 长时间内点播频率最高的几个节目频率作为用户常用组播频道外,进一步获取 使用该用户常用组播频道频率较高的具体各接口板 1601。 并且智能决策设备 1603指示主控板组播处理单元 1621根据主控板組播转发表,为该用户常用组播 频道建立组播组,使得各常用频道分别与使用该用户常用组播频道频率较高的 具体各接口板 1601相对应。使得主控板 1602接收到网络下发的该常用频率的组 播流时,主控板组播复制单元 1523根据该用户常用组播频道的組播组, 自动地 将该用户常用组播频道的组播流向使用该用户常用组播频道频率或频率的权 值较高, 或者, 使用该用户常用组播频道的时间较长的具体接口板 1601推送。  Further, the intelligent decision device 1603 obtains, in addition to the statistics, the number of program frequencies in the access device 160 that are most frequently used in a relatively long time as the user's common multicast channel, and further acquires the frequency of using the common multicast channel of the user. Specific interface boards 1601. And the smart decision device 1603 instructs the main control board multicast processing unit 1621 to establish a multicast group for the common multicast channel of the user according to the multicast forwarding table of the main control board, so that the common channels are compared with the frequency of the common multicast channel used by the user. The high specific interface boards 1601 correspond to each other. When the main control board 1602 receives the multicast stream of the common frequency delivered by the network, the main control board multicast replication unit 1523 automatically multicasts the common multicast channel of the user according to the multicast group of the common multicast channel of the user. The multicast stream has a higher weight for using the frequency or frequency of the common multicast channel of the user, or is pushed by a specific interface board 1601 that uses the user's common multicast channel for a long time.
接口板 1601包括: 接口板组播处理单元 1613, 与本接口板 1601内的接口板存储单元 1511 , 以 及主控板组播处理单元 1621、智能决策设备 1603分别相连接,用于根据用户所 发送的 IGMP报文进行相应组播处理。 比如: The interface board 1601 includes: The interface board multicast processing unit 1613 is connected to the interface board storage unit 1511 in the interface board 1601, and the main control board multicast processing unit 1621 and the intelligent decision device 1603, respectively, for performing the IGMP message sent by the user. Corresponding multicast processing. such as:
当接口板 1601接收到用户发送的用于点播组播频道的 IGMP报文时, 根据 接口板存储单元 1511所记录的组播维护组播组,判断用户所请求的组播流是否 在接口板上,如果该用户所请求的组播流在接口板 1601上,接口板组播处理单 元 1613指示接口板组播复制单元 1512根据接口板存储单元 1511记录的该组播 频道所对应的组播组,将该组播频道的组播流复制到用户端口; 如果该用户所 请求的组播流不在接口板 1601上,那么接口板组播处理单元 1613指示接口板存 储单元 1511增加该组播频道的组播组到接口板组播转发表中,并且接口板组播 处理单元 1613将该用户 IGMP报文转发至主控板组播处理单元 1621 , 向主控板 组播处理单元 1621请求该用户请求加入的组播频道的组播流。  When the interface board 1601 receives the IGMP message for the multicast channel to be broadcasted by the user, it determines whether the multicast stream requested by the user is on the interface board according to the multicast maintenance multicast group recorded by the interface board storage unit 1511. If the multicast stream requested by the user is on the interface board 1601, the interface board multicast processing unit 1613 instructs the interface board multicast replication unit 1512 to perform the multicast group corresponding to the multicast channel recorded by the interface board storage unit 1511. Copying the multicast stream of the multicast channel to the user port; if the multicast stream requested by the user is not on the interface board 1601, the interface board multicast processing unit 1613 instructs the interface board storage unit 1511 to add the group of the multicast channel. The multicast group is forwarded to the interface board multicast forwarding table, and the interface board multicast processing unit 1613 forwards the user IGMP message to the main control board multicast processing unit 1621, and requests the main control board multicast processing unit 1621 to request the user to join. Multicast stream of multicast channels.
接口板存储单元 1511 ,分别与接口板组播处理单元 1613、接口板组播复制 单元 1512相连接, 受接口板组播处理单元 1613控制, 用于记录组播频道对应的 用户的组播组。  The interface board storage unit 1511 is connected to the interface board multicast processing unit 1613 and the interface board multicast replication unit 1512, and is controlled by the interface board multicast processing unit 1613, and is configured to record the multicast group of the user corresponding to the multicast channel.
接口板组播复制单元 1512,本单元的连接关系以及功能与图 15所示实施例 中的相同。  The interface board multicast copy unit 1512 has the same connection relationship and functions as those in the embodiment shown in FIG.
主控板 1602与图 15所示实施例所不同之处在于主控板组播处理单元 1621 , 本实施例中, 主控板组播处理单元 1621与主控板存储单元 1522、接口板组播处 理单元 1512以及智能决策设备 1603分别相连接,用于接收接口板组播处理单元 1613所发送的组播流请求, 并根据请求进行组播处理。  The difference between the main control board 1602 and the embodiment shown in FIG. 15 is the main control board multicast processing unit 1621. In this embodiment, the main control board multicast processing unit 1621 and the main control board storage unit 1522 and the interface board multicast. The processing unit 1512 and the intelligent decision device 1603 are respectively connected to receive the multicast stream request sent by the interface board multicast processing unit 1613, and perform multicast processing according to the request.
由上面描述可知,由于在该接入设备的每接口板增加了接口板组播处理单 元 1613,将原来集中在主控板上的所有组播处理,分布到每个接口板以及主控 板上协同处理。 由于采用了该组播分布式处理, 当接口板存在多个用户加入同 一个节目源的时候,主控板只需要处理第一个请求就可以了, 而不需要重复处 理,使用本发明实施例的接入设备可以充分利用系统的处理能力, 大大提升接 入设备的组播处理能力。  As shown in the above description, since the interface board multicast processing unit 1613 is added to each interface board of the access device, all multicast processing originally concentrated on the main control board is distributed to each interface board and the main control board. Collaborative processing. Because the multicast distributed processing is adopted, when the interface board has multiple users joining the same program source, the main control board only needs to process the first request, and does not need to repeat the processing, and uses the embodiment of the present invention. The access device can fully utilize the processing capability of the system and greatly improve the multicast processing capability of the access device.
进一步的, 由于采用该组播分布式处理的模式,接口板上的组播转发表由 接口板自行根据接收到的用户 IGMP报文进行配置, 而不是由主控板根据接口 N2007/001644 Further, the mode of the multicast distributed processing is adopted, and the multicast forwarding table on the interface board is configured by the interface board according to the received user IGMP message, instead of being configured by the main control board according to the interface. N2007/001644
-34- 板转发的用户 IGMP报文生成, 再分发至各接口板; 主控板只需要根据接口板 向主控板转发的 IGMP报文, 对自身的组播转发表进行配置即可。 可见采用本 发明方法, 节省了接入设备内部的通信, 有利于提高处理速度。  -34- The user forwards the IGMP messages to the interface board. The main control board only needs to configure the multicast forwarding table based on the IGMP messages forwarded by the interface board to the main control board. It can be seen that the method of the invention saves the communication inside the access device, which is beneficial to improve the processing speed.
进一步的,如果用户请求的组播频道为接口板 1601内的点播频率较高的频 道, 那么用户 IGMP请求到达接口板 1601之后, 便可以直接由接口板 1601推送 至所请求用户的用户端口, 而不需要向上提交主控板 1602处理,进一步地降低 了组播处理时延, 大大提升了组播处理效率。  Further, if the multicast channel requested by the user is a channel with a higher on-demand frequency in the interface board 1601, after the user IGMP request reaches the interface board 1601, the user interface can be directly pushed by the interface board 1601 to the user port of the requested user. It is not required to be submitted to the main control board 1602 for processing, which further reduces the multicast processing delay and greatly improves the multicast processing efficiency.
参照图 17,图 17为本发明的组播处理系统第二实施例结构示意图,如图示, 本实施例将智能决策设备 340应用于整个接入网络,智能决策设备 340接入网络 80内的各接入设备 800 (在此该接入设备 800既可以为现有技术中的接入设备, 亦可以为图 15所示的接入设备 150,还可以为图 16所示的接入设备 160 )分别相 连接,智能决策设备 340与 入设备 800的连接关系具体是, 与每个接入设备 800的主控板组播处理单元分别相连接。 用于通过指示主控板组播处理单元, 根据与主控板组播处理单元相连接的各接口板组播处理单元所记录的用户组 播行为,统计主控板内每接口板加入和离开每个组播频道的时间点,统计每接 入设备内的各组播频道的用户点播频率或频率的权值,以及频率或频率的权值 的时间分布, 将结果进行统计, 得到接入网络 80内的所有接入设备 800在某相 当长的时间内点播频率或频率的权值最高或者频率的使用时间最长的几个节 目频率作为用户常用组播频道,并进一步选取该用户常用组播频道在对应接入 设备 800内点播频率或频率的权值较高, 或者使用该用户常用组播频道的时间 最长的具体接入设备作为该用户常用组播频道的常用接入设备。  Referring to FIG. 17, FIG. 17 is a schematic structural diagram of a second embodiment of a multicast processing system according to the present invention. As shown in the figure, the smart decision device 340 is applied to the entire access network, and the smart decision device 340 is connected to the network 80. Each of the access devices 800 (the access device 800 may be an access device in the prior art, or an access device 150 shown in FIG. 15 or an access device 160 shown in FIG. 16). The connection relationship between the smart decision device 340 and the ingress device 800 is specifically connected to the main control board multicast processing unit of each access device 800. For instructing the main control board multicast processing unit, according to the user multicast behavior recorded by each interface board multicast processing unit connected to the main control board multicast processing unit, statistics are added and removed from each interface board in the main control board. At the time point of each multicast channel, the weight of the user's on-demand frequency or frequency of each multicast channel in each access device, and the time distribution of the weight of the frequency or frequency are counted, and the result is statistically obtained to obtain an access network. All access devices 800 in 80 select the highest frequency of the frequency or frequency or the program frequency of the longest frequency as the user's common multicast channel for a relatively long period of time, and further select the common multicast of the user. The channel has a higher weight on the frequency or frequency of the corresponding access device 800, or the specific access device that uses the user's common multicast channel for the longest time is used as a common access device for the common multicast channel of the user.
智能决策设备 340根据上述所获取结果, 建立常用频道与该常用该用户常 用组播频道的接入设备 800的对照表, 并根据对照表, 通知对照表中指示对照 表中的常用接入设备的主控板组播处理单元主动向网络侧发送加入申请,请求 本接入设备内点播频率较高的常用频道的组播流。  The smart decision device 340 establishes a comparison table between the common channel and the access device 800 that commonly uses the common multicast channel of the user according to the obtained result, and notifies the common access device in the comparison table in the comparison table according to the comparison table. The multicast processing unit of the main control board actively sends a join request to the network side to request a multicast stream of a common channel with a high frequency of on-demand in the access device.
由上可见, 由在整个接入网系统上, 增加了智能决策设备 340, 智能决策 设备 340使得接入网络 80中的接入设备 800能够预先获取本设备使用频率较高 的常用频道对应的组播流。 有利于提高组播处理网络的组播处理效率。 参照图 18, 图 18为本发明的组播处理系统第三实施例的结构示意图,如图 示,本实施例与图 17所示实施例所不同之处在于, 与接入网络 90内的各接入设 备 800分别相连接的智能决策设备 350还与 IP城域网 107相连接。 进一步的在获 取到接入网络常用组播频道以及使用该常用组播频道频率较高的接入设备后, 在 IP城域网 107内建立常用频道与使用该用户常用组播频道频率较高的接入设 备 800对照表, 使得 D城域网 107主动地根据该对照表, 向对照表中的接入设备 800推送相应的组播频道的组播流。 It can be seen that the smart decision device 340 is added to the entire access network system, and the smart decision device 340 enables the access device 800 in the access network 80 to obtain a group corresponding to the common channel with a higher frequency of use of the device. Broadcast. It is beneficial to improve the multicast processing efficiency of the multicast processing network. Referring to FIG. 18, FIG. 18 is a schematic structural diagram of a third embodiment of a multicast processing system according to the present invention. As shown in the figure, the embodiment is different from the embodiment shown in FIG. The intelligent decision device 350 to which the access devices 800 are respectively connected is also connected to the IP metropolitan area network 107. After obtaining the common multicast channel of the access network and using the access device with the high frequency of the common multicast channel, the common channel is established in the IP metropolitan area network 107 and the frequency of using the common multicast channel of the user is relatively high. The access device 800 compares the table, so that the D metropolitan area network 107 actively pushes the multicast stream of the corresponding multicast channel to the access device 800 in the lookup table according to the lookup table.
由上可见, 由于本实施例使用了 IP城域网 107主动推送下发接入系统常用 的节目频率的组播流,进一步地減少了组播请求处理的时延, 提高了组播处理 效率。  It can be seen that, in this embodiment, the IP metropolitan area network 107 is used to actively push the multicast stream of the program frequency commonly used by the access system, thereby further reducing the delay of the multicast request processing and improving the multicast processing efficiency.
以上所述仅是本发明的优选实施方式,应当指出,对于本技术领域的普通 技术人员来说, 在不脱离本发明原理的前提下, 还可以作出若干改进和润饰, 这些改进和润饰也应视为本发明的保护范围。  The above description is only a preferred embodiment of the present invention, and it should be noted that those skilled in the art can also make several improvements and retouchings without departing from the principles of the present invention. It is considered as the scope of protection of the present invention.

Claims

权 利 要 求 Rights request
1、 一种组播业务处理方法, 其特征在于, 包括:  A multicast service processing method, comprising:
接入设备接收来自终端设备的组播节目请求报文;  The access device receives the multicast program request message from the terminal device;
根据所述组播节目请求报文查询获得节目分级参数;  Obtaining a program grading parameter according to the multicast program request message query;
根据所述节目分级参数生成组播节目数据;  Generating multicast program data according to the program ranking parameter;
将所述组播节目 :据传送给所述终端设备。  Transmitting the multicast program: data to the terminal device.
2、 如权利要求 1所述的方法, 其特征在于, 所述方法还包括:  2. The method according to claim 1, wherein the method further comprises:
所述接入设备接收到来自终端设备的组播节目请求报文后,对所述终端设 备进行鉴权,如果鉴权成功, 则执行所述根椐所述组播节目请求报文查询获得 节目分级参数的步骤。  After receiving the multicast program request message from the terminal device, the access device performs authentication on the terminal device, and if the authentication is successful, performing the query on the multicast program request message to obtain a program. The step of grading parameters.
3、 如权利要求 1所述的方法, 其特征在于, 所述组播节目分级参数包括: 組播组 IP地址和组播节目分级优先级。  3. The method according to claim 1, wherein the multicast program grading parameters comprise: a multicast group IP address and a multicast program grading priority.
4、 如权利要求 1至 3任一项所述的方法, 其特征在于, 所述将所述组播 节目数据传送给所述终端设备的步骤包括:  The method according to any one of claims 1 to 3, wherein the step of transmitting the multicast program data to the terminal device comprises:
按照预先设置的控制策略传送所述组播节目数据, 所述控制策略包括: 组 播节目分级优先级低的优先下线; 和 /或组播节目分级优先级高的优先下线; 和 /或组播节目分级优先級高于设定阔值时, 终端设备的最大同时在线节目个 数; 和 /或组播节目分级优先级低于设定阔值, 终端设备的最大同时在线节目 个数。  Transmitting the multicast program data according to a preset control policy, where the control policy includes: a priority downlink with a lower priority of the multicast program; and/or a priority lower priority with a higher priority of the multicast program; and/or When the multicast program grading priority is higher than the set threshold, the maximum number of simultaneous online programs of the terminal device; and/or the multicast program grading priority is lower than the set threshold, and the maximum number of simultaneous online programs of the terminal device.
5、一种接入设备, 包括: IGMP报文处理单元、路由器加入离开报文单元, 其特征在于, 还包括:  An access device, comprising: an IGMP packet processing unit, and a router joining and leaving a message unit, wherein the method further includes:
组播节目管理单元, 用于设置管理组播节目分级形式与分级优先级, 并在 所述 IGMP报文处理单元接收到终端设备的组播节目请求报文后 , 根据所述分 级形式与分级优先级生成组播节目数据,并 4夸所述组播节目数据传送给所述路 由器加入离开 文单元。  a multicast program management unit, configured to set a management multicast program hierarchical format and a hierarchical priority, and after the IGMP packet processing unit receives the multicast program request message of the terminal device, according to the hierarchical form and the hierarchical priority The level generates multicast program data, and 4 exaggerates the multicast program data to be transmitted to the router to join the leaving message unit.
6、 如权利要求 5所述的接入设备, 其特征在于, 所述接入设备还包括: 终端设备识别 /鉴权、 频道状态管理单元, 用于对终端设备进行合法性检 查,并根据终端设备点播的组播节目的分级优先级确定所述路由器加入离开报 文单元进行组播节目数据转发的控制策略。 The access device according to claim 5, wherein the access device further comprises: a terminal device identification/authentication, and a channel state management unit, configured to perform legality check on the terminal device, and according to the terminal The hierarchical priority of the multicast program on demand of the device determines that the router joins the leave message The text unit controls the multicast program data forwarding.
7、 如权利要求 5所述的接入设备, 其特征在于, 所述接入设备还包括: 鉴权单元, 用于根据所述 IGMP报文处理单元接收的組播节目请求报文, 对所述终端设备进行鉴权。  The access device according to claim 5, wherein the access device further includes: an authentication unit, configured to receive, according to the multicast program request message received by the IGMP packet processing unit, The terminal device performs authentication.
8、 如权利要求 5所述的接入设备, 其特征在于, 所述接入设备还包括: 频道状态管理单元,用于根据所述终端设备点播的组播节目的分级优先级 确定所述路由器加入离开报文单元进行组播节目数据转发的控制策略。  The access device according to claim 5, wherein the access device further includes: a channel state management unit, configured to determine the router according to a hierarchical priority of a multicast program that is requested by the terminal device Join the leave message unit to control the multicast program data forwarding.
9、 一种组播业务处理方法, 其特征在于, 包括: 获得组播节目收视率统 计信息;  A multicast service processing method, comprising: obtaining multicast program rating statistics information;
根据所述收视率统计信息确定组播节目优先级,并将所述优先级配置到所 述接入设备;  Determining a multicast program priority according to the rating statistics information, and configuring the priority to the access device;
接入设备根据所述组播节目优先级对组播节目进行差异化处理。  The access device differentiates the multicast program according to the multicast program priority.
10、如权利要求 9所述的方法, 其特征在于, 所述获得组播节目收视率统 计信息的步骤包括:  10. The method of claim 9, wherein the step of obtaining multicast program rating statistics information comprises:
所述接入设备获取用户组播行为信息;  The access device acquires user multicast behavior information;
根据所述用户组播行为信息获得组播节目收视率统计信息。  Obtaining multicast program rating statistics information according to the user multicast behavior information.
11、如权利要求 10所述的方法, 其特征在于, 所述接入设备根据接收到 的终端设备的组播节目请求报文获得用户组播行为信息。  The method according to claim 10, wherein the access device obtains user multicast behavior information according to the received multicast program request message of the terminal device.
12、如权利要求 9所述的方法, 其特征在于, 所述根据所述节目优先级对 节目进行差异化处理的步骤包括:  The method according to claim 9, wherein the step of differentiating the program according to the program priority comprises:
为节目预留带宽、和 /或节目静态转发到接入设备、 和 /或按照 802.1p信息 保证节目质量、和 /或为节目预留组播资源、和 /或并发时优先发送 IGMP协议。  The bandwidth is reserved for the program, and/or the program is statically forwarded to the access device, and/or the program quality is guaranteed in accordance with the 802.1p information, and/or the multicast resources are reserved for the program, and/or the IGMP protocol is preferentially transmitted when concurrent.
13、如权利要求 9所述的方法, 其特征在于, 所述根据所述收视率统计信 息确定组播节目优先级的步骤包括:  The method according to claim 9, wherein the determining the priority of the multicast program according to the rating statistics information comprises:
对所述统计信息进行高次曲线拟合法、 或权重算术平均或最小方根处理, 确定节目优先级。  The statistical information is subjected to a high-order curve fitting method, or a weighted arithmetic average or a minimum square root processing to determine a program priority.
14、 如权利要求 9所述的方法, 其特征在于, 所述方法还包括: 周期性刷 新或实时刷新所述接入设备中的组播节目优先级配置。 The method according to claim 9, wherein the method further comprises: periodically refreshing or real-time refreshing the multicast program priority configuration in the access device.
15、 一种接入设备, 其特征在于, 包括: 15. An access device, comprising:
IGMP报文处理单元, 用于接收报文, 所述报文包括来自终端设备的组播 节目请求报文;  An IGMP message processing unit, configured to receive a message, where the message includes a multicast program request message from the terminal device;
路由器加入离开报文单元, 用于将组播节目发送给所述终端设备; 其特征在于, 还包括:  The router joins the leaving message unit, and is configured to send the multicast program to the terminal device. The method further includes:
收视率统计单元, 用于获得组播节目收视率统计信息;  a rating unit for obtaining statistics on multicast program ratings;
组播节目优先級确定单元,用于根据所述收视率统计信息确定组播节目优 先级;  a multicast program priority determining unit, configured to determine a multicast program priority according to the audience rating statistics information;
组播节目处理单元,用于根据所述组播节目优先级对所述终端设备请求的 组播节目进行差异化处理,并将处理后的组播节目传送给所述路由器加入离开 报文单元。  The multicast program processing unit is configured to perform differentiating processing on the multicast program requested by the terminal device according to the priority of the multicast program, and transmit the processed multicast program to the router to join the leaving message unit.
16、如权利要求 15所述的接入设备, 其特征在于, 所述接入设备还包括: 组播行为信息获得单元,用于根据所述组播节目请求报文获得用户组播行 为信息; .  The access device according to claim 15, wherein the access device further includes: a multicast behavior information obtaining unit, configured to obtain user multicast behavior information according to the multicast program request message; .
所述收视率统计单元根据所述用户组播行为信息获得组播节目收视率统 计信息。  The audience rating unit obtains multicast program rating statistics based on the user multicast behavior information.
17、 如权利要求 15所述的接入设备, 其特征在于, 所述组播节目处理单 元包括:  The access device according to claim 15, wherein the multicast program processing unit comprises:
预留带宽子单元, 用于为所述组播节目预留带宽; 和 /或  a reserved bandwidth subunit, configured to reserve bandwidth for the multicast program; and/or
静态转发子单元, 用于将所述组播节目静态转发到所述接入设备; 和 /或 质量保证子单元, 用于将所述组播节目按照 802.1p信息保证节目质量; 和 a static forwarding subunit, configured to statically forward the multicast program to the access device; and/or a quality assurance subunit, configured to ensure the program quality according to the 802.1p information; and
/或 / or
预留组播资源子单元, 用于为所述组播节目预留组播资源; 和 /或 并发处理子单元,用于在将所述组播节目存 緩存队列时,有多个并发处 理进程的情况下, 将所述组播节目优先插入所述緩存队列的头部。  a reserved multicast resource subunit, configured to reserve a multicast resource for the multicast program; and/or a concurrent processing subunit, configured to have multiple concurrent processing processes when the multicast program is cached in a queue In the case of the multicast program, the multicast program is preferentially inserted into the header of the cache queue.
18、一种组播业务处理系统,其特征在于, 包括:接入设备和策略服务器, 所述接入设备包括: 组播行为信息获得单元、 发送单元、 组播节目处理单元; 所述策略服务器包括:收视率统计单元、组播节目优先级确定单元、配置单元; 所述组播行为信息获得单元,用于根据所述接入设备收到的终端设备的组 播节目请求报文获得用户组播行为信息; A multicast service processing system, comprising: an access device and a policy server, the access device comprising: a multicast behavior information obtaining unit, a sending unit, and a multicast program processing unit; The method includes: a rating unit, a multicast program priority determining unit, and a configuration unit; the multicast behavior information obtaining unit, configured to receive, according to the group of the terminal device received by the access device The broadcast program request message obtains user multicast behavior information;
所述发送单元, 用于将所述用户组播行为信息发送给所述策略服务器; 所述收视率统计单元,用于根据所述用户组播行为信息获得組播节目收视 率统计信息;  The sending unit is configured to send the user multicast behavior information to the policy server, where the audience rating information unit is configured to obtain multicast program rating statistics information according to the user multicast behavior information;
所述组播节目优先级确定单元,用于根据所述收视率统计信息确定组播节 目优先级;  The multicast program priority determining unit is configured to determine a multicast program priority according to the audience rating statistics information;
所述配置单元, 用于将所述组播节目优先级配置到所述接入设备; 所述组播节目处理单元,用于根据所述组播节目优先级对所述终端设备请 求的组播节目进行差异化处理。  The configuration unit is configured to configure the multicast program priority to the access device, and the multicast program processing unit is configured to: request, according to the priority of the multicast program, the multicast requested by the terminal device The program is differentiated.
19、 如权利要求 18所述的系统, 其特征在于, 所述策略服务器还包括: 定时器,用于周期地通知所述配置单元向所述接入设备下发组播节目优先 级配置信息。  The system of claim 18, wherein the policy server further comprises: a timer, configured to periodically notify the configuration unit to deliver multicast program priority configuration information to the access device.
20、 一种组播业务处理方法, 其特征在于, 包括:  20. A method for processing a multicast service, comprising:
当接收到组播频道加入报文后,判断是否允许当前业务端口加入所述申请 加入的组播频道;  After receiving the multicast channel join message, determining whether to allow the current service port to join the multicast channel to which the application is added;
如果允许, 则转发该申请加入的组播频道;  If allowed, forward the multicast channel to which the application is added;
如果不允许,则在所述业务端口当前正在转发的频道中查询是否存在申请 离开后在特定组查询响应时间超时之前还未接收到响应的组播频道, 如果存 在, 停止转发所述申请离开的一个組播频道, 并转发该申请加入的组播频道, 否则, 拒绝该组播频道的加入。  If not allowed, the channel currently being forwarded by the service port is queried whether there is a multicast channel that has not received a response before the specific group query response time expires after the application leaves, and if yes, stops forwarding the application to leave. A multicast channel, and forwards the multicast channel to which the application is added. Otherwise, the join of the multicast channel is rejected.
21、 如权利要求 20所述的方法, 其特征在于, 所述停止转发所述申请离 开的一个组播频道的步骤包括:  The method according to claim 20, wherein the step of stopping forwarding a multicast channel that the application leaves is:
停止转发响应时间将最早超时的申请离开的组播频道。  Stop forwarding the multicast channel that the response time will leave the oldest application.
22、 如权利要求 20所述的方法, 其特征在于, 所述方法还包括: 当接收到组播频道离开报文,将申请离开后在特定组查询响应时间超时之 前还未接收到响应的组播频道设置为即将离开状态;  The method according to claim 20, wherein the method further comprises: a group that has not received the response before the specific group query response time expires after receiving the multicast channel leaving message The broadcast channel is set to be about to leave;
当接收到组播频道离开报文,所述在当前正在转发的频道中查询是否存在 申请离开后在特定组查询响应时间超时之前还未接收到响应的组播频道为:在 当前正在转发的频道中查询是否存在处于即将离开状态的组播频道。 When receiving the multicast channel leaving message, the multicast channel that has not received the response before the specific group query response time expires after querying whether there is a request to leave is: the channel currently being forwarded. The middle query asks if there is a multicast channel in the upcoming state.
23、 如权利要求 20所述的方法, 其特征在于, 所述判断是否允许当前业 务端口加入该申请加入的组播频道的步骤包括: The method of claim 20, wherein the step of determining whether to allow the current service port to join the multicast channel to which the application joins includes:
判断申清加入的組播频道是否是当前正在转发的组播频道,如果是, 则允 许所述申请加入的组频道的加入;  Determining whether the multicast channel added by the application is the multicast channel currently being forwarded, and if so, allowing the joining of the group channel to which the application is added;
如果不是, 则判断是否允许当前业务端口加入新的组播频道, 如果是, 则 允许所述申清加入的组频道的加入, 否则, 则不允许所述申请加入的组频道的 加入。  If not, it is determined whether the current service port is allowed to join the new multicast channel, and if so, the joining of the group channel to which the application is added is allowed, otherwise, the joining of the group channel to which the application is added is not allowed.
24、 如权利要求 23所述的方法, 其特征在于, 所述判断是否允许当前业 务端口加入新的组播频道的步骤包括:  The method of claim 23, wherein the step of determining whether to allow the current service port to join the new multicast channel comprises:
判断所述业务端口当前正在转发的组播频道数是否小于所述的业务端口 能够接入的組播频道数, 如果是, 则允许新的組播频道的加入, 否则, 则不允 许新的组播频道的加入。  Determining whether the number of multicast channels currently being forwarded by the service port is smaller than the number of multicast channels that the service port can access, and if yes, allowing a new multicast channel to join, otherwise, not allowing a new group The addition of the broadcast channel.
25、 一种接入设备, 包括频道离开处理单元和频道加入处理单元, 其中, 所述频道离开处理单元, 用于在所述接入设备接收到组播频道离开报文 后,向接收到所述组播频道的业务端口发送所述申请离开的组播频道特定组查 询报文, 在特定组查询响应时间超时后, 停止申请离开的组播频道的转发, 其特征在于, 所述的频道加入处理单元包括: 组播转发单元、 第一控制单 元和第二控制单元, 其中,  An access device, comprising a channel leaving processing unit and a channel joining processing unit, wherein the channel leaving processing unit is configured to: after receiving the multicast channel leaving message, the access device receives the receiving device The service port of the multicast channel sends the multicast channel specific group query message of the application to leave, and after the specific group query response time expires, the forwarding of the reserved multicast channel is stopped, and the channel is added. The processing unit includes: a multicast forwarding unit, a first control unit, and a second control unit, where
所述组播转发单元, 用于控制组播频道的转发;  The multicast forwarding unit is configured to control forwarding of a multicast channel;
所述第一控制单元, 用于在所述接入设备接收到组播频道加入报文后, 判 断是否允许当前业务端口加入申请加入的组播频道,如果是,通知所述组播转 发单元转发该申请加入的组播频道, 否则, 交给所述第二控制单元进行处理; 所述第二控制单元,用于在当前正在转发的频道中查询是否存在申请离开 后在特定組查询响应时间超时之前还未接收到响应的组播频道,如果存在,通 知所述组播转发单元停止转发所述申请离开的一个组播频道,并转发该申请加 入的组播频道, 否则, 拒绝该组播频道的加入。  The first control unit is configured to: after the access device receives the multicast channel join message, determine whether the current service port is allowed to join the multicast channel to be joined, and if yes, notify the multicast forwarding unit to forward The multicast channel to which the application is added, otherwise, is sent to the second control unit for processing; the second control unit is configured to query, in the channel currently being forwarded, whether there is a request to leave after a specific group query response time expires a multicast channel that has not received a response before, if yes, notifying the multicast forwarding unit to stop forwarding a multicast channel that the application leaves, and forwarding the multicast channel that the application joins, otherwise, rejecting the multicast channel Join.
26、 如权利要求 25所述的接入设备, 其特征在于, 所述第二控制单元中 停止转发所示申请离开的一个组播频道为停止转发响应时间将最早超时的组 播频道。 The access device according to claim 25, wherein the second control unit stops forwarding a multicast channel leaving the application request to stop multicasting the multicast channel whose response time is the oldest.
27、 如权利要求 25所述的接入设备, 其特征在于, 27. The access device of claim 25, wherein
所述的频道离开处理单元还包括:状态设定单元,用于将申请离开后在特 定组查询响应时间超时之前还未接收到响应的组播频道设置为即将离开状态; 所述的第二控制单元查询是否存在申请离开后在特定组查询响应时间超 时之前还未接收到响应的组播频道为:查询是否存在处于即将离开状态的组播 频道。  The channel leaving processing unit further includes: a state setting unit, configured to set a multicast channel that has not received the response before the specific group query response time expires after the application leaves, to be in an upcoming state; the second control The unit queries whether there is a multicast channel that has not received a response before the specific group query response time expires after the application leaves: query whether there is a multicast channel in the upcoming state.
28、 如权利要求 26所述的接入设备, 其特征在于, 所述第一控制单元包 括:  The access device according to claim 26, wherein the first control unit comprises:
所述第一判断单元,用于判断申请加入的组播频道是否是当前正在转发的 组播频道, 如果是, 则允许所述申请加入的組频道的加入, 否则, 通知所述第 二判断子单元进行判断;  The first determining unit is configured to determine whether the multicast channel to be joined is the multicast channel currently being forwarded, and if yes, allow the joining of the group channel to which the application is added, otherwise, notify the second determining The unit makes a judgment;
所述第二判断单元, 用于判断是否允许当前业务端口加入新的组播频道, 如果是, 则允许所述申请加入的组频道的加入, 否则, 则不允许所述申请加入 的组频道的加入。  The second determining unit is configured to determine whether to allow the current service port to join the new multicast channel, and if yes, allow the joining of the group channel to which the application is added, otherwise, the group channel to which the application is added is not allowed. Join.
29、 一种组播业务处理方法, 其特征在于, 包括:  A multicast service processing method, comprising:
接入设备获取用户常用组播频道;  The access device acquires a common multicast channel of the user;
在所述接入设备的主控板组播转发表中生成所述用户常用组播频道的组 播组 ·,  Generating a multicast group of the common multicast channel of the user in the multicast forwarding table of the main control board of the access device,
所述主控板根据所述组播组,向网络侧请求下发所述用户常用组播频道的 组播流。  The main control board requests the network side to deliver the multicast stream of the common multicast channel of the user according to the multicast group.
30、 根据权利要求 29所述的方法, 其特征在于, 所述用户常用组播频道 为所述接入设备内的用户常用组播频道,所述统计获取用户常用组播频道的步 骤包括:  The method according to claim 29, wherein the common multicast channel of the user is a common multicast channel of the user in the access device, and the step of obtaining the common multicast channel of the user by using the statistics includes:
根据所述接入设备的各接口板内的用户组播行为,统计获取各接口板内的 频道的点播频率或所述频率的权值,以及所述频率或所述频率的权值的时间分 布, 其中所述频率的权值的权重具体是根据所述频道的带宽进行选取;  Obtaining, according to the user multicast behavior in each interface board of the access device, the on-demand frequency of the channel in each interface board or the weight of the frequency, and the time distribution of the frequency or the weight of the frequency The weight of the weight of the frequency is specifically selected according to the bandwidth of the channel;
根据所述统计值选取所述频率或所述频率的权值高,或者,选取所述频率 或所述频率的权值的时间分布范围广的频道作为所述接入设备内的用户常用 组播频道。 Selecting, according to the statistical value, the weight of the frequency or the frequency is high, or selecting a channel with a wide time distribution of the frequency or the weight of the frequency as a common multicast of the user in the access device. Channel.
31、 根据权利要求 30所述的方法, 其特征在于, 在获取所述接入设备内 的用户常用组播频道之后, 进一步包括: The method according to claim 30, further comprising: after acquiring a common multicast channel of the user in the access device, further comprising:
获取所述用户常用组播频道的点播频道或所述频道的权值高,或者所述点 播频道或所述频道的权值的时间分布范围广的接口板,作为所述用户常用组播 频道的常用接口板;  Obtaining an on-demand channel of the common multicast channel of the user or a weight of the channel, or an interface board having a wide time distribution of the weight of the on-demand channel or the channel, as a common multicast channel of the user Common interface board;
在所述主控板组播转发表中的所述用户常用组播频道的组播组中加入所 述常用接口板;  Adding the common interface board to the multicast group of the common multicast channel of the user in the multicast forwarding table of the main control board;
所述主控板根据所述组播组,将所述用户常用组播频道的组播流复制到所 述常用接口板。  The main control board copies the multicast stream of the common multicast channel of the user to the common interface board according to the multicast group.
32、 根据权利要求 29所述的方法, 其特征在于, 所述用户常用组播频道 为接入网络内的用户常用组播频道,所述统计获取所述用户常用组播频道的步 驟包括:  The method according to claim 29, wherein the common multicast channel of the user is a common multicast channel of the user in the access network, and the step of obtaining the common multicast channel of the user by the statistics includes:
根据所述接入网络内的各接入设备的各接口板内的用户组播行为,获取各 接口板内的频道的点播频率或所述频率的权值,以及所述频率或所述频率的权 值的时间分布,其中所述频率的权值的权重具体是根据所述频道的带宽进行选 取;  Acquiring the on-demand frequency of the channel in each interface board or the weight of the frequency, and the frequency or the frequency according to the user multicast behavior in each interface board of each access device in the access network a time distribution of the weights, wherein the weights of the weights of the frequencies are specifically selected according to the bandwidth of the channel;
根据所述统计值选取所述频率或所述频率的权值高,或者, 时间分布范围 广的频道作为所述接入网络内的用户常用组播频道,并且根据所述统计结果获 取所述接入网络内的用户常用组播频道的频率或所述频率的权值高,或者,选 取时间分布范围广的接入设备, 作为所述用户常用组播频道的常用接入设备。  Selecting, according to the statistical value, the frequency or the frequency of the frequency is high, or a channel having a wide time distribution is used as a common multicast channel of the user in the access network, and acquiring the connection according to the statistical result. The frequency of the common multicast channel of the user in the network or the weight of the frequency is high, or the access device with a wide time distribution is selected as the common access device of the common multicast channel of the user.
33、 根据权利要求 32所述的方法, 其特征在于, 所述方法还包括: 在 IP城域网中, 建立所述常用組播频道对应所述接入网络内的所述常用 接入设备的列表;  The method according to claim 32, wherein the method further comprises: establishing, in an IP metropolitan area network, the common multicast channel corresponding to the commonly used access device in the access network List
IP城域网网络侧据所述常用接入设备的列表向所述列表中的接入设备推 送所述接入网絡内的用户常用组播频道的组播流。  The IP metropolitan area network side pushes the multicast stream of the common multicast channel of the user in the access network to the access device in the list according to the list of the commonly used access devices.
34、根据权利要求 29至 33任何一项所述的方法, 其特征在于, 所述方法 进一步包括:  The method according to any one of claims 29 to 33, wherein the method further comprises:
所述接口板接收用户加入请求;  The interface board receives a user join request;
根据所述接口板记录的组播组信息,判断所述用户请求的组播流是否在所 述接口板; Determining, according to the multicast group information recorded by the interface board, whether the multicast stream requested by the user is in the Interface board
如果不是, 则向所述主控制板请求所述组播流;  If not, requesting the multicast stream from the main control board;
如果是, 则所述接口板根据所述加入请求, 向所述用户推送所述組播流。 If yes, the interface board pushes the multicast stream to the user according to the joining request.
35、 一种組播业务处理系统, 所述系统包括 IP城域网以及接入网络, 所 述接入网络包括接入设备,所述接入设备包括主控板以及至少一个接口板,各 接口板与所述主控板相连接, 所述主控板包括主控板组播处理单元、用于存储 主控板组播转发表的主控板存储单元以及主控板组播复制单元,所述接口板包 括用于存储接口板組播转发表的接口板存储单元、用于将组播流复制到用户端 口的接口板组播复制单元, 其特征在于, 所述组播处理系统进一步包括: 35. A multicast service processing system, where the system includes an IP metropolitan area network and an access network, where the access network includes an access device, and the access device includes a main control board and at least one interface board, and each interface The main control board is connected to the main control board, the main control board storage unit for storing the multicast forwarding table of the main control board, and the multicast replication unit of the main control board. The interface board includes an interface board storage unit for storing an interface board multicast forwarding table, and an interface board multicast replication unit for replicating the multicast stream to the user port, where the multicast processing system further includes:
智能决策设备,与所述接入设备的主控板组播处理单元相连接, 用于获取 用户常用组播频道。  The intelligent decision device is connected to the multicast processing unit of the main control board of the access device, and is configured to acquire a common multicast channel of the user.
36、 根据权利要求 35所述的系统, 其特征在于, 所述智能决策设备设于 所述接入设备内部,用于根据所述主控板组播处理单元记录的组播组信息获取 所述接入设备内的用户常用组播频道,并指示所述的主控板组播处理单元获取 所述用户常用组播频道的组播流。  The system according to claim 35, wherein the smart decision device is provided in the access device, and is configured to obtain the information according to the multicast group information recorded by the main control board multicast processing unit. A common multicast channel is used by the user in the access device, and the multicast processing unit of the main control board is instructed to obtain the multicast stream of the common multicast channel of the user.
37、根据权利要求 35所述的系统, 其特征在于, 所述接口板进一步包括: 接口板处理单元,与所述主控板组播处理单元以及所述接口板存储单元分 别相连接,用于处理用户的 IGMP报文, 并且根据所述 IGMP报文维护所述接 口板组播转发表;  The system of claim 35, wherein the interface board further comprises: an interface board processing unit, respectively connected to the main control board multicast processing unit and the interface board storage unit, Processing the IGMP message of the user, and maintaining the multicast forwarding table of the interface board according to the IGMP message;
所述智能决策设备设置于所述接入设备内部, 与所述接口板组播处理单 元、所述主控板组播处理单元分别相连接,用于根据各接口板组播处理单元记 录的组播维护的組播组信息获取所述接入设备的常用组播频道,并指示所述主 控板组播处理单元向网络请求下发所述常用组播频道的组播流。  The smart decision device is disposed in the access device, and is respectively connected to the interface board multicast processing unit and the main control board multicast processing unit, and is configured to be recorded according to each interface board multicast processing unit. The multicast group information that is broadcasted is used to obtain the common multicast channel of the access device, and the multicast processing unit of the main control board is instructed to send the multicast stream of the common multicast channel to the network.
38、 根据权利要求 35所述的系统, 其特征在于, 所述智能决策设备设于 所述接入设备外部, 与所述接入网络内的 妻入设备分别相连接,用于根据所 述各接入设备的主控板组播处理单元记录的组播组信息获取所述接入网络内 的常用组播频道, 以及所述常用组播频道的常用接入设备, 并指示所述常用接 入设备的主控板组播处理单元向所述接入网络侧请求下发所述常用组播频道 的组播流。 The system according to claim 35, wherein the intelligent decision device is disposed outside the access device, and is respectively connected to a Wi-Fi device in the access network, and is configured to The multicast group information recorded by the multicast processing unit of the access device acquires a common multicast channel in the access network, and a common access device of the common multicast channel, and indicates the commonly used access The main control board multicast processing unit of the device requests the access network side to deliver the multicast stream of the common multicast channel.
39、 根据权利要求 38所述的系统, 其特征在于, 所述智能决策设备进一 步与所述 IP城域网相连接, 用于指示所述 IP城域网向所述常用接入设备推送 所述接入网络内的常用组播频道的组播流。 The system according to claim 38, wherein the intelligent decision device is further connected to the IP metropolitan area network, and is configured to instruct the IP metropolitan area network to push the common access device to the A multicast stream that accesses common multicast channels within the network.
40、 根据权利要求 39所述的系统, 其特征在于, 所述 IP城域网侧进一步 包括:用于标示所述接入网络常用组播频道与所述常用接入设备的对应关系的 对照表。  The system according to claim 39, wherein the IP metropolitan area network side further comprises: a comparison table for indicating a correspondence between the common multicast channel of the access network and the common access device .
41、 一种接入设备, 包括主控板以及至少一个接口板, 各接口板与所述 主控板相连接, 所述主控板包括主控板组播处理单元、用于存储主控板组播转 发表的主控板存储单元、 以及主控板组播复制单元, 所述接口板包括用于存储 接口板组播转发表的接口板存储单元、用于将组播流复制到用户端口的接口板 组播复制单元, 其特征在于, 所述接入设备进一步包括:  An access device, comprising: a main control board and at least one interface board, wherein each interface board is connected to the main control board, where the main control board includes a main control board multicast processing unit, and is used for storing a main control board. The main control board storage unit of the multicast forwarding table and the multicast replication unit of the main control board, the interface board includes an interface board storage unit for storing the multicast forwarding table of the interface board, and is configured to copy the multicast stream to the user port. The interface board multicast replication unit is characterized in that: the access device further includes:
智能决策设备, 与所述主控板组播处理单元相连接, 用于根据所述主控板 组播处理单元记录的组播组信息获取用户常用组播频道,并指示所述的主控板 组播处理单元获取所述用户常用组播频道的组播流。  An intelligent decision device is connected to the main control board multicast processing unit, configured to acquire a common multicast channel of the user according to the multicast group information recorded by the multicast processing unit of the main control board, and instruct the main control board The multicast processing unit acquires the multicast stream of the common multicast channel of the user.
42、 根据权利要求 41所述的接入设备, 其特征在于, 所述接口板进一步 包括:  The access device according to claim 41, wherein the interface board further comprises:
接口板处理单元,与所述主控板组播处理单元以及所述接口板存储单元分 别相连接,用于处理用户的 IGMP报文,并且根据所述 IGMP报文维护所述接 口板组播转发表;  The interface board processing unit is connected to the main control board multicast processing unit and the interface board storage unit, and is configured to process the IGMP message of the user, and maintain the interface board multicast forwarding according to the IGMP message. Publish
所述智能决策设备与所述接口板组播处理单元、所述主控板组播处理单元 分别相连接,用于根据各接口板组播处理单元记录的组播组信息获取所述接入 设备的常用組播频道,并指示所述主控板组播处理单元向网络请求下发所述常 用組播频道的组播流。  The smart decision device is connected to the interface board multicast processing unit and the main control board multicast processing unit, and is configured to acquire the access device according to the multicast group information recorded by each interface board multicast processing unit. The common multicast channel of the main control board is instructed by the multicast processing unit of the main control board to send a multicast stream of the common multicast channel to the network.
PCT/CN2007/001644 2006-06-09 2007-05-21 Multicast service processing method and access equipment WO2007140702A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP07721217A EP2034731A4 (en) 2006-06-09 2007-05-21 Multicast service processing method and access equipment
US12/330,188 US20090147786A1 (en) 2006-06-09 2008-12-08 Multicast service processing method and access equipment

Applications Claiming Priority (8)

Application Number Priority Date Filing Date Title
CNB2006100358816A CN100563206C (en) 2006-06-09 2006-06-09 A kind of multicast channel control method and device
CN200610035881.6 2006-06-09
CN200610098972.4 2006-07-20
CN200610098972A CN1889558B (en) 2006-07-20 2006-07-20 Program channel difference processing method in IPIV bearing network
CN200610103601.0 2006-07-24
CNB2006101036010A CN100561979C (en) 2006-07-24 2006-07-24 A kind of method and access device that group broadcasting program is carried out grading control
CN2006101112160A CN1921402B (en) 2006-08-15 2006-08-15 Method and system for treating multicast business
CN200610111216.0 2006-08-15

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US12/330,188 Continuation US20090147786A1 (en) 2006-06-09 2008-12-08 Multicast service processing method and access equipment

Publications (2)

Publication Number Publication Date
WO2007140702A1 true WO2007140702A1 (en) 2007-12-13
WO2007140702A8 WO2007140702A8 (en) 2008-12-31

Family

ID=38801058

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001644 WO2007140702A1 (en) 2006-06-09 2007-05-21 Multicast service processing method and access equipment

Country Status (5)

Country Link
US (1) US20090147786A1 (en)
EP (1) EP2034731A4 (en)
CN (1) CN104837070A (en)
SG (1) SG172691A1 (en)
WO (1) WO2007140702A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2405652A1 (en) * 2009-03-02 2012-01-11 ZTE Corporation Method and device for reducing interruption time of internet protocol television multicast stream
CN104284217A (en) * 2014-10-24 2015-01-14 北京国双科技有限公司 Network rating statistical method and device

Families Citing this family (38)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8295200B2 (en) * 2009-03-31 2012-10-23 Motorola Mobility Llc Discovering multicast routing capability of an access network
US10074095B2 (en) * 2009-04-17 2018-09-11 At&T Intellectual Property I, L.P. System and method for sending data to end user data delivery vehicles
US20100309913A1 (en) * 2009-06-05 2010-12-09 Nick Herodotou Method and system for handling iptv multicast traffic in a home network
JP5159735B2 (en) * 2009-09-11 2013-03-13 シャープ株式会社 Wireless communication system, base station apparatus, mobile station apparatus, and communication method
US9124523B2 (en) * 2009-11-06 2015-09-01 Comcast Cable Communications, Llc Failover with redundant multicasts for switched digital video
CN102404133B (en) * 2010-09-09 2015-06-03 北京中星微电子有限公司 Method and device for internet protocol (IP) network data interaction
US9008091B1 (en) * 2010-11-19 2015-04-14 Extreme Networks, Inc. Methods, systems, and computer readable media for improved multicast scaling through policy based redirection
WO2012144194A1 (en) * 2011-04-18 2012-10-26 Nec Corporation Terminal, control device, communication method,communication system, communication module, program, and information processing device
US9294956B2 (en) * 2011-12-29 2016-03-22 Qualcomm Incorporated Application-server-assisted preemptive multicast bearer establishment for real-time low-latency applications
US8510770B1 (en) * 2012-02-03 2013-08-13 Google Inc. Predicting live programs
CN103402144B (en) * 2013-07-29 2016-12-28 华为技术有限公司 Automatically the method for multicast service performance, Apparatus and system are measured
US9277265B2 (en) * 2014-02-11 2016-03-01 The Nielsen Company (Us), Llc Methods and apparatus to calculate video-on-demand and dynamically inserted advertisement viewing probability
CN105099721B (en) * 2014-04-28 2018-12-07 华为技术有限公司 Safeguard the method and apparatus of multicast member
CN105812228B (en) * 2014-12-30 2019-02-26 深圳富泰宏精密工业有限公司 Group information filtration system and method
US9521458B2 (en) * 2015-02-13 2016-12-13 Telefonaktiebolaget L M Ericsson (Publ) IPTV targeted messages
US10219039B2 (en) 2015-03-09 2019-02-26 The Nielsen Company (Us), Llc Methods and apparatus to assign viewers to media meter data
US10291957B2 (en) 2015-05-22 2019-05-14 Telefonaktiebolaget Lm Ericsson (Publ) Quicker IPTV channel with static group on IGMP loopback interface
CN108028903B (en) * 2015-12-30 2020-01-31 华为技术有限公司 multicast template switching method, device and system
KR102309786B1 (en) * 2016-01-11 2021-10-06 에스케이텔레콤 주식회사 Set-Top Box for Measuring Program Outage and Method for Operating Same
US10791355B2 (en) 2016-12-20 2020-09-29 The Nielsen Company (Us), Llc Methods and apparatus to determine probabilistic media viewing metrics
US10523455B2 (en) 2017-07-17 2019-12-31 Nicira, Inc. Distributed multicast logical router
US10873473B2 (en) * 2017-07-17 2020-12-22 Nicira, Inc. Distributed multicast logical router
US10218523B2 (en) 2017-07-17 2019-02-26 Nicira, Inc. Using a central controller cluster to configure a distributed multicast logical router
WO2019084764A1 (en) * 2017-10-31 2019-05-09 Huizhou Tcl Mobile Communication Co., Ltd Methods, apparatuses and readable storage medium for video multicasting
US10863543B2 (en) * 2017-12-01 2020-12-08 Qualcomm Incorporated Subband based uplink access for NR-SS
US10817855B2 (en) 2017-12-05 2020-10-27 Silicon Beach Media II, LLC Systems and methods for unified presentation and sharing of on-demand, live, social or market content
US10631035B2 (en) 2017-12-05 2020-04-21 Silicon Beach Media II, LLC Systems and methods for unified compensation, presentation, and sharing of on-demand, live, social or market content
US10567828B2 (en) * 2017-12-05 2020-02-18 Silicon Beach Media II, LLC Systems and methods for unified presentation of a smart bar on interfaces including on-demand, live, social or market content
US10783573B2 (en) 2017-12-05 2020-09-22 Silicon Beach Media II, LLC Systems and methods for unified presentation and sharing of on-demand, live, or social activity monitoring content
US10924809B2 (en) 2017-12-05 2021-02-16 Silicon Beach Media II, Inc. Systems and methods for unified presentation of on-demand, live, social or market content
US11146845B2 (en) 2017-12-05 2021-10-12 Relola Inc. Systems and methods for unified presentation of synchronized on-demand, live, social or market content
WO2020095767A1 (en) * 2018-11-08 2020-05-14 日本電信電話株式会社 Distribution design assistance method, distribution design assistance device, and program
CN110719528A (en) * 2019-10-18 2020-01-21 重庆空间视创科技有限公司 IPTV terminal hot update system and method
US11595296B2 (en) 2021-06-29 2023-02-28 Vmware, Inc. Active-active support of multicast streams in virtualized environment
US11895010B2 (en) 2021-06-29 2024-02-06 VMware LLC Active-active support of multicast streams in virtualized environment
US11784926B2 (en) 2021-11-22 2023-10-10 Vmware, Inc. Optimized processing of multicast data messages in a host
CN115348467A (en) * 2022-05-31 2022-11-15 青岛海信宽带多媒体技术有限公司 Intelligent set top box and live channel playing method
CN115623253B (en) * 2022-12-02 2023-04-07 浙江宇视科技有限公司 Scene-aware video stream management method, system, device, and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6578076B1 (en) 1999-10-18 2003-06-10 Intel Corporation Policy-based network management system using dynamic policy generation
CN1604642A (en) * 2004-11-04 2005-04-06 复旦大学 A method for arranging information release priority in broadcast video program system
JP2005102104A (en) * 2003-09-02 2005-04-14 Nippon Telegr & Teleph Corp <Ntt> Ip multicast delivery system, its rate controlling method, its program and recording medium
CN1662052A (en) * 2004-02-26 2005-08-31 日本电气株式会社 Multicast information delivery system and multicast information delivery method
US6963573B1 (en) 2000-09-13 2005-11-08 Nortel Networks Limited System, device, and method for receiver access control in a multicast communication system
CN1783831A (en) * 2004-12-02 2006-06-07 华为技术有限公司 Method for realizing video multicast service medium frequency switch

Family Cites Families (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7607147B1 (en) * 1996-12-11 2009-10-20 The Nielsen Company (Us), Llc Interactive service device metering systems
US6718552B1 (en) * 1999-04-20 2004-04-06 Diva Systems Corporation Network bandwidth optimization by dynamic channel allocation
JP4002380B2 (en) * 2000-03-15 2007-10-31 日本電気株式会社 Multicast system, authentication server terminal, multicast receiver terminal management method, and recording medium
US7012891B1 (en) * 2000-12-28 2006-03-14 Cisco Technology, Inc. Method and apparatus for applying quality of service to multicast streams transmitted in a cable network
US20020091926A1 (en) * 2001-01-10 2002-07-11 The Furukawa Electric Co., Ltd. Multicast authentication method, multicast authentication server, network interconnection apparatus and multicast authentication system
JP3685753B2 (en) * 2001-11-30 2005-08-24 パナソニック コミュニケーションズ株式会社 Home-side information distribution system and program receiving method
US6912387B2 (en) * 2001-12-20 2005-06-28 Motorola, Inc. Method and apparatus for incorporating pager functionality into a land mobile radio system
WO2003058967A1 (en) * 2001-12-28 2003-07-17 Pegasus Development Corporation Wideband direct-to-home broadcasting satellite communications system and method
CN1217543C (en) * 2002-06-28 2005-08-31 国际商业机器公司 Apparatus and method for equivalent VOD system
US20040049788A1 (en) * 2002-09-10 2004-03-11 Canon Kabushiki Kaisha Receiving apparatus, receiving method, and method of predicting audience rating
US7228356B2 (en) * 2002-12-12 2007-06-05 Alcatel Canada Inc. IGMP expedited leave triggered by MAC address
FR2858897A1 (en) * 2003-08-12 2005-02-18 France Telecom Wide multicast information transmitting method for Internet protocol network, involves transferring information to be transmitted between two addresses, and transmitting information to distinct side of workstation
CA2537280C (en) * 2003-08-29 2014-04-01 Rgb Networks, Inc. Advanced, self-balancing video multiplexer system
US6967949B2 (en) * 2003-09-15 2005-11-22 Teknovus, Inc. Method and apparatus for forwarding packets in an ethernet passive optical network
CN100353680C (en) * 2004-02-25 2007-12-05 华为技术有限公司 Device of implementing backup for communication equipment in multistage and method of rearranging main and standby devices
US7672233B2 (en) * 2004-07-15 2010-03-02 Calix Networks, Inc. Traffic management for a passive optical network terminal
CN100469039C (en) * 2004-08-05 2009-03-11 上海贝尔阿尔卡特股份有限公司 Method and device for processing user to leave, switching multicast service channel request using slow leaving mechanism
CN100440966C (en) * 2004-09-23 2008-12-03 华为技术有限公司 Method of realizing group broadcasting video frequency program previewing in broadband cut-in network
US7522598B2 (en) * 2004-11-23 2009-04-21 Tellabs Petaluma, Inc. System and method of protecting an IGMP proxy
CN100361470C (en) * 2004-12-30 2008-01-09 华为技术有限公司 Method for realizing multicast by using secondary frame in access for digital subscriber line
US7835276B2 (en) * 2004-12-30 2010-11-16 Cisco Technology, Inc. Admission control mechanism for multicast receivers
US20080242279A1 (en) * 2005-09-14 2008-10-02 Jorey Ramer Behavior-based mobile content placement on a mobile communication facility
EP1934871A4 (en) * 2005-10-11 2012-11-07 Exar Corp Model predictive thermal management
US8630306B2 (en) * 2006-01-09 2014-01-14 At&T Intellectual Property I, L.P. Fast channel change apparatus and method for IPTV
US7817672B2 (en) * 2006-02-01 2010-10-19 Bigband Networks Inc. Method and device for providing programs to multiple end user devices
US20070186243A1 (en) * 2006-02-08 2007-08-09 Sbc Knowledge Ventures, Lp System and method of providing television program recommendations
US8458753B2 (en) * 2006-02-27 2013-06-04 Time Warner Cable Enterprises Llc Methods and apparatus for device capabilities discovery and utilization within a content-based network

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6578076B1 (en) 1999-10-18 2003-06-10 Intel Corporation Policy-based network management system using dynamic policy generation
US6963573B1 (en) 2000-09-13 2005-11-08 Nortel Networks Limited System, device, and method for receiver access control in a multicast communication system
JP2005102104A (en) * 2003-09-02 2005-04-14 Nippon Telegr & Teleph Corp <Ntt> Ip multicast delivery system, its rate controlling method, its program and recording medium
CN1662052A (en) * 2004-02-26 2005-08-31 日本电气株式会社 Multicast information delivery system and multicast information delivery method
CN1604642A (en) * 2004-11-04 2005-04-06 复旦大学 A method for arranging information release priority in broadcast video program system
CN1783831A (en) * 2004-12-02 2006-06-07 华为技术有限公司 Method for realizing video multicast service medium frequency switch

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP2034731A4

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2405652A1 (en) * 2009-03-02 2012-01-11 ZTE Corporation Method and device for reducing interruption time of internet protocol television multicast stream
EP2405652A4 (en) * 2009-03-02 2014-12-17 Zte Corp Method and device for reducing interruption time of internet protocol television multicast stream
CN104284217A (en) * 2014-10-24 2015-01-14 北京国双科技有限公司 Network rating statistical method and device
CN104284217B (en) * 2014-10-24 2017-10-27 北京国双科技有限公司 Network audience statistics method and device

Also Published As

Publication number Publication date
EP2034731A1 (en) 2009-03-11
CN104837070A (en) 2015-08-12
EP2034731A4 (en) 2010-03-03
WO2007140702A8 (en) 2008-12-31
SG172691A1 (en) 2011-07-28
US20090147786A1 (en) 2009-06-11

Similar Documents

Publication Publication Date Title
WO2007140702A1 (en) Multicast service processing method and access equipment
CN1703087B (en) Broadband telecommunications system and method used therein to reduce the latency of channel switching by a multimedia receiver
CN100525192C (en) Broadband access device, system and method
JP4389605B2 (en) Multicast information distribution system and multicast information distribution method
US9226002B2 (en) Method, device and system for realizing broadcast TV
CN101102214B (en) Reporting multicast bandwidth consumption between a multicast replicating node and a traffic scheduling node
US8677439B2 (en) Method and system for reducing channel switching delay of an IPTV
CN102202001A (en) Dynamic subscriber bandwidth regulation method, system and broadband network gateway
EP2351300B1 (en) Method and system for establishing digital media streams
WO2008046336A1 (en) A system and method for realizing distributed access control in multicast service
WO2008025205A1 (en) A service application method and system and a service application agency unit
KR100682997B1 (en) Qos guaranteeing home-server/home-gateway apparatus and its method for multicast traffic at the homenetwork environment
CN101313575A (en) Multicast service handling method, system and access apparatus
US8239909B2 (en) Method of securing resources in a video and audio streaming delivery system
WO2011144100A2 (en) Service scheduling method and apparatus under multiple broadband network gateways
US20100002779A1 (en) Mechanism for the management of receivers/decoders connections
CN101282263B (en) Broadband access equipment and uses thereof
WO2008025267A1 (en) Method, system, resource and admission control unit for realizing the multicast service
WO2008092250A1 (en) Cooperative system and method for duplicating and delivering media streams in a distributed manner.
Souza et al. A QoS enabled public ethernet access network
KR100748091B1 (en) Apparatus and method of providing internet broadcasting service
Huijuan et al. Improvement Approach of IPTV Bearer Network
Henden et al. IP-multicasting and its use in Broadband Fixed
Ya-Xing The key technology and solution of IPTV

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200780000248.6

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07721217

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2007721217

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 5149/KOLNP/2008

Country of ref document: IN

NENP Non-entry into the national phase

Ref country code: RU