CN110557687A - multicast data packet processing method, device and storage medium - Google Patents

multicast data packet processing method, device and storage medium Download PDF

Info

Publication number
CN110557687A
CN110557687A CN201910712744.9A CN201910712744A CN110557687A CN 110557687 A CN110557687 A CN 110557687A CN 201910712744 A CN201910712744 A CN 201910712744A CN 110557687 A CN110557687 A CN 110557687A
Authority
CN
China
Prior art keywords
sub
control equipment
control
port
bandwidth setting
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.)
Granted
Application number
CN201910712744.9A
Other languages
Chinese (zh)
Other versions
CN110557687B (en
Inventor
贺传森
王晓燕
亓娜
王艳辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hainan Shilian Communication Technology Co.,Ltd.
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201910712744.9A priority Critical patent/CN110557687B/en
Publication of CN110557687A publication Critical patent/CN110557687A/en
Application granted granted Critical
Publication of CN110557687B publication Critical patent/CN110557687B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load
    • H04N21/64738Monitoring network characteristics, e.g. bandwidth, congestion level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64784Data processing by the network
    • H04N21/64792Controlling the complexity of the content stream, e.g. by dropping packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a method, a device and a storage medium for processing a multicast data packet, wherein the method comprises the following steps: the sub-control equipment receives the grouping information from the main control equipment, and performs grouping operation on the switch and the video network terminal connected with the sub-control equipment to obtain a plurality of sub-control groups; the sub-control equipment receives the bandwidth setting information from the main control equipment and performs bandwidth setting operation on the switches in the plurality of sub-control groups according to the bandwidth setting information; the sub-control equipment monitors the total flow of multicast data packets received/sent by the switches in a plurality of sub-control groups in real time; and the sub-control equipment discards the part of the multicast data packets which exceed the corresponding flow limit value in the total flows. The embodiment of the invention avoids the problem that certain terminal equipment maliciously sends large-flow multicast data packets and excessively occupies broadband resources of the switch, and ensures the normal execution of the video networking service.

Description

Multicast data packet processing method, device and storage medium
Technical Field
The present invention relates to the field of video networking technologies, and in particular, to a method and an apparatus for processing multicast packets, and a computer-readable storage medium.
background
The video network is a special network for transmitting high-definition video and a special protocol at high speed based on Ethernet hardware, is a higher-level form of the Ethernet and is a real-time network.
At present, a switch accessed into the video network does not belong to video network equipment, and cannot be registered in the video network, so that bandwidth limitation cannot be performed on a port in the switch in the video network. If some terminal devices maliciously send large-flow multicast data packets in the video networking service, the broadband resources of the switch are excessively occupied, and the normal execution of the video networking service is influenced.
Disclosure of Invention
In view of the above, embodiments of the present invention are proposed to provide a multicast packet processing method, apparatus and computer-readable storage medium that overcome or at least partially solve the above problems.
In order to solve the above problems, an embodiment of the present invention discloses a method for processing multicast data packets, where the method is applied to a network management and control system based on a video network, where the network management and control system includes a management and control device, a master control device, a slave control device, a switch, and a video network terminal, the master control device is in communication connection with the management and control device, and the slave control device is in communication connection with the master control device and the video network terminal through the switch, respectively; the method comprises the following steps: the sub-control equipment receives grouping information from the main control equipment, wherein the grouping information is obtained by analyzing a grouping command from the control equipment by the main control equipment; the sub-control equipment carries out grouping operation on the switch and the video network terminal connected with the sub-control equipment according to the grouping information to obtain a plurality of sub-control groups; the sub-control equipment receives bandwidth setting information from the main control equipment, wherein the bandwidth setting information is obtained by analyzing a bandwidth setting command from the control equipment by the main control equipment, and the bandwidth setting information comprises a flow limit value; the branch control equipment carries out bandwidth setting operation on the switches in the plurality of branch control groups according to the bandwidth setting information; the sub-control equipment monitors the total flow of multicast data packets received/sent by the switches in the plurality of sub-control groups in real time; and the sub-control equipment discards partial multicast data packets which exceed the corresponding flow limit value in the total flow.
Optionally, the grouping command comprises: sub-control micro-cloud identification information, sub-control group identification information, father node sub-control group identification information and a switch port list; the main control device is used for determining the sub-control devices corresponding to the grouping commands according to the sub-control micro-cloud identification information and sending the grouping information to the corresponding sub-control devices.
optionally, the bandwidth setting command includes: sub-control micro-cloud identification information, sub-control group identification information, a receiving flow extreme value of a port, a sending flow extreme value of the port and a multicast ratio; the main control equipment is further used for determining the sub-control equipment corresponding to the bandwidth setting command according to the sub-control micro-cloud identification information, and sending the bandwidth setting information to the corresponding sub-control equipment.
optionally, the step of monitoring, by the sub-control device, a total flow of multicast packets received/sent by the switches in the plurality of sub-control groups in real time includes: and the sub-control equipment monitors the total flow of multicast data packets received/sent by each port of the switch in a plurality of sub-control groups in real time.
optionally, the step of dropping, by the sub-control device, a part of multicast packets in the total traffic that exceeds the corresponding traffic limit includes: for each port, the sub-control device multiplies the receiving flow extreme value of the port by the multicast ratio to obtain the receiving flow limit value of each port, and multiplies the sending flow extreme value of the port by the multicast ratio to obtain the sending flow limit value of each port; the sub-control equipment compares the total flow of the multicast data packets received by each port with the corresponding receiving flow limit value, and discards the partial multicast data packets of which the total flow exceeds the corresponding receiving flow limit value; and the sub-control equipment compares the total flow of the multicast data packets sent by each port with the corresponding sending flow limit value, and discards the partial multicast data packets of which the total flow exceeds the corresponding sending flow limit value.
The embodiment of the invention also discloses a multicast data packet processing device, which is applied to branch control equipment in a network control system based on the video network, the network control system also comprises control equipment, main control equipment, a switch and a video network terminal, the main control equipment is in communication connection with the control equipment, the branch control equipment is in communication connection, and the branch control equipment is in communication connection with the main control equipment and the video network terminal respectively through the switch; the device comprises: the information receiving module is used for receiving the grouping information from the main control equipment, wherein the grouping information is obtained by analyzing the grouping command from the management and control equipment by the main control equipment; the sub-control grouping module is used for grouping the switch and the video networking terminal connected with the sub-control equipment according to the grouping information to obtain a plurality of sub-control groups; the information receiving module is further configured to receive bandwidth setting information from the master control device, where the bandwidth setting information is obtained by parsing a bandwidth setting command from the management and control device by the master control device, and the bandwidth setting information includes a traffic limit value; the bandwidth setting module is used for carrying out bandwidth setting operation on the switches in the multiple sub-control groups according to the bandwidth setting information; the flow monitoring module is used for monitoring the total flow of multicast data packets received/sent by the switches in the plurality of sub-control groups in real time; and the data packet processing module is used for discarding the part of multicast data packets which exceed the corresponding flow limit value in the total flows.
Optionally, the grouping command comprises: sub-control micro-cloud identification information, sub-control group identification information, father node sub-control group identification information and a switch port list; the main control device is used for determining the sub-control devices corresponding to the grouping commands according to the sub-control micro-cloud identification information and sending the grouping information to the corresponding sub-control devices.
optionally, the bandwidth setting command includes: sub-control micro-cloud identification information, sub-control group identification information, a receiving flow extreme value of a port, a sending flow extreme value of the port and a multicast ratio; the main control equipment is also used for determining the sub-control equipment corresponding to the bandwidth setting command according to the sub-control micro-cloud identification information and sending the bandwidth setting information to the corresponding sub-control equipment; the flow monitoring module is used for monitoring the total flow of multicast data packets received/sent by each port of the switch in the multiple sub-control groups in real time; the data packet processing module comprises: a calculating module, configured to, for each port, multiply the receiving traffic extremum of the port by the multicast ratio to obtain a receiving traffic limiting value of each port, and multiply the transmitting traffic extremum of the port by the multicast ratio to obtain a transmitting traffic limiting value of each port; a discarding module, configured to compare a total traffic of multicast packets received by each port with the corresponding receiving traffic limit value, and discard a part of multicast packets whose total traffic exceeds the corresponding receiving traffic limit value; and comparing the total flow of the multicast data packets sent by each port with the corresponding sending flow limit value, and discarding the part of multicast data packets of which the total flow exceeds the corresponding sending flow limit value.
the embodiment of the invention also discloses a device, which comprises:
One or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more methods of processing multicast packets as described in embodiments of the invention.
the embodiment of the invention also discloses a computer readable storage medium, and the stored computer program enables a processor to execute the processing method of the multicast data packet according to the embodiment of the invention.
The embodiment of the invention has the following advantages:
The processing scheme of the multicast data packet provided by the embodiment of the invention can be applied to a network control system based on the video network, and the network control system can comprise control equipment, main control equipment, branch control equipment, a switch and a video network terminal, wherein the main control equipment can be in communication connection with the control equipment, and the branch control equipment can be in communication connection with the main control equipment and the video network terminal through the switch respectively.
In the embodiment of the present invention, the management and control device may send the grouping command to the master control device, and the master control device analyzes the grouping command to obtain the grouping information and sends the grouping information to the corresponding sub-control device. And the sub-control equipment performs grouping operation on the switch and the video network terminal connected with the sub-control equipment according to the grouping information to obtain a plurality of sub-control groups. The management and control device can also send a bandwidth setting command to the master control device, the master control device analyzes the bandwidth setting command to obtain bandwidth setting information, the bandwidth setting information contains flow limit values of all ports of the switch, and the bandwidth setting information is sent to the corresponding sub-control devices. And the sub-control equipment performs bandwidth setting operation on the switches in the plurality of sub-control groups according to the bandwidth setting information. The sub-control equipment monitors the total flow of the multicast data packets received/sent by the switches in the plurality of sub-control groups in real time, and discards the partial multicast data packets exceeding the corresponding flow limit value in the plurality of total flows. The embodiment of the invention groups the switches, the branch control equipment and the video network terminals accessed into the video network into a plurality of branch control groups, and performs bandwidth setting operation on the switches in each branch control group. In the execution process of the video networking service, the total flow of the multicast data packets received/sent by the switch in each sub-control group is monitored in real time, and the multicast data packets exceeding the flow limit value are discarded, so that the problem that certain terminal devices maliciously send the multicast data packets with large flow and occupy the broadband resources of the switch excessively is avoided, and the normal execution of the video networking service is ensured.
Drawings
FIG. 1 is a schematic networking diagram of a video network of the present invention;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present invention;
fig. 3 is a schematic diagram of a hardware structure of an access switch of the present invention;
Fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present invention;
Fig. 5 is a flowchart illustrating steps of a method for handling multicast packets according to an embodiment of the present invention;
Fig. 6 is a schematic structural diagram of a network management and control system based on a video network according to an embodiment of the present invention;
Fig. 7a is a flowchart of operations of packets in a port bandwidth setting method of a switch in a video network according to an embodiment of the present invention;
Fig. 7b is a flowchart illustrating operations of bandwidth setting in a port bandwidth setting method of a switch in a video network according to an embodiment of the present invention;
Fig. 8 is a block diagram of a multicast packet processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
the video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present invention, the following description refers to the internet of view:
Some of the technologies applied in the video networking are as follows:
Network Technology (Network Technology)
network technology innovation in video networking has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
switching Technology (Switching Technology)
the video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server Technology (Server Technology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
the structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
the unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
the devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
the metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present invention can be mainly classified into 3 types: server, exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, code board, memory, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node server, access exchanger (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
As shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the packets coming from the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
As shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
Wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the incoming data packet of the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
the switching engine module 303 polls all packet buffer queues and may include two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate control module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
the rate control module 308 is configured by the CPU module 304, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306, and configuration of the code rate control module 308.
Ethernet protocol conversion gateway
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
The downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MACSA of the ethernet coordination gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
The system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
as shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
Wherein:
The Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
The Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
The reserved byte consists of 2 bytes;
The payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
The CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
the topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present invention: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
as shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved Label (R) Payload CRC
namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
referring to fig. 5, a flowchart illustrating steps of a multicast data packet processing method according to an embodiment of the present invention is shown, where the method may be applied to a network management and control system based on a video network, and the network management and control system may include a management and control device, a master control device, a slave control device, a switch, and a video network terminal, where the master control device may be in communication connection with the management and control device, and the slave control device may be in communication connection with the master control device and the video network terminal through the switch, respectively.
the method for processing the multicast data packet provided by the embodiment of the invention specifically comprises the following steps:
In step 501, the sub-control device receives the grouping information from the main control device.
In the embodiment of the invention, the sub-control device can be a sub-control server and mainly used for data forwarding, a plurality of terminal devices are connected under the sub-control device, and data transmission and data reception of the terminal devices must pass through the sub-control device. A network between the sub-control device and the terminal device connected to the sub-control device may be referred to as a sub-control clout, and each sub-control clout has unique clout identification information. The main control device may be a main control server, and is mainly used for receiving the command from the control device, analyzing the command, and sending the command to the corresponding sub-control device. The management and control device may be a management and control server, and is mainly used for generating a grouping command and a bandwidth setting command and further sending the grouping command and the bandwidth setting command to the master control device.
In practical application, the management and control device generates a grouping command, and the grouping command may include sub-control micro-cloud identification information, sub-control group identification information, parent node sub-control group identification information, a switch port list, and the like for different sub-control devices. The control equipment sends the grouping command to the main control equipment, and the main control equipment analyzes the grouping command to obtain grouping information. Specifically, the main control device may analyze the sub-control micro-cloud identification information from the grouping command to determine the corresponding sub-control device, and then send the analyzed grouping information to the corresponding sub-control device. The grouping command generated by the management and control device can be specific to a plurality of sub-control devices, namely the grouping command is used for grouping a plurality of sub-control micro-clouds. The grouping information may include sub-control micro-cloud identification information, sub-control group identification information, parent node sub-control group identification information, a switch port list, and the like for a plurality of sub-control devices.
And 502, the sub-control equipment performs grouping operation on the switch and the video network terminal connected with the sub-control equipment according to the grouping information to obtain a plurality of sub-control groups.
In the embodiment of the present invention, after receiving the grouping information for the sub-control device, the sub-control device may perform grouping operation on the terminal devices connected to the sub-control device according to the grouping information to obtain a plurality of sub-control groups. The terminal devices connected with the sub-control devices may include switches and video network terminals, and the terminal devices connected with the sub-control devices may be directly connected with the sub-control devices or indirectly connected with the sub-control devices. For example, if the slave device f01 is directly connected to switch j01, switch j01 is directly connected to switch j02, and the video networking terminal z01 and the video networking terminal z02 are directly connected to switch j02, the slave device f01 can be considered to be indirectly connected to switch j02, the video networking terminal z01, and the video networking terminal z 02. The sub-control device f01 and the terminal devices directly or indirectly connected with the sub-control device f01 form a sub-control micro cloud, and several sub-control devices exist, namely several sub-control micro clouds exist. The sub-control device f01 can group the sub-control micro-clouds fw01 including the sub-control device f01, the switch j01, the switch j02, the video network terminal z01 and the video network terminal z02 according to the grouping information, specifically, the sub-control device f01 and the switch j01 are divided into a sub-control group fz01, and the sub-control group identification information is fz 01. The sub-control group identification information has uniqueness in the sub-control micro cloud. The parent node sub-control group identification information of the sub-control group fz01 is fzf01, and the sub-control group fz01 is the root node group in the sub-control cloudlef fw 01. The switch port list of the sub-control group fz01 is the port number fj01 of the sub-control device f01 connected to the switch j 01. Switch j02 is divided into a sub-control group fz02 with video networking terminal z01 and video networking terminal z02, and the sub-control group identification information is fz 02. The parent node sub-control group identification information of the sub-control group fz02 is fzf01, and the sub-control group fz02 is a sub-control group of the root node group fz01 in the sub-control cloudlef fw 01. The switch port list of the sub-control group fz02 is the port number zj01 of the connection between the video networking terminal z01 and the switch j02, and the port number zj02 of the connection between the video networking terminal z02 and the switch j 02.
In step 503, the sub-control device receives the bandwidth setting information from the main control device.
in practical application, the management and control device generates a bandwidth setting command, and the bandwidth setting command may include sub-control micro-cloud identification information, sub-control group identification information, a receiving traffic extreme value of a port, a sending traffic extreme value of the port, and a multicast ratio for different sub-control micro-clouds. The control device sends the bandwidth setting command to the main control device, and the main control device analyzes the bandwidth setting command to obtain bandwidth setting information. Specifically, the master control device may analyze the sub-control micro-cloud identification information from the bandwidth setting command to determine the corresponding sub-control device, and then send the bandwidth setting information obtained through analysis to the corresponding sub-control device. The bandwidth setting command generated by the management and control device may be for multiple sub-control clouds, that is, the bandwidth setting command is used to perform bandwidth limitation setting on switch ports in multiple sub-control groups in the multiple sub-control clouds. The bandwidth setting information may include sub-control micro-cloud identification information, sub-control group identification information, a receiving traffic extreme value of a port, a sending traffic extreme value of a port, a multicast ratio value, and the like for a plurality of switch ports in a plurality of sub-control groups in a plurality of sub-control micro-clouds.
and step 504, the branch control equipment performs bandwidth setting operation on the switches in the plurality of branch control groups according to the bandwidth setting information.
In the embodiment of the present invention, the bandwidth setting information may include a receiving traffic extreme value and a transmitting traffic extreme value of a part of ports or all ports of each switch in the sub-control group, and a corresponding multicast ratio. The sub-control device may set a receiving traffic extreme value and a sending traffic extreme value, as well as a corresponding multicast ratio, to some or all of the ports of each switch in each sub-control group according to the bandwidth setting information.
and 505, the sub-control device monitors the total flow of the multicast data packets received/sent by the switches in the plurality of sub-control groups in real time.
in the embodiment of the present invention, the sub-control device may monitor, in real time, the total traffic of receiving multicast packets and the total traffic of sending multicast packets at each port of each switch of each group in the sub-control clout in which the sub-control device is located.
in step 506, the sub-control device discards some multicast packets that exceed the corresponding flow limit in the total flows.
In the embodiment of the present invention, the sub-control device may compare the total traffic of the multicast data packets received by each port, which is obtained through real-time monitoring, with the traffic limit value of the multicast data packets received correspondingly, and/or compare the total traffic of the multicast data packets sent with the traffic limit value of the multicast data packets sent correspondingly. The flow limit value of the multicast receiving data packet is the product of the receiving flow extreme value and the corresponding multicast ratio, and the flow limit value of the multicast sending data packet is the product of the sending flow extreme value and the corresponding multicast ratio.
For each port, the sub-control device may discard the multicast data packet that exceeds the corresponding reception traffic limit in the total traffic for receiving the multicast data packet, and the sub-control device may also discard the multicast data packet that exceeds the corresponding transmission traffic limit in the total traffic for transmitting the multicast data packet. So as to ensure that the real-time transmission total amount of the multicast data packets of each port does not exceed the transmission flow limit value and the real-time receiving total amount does not exceed the receiving flow limit value.
based on the above description about an embodiment of a method for processing a multicast packet, a method for setting a port bandwidth of a switch in a video network is described below, where the method for setting a port bandwidth of a switch in a video network may be applied to a video network-based network management and control system, as shown in fig. 6, the video network-based network management and control system may include a topology building system, a master control device, a switch j00, a slave control device f01, a slave control device f02, a switch j01, a switch j02, a switch j03, a switch j04, a video network terminal z01, a video network terminal z02, a video network terminal z03, a video network terminal z04, a video network terminal z05, and a video network terminal z 06. The master control device is respectively in communication connection with the topology construction system and the switch j00, and the switch j00 is also in communication connection with the sub-control device f01 and the sub-control device f 02. Switch j01 is communicatively connected to slave controller f01, switch j02 and switch j03, respectively, switch j02 is communicatively connected to video network terminal z01 and video network terminal z02, switch j03 is communicatively connected to video network terminal z03 and video network terminal z04, respectively, and switch j04 is communicatively connected to slave controller f02, video network terminal z05 and video network terminal z06, respectively.
The port bandwidth setting method of the switch in the video network can be executed by dividing into two parts, wherein the first part, as shown in fig. 7a, groups the main control device, the branch control device, the switch and the video network terminal; the second part, as shown in fig. 7b, sets the bandwidth of the ports of the switches after the packet.
In the first part, the topology construction system is connected to the master device in a Socket (Socket) manner of a Transmission Control Protocol (TCP). According to the actual network environment, a user can generate a grouping command through the topology construction system and send the grouping command to the main control device. The packet commands conform to the video networking transport protocol and are converted to a binary format. After the main control equipment receives the grouping command, the grouping command is analyzed to obtain grouping information, and the grouping information is sent to the corresponding sub-control equipment. And the sub-control equipment performs grouping operation after receiving the grouping information and returns a grouping operation result to the main control equipment. And the master control equipment returns the grouping operation result to the topology construction system.
In the second part, the topology building system is connected to the master device in a Socket manner of TCP. According to the actual service scene, the user can generate a bandwidth setting command through the topology construction system and send the bandwidth device command to the main control device. The bandwidth setting command complies with the video networking transport protocol and is converted into a binary format. After receiving the bandwidth setting command, the main control device analyzes the bandwidth setting command to obtain bandwidth setting information, and sends the bandwidth setting information to the corresponding sub-control devices. And after receiving the bandwidth setting information, the sub-control equipment performs bandwidth setting operation and returns the bandwidth setting operation result to the main control equipment. And the master control equipment returns the bandwidth setting operation result to the topology construction system.
After the bandwidth of the ports of the grouped switches is set, in the execution process of the video networking service, the sub-control device monitors the data traffic of each port of the switches in all the groups under the sub-control device in real time, and if the data traffic of a certain port exceeds the bandwidth limit set by the port, the data packet exceeding the bandwidth limit part is discarded.
the processing scheme of the multicast data packet provided by the embodiment of the invention can be applied to a network control system based on the video network, and the network control system can comprise control equipment, main control equipment, branch control equipment, a switch and a video network terminal, wherein the main control equipment can be in communication connection with the control equipment, and the branch control equipment can be in communication connection with the main control equipment and the video network terminal through the switch respectively.
In the embodiment of the present invention, the management and control device may send the grouping command to the master control device, and the master control device analyzes the grouping command to obtain the grouping information and sends the grouping information to the corresponding sub-control device. And the sub-control equipment performs grouping operation on the switch and the video network terminal connected with the sub-control equipment according to the grouping information to obtain a plurality of sub-control groups. The management and control device can also send a bandwidth setting command to the master control device, the master control device analyzes the bandwidth setting command to obtain bandwidth setting information, the bandwidth setting information contains flow limit values of all ports of the switch, and the bandwidth setting information is sent to the corresponding sub-control devices. And the sub-control equipment performs bandwidth setting operation on the switches in the plurality of sub-control groups according to the bandwidth setting information. The sub-control equipment monitors the total flow of the multicast data packets received/sent by the switches in the plurality of sub-control groups in real time, and discards the partial multicast data packets exceeding the corresponding flow limit value in the plurality of total flows. The embodiment of the invention groups the switches, the branch control equipment and the video network terminals accessed into the video network into a plurality of branch control groups, and performs bandwidth setting operation on the switches in each branch control group. In the execution process of the video networking service, the total flow of the multicast data packets received/sent by the switch in each sub-control group is monitored in real time, and the multicast data packets exceeding the flow limit value are discarded, so that the problem that certain terminal devices maliciously send the multicast data packets with large flow and occupy the broadband resources of the switch excessively is avoided, and the normal execution of the video networking service is ensured.
it should be noted that, for simplicity of description, the method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the illustrated order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments of the present invention. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred and that no particular act is required to implement the invention.
Referring to fig. 8, a block diagram of a multicast packet processing apparatus according to an embodiment of the present invention is shown, where the apparatus is applied to a sub-control device in a network control system based on a video network, the network control system further includes a control device, a main control device, a switch, and a video network terminal, the main control device is in communication connection with the control device, the sub-control device is in communication connection with the main control device and the video network terminal through the switch, respectively; the apparatus may include the following modules:
An information receiving module 801, configured to receive group information from the master control device, where the group information is obtained by parsing, by the master control device, a group command from the management and control device;
a sub-control grouping module 802, configured to perform grouping operation on the switches and the video networking terminals connected to the sub-control devices according to the grouping information to obtain a plurality of sub-control groups;
The information receiving module 801 is further configured to receive bandwidth setting information from the master control device, where the bandwidth setting information is obtained by analyzing a bandwidth setting command from the management and control device by the master control device, and the bandwidth setting information includes a traffic limit value;
A bandwidth setting module 803, configured to perform a bandwidth setting operation on the switches in the multiple sub-control groups according to the bandwidth setting information;
A traffic monitoring module 804, configured to monitor, in real time, a total traffic of multicast packets received/sent by the switches in the multiple sub-control groups;
a packet processing module 805, configured to discard some multicast packets that exceed the corresponding traffic limit in the total traffic.
In a preferred embodiment of the present invention, the grouping command includes: sub-control micro-cloud identification information, sub-control group identification information, father node sub-control group identification information and a switch port list;
the main control device is used for determining the sub-control devices corresponding to the grouping commands according to the sub-control micro-cloud identification information and sending the grouping information to the corresponding sub-control devices.
In a preferred embodiment of the present invention, the bandwidth setting command includes: sub-control micro-cloud identification information, sub-control group identification information, a receiving flow extreme value of a port, a sending flow extreme value of the port and a multicast ratio;
The main control equipment is also used for determining the sub-control equipment corresponding to the bandwidth setting command according to the sub-control micro-cloud identification information and sending the bandwidth setting information to the corresponding sub-control equipment;
The traffic monitoring module 804 is configured to monitor, in real time, a total traffic of multicast packets received/sent by each port of the switch in the multiple sub-control groups;
the packet processing module 805 includes:
A calculating module 8051, configured to, for each port, multiply the receiving flow extremum of the port and the multicast ratio to obtain a receiving flow limit of each port, and multiply the sending flow extremum of the port and the multicast ratio to obtain a sending flow limit of each port;
A discarding module 8052, configured to compare the total traffic of the multicast packets received by each port with the corresponding receiving traffic limit, and discard a part of multicast packets whose total traffic exceeds the corresponding receiving traffic limit; and comparing the total flow of the multicast data packets sent by each port with the corresponding sending flow limit value, and discarding the part of multicast data packets of which the total flow exceeds the corresponding sending flow limit value.
As for the embodiment of the processing apparatus for multicast data packets, since it is basically similar to the embodiment of the processing method for multicast data packets, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the embodiment of the processing method for multicast data packets.
An embodiment of the present invention further provides an apparatus, including:
one or more processors; and
one or more machine-readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform one or more methods of processing multicast packets as described in embodiments of the invention.
An embodiment of the present invention further provides a computer-readable storage medium, in which a stored computer program enables a processor to execute the processing method for multicast data packets according to the embodiment of the present invention.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal 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 terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
the present invention provides a method, an apparatus and a computer readable storage medium for processing multicast data packets, and a specific embodiment is applied in the present invention to explain the principle and the implementation of the present invention, and the description of the embodiment is only used to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. The method is characterized in that the method is applied to a network management and control system based on the video network, the network management and control system comprises management and control equipment, main control equipment, branch control equipment, a switch and a video network terminal, the main control equipment is in communication connection with the management and control equipment, and the branch control equipment is in communication connection with the main control equipment and the video network terminal through the switch respectively; the method comprises the following steps:
the sub-control equipment receives grouping information from the main control equipment, wherein the grouping information is obtained by analyzing a grouping command from the control equipment by the main control equipment;
the sub-control equipment carries out grouping operation on the switch and the video network terminal connected with the sub-control equipment according to the grouping information to obtain a plurality of sub-control groups;
the sub-control equipment receives bandwidth setting information from the main control equipment, wherein the bandwidth setting information is obtained by analyzing a bandwidth setting command from the control equipment by the main control equipment, and the bandwidth setting information comprises a flow limit value;
The branch control equipment carries out bandwidth setting operation on the switches in the plurality of branch control groups according to the bandwidth setting information;
The sub-control equipment monitors the total flow of multicast data packets received/sent by the switches in the plurality of sub-control groups in real time;
And the sub-control equipment discards partial multicast data packets which exceed the corresponding flow limit value in the total flow.
2. The method of claim 1, wherein the grouping command comprises: sub-control micro-cloud identification information, sub-control group identification information, father node sub-control group identification information and a switch port list;
The main control device is used for determining the sub-control devices corresponding to the grouping commands according to the sub-control micro-cloud identification information and sending the grouping information to the corresponding sub-control devices.
3. The method of claim 1, wherein the bandwidth setting command comprises: sub-control micro-cloud identification information, sub-control group identification information, a receiving flow extreme value of a port, a sending flow extreme value of the port and a multicast ratio;
the main control equipment is further used for determining the sub-control equipment corresponding to the bandwidth setting command according to the sub-control micro-cloud identification information, and sending the bandwidth setting information to the corresponding sub-control equipment.
4. The method according to claim 3, wherein the step of the sub-control device monitoring the total traffic of the multicast packets received/transmitted by the switches in the plurality of sub-control groups in real time includes:
and the sub-control equipment monitors the total flow of multicast data packets received/sent by each port of the switch in a plurality of sub-control groups in real time.
5. the method according to claim 4, wherein the step of dropping, by the sub-control device, the multicast packets that exceed the corresponding traffic limit from the total traffic includes:
For each port, the sub-control device multiplies the receiving flow extreme value of the port by the multicast ratio to obtain the receiving flow limit value of each port, and multiplies the sending flow extreme value of the port by the multicast ratio to obtain the sending flow limit value of each port;
the sub-control equipment compares the total flow of the multicast data packets received by each port with the corresponding receiving flow limit value, and discards the partial multicast data packets of which the total flow exceeds the corresponding receiving flow limit value;
and the sub-control equipment compares the total flow of the multicast data packets sent by each port with the corresponding sending flow limit value, and discards the partial multicast data packets of which the total flow exceeds the corresponding sending flow limit value.
6. The device is applied to branch control equipment in a network control system based on the video network, the network control system further comprises control equipment, main control equipment, a switch and a video network terminal, the main control equipment is in communication connection with the control equipment, the branch control equipment is in communication connection with the branch control equipment, and the branch control equipment is in communication connection with the main control equipment and the video network terminal through the switch respectively; the device comprises:
the information receiving module is used for receiving the grouping information from the main control equipment, wherein the grouping information is obtained by analyzing the grouping command from the management and control equipment by the main control equipment;
The sub-control grouping module is used for grouping the switch and the video networking terminal connected with the sub-control equipment according to the grouping information to obtain a plurality of sub-control groups;
The information receiving module is further configured to receive bandwidth setting information from the master control device, where the bandwidth setting information is obtained by parsing a bandwidth setting command from the management and control device by the master control device, and the bandwidth setting information includes a traffic limit value;
the bandwidth setting module is used for carrying out bandwidth setting operation on the switches in the multiple sub-control groups according to the bandwidth setting information;
The flow monitoring module is used for monitoring the total flow of multicast data packets received/sent by the switches in the plurality of sub-control groups in real time;
and the data packet processing module is used for discarding the part of multicast data packets which exceed the corresponding flow limit value in the total flows.
7. The apparatus of claim 6, wherein the grouping command comprises: sub-control micro-cloud identification information, sub-control group identification information, father node sub-control group identification information and a switch port list;
The main control device is used for determining the sub-control devices corresponding to the grouping commands according to the sub-control micro-cloud identification information and sending the grouping information to the corresponding sub-control devices.
8. the apparatus of claim 6, wherein the bandwidth setting command comprises: sub-control micro-cloud identification information, sub-control group identification information, a receiving flow extreme value of a port, a sending flow extreme value of the port and a multicast ratio;
The main control equipment is also used for determining the sub-control equipment corresponding to the bandwidth setting command according to the sub-control micro-cloud identification information and sending the bandwidth setting information to the corresponding sub-control equipment;
The flow monitoring module is used for monitoring the total flow of multicast data packets received/sent by each port of the switch in the multiple sub-control groups in real time;
the data packet processing module comprises:
A calculating module, configured to, for each port, multiply the receiving traffic extremum of the port by the multicast ratio to obtain a receiving traffic limiting value of each port, and multiply the transmitting traffic extremum of the port by the multicast ratio to obtain a transmitting traffic limiting value of each port;
A discarding module, configured to compare a total traffic of multicast packets received by each port with the corresponding receiving traffic limit value, and discard a part of multicast packets whose total traffic exceeds the corresponding receiving traffic limit value; and comparing the total flow of the multicast data packets sent by each port with the corresponding sending flow limit value, and discarding the part of multicast data packets of which the total flow exceeds the corresponding sending flow limit value.
9. an apparatus, comprising:
One or more processors; and
one or more machine readable media having instructions stored thereon that, when executed by the one or more processors, cause the apparatus to perform a method of processing multicast data packets according to one or more of claims 1 to 5.
10. a computer-readable storage medium storing a computer program for causing a processor to execute the multicast packet processing method according to any one of claims 1 to 5.
CN201910712744.9A 2019-08-02 2019-08-02 Multicast data packet processing method, device and storage medium Active CN110557687B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910712744.9A CN110557687B (en) 2019-08-02 2019-08-02 Multicast data packet processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910712744.9A CN110557687B (en) 2019-08-02 2019-08-02 Multicast data packet processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110557687A true CN110557687A (en) 2019-12-10
CN110557687B CN110557687B (en) 2020-11-20

Family

ID=68736943

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910712744.9A Active CN110557687B (en) 2019-08-02 2019-08-02 Multicast data packet processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110557687B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633197A (en) * 2022-09-15 2023-01-20 海南乾唐视联信息技术有限公司 Service data distribution system, method, device, electronic equipment and medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009126159A1 (en) * 2008-04-10 2009-10-15 The Nielsen Company (U.S.) Methods and apparatus for auditing signage
EP2824624A1 (en) * 2013-07-12 2015-01-14 Amadeus S.A.S. Fraud management system and method
CN106055972A (en) * 2016-05-26 2016-10-26 广东欧珀移动通信有限公司 Control method and device of intelligent mobile and intelligent mobile
CN106789723A (en) * 2016-12-20 2017-05-31 东软集团股份有限公司 The method and apparatus that multi-core network forwards speed limit
CN108063672A (en) * 2016-11-07 2018-05-22 北京视联动力国际信息技术有限公司 The management method and device of a kind of video conference terminal
CN108391289A (en) * 2018-05-31 2018-08-10 京信通信系统(中国)有限公司 A kind of jamming control method and base station
CN108833126A (en) * 2018-04-02 2018-11-16 平安科技(深圳)有限公司 Electronic device, data link method for prewarning risk and storage medium
CN108900334A (en) * 2018-06-27 2018-11-27 华中科技大学 A kind of layout method of copy selection node on network devices based on ILP model

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009126159A1 (en) * 2008-04-10 2009-10-15 The Nielsen Company (U.S.) Methods and apparatus for auditing signage
EP2824624A1 (en) * 2013-07-12 2015-01-14 Amadeus S.A.S. Fraud management system and method
CN106055972A (en) * 2016-05-26 2016-10-26 广东欧珀移动通信有限公司 Control method and device of intelligent mobile and intelligent mobile
CN108063672A (en) * 2016-11-07 2018-05-22 北京视联动力国际信息技术有限公司 The management method and device of a kind of video conference terminal
CN106789723A (en) * 2016-12-20 2017-05-31 东软集团股份有限公司 The method and apparatus that multi-core network forwards speed limit
CN108833126A (en) * 2018-04-02 2018-11-16 平安科技(深圳)有限公司 Electronic device, data link method for prewarning risk and storage medium
CN108391289A (en) * 2018-05-31 2018-08-10 京信通信系统(中国)有限公司 A kind of jamming control method and base station
CN108900334A (en) * 2018-06-27 2018-11-27 华中科技大学 A kind of layout method of copy selection node on network devices based on ILP model

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115633197A (en) * 2022-09-15 2023-01-20 海南乾唐视联信息技术有限公司 Service data distribution system, method, device, electronic equipment and medium

Also Published As

Publication number Publication date
CN110557687B (en) 2020-11-20

Similar Documents

Publication Publication Date Title
CN108737768B (en) Monitoring method and monitoring device based on monitoring system
CN109617956B (en) Data processing method and device
CN108965040B (en) Service monitoring method and device for video network
CN111193788A (en) Audio and video stream load balancing method and device
CN110475102B (en) Monitoring data processing method and system based on video network
CN110190973B (en) Online state detection method and device
CN109547163B (en) Method and device for controlling data transmission rate
CN110022295B (en) Data transmission method and video networking system
CN108965226B (en) Data acquisition method and device based on video network
CN109768963B (en) Conference opening method and system based on video network
CN110049341B (en) Video processing method and device
CN110557319B (en) Message processing method and device based on video network
CN109714568B (en) Video monitoring data synchronization method and device
CN110650147A (en) Data acquisition method and system
CN110830826A (en) Video transcoding equipment scheduling method and system
CN110022500B (en) Packet loss processing method and device
CN110289974B (en) Data stream processing method, system and device and storage medium
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN110493149B (en) Message processing method and device
CN109743360B (en) Information processing method and device
CN109889516B (en) Method and device for establishing session channel
CN109121017B (en) Method and device for evaluating quality of video networking network
CN110677315A (en) Method and system for monitoring state
CN110557687B (en) Multicast data packet processing method, device and storage medium
CN110557658A (en) Monitoring system and method

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20201230

Address after: 571924 building C07, Zone C, Hainan Ecological Software Park, hi tech Industrial Demonstration Zone, old town, Haikou City, Hainan Province

Patentee after: Hainan Shilian Communication Technology Co.,Ltd.

Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113

Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd.