Multicast service processing method and access device
11240054 ยท 2022-02-01
Assignee
Inventors
Cpc classification
H04W72/21
ELECTRICITY
H04L12/1863
ELECTRICITY
H04L12/1859
ELECTRICITY
International classification
Abstract
A multicast service processing method and an access device. In the method, an access device receives an on-demand request; the access device separately sends the on-demand request to a multicast source device through a first uplink port of the access device and a second uplink port of the access device, so that the multicast source device sends a first multicast packet and a second multicast packet based on the on-demand request; the access device receives the first multicast packet through the first uplink port of the access device, and receives the second multicast packet through the second uplink port of the access device; the access device obtains a multicast data stream based on attribute information of the first multicast packet and attribute information of the second multicast packet; and the access device sends the obtained multicast data stream to the program terminal.
Claims
1. A multicast service processing method, comprising: receiving, by an access device, an on-demand request sent by a program terminal; separately sending, by the access device, the on-demand request to a multicast source device through a first uplink port of the access device and a second uplink port of the access device, so that the multicast source device sends a first multicast packet and a second multicast packet based on the on-demand request; receiving, by the access device, the first multicast packet through the first uplink port of the access device, and receiving the second multicast packet through the second uplink port of the access device; obtaining, by the access device, a multicast data stream based on attribute information of the first multicast packet and attribute information of the second multicast packet; and sending, by the access device, the multicast data stream to the program terminal, wherein the access device simultaneously handles the first multicast packet and the second multicast packet to obtain the multicast data stream, and the handling of the access device includes simultaneously counting each receiving time of the first multicast packet and the second multicast packet, wherein a time threshold for receiving of the first multicast packet and the time threshold for receiving of the second multicast packet are simultaneously calculated, and if both the first multicast packet and the second multicast packet are not received within the time threshold, the access device considers that a multicast packet with first sequence information does not exist, and the access device directly obtains the first multicast packet and the second multicast packet of a next sequence, in order to minimize a forwarding delay.
2. The method according to claim 1, wherein the attribute information is sequence information; and the obtaining, by the access device, of the multicast data stream based on attribute information of the first multicast packet and attribute information of the second multicast packet comprises: obtaining, by the access device, the multicast data stream based on sequence information of the first multicast packet and sequence information of the second multicast packet.
3. The method according to claim 1, wherein the obtaining, by the access device, of the multicast data stream based on attribute information of the first multicast packet and attribute information of the second multicast packet comprises: determining, by the access device, a first receiving time of the first multicast packet with the first sequence information and a second receiving time of the second multicast packet with the first sequence information; and obtaining, by the access device, the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time; or when the first receiving time is the same as the second receiving time, obtaining, by the access device, a third multicast packet with the first sequence information, wherein the third multicast packet with the first sequence information is obtained by combining the first multicast packet with the first sequence information and the second multicast packet with the first sequence information.
4. The method according to claim 2, wherein the obtaining, by the access device, of the multicast data stream based on attribute information of the first multicast packet and attribute information of the second multicast packet comprises: determining, by the access device, a first receiving time of the first multicast packet with first sequence information and a second receiving time of the second multicast packet with the first sequence information; and obtaining, by the access device, the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time; or when the first receiving time is the same as the second receiving time, obtaining, by the access device, a third multicast packet with the first sequence information, wherein the third multicast packet with the first sequence information is obtained by combining the first multicast packet with the first sequence information and the second multicast packet with the first sequence information.
5. The method according to claim 3, wherein the obtaining, by the access device, of the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time comprises: obtaining, by the access device, the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time and the first receiving time or the second receiving time is less than the time threshold.
6. The method according to claim 3, further comprising: obtaining, by the access device, the earlier received first multicast packet with second sequence information and the earlier received second multicast packet with the second sequence information when the first receiving time is different from the second receiving time and both the first receiving time and the second receiving time are greater than the time threshold.
7. The method according to claim 3, wherein after the obtaining, by the access device, of the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time, the method further comprises: deleting, by the access device, the later received second multicast packet with the first sequence information or the later received first multicast packet with the first sequence information.
8. The method according to claim 4, wherein after the obtaining, by the access device, of the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time, the method further comprises: deleting, by the access device, the later received second multicast packet with the first sequence information or the later received first multicast packet with the first sequence information.
9. The method according to claim 5, wherein after the obtaining, by the access device, of the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time, the method further comprises: deleting, by the access device, the later received second multicast packet with the first sequence information or the later received first multicast packet with the first sequence information.
10. An access device, the access device comprising a receiver, a transmitter, and a processor, wherein the receiver is configured to receive an on-demand request sent by a program terminal; the transmitter is configured to separately send the on-demand request to a multicast source device through a first uplink port of the access device and a second uplink port of the access device, so that the multicast source device sends first multicast packets and second multicast packets based on the on-demand request; the receiver is further configured to: receive the first multicast packets through the first uplink port of the access device, and receive the second multicast packets through the second uplink port of the access device; the processor is further configured to obtain a multicast data stream based on attribute information of the first multicast packets and attribute information of the second multicast packets; and the transmitter is further configured to send the obtained multicast data stream to the program terminal, wherein the access device simultaneously handles the first multicast packet and the second multicast packet to obtain the multicast data stream, and the handling of the access device includes simultaneously counting each receiving time of the first multicast packet and the second multicast packet, wherein a time threshold for receiving of the first multicast packet and the time threshold for receiving of the second multicast packet are simultaneously calculated, and if both the first multicast packet and the second multicast packet are not received within the time threshold, the access device considers that a multicast packet with first sequence information does not exist, and the access device directly obtains the first multicast packet and the second multicast packet of a next sequence, in order to minimize a forwarding delay.
11. The device according to claim 10, wherein the attribute information is sequence information; and the processor is configured to obtain the multicast data stream based on sequence information of the first multicast packets and sequence information of the second multicast packets.
12. The device according to claim 10, wherein the processor is further configured to determine a first receiving time of the first multicast packet with the first sequence information and a second receiving time of the second multicast packet with the first sequence information; and the processor obtains the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time; or when the first receiving time is the same as the second receiving time, the processor obtains a third multicast packet with the first sequence information, wherein the third multicast packet with the first sequence information is obtained by combining the first multicast packet with the first sequence information and the second multicast packet with the first sequence information.
13. The device according to claim 11, wherein the processor is further configured to determine a first receiving time of the first multicast packet with first sequence information and a second receiving time of the second multicast packet with the first sequence information; and the processor obtains the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time; or when the first receiving time is the same as the second receiving time, the processor obtains a third multicast packet with the first sequence information, wherein the third multicast packet with the first sequence information is obtained by combining the first multicast packet with the first sequence information and the second multicast packet with the first sequence information.
14. The device according to claim 12, wherein the processor is configured to obtain the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time and the first receiving time or the second receiving time is less than the time threshold.
15. The device according to claim 12, wherein the processor is configured to obtain the earlier received first multicast packet with second sequence information and the earlier received second multicast packet with the second sequence information when the first receiving time is different from the second receiving time and both the first receiving time and the second receiving time are greater than the time threshold.
16. The device according to claim 12, wherein the processor is further configured to delete the later received second multicast packet with the first sequence information or the later received first multicast packet with the first sequence information.
17. The device according to claim 13, wherein the processor is further configured to delete the later received second multicast packet with the first sequence information or the later received first multicast packet with the first sequence information.
18. The device according to claim 14, wherein the processor is further configured to delete the later received second multicast packet with the first sequence information or the later received first multicast packet with the first sequence information.
19. The method according to claim 1, wherein the access device includes a first queue, a second queue and an output queue, the first queue stores the first multicast packet, the second queue stores the second multicast packet, and a receiving time of the first multicast packet and a receiving time of the second multicast packet are simultaneously counted such that the output queue receives a packet from the first queue or the second queue based on predetermined rules for the simultaneously counted receiving times, wherein a later received first multicast packet in the first queue or a later received second multicast packet in the second queue, that has a sequence number less than or equal to a sequence number of a multicast packet that exists in the output queue, is deleted from the first queue or the second queue, in order to occupy minimized bandwidth of a transmission network.
20. The method according to claim 19, wherein the calculated time threshold is further considered for the packet to be forwarded to the output queue from the first queue or the second queue.
Description
BRIEF DESCRIPTION OF DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
DESCRIPTION OF EMBODIMENTS
(9) The technical solutions of this application are further described below in detail with reference to accompanying drawings and embodiments.
(10) A multicast service processing method provided in this application may be applied to an IP network. The IP network uses an IGMP-based or protocol independent multicast (PIM)-based multicast control protocol.
(11)
(12) The program terminal 210 sends an on-demand request of a user for a multicast (such as an IGMP) program to the access device 220, and the access device 220 separately sends the on-demand request to both the forwarding router 230 and the forwarding router 240 in uplink. The forwarding router 251 in the multicast source device 250 transfers the same received request to the multicast source 252. The multicast source 252 sends multicast packets to the forwarding router 251 based on the request, to form a multicast data stream (or referred to as a multicast video stream). The forwarding router 230 and the forwarding router 240 forward the multicast data stream to the access device 220. The access device 220 identifies multicast packets one by one in two multicast data streams for a same program, to form a new multicast data stream, and sends the multicast data stream to the program terminal 210.
(13) It may be understood that the IP network networking may include at least one program terminal 210. There may be at least two links between the access device 220 and the multicast source device 250.
(14) It can be understood from this that the access device 220 sends the on-demand request by using a number of forwarding routers, and receives the multicast data stream (or the video stream) by using the number of forwarding routers, thereby improving forwarding quality of the multicast data stream (for example, reducing a packet loss rate in a multicast data stream forwarding process and reducing a multicast data stream forwarding delay) in the IP network.
(15) For example, the multicast program is an IGMP multicast program, and the network networking includes two program terminals.
(16)
(17) In Step 310, an access device receives an on-demand request sent by a program terminal.
(18) The access device receives on-demand requests of users of two program terminals for an IGMP multicast program (a same program). The on-demand request carries information about the program that the users want to watch.
(19) Optionally, the access device separately records identification information such as address information of the two program terminals, so that the access device sends multicast program data streams to the corresponding program terminals based on the identification information.
(20) In Step 320, the access device separately sends the on-demand request to a multicast source device through a first uplink port of the access device and a second uplink port of the access device, so that the multicast source device sends a first multicast packet and a second multicast packet based on the on-demand request.
(21) The access device specifies two different uplink ports for each multicast program. The access device may have a function of a proxy server (for example, an Internet group management protocol proxy (IGMP Proxy) server), to send a request or receive a multicast packet.
(22) Optionally, before performing step 320, the access device may copy the on-demand request to obtain two same on-demand requests.
(23) The access device respectively sends, through the first uplink port and the second uplink port, join requests that include the on-demand requests to forwarding routers on two transmission paths, and then sends the join requests to the multicast source device along the two paths.
(24) The first uplink port and the second uplink port are two logical uplink ports, and the logical uplink port may be a physical port of a virtual local area network (VLAN) or a physical port of a virtual private network (VPN). The forwarding routers and the multicast source device separately record identification information of the received join requests, for example, transmitter address information, so that the multicast source device copies multicast packets sent based on the on-demand requests for the same program to obtain the first multicast packet and the second multicast packet. The multicast source device respectively sends the first multicast packet and the second multicast packet to the first uplink port and the second uplink port of the access device by using the forwarding routers.
(25) The multicast packets sent by the multicast source device need to be encapsulated by using a real-time transport protocol (RTP) packet header.
(26) An RTP packet includes a packet header and a payload. A format of the RTP packet header is shown in
(27) The sequence number is used to identify a number of the RTP packet sent by a transmitter. The sequence number is increased by 1 each time the transmitter sends one packet, and a receiver may detect a packet loss status by using the sequence number.
(28) In Step 330, the access device receives the first multicast packet through the first uplink port of the access device, and receives the second multicast packet through the second uplink port of the access device.
(29) The access device buffers the first multicast packet received through the first uplink port into a first input queue, and buffers the second multicast packet received through the second uplink port into a second input queue.
(30) In Step 340, the access device obtains a multicast data stream based on attribute information of the first multicast packet and attribute information of the second multicast packet.
(31) The attribute information may be sequence information, for example, a sequence number.
(32) Before performing step 340, the access device determines a first receiving time of a first sequence number in the first input queue and determines a second receiving time of a first sequence number in the second input queue.
(33) When the first receiving time is the same as the second receiving time, the access device obtains a third multicast packet with the first sequence number, where the third multicast packet with the first sequence number is obtained by combining a first multicast packet with the first sequence number and a second multicast packet with the first sequence number, and buffers the third multicast packet with the first sequence number into an output queue.
(34) Alternatively, when the first receiving time is different from the second receiving time, the following uses an example in which the first receiving time is less than the second receiving time.
(35) Optionally, to better reduce a forwarding delay, the access device may configure a time threshold, and the time threshold is a maximum time in which the access device waits to receive a multicast packet.
(36) For example, the first receiving time is less than the second receiving time. When the access device identifies that both the first receiving time and the second receiving time are less than the time threshold, in other words, the access device receives a first multicast packet with the first sequence number and a second multicast packet with the first sequence number within the time threshold, the access device considers that there is no packet loss.
(37) The access device stores the earlier received first multicast packet with the first sequence number in an output queue.
(38) Alternatively, when the access device identifies that the first receiving time is greater than the time threshold, and the second receiving time is less than the time threshold, for example, when the access device receives a second multicast packet with the first sequence number but does not receive a first multicast packet with the first sequence number within the time threshold, the access device considers that a packet loss occurs in the first input queue.
(39) The access device stores the received second multicast packet with the first sequence number in an output queue.
(40) When the access device identifies that the second receiving time is greater than the time threshold and the first receiving time is less than the time threshold, the access device stores a received first multicast packet with the first sequence number in an output queue.
(41) Alternatively, when the access device identifies that both the first receiving time and the second receiving time are greater than the time threshold, in other words, the access device receives neither a first multicast packet with the first sequence number nor a second multicast packet with the first sequence number within the time threshold, the access device considers that a packet loss occurs in both the first input queue and the second input queue.
(42) The access device continues to receive a first multicast packet with a second sequence number or a second multicast packet with a second sequence number. An index of the second sequence number herein is a sequence of sequence numbers. For example, the second sequence number is a sequence number next to the first sequence number. It can be understood that the access device receives multicast packets in a sequence of multicast packet sequence numbers, thereby avoiding outputting out-of-order multicast packets.
(43) Optionally, a multicast packet (a later received multicast packet) that is in the first input queue and the second input queue and that has a sequence number less than or equal to a sequence number that exists in the output queue is deleted, to occupy less bandwidth of a transmission network.
(44) The access device sends, based on the identification information of the program terminals, a multicast data stream that includes multicast packets in the output queue to a corresponding program terminal.
(45) It may be understood that the foregoing multicast packet receiving process of the access device may be further applied to a case in which the first receiving time is greater than the second receiving time. For the sake of brevity, this is not described again in this embodiment.
(46) In Step 350, the access device sends the obtained multicast data stream to the program terminal.
(47) In an example, as shown in
(48) After the access device receives a multicast request from the program terminal for a multicast program (10.1.1.1, 233.0.0.1), the IGMP proxy respectively sends join requests that include the multicast request to the two uplink ports, and request information of the join requests is (VLAN 10, 0/9/0, 10.1.1.1, 233.0.0.1) and (VLAN 11, 0/9/1, 10.1.1.1, 233.0.0.1). After receiving the join requests, router B and router C, respectively, send the join requests to router A through an interface 10.1.2.3 and an interface 10.1.3.3.
(49) The multicast source is configured to send multicast packets of the program (10.1.1.1, 233.0.0.1) to router A. Router A copies the multicast packets to obtain two groups of multicast packets and respectively sends the two groups of multicast packets to the access device through an interface 10.1.2.2 and an interface 10.1.3.2 of router A. The access device may simultaneously receive the multicast packets of the program (10.1.1.1, 233.0.0.1) through the port (VLAN 10, 0/9/0) and the port (VLAN 11, 0/9/1). In other words, the access device receives the multicast packets along two paths. After entering the access device, the multicast packets on the two paths are respectively buffered into a queue A through the port (VLAN 10, 0/9/0) and a queue B through the port (VLAN 11, 0/9/1). The access device identifies sequence number fields of RTP packet headers of the multicast packets to identify packet loss statuses of the multicast packets on the two paths, and performs combination.
(50) As shown in
(51) At a moment T1, the access device successively receives a multicast packet 1 and a multicast packet 2 into the queue A, and receives a multicast packet 1 and a multicast packet 2 into the queue B. If a first receiving time in which the access device receives the multicast packet 1 into the queue A is less than a second receiving time in which the access device receives the multicast packet 1 into the queue B, the access device buffers the multicast packet 1 in the queue A into an output queue. Then the access device identifies the multicast packet 2 in the queue A and the multicast packet 2 in the queue B. If the access device identifies that a first receiving time in which the multicast packet 2 is received into the queue A is greater than a second receiving time in which the multicast packet 2 is received into the queue B, the access device buffers the multicast packet 2 in the queue B into the output queue.
(52) Due to link quality, a multicast packet 3 is lost when multicast packets of (10.1.1.1, VLAN 10, 233.0.0.1) are forwarded by using the router B. To reduce a forwarding delay, when a first receiving time in which the access device receives the multicast packet 3 into the queue A is greater than a time threshold and a second receiving time in which the access device receives the multicast packet 3 into the queue B is less than the time threshold, the access device buffers the multicast packet 3 in the queue B into the output queue.
(53) Alternatively, due to link quality, a multicast packet 5 is lost when multicast packets of (10.1.1.1, VLAN 11, 233.0.0.1) are forwarded by using router C. To reduce a forwarding delay, when a first receiving time in which the access device receives the multicast packet 5 into the queue A is less than a time threshold and a second receiving time in which the access device receives the multicast packet 5 into the queue B is greater than the time threshold, the access device buffers the multicast packet 5 in the queue A into the output queue.
(54) Alternatively, due to link quality, a multicast packet 6 is lost when multicast packets of (10.1.1.1, VLAN 11, 233.0.0.1) are forwarded by using router C and multicast packets of (10.1.1.1, VLAN 10, 233.0.0.1) are forwarded by using router B. For example, both a first receiving time in which the access device receives the multicast packet 6 into the queue A and a second receiving time in which the access device receives the multicast packet 6 into the queue B are greater than a time threshold. In this case, the access device gives up receiving the multicast packet 6, and continues to receive a multicast packet 7.
(55) Finally, the access device deletes a multicast packet that is in the queue A and the queue B and that has a sequence number less than or equal to a sequence number in the output queue. Therefore, multicast packets finally received by the program terminal are a multicast data stream of multicast packets 1, 2, 3, 4, 5, and 7.
(56) According to this method, a packet is forwarded in an IP network. A dual-transmitter and dual-receiver structure of the access device is used, thereby reducing a packet loss rate of the IP network, and the time threshold specified for the access device, thereby reducing a forwarding delay, and meeting a user experience requirement for video experience.
(57) Corresponding to the foregoing method, another embodiment provides an access device.
(58)
(59) The receiving unit 710 is configured to receive an on-demand request sent by a program terminal.
(60) The sending unit 720 is configured to separately send the on-demand request to a multicast source device through a first uplink port of the access device and a second uplink port of the access device, so that the multicast source device sends first multicast packet and second multicast packet based on the on-demand request.
(61) The receiving unit 710 is further configured to: receive the first multicast packet through the first uplink port of the access device, and receive the second multicast packet through the second uplink port of the access device.
(62) The processing unit 730 is further configured to obtain a multicast data stream based on attribute information of the first multicast packet and attribute information of the second multicast packet.
(63) The sending unit 720 is further configured to send the multicast data stream obtained by the processing unit 730 to the program terminal.
(64) Optionally, the attribute information is sequence information; and the processing unit 730 is specifically configured to obtain the multicast data stream based on sequence information of the first multicast packet and sequence information of the second multicast packet.
(65) Optionally, the processing unit 730 is further configured to determine a first receiving time of a first multicast packet with first sequence information and a second receiving time of a second multicast packet with the first sequence information.
(66) The processing unit 730 obtains the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time; or, when the first receiving time is the same as the second receiving time, the processing unit 730 obtains a third multicast packet with the first sequence information, where the third multicast packet with the first sequence information is obtained by combining the first multicast packet with the first sequence information and the second multicast packet with the first sequence information.
(67) Optionally, the processing unit 730 is configured to obtain the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time and the first receiving time or the second receiving time is less than a time threshold.
(68) Optionally, the processing unit 730 is configured to obtain an earlier received first multicast packet with second sequence information and an earlier received second multicast packet with the second sequence information when the first receiving time is different from the second receiving time and both the first receiving time and the second receiving time are greater than a time threshold.
(69) Optionally, the processing unit 730 is further configured to delete the later received second multicast packet with the first sequence information or the later received first multicast packet with the first sequence information.
(70) Functions of functional units of the access device may be implemented by performing the steps in the foregoing embodiments. Therefore, for the sake of brevity, a working process of the access device provided in this embodiment is not described herein again.
(71)
(72) Optionally, the access device may further include a memory 840.
(73) The processor 830 may be a central processing unit (CPU), or a combination of a CPU and a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD), or a combination thereof. The PLD may be a complex programmable logical device (CPLD), a field-programmable gate array (FPGA), generic array logic (GAL), or any combination thereof. The processor 830 is configured to control an entire network device and signal processing.
(74) The memory 840 may include a volatile memory, for example, a random access memory (RAM); or the memory 840 may include a nonvolatile memory, for example, a read-only memory (ROM), a flash memory, a hard disk, or a solid-state drive; or the memory 840 may include a combination of the foregoing types of memories. The memory 840 is configured to store various applications, operating systems, and data. The memory 840 may transmit the stored data to the processor 830.
(75) It should be noted that the memory 840 may be integrated into the processor 830 or may exist independently. The access device may be integrated into a terminal or may exist independently.
(76) The receiver 810 is configured to receive an on-demand request sent by a program terminal.
(77) The transmitter 820 is configured to separately send the on-demand request to a multicast source device through a first uplink port of the access device and a second uplink port of the access device, so that the multicast source device sends first multicast packet and second multicast packet based on the on-demand request.
(78) The receiver 810 is further configured to: receive the first multicast packet through the first uplink port of the access device, and receive the second multicast packet through the second uplink port of the access device.
(79) The processor 830 is further configured to obtain a multicast data stream based on attribute information of the first multicast packet and attribute information of the second multicast packet.
(80) The transmitter 820 is further configured to send the multicast data stream obtained by the processor 830 to the program terminal.
(81) Optionally, the attribute information is sequence information; and the processor 830 is configured to obtain the multicast data stream based on sequence information of the first multicast packet and sequence information of the second multicast packet.
(82) Optionally, the processor 830 is further configured to determine a first receiving time of a first multicast packet with first sequence information and a second receiving time of a second multicast packet with the first sequence information.
(83) The processor 830 obtains the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time; or, when the first receiving time is the same as the second receiving time, the processor 830 obtains a third multicast packet with the first sequence information, where the third multicast packet with the first sequence information is obtained by combining the first multicast packet with the first sequence information and the second multicast packet with the first sequence information.
(84) Optionally, the processor 830 is configured to obtain the earlier received first multicast packet with the first sequence information or the earlier received second multicast packet with the first sequence information when the first receiving time is different from the second receiving time and the first receiving time or the second receiving time is less than a time threshold.
(85) Optionally, the processor 830 is configured to obtain an earlier received first multicast packet with second sequence information and an earlier received second multicast packet with the second sequence information when the first receiving time is different from the second receiving time and both the first receiving time and the second receiving time are greater than a time threshold.
(86) Optionally, the processor 830 is further configured to delete the later received second multicast packet with the first sequence information or the later received first multicast packet with the first sequence information.
(87) For problem-resolving implementations and beneficial effects of the components of the access device in this embodiment, refer to the implementations and the beneficial effects of the foregoing method. Therefore, for the sake of brevity, details are not described herein again.
(88) A person skilled in the art may be further aware that, in combination with the examples described in the embodiments, units and algorithm steps may be implemented by electronic hardware, computer software, or a combination thereof. To clearly describe interchangeability between the hardware and the software, the foregoing has generally described compositions and steps of each example based on functions. Whether the functions are performed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of this application.
(89) A person of ordinary skill in the art may understand that all or some of the steps of the method in the foregoing embodiment may be implemented by a program instructing a processor. The program may be stored in a computer readable storage medium. The storage medium may be a non-transitory medium, such as a random access memory, a read-only memory, a flash memory, a hard disk, a solid-state drive, a magnetic tape, a floppy disk, an optical disc, or any combination thereof.
(90) The foregoing descriptions are merely example specific implementations of this application, but are not intended to limit the protection scope of this application. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in this application shall fall within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.