CN114143126A - Multicast data processing method, system and platform using default VLAN - Google Patents

Multicast data processing method, system and platform using default VLAN Download PDF

Info

Publication number
CN114143126A
CN114143126A CN202111421360.5A CN202111421360A CN114143126A CN 114143126 A CN114143126 A CN 114143126A CN 202111421360 A CN202111421360 A CN 202111421360A CN 114143126 A CN114143126 A CN 114143126A
Authority
CN
China
Prior art keywords
vlan
multicast
default
group
message
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.)
Pending
Application number
CN202111421360.5A
Other languages
Chinese (zh)
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.)
Guangzhou V Solution Telecommunication Technology Co ltd
Original Assignee
Guangzhou V Solution Telecommunication 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 Guangzhou V Solution Telecommunication Technology Co ltd filed Critical Guangzhou V Solution Telecommunication Technology Co ltd
Priority to CN202111421360.5A priority Critical patent/CN114143126A/en
Publication of CN114143126A publication Critical patent/CN114143126A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/806Broadcast or multicast traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention belongs to the technical field of multicast communication protocol multicast VLAN (virtual local area network) data processing, and particularly relates to a multicast data processing method, a system and a platform by using a default VLAN. Obtaining VLAN information identification contained in the joining or leaving message; searching whether a matched multicast configuration VLAN exists, if the matched multicast configuration VLAN cannot be found, defining the message as joining or leaving a default group VLAN, and creating a related multicast group table item in real time; forwarding the message according to the multicast protocol definition; after using the default group VLAN for grouping, when the multicast data source is forwarded, the VLAN identification carried by the data source is the default group VLAN identification; the configuration of the multicast group can be reduced, and the configuration of the default multicast group VLAN can be ensured only by configuring the default multicast group VLAN in engineering application, so that the device can be successfully added into the multicast group regardless of the VLAN configuration of a user side, and only the multicast group VLAN of a video source configured by the device is the default multicast VLAN.

Description

Multicast data processing method, system and platform using default VLAN
Technical Field
The invention belongs to the technical field of multicast communication protocol multicast VLAN data processing, and particularly relates to a multicast data processing method, system and platform by using a default VLAN.
Background
In the existing communication engineering application, when a user joins a multicast group, the user needs to join the multicast group by using a VLAN (virtual local area network) for joining a message, or after the user specifies a user VLAN, a video stream of the multicast group VLAN is translated into the user VLAN; in practical engineering application, a user terminal cannot use a multicast group VLAN or select a user VLAN to join in multicast and translate, that is, a unicast VLAN of a user terminal cannot be kept the same as a multicast VLAN, so that the user terminal cannot normally join in a multicast group.
Therefore, in order to overcome the above technical defects, it is urgently needed to design and develop a multicast data processing method, system and platform using a default VLAN.
Disclosure of Invention
Aiming at the technical problem that the unicast VLAN and the multicast VLAN of the user terminal cannot be kept the same, so that the user terminal cannot normally join the multicast group, a brand new processing mode is needed, the VLAN used by the blind user joining message can be added into the appointed default multicast group VLAN, and the default multicast group VLAN is used for grouping. The invention provides a multicast data processing method, a system and a platform by using a default VLAN, namely:
the first purpose of the invention is to provide a multicast data processing method using default VLAN;
a second object of the present invention is to provide a multicast data processing system using a default VLAN;
the third purpose of the invention is to provide a multicast data processing platform using default VLAN;
the first object of the present invention is achieved by: the method specifically comprises the following steps:
obtaining VLAN information identification contained in the joining or leaving message;
searching whether a matched multicast configuration VLAN exists or not according to the VLAN information identifier, if the matched multicast configuration VLAN cannot be found, defining the message as joining or leaving a default group VLAN, and creating a related multicast group table entry in real time;
forwarding the multicast protocol message to a multicast routing port according to the multicast protocol definition;
after using the default group VLAN for grouping, when the multicast data source is forwarded, the VLAN identification carried by the data source is the default group VLAN identification;
when the default group VLAN is used for grouping, when the query message is sent, the query message uses the VLAN identification carried in the original request message for querying.
Further, the step acquires the VLAN information identifier included in the join or leave message, where the message is a single-layer or double-layer VLAN message.
Further, the step of obtaining the VLAN information identifier included in the join or leave packet further includes the following steps:
when the default group VLAN is used for grouping, VLAN identification information carried by a user side and whether the VLAN information is a single-layer VLAN message can be ignored.
Further, the step of searching whether there is a matching multicast configuration VLAN according to the VLAN information identifier, and if not, defining the packet as joining or leaving a default group VLAN, and creating a related multicast group entry in real time, further includes the following steps:
configuring original multicast information configuration and default group VLAN identification of equipment, and when the original multicast configuration cannot be grouped, using the default group VLAN for grouping;
further, the step of forwarding the packet according to the multicast protocol definition further includes the following steps:
and judging whether the created group uses a default group VLAN for grouping, if so, replacing the VLAN identification of the multicast protocol message with the default group VLAN and then forwarding.
The second object of the present invention is achieved by: the system specifically comprises:
an obtaining unit for obtaining VLAN information identification contained in the joining or leaving message; a search creating unit, configured to search whether there is a matching multicast configuration VLAN according to the VLAN information identifier, and if not, define the packet as joining or leaving a default group VLAN, and create a related multicast group entry in real time; and a forwarding unit for forwarding the multicast protocol packet to a multicast routing port according to a multicast protocol definition;
after using the default group VLAN for grouping, when the multicast data source is forwarded, the VLAN identification carried by the data source is the default group VLAN identification;
when the default group VLAN is used for grouping, when the query message is sent, the query message uses the VLAN identification carried in the original request message for querying.
Further, in the obtaining unit, the message is specifically a single-layer or double-layer VLAN message;
the obtaining unit is also provided with a first processing module which is used for disregarding VLAN identification information carried by a user side and whether the VLAN information is a single-layer VLAN message or not when a default group VLAN is used for grouping;
the search creating unit is also provided with a second processing module which is used for configuring original multicast information configuration and default group VLAN identification of the equipment, and when the original multicast configuration can not be grouped, the default group VLAN is used for grouping;
and the forwarding unit is also provided with a third processing module for judging whether the established group uses a default group VLAN group or not, and if so, the VLAN identification of the multicast protocol message is replaced by the default group VLAN and then the multicast protocol message is forwarded.
The third object of the present invention is achieved by: the method comprises the following steps: a processor, a memory, and a multicast data processing platform control program using a default VLAN; the processor executes the multicast data processing platform control program using the default VLAN, the multicast data processing platform control program using the default VLAN is stored in the memory, and the multicast data processing platform control program using the default VLAN realizes the multicast data processing method steps using the default VLAN.
Compared with the prior art, the invention has the following beneficial effects:
the invention relates to a multicast data processing method by using a default VLAN, which specifically comprises the following steps: obtaining VLAN information identification contained in the joining or leaving message; searching whether a matched multicast configuration VLAN exists or not according to the VLAN information identifier, if the matched multicast configuration VLAN cannot be found, defining the message as joining or leaving a default group VLAN, and creating a related multicast group table entry in real time; forwarding the message according to the multicast protocol definition; after using the default group VLAN for grouping, when the multicast data source is forwarded, the VLAN identification carried by the data source is the default group VLAN identification; when the default group VLAN is used for grouping and the query message is sent, the VLAN identification carried in the original request message is used for querying, and the system and the platform corresponding to the method can reduce a plurality of unnecessary multicast group configurations in the equipment.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a multicast data processing method using a default VLAN according to the present invention;
FIG. 2 is a flow chart illustrating a multicast data processing method using a default VLAN according to a preferred embodiment of the present invention;
FIG. 3 is a schematic diagram of a multicast protocol and a data message flow of a multicast data processing method using a default VLAN according to the present invention;
FIG. 4 is a diagram of a system architecture for multicast data processing using a default VLAN according to the present invention;
FIG. 5 is a diagram illustrating a multicast data processing platform architecture using a default VLAN according to the present invention;
FIG. 6 is a block diagram of a computer-readable storage medium according to an embodiment of the present invention;
the objects, features and advantages of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
For better understanding of the objects, aspects and advantages of the present invention, reference will now be made to the following detailed description taken in conjunction with the accompanying drawings, and other advantages and capabilities of the present invention will become apparent to those skilled in the art from the description.
The invention is capable of other and different embodiments and its several details are capable of modification in various other respects, all without departing from the spirit and scope of the present invention.
It should be noted that, if directional indications (such as up, down, left, right, front, and back … …) are involved in the embodiment of the present invention, the directional indications are only used to explain the relative positional relationship between the components, the movement situation, and the like in a specific posture (as shown in the drawing), and if the specific posture is changed, the directional indications are changed accordingly.
In addition, if there is a description of "first", "second", etc. in an embodiment of the present invention, the description of "first", "second", etc. is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. Secondly, the technical solutions in the embodiments can be combined with each other, but it must be based on the realization of those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not be within the protection scope of the present invention.
Preferably, the multicast data processing method using the default VLAN of the present invention is applied to one or more terminals or servers. The terminal is a device capable of automatically performing numerical calculation and/or information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like.
The terminal can be a desktop computer, a notebook, a palm computer, a cloud server and other computing equipment. The terminal can be in man-machine interaction with a client in a keyboard mode, a mouse mode, a remote controller mode, a touch panel mode or a voice control device mode.
As shown in fig. 1-6, the present invention is a method, system and platform for processing multicast data by using a default VLAN.
Fig. 1 is a flowchart of a multicast data processing method using a default VLAN according to an embodiment of the present invention.
In this embodiment, the method for processing multicast data using a default VLAN may be applied to a terminal with a display function or a fixed terminal, and the terminal is not limited to a personal computer, a smart phone, a tablet computer, a desktop or all-in-one machine with a camera, and the like.
The method of multicast data processing using the default VLAN may also be applied to a hardware environment constituted by a terminal and a server connected to the terminal through a network. Networks include, but are not limited to: a wide area network, a metropolitan area network, or a local area network. The method for processing the multicast data by using the default VLAN in the embodiment of the invention can be executed by a server, a terminal or both the server and the terminal.
For example, for a terminal that needs to perform multicast data processing using a default VLAN, the function of multicast data processing using the default VLAN provided by the method of the present invention may be directly integrated on the terminal, or a client for implementing the method of the present invention may be installed. For another example, the method provided by the present invention may further run on a device such as a server in the form of a Software Development Kit (SDK), and an interface of the function of multicast data processing using the default VLAN is provided in the form of an SDK, so that a terminal or another device can implement the function of multicast data processing using the default VLAN through the provided interface.
The invention is further elucidated with reference to the drawing.
As shown in fig. 1, the present invention provides a multicast data processing method using a default VLAN, which specifically includes the following steps:
s11, obtaining VLAN information identification contained in the joining or leaving message;
s12, searching whether a matched multicast configuration VLAN exists or not according to the VLAN information identifier, if the matched multicast configuration VLAN cannot be found, defining the message as joining or leaving a default group VLAN, and creating a related multicast group table entry in real time;
s13, forwarding the multicast protocol message to a multicast routing port according to the multicast protocol definition;
s14, after grouping by using a default group VLAN, when a multicast data source is forwarded, a VLAN identifier carried by the data source is a default group VLAN identifier;
s15, when using default group VLAN group, when sending query message, the query message uses VLAN mark carried in original request message to query.
The step obtains VLAN information identification contained in the added or separated message, wherein the message is a single-layer or double-layer VLAN message.
The step of obtaining VLAN information identification contained in the joining or leaving message further comprises the following steps:
and S111, when the default group VLAN is used for grouping, the VLAN identification information carried by the user side and whether the VLAN message is a single-layer VLAN message can be ignored.
The step of searching whether a matched multicast configuration VLAN exists or not according to the VLAN information identifier, if the matched multicast configuration VLAN cannot be found, defining the message as joining or leaving a default group VLAN, and establishing a related multicast group entry in real time, and the method further comprises the following steps:
s121, configuring original multicast information configuration and default group VLAN identification of equipment, and when the original multicast information configuration cannot be grouped, grouping by using the default group VLAN;
the step of forwarding the message according to the multicast protocol definition further comprises the following steps:
s131, judging whether the created group uses a default group VLAN group, if so, replacing the VLAN identification of the multicast protocol message with the default group VLAN and then forwarding.
That is to say, the invention provides a multicast data processing method using default VLAN, comprising the following steps:
step S1, the VLAN information identifier carried in the join or leave message initiated by the user is analyzed, and the VLAN information identifier may be a single-layer or double-layer VLAN message.
Step S2, find whether there is a matching multicast configuration VLAN in the device, and if not, consider that the packet is joined or separated from the default group VLAN, thereby grouping the related multicast group entries.
Step S3, after grouping on the device, the multicast protocol defines that the request message needs to be forwarded to the routing port, and at this time, when the default group VLAN is used for grouping, the VLAN identifier of the message should be replaced with the default group VLAN, and then forwarding is performed.
Step S4, after the device uses the default group VLAN to form a group, when forwarding the multicast data source of the routing port to the user port, the VLAN id carried by the data source is the default group VLAN id.
Step S5, when using the default group VLAN to group, the device should use the VLAN id carried in the original request message to query when sending the query message to the user port.
The step S1 specifically includes: when the default group VLAN is used for grouping, VLAN identification information carried by a user side and whether the VLAN information is a single-layer VLAN message can be ignored.
The step S2 specifically includes: the original multicast information configuration can still be configured in the device, when the original multicast configuration cannot be grouped, the device uses the default group VLAN for grouping, and at the moment, the device needs to ensure that the default group VLAN identification is assigned.
The step S3 specifically includes: the default group VLAN is used for identifying the group, and the VLAN identification of the original message content cannot be continuously used on the routing port for transmission due to the characteristics of the information of the added or separated message VLAN identification, so the message VLAN identification needs to be replaced by the default group VLAN identification and then sent to the routing port.
The step S4 specifically includes: the default group VLAN identifications are grouped, when the multicast data stream is forwarded, the VLAN identification carried by the data stream is still the default group VLAN identification, and the data stream does not need to be translated into a user state VLAN. For the user side, what the multicast data goes through is a multicast channel, and the configuration of the multicast channel should be a default group VLAN identifier.
The step S5 specifically includes: the multicast protocol message passes through the unicast channel, so that when the device queries, the device needs to query by using the query message of the user side VLAN identification information. That is, when the default group VLAN is grouped, the original user-mode VLAN identification information needs to be stored for query.
In other words, the switching device operates in a normal multicast configuration environment, where a default multicast VLAN is added to the device. When a new user initiates a join request, the device receives the join message and judges the VLAN of the join message, and if the VLAN is in the original multicast configuration table entry, the VLAN is normally added into the original multicast configuration group; if the user VLAN can not be found in the original multicast configuration table item, the join request is added into the default multicast group VLAN, and the multicast flow is forwarded by the multicast group VLAN. And the user VLAN is recorded in the multicast forwarding table item on the equipment, and is used for carrying out general group and specific group query by using the VLAN when a message is queried.
The configuration of the VLAN of the user side can be ignored, and only the multicast group VLAN of the video source which is configured by the equipment is the default multicast VLAN. Moreover, unnecessary multicast group configuration in the device can be reduced, and the device can be ensured to be successfully added into the multicast group only by configuring the default multicast group VLAN in engineering application.
In summary, a method for processing multicast data using a default VLAN is provided, which includes the following steps:
step S1, analyzing VLAN information identification carried in the join or leave message initiated by user, which can be single layer or multi-layer VLAN message
Step S2, searching whether there is matching multicast configuration VLAN in the device, if it can not be found, then considering the message is joining or leaving default group VLAN, thereby making related multicast group table item group
Step S3, after grouping on the device, the multicast protocol defines that the request message needs to be forwarded to the route port, at this time, when the default group VLAN is used for grouping, the VLAN identification of the message should be replaced by the default group VLAN, and then forwarding is carried out
Step S4, after the device uses the default group VLAN to form the group, when the multicast data source of the route port is forwarded to the user port, the VLAN mark carried by the data source is the default group VLAN mark
Step S5, when using default group VLAN group, when the device sends query message to user port, it should use VLAN mark carried in original request message to query
When configuring the related multicast group configuration on the device, the default group VLAN of the device needs to be designated at the same time, so as to ensure that the device can use the designated default group VLAN to perform grouping when the device cannot normally join the VLAN group used by the user.
Compared with the prior art, the invention has the beneficial effects that: the configuration of a plurality of unnecessary multicast groups in the equipment can be reduced, and the equipment can be ensured to be successfully added into the multicast group only by configuring the default multicast group VLAN in engineering application. The configuration of the VLAN of the user side can be ignored, and only the multicast group VLAN of the video source which is configured by the equipment is the default multicast VLAN.
Specifically, in the embodiment of the present invention, as shown in fig. 2 to 3, the user has three ways of requesting to join from left to right, the first two ways are existing practical applications, and the third multicast default VLAN is the subject content of this time.
It can be seen that on the OLT device, two modes can be configured:
the first is that the device uses the VLAN information carried by the join message to perform multicast group configuration, at this time, the VLAN identifier carried by the join message needs to be ensured to be the VLAN identifier configuration allowed on the device, and the VLAN identifier is ensured to be consistent with the multicast group VLAN identifier of the uplink multicast source server, and the application is a basic application mode in the multicast protocol;
the second is based on the special application of the first configuration, that is, when the VLAN identifier carried by the added message is ensured to be the VLAN identifier configuration allowed on the device, the VLAN identifier carried by the added message is inconsistent with the multicast group VLAN identifier of the uplink multicast source server, and the device needs to replace the group VLAN identifier with the VLAN identifier of the added message when forwarding the multicast group of the uplink multicast source server according to the VLAN identifier carried by the added message;
both of the above applications have their limitations, and this embodiment describes a more adaptable application mode. The VLAN identification carried in the adding process is not required to be configured, and for the adding message which is not added into the first or second configuration normally, the adding message is directly added into the multicast group according to the multicast default VLAN identification configured on the equipment, and the multicast group message is directly forwarded to the adding port without modifying any VLAN identification.
In general, the principle of the present embodiment is as follows:
in a multicast environment, it is necessary to ensure that a unicast link is clear, which is to ensure the transmission of multicast protocol messages, that is, what the multicast protocol messages go is the unicast link. Therefore, for part of engineering applications, the configuration of some unicast lines is fixed, that is, on the premise that a unicast VLAN cannot be changed and a multicast group VLAN of an uplink video source cannot be changed, at this time, a situation that the unicast VLAN is different from the multicast VLAN may occur, and if a device uses different user VLANs and multicast VLANs to perform multicast port configuration, the result may become the second configuration mode, and the multicast stream VLAN is translated into a multicast stream of the user VLAN, so that the multicast stream VLAN is different from a multicast link VLAN configured by a user end, and a result that multicast is not available is caused. In this embodiment, according to the default VLAN id configured on the device, the join packet is directly added to the multicast group, and the multicast group packet is directly forwarded to the join port without modifying any VLAN id. So that the downstream device can directly receive the multicast data stream with the default VLAN identification.
The embodiment can be applied to multicast communication engineering, is an effective method and can bring certain benefits. The invention belongs to a multicast VLAN data processing mode of a multicast communication protocol, in the application of the existing communication engineering, when a user joins in a multicast group, the user needs to join in the multicast group by using a VLAN added with a message, or after the user appoints a user VLAN, a video stream of the multicast group VLAN is translated into the user VLAN. However, in practical engineering application, the problem that a user terminal cannot use a multicast group VLAN or select a user VLAN to join in multicast and translate is solved by the present invention, that is, a unicast VLAN of a user terminal cannot be kept the same as a multicast VLAN, which results in that the user terminal cannot normally join in a multicast group.
In order to achieve the above object, the present invention further provides a multicast data processing system using a default VLAN, as shown in fig. 4, the system specifically includes:
an obtaining unit for obtaining VLAN information identification contained in the joining or leaving message; a search creating unit, configured to search whether there is a matching multicast configuration VLAN according to the VLAN information identifier, and if not, define the packet as joining or leaving a default group VLAN, and create a related multicast group entry in real time; and a forwarding unit for forwarding the multicast protocol packet to a multicast routing port according to a multicast protocol definition;
after using the default group VLAN for grouping, when the multicast data source is forwarded, the VLAN identification carried by the data source is the default group VLAN identification;
when the default group VLAN is used for grouping, when the query message is sent, the query message uses the VLAN identification carried in the original request message for querying.
In the obtaining unit, the message is a single-layer or double-layer VLAN message;
the obtaining unit is also provided with a first processing module which is used for disregarding VLAN identification information carried by a user side and whether the VLAN information is a single-layer VLAN message or not when a default group VLAN is used for grouping;
the search creating unit is also provided with a second processing module which is used for configuring original multicast information configuration and default group VLAN identification of the equipment, and when the original multicast configuration can not be grouped, the default group VLAN is used for grouping;
and the forwarding unit is also provided with a third processing module for judging whether the established group uses a default group VLAN group or not, and if so, the VLAN identification of the multicast protocol message is replaced by the default group VLAN and then the multicast protocol message is forwarded.
In particular, the details of the method steps corresponding to the system are described in the above system, and will not be described again.
In order to achieve the above object, the present invention further provides a multicast data processing platform using a default VLAN, as shown in fig. 5, including: a processor, a memory, and a multicast data processing platform control program using a default VLAN; the processor executes the multicast data processing platform control program using the default VLAN, the multicast data processing platform control program using the default VLAN is stored in the memory, and the multicast data processing platform control program using the default VLAN realizes the multicast data processing method steps using the default VLAN. For example:
s11, obtaining VLAN information identification contained in the joining or leaving message;
s12, searching whether a matched multicast configuration VLAN exists or not according to the VLAN information identifier, if the matched multicast configuration VLAN cannot be found, defining the message as joining or leaving a default group VLAN, and creating a related multicast group table entry in real time;
s13, forwarding the multicast protocol message to a multicast routing port according to the multicast protocol definition;
s14, after grouping by using a default group VLAN, when a multicast data source is forwarded, a VLAN identifier carried by the data source is a default group VLAN identifier;
s15, when using default group VLAN group, when sending query message, the query message uses VLAN mark carried in original request message to query.
The details of the steps have been set forth above and will not be described herein.
In this embodiment of the present invention, the platform built-in processor for Processing multicast data using a default VLAN may be composed of an integrated circuit, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same function or different functions, and include one or more Central Processing Units (CPUs), a microprocessor, a digital Processing chip, a graphics processor, and a combination of various control chips. The processor accesses each component by using various interfaces and line connections, executes various functions of multicast data processing using a default VLAN and processes data by running or executing a program or unit stored in the memory and calling data stored in the memory;
the memory is used for storing program codes and various data, is installed in a platform for multicast data processing by using a default VLAN, and realizes high-speed and automatic access of programs or data in the running process.
The Memory includes Read-Only Memory (ROM), Random Access Memory (RAM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), One-time Programmable Read-Only Memory (OTPROM), Electrically Erasable rewritable Read-Only Memory (EEPROM), Compact Disc Read-Only Memory (CD-ROM) or other optical Disc Memory, magnetic disk Memory, tape Memory, or any other medium readable by a computer that can be used to carry or store data.
In order to achieve the above object, the present invention further provides a computer readable storage medium, as shown in fig. 6, wherein the computer readable storage medium stores a platform control program for multicast data processing using a default VLAN, and the platform control program for multicast data processing using the default VLAN implements the method steps of multicast data processing using the default VLAN, for example:
s11, obtaining VLAN information identification contained in the joining or leaving message;
s12, searching whether a matched multicast configuration VLAN exists or not according to the VLAN information identifier, if the matched multicast configuration VLAN cannot be found, defining the message as joining or leaving a default group VLAN, and creating a related multicast group table entry in real time;
s13, forwarding the multicast protocol message to a multicast routing port according to the multicast protocol definition;
s14, after grouping by using a default group VLAN, when a multicast data source is forwarded, a VLAN identifier carried by the data source is a default group VLAN identifier;
s15, when using default group VLAN group, when sending query message, the query message uses VLAN mark carried in original request message to query.
The details of the steps have been set forth above and will not be described herein.
In describing embodiments of the present invention, it should be noted that any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and that the scope of the preferred embodiments of the present invention includes additional implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processing module-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM).
Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
In an embodiment of the present invention, to achieve the above object, the present invention further provides a chip system, where the chip system includes at least one processor, and when a program instruction is executed in the at least one processor, the chip system is caused to perform the method steps of processing multicast data using a default VLAN, for example:
s11, obtaining VLAN information identification contained in the joining or leaving message;
s12, searching whether a matched multicast configuration VLAN exists or not according to the VLAN information identifier, if the matched multicast configuration VLAN cannot be found, defining the message as joining or leaving a default group VLAN, and creating a related multicast group table entry in real time;
s13, forwarding the multicast protocol message to a multicast routing port according to the multicast protocol definition;
s14, after grouping by using a default group VLAN, when a multicast data source is forwarded, a VLAN identifier carried by the data source is a default group VLAN identifier;
s15, when using default group VLAN group, when sending query message, the query message uses VLAN mark carried in original request message to query.
The invention relates to a multicast data processing method by using a default VLAN, which specifically comprises the following steps: obtaining VLAN information identification contained in the joining or leaving message; searching whether a matched multicast configuration VLAN exists or not according to the VLAN information identifier, if the matched multicast configuration VLAN cannot be found, defining the message as joining or leaving a default group VLAN, and creating a related multicast group table entry in real time; forwarding the message according to the multicast protocol definition; after using the default group VLAN for grouping, when the multicast data source is forwarded, the VLAN identification carried by the data source is the default group VLAN identification; when the default group VLAN is used for grouping and the query message is sent, the VLAN identification carried in the original request message is used for querying, and the system and the platform corresponding to the method can reduce a plurality of unnecessary multicast group configurations in the equipment.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (8)

1. A multicast data processing method using default VLAN is characterized in that the method specifically comprises the following steps:
obtaining VLAN information identification contained in the joining or leaving message;
searching whether a matched multicast configuration VLAN exists or not according to the VLAN information identifier, if the matched multicast configuration VLAN cannot be found, defining the message as joining or leaving a default group VLAN, and creating a related multicast group table entry in real time;
forwarding the multicast protocol message to a multicast routing port according to the multicast protocol definition;
after using the default group VLAN for grouping, when the multicast data source is forwarded, the VLAN identification carried by the data source is the default group VLAN identification;
when the default group VLAN is used for grouping, when the query message is sent, the query message uses the VLAN identification carried in the original request message for querying.
2. The method according to claim 1, wherein the step of obtaining the VLAN information identifier included in the join or leave packet is performed by using a single-layer or double-layer VLAN packet.
3. The method according to claim 1 or 2, wherein the step of obtaining the VLAN information identifier included in the join or leave packet further comprises the steps of:
when the default group VLAN is used for grouping, VLAN identification information carried by a user side and whether the VLAN information is a single-layer VLAN message can be ignored.
4. The method according to claim 1, wherein the step of finding whether there is a matching multicast configuration VLAN according to the VLAN information identifier, if not, defining the packet as joining or leaving the default group VLAN, and creating a related multicast group entry in real time, further comprises the steps of:
and configuring original multicast information configuration and default group VLAN identification of the equipment, and when the original multicast configuration cannot be grouped, grouping by using the default group VLAN.
5. The method of claim 1, wherein the step of forwarding the packet according to a multicast protocol definition further comprises the steps of:
and judging whether the created group uses a default group VLAN for grouping, if so, replacing the VLAN identification of the multicast protocol message with the default group VLAN and then forwarding.
6. A multicast data processing system using a default VLAN, the system comprising:
an obtaining unit for obtaining VLAN information identification contained in the joining or leaving message; a search creating unit, configured to search whether there is a matching multicast configuration VLAN according to the VLAN information identifier, and if not, define the packet as joining or leaving a default group VLAN, and create a related multicast group entry in real time; and a forwarding unit for forwarding the multicast protocol packet to a multicast routing port according to a multicast protocol definition;
after using the default group VLAN for grouping, when the multicast data source is forwarded, the VLAN identification carried by the data source is the default group VLAN identification;
when the default group VLAN is used for grouping, when the query message is sent, the query message uses the VLAN identification carried in the original request message for querying.
7. The system according to claim 6, wherein in the acquiring unit, the packet is a single-layer or dual-layer VLAN packet;
the obtaining unit is also provided with a first processing module which is used for disregarding VLAN identification information carried by a user side and whether the VLAN information is a single-layer VLAN message or not when a default group VLAN is used for grouping;
the search creating unit is also provided with a second processing module which is used for configuring original multicast information configuration and default group VLAN identification of the equipment, and when the original multicast configuration can not be grouped, the default group VLAN is used for grouping;
and the forwarding unit is also provided with a third processing module for judging whether the established group uses a default group VLAN group or not, and if so, the VLAN identification of the multicast protocol message is replaced by the default group VLAN and then the multicast protocol message is forwarded.
8. A multicast data processing platform using a default VLAN, comprising: a processor, a memory, and a multicast data processing platform control program using a default VLAN;
wherein the processor executes the multicast data processing platform control program using the default VLAN, the multicast data processing platform control program using the default VLAN is stored in the memory, and the multicast data processing platform control program using the default VLAN implements the multicast data processing method steps using the default VLAN as set forth in any one of claims 1 to 5.
CN202111421360.5A 2021-11-26 2021-11-26 Multicast data processing method, system and platform using default VLAN Pending CN114143126A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111421360.5A CN114143126A (en) 2021-11-26 2021-11-26 Multicast data processing method, system and platform using default VLAN

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111421360.5A CN114143126A (en) 2021-11-26 2021-11-26 Multicast data processing method, system and platform using default VLAN

Publications (1)

Publication Number Publication Date
CN114143126A true CN114143126A (en) 2022-03-04

Family

ID=80387897

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111421360.5A Pending CN114143126A (en) 2021-11-26 2021-11-26 Multicast data processing method, system and platform using default VLAN

Country Status (1)

Country Link
CN (1) CN114143126A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118158579A (en) * 2024-03-06 2024-06-07 广州芯德通信科技股份有限公司 Method for realizing massive high concurrency upgrading of optical network units in optical network system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083546A (en) * 2007-07-18 2007-12-05 中兴通讯股份有限公司 Multicasting management approach of switch equipment
CN101170481A (en) * 2007-11-30 2008-04-30 华为技术有限公司 A method, system and switching device for dynamically establishing multicast virtual LAN
CN101771901A (en) * 2008-12-31 2010-07-07 华为技术有限公司 Method of multicast permission control in passive optical network, system and multi-dwelling unit
CN102325035A (en) * 2011-07-19 2012-01-18 中兴通讯股份有限公司 Method and device for implementing multicast service
US20170078946A1 (en) * 2015-09-14 2017-03-16 Joshua Perry Adaptive unicast timeout for a wireless network having optimized routing
CN110830371A (en) * 2019-11-13 2020-02-21 迈普通信技术股份有限公司 Message redirection method and device, electronic equipment and readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101083546A (en) * 2007-07-18 2007-12-05 中兴通讯股份有限公司 Multicasting management approach of switch equipment
CN101170481A (en) * 2007-11-30 2008-04-30 华为技术有限公司 A method, system and switching device for dynamically establishing multicast virtual LAN
CN101771901A (en) * 2008-12-31 2010-07-07 华为技术有限公司 Method of multicast permission control in passive optical network, system and multi-dwelling unit
CN102325035A (en) * 2011-07-19 2012-01-18 中兴通讯股份有限公司 Method and device for implementing multicast service
US20170078946A1 (en) * 2015-09-14 2017-03-16 Joshua Perry Adaptive unicast timeout for a wireless network having optimized routing
CN110830371A (en) * 2019-11-13 2020-02-21 迈普通信技术股份有限公司 Message redirection method and device, electronic equipment and readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
吴跃峰等: "移动传送网承载IPTV的问题及解决策略", 《电子世界》 *
吴跃峰等: "移动传送网承载IPTV的问题及解决策略", 《电子世界》, vol. 02, no. 069, 28 February 2018 (2018-02-28), pages 142 - 143 *
张伟斌等: "《光宽带接入技术》", 31 December 2019, 中国铁道出版社, pages: 196 - 200 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118158579A (en) * 2024-03-06 2024-06-07 广州芯德通信科技股份有限公司 Method for realizing massive high concurrency upgrading of optical network units in optical network system

Similar Documents

Publication Publication Date Title
US9251040B2 (en) Remote debugging in a cloud computing environment
CN112039942A (en) Subscription and publishing method and server
CN112637329B (en) Identification method, device, equipment and storage medium of multiple application programs
CN112799825A (en) Task processing method and network equipment
CN110049010B (en) Method and system for connecting distributed platform terminal equipment with server
TW200928777A (en) Data processing method and apparatus based on cluster
CN112769716B (en) Data forwarding method and device of virtual switch based on hybrid virtual network bridge
CN111858083A (en) Remote service calling method and device, electronic equipment and storage medium
CN112312061B (en) Video conference method and device, electronic equipment and storage medium
CN116599917B (en) Network port determining method, device, equipment and storage medium
CN114143126A (en) Multicast data processing method, system and platform using default VLAN
KR20090022341A (en) Ubiquitous web service gateway and method
CN111008254A (en) Object creating method and device, computer equipment and storage medium
CN112751724B (en) Method and device for detecting link state
CN112351050A (en) Method, device, communication equipment and storage medium for mirroring data stream
CN111314497B (en) Method and system for simultaneously supporting multiple NAT types to take effect
CN116032614A (en) Container network micro-isolation method, device, equipment and medium
CN109450798A (en) The management method and computer readable storage medium of routing table information
CN112367261B (en) Message forwarding method and device and distributed equipment
CN113873301A (en) Video stream acquisition method and device, server and storage medium
CN109257372B (en) Message forwarding method, device, storage medium and apparatus based on network convergence
CN113992622A (en) Multi-template aggregation message notification sending system and method based on unified model
CN109714262B (en) Data transmission method and related equipment
CN114531320A (en) Communication method, device, equipment, system and computer readable storage medium
CN114489826A (en) Chip operation method and device, storage medium and electronic equipment

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220304

RJ01 Rejection of invention patent application after publication