CN115150215A - Home multicast implementation method and device, computer storage medium and electronic equipment - Google Patents

Home multicast implementation method and device, computer storage medium and electronic equipment Download PDF

Info

Publication number
CN115150215A
CN115150215A CN202210751822.8A CN202210751822A CN115150215A CN 115150215 A CN115150215 A CN 115150215A CN 202210751822 A CN202210751822 A CN 202210751822A CN 115150215 A CN115150215 A CN 115150215A
Authority
CN
China
Prior art keywords
multicast
information table
source address
igmp
address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210751822.8A
Other languages
Chinese (zh)
Inventor
张雪
李华楠
徐洪磊
王巍
王爱俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202210751822.8A priority Critical patent/CN115150215A/en
Publication of CN115150215A publication Critical patent/CN115150215A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/64Addressing
    • H04N21/6405Multicasting

Landscapes

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

Abstract

The present disclosure relates to a method and an apparatus for implementing home multicast, a computer storage medium, and an electronic device, and relates to the technical field of network communication, wherein the method comprises: receiving a multicast request message sent by terminal equipment, and establishing a multicast information table according to the received multicast request message; sending a multicast application to an operator according to the multicast information table, and receiving a data message which is sent by the operator and corresponds to the multicast application; and sending the data message to corresponding terminal equipment through the multicast information table so as to realize family multicast. The method and the device realize that the terminal equipment directly accesses the network multicast service through the home gateway and provide different multicast services for different terminal equipment.

Description

Home multicast implementation method and device, computer storage medium and electronic equipment
Technical Field
The embodiment of the disclosure relates to the technical field of network communication, and in particular, to a method and an apparatus for implementing home multicast, a computer storage medium, and an electronic device.
Background
In recent years, enterprises have started to encourage home and office, and large-scale video conferences and live video activities are increasing, so that a new demand for realizing multicast services in a home network is provided.
Terminals in a home network are diversified, currently, user side equipment capable of performing multicast services is single, and most of the user side equipment is set top box equipment, so that a user cannot directly access network multicast services through a home gateway through terminals such as a computer or a mobile phone, and the home gateway cannot provide different multicast services for different terminal equipment.
Therefore, it is necessary to provide a new home multicast implementation method.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure aims to provide a home multicast implementation method, a home multicast implementation apparatus, a computer-readable storage medium, and an electronic device, so as to overcome, at least to a certain extent, the problems that a terminal device cannot directly access a network multicast service through a home gateway and cannot provide different multicast services for different terminal devices due to limitations and defects of related technologies.
According to an aspect of the present disclosure, a method for implementing home multicast is provided, which is applied to a home gateway, and includes:
receiving a multicast request message sent by terminal equipment, and establishing a multicast information table according to the received multicast request message;
sending a multicast application to an operator according to the multicast information table, and receiving a data message which is sent by the operator and corresponds to the multicast application;
and sending the data message to corresponding terminal equipment through the multicast information table so as to realize the family multicast.
In an exemplary embodiment of the present disclosure, receiving multicast request information sent by the terminal device includes:
and receiving an internet group management protocol/multicast interception discovery protocol (IGMP)/MLD multicast request message sent by the terminal equipment based on the attribute of the terminal equipment or receiving an IGMP multicast request message sent by the terminal equipment.
In an exemplary embodiment of the present disclosure, when the received multicast request message is an IGMP/MLD multicast request message, establishing a multicast information table according to the received multicast request message, including:
acquiring a multicast source address and a multicast group address included in the IGMP/MLD multicast request message;
acquiring the IP address of the terminal equipment, and generating a multicast request record according to the IP address, the multicast source address and the multicast group address which are included in the GMP/MLD multicast request message;
and establishing a multicast information table through the multicast request record.
In an exemplary embodiment of the present disclosure, sending a multicast application to an operator according to the multicast information table includes:
acquiring a multicast source address and a multicast group address in the IGMP/MLD multicast request information, and matching the multicast source address, the multicast group address and the multicast information table;
when determining that the multicast information table comprises a multicast source address and a multicast group address in the IGMP/MLD multicast request information, filtering the IGMP/MLD multicast request information;
and when the multicast source address and the multicast group address in the IGMP/MLD multicast request information are determined not to be included in the multicast information table, generating a multicast application through the multicast source address and the multicast group address, and sending the multicast application to the edge router of the operator.
In an exemplary embodiment of the present disclosure, when the received multicast request message is an IGMP multicast request message, sending a multicast application to an operator according to the multicast information, further including:
acquiring a multicast source address and a multicast group address in the IGMP multicast request information, and matching the multicast source address and the multicast group address with the multicast information table;
when the multicast information table is determined to include the multicast source address and the multicast group address in the IGMP multicast request information, deleting the multicast request record corresponding to the IGMP multicast request information of the equipment terminal in the multicast information table;
and when the multicast source address and the multicast group address in the IGMP multicast request information are determined not to be included in the multicast information table, generating a multicast application through the multicast source address and the multicast group address, and sending the multicast application to the edge router of the operator.
In an exemplary embodiment of the present disclosure, receiving a data packet corresponding to the multicast application sent by the operator includes:
and receiving a data message which is sent by the edge router of the operator in a unicast mode and corresponds to the multicast application.
In an exemplary embodiment of the present disclosure, sending the data packet to a corresponding terminal device through the multicast information table includes:
acquiring a source address of the data message, and matching the source address with the multicast information table;
and when the source address of the data message is consistent with the multicast source address in the multicast information table, sending the data message to corresponding terminal equipment.
In an exemplary embodiment of the present disclosure, when a source address of the data packet is consistent with a multicast source address in the multicast information table, sending the packet data to a corresponding terminal device includes:
when the multicast information table comprises a plurality of multicast source addresses consistent with the source address of the data message, copying the data message according to the quantity of the consistent multicast source data to obtain a plurality of data messages;
and respectively sending the data messages to corresponding terminal equipment.
According to an aspect of the present disclosure, an apparatus for implementing home multicast, applied to a home gateway, includes:
the information table establishing module is used for receiving the multicast request message sent by the terminal equipment and establishing a multicast information table according to the received multicast request message;
the multicast application sending module is used for sending a multicast application to an operator according to the multicast information table and receiving a data message which is sent by the operator and corresponds to the multicast application;
and the family multicast realization module is used for sending the data message to corresponding terminal equipment through the multicast information table so as to realize family multicast.
According to an aspect of the present disclosure, there is provided a computer storage medium, on which a computer program is stored, the computer program, when executed by a processor, implementing the home multicast implementation method according to any one of the above exemplary embodiments.
According to an aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the method for implementing home multicast according to any of the above exemplary embodiments by executing the executable instructions.
The method for realizing the family multicast provided by the embodiment of the present disclosure receives a multicast request message sent by a terminal device, and establishes a multicast information table according to the received multicast request message; sending a multicast application to an operator according to the multicast information table, and receiving a data message which is sent by the operator and corresponds to the multicast application; sending the data message to corresponding terminal equipment through the multicast information table so as to realize family multicast; on one hand, the home gateway proxies the multicast request message for different terminal devices, performs centralized management on the multicast request message through the multicast information table, and sends the multicast application to the operator according to the multicast information table, thereby avoiding sending repeated multicast application to the operator and reducing network pressure; on the other hand, after the home gateway sends the multicast application to the operator, the operator sends the corresponding data message to the home, and after the home gateway receives the data message sent by the operator, the home gateway sends the data message to the corresponding terminal device, so that the problem that the terminal device cannot directly access the network multicast service through the home gateway in the related art is solved, and the terminal device can directly access the network multicast service through the home gateway.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It should be apparent that the drawings in the following description are merely examples of the disclosure and that other drawings may be derived by those of ordinary skill in the art without inventive effort.
Fig. 1 schematically illustrates a schematic diagram of a related art home multicast implementation method according to an example embodiment of the present disclosure.
Fig. 2 schematically shows a flowchart of a home multicast implementation method according to an example embodiment of the present disclosure.
Fig. 3 schematically illustrates a block diagram of a home multicast implementation system according to an example embodiment of the present disclosure.
Fig. 4 is a flowchart schematically illustrating a method for building a multicast information table according to a received multicast request message when the received multicast request message is an IGMP/MLD multicast request message according to an exemplary embodiment of the present disclosure.
Fig. 5 is a flowchart schematically illustrating a method for sending a multicast application to an operator according to a multicast information table according to an example embodiment of the present disclosure.
Fig. 6 is a flowchart schematically illustrating a method for sending a multicast application to an operator according to multicast information when a received multicast request message is an IGMP multicast request message according to an exemplary embodiment of the present disclosure.
Fig. 7 is a flowchart schematically illustrating a method for sending a data packet to a corresponding terminal device through a multicast information table according to an example embodiment of the present disclosure.
Fig. 8 is a flowchart schematically illustrating a method for sending message data to a corresponding end device when a source address of a data message is consistent with a multicast source address in a multicast information table according to an exemplary embodiment of the present disclosure.
Fig. 9 schematically shows a block diagram of a home multicast implementing apparatus according to an example embodiment of the present disclosure.
Fig. 10 schematically illustrates an electronic device for implementing the above-described home multicast implementation method according to an example embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the disclosure. One skilled in the relevant art will recognize, however, that the subject matter of the present disclosure can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and the like. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present disclosure.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and a repetitive description thereof will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In the related art, a home user uses a network multicast implementation manner, as shown in fig. 1, a set top box device serves as a terminal device to send a message to a home gateway, the home gateway forwards the message to an operator router, after receiving the message, the operator sends multicast data to the home gateway, the home gateway forwards the multicast data to the set top box, and the set top box forwards the multicast data to the terminal device. The above implementation has the following disadvantages: firstly, a separate set-top box device is required to be used, and the terminal device cannot be directly accessed through WiFi (wireless network communication technology); secondly, it is impossible to provide different multicast data of different multicast services to different terminal devices.
Based on one or more of the above problems, the present exemplary embodiment first provides a method for implementing home multicast, where the method may be executed in a home gateway; of course, those skilled in the art may also operate the method of the present invention on other platforms as needed, and this is not particularly limited in this exemplary embodiment. Referring to fig. 2, the home multicast implementation method may include steps S210 to S230:
step S210, receiving a multicast request message sent by a terminal device, and establishing a multicast information table according to the received multicast request message;
step S220, sending a multicast application to an operator according to the multicast information table, and receiving a data message which is sent by the operator and corresponds to the multicast application;
and step S230, sending the data message to corresponding terminal equipment through the multicast information table so as to realize the home multicast.
The method for realizing the home multicast comprises the steps of receiving a multicast request message sent by terminal equipment, and establishing a multicast information table according to the received multicast request message; sending a multicast application to an operator according to the multicast information table, and receiving a data message which is sent by the operator and corresponds to the multicast application; sending the data message to corresponding terminal equipment through the multicast information table so as to realize home multicast; on one hand, the home gateway proxies the multicast request message for different terminal devices, performs centralized management on the multicast request message through the multicast information table, and sends the multicast application to the operator according to the multicast information table, thereby avoiding sending repeated multicast application to the operator and reducing network pressure; on the other hand, after the home gateway sends the multicast application to the operator, the operator sends the corresponding data message to the home, and after the home gateway receives the data message sent by the operator, the home gateway sends the data message to the corresponding terminal device, so that the problem that the terminal device in the related art cannot directly access the network multicast service through the home gateway is solved, and the terminal device can directly access the network multicast service through the home gateway is realized.
Hereinafter, each step involved in the home multicast implementation method according to the exemplary embodiment of the present disclosure is explained and explained in detail.
First, a home multicast implementation system related to the exemplary embodiment of the present disclosure is explained and explained. Referring to fig. 3, the home multicast implementation system may include a terminal device 310, a home gateway 320, and an operator network 330. The terminal device 310 may be a mobile phone, a computer, or a television set-top box, and may send a multicast request message to the home gateway according to its own capability; the data message which is forwarded by the home gateway and corresponds to the multicast request message can be received; a home gateway 320, which is connected to the terminal device 310 through a network, and configured to receive a multicast request message sent by the terminal device, perform unified management on the received multicast request message, generate a multicast information table, generate a multicast application according to a multicast source address and a multicast group address included in the multicast information table, and send the multicast application to an operator network 330; the data message sent by the operator network 330 may also be received, and the received data message is sent to the terminal device 310; the operator network 330 is connected to the home gateway 320, and includes multiple routing devices, which are configured to receive a multicast request sent by the home gateway and send a corresponding multicast data packet to the home gateway 320 according to the multicast request.
Hereinafter, steps S210 to S230 will be explained and explained in detail with reference to fig. 3.
In step S210, a multicast request message sent by the terminal device is received, and a multicast information table is established according to the received multicast request message.
The terminal device may be a desktop computer, a portable computer, a smart phone, a tablet computer, a television set-top box, and the like, and the terminal device is not particularly limited in this example embodiment. The home gateway is a device for realizing mutual communication between each device in a home or a small area and an external device, and is the most core component in a home network.
In this exemplary embodiment, the receiving multicast request information sent by the terminal device includes:
and receiving an internet group management protocol/multicast interception discovery protocol (IGMP)/MLD multicast request message sent by the terminal equipment based on the attribute of the terminal equipment or receiving an IGMP multicast request message sent by the terminal equipment.
Specifically, when the terminal device has a request for a Multicast service, the terminal device sends a Multicast request message to the home gateway device, and when the terminal device sends the Multicast request message, the terminal device may send an IGMP (Internet Group Management Protocol)/MLD (Multicast Listener discovery Protocol) Multicast request message or an IGMP Multicast request message to the home gateway device according to the request, where the IGMP/MLD Multicast request message is a request message for applying for a Multicast Group, and the IGMP Multicast request message is a request message for leaving the previously applied Multicast Group.
In this exemplary embodiment, referring to fig. 4, when the received multicast request message is an IGMP/MLD multicast request message, establishing a multicast information table according to the received multicast request message may include steps S410 to S430:
step S410, acquiring a multicast source address and a multicast group address included in the IGMP/MLD multicast request message;
step S420, obtaining the IP address of the terminal equipment, and generating a multicast request record according to the IP address, the multicast source address and the multicast group address included in the GMP/MLD multicast request message;
and step S430, establishing a multicast information table through the multicast request record.
Hereinafter, steps S410 to S430 will be further explained and explained. Specifically, when the message sent by the terminal device is an IGMP/MLD multicast request message, after receiving the IGMP/MLD multicast request message, the home gateway first obtains a multicast source address applied for use by the device terminal and a multicast group applied for joining by the terminal device, which are included in the multicast request message. Then, in order to maintain each multicast request record, a terminal device address needs to be acquired, and since the terminal address of the terminal device may change each time the terminal device accesses the home gateway, the record may be performed through the IP address of the terminal device, that is, the IP (Internet Protocol) address of the terminal device is acquired, and a multicast request record is generated according to the IP address of the terminal device, the multicast source address applied for use by the terminal device, and the multicast group address applied for joining by the terminal device; and finally, establishing a multicast information table through the multicast request record.
In this exemplary embodiment, the home gateway serves as a proxy to provide a proxy service of a multicast request message for downstream end devices, performs unified management on the received multicast request message, writes the multicast request message of an end device into a multicast information table, maintains a multicast request record for each end device based on an IP address, and does not perform multicast routing service of the multicast request message as a basis for forwarding multicast data. In addition, by the maintenance mode based on the IP address of the terminal device, the terminal device is not limited to the access of a physical LAN (Local Area Network) port, and can be accessed through WIFI, and the multicast application range based on an operator Network is expanded.
In step S220, a multicast application is sent to an operator according to the multicast information table, and a data packet sent by the operator and corresponding to the multicast application is received.
In this exemplary embodiment, after the home gateway establishes the multicast information table, the multicast application may be sent to the operator based on the multicast information table, and as shown in fig. 5, sending the multicast application to the operator according to the multicast information table may include steps S510 to S530:
step S510, acquiring a multicast source address and a multicast group address in the IGMP/MLD multicast request information, and matching the multicast source address and the multicast group address with the multicast information table;
step S520, when the multicast information table is determined to comprise the multicast source address and the multicast group address in the IGMP/MLD multicast request information, filtering the IGMP/MLD multicast request information;
step S530, when it is determined that the multicast information table does not include the multicast source address and the multicast group address in the IGMP/MLD multicast request information, generating a multicast application through the multicast source address and the multicast group address, and sending the multicast application to the edge router of the operator.
Hereinafter, steps S510 to S530 will be further explained and explained. Specifically, when a multicast application is sent to an operator, first, a multicast source address and a multicast group address applied by a terminal device in IGMP/MLD multicast request information are obtained, the multicast source address and the multicast group address are matched in a multicast information table, and when it is determined that the multicast source address and the multicast group address applied by the terminal device are included in the multicast application table, the IGMP/MLD multicast request information is filtered, that is, the multicast request is not sent to an edge router of the operator, thereby avoiding repeated sending of multicast requests to the edge router of the operator and reducing network pressure. When determining that the multicast information table does not include the multicast group address and the multicast source address applied by the terminal device included in the IGMP/MLD multicast request information, recording the IGMP/MLD multicast request information, sending the multicast source address and the multicast group address included in the IGMP/MLD multicast request information to an edge router of an operator, and applying for a data packet from the multicast source to the edge router of the operator.
For example, when the multicast information table includes multicast request information numbered 1-3, when receiving the multicast source address included in the new IGMP/MLD multicast request information is 102.102.102.102 and the multicast group address is 232.0.0.2, since the multicast source address is 102.102.102.102 and the multicast address is 232.0.0.2 in the multicast request information numbered 3 in the multicast information table, the new IGMP/MLD multicast request information may be filtered out, and the multicast application is not sent to the edge router of the operator, and the home gateway may directly forward the data packet of the multicast source sent by the edge router of the operator corresponding to the number 3 to the terminal device sending the new IGMP/MLD multicast request information. It should be added that the home gateway sends the multicast source address and the multicast group address numbered 1, 2, and 3 to the edge router of the operator.
In this exemplary embodiment, referring to fig. 6, when the received multicast request message is an IGMP multicast request message, sending a multicast application to an operator according to the multicast information, which may further include step S610 to step S630:
step S610, acquiring a multicast source address and a multicast group address in the IGMP multicast request information, and matching the multicast source address and the multicast group address with the multicast information table;
step S620, when the multicast information table is determined to comprise the multicast source address and the multicast group address in the IGMP multicast request information, deleting the multicast request record corresponding to the IGMP multicast request information of the equipment terminal in the multicast information table;
step S630, when it is determined that the multicast information table does not include the multicast source address and the multicast group address in the IGMP multicast request information, a multicast application is generated through the multicast source address and the multicast group address, and the multicast application is sent to the edge router of the operator.
Hereinafter, steps S610 to S630 will be further explained and explained. Specifically, when the multicast request information sent by the terminal device is IGMP multicast request information, and after the home gateway receives the IGMP multicast request information, first, a multicast source address and a multicast group address included in the IGMP multicast request information are obtained, and the multicast source address and the multicast group address included in the IGMP multicast request information are matched in a multicast information table, and when it is determined that the multicast source address and the multicast group address in the IGMP multicast request information are included in the multicast information table, the home gateway deletes a multicast request record corresponding to the IGMP multicast request information of the terminal device in the multicast information table, that is, deletes a multicast request record including an IP address of the terminal device sending the IGMP multicast request information, and a multicast source address and a multicast group address in the IGMP multicast request information in the multicast information table; when the multicast information table does not include the multicast source address and the multicast group address included in the IGMP multicast request information, the home gateway sends a multicast application to the edge router of the operator according to the multicast source address and the multicast group address applied by the terminal device. It should be noted that, when the multicast information table does not include the multicast source address and the multicast group address included in the IGMP multicast request message, the home gateway does not store the IGMP multicast request message in the multicast information table after generating the multicast application according to the multicast source address and the multicast group address included in the IGMP multicast request message.
After the home gateway sends the multicast application to the operator, the operator may send a corresponding data packet to the home gateway according to the multicast application of the home gateway, and in this example embodiment, receiving the data packet sent by the operator and corresponding to the multicast application includes:
and receiving a data message which is sent by the edge router of the operator in a unicast mode and corresponds to the multicast application.
Specifically, after the home gateway sends the multicast application to the edge router of the operator, the edge router of the operator sends the data packet corresponding to the multicast source address in the multicast application to the home gateway according to the received multicast application. The edge router of the operator adopts a unicast mode when sending the data message to the home gateway.
In step S230, the data packet is sent to the corresponding terminal device through the multicast information table, so as to implement home multicast.
In this exemplary embodiment, after the home gateway receives the data packet sent by the edge router of the operator, the home gateway needs to forward the received data packet to the interrupt device, and referring to fig. 7, sending the data packet to the corresponding terminal device through the multicast information table may include step S710 and step S720:
step S710, obtaining a source address of the data message, and matching the source address with the multicast information table;
and S720, when the source address of the data message is consistent with the multicast source address in the multicast information table, sending the data message to the corresponding terminal equipment.
Hereinafter, step S710 and step S720 will be further explained and explained. Specifically, first, after receiving a data packet sent by an edge router of an operator, a home gateway obtains a source address of the data packet according to the received data; and then, matching the source address of the data message in the multicast information table, and sending the data message to the terminal equipment corresponding to the multicast source address when a multicast source address in the multicast information table is the same as the multicast source address of the data message. The source address of the data message is the address of a multicast source which sends the data message to the home gateway in the operator network.
In this exemplary embodiment, referring to fig. 8, when the source address of the data packet is consistent with the multicast source address in the multicast information table, sending the packet data to the corresponding terminal device may include step S810, step S820:
step S810, when the multicast information table comprises a plurality of multicast source addresses consistent with the source address of the data message, copying the data message according to the quantity of multicast source data consistent with the source address of the data message to obtain a plurality of data messages;
and S820, respectively sending the data messages to corresponding terminal equipment.
Hereinafter, the steps S810 and S820 will be further explained and explained. Specifically, first, when the home gateway matches the multicast information table by using the source address of the data packet and finds that a plurality of multicast source addresses in the multicast information table are the same as the source address of the data packet, the number of multicast source addresses included in the multicast information table and identical to the source address of the data packet is determined, the home gateway copies the received data messages according to the quantity, obtains a plurality of data messages after the copying is finished, sends each data message to the corresponding terminal equipment in a unicast sending mode,
the home multicast implementation method provided by the disclosed exemplary embodiment has at least the following advantages: on one hand, the home gateway proxies the multicast request message for different terminal devices, performs centralized management on the multicast request message through the multicast information table, and sends the multicast application to the operator according to the multicast information table, thereby avoiding sending repeated multicast application to the operator and reducing network pressure; on the other hand, after the home gateway sends the multicast application to the operator, the operator sends a corresponding data message to the home, and after the home gateway receives the data message sent by the operator, the home gateway sends the data message to a corresponding terminal device, so that the problem that the terminal device cannot directly access the network multicast service through the home gateway in the related art is solved, and the terminal device can directly access the network multicast service through the home gateway is realized; on the other hand, the home gateway maintains the multicast information table based on the IP address of the terminal device, so that the terminal device is not limited to access through a physical LAN port, and can also access through WIFI, thereby expanding the range of multicast application based on an application provider network.
An exemplary embodiment of the present disclosure further provides a device for implementing home multicast, which is shown in fig. 9 and may include: an information table establishing module 910, a multicast application sending module 920, and a home multicast implementing module 930. Wherein:
an information table establishing module 910, configured to receive a multicast request message sent by a terminal device, and establish a multicast information table according to the received multicast request message;
a multicast application sending module 920, configured to send a multicast application to an operator according to the multicast information table, and receive a data packet sent by the operator and corresponding to the multicast application;
a home multicast implementation module 930, configured to send the data packet to a corresponding terminal device through the multicast information table, so as to implement home multicast.
The specific details of each module in the above home multicast implementation apparatus have been described in detail in the corresponding home multicast implementation method, and therefore are not described herein again.
In an exemplary embodiment of the present disclosure, receiving multicast request information sent by the terminal device includes:
and receiving an internet group management protocol/multicast interception discovery protocol (IGMP)/MLD multicast request message sent by the terminal equipment based on the attribute of the terminal equipment or receiving an IGMP multicast request message sent by the terminal equipment.
In an exemplary embodiment of the present disclosure, when the received multicast request message is an IGMP/MLD multicast request message, establishing a multicast information table according to the received multicast request message, including:
acquiring a multicast source address and a multicast group address included in the IGMP/MLD multicast request message;
acquiring the IP address of the terminal equipment, and generating a multicast request record according to the IP address, the multicast source address and the multicast group address which are included in the GMP/MLD multicast request message;
and establishing a multicast information table through the multicast request record.
In an exemplary embodiment of the present disclosure, sending a multicast application to an operator according to the multicast information table includes:
acquiring a multicast source address and a multicast group address in the IGMP/MLD multicast request information, and matching the multicast source address and the multicast group address with the multicast information table;
when the multicast information table is determined to comprise the multicast source address and the multicast group address in the IGMP/MLD multicast request information, filtering the IGMP/MLD multicast request information;
and when the multicast source address and the multicast group address in the IGMP/MLD multicast request information are determined not to be included in the multicast information table, generating a multicast application through the multicast source address and the multicast group address, and sending the multicast application to the edge router of the operator.
In an exemplary embodiment of the present disclosure, when the received multicast request message is an IGMP multicast request message, sending a multicast application to an operator according to the multicast information, further including:
acquiring a multicast source address and a multicast group address in the IGMP multicast request information, and matching the multicast source address and the multicast group address with the multicast information table;
when the multicast information table is determined to include the multicast source address and the multicast group address in the IGMP multicast request information, deleting the multicast request record corresponding to the IGMP multicast request information of the equipment terminal in the multicast information table;
and when the multicast source address and the multicast group address in the IGMP multicast request information are determined not to be included in the multicast information table, generating a multicast application through the multicast source address and the multicast group address, and sending the multicast application to the edge router of the operator.
In an exemplary embodiment of the present disclosure, receiving a data packet corresponding to the multicast application sent by the operator includes:
and receiving a data message which is sent by the edge router of the operator in a unicast mode and corresponds to the multicast application.
In an exemplary embodiment of the present disclosure, sending the data packet to a corresponding terminal device through the multicast information table includes:
acquiring a source address of the data message, and matching the source address with the multicast information table;
and when the source address of the data message is consistent with the multicast source address in the multicast information table, sending the data message to the corresponding terminal equipment.
In an exemplary embodiment of the present disclosure, when a source address of the data packet is consistent with a multicast source address in the multicast information table, sending the packet data to a corresponding terminal device includes:
when the multicast information table comprises a plurality of multicast source addresses consistent with the source address of the data message, copying the data message according to the quantity of the consistent multicast source data to obtain a plurality of data messages;
and respectively sending the plurality of data messages to corresponding terminal equipment.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Moreover, although the steps of the methods of the present disclosure are depicted in the drawings in a particular order, this does not require or imply that the steps must be performed in this particular order, or that all of the depicted steps must be performed, to achieve desirable results. Additionally or alternatively, certain steps may be omitted, multiple steps combined into one step execution, and/or one step broken into multiple step executions, etc.
In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 1000 according to this embodiment of the disclosure is described below with reference to fig. 10. The electronic device 1000 shown in fig. 10 is only an example and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 10, the electronic device 1000 is embodied in the form of a general purpose computing device. The components of the electronic device 1000 may include, but are not limited to: the at least one processing unit 1010, the at least one memory unit 1020, a bus 1030 connecting different system components (including the memory unit 1020 and the processing unit 1010), and a display unit 1040.
Wherein the storage unit stores program code that is executable by the processing unit 1010 to cause the processing unit 1010 to perform steps according to various exemplary embodiments of the present disclosure described in the above section "exemplary methods" of the present specification. For example, the processing unit 1010 may perform step S210 as shown in fig. 2: receiving a multicast request message sent by terminal equipment, and establishing a multicast information table according to the received multicast request message; s220: sending a multicast application to an operator according to the multicast information table, and receiving a data message which is sent by the operator and corresponds to the multicast application; s230: and sending the data message to corresponding terminal equipment through the multicast information table so as to realize the family multicast.
The memory unit 1020 may include readable media in the form of volatile memory units, such as a random access memory unit (RAM) 10201 and/or a cache memory unit 10202, and may further include a read only memory unit (ROM) 10203.
The memory unit 1020 may also include a program/utility 10204 having a set (at least one) of program modules 10205, such program modules 10205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 1030 may be any one or more of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, and a local bus using any of a variety of bus architectures.
The electronic device 1000 may also communicate with one or more external devices 1100 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 1000, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 1000 to communicate with one or more other computing devices. Such communication may occur through input/output (I/O) interfaces 1050. Also, the electronic device 1000 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the internet) via the network adapter 1060. As shown, the network adapter 1060 communicates with the other modules of the electronic device 1000 over the bus 1030. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 1000, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, and may also be implemented by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
According to the program product for implementing the above method of the embodiments of the present disclosure, it may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily appreciated that the processes illustrated in the above figures are not intended to indicate or limit the temporal order of the processes. In addition, it is also readily understood that these processes may be performed, for example, synchronously or asynchronously in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (11)

1. A home multicast implementation method is applied to a home gateway, and comprises the following steps:
receiving a multicast request message sent by terminal equipment, and establishing a multicast information table according to the received multicast request message;
sending a multicast application to an operator according to the multicast information table, and receiving a data message which is sent by the operator and corresponds to the multicast application;
and sending the data message to corresponding terminal equipment through the multicast information table so as to realize the family multicast.
2. The method according to claim 1, wherein receiving the multicast request information sent by the terminal device includes:
and receiving an internet group management protocol/multicast interception discovery protocol (IGMP)/MLD multicast request message sent by the terminal equipment based on the attribute of the terminal equipment or receiving an IGMP multicast request message sent by the terminal equipment.
3. The method according to claim 2, wherein when the received multicast request message is an IGMP/MLD multicast request message, establishing a multicast information table according to the received multicast request message, including:
acquiring a multicast source address and a multicast group address included in the IGMP/MLD multicast request message;
acquiring the IP address of the terminal equipment, and generating a multicast request record according to the IP address, the multicast source address and the multicast group address which are included in the GMP/MLD multicast request message;
and establishing a multicast information table through the multicast request record.
4. The method according to claim 3, wherein sending a multicast application to an operator according to the multicast information table comprises:
acquiring a multicast source address and a multicast group address in the IGMP/MLD multicast request information, and matching the multicast source address and the multicast group address with the multicast information table;
when determining that the multicast information table comprises a multicast source address and a multicast group address in the IGMP/MLD multicast request information, filtering the IGMP/MLD multicast request information;
and when the multicast source address and the multicast group address in the IGMP/MLD multicast request information are determined not to be included in the multicast information table, generating a multicast application through the multicast source address and the multicast group address, and sending the multicast application to the edge router of the operator.
5. The method according to claim 3, wherein when the received multicast request message is an IGMP multicast request message, sending a multicast application to an operator according to the multicast information, further comprising:
acquiring a multicast source address and a multicast group address in the IGMP multicast request information, and matching the multicast source address and the multicast group address with the multicast information table;
when the multicast information table is determined to include the multicast source address and the multicast group address in the IGMP multicast request information, deleting the multicast request record corresponding to the IGMP multicast request information of the equipment terminal in the multicast information table;
and when the multicast source address and the multicast group address in the IGMP multicast request information are determined not to be included in the multicast information table, generating a multicast application through the multicast source address and the multicast group address, and sending the multicast application to the edge router of the operator.
6. The method according to claim 1, wherein receiving the data packet corresponding to the multicast application sent by the operator comprises:
and receiving a data message which is sent by the edge router of the operator in a unicast mode and corresponds to the multicast application.
7. The method according to claim 6, wherein the sending the data packet to the corresponding terminal device via the multicast information table comprises:
acquiring a source address of the data message, and matching the source address with the multicast information table;
and when the source address of the data message is consistent with the multicast source address in the multicast information table, sending the data message to the corresponding terminal equipment.
8. The method according to claim 7, wherein when the source address of the data packet is consistent with the multicast source address in the multicast information table, the method sends the packet data to a corresponding terminal device, and includes:
when the multicast information table comprises a plurality of multicast source addresses consistent with the source address of the data message, copying the data message according to the quantity of the consistent multicast source data to obtain a plurality of data messages;
and respectively sending the data messages to corresponding terminal equipment.
9. A home multicast implementation apparatus, applied to a home gateway, includes:
the information table establishing module is used for receiving the multicast request message sent by the terminal equipment and establishing a multicast information table according to the received multicast request message;
the multicast application sending module is used for sending a multicast application to an operator according to the multicast information table and receiving a data message which is sent by the operator and corresponds to the multicast application;
and the family multicast realization module is used for sending the data message to corresponding terminal equipment through the multicast information table so as to realize family multicast.
10. A computer storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the home multicast implementation method of any one of claims 1 to 8.
11. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the home multicast implementation method of any one of claims 1-8 via execution of the executable instructions.
CN202210751822.8A 2022-06-28 2022-06-28 Home multicast implementation method and device, computer storage medium and electronic equipment Pending CN115150215A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210751822.8A CN115150215A (en) 2022-06-28 2022-06-28 Home multicast implementation method and device, computer storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210751822.8A CN115150215A (en) 2022-06-28 2022-06-28 Home multicast implementation method and device, computer storage medium and electronic equipment

Publications (1)

Publication Number Publication Date
CN115150215A true CN115150215A (en) 2022-10-04

Family

ID=83410590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210751822.8A Pending CN115150215A (en) 2022-06-28 2022-06-28 Home multicast implementation method and device, computer storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN115150215A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060056427A1 (en) * 2004-08-31 2006-03-16 Matsushita Electric Industrial Co., Ltd. Multicast communication method and gateway apparatus
JP2009017345A (en) * 2007-07-06 2009-01-22 Nec Access Technica Ltd Multicast distribution system, home gateway and multicast management method using home gateway
CN102257764A (en) * 2008-12-16 2011-11-23 阿尔卡特朗讯公司 Multicast quality of service module and method
WO2011143880A1 (en) * 2010-05-20 2011-11-24 中兴通讯股份有限公司 Method and system for transmitting wireless multicast data
CN112995750A (en) * 2019-12-17 2021-06-18 天翼智慧家庭科技有限公司 Method and system for realizing IPTV multicast service under home router scene

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060056427A1 (en) * 2004-08-31 2006-03-16 Matsushita Electric Industrial Co., Ltd. Multicast communication method and gateway apparatus
JP2009017345A (en) * 2007-07-06 2009-01-22 Nec Access Technica Ltd Multicast distribution system, home gateway and multicast management method using home gateway
CN102257764A (en) * 2008-12-16 2011-11-23 阿尔卡特朗讯公司 Multicast quality of service module and method
WO2011143880A1 (en) * 2010-05-20 2011-11-24 中兴通讯股份有限公司 Method and system for transmitting wireless multicast data
CN112995750A (en) * 2019-12-17 2021-06-18 天翼智慧家庭科技有限公司 Method and system for realizing IPTV multicast service under home router scene

Similar Documents

Publication Publication Date Title
CN108961033B (en) Multi-service system interaction method and device, storage medium and electronic terminal
CN112073758B (en) Cloud desktop screen projection method and device, computer equipment, computer readable storage medium and cloud desktop screen projection interaction system
US10034057B2 (en) Message processing method, device, gateway, STB and IPTV
CN113625589B (en) Equipment control method and device, electronic equipment and storage medium
CN109150677B (en) Cross-domain access processing method and device and electronic equipment
CN109586929B (en) Conference content transmission method and device, electronic equipment and storage medium
US11758087B2 (en) Multimedia conference data processing method and apparatus, and electronic device
CN102474425A (en) Method and device for a light host management protocol on multicast capable router
US20220366066A1 (en) Display method, display device, and electronic device
CN109474646B (en) Communication connection method, device, system and storage medium
EP2974159B1 (en) Method, device and system for voice communication
CN109151033B (en) Communication method and device based on distributed system, electronic equipment and storage medium
CN112887420B (en) Message pushing method and device, computer readable storage medium and electronic equipment
CN104391576A (en) Remote input method and device based on wireless Ethernet
CN113497764B (en) Service routing method, system, computer storage medium and electronic device
CN115150215A (en) Home multicast implementation method and device, computer storage medium and electronic equipment
WO2017113302A1 (en) Media service proxy method, device and system thereof
CN114125732B (en) Message processing method and device, storage medium and electronic equipment
CN113765939B (en) Calling method, device, equipment and storage medium
CN115883572A (en) Peripheral sharing method and device
WO2015123986A1 (en) Data recording method and system, and access server
WO2024032599A1 (en) Session binding method and function, and storage medium and electronic device
CN110764932A (en) Data processing method, system, medium and computing device
CN113572809B (en) Single request source multi-target source data communication method, computer equipment and storage medium
CN115086425B (en) Message transmission method, device, program product, medium and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination