Message processing methods and apparatus

By dividing ports into independent virtual LANs in a ring network and using frame duplication and elimination protocols, the problems of broadcast storms and low link utilization in traditional network communication systems are solved, multi-path load balancing and data forwarding are achieved, and the network requirements of high reliability and low latency are met.

CN123074982APending Publication Date: 2026-11-10BEIJING TASSON SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611532010.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-30
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

Traditional network communication systems in ring topologies suffer from low link utilization due to the slow convergence of the spanning tree protocol and the risk of broadcast storms in the ring network protection protocol. This makes it impossible to achieve multi-path load balancing and multi-active forwarding, and thus fails to meet the high reliability and low latency requirements of critical infrastructure.

Method used

By dividing each port into an independent virtual LAN and combining it with the frame duplication and elimination protocol (IEEE 802.1CB), fixed-direction data communication is achieved, broadcast storms are prevented, and multi-path load balancing and multi-path data forwarding are realized.

Benefits of technology

It effectively prevents broadcast storms, improves link utilization, achieves multi-path load balancing and data forwarding, and meets the requirements of high reliability and low latency network communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123074982A_ABST
    Figure CN123074982A_ABST
Patent Text Reader

Abstract

This invention provides a message processing method and apparatus, relating to the field of network communication technology. The method is applied to a switch in a ring network, comprising: acquiring a first message through a first target port among multiple ports; configuring each port in a different virtual local area network (VLAN); processing the first message based on a frame duplication and cancellation protocol to obtain a second message; and sending the second message to the next switch in the ring network through a second target port among multiple ports. This technical solution, by dividing each port into an independent VLAN and combining it with a frame duplication and cancellation protocol to achieve fixed-direction data communication, prevents storms and enables multi-path load balancing and multi-path data forwarding, thereby improving link utilization.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of network communication technology, and in particular to a message processing method and apparatus. Background Technology

[0002] With the deepening development of industrial informatization and intelligentization, the demand for deterministic low latency and high reliability in network communication systems is becoming increasingly urgent. When constructing a high-availability ring topology, traditional Ethernet and Time-Sensitive Networking (TSN) using Spanning Tree Protocol (STP), Rapid Spanning Tree Protocol (RSTP), and Multiple Spanning Tree Protocol (MSTP) converge slowly. Applying other ring network protection protocols still poses a broadcast storm risk under certain abnormal operating conditions. Once a storm occurs, it can lead to the exhaustion of network resources and even system paralysis, failing to meet the stringent requirements of critical infrastructure.

[0003] To prevent broadcast storms, existing technologies forcibly block some ports of the switch through STP / RSTP / MSTP or manual shutdown, leaving physically redundant links idle. This prevents multi-path load balancing or multi-active forwarding and results in low link utilization. Summary of the Invention

[0004] This invention provides a message processing method and apparatus to address the shortcomings of existing technologies that forcibly block some ports of a switch, leaving physically redundant links idle, failing to achieve multi-path load balancing or multi-active forwarding, and resulting in low link utilization. The technical solution of this application divides each port into an independent Virtual Local Area Network (VLAN) and combines frame duplication and cancellation protocols to achieve fixed-direction data communication, preventing storms and enabling multi-path load balancing and multi-path data forwarding, thereby improving link utilization.

[0005] This invention provides a message processing method applied to switches in a ring network, comprising the following steps.

[0006] The first message is obtained through the first target port among multiple ports; each of the ports is set in a different virtual local area network. The first message is processed based on the frame duplication and elimination protocol to obtain the second message; The second message is sent to the next switch in the ring network via the second target port among the plurality of ports.

[0007] According to a message processing method provided by the present invention, the first message includes a plurality of first frame data; the step of processing the first message based on a frame duplication and elimination protocol to obtain a second message includes: Based on the frame copying and elimination protocol, the first first frame data in the plurality of first frame data is copied to obtain a plurality of second frame data; The plurality of second frame data are identified as the second message.

[0008] According to a message processing method provided by the present invention, the method further includes: Based on the frame duplication and elimination protocol, the first frame data other than the first first frame data in the plurality of first frame data are eliminated.

[0009] According to a message processing method provided by the present invention, before processing the first message based on the frame duplication and elimination protocol to obtain the second message, the method further includes: If the roaming value corresponding to the first message is less than or equal to the preset roaming value, the step of processing the first message based on the frame copying and elimination protocol to obtain the second message is executed.

[0010] According to a message processing method provided by the present invention, the method further includes: If the cruise value corresponding to the first message is greater than the preset cruise value, the first message is discarded.

[0011] According to a message processing method provided by the present invention, before processing the first message based on the frame duplication and elimination protocol to obtain the second message, the method further includes: Extract the message feature value of the first message; If the message feature value is not recorded, the step of processing the first message based on the frame copying and elimination protocol to obtain the second message is performed.

[0012] According to a message processing method provided by the present invention, the method further includes: If the message characteristic value has been recorded, the first message is discarded.

[0013] According to a message processing method provided by the present invention, the first message is a master message or a broadcast message.

[0014] According to a message processing method provided by the present invention, the frame duplication and elimination protocol is the IEEE 802.1CB protocol.

[0015] The present invention also provides a message processing device for use in a ring network switch, comprising the following modules: The acquisition module is used to acquire a first packet through a first target port among multiple ports; each of the ports is set in a different virtual local area network. The processing module is used to process the first message based on the frame duplication and elimination protocol to obtain the second message; The sending module is used to send the second message to the next switch in the ring network through the second target port among the plurality of ports.

[0016] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the message processing method described above.

[0017] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the message processing method as described above.

[0018] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the message processing method as described above.

[0019] The message processing method and apparatus provided by this invention are applied to switches in a ring network. A first message is obtained through a first target port among multiple ports; each port is configured in a different virtual local area network (VLAN); the first message is processed based on a frame replication and cancellation protocol to obtain a second message; the second message is sent to the next switch in the ring network through a second target port among multiple ports. This technical solution, by assigning each port to an independent VLAN and combining frame replication and cancellation protocols to achieve fixed-direction data communication, prevents storms and enables multi-path load balancing and multi-path data forwarding, thus improving link utilization. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.

[0021] Figure 1 This is a schematic diagram of the structure of a ring network in existing technology.

[0022] Figure 2 This is a flowchart illustrating the message processing method provided by the present invention.

[0023] Figure 3This is a schematic diagram of the ring network structure provided by the present invention.

[0024] Figure 4 This is a schematic diagram of the message processing device provided by the present invention.

[0025] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation

[0026] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.

[0027] Figure 1 This is a schematic diagram of the structure of a ring network in existing technology, such as... Figure 1 As shown, traditional destructive protocols forcibly block some ports, leaving physically redundant links idle (such as...). Figure 1 The blocking ports of the ring network identifier cannot achieve multi-path load balancing or multi-path forwarding. Such mechanisms also have the following limitations: (1) Insufficient convergence performance: When the topology changes, the convergence time of RSTP is usually several seconds to tens of seconds, and MSTP is also difficult to reach the millisecond level. In industrial control scenarios that require high real-time performance, it will lead to communication interruption or control loss of synchronization; (2) Lack of determinism and priority guarantee: The spanning tree only calculates the topology based on the bridge ID and port overhead. It cannot distinguish between time-sensitive traffic and ordinary traffic. Critical messages may still cause temporary broadcast storms and Media Access Control (MAC) address drift due to topology oscillation, loss or misconfiguration of Bridge Protocol Data Unit (BPDU), resulting in network oscillation or even paralysis; (3) Lack of adaptation to TSN flow scheduling mechanism, and cannot work in conjunction with a variety of deterministic communication technologies. In summary, traditional ring network breaking protocols are difficult to meet the requirements of modern industrial networks with high reliability, zero interruption and deterministic latency.

[0028] To address the aforementioned problems in the prior art, this invention provides a message processing method applicable to switches in a ring network. It is readily understood that a ring network can include multiple switches, each executing the message processing method provided by this invention. Figure 2 This is a flowchart illustrating the message processing method provided by the present invention, as shown below. Figure 2 As shown, the method includes the following steps 110 to 130.

[0029] Step 110: Obtain the first message through the first target port among multiple ports; each port is set in a different virtual local area network.

[0030] Specifically, the switch can obtain the first packet through the first destination port among multiple ports. The first destination port is the port indicated by the first packet. The first packet can be obtained from the previous switch in the ring network (i.e., the second packet obtained from the previous switch) or it can be obtained from the client. Figure 3 This is a schematic diagram of the ring network structure provided by the present invention, as shown below. Figure 3 As shown, the ring network includes four switches, each with six ports. The Virtual Local Area Network (VLAN) for each port is VLAN1, VLAN2, VLAN3, VLAN4, VLAN5, and VLAN6, respectively. For example, a switch obtains the first packet through VLAN5 port, determines the second packet, and then sends the second packet through VLAN3 port to the VLAN6 port of the next switch.

[0031] In one embodiment, the first message is a broadcast message or a live message.

[0032] Specifically, since ordinary messages are usually sent from one client's corresponding switch to another client's corresponding switch, network storms usually do not occur. Therefore, the application scenarios of this application are mainly for messages such as broadcast messages or radio messages that need to be forwarded to all switches.

[0033] In the above embodiments, this application can prevent storms that may be caused by anchor messages or broadcast messages.

[0034] Step 120: Process the first message based on the frame copying and cancellation protocol to obtain the second message.

[0035] Specifically, the first packet can be processed based on the frame duplication and cancellation protocol to obtain the second packet. It's easy to understand that after the first packet is obtained at the first destination port, the switch processes it internally.

[0036] In one embodiment, the frame duplication and elimination protocol is the IEEE 802.1CB protocol.

[0037] Specifically, the frame duplication and cancellation protocol in this application is the IEEE 802.1CB protocol. The IEEE 802.1CB protocol is a "double insurance" mechanism in TSN. Its core is to use frame duplication and cancellation technology to allow critical data to be sent simultaneously via different paths, ensuring that even if one path is interrupted, the data can still arrive on time and without duplication.

[0038] In the above embodiments, the IEEE 802.1CB protocol ensures the timely arrival and transmission of data.

[0039] In one embodiment, the first message includes multiple first frame data; the processing of the first message based on the frame duplication and elimination protocol to obtain the second message includes: Based on the frame copying and elimination protocol, the first first frame data in the plurality of first frame data is copied to obtain a plurality of second frame data; The plurality of second frame data are identified as the second message.

[0040] Specifically, based on a frame duplication and elimination protocol, the first first frame data from multiple first frame data can be copied to obtain multiple second frame data. It's easy to understand that the multiple first frame data are not acquired simultaneously, and the multiple first frame data are identical; therefore, only the first acquired first frame data is copied to prevent storming.

[0041] In the above embodiments, the frame copying and elimination protocol features are used to support the copying and elimination of multiple data, which can ultimately enable the correct forwarding of data in dual-ring, triple-ring, and multi-ring networks.

[0042] In one embodiment, the method further includes: Based on the frame duplication and elimination protocol, the first frame data other than the first first frame data in the plurality of first frame data are eliminated.

[0043] Specifically, by using a frame duplication and elimination protocol to eliminate the first frame data (excluding the first first frame data) from multiple first frame data, the probability of a network storm is reduced to 0.

[0044] In the above embodiments, the frame copying and elimination protocol features are used to support the copying and elimination of multiple data, which can ultimately enable the correct forwarding of data in dual-ring, triple-ring, and multi-ring networks.

[0045] Step 130: Send the second message to the next switch in the ring network through the second target port among the plurality of ports.

[0046] Specifically, a second packet can be sent to the next switch in the ring network via the second destination port among multiple ports. It's easy to understand that the VLAN of the second destination port is different from the VLAN of the first destination port. The transmission link order between switches in the ring network is pre-set; for example, if switch 1 is the executing entity, its next corresponding switch is switch 2.

[0047] Optionally, during the forwarding process, the unified time slot and time-aware precise gating scheduling function of the entire network can be combined to achieve end-to-end deterministic communication with ultra-low data jitter.

[0048] Optionally, this application also uses IEEE 802.1AS (Precise Time Synchronization Protocol) to achieve nanosecond-level time synchronization accuracy and unified time slots across the entire network; and utilizes IEEE 802.1Qbv (Time-Aware Shaping) for strict time slot scheduling to ensure hard real-time transmission of critical traffic.

[0049] The message processing method provided by this invention is applied to switches in a ring network. A first message is obtained through a first target port among multiple ports; each port is configured in a different virtual local area network (VLAN); the first message is processed based on a frame replication and cancellation protocol to obtain a second message; the second message is sent to the next switch in the ring network through a second target port among multiple ports. This technical solution, by assigning each port to an independent VLAN and combining frame replication and cancellation protocols to achieve fixed-direction data communication, prevents storms and enables multi-path load balancing and multi-path data forwarding, thus improving link utilization.

[0050] Furthermore, the technical solution of this application will not change the existing network communication system, will not increase network communication overhead, and will not increase the equipment cost of network construction.

[0051] In one embodiment, before processing the first message based on the frame duplication and elimination protocol to obtain the second message, the method further includes: If the cruise value corresponding to the first message plus one is less than or equal to the preset cruise value, the step of processing the first message based on the frame copying and elimination protocol to obtain the second message is executed.

[0052] Specifically, if the cruise value corresponding to the first message plus one is less than or equal to a preset cruise value, the first message is processed based on the frame duplication and elimination protocol to obtain the second message. It should be noted that the first message corresponds to a tag with a cruise value. After receiving the first message, the cruise value of the first message can be incremented by one. If the incremented cruise value is less than or equal to the preset cruise value, it is considered that the first message needs to continue broadcasting. Therefore, the process of processing the first message based on the frame duplication and elimination protocol to obtain the second message continues. The preset cruise value can be set in advance as needed; this embodiment does not impose specific limitations on it.

[0053] It should be noted that when the first message enters the ring network for the first time, the switch adds a tag corresponding to the roaming value to the first message.

[0054] In the above embodiments, the forwarding or dropping of messages is achieved by judging the patrol value, which improves the security of network communication and further prevents the occurrence of storms.

[0055] In one embodiment, the method further includes: If the cruise value corresponding to the first message plus one is greater than the preset cruise value, the first message is discarded.

[0056] Specifically, if the roaming value of the first message plus one is greater than a preset roaming value, the first message is considered unnecessary to forward and can be discarded. This embodiment represents the automatic discarding of a message when its roaming value reaches the preset roaming value.

[0057] In the above embodiments, the forwarding or dropping of messages is achieved by judging the patrol value, which improves the security of network communication and further prevents the occurrence of storms.

[0058] In one embodiment, before processing the first message based on the frame duplication and elimination protocol to obtain the second message, the method further includes: Extract the message feature value of the first message; If the message feature value is not recorded, the step of processing the first message based on the frame copying and elimination protocol to obtain the second message is performed.

[0059] Specifically, the switch can also extract the message feature value of the first message and determine whether it has recorded the corresponding message feature value. If the message feature value is not recorded, it indicates that the switch has not known about the first message. Therefore, the switch performs the step of processing the first message based on the frame copy and cancellation protocol to obtain the second message, so as to ensure that all switches in the ring network receive the corresponding message.

[0060] In the above embodiments, the forwarding or dropping of messages is achieved by recording and judging the message characteristic values, which improves the security of network communication and further prevents the occurrence of storms.

[0061] In one embodiment, the method further includes: If the message characteristic value has been recorded, the first message is discarded.

[0062] Specifically, if a corresponding message characteristic value is recorded, it indicates that the first message has completed one cycle and does not need to be forwarded again, therefore the first message can be discarded. This embodiment represents automatic discarding when a message arrives at the same switch twice.

[0063] In the above embodiments, the forwarding or dropping of messages is achieved by recording and judging the message characteristic values, which improves the security of network communication and further prevents the occurrence of storms.

[0064] The message processing apparatus provided by the present invention is described below. The message processing apparatus described below can be referred to in correspondence with the message processing method described above.

[0065] Figure 4 This is a schematic diagram of the message processing device provided by the present invention, as shown below. Figure 4 As shown, the message processing device 400 is used in a switch in a ring network and includes the following modules: The acquisition module 410 is used to acquire a first packet through a first target port among multiple ports; each of the ports is set in a different virtual local area network. Processing module 420 is used to process the first message based on the frame duplication and elimination protocol to obtain the second message; The sending module 430 is used to send the second message to the next switch in the ring network through the second target port among the plurality of ports.

[0066] In one embodiment, the first message includes multiple first frame data; the processing module 420 is specifically used for: Based on the frame copying and elimination protocol, the first first frame data in the plurality of first frame data is copied to obtain a plurality of second frame data; The plurality of second frame data are identified as the second message.

[0067] In one embodiment, the message processing apparatus 400 further includes a deletion module, which is specifically used for: Based on the frame duplication and elimination protocol, the first frame data other than the first first frame data in the plurality of first frame data are eliminated.

[0068] In one embodiment, the message processing apparatus 400 further includes a roving module, which, before processing the first message based on the frame duplication and elimination protocol to obtain the second message, is specifically used for: If the roaming value corresponding to the first message is less than or equal to the preset roaming value, the step of processing the first message based on the frame copying and elimination protocol to obtain the second message is executed.

[0069] In one embodiment, the cruise module is also used for: If the cruise value corresponding to the first message is greater than the preset cruise value, the first message is discarded.

[0070] In one embodiment, the message processing apparatus 400 further includes a feature module, which, before processing the first message based on the frame duplication and elimination protocol to obtain the second message, is specifically used for: Extract the message feature value of the first message; If the message feature value is not recorded, the step of processing the first message based on the frame copying and elimination protocol to obtain the second message is performed.

[0071] In one embodiment, the feature module is also used for: If the message characteristic value has been recorded, the first message is discarded.

[0072] In one embodiment, the first message is a broadcast message or a live message.

[0073] In one embodiment, the frame duplication and elimination protocol is the IEEE 802.1CB protocol.

[0074] The message processing apparatus provided by this invention is applied to a switch in a ring network. It acquires a first message through a first target port among multiple ports; each port is configured in a different virtual local area network (VLAN); the first message is processed based on a frame replication and cancellation protocol to obtain a second message; and the second message is sent to the next switch in the ring network through a second target port among the multiple ports. This technical solution, by assigning each port to an independent VLAN and combining frame replication and cancellation protocols to achieve fixed-direction data communication, prevents storms and enables multi-path load balancing and multi-path data forwarding, thereby improving link utilization.

[0075] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention, such as... Figure 5 As shown, the electronic device may include: a processor 510, a communications interface 520, a memory 530, and a communication bus 540, wherein the processor 510, the communications interface 520, and the memory 530 communicate with each other via the communication bus 540. The processor 510 can call logical instructions in the memory 530 to execute a message processing method, which includes: The first message is obtained through the first target port among multiple ports; each of the ports is set in a different virtual local area network. The first message is processed based on the frame duplication and elimination protocol to obtain the second message; The second message is sent to the next switch in the ring network via the second target port among the plurality of ports.

[0076] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0077] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being able to be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer being able to execute the message processing methods provided by the above methods, the method comprising: The first message is obtained through the first target port among multiple ports; each of the ports is set in a different virtual local area network. The first message is processed based on the frame duplication and elimination protocol to obtain the second message; The second message is sent to the next switch in the ring network via the second target port among the plurality of ports.

[0078] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the message processing methods provided by the methods described above, the method comprising: The first message is obtained through the first target port among multiple ports; each of the ports is set in a different virtual local area network. The first message is processed based on the frame duplication and elimination protocol to obtain the second message; The second message is sent to the next switch in the ring network via the second target port among the plurality of ports.

[0079] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.

[0080] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0081] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A message processing method, characterized in that, Switches used in ring networks include: The first message is obtained through the first target port among multiple ports; each of the ports is set in a different virtual local area network. The first message is processed based on the frame duplication and elimination protocol to obtain the second message; The second message is sent to the next switch in the ring network via the second target port among the plurality of ports.

2. The message processing method according to claim 1, characterized in that, The first message includes multiple first frame data; the processing of the first message based on the frame duplication and elimination protocol to obtain the second message includes: Based on the frame copying and elimination protocol, the first first frame data from the plurality of first frame data is copied to obtain a plurality of second frame data; The plurality of second frame data are identified as the second message.

3. The message processing method according to claim 2, characterized in that, The method further includes: Based on the frame duplication and elimination protocol, the first frame data other than the first first frame data in the plurality of first frame data are eliminated.

4. The message processing method according to any one of claims 1 to 3, characterized in that, Before processing the first message based on the frame duplication and cancellation protocol to obtain the second message, the method further includes: If the roaming value corresponding to the first message is less than or equal to the preset roaming value, the step of processing the first message based on the frame copying and elimination protocol to obtain the second message is executed.

5. The message processing method according to claim 4, characterized in that, The method further includes: If the cruise value corresponding to the first message is greater than the preset cruise value, the first message is discarded.

6. The message processing method according to any one of claims 1 to 3, characterized in that, Before processing the first message based on the frame duplication and cancellation protocol to obtain the second message, the method further includes: Extract the message feature value of the first message; If the message feature value is not recorded, the step of processing the first message based on the frame copying and elimination protocol to obtain the second message is performed.

7. The message processing method according to claim 6, characterized in that, The method further includes: If the message characteristic value has been recorded, the first message is discarded.

8. The message processing method according to any one of claims 1 to 3, characterized in that, The first message is either a broadcast message or a live message.

9. The message processing method according to any one of claims 1 to 3, characterized in that, The frame duplication and elimination protocol is the IEEE 802.1CB protocol.

10. A message processing apparatus, characterized in that, Switches used in ring networks include: The acquisition module is used to acquire a first packet through a first target port among multiple ports; each of the ports is set in a different virtual local area network; The processing module is used to process the first message based on the frame duplication and elimination protocol to obtain the second message; The sending module is used to send the second message to the next switch in the ring network through the second target port among the plurality of ports.