CN112637078B - Method and electronic device for optimizing multicast quality - Google Patents
Method and electronic device for optimizing multicast quality Download PDFInfo
- Publication number
- CN112637078B CN112637078B CN201910903925.XA CN201910903925A CN112637078B CN 112637078 B CN112637078 B CN 112637078B CN 201910903925 A CN201910903925 A CN 201910903925A CN 112637078 B CN112637078 B CN 112637078B
- Authority
- CN
- China
- Prior art keywords
- multicast
- quality
- link
- equipment
- quality difference
- 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/16—Multipoint routing
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/302—Route determination based on requested QoS
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a method and electronic equipment for optimizing multicast quality, which are used for solving the problems of low efficiency and high labor consumption in the optimization of the multicast quality. The scheme provided by the application comprises the following steps: collecting multicast link information; determining a poor quality multicast group according to the multicast link information; and switching the quality difference source node in the multicast path of the lower connected multicast equipment of the quality difference source into the node associated with the quality difference source, or closing the quality difference source. The scheme of the embodiment of the invention can automatically and efficiently determine the poor quality multicast group according to the multicast link information, further determine the poor quality source and switch the multicast path of the poor quality source in time. The scheme can ensure that the overall quality of the multicast link is better and reduce the labor consumption. Switching is performed on the multicast path at the poor quality source, so that the poor quality problem is solved from the source with poor quality, the efficiency of optimizing the multicast quality is improved, and the optimized link quality is ensured.
Description
Technical Field
The present invention relates to the field of communications, and in particular, to a method and an electronic device for optimizing multicast quality.
Background
With the rapid development of mobile internet television services, the pressure of mobile internet television maintenance and guarantee is continuously rising. The existing mobile internet television service is usually realized by a multicast technology, the multicast technology can realize point-to-multipoint network connection, the data transmission efficiency is higher, and the possibility of congestion of a backbone network is reduced. However, due to the influence of network quality, the mobile internet television occasionally has the situations of time delay, jitter and the like, and the phenomenon of poor television live broadcast quality is caused.
For the quality difference phenomenon, in the prior art, manual treatment is often performed by operation and maintenance personnel according to complaints of customers, the efficiency is low, and much manpower is consumed. How to efficiently optimize the multicast quality is a technical problem to be solved by the application.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an electronic device for optimizing multicast quality, so as to solve the problems of low efficiency and high labor consumption in optimizing multicast quality.
In a first aspect, a method for optimizing multicast quality is provided, including:
collecting multicast link information, wherein the multicast link information comprises multicast equipment connection relation and link performance information;
determining a quality difference multicast group according to the multicast link information, wherein the quality difference multicast group comprises quality difference multicast equipment and a quality difference link connected with the quality difference multicast equipment;
and switching a quality source node in a multicast path of a quality source lower link multicast device into a node associated with the quality source, or closing the quality source, wherein the quality source is the multicast device of which an upper link in the quality multicast group has no quality difference and a lower link has quality difference.
In a second aspect, an electronic device is provided, including:
the acquisition module acquires multicast link information, wherein the multicast link information comprises multicast equipment connection relation and link performance information;
the determining module is used for determining a quality difference multicast group according to the multicast link information, wherein the quality difference multicast group comprises quality difference multicast equipment and a quality difference link connected with the quality difference multicast equipment;
and the processing module is used for switching the poor quality source node in the multicast path of the poor quality source lower link multicast device into the node associated with the poor quality source, or closing the poor quality source, wherein the poor quality source is the multicast device of which the upper link has no poor quality and the lower link has poor quality in the poor quality multicast group.
In a third aspect, a terminal device is provided, the terminal device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first aspect.
In a fourth aspect, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the method according to the first aspect.
In the embodiment of the application, the poor quality multicast can be automatically and efficiently identified and optimized by acquiring the multicast link information, determining the poor quality multicast group according to the multicast link information and further switching the multicast path at the poor quality source. The scheme can ensure the overall quality of the multicast link to be better and reduce the labor consumption. Switching is performed on the multicast path at the poor quality source, so that the poor quality problem is solved from the source with poor quality, the efficiency of optimizing the multicast quality is improved, and the optimized link quality is ensured.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
fig. 1 is one of the flow diagrams of a method for optimizing multicast quality according to an embodiment of the present invention;
fig. 2 is a second flowchart of a method for optimizing multicast quality according to an embodiment of the present invention;
fig. 3 is a third flowchart illustrating a method for optimizing multicast quality according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for optimizing multicast quality according to an embodiment of the present invention;
fig. 5 is a fifth flowchart illustrating a method for optimizing multicast quality according to an embodiment of the present invention;
fig. 6 is a sixth flowchart illustrating a method for optimizing multicast quality according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, 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. The reference numbers in the present application are only used for distinguishing the steps in the scheme and are not used for limiting the execution sequence of the steps, and the specific execution sequence is described in the specification.
In order to solve the problems of low efficiency and high labor consumption in optimizing multicast quality in the prior art, the present application provides a method for optimizing multicast quality, as shown in fig. 1, including the following steps:
s11: collecting multicast link information, wherein the multicast link information comprises multicast equipment connection relation and link performance information;
s12: determining a quality difference multicast group according to the multicast link information, wherein the quality difference multicast group comprises quality difference multicast equipment and a quality difference link connected with the quality difference multicast equipment;
s13: and switching a quality source node in a multicast path of a quality source lower link multicast device into a node associated with the quality source, or closing the quality source, wherein the quality source is the multicast device of which an upper link in the quality multicast group has no quality difference and a lower link has quality difference.
The step S11 may specifically be to acquire link information of the device and a service port on the device, so as to obtain multicast link information. The data acquisition module for acquiring the multicast link information may communicate with the device through a Simple Network Management Protocol (SNMP), for example, to acquire the multicast link information.
The connection relationship between the multicast devices may include, for example, an uplink device and a downlink device of the multicast device, or a connection relationship between the uplink device and the downlink device and other devices. The link performance information may include, for example, a transceiving optical state, a traffic utilization rate, whether a CRC error exists in the link, whether a Ping user loses a packet, and the like.
In step S12, for example, a link with poor quality may be determined according to the link performance information, and then a multicast device with poor quality may be determined, and then a poor quality multicast group may be determined according to the connection relationship of the multicast devices connected to the poor quality device. The quality difference multicast group comprises quality difference multicast equipment and a quality difference link connected with the quality difference multicast equipment, wherein the quality difference link connected with the quality difference multicast equipment can comprise multicast equipment connected with the quality difference multicast equipment in a downstream mode. For example, the multicast link includes a poor multicast device, and since the information received by the multicast device connected to the inferior multicast device is all from the poor multicast device, the signals of the multicast device connected to the inferior multicast device are all poor. In this embodiment, the quality-difference multicast group may include a quality-difference multicast device and one or more multicast devices of its downlink.
In step S13, the multicast path of the multicast device connected to the inferior source is switched, so that the multicast device connected to the inferior source establishes the multicast link through the multicast device other than the inferior source, and avoids receiving the signal of the inferior source, thereby avoiding being affected by the inferior signal sent by the inferior source.
For example, when the target multicast device connects a main multicast device and a standby multicast device in a dual-uplink manner, and the main multicast device is a quality difference source, the uplink path of the target multicast device may be switched, and the main multicast device node is switched to the standby multicast device node, so that the target multicast device is prevented from being influenced by a signal sent by the quality difference source. The main multicast device is associated with the standby multicast device and the nodes thereof, and the standby multicast device is also associated with the main multicast device and the nodes thereof.
Besides switching the multicast path, the influence of the quality difference source on the multicast equipment connected with the quality difference source can be avoided by closing the quality difference source. The closing of the poor quality source may specifically be closing of an uplink interface and a downlink interface of the poor quality source, so that the device originally communicating with the poor quality source searches for an available multicast link again, communicates with other available multicast devices, and further establishes a multicast link with better signal quality.
In the embodiment of the application, by acquiring the multicast link information, determining the poor quality multicast group according to the multicast link information and further switching the multicast path at the poor quality source, the poor quality multicast can be automatically and efficiently identified and optimized. The scheme can ensure the overall quality of the multicast link to be better and reduce the labor consumption. Switching is carried out aiming at the multicast path at the poor quality source, the poor quality problem is solved from the source with poor quality, the influence of a poor quality signal sent by the poor quality source on the multicast equipment connected below the poor quality source is avoided, the efficiency of optimizing the multicast quality is improved, and the optimized link quality is ensured.
In addition, before executing step S13, a prompt message may be sent to the poor source downlink multicast device to notify a user or a manager of the multicast device that the multicast link is to be switched, where the prompt message may include multicast link information of the current multicast device and multicast link information to be switched, so that the user or the manager of the multicast device performs an operation according to an actual requirement.
Based on the method provided by the foregoing embodiment, preferably, the connection relationship of the multicast device includes at least one of the following: the multicast routing method comprises interface information of communication connection between an optical line terminal and at least one broadband network gateway control device, interface information of communication connection between the at least one broadband network gateway control device and at least one core router, and interface information of communication connection between the at least one core router and at least one multicast source device.
In practical applications, the mobile Broadband television may access a dual Broadband Network Gateway control device (BNG) node device of a home Broadband Network Gateway through an Optical Line Terminal (OLT) device of a Gigabit-Capable Passive Optical Network (GPON) Network, each BNG device may be doubly linked to a Core Router (CR) device of a local metropolitan area Network egress Core, the CR device is further linked to a provincial Network to a Multicast source device, the Multicast stream entire link is pulled to the OLT device in a static pull manner, a Protocol Independent Multicast (PIM) priority policy decision device link may be used between the OLT and the BNG, and a load sharing mode may be used for a link from the g to the CR. For convenience of explanation, in this embodiment, the optical line terminal is referred to as an OLT multicast device, the broadband network gateway control device is referred to as a BNG multicast device, and the core router is referred to as a CR multicast device.
In this embodiment, the multicast link information collected in step S11 may include interface information of the optical line terminal in communication connection with the at least one broadband network gateway control device, that is, information of a sub-interface of the OLT tv live broadcast service connected downstream by the BNG, and specifically, a PIM priority may be collected according to the sub-interface configuration information to provide a data basis for subsequent switching of the multicast link, and the collected interface information of the optical line terminal in communication connection with the at least one broadband network gateway control device may be as shown in table 1-1 below, where table 1-1 shows a connection relationship between the multicast device "OLT001" and the dual-uplink "BNG001" and "BNG002" multicast devices.
TABLE 1-1
It should be noted that the actually acquired multicast link information may include a connection relationship between a plurality of OLT multicast devices and uplink BNG multicast devices, and the OLT multicast devices may also communicate with the BNG multicast devices through other manners besides dual uplink.
The multicast link information collected in step S11 may include interface information of a communication connection between at least one broadband network gateway control device and at least one core router, and may specifically be implemented by collecting a multicast group interfacing information table in a BNG multicast forwarding table, where the collected interface information of the communication connection between the at least one broadband network gateway control device and the at least one core router may be as shown in table 1-2 below, where table 1-2 in this embodiment shows a correspondence relationship between a logical interface and a physical interface of an input interface "interfacing" of the multicast device "BNG001", and a core router communicated with "BNG001" may be determined through the logical interface and the physical interface in the table.
Tables 1 to 2
It should be noted that the actually acquired multicast link information may include the connection relationship between a plurality of BNG multicast devices and the uplink CR multicast device, or may express the connection relationship between the BNG multicast device and the uplink CR multicast device in a form other than "communicating interface".
The multicast link information collected in step S11 may include interface information of communication connection between at least one core router and at least one multicast source device, and specifically, the interface information may be collected through a multicast group incoming port, an outgoing interface outgoing port, and the like in a multicast group forwarding table of the CR multicast device and the uplink multicast device. The collected multicast link information can represent the connection relationship between the CR multicast equipment and the uplink multicast equipment.
In addition, the link performance information in the multicast link information may be obtained by collecting performance information of the interconnection link of "OLT multicast device-BNG multicast device-CR multicast device", which may be shown in tables 1 to 3 below. The link performance information may characterize the signal quality in the multicast link, and from the link performance information, it may be determined whether there is a quality difference in the link. Tables 1-3 show two different multicast links, where the transceiving light of the link "gi1/0/0" is weak, the link "gi4/0/1" has the condition of Ping user packet loss, the states of signals in different links can be known according to the link performance information, and then whether the link has poor quality is determined.
Tables 1 to 3
It should be noted that the link performance information may also include parameters other than those shown in tables 1-3 above to reveal the signal quality in the link from different aspects and to provide a data basis for the subsequent determination of the source of the quality difference.
Based on the method provided by the foregoing embodiment, as shown in fig. 2, the foregoing step S12 preferably includes the following steps:
s121: determining target poor multicast equipment according to the link performance information;
s122: judging whether a link communicated with the target poor quality multicast equipment is a poor quality link or not according to the connection relation of the multicast equipment and the link performance information;
s123: and determining a poor quality multicast group according to the target poor quality multicast equipment and a poor quality link connected with the target poor quality multicast equipment.
In step S121, it may be determined whether each multicast device in the multicast link has a poor quality based on the link performance information and a preset rule. For example, when the signal received by the multicast device is poor, the multicast device is determined as a target poor multicast device, and the target poor multicast device may be a poor source or a poor source connected downstream multicast device. After determining the target poor quality multicast device, step S122 is executed to determine whether the link communicating with the target poor quality multicast device is a poor quality link according to the connection relationship of the multicast device and the link performance information. For example, it is determined whether the uplink of the target poor quality multicast device has poor quality, and then it is determined whether the downlink of the target poor quality multicast device has poor quality. Step S123 is then executed, and assuming that the uplink link of the target quality-poor multicast device has no quality difference and the downlink link has quality difference, it may be determined that the target quality-poor multicast device is a quality-poor source, and at this time, the quality-poor multicast group is determined according to the target quality-poor multicast device and the downlink link. The quality difference multicast group may include information of a target quality difference multicast device and information of a multicast device in a downlink, and may further include port information, signal quality information transmitted and received by each port, and the like.
According to the scheme of the embodiment, the current poor-quality target multicast equipment can be determined according to the multicast link information, and the determined poor-quality multicast group comprises poor-quality multicast equipment communicated with the poor-quality target multicast equipment, so that the poor-quality part in the multicast link is determined, and the targeted link switching is performed later.
Based on the method provided in the foregoing embodiment, preferably, the connection relationship of the multicast device includes interface information of communication connection between the optical line terminal and at least one broadband network gateway control device, as shown in fig. 3, where the step S11 includes the following steps:
s111: collecting protocol independent multicast priorities of a plurality of broadband network gateway control devices which are communicated with the optical line terminal;
s112: and determining a multicast main link of the optical line terminal according to the protocol independent multicast priorities of the plurality of broadband network gateway control devices.
In step S111, the protocol independent multicast priority determines the uplink multicast device when the multicast device uses the dual uplink connection method. Taking the multicast device connection relationship shown in table 1-1 as an example, for the "OLT001" multicast device, a dual-uplink connection method is used to uplink the "BNG001" multicast device and the "BNG002" multicast device. The PIM priority of the uplink "BNG001" multicast device is 150, and the PIM priority of the uplink "BNG002" multicast device is 100.
Then, step S112 is executed, according to the PIM priority in the connection relationship of the multicast devices, the "OLT001" multicast device preferentially receives the signal sent by the "BNG001" multicast device with the priority of 150, that is, the multicast active link of the "OLT001" multicast device includes the "BNG001" multicast device.
The scheme provided by the application can determine the active link of the multicast equipment, and further improve the accuracy of the determined poor quality multicast group in the subsequent step S12.
Based on the method provided in the foregoing embodiment, preferably, the target quality-difference multicast device is a broadband network gateway control device, as shown in fig. 4, where step S12 includes the following steps:
s124: determining a target optical line terminal connected with the gateway control equipment of the poor quality broadband network according to the connection relation of the multicast equipment;
s125: and when the multicast main link of the target optical line terminal comprises the poor quality broadband network gateway control equipment, determining a poor quality multicast group according to the target optical line terminal.
In this embodiment, the target poor quality multicast device is a BNG multicast device, and in step S124, since the BNG multicast device has poor quality, all the OLT multicast devices including the BNG multicast device in the active link have poor quality. The BNG multicast device with poor quality may drop one or more OLT multicast devices, and in this step S124, the OLT multicast device dropped by the BNG multicast device is determined.
Subsequently, step S125 is executed to determine whether the determined active link of the OLT multicast device includes the BNG multicast device with the poor quality. If the active link of the OLT multicast device includes the BNG multicast device with poor quality, it indicates that the OLT multicast device receives the signal sent by the BNG multicast device with poor quality, and thus the OLT multicast device also has poor quality. If the active link of the OLT multicast device does not include the BNG multicast device with the quality difference, it indicates that the BNG multicast device with the quality difference is a standby uplink device of the OLT multicast device, and the current OLT multicast device is not affected by the quality difference signal of the BNG multicast device.
By the scheme provided by the application, the lower OLT multicast equipment actually influenced by the BNG multicast equipment with poor quality can be determined, so that the OLT multicast equipment including the BNG multicast equipment with poor quality in the main link is determined, and the OLT multicast equipment influenced by the poor quality signal is switched in a targeted manner in the subsequent steps.
Based on the method provided in the foregoing embodiment, preferably, the target quality-poor multicast device is a broadband network gateway control device, as shown in fig. 5, step S122 includes the following steps:
s1221: determining a target core router connected to the poor quality network gateway control equipment according to the connection relation of the multicast equipment;
s1222: judging whether a link between the poor quality network gateway control equipment and the target core router is a poor quality link according to the link performance information;
wherein, the step S123 includes the following steps:
s1231: when the link between the poor quality network gateway control equipment and the target core router is a poor quality link, determining network gateway control equipment connected with the target core router in a downlink manner according to the connection relation of the multicast equipment;
s1232: and determining the quality difference multicast group according to the quality difference network gateway control equipment, the target core router and the network gateway control equipment connected with the target core router.
In this embodiment, the target poor quality multicast device is a BNG multicast device, and in step S1221, the target CR multicast device associated with the BNG multicast device with poor quality is determined according to the connection relationship between the multicast devices. In practical applications, a load sharing connection is usually adopted between the BNG multicast device and the CR multicast device, and if the BNG multicast device has a poor quality, it may be due to the poor quality of the CR multicast device connected to the BNG multicast device. Subsequently, in step S1222, it is determined whether the link between the BNG multicast device with poor quality and the target CR multicast device connected to the uplink is a poor link, and if the link is a poor link, it indicates that the BNG multicast device with poor quality may be poor due to the poor quality of the CR multicast device connected to the uplink.
Through the above steps S1221 and S1222, a portion of the multicast link where the quality difference exists can be determined, thereby improving the accuracy of the quality difference multicast group determined subsequently.
Subsequently, in step S1231, when the link between the BNG multicast device with poor quality and the target CR multicast device is a poor quality link, it may be determined that the target CR multicast device has poor quality, and the poor quality signal may affect the OLT multicast devices connected to the target CR multicast device through the BNG multicast device.
Next, in step S1232, a poor quality multicast group is determined based on the BNG multicast device with poor quality, the target CR multicast device with poor quality, and the OLT multicast device connected to the target CR multicast device. Specifically, in practical applications, the OLT multicast device usually connects the BNG multicast devices in a dual-uplink manner, so that there may be a case that a part of the OLT multicast devices in the downlink is not affected by the poor signal. Specifically, when the active link of the OLT multicast device includes the target CR multicast device, the OLT multicast device may have a quality difference, and when the active link of the OLT multicast device does not include the target CR multicast device, the OLT multicast device may not be affected by a quality difference signal sent by the target CR multicast device.
By the scheme of the embodiment, the quality difference multicast group can be accurately determined, and the condition that the determined quality difference multicast group contains OLT multicast equipment without quality difference is avoided, so that useless switching is avoided, and the multicast quality is optimized.
Based on the method provided in the foregoing embodiment, preferably, the quality difference source is a target network gateway control device, as shown in fig. 6, before the step S13, the method further includes the following steps:
s14: judging whether the utilization rate of a downlink link of the target network gateway control equipment is less than a preset utilization rate or not;
in step S13, switching the quality difference source node in the multicast path of the lower quality difference source multicast device to the node associated with the quality difference source includes:
s131: when the utilization rate of a downlink link of the target network gateway control equipment is greater than or equal to a preset utilization rate, switching a target network gateway control equipment node in a multicast path of an optical line terminal which is connected with the target network gateway control equipment in a downlink manner to a node associated with the target network gateway control equipment;
wherein, in the step S13, turning off the quality difference source includes:
s132: and when the utilization rate of the downlink link of the target network gateway control equipment is less than the preset utilization rate, closing the physical port of the target network gateway control equipment.
In this embodiment, before the step S13 is executed, it is determined whether the utilization rate of the downlink of the target BNG multicast device is less than the preset utilization rate. And determining whether the utilization rate of the downlink link is over-limit according to the judgment result, and then determining which operation is executed to optimize the multicast quality according to the judgment result.
In step S131, when the utilization rate of the downlink is greater than or equal to the preset utilization rate, it indicates that the utilization rate of the downlink is out of limit, and in order to reduce the adverse effect of the optimized multicast quality on the multicast whole, the BNG multicast device node in the multicast path of the OLT multicast device in the downlink of the target BNG multicast device is switched to the node associated with the target BNG multicast device, and specifically, a PIM priority modification instruction may be issued to the main and standby BNG multicast devices for the sub-interface corresponding to the OLT multicast device with poor quality, so as to switch the multicast path of the OLT multicast device with poor quality to the standby side, thereby implementing multicast quality optimization.
In step S132, when the utilization rate of the downlink link is less than the preset utilization rate, it indicates that the utilization rate of the downlink link is not exceeded, and at this time, the physical port of the target BNG multicast device may be closed, so that the OLT multicast device of the target BNG multicast device that is originally connected to the downlink is reconnected to another BNG multicast device, a new multicast link is established, and multicast quality optimization is achieved.
By the scheme, whether the utilization rate of the current multicast link is out of limit or not can be judged, the multicast quality is optimized by selecting a proper execution mode according to actual conditions, and adverse effects on the multicast link in the process of optimizing the multicast quality are reduced.
In order to solve the problems in the prior art, as shown in fig. 7, the present application further provides an electronic device 70, including:
the acquisition module 71 acquires multicast link information, where the multicast link information includes multicast device connection relationship and link performance information;
a determining module 72, configured to determine a poor quality multicast group according to the multicast link information, where the poor quality multicast group includes a poor quality multicast device and a poor quality link connected to the poor quality multicast device;
the processing module 73 switches a quality difference source node in a multicast path of a quality difference source lower link multicast device to a node associated with the quality difference source, or closes the quality difference source, where the quality difference source is a multicast device in which an uplink link in the quality difference multicast group has no quality difference and a downlink link has quality difference.
In the embodiment of the application, the acquisition module can acquire the multicast link information, the determining module can determine the quality difference multicast group according to the multicast link information, and the processing module can switch the multicast path at the quality difference source, so that the quality difference multicast can be automatically and efficiently identified and optimized. The scheme can ensure the overall quality of the multicast link to be better and reduce the labor consumption. Switching is performed on the multicast path at the poor quality source, so that the poor quality problem is solved from the source with poor quality, the efficiency of optimizing the multicast quality is improved, and the optimized link quality is ensured.
Preferably, an embodiment of the present invention further provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and capable of running on the processor, where the computer program, when executed by the processor, implements each process of the above-mentioned method for optimizing multicast quality, and can achieve the same technical effect, and in order to avoid repetition, details are not described here again.
An embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program implements each process of the above-mentioned method for optimizing multicast quality, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the particular illustrative embodiments, it is to be understood that the invention is not limited to the disclosed embodiments, but is intended to cover various modifications, equivalent arrangements, and equivalents thereof, which may be made by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.
Claims (10)
1. A method for optimizing multicast quality, comprising:
collecting multicast link information, wherein the multicast link information comprises multicast equipment connection relation and link performance information; the connection relation of the multicast equipment comprises the connection relation of uplink equipment and downlink equipment of the multicast equipment, or the connection relation of the uplink equipment and the downlink equipment with other equipment; the link performance information comprises a receiving and transmitting optical state, a flow utilization rate, whether a link has CRC errors or not and whether a Ping user loses packets or not;
determining a quality difference multicast group according to the multicast link information, wherein the quality difference multicast group comprises quality difference multicast equipment and a quality difference link connected with the quality difference multicast equipment;
and switching a quality difference source node in a multicast path of the quality difference source lower connection multicast equipment to a node associated with the quality difference source, or closing the quality difference source, wherein the quality difference source is the multicast equipment of which an uplink link in the quality difference multicast group has no quality difference and a downlink link has quality difference.
2. The method of claim 1, wherein the determining a poor quality multicast group based on the multicast link information comprises:
determining target quality difference multicast equipment according to the link performance information;
judging whether a link communicated with the target poor quality multicast equipment is a poor quality link or not according to the connection relation of the multicast equipment and the link performance information;
and determining a poor quality multicast group according to the target poor quality multicast equipment and a poor quality link connected with the target poor quality multicast equipment.
3. The method of claim 2, wherein the multicast device connectivity comprises at least one of: the multicast routing method comprises interface information of communication connection between an optical line terminal and at least one broadband network gateway control device, interface information of communication connection between the at least one broadband network gateway control device and at least one core router, and interface information of communication connection between the at least one core router and at least one multicast source device.
4. The method of claim 3, wherein the multicast device connectivity comprises interface information of the OLT communicatively coupled with at least one broadband network gateway control device, and wherein the collecting multicast link information comprises:
collecting protocol independent multicast priorities of a plurality of broadband network gateway control devices communicated with the optical line terminal;
and determining the multicast main link of the optical line terminal according to the protocol independent multicast priority of the plurality of broadband network gateway control devices.
5. The method of claim 4, wherein the target poor quality multicast device is a broadband network gateway control device, and wherein the determining a poor quality multicast group based on the multicast link information comprises:
determining a target optical line terminal connected with the gateway control equipment of the poor quality broadband network in a downstream mode according to the connection relation of the multicast equipment;
and when the multicast main link of the target optical line terminal comprises the poor quality broadband network gateway control equipment, determining a poor quality multicast group according to the target optical line terminal.
6. The method according to claim 3, wherein the target poor multicast device is a gateway control device of a broadband network, and the determining whether the link connected to the target poor multicast device is a poor link according to the connection relationship between the multicast devices and the link performance information includes:
determining a target core router connected to the poor quality network gateway control device according to the connection relation of the multicast device;
judging whether a link between the poor quality network gateway control equipment and the target core router is a poor quality link according to the link performance information;
wherein, the determining the poor quality multicast group according to the target poor quality multicast device and the poor quality link connected with the target poor quality multicast device includes:
when the link between the poor quality network gateway control equipment and the target core router is a poor quality link, determining network gateway control equipment connected with the target core router in a downlink manner according to the connection relation of the multicast equipment;
and determining the quality difference multicast group according to the quality difference network gateway control equipment, the target core router and the network gateway control equipment connected with the target core router in a downstream mode.
7. The method according to any one of claims 1 to 6, wherein the quality difference source is a target network gateway control device, and the switching a quality difference source node in a multicast path of a quality difference source downstream multicast device to a node associated with the quality difference source or before turning off the quality difference source further comprises:
judging whether the utilization rate of a downlink link of the target network gateway control equipment is less than a preset utilization rate or not;
the method for switching the quality difference source node in the multicast path of the lower-connection multicast equipment of the quality difference source into the node associated with the quality difference source comprises the following steps:
when the utilization rate of a downlink link of the target network gateway control equipment is greater than or equal to a preset utilization rate, switching a target network gateway control equipment node in a multicast path of an optical line terminal which is connected with the target network gateway control equipment in a downlink manner to a node associated with the target network gateway control equipment;
wherein turning off the source of quality difference comprises:
and when the utilization rate of the downlink link of the target network gateway control equipment is less than the preset utilization rate, closing the physical port of the target network gateway control equipment.
8. An electronic device, comprising:
the acquisition module acquires multicast link information, wherein the multicast link information comprises multicast equipment connection relation and link performance information; the connection relation of the multicast equipment comprises the connection relation of uplink equipment and downlink equipment of the multicast equipment, or the connection relation of the uplink equipment and the downlink equipment with other equipment; the link performance information comprises a light receiving and transmitting state, a flow utilization rate, whether a link has CRC errors or not and whether a Ping user loses packet or not;
the determining module is used for determining a quality difference multicast group according to the multicast link information, wherein the quality difference multicast group comprises quality difference multicast equipment and a quality difference link connected with the quality difference multicast equipment;
and the processing module is used for switching a quality difference source node in a multicast path of the lower-link multicast equipment of the quality difference source into a node associated with the quality difference source, or closing the quality difference source, wherein the quality difference source is the multicast equipment of which the upper link has no quality difference and the lower link has quality difference in the quality difference multicast group.
9. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910903925.XA CN112637078B (en) | 2019-09-24 | 2019-09-24 | Method and electronic device for optimizing multicast quality |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910903925.XA CN112637078B (en) | 2019-09-24 | 2019-09-24 | Method and electronic device for optimizing multicast quality |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112637078A CN112637078A (en) | 2021-04-09 |
CN112637078B true CN112637078B (en) | 2022-10-18 |
Family
ID=75282531
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910903925.XA Active CN112637078B (en) | 2019-09-24 | 2019-09-24 | Method and electronic device for optimizing multicast quality |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112637078B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2024187314A1 (en) * | 2023-03-10 | 2024-09-19 | 新华三技术有限公司 | Master-slave switching method and apparatus, and gateway device and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667941A (en) * | 2009-09-27 | 2010-03-10 | 中兴通讯股份有限公司 | Method for detecting link performance and device therefor |
CN102025629A (en) * | 2010-12-10 | 2011-04-20 | 中兴通讯股份有限公司 | Method, device and system for realizing multicast service |
-
2019
- 2019-09-24 CN CN201910903925.XA patent/CN112637078B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101667941A (en) * | 2009-09-27 | 2010-03-10 | 中兴通讯股份有限公司 | Method for detecting link performance and device therefor |
CN102025629A (en) * | 2010-12-10 | 2011-04-20 | 中兴通讯股份有限公司 | Method, device and system for realizing multicast service |
Also Published As
Publication number | Publication date |
---|---|
CN112637078A (en) | 2021-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114073052B (en) | Systems, methods, and computer readable media for slice-based routing | |
US10057158B2 (en) | Control device discovery in networks having separate control and forwarding devices | |
US9197568B2 (en) | Method for providing quality of service in software-defined networking based network and apparatus using the same | |
AU2014277525B2 (en) | Service process control method and network device | |
US9571382B2 (en) | Method, controller, and system for processing data packet | |
CN109787801B (en) | Network service management method, device and system | |
US20080019265A1 (en) | Systems and methods for configuring a network to include redundant upstream connections using an upstream control protocol | |
EP3086588A1 (en) | Configuration processing and configuration method and device for binding link | |
US8964766B2 (en) | Session relay equipment and session relay method | |
US10560456B2 (en) | Method, apparatus, and system for collecting access control list | |
US20190037057A1 (en) | Providing efficient routing of an operations, administration and maintenance (oam) frame received at a port of an ethernet switch | |
JP2018533886A (en) | Network handover method and apparatus | |
US20020075803A1 (en) | Method and apparatus for dynamic optimization of a multi-service access device | |
US10567180B2 (en) | Method for multicast packet transmission in software defined networks | |
CN102893560B (en) | A kind of data flow transmission method and the network equipment | |
US9900804B2 (en) | Method and device for processing to share network resources, and method, device and system for sharing network resources | |
CN112637078B (en) | Method and electronic device for optimizing multicast quality | |
US11476929B2 (en) | Correcting traffic misconnections in optical communications networks | |
CN117321976A (en) | Methods, systems, and computer readable media for selecting a software defined wide area network (SD-WAN) link using network slice information | |
CN106209633B (en) | Message forwarding method and device | |
CN107508730B (en) | SDN network-based data center interconnection method and device | |
CN102932186B (en) | Trunking system and method of removing loop circuits | |
EP3687131A1 (en) | Method, apparatus and system for rapidly restoring service during path switching | |
CN116056149B (en) | Simplex operation method, device, equipment and medium for IAB host node | |
CN109039940B (en) | Load balancing method and device for data transmission |
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 |