Message reporting method and device, equipment and storage medium

In the network topology of IGMP protocol, the switch sends multiple replies collections to the router at the same time, solving the problem of high router utilization and improving network performance and stability.

CN118984256APending Publication Date: 2024-11-19北京傲星科技有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411100052.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-12
Publication Date
2024-11-19

AI Technical Summary

Technical Problem

In the network topology of the IGMP protocol, the number of routers is small, which leads to the way reply messages are sent to the router, resulting in high router utilization, and the inability to respond to network segment emergencies in a timely manner, affecting network performance and stability.

Method used

Get the receiver host in the current multicast group through the switch, update the target field in its data structure, and send multiple replies collections to the router at the same time within the preset time period, reducing the router's occupancy rate and improving response efficiency .

Benefits of technology

It effectively reduces the occupancy rate of routers, improves the efficiency of response to network segment emergencies, and improves network performance and stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118984256A_ABST
    Figure CN118984256A_ABST
Patent Text Reader

Abstract

The invention discloses a message reporting method and device, equipment and a storage medium, and relates to the technical field of communication. Comprising the following steps: acquiring a plurality of receiver hosts included in a multicast group at the current moment; for each receiver host, after the switch receives a reply message sent by the receiver host, the switch updates a preset target field in a data structure corresponding to the receiver host to a first numerical value; if a target field in a data structure corresponding to each receiver host is updated to a first numerical value in a preset time period taking the current moment as a starting point, sending a first reply message set to a corresponding router through the switch; the first reply message set is a set of reply messages sent by each receiver host. Through the mode that the switch sends the messages in the first reply message set to the router at the same time, the occupancy rate of the router is reduced, the response efficiency of the router to emergencies in the network segment is improved, and the network performance and stability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method, apparatus, device and storage medium for reporting a message. Background Art

[0002] The IGMP protocol (Internet Group Management Protocol) is a protocol in the TCP / IP protocol suite responsible for IP multicast member management. It mainly runs between the receiver host and the multicast router directly adjacent to it, and is used to establish and maintain the relationship between multicast group members.

[0003] The current network topology usually consists of a source host, a router, a switch, and multiple receiver hosts that are connected in sequence. For a network topology using the IGMP protocol, when a receiver host receives an IGMP query message, it will generate a reply message and then send it to the switch. The switch will send the received reply message to the router in turn, and the router will update and manage the information of the receiver host in the network topology.

[0004] Since there are few routers in the network topology, the traditional method of sending reply messages to routers will cause the utilization rate of routers to remain high. Routers cannot respond to emergencies in the network segment in a timely manner, which has a negative impact on network performance and stability. Summary of the invention

[0005] Based on the above problems, the present application provides a message reporting method for efficiently sending the reply message received by the switch to the router, reducing the occupancy rate of the router and improving network performance and network stability.

[0006] The embodiments of the present application disclose the following technical solutions:

[0007] The first aspect of the present application discloses a method for reporting a message, comprising:

[0008] Get multiple receiver hosts included in the multicast group at the current moment;

[0009] For each of the receiver hosts, after the switch receives the reply message sent by the receiver host, the switch updates the preset target field in the data structure corresponding to the receiver host to a first value;

[0010] If within a preset time period starting from the current moment, the preset target fields in the data structure corresponding to each of the receiver hosts are updated to the first value, then the first reply message set is sent to the corresponding router through the switch; the first reply message set is a set of reply messages sent by each of the receiver hosts.

[0011] In an optional implementation, the message reporting method disclosed in the present application further includes:

[0012] If the preset target field in the data structure corresponding to some of the receiver hosts in the multicast group is updated to the first value within a preset time interval starting from the current moment, a second reply message set is sent to the corresponding router through the switch; the second reply message set is a set of reply messages sent by each of the some of the receiver hosts.

[0013] In an optional implementation, after the switch sends the first reply message set to the corresponding router, the method further includes:

[0014] The value of the target field in the data structure corresponding to each of the receiver hosts in the multicast group is updated to a second value.

[0015] In an optional implementation manner, after the switch sends the second reply message set to the corresponding router, the method further includes:

[0016] The value of the target field in the data structure corresponding to each of the receiver hosts in the multicast group is updated to a second value.

[0017] In an optional implementation manner, sending the first reply message set to the corresponding router through the switch is specifically:

[0018] The first reply message set is sent to the corresponding router through the router port corresponding to the multicast group in the switch.

[0019] The second aspect of the present application discloses a message reporting device, comprising:

[0020] A multicast group list acquisition device, used to acquire multiple receiver hosts included in the multicast group at the current moment;

[0021] A first value updating device, configured to update a preset target field in a data structure corresponding to each of the receiver hosts to a first value after the switch receives a reply message sent by the receiver host;

[0022] A first reply message set sending device is used to send the first reply message set to the corresponding router through the switch if the preset target field in the data structure corresponding to each of the receiver hosts is updated to the first value within a preset time period starting from the current moment; the first reply message set is a set of reply messages sent by each of the receiver hosts.

[0023] In an optional implementation, the message reporting device further includes:

[0024] A second reply message set sending device is used for sending a second reply message set, and is used for sending a second reply message set to a corresponding router through the switch if a preset target field in a data structure corresponding to some receiver hosts in the multicast group is updated to the first value within a preset time interval starting from the current moment; the second reply message set is a set of reply messages sent by each receiver host in the some receiver hosts.

[0025] In an optional implementation, the message reporting device further includes:

[0026] The second value updating device is used to update the value of the target field in the data structure corresponding to each of the receiver hosts in the multicast group to a second value.

[0027] A third aspect of the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the method introduced in any implementation manner of the first aspect.

[0028] A fourth aspect of the present application provides an electronic device, including:

[0029] a memory having a computer program stored thereon;

[0030] A processor is used to execute the computer program in the memory to implement the steps of the method introduced in any implementation manner of the first aspect.

[0031] Compared with the prior art, this application has the following beneficial effects:

[0032] The present application discloses a method for reporting a message, comprising: obtaining a plurality of receiver hosts included in a multicast group; for each receiver host, after a switch receives a reply message sent by the receiver host, the switch updates a preset target field in a data structure corresponding to the receiver host to a first value; if the preset target field in the data structure corresponding to each receiver host is updated to the first value within a preset time period, a first reply message set is sent to a corresponding router through the switch; the first reply message set is a set of reply messages sent by each receiver host.

[0033] In this way, in the present application, by sending the messages in the first reply message set to the router at the same time, rather than sending the reply messages received by the switch to the router one by one, the occupancy rate of the router is reduced, the efficiency of the router in responding to emergencies in the network segment is improved, and the network performance and stability are improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0035] Figure 1 A schematic diagram of a network topology structure provided in an embodiment of the present application;

[0036] Figure 2 A schematic diagram of the structure of a query message sent by a router provided in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of the structure of a query message sent by a switch provided in an embodiment of the present application;

[0038] Figure 4 A schematic diagram of the structure of a reply message sent by a receiver host provided in an embodiment of the present application;

[0039] Figure 5 A flowchart of a message reporting method provided in an embodiment of the present application;

[0040] Figure 6 A schematic diagram of the structure of a message reporting device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] Figure 1 A schematic diagram of a network topology structure provided in an embodiment of the present application. Figure 1The network topology in the network consists of a source host, a router, a switch and multiple receiver hosts that are connected in sequence. The IGMP protocol is a protocol that manages multicast group members based on a query and response mechanism.

[0042] In the first case, the IGMP protocol is used to implement Figure 1 The process of managing and updating multicast member information by the router in the network topology is as follows: the router in the network topology starts the IGMP function, the port Eth1 / 0 / 1 in the router enables IGMP, and periodically sends IGMP general group query messages to the switch, and the switch forwards the received IGMP general group query messages to Figure 1 The receiver hosts A, B and C in the figure. After receiving the IGMP general group query message, each receiver host generates a reply message and sends the generated reply message to the switch, which then forwards the received reply messages to the router in turn, and the router completes the collection, update and management of the receiver host information.

[0043] Figure 1 The format of the IGMP general group query message sent by the router in is as follows Figure 2 shown. Figure 2 The contents in the green, yellow, and orange boxes are the source IP, destination IP (the destination IP of the general group query message is the multicast IP 224.0.0.1), and type (0x11 indicates that the message type is a query message) in the IGMP general group query message.

[0044] In the second case, the IGMP protocol is used to implement Figure 1 The process of managing and updating the multicast member information by the router in the network topology can also be: after the router in the network topology starts the IGMP function, the IGMP Snooping queryer is configured to enable the switch to actively send IGMP general group query messages; Figure 1 After receiving the IGMP general group query message, each receiver host generates a reply message (the format of the message is as follows Figure 4 As shown in the figure), the generated reply message is sent to the switch; the switch forwards the reply message from the Snooping port Eth 1 / 0 / 1 interface to the router (or three-layer switch) with the IGMP function enabled, and the router or three-layer switch completes the collection, update and management of the receiver host information.

[0045] Figure 2 The format of the IGMP general group query message sent by the switch is as follows Figure 3 shown. Figure 3The contents in the green, yellow, and orange boxes are the source IP, destination IP (the destination IP of the general group query message is the multicast IP 224.0.0.1), and type (0x11 indicates that the message type is a query message) of the IGMP-snooping query message.

[0046] Figure 2 The format of the reply message sent by the receiving host is as follows Figure 4 shown. Figure 4 The 0x16 in the red box indicates that the message type is a reply message.

[0047] Regardless of whether the IGMP general group query message is sent by a router in the network topology structure or by a switch actively sending the IGMP general group query message, the schemes mentioned in the aforementioned embodiments are that when the receiver host receives the IGMP query message, the receiver host will generate a reply message, and then send the reply message it generated to the switch, and the switch will send the received reply messages to the router in turn.

[0048] Since there are fewer routers in the network topology, the traditional method of sending reply messages to routers will cause the utilization rate of routers to remain high. Routers cannot respond to sudden events in the network segment in a timely manner, which has a negative impact on network performance and stability.

[0049] Based on the above problems, the present application discloses a method for reporting a message, including: obtaining multiple receiver hosts included in a multicast group; for each receiver host, after the switch receives a reply message sent by the receiver host, the switch updates a preset target field in a data structure corresponding to the receiver host to a first value; if the target field in the data structure corresponding to each receiver host is updated to the first value within a preset time period starting from the current time, a first reply message set is sent to a corresponding router through the switch; the first reply message set is a set of reply messages sent by each receiver host.

[0050] In this way, in the present application, by sending the messages in the first reply message set to the router at the same time, rather than sending the reply messages received by the switch to the router one by one, the occupancy rate of the router is reduced, the efficiency of the router to respond promptly to sudden events in the network segment is improved, and the network performance and stability are improved.

[0051] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0052] Figure 5 A flowchart of a message reporting method provided in an embodiment of the present application. Figure 5 As shown, the message reporting method disclosed in this application includes:

[0053] S501, obtaining multiple receiver hosts included in the multicast group at the current moment.

[0054] The multicast group list is a collection of multicast groups; each multicast group is a collection identified by a multicast IP address. The receiver host identifies and receives multicast data sent to the multicast group by joining the multicast group. After any receiver host joins a multicast group, it becomes a member of the group and can receive multicast data sent to the multicast group. The members of the multicast group are dynamic, and the receiver host can join or leave the multicast group at any time.

[0055] Exemplarily, the multicast group list L1 includes multicast group G1, multicast group G2 and multicast group G3. The IP address corresponding to multicast group G1 is 224.1.1.1; the IP address corresponding to multicast group G2 is 224.1.1.2, and the IP address corresponding to multicast group G3 is 224.1.1.3. When a source host needs to send data to these multicast groups, the source host only needs to send the data to the corresponding multicast address. The router will determine which interfaces should receive the data based on the multicast address and multicast group list L1, and forward the data to the corresponding interface. In this way, only the hosts that have joined multicast group G1, multicast group G2 or multicast group G3 can receive the data.

[0056] In S501, multiple receiver hosts included in each multicast group in the multicast group list are obtained, that is, it is necessary to determine which receiver host members are specifically included in each multicast group. Since the members of the multicast group are dynamic, the receiver host can join or leave the multicast group at any time; therefore, in this application, obtaining multiple receiver hosts included in each multicast group means obtaining multiple receiver hosts included in the multicast group at the current time.

[0057] Schematically, data can be sent to the multicast address through the source host, and the data will be forwarded by the routers in the network to all hosts that have joined the multicast group. By analyzing the reply reports of the receiver hosts received by the routers, the receiver hosts in the multicast group can be determined.

[0058] The present application does not limit the specific implementation method of obtaining the multiple receiver hosts included in the multicast group at the current moment. Those skilled in the art can select different methods to obtain the multiple receiver hosts included in the multicast group at the current moment according to the actual network topology.

[0059] S502: For each of the receiver hosts, after the switch receives a reply message sent by the receiver host, the switch updates a preset target field in a data structure corresponding to the receiver host to a first value.

[0060] It is understandable that in a network topology, in order to effectively manage and track network devices, a corresponding data structure is usually maintained for each device. These data structures contain various fields for storing device status, configuration, and statistical information, etc. The receiving host also has its own corresponding data structure.

[0061] It should be noted that for each receiver host included in the multicast group, before executing the message reporting method disclosed by itself, a new field, namely, the preset target field, has been added to the data structure corresponding to the receiver host. The initial value of the preset target field is the second value, and 0 is used to represent the second value in this application.

[0062] As can be seen from the introduction of the above embodiments, in some network topologies, the way to send a multicast group query message is: the router starts the IGMP function, the port Eth1 / 0 / 1 in the router enables IGMP, and periodically sends the IGMP general group query message to the switch, and the switch forwards the received IGMP general group query message to Figure 1 Receiver host A, receiver host B and receiver host C in.

[0063] In other network topologies, the way to send multicast group query messages is as follows: after the router in the network topology starts the IGMP function, the IGMP Snooping querier is configured to enable the switch to actively send IGMP general group query messages to the Figure 1 The receiver hosts A, B and C in the figure. No matter the router sends the IGMP general group query message or the switch actively sends the IGMP general group query message, after the receiver host receives the IGMP query message, the receiver host will generate a reply message and then send the reply message it generated to the switch.

[0064] For each of the multiple receiver hosts included in the multicast group, when the switch receives a reply message sent by the receiver host, the switch will parse the received reply message and extract key information in the reply message, such as the IP address (source IP, representing the host sending the reply), the message type (to distinguish whether it is a control message or a data message, etc.) and the multicast group address (to identify the multicast group to which the message belongs).

[0065] Through the above key information, the switch can identify which recipient host sent the reply message. After determining the recipient host that sent the reply message, the value of the preset target field in the data structure corresponding to the recipient host is updated to the first value. For example, 1 is used as the first value in this application.

[0066] It should be noted that the present application does not limit the size of the preset target field, does not limit the setting method of the preset target field, and does not limit the specific values ​​of the first value and the second value. Those skilled in the art can set the above contents as needed.

[0067] S503, if within the preset time period starting from the current time, the preset target field in the data structure corresponding to each of the receiver hosts is updated to the first value, the first reply message set is sent to the corresponding router through the switch.

[0068] First, according to the method in S502, the switch can parse each reply message received, extract key information in the reply message, determine which is the recipient host that sends the reply message, and then update the preset target field in the data structure corresponding to the recipient host to the first value.

[0069] Then, it is determined that within a preset time period starting from the current moment, such as from the current moment to the first moment, and if the first moment is a moment after the current moment, the target field in the data structure corresponding to each receiver host included in the multicast group is updated to the first value, that is, within the preset time period starting from the current moment, each receiver host has fed back a reply message to the switch.

[0070] Finally, the switch puts together the reply messages fed back by each receiver host to generate a first reply message set, and then sends the first reply message set to the corresponding router through the router port corresponding to the multicast group in the switch.

[0071] It should be noted that the specific duration of the preset time interval is not limited in the present application, and those skilled in the art can set the time interval according to actual needs.

[0072] In summary, the present application discloses a method for reporting a message, comprising: obtaining multiple receiver hosts included in a multicast group at the current moment; for each receiver host, after a switch receives a reply message sent by the receiver host, the switch updates a preset target field in a data structure corresponding to the receiver host to a first value; if the target field in the data structure corresponding to each receiver host is updated to the first value within a preset time period starting from the current moment, a first reply message set is sent to a corresponding router through the switch; the first reply message set is a set of reply messages sent by each receiver host.

[0073] In this way, in the present application, by sending the messages in the first reply message set to the router at the same time, rather than sending the reply messages received by the switch to the router one by one, the occupancy rate of the router is reduced, the efficiency of the router to respond promptly to sudden events in the network segment is improved, and the network performance and stability are improved.

[0074] S504, if the preset target field in the data structure corresponding to some of the receiver hosts in the multicast group is updated to the first value within the preset time interval starting from the current moment, a second reply message set is sent to the corresponding router through the switch; the second reply message set is a set of reply messages sent by each of the some of the receiver hosts.

[0075] If within a preset time interval starting from the current moment, the target field in the data structure corresponding to only some of the receiver hosts in the multicast group is updated to the first value, that is, the switch only receives reply messages sent by some of the receiver hosts within the preset time period.

[0076] In this case, the switch puts together the reply messages sent by some of the receiver hosts to generate a second reply message set; and sends the second reply message set to the corresponding router through the router port corresponding to the multicast group in the switch.

[0077] It is understandable that in the process of waiting for all receivers to feedback, network resources (such as bandwidth, processing capacity of switches and routers, etc.) may be occupied unnecessarily. If the value of the target field in the data structure corresponding to some receiver hosts in the multicast group is updated to the first value within a preset time interval starting from the current time, and no longer waiting for all receiver hosts in the multicast group to feedback reply messages to the switch, but sending the second reply message set (the set of reply messages sent by each receiver host in some receiver hosts) to the corresponding router through the switch, these resources can be released earlier so that they can be used to process other network tasks, thereby improving the overall network throughput and performance, improving the efficiency of network communication, and optimizing resource utilization.

[0078] It should be emphasized that after sending the first reply message set to the corresponding router through the switch, or after sending the second reply message set to the corresponding router through the switch, the switch will update the target field in the data structure corresponding to each receiver host in the multicast group to the second value.

[0079] Based on the message reporting method disclosed in the aforementioned embodiment, the present application also discloses a message reporting device. Figure 6 A schematic diagram of the structure of a message reporting device provided in an embodiment of the present application.

[0080] Combination Figure 6 As shown, the message reporting device 600 disclosed in the present application includes:

[0081] The multicast group list acquisition device 601 is used to acquire multiple receiver hosts included in the multicast group at the current moment;

[0082] The first value updating means 602 is used for updating the preset target field in the data structure corresponding to each of the receiver hosts to a first value after the switch receives the reply message sent by the receiver host;

[0083] The first reply message set sending means 603 is used to send the first reply message set to the corresponding router through the switch if the preset target field in the data structure corresponding to each of the receiver hosts is updated to the first value within the preset time period starting from the current time; the first reply message set is a set of reply messages sent by each of the receiver hosts;

[0084] The second reply message set sending device 604 is used to send the second reply message set to the corresponding router through the switch if the preset target field in the data structure corresponding to some receiver hosts in the multicast group is updated to the first value within a preset time interval starting from the current moment; the second reply message set is a set of reply messages sent by each receiver host in the some receiver hosts.

[0085] In an optional implementation, the message reporting device 600 further includes:

[0086] The second value updating device is used to update the value of the target field in the data structure corresponding to each receiver host in the multicast group to a second value, and to update the value of the target field in the data structure corresponding to each receiver host in the multicast group to a second value.

[0087] In an optional implementation, the first reply message set sending device 603 includes:

[0088] The first reply message set sending unit is used to send the first reply message set to the corresponding router through the router port corresponding to the multicast group in the switch.

[0089] Based on the message reporting method and device provided in the aforementioned embodiments, the present application also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements some or all of the steps in the message reporting method mentioned above.

[0090] Based on the message reporting method and device provided in the above embodiments, the present application further provides an electronic device, including:

[0091] a memory having a computer program stored thereon;

[0092] The processor is used to execute the computer program in the memory to implement part or all of the steps in the message reporting method provided in the above embodiment.

[0093] It should be noted that each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. The device embodiment described above is merely schematic, in which the unit described as a separate component may or may not be physically separated, and the component prompted as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0094] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for reporting a message, characterized in that: The method comprises: Get multiple receiver hosts included in the multicast group at the current moment; For each of the receiver hosts, after the switch receives the reply message sent by the receiver host, the switch updates the preset target field in the data structure corresponding to the receiver host to a first value; If within a preset time period starting from the current moment, the preset target fields in the data structure corresponding to each of the receiver hosts are updated to the first value, then the first reply message set is sent to the corresponding router through the switch; the first reply message set is a set of reply messages sent by each of the receiver hosts.

2. The method according to claim 1, characterized in that: The method further comprises: If the preset target field in the data structure corresponding to some of the receiver hosts in the multicast group is updated to the first value within a preset time interval starting from the current moment, a second reply message set is sent to the corresponding router through the switch; the second reply message set is a set of reply messages sent by each of the some of the receiver hosts.

3. The method according to claim 1, characterized in that After sending the first reply message set to the corresponding router through the switch, the method further includes: The value of the target field in the data structure corresponding to each of the receiver hosts in the multicast group is updated to a second value.

4. The method according to claim 2, characterized in that: After the switch sends the second reply message set to the corresponding router, the method further includes: The value of the target field in the data structure corresponding to each of the receiver hosts in the multicast group is updated to a second value.

5. The method according to claim 1, characterized in that The sending of the first reply message set to the corresponding router through the switch is specifically: The first reply message set is sent to the corresponding router through the router port corresponding to the multicast group in the switch.

6. A message reporting device, characterized in that: The device comprises: A multicast group list acquisition device, used to acquire multiple receiver hosts included in the multicast group at the current moment; A first value updating device, configured to update a preset target field in a data structure corresponding to each of the receiver hosts to a first value after the switch receives a reply message sent by the receiver host; A first reply message set sending device is used to send the first reply message set to the corresponding router through the switch if the preset target field in the data structure corresponding to each of the receiver hosts is updated to the first value within a preset time period starting from the current moment; the first reply message set is a set of reply messages sent by each of the receiver hosts.

7. The device according to claim 6, characterized in that The device also includes: A second reply message set sending device is used to send the second reply message set to the corresponding router through the switch if the preset target field in the data structure corresponding to some receiver hosts in the multicast group is updated to the first value within a preset time interval starting from the current moment; the second reply message set is a set of reply messages sent by each receiver host in the said part of receiver hosts.

8. The device according to claim 6, characterized in that The device also includes: The second value updating device is used to update the value of the target field in the data structure corresponding to each of the receiver hosts in the multicast group to a second value.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the steps of the method described in any one of claims 1 to 5 are implemented.

10. An electronic device, characterized in that: include: a memory having a computer program stored thereon; A processor, configured to execute the computer program in the memory to implement the steps of the method according to any one of claims 1 to 5.