CN109495773B - Multicast traffic configuration method and device and electronic equipment - Google Patents
Multicast traffic configuration method and device and electronic equipment Download PDFInfo
- Publication number
- CN109495773B CN109495773B CN201910030841.XA CN201910030841A CN109495773B CN 109495773 B CN109495773 B CN 109495773B CN 201910030841 A CN201910030841 A CN 201910030841A CN 109495773 B CN109495773 B CN 109495773B
- Authority
- CN
- China
- Prior art keywords
- multicast
- group
- channel
- binding
- target
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/61—Network physical structure; Signal processing
- H04N21/6106—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network
- H04N21/6118—Network physical structure; Signal processing specially adapted to the downstream path of the transmission network involving cable transmission, e.g. using a cable modem
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/262—Content 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/26258—Content 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 for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management 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/266—Channel 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
- H04N21/26616—Channel 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 for merging a unicast channel into a multicast channel, e.g. in a VOD application, when a client served by unicast channel catches up a multicast channel to save bandwidth
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network 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/63—Control 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/64—Addressing
- H04N21/6405—Multicasting
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention provides a multicast flow configuration method, a multicast flow configuration device and electronic equipment, wherein the multicast flow configuration method comprises the following steps: configuring a plurality of bonding groups at the CMTS, and setting channels for multicast into the bonding groups; setting a plurality of binding groups for the multicast group according to the audience rating of the multicast content, wherein the multicast group corresponding to the target multicast content is a target multicast group; when CPE under CM broadcasts the target multicast content, CM is triggered to send request to CMTS; judging whether a multicast session of the target multicast content exists or not; if not, selecting the binding group with the largest residual bandwidth from the binding groups according to the binding group corresponding to the target multicast group for binding, and establishing a multicast session corresponding to the target multicast content; adding the CM to the multicast session; the channel of the CM is migrated to the channel corresponding to the binding group of the multicast session, so that the channel of the CM receives the target multicast content flow.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a multicast traffic configuration method and apparatus, and an electronic device.
Background
In IPTV (i.e. interactive network television) live broadcast service, users usually use multicast to carry the same live broadcast data, but since users receive different data in internet service or on-demand service, users usually carry the data by unicast. When client devices (CPE) under a plurality of Coaxial Modems (CM) join a multicast session established by a multicast group, multicast Service traffic is copied on a plurality of channels, so that channel bandwidth utilization rate is reduced, and the multicast Service traffic is mixed with common internet traffic. Therefore, existing multicast traffic is replicated in many channels, resulting in low channel bandwidth utilization.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method and an apparatus for configuring multicast traffic, and an electronic device, so as to solve the technical problems in the prior art that the multicast traffic is duplicated in a plurality of channels and the channel bandwidth utilization rate is low.
In a first aspect, an embodiment of the present invention provides a multicast traffic configuration method, including: configuring a plurality of bonding groups in a Cable Modem Termination System (CMTS), and setting channels for multicast into the bonding groups, wherein the bonding groups include: a multicast dedicated binding group and a multicast shared binding group; setting a plurality of binding groups for the multicast group according to the audience rating of the multicast content, wherein the multicast group corresponds to the multicast content, and the multicast group corresponding to the target multicast content is a target multicast group; when client equipment under a Cable Modem (CM) plays target multicast content, triggering the CM to send a request to a CMTS (CMTS), wherein the request is used for joining a target multicast group; judging whether a multicast session of the target multicast content exists or not; if not, selecting the binding group with the largest residual bandwidth from the binding groups according to the binding group corresponding to the target multicast group for binding, and establishing a multicast session corresponding to the target multicast content; adding the CM to the multicast session; and migrating the channel of the CM to a channel corresponding to the binding group of the multicast session so that the channel of the CM receives the target multicast content flow.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where the method further includes: identifying the number of receiving modules borne by a CM (CM) and the number of channels borne by each receiving module through attribute information in a receiving Channel table (RCP); segmenting a discontinuous channel set consisting of a multicast channel and a unicast channel to obtain a target channel set; the target channel set is set in the receiving module.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where before adding the CM into the multicast session, the method further includes: configuring a first threshold value and a second threshold value of a binding group, wherein the first threshold value is smaller than the second threshold value; when the binding group reaches a first threshold value, stopping adding the new multicast session to the binding group; and when the binding group reaches a second threshold value, migrating the session with the least CM in the multicast session corresponding to the binding group.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the method further includes: and when the CPE under the CM does not play the multicast content, migrating the channel of the CM to a channel of the unbound group and a channel of the multicast bound shared group, and migrating the channel of the CM to the channel of the unbound group and the channel with the minimum flow in the channel of the multicast bound shared group.
With reference to the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the method further includes: when the CPE under the CM plays the multicast content, keeping the CM channel position for the multicast content unchanged; when the CM channels for the unicast contents are load-balanced, the CM channels for the unicast contents are migrated to a channel having the smallest flow among the channels of the unbound group.
With reference to the first aspect, an embodiment of the present invention provides a fifth possible implementation manner of the first aspect, where the method further includes: when new multicast content is added to a bonding group, the new multicast content is configured to the bonding group with the most remaining bandwidth.
With reference to the first aspect, an embodiment of the present invention provides a sixth possible implementation manner of the first aspect, where the method further includes: and if the multicast content is added into the binding group, stopping setting the new binding group.
In a second aspect, an embodiment of the present invention further provides a multicast traffic configuration apparatus, including: a configuration module, configured to configure a plurality of bonding groups at a cable modem termination system CMTS, and set channels for multicast into the bonding groups, wherein the bonding groups include: a multicast dedicated binding group and a multicast shared binding group; the setting module is used for setting a plurality of binding groups for the multicast group according to the audience rating of the multicast content, wherein the multicast group corresponds to the multicast content, and the multicast group corresponding to the target multicast content is a target multicast group; the trigger module is used for triggering the CM to send a request to the CMTS when the client equipment CPE under the cable modem CM plays the target multicast content, wherein the request is used for joining a target multicast group; the judging module is used for judging whether a multicast session of the target multicast content exists or not; the selection module is used for selecting the binding group with the largest residual bandwidth from the binding groups according to the binding group corresponding to the target multicast group for binding if the target multicast group is not the target multicast group, and establishing a multicast session corresponding to the target multicast content; a joining module, configured to join the CM into the multicast session; and the receiving module is used for migrating the channel of the CM to a channel corresponding to the binding group of the multicast session so as to enable the channel of the CM to receive the target multicast content flow.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method according to the first aspect when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable medium having non-volatile program code executable by a processor, where the program code causes the processor to execute the method according to the first aspect.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: the multicast flow configuration method, device and electronic equipment provided by the embodiment of the invention comprise the following steps: firstly, configuring a plurality of binding groups at a Cable Modem Termination System (CMTS), and setting channels for multicast into the binding groups, wherein the binding groups comprise: a multicast special binding group and a multicast sharing binding group, then setting a plurality of binding groups for the multicast group according to the audience rating of the multicast content, wherein the multicast group corresponds to the multicast content, the multicast group corresponding to the target multicast content is a target multicast group, then triggering the CM to send a request to the CMTS when the client CPE under the cable modem CM plays the target multicast content, wherein the request is used for joining the target multicast group, judging whether a multicast session of the target multicast content exists, if not, selecting the binding group with the largest residual bandwidth in the binding groups according to the binding group corresponding to the target multicast group for binding, establishing the multicast session corresponding to the target multicast content, joining the CM into the multicast session, finally migrating the channel of the CM to the channel corresponding to the binding group of the multicast session, thereby the channel of the CM receives the target multicast content flow, therefore, by reasonably configuring the binding group for multicast, creating a multicast session, and migrating the channel of the CM to the binding group corresponding to the multicast session for receiving multicast content, the balanced distribution of multicast traffic is realized, and the user experience is improved, thereby solving the technical problems that the multicast service traffic is duplicated in numerous channels and the channel bandwidth utilization rate is low in the prior art.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a conventional multicast configuration method according to an embodiment of the present invention;
fig. 2 is a flowchart of a multicast traffic configuration method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a CMTS channel plan according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a multicast traffic configuration apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Currently, when CPE equipment under a CM plays a live program, a CMTS needs to forward a multicast data stream of the program to the CM playing the program, and since data is transmitted in multiple channels from DOCSIS3.0, transmission of one multicast stream in different channel sets needs to be duplicated. As shown in fig. 1, a CM1 is on a downlink channel 1 and a downlink channel 2, and a CM2 is on a downlink channel 3 and a downlink channel 4 in the conventional multicast configuration method. When the devices under CM1 and CM2, that is, CPE1 and CPE2, broadcast program a simultaneously, the CMTS is required to copy the program into two copies, one copy being placed on downstream channel 1 and downstream channel 2 and the other copy being placed on downstream channel 3 and downstream channel 4, so that CPE1 and CPE2 can receive the data of program a simultaneously.
Therefore, when the multicast is forwarded, the CMs need to be concentrated to the same channel as much as possible, and when the unicast data is forwarded, in order to improve the utilization rate of the channel and avoid the traffic exceeding the maximum capacity of a single channel, the CMs need to equalize the different channels, and in addition, the channels on the CM cannot be predicted (or cannot be dynamically changed according to the operation of switching programs by the user), so that the problem of multicast bandwidth replication cannot be avoided, and the utilization rate of the system bandwidth is low. The flow of the multicast group is scattered in a Media Access Control (MAC) domain of the CMTS, and is mixed with the traffic of the internet Service, which interferes with each other, affects the Quality of Service (QoS) of the direct Service, and finally affects the viewing experience of the user. Therefore, the prior art has the technical problems that the multicast service flow is duplicated in a plurality of channels and the utilization rate of the channel bandwidth is low.
Based on this, the multicast traffic configuration method, apparatus and system provided in the embodiments of the present invention can solve the technical problems that in the prior art, multicast traffic is duplicated in a plurality of channels, and the channel bandwidth utilization rate is low.
To facilitate understanding of the embodiment, a detailed description is first given of a multicast streaming method, an apparatus and a system disclosed in the embodiment of the present invention.
The first embodiment is as follows:
an embodiment of the present invention provides a multicast traffic configuration method, as shown in fig. 2, the method includes:
step S202, configuring a plurality of binding groups in a Cable Modem Termination System (CMTS), and setting channels for multicast into the binding groups, wherein the binding groups include: a multicast-specific binding group and a multicast-shared binding group.
Specifically, the multicast dedicated binding group is used for transmitting a multicast packet (live broadcast service); the multicast sharing binding group is used for transmitting multicast messages (live broadcast service) and unicast messages (internet access service), the binding group is divided into a multicast special binding group and a multicast sharing binding group, the utilization rate of a channel is improved, and the stability of the live broadcast service is ensured. In addition, the special multicast binding group separates multicast traffic from unicast traffic, and can achieve good balance effect and QoS effect; the multicast sharing binding group can enable the multicast flow and the unicast flow to share the channel bandwidth, and improve the channel utilization rate.
Step S204, a plurality of binding groups are set for the multicast group according to the audience rating of the multicast content, wherein the multicast group corresponds to the multicast content, and the multicast group corresponding to the target multicast content is a target multicast group.
It should be noted that the multicast content is a multicast program, the multicast group is a multicast message or a data frame, that is, a destination address of the multicast program transmission, and a binding group is set for the multicast group according to the audience rating of the multicast program. The target multicast content is a target multicast program, i.e. a multicast program to be watched by the user. If the multicast group can be matched with a plurality of binding groups, the multicast special group is preferentially selected for matching, and as the multicast special group is only used for bearing multicast flow, the multicast shared group is matched only after the load of the multicast special group reaches a threshold value.
Further, when new multicast content is added to a bonding group, the new multicast content is configured to the bonding group with the most remaining bandwidth. And if the multicast content is added into the binding group, stopping setting the new binding group. When a program which is not played by equipment is added into a binding group, balancing is carried out according to the residual bandwidth of the binding group, the multicast program is configured to the binding group with the largest residual bandwidth, and if the played program is added into the binding group, the previous binding group is used, so that the copying is avoided, and the resource configuration efficiency is improved.
Step S206, when the client CPE under the cable modem CM plays the target multicast content, the CM is triggered to send a request to the CMTS, where the request is used to join the target multicast group.
In addition, for the CM playing the multicast content, the load balancing of the unicast traffic is still performed, so that when the CPE under the CM does not play the multicast content, the channel of the CM is migrated to the channel of the unbound group and the channel of the multicast bound shared group, and the channel of the CM is migrated to the channel of the unbound group and the channel of the multicast bound shared group, where the traffic is the smallest. When the CPE under the CM plays the multicast content, keeping the CM channel position for the multicast content unchanged; when the CM channels for the unicast contents are load-balanced, the CM channels for the unicast contents are migrated to a channel having the smallest flow among the channels of the unbound group. The method ensures the stability of the multicast program and simultaneously performs load balancing, improves the utilization rate of the channel, and simplifies the complexity of a load balancing algorithm by separately and independently processing the unicast channel and the multicast channel.
Step S208, determining whether there is a multicast session of the target multicast content, if not, executing step S210, and if so, executing step S212.
And step S210, if not, selecting the binding group with the largest residual bandwidth from the binding groups according to the binding group corresponding to the target multicast group for binding, and establishing a multicast session corresponding to the target multicast content.
Step S212, add the CM to the multicast session.
In addition, before adding the CM into the multicast session, the method further includes: configuring a first threshold value and a second threshold value of a binding group, wherein the first threshold value is smaller than the second threshold value; when the binding group reaches a first threshold value, stopping adding the new multicast session to the binding group so as to prevent the multicast session from being interfered; and when the binding group reaches a second threshold value, migrating the session with the least CM in the multicast session corresponding to the binding group so as to realize active balance. The whole load of the binding group is controlled to be in a reasonable level through a threshold value, and the added programs are ensured not to be interfered.
Step S214, the channel of the CM is migrated to the channel corresponding to the bonding group of the multicast session, so that the channel of the CM receives the target multicast content traffic.
In addition, the ability of the CM must be satisfied when migrating the channel of the CM, and if the CM does not support the full band, the span between the multicast channel and the unicast channel will cause the CM to drop. Therefore, the number of receiving modules carried by the CM and the number of channels carried by each receiving module are identified by the attribute information in the receiving channel table RCP; segmenting a discontinuous channel set consisting of a multicast channel and a unicast channel to obtain a target channel set; the target channel set is arranged in the receiving module, so that the CM can be prevented from being disconnected.
Assume that there are 64 channels for CM: 1,2,3, 64, which correspond to channel frequencies in increasing order, it is sufficient to compare the channel ids directly. At present, the CM comprises at most two receiving modules, therefore, a discontinuity point with the largest difference between the channel IDs is found, and the CM channel set is divided into two receiving modules, namely, the maximum value of [ ChanId (k) -ChanId (k-1) ] is found, at this time, ChanId (k) is pivotChanId, channels smaller than pivotChanId are drawn into the first RM, channels larger than or equal to pivotChanId are drawn into the second RM, wherein, ChanId (k) is a pointer for pointing to the channel frequency band. Such as: channel set after a CM joins multicast (1-4 for multicast): 1,2,3,4, 31,32,35,36 ═ is segmented into: RM 1: 1,2,3, 4; RM2:31,32,35, 36.
Specifically, a schematic diagram of a CMTS channel plan is shown in fig. 3, in which four rectangular boxes on the left side represent 4 pre-planned bonding groups, including 2 multicast-specific bonding groups and 2 shared bonding groups, in which respective channel IDs and program lists allowed to be added are listed, the programs are divided into A, B levels from high to low according to the audience rating, and the rightmost rectangular box represents the remaining channels that can be used for planning other bonding groups or used as common channels. The figure comprises two groups of multicast special binding groups (a multicast special group-1 and a multicast special group-2) and two groups of multicast sharing binding groups (a sharing group-1 and a sharing group-2), wherein the channel ID (identification) corresponding to the multicast special group-1 is 1-3, the program A-1, the program A-2, the program A-3 and other multicast programs are relatively high in audience rating and relatively high in the on-demand degree of a user. The channel ID corresponding to the multicast special group-2 is 4-6, the program A-1, the program A-2, the program A-3 and other multicast programs. The channel ID corresponding to the shared group-1 is 7-9, the program B-1, the program B-2, the program B-3 and the unicast service (internet traffic), and compared with the programs in the multicast dedicated group-1 and the multicast dedicated group-2, the on-demand degree of the user is lower. The other bonding groups are non-bonding groups, channel ID: 13-64, and all the non-bonding groups are not listed one by one in the embodiment and are replaced by a dashed box. The specific implementation process is as follows:
the user turns on the television (CPE) to watch program a-1, triggering the CM (assuming the CM is already online on a 21-28 channel) to issue a join multicast group request to the CMTS; the CMTS checks whether a multicast session corresponding to the program A-1 exists or not, if the multicast session does not exist, the loads of a multicast special group-1 and a multicast special group-2 are checked according to the mapping relation between the program and the binding group, the binding group with the largest residual bandwidth (assumed to be the multicast special group-1) is selected for binding, and the multicast session corresponding to the program A-1 is established; after the CMTS completes the creation of the multicast session, the CM is informed of the channel of the multicast session and other relevant information and is migrated to the 1-3, 24-28 channels, so that the CM can normally receive the multicast traffic.
When the user changes the station to B-1, the CMTS also checks the mapping relation between the program and the binding group according to the request sent by the CM, according to the program planning in the graph, the CMTS compares the residual bandwidths of the sharing group-1 and the sharing group-2 in the graph, selects the binding group with the maximum residual bandwidth (assumed as the sharing group-1), and creates a new multicast session; the CMTS notifies the CM again after completing the creation of the new multicast session and migrates it to the 7-9, 24-28 channel, and the CM can receive the traffic for the new program as normal.
The above process describes the process of adding and switching to a session that does not exist, if the CM is added to the existing session, the process of searching the mapping relationship between the program and the binding group and selecting the binding group with the maximum residual bandwidth is omitted, the original binding group of the session is directly used to inform the CM of the related information, and the CM is enabled to migrate the channel.
The multicast configuration method provided by the embodiment of the invention can realize that a plurality of CMs share the channel corresponding to the same multicast group, thereby avoiding the bandwidth waste caused by multicast flow replication, and when the flow of a certain binding group overflows, a proper binding group can be selected to achieve load balancing.
Example two:
an embodiment of the present invention provides a multicast traffic configuration device, as shown in fig. 4, the device includes: a configuration module 41, a setting module 42, a triggering module 43, a judging module 44, a selecting module 45, a joining module 46 and a receiving module 47.
It should be noted that the configuration module 41 is configured to configure a plurality of bonding groups in the cable modem termination system CMTS, and set channels for multicast into the bonding groups, where the bonding groups include: a multicast-specific binding group and a multicast-shared binding group. The setting module 42 is configured to set a plurality of binding groups for the multicast group according to the audience rating of the multicast content, where the multicast group corresponds to the multicast content, and the multicast group corresponding to the target multicast content is a target multicast group. The triggering module 43 is configured to trigger the CM to send a request to the CMTS when the client device CPE under the cable modem CM plays the target multicast content, wherein the request is for joining the target multicast group.
The judging module 44 is configured to judge whether there is a multicast session of the target multicast content. And the selecting module 45 is configured to select, if not, the bonding group with the largest remaining bandwidth from the bonding groups according to the bonding group corresponding to the target multicast group, to bond the bonding group, and establish a multicast session corresponding to the target multicast content. The join module 46 is configured to join the CM into the multicast session. The receiving module 47 is configured to migrate the channel of the CM to a channel corresponding to a bonding group of the multicast session, so that the channel of the CM receives the target multicast content traffic.
The multicast flow configuration device provided by the embodiment of the invention establishes the multicast session by reasonably configuring the binding group for multicast, and migrates the channel of the CM to the binding group corresponding to the multicast session to receive the multicast content, thereby realizing the balanced distribution of the multicast flow and improving the user experience.
The multicast traffic configuration device provided in the embodiment of the present invention has the same technical features as the multicast traffic configuration method provided in the above embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
Example three:
as shown in fig. 5, the electronic device 5 includes a memory 51 and a processor 52, where the memory stores a computer program that can run on the processor, and the processor executes the computer program to implement the steps of the method provided in the first embodiment.
Referring to fig. 5, the electronic device further includes: a bus 53 and a communication interface 54, the processor 52, the communication interface 54 and the memory 51 being connected by the bus 53; the processor 52 is for executing executable modules, e.g. computer programs, stored in the memory 51.
The Memory 51 may include a high-speed Random Access Memory (RAM), and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 54 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The bus 53 may be an ISA bus, a PCI bus, an EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The memory 51 is used for storing a program, the processor 52 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 52, or implemented by the processor 52.
Example four:
the computer readable medium provided by the embodiment of the invention has a non-volatile program code executable by a processor, and the program code causes the processor to execute the method provided by the first embodiment.
The computer readable medium having the processor-executable nonvolatile program code provided in the embodiments of the present invention has the same technical features as the multicast traffic configuration method, apparatus, and electronic device provided in the embodiments, so that the same technical problems can be solved, and the same technical effects can be achieved.
The method, the apparatus, and the computer program product for configuring multicast traffic provided in the embodiments of the present invention include a computer-readable storage medium storing a non-volatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (9)
1. A method for multicast traffic configuration, comprising:
configuring a plurality of bonding groups at a Cable Modem Termination System (CMTS) and setting channels for multicast into the bonding groups, wherein the bonding groups include: a multicast dedicated binding group and a multicast shared binding group;
setting a plurality of binding groups for the multicast group according to the audience rating of the multicast content, wherein the multicast group corresponds to the multicast content, and the multicast group corresponding to the target multicast content is a target multicast group;
when a Customer Premise Equipment (CPE) under a Cable Modem (CM) plays the target multicast content, triggering the CM to send a request to the CMTS, wherein the request is used for joining the target multicast group;
judging whether a multicast session of the target multicast content exists or not;
if not, selecting a binding group with the largest residual bandwidth from the binding groups according to the binding group corresponding to the target multicast group for binding, and establishing a multicast session corresponding to the target multicast content;
adding the CM to the multicast session;
and migrating the channel of the CM to a channel corresponding to the binding group of the multicast session so that the channel of the CM receives the target multicast content flow.
2. The multicast traffic configuration method according to claim 1, further comprising:
identifying the number of receiving modules carried by the CM and the number of channels carried by each receiving module through attribute information in a receiving channel table (RCP);
segmenting a discontinuous channel set consisting of a multicast channel and a unicast channel to obtain a target channel set;
setting the target channel set in the receiving module.
3. The method of claim 1, wherein prior to the joining the CM into the multicast session, further comprising:
configuring a first threshold and a second threshold of the binding group, wherein the first threshold is smaller than the second threshold;
when the bonding group reaches the first threshold, stopping adding a new multicast session to the bonding group;
and when the binding group reaches the second threshold value, migrating the session with the least CM in the multicast session corresponding to the binding group.
4. The multicast traffic configuration method according to claim 1, further comprising:
and when the CPE under the CM does not play the multicast content, migrating the channel of the CM to a channel of a non-binding group and a channel with the minimum flow in the channels of the multicast sharing binding group.
5. The multicast traffic configuration method according to claim 1, further comprising:
when the CPE under the CM plays the multicast content, keeping the CM channel position for the multicast content unchanged;
when the CM channels for the unicast contents are load-balanced, the CM channels for the unicast contents are migrated to a channel having the smallest flow among the channels of the unbound group.
6. The multicast traffic configuration method according to claim 1, further comprising:
when new multicast content is added to the bonding group, the new multicast content is configured to the bonding group with the most remaining bandwidth.
7. The multicast traffic configuration method according to claim 1, further comprising:
and if the multicast content is added into the binding group, stopping setting a new binding group.
8. A multicast traffic configuration apparatus, comprising:
a configuration module configured to configure a plurality of bonding groups at a Cable Modem Termination System (CMTS) and set channels for multicast into the bonding groups, wherein the bonding groups include: a multicast dedicated binding group and a multicast shared binding group;
the setting module is used for setting a plurality of binding groups for the multicast group according to the audience rating of the multicast content, wherein the multicast group corresponds to the multicast content, and the multicast group corresponding to the target multicast content is a target multicast group;
a triggering module, configured to trigger a cable modem CM to send a request to a CMTS when a client device CPE under the CM plays the target multicast content, where the request is used to join the target multicast group;
the judging module is used for judging whether the multicast session of the target multicast content exists or not;
if not, selecting a binding group with the largest residual bandwidth from the binding groups according to the binding group corresponding to the target multicast group for binding, and establishing a multicast session corresponding to the target multicast content;
a joining module, configured to join the CM into the multicast session;
a receiving module, configured to migrate a channel of the CM to a channel corresponding to the bonding group of the multicast session, so that the channel of the CM receives the target multicast content traffic.
9. A computer-readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to perform the method of any of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910030841.XA CN109495773B (en) | 2019-01-11 | 2019-01-11 | Multicast traffic configuration method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910030841.XA CN109495773B (en) | 2019-01-11 | 2019-01-11 | Multicast traffic configuration method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109495773A CN109495773A (en) | 2019-03-19 |
CN109495773B true CN109495773B (en) | 2021-05-11 |
Family
ID=65714559
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910030841.XA Active CN109495773B (en) | 2019-01-11 | 2019-01-11 | Multicast traffic configuration method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109495773B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111371691B (en) * | 2020-03-10 | 2022-04-05 | 西安电子科技大学 | Multicast frame transmission method under multi-channel binding condition |
CN112399198A (en) * | 2020-12-11 | 2021-02-23 | 深圳创维数字技术有限公司 | Method, equipment and storage medium for allocating channel resources by television terminal |
CN112929289B (en) * | 2021-01-22 | 2022-07-26 | 西安电子科技大学 | Multicast frame transmission method based on multiple channels in star network |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100566228C (en) * | 2005-03-21 | 2009-12-02 | 美国博通公司 | Realize the method and system of the high-throughput allocated bandwidth in the cable network |
CN108234357A (en) * | 2016-12-15 | 2018-06-29 | 鼎点视讯科技有限公司 | Flux of multicast distribution method and system |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100417141C (en) * | 2005-11-29 | 2008-09-03 | 华为技术有限公司 | Group broadcasting business realizing method |
US8149859B2 (en) * | 2006-06-09 | 2012-04-03 | Arris Group, Inc. | Method for managing delivery of multicast traffic to devices |
CN101547347B (en) * | 2009-04-30 | 2011-08-10 | 上海大学 | Overlay network layered multicast resource optimum allocation method for scalable video stream |
CN102946525B (en) * | 2012-11-20 | 2015-06-10 | 浙江宇视科技有限公司 | Multicast service management device and forwarding device |
US9743151B2 (en) * | 2015-06-24 | 2017-08-22 | Time Warner Cable Enterprises Llc | Multicast video program switching architecture |
US9826261B2 (en) * | 2015-09-09 | 2017-11-21 | Ericsson Ab | Fast channel change in a multicast adaptive bitrate (MABR) streaming network using multicast repeat segment bursts in a dedicated bandwidth pipe |
-
2019
- 2019-01-11 CN CN201910030841.XA patent/CN109495773B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100566228C (en) * | 2005-03-21 | 2009-12-02 | 美国博通公司 | Realize the method and system of the high-throughput allocated bandwidth in the cable network |
CN108234357A (en) * | 2016-12-15 | 2018-06-29 | 鼎点视讯科技有限公司 | Flux of multicast distribution method and system |
Also Published As
Publication number | Publication date |
---|---|
CN109495773A (en) | 2019-03-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109417733B (en) | Node and method for transmitting unicast and broadcast traffic in a communication network | |
CN109495773B (en) | Multicast traffic configuration method and device and electronic equipment | |
US9712408B2 (en) | Bandwidth management in a content distribution network | |
CA2737166C (en) | System of distributing content data over a computer network and method of arranging nodes for distribution of data over a computer network | |
US20180077431A1 (en) | Media Data Live Broadcast Method, Device, and System | |
US20160105489A1 (en) | Distribution of cloud services in a cloud environment | |
Chen et al. | Celerity: A low-delay multi-party conferencing solution | |
KR20150091223A (en) | Methods and apparatus for managing network resources used by multimedia streams in a virtual pipe | |
CN110971432A (en) | Data transmission method and related device | |
KR20080076803A (en) | Bandwidth requesting system, bandwidth requesting device, client device, bandwidth requesting method, content playback method, and program | |
US11863841B2 (en) | Video playing control method and system | |
KR20120053516A (en) | Method and system for reducing time delay of internet protocol televisin(iptv) channel switching | |
US20240106891A1 (en) | Peer-to-peer network scheduling method and system | |
US8732787B2 (en) | Method and system for establishing digital media streams | |
Pandey et al. | The evolution of over the top (OTT): Standardization, key players and challenges | |
JP6962291B2 (en) | Notification device and notification method | |
CN109787870B (en) | Access management method, device, system, initial and target access equipment | |
US20180199116A1 (en) | Method and apparatus for ip multicast grouping | |
US10587569B2 (en) | Streaming service providing method and device | |
CN102256164A (en) | Video transmission system based on IP (Internet Protocol) network | |
KR101051710B1 (en) | Multiple session establishment method and node using same | |
Canonico et al. | Leveraging sdn to improve the performance of multicast-enabled iptv distribution systems | |
Contreras et al. | Analysis of network function sharing in Content Delivery Network‐as‐a‐service slicing scenarios | |
CN115499417A (en) | Data distribution method, server and electronic equipment | |
CN111586434A (en) | Load balancing method based on edge device and distributed mixed screen server |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |