CN114285820B - Multicast method, system and electronic equipment based on MoCA technology - Google Patents

Multicast method, system and electronic equipment based on MoCA technology Download PDF

Info

Publication number
CN114285820B
CN114285820B CN202111596100.1A CN202111596100A CN114285820B CN 114285820 B CN114285820 B CN 114285820B CN 202111596100 A CN202111596100 A CN 202111596100A CN 114285820 B CN114285820 B CN 114285820B
Authority
CN
China
Prior art keywords
multicast
multicast service
terminal equipment
target
message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111596100.1A
Other languages
Chinese (zh)
Other versions
CN114285820A (en
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.)
Luster Tianbo Optoelectronic Technology Co ltd
Original Assignee
Luster Tianbo Optoelectronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Luster Tianbo Optoelectronic Technology Co ltd filed Critical Luster Tianbo Optoelectronic Technology Co ltd
Priority to CN202111596100.1A priority Critical patent/CN114285820B/en
Publication of CN114285820A publication Critical patent/CN114285820A/en
Application granted granted Critical
Publication of CN114285820B publication Critical patent/CN114285820B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application provides a multicast method, a multicast system and electronic equipment based on MoCA technology. The method comprises the following steps: receiving a multicast message; judging whether the multicast message is a request message or not, and if the multicast message is the request message, judging whether the target multicast service is in a multicast service record list or not. If the target multicast service is in the multicast service record list, judging whether the terminal equipment has a binding relation with the target multicast service. If the binding relation exists, the device record time of the terminal device is updated as the current time. If the binding relation does not exist, the binding relation is established between the terminal equipment and the target multicast service, and the current time is recorded as the equipment recording time. The multicast method based on the MoCA technology can automatically identify the type of the received multicast message so as to realize the management and configuration of the multicast group of the terminal equipment, and improves the efficiency of the MoCA equipment for carrying out multicast service and the use experience of users.

Description

Multicast method, system and electronic equipment based on MoCA technology
Technical Field
The present disclosure relates to the field of network transmission technologies, and in particular, to a multicast method, a system, and an electronic device based on MoCA technology.
Background
With the gradual contraction of the traditional broadcast video service, the continuous development of the triple play service has the advantage that the application requirement of the multicast technology in the existing network transmission equipment is more and more obvious. The coaxial transmission equipment based on the MoCA technology occupies a certain position in solving the old network transformation, brings high-bandwidth and low-delay network and video transmission service for the traditional network transformation user, and enables the traditional network transformation user to enjoy high-definition and 4K broadcast television service.
Currently, when a device based on the MoCA technology transmits a multicast data message, a user is required to manually configure the MoCA device. Specifically, when a user subscribes to a certain multicast service by controlling a user client (for example, an IPTV client) through a remote controller, a multicast configuration such as adding a multicast group or deleting a multicast group needs to be manually performed on the MoCA device, and then the MoCA device can realize multicast data packet transmission. The MoCA equipment cannot automatically perform multicast configuration to complete terminal multicast service subscription; the service message and the query message issued by the multicast server of the operator (such as telecom, mobile and broadcast television) cannot be accurately forwarded to the designated terminal. If the MoCA device does not perform correct multicast configuration, the MoCA device cannot process the multicast message after receiving the multicast message, and the MoCA device performs packet loss processing. The efficiency of multicast service of the device based on the MoCA technology is low, and the use experience of the user is reduced.
Disclosure of Invention
The application provides a multicast method, a multicast system and electronic equipment based on MoCA technology. The method solves the problems that the existing MoCA equipment cannot automatically perform multicast configuration, so that the efficiency of the MoCA equipment for performing multicast service is low, and the use experience of users is reduced.
In a first aspect, the present application provides a multicast method based on MoCA technology, applied to a MoCA management end device, where the method includes:
and receiving the multicast message.
Judging whether the multicast message is a request message or not, wherein the request message is sent by a terminal device, and the request message comprises: the system comprises target multicast service data and terminal equipment data, wherein the target multicast service data is used for identifying target multicast service, and the terminal equipment data is used for identifying terminal equipment.
If the multicast message is a request message, judging whether the target multicast service is in a multicast service record list according to the target multicast service data, wherein the multicast service record list is used for recording the multicast service of the MoCA management terminal device.
And if the target multicast service is in the multicast service record list, judging whether the terminal equipment has a binding relation with the target multicast service according to the terminal equipment data.
If the binding relation exists between the terminal equipment and the target multicast service, the equipment recording time of the terminal equipment is updated to be the current time.
If the binding relation between the terminal equipment and the target multicast service does not exist, the binding relation between the terminal equipment and the target multicast service is established, and the current time is recorded as the equipment recording time.
With reference to the first aspect, in one possible implementation manner, the method further includes:
if the target multicast service is not in the multicast service record list, adding the target multicast service in the multicast service record list, establishing a binding relation between the terminal equipment and the target multicast service, and recording the current time as the equipment recording time.
With reference to the first aspect, in one possible implementation manner, the method for determining whether the target multicast service is in the multicast service record list according to the target multicast service data includes:
and acquiring a target multicast service IP address and the multicast service record list, wherein the multicast service record list comprises a multicast service record IP address list.
Traversing the multicast service record IP address list, and judging whether the multicast service record IP address identical to the target multicast service IP address exists.
And if the multicast service record IP address which is the same as the IP address of the target multicast service exists, the target multicast service is in the multicast service record list.
With reference to the first aspect, in one possible implementation manner, the method further includes:
and if the multicast message is not the request message, judging whether the multicast message is a general multicast group query message.
And if the multicast message is a general multicast group query message, the general multicast group query message is sent to all terminal devices connected with the MoCA management terminal device.
With reference to the first aspect, in one possible implementation manner, the method further includes:
if the multicast message is not the general multicast group query message, judging whether the multicast message is a specific multicast group query message.
And if the multicast message is a specific multicast group query message, acquiring the specific terminal equipment bound with the specific multicast group.
And sending the specific multicast group query message to the specific terminal equipment.
With reference to the first aspect, in one possible implementation manner, the method further includes:
and acquiring the equipment recording time of the terminal equipment.
And judging whether the equipment recording time exceeds a preset time threshold.
And if the equipment recording time exceeds the time threshold, deleting the binding relation between the terminal equipment and the target multicast service.
With reference to the first aspect, in one possible implementation manner, the method further includes:
transmitting multicast group configuration data to the terminal equipment, wherein the multicast group configuration data comprises: and the target multicast service IP address, the address of the terminal equipment and the equipment number of the terminal equipment.
In a second aspect, the present application provides a multicast system based on MoCA technology, including:
and the receiving module is used for receiving the multicast message.
The first judging module is configured to judge whether the multicast message is a request message, where the request message is sent by a terminal device, and the request message includes: target multicast service data and terminal equipment data, wherein the target multicast service data is used for identifying target multicast service, and the terminal equipment data is used for identifying terminal equipment.
And the second judging module is used for judging whether the target multicast service is in a multicast service record list according to the target multicast service data if the multicast message is a request message, wherein the multicast service record list is used for recording the multicast service of the MoCA management end device.
And the third judging module is used for judging whether the terminal equipment has a binding relation with the target multicast service according to the terminal equipment data if the target multicast service is in the multicast service record list.
The processing module is used for updating the equipment record time of the terminal equipment to be the current time if the binding relationship exists between the terminal equipment and the target multicast service; if the binding relation between the terminal equipment and the target multicast service does not exist, the binding relation between the terminal equipment and the target multicast service is established, and the current time is recorded as the equipment recording time.
With reference to the second aspect, in one possible implementation manner, the processing module is further configured to: if the target multicast service is not in the multicast service record list, adding the target multicast service in the multicast service record list, establishing a binding relation between the terminal equipment and the target multicast service, and recording the current time as the equipment recording time.
With reference to the second aspect, in one possible implementation manner, the system further includes:
and the fourth judging module is used for judging whether the multicast message is a general multicast group query message or not if the multicast message is not the request message.
And the first sending module is used for sending the general multicast group query message to all terminal equipment connected with the MoCA management end equipment if the multicast message is the general multicast group query message.
With reference to the second aspect, in one possible implementation manner, the system further includes:
and a fifth judging module, configured to judge whether the multicast packet is a specific multicast group query packet if the multicast packet is not a general multicast group query packet.
And the first acquisition module is used for acquiring the specific terminal equipment bound with the specific multicast group if the multicast message is the specific multicast group query message.
And the second sending module is used for sending the specific multicast group query message to the specific terminal equipment.
With reference to the second aspect, in one possible implementation manner, the system further includes:
and the second acquisition module is used for acquiring the equipment recording time of the terminal equipment.
And a sixth judging module, configured to judge whether the device recording time exceeds a preset time threshold.
And the clearing module is used for deleting the binding relation between the terminal equipment and the target multicast service if the equipment recording time exceeds the time threshold.
With reference to the second aspect, in one possible implementation manner, the system further includes:
a configuration module, configured to send multicast group configuration data to the terminal device, where the multicast group configuration data includes: and the target multicast service IP address, the address of the terminal equipment and the equipment number of the terminal equipment.
In a third aspect, the present application provides an electronic device, comprising: a memory and a processor; wherein the memory includes program instructions that, when executed by the processor, cause the electronic device to perform the method of the first aspect and its various implementations.
According to the technical scheme, the application provides a multicast method, a multicast system and electronic equipment based on the MoCA technology. The method comprises the following steps: and receiving the multicast message. Judging whether the multicast message is a request message or not, wherein the request message is sent by a terminal device, and the request message comprises: target multicast service data and terminal equipment data, wherein the target multicast service data is used for identifying target multicast service, and the terminal equipment data is used for identifying terminal equipment. If the multicast message is a request message, judging whether the target multicast service is in a multicast service record list according to the target multicast service data, wherein the multicast service record list is used for recording the multicast service of the MoCA management terminal device. And if the target multicast service is in the multicast service record list, judging whether the terminal equipment has a binding relation with the target multicast service according to the terminal equipment data. If the binding relation exists between the terminal equipment and the target multicast service, the equipment recording time of the terminal equipment is updated to be the current time. If the binding relation between the terminal equipment and the target multicast service does not exist, the binding relation between the terminal equipment and the target multicast service is established, and the current time is recorded as the equipment recording time. The multicast method based on the MoCA technology can automatically identify the type of the received multicast message so as to realize the management and configuration of the multicast group of the terminal equipment, and improves the efficiency of the MoCA equipment for carrying out multicast service and the use experience of users.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the embodiments will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic configuration diagram of a MoCA device provided in an embodiment of the present application;
fig. 2 is a flowchart of a multicast method based on MoCA technology according to an embodiment of the present application;
fig. 3 is a flowchart of a method for determining whether a target multicast service is in a multicast service record list according to an embodiment of the present application;
fig. 4 is a flowchart of a method for judging timeout connection of a terminal device according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a multicast system based on MoCA technology according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The embodiments described in the examples below do not represent all embodiments consistent with the present application. Merely as examples of systems and methods consistent with some aspects of the present application as detailed in the claims.
With the gradual contraction of the traditional broadcast video service, the continuous development of the triple play service has the advantage that the application requirement of the multicast technology in the existing network transmission equipment is more and more obvious. MoCA (Multimedia over Coax Alliance ) technology is a technology that provides multimedia video information delivery over coax. The MoCA technology uses Entropic technology (c-link) as the basis of the MoCA 1.0 specification. The coaxial transmission equipment based on the MoCA technology occupies a certain position in solving the old network transformation, brings high-bandwidth and low-delay network and video transmission service for the traditional network transformation user, and enables the traditional network transformation user to enjoy high-definition and 4K broadcast television service.
Currently, when a device based on the MoCA technology transmits a multicast data message, a user is required to manually configure the MoCA device. Referring to fig. 1, fig. 1 is a schematic configuration diagram of a MoCA device according to an embodiment of the present application. As shown in fig. 1, one MoCA manager end device may be connected to a plurality of MoCA end devices, which are connected to a user client (e.g., IPTV client). When a user controls an IPTV client to subscribe to a certain multicast service through a remote controller, multicast configuration such as adding a multicast group or deleting the multicast group is needed to be manually carried out on the MoCA equipment, and then the MoCA equipment can realize multicast data message transmission. The MoCA equipment cannot automatically perform multicast configuration to complete terminal multicast service subscription; the service message and the query message issued by the multicast server of the operator (such as telecom, mobile and broadcast television) cannot be accurately forwarded to the designated terminal. If the MoCA device does not perform correct multicast configuration, the MoCA device cannot process the multicast message after receiving the multicast message, and the MoCA device performs packet loss processing. Therefore, the efficiency of multicast service of the device based on the MoCA technology is low, and the use experience of the user is reduced.
The application provides a multicast method, a multicast system and electronic equipment based on MoCA technology. The method solves the problems that the existing MoCA equipment cannot automatically perform multicast configuration, so that the efficiency of the MoCA equipment for performing multicast service is low, and the use experience of users is reduced.
In a first aspect, the present application provides a multicast method based on MoCA technology, which is applied to a MoCA management end device, refer to fig. 2, and fig. 2 is a flowchart of a multicast method based on MoCA technology provided in an embodiment of the present application. As shown in fig. 2, the method includes the following steps S101-S112:
s101: and receiving the multicast message.
In this embodiment, the multicast message that the MoCA management end device may receive includes: request message, general multicast group query message and specific multicast group query message. The request message is sent by the terminal device, for example, may be a terminal device supporting MoCA technology, where the request message is used for the terminal device to request to subscribe to a multicast service of the MoCA management end device. The general multicast group query message and the specific multicast group query message can be forwarded to the MoCA management end device by other devices, and the general multicast group query message and the specific multicast group query message are used for querying whether terminal devices in a multicast group continue to subscribe the multicast service.
S102: judging whether the multicast message is a request message or not, wherein the request message comprises: the system comprises target multicast service data and terminal equipment data, wherein the target multicast service data is used for identifying target multicast service, and the terminal equipment data is used for identifying terminal equipment.
In this embodiment, the request message sent by the terminal device includes: target multicast service data and terminal equipment data. The target multicast service data is used to identify a target multicast service, typically an IP address of the target multicast service. The terminal device data is used to identify the MAC (Media Access Control Address ) address of the terminal device, typically the terminal device. The method and the device do not limit the target multicast service data and the terminal device data specifically, and can realize the purpose of identifying the target multicast service and the terminal device.
S103: if the multicast message is a request message, judging whether the target multicast service is in a multicast service record list according to the target multicast service data, wherein the multicast service record list is used for recording the multicast service of the MoCA management terminal device.
In this embodiment, there may be multiple multicast services in the MoCA management end device, and the multicast service record list records all the multicast services of the MoCA management end device. For example, the multicast service record list includes: all the IP addresses of the multicast service to generate a list of IP addresses of the multicast service record. The multicast service record list is used for judging whether the target multicast service in the request message sent by the terminal equipment exists in the MoCA management end equipment or not.
S104: and if the target multicast service is in the multicast service record list, judging whether the terminal equipment has a binding relation with the target multicast service according to the terminal equipment data.
In this embodiment, if the target multicast service is in the multicast service record list, it is indicated that the target multicast service to which the terminal device requests subscription already exists in the MoCA management end device, and the target multicast service does not need to be established in the MoCA management end device.
Taking the terminal equipment data as a terminal equipment MAC address as an example, a method for judging whether the terminal equipment has a binding relation with the target multicast service is exemplified: firstly, acquiring a terminal equipment MAC address in a request message and a list of equipment MAC addresses bound with the target multicast service. And then traversing the equipment MAC address list to judge whether the same MAC address as the terminal equipment MAC address exists. And if the MAC address which is the same as the MAC address of the terminal equipment exists, the binding relationship between the terminal equipment and the target multicast service is indicated.
S105: if the binding relation exists between the terminal equipment and the target multicast service, the equipment recording time of the terminal equipment is updated to be the current time.
In this embodiment, if it is determined that the binding relationship exists between the terminal device and the target multicast service, it is indicated that the terminal device in the MoCA management end device has subscribed to the target multicast service. Since the device recording time of the terminal device has been recorded at the last connection, it is necessary to update the device recording time to the current time. And the equipment recording time is used for judging whether the terminal equipment is connected with overtime.
S106: if the binding relation between the terminal equipment and the target multicast service does not exist, the binding relation between the terminal equipment and the target multicast service is established, and the current time is recorded as the equipment recording time.
In this embodiment, if the terminal device does not have a binding relationship with the target multicast service, it is indicated that the terminal device has not subscribed to the target multicast service before. Therefore, a binding relationship needs to be established between the terminal device and the target multicast service, so as to ensure that the terminal device can receive the target multicast service. And recording the current time as the equipment recording time, so as to judge whether the terminal equipment is connected with the overtime.
In one possible implementation manner, a situation may occur that there is no target multicast service to be customized by the terminal device in the MoCA management end device, and the method further includes:
s107: if the target multicast service is not in the multicast service record list, adding the target multicast service in the multicast service record list, establishing a binding relation between the terminal equipment and the target multicast service, and recording the current time as the equipment recording time.
In this embodiment, if the target multicast service is not in the multicast service record list, it indicates that the target multicast service does not exist in the MoCA management end device. Therefore, the target multicast service needs to be added in the MoCA management end device, the binding relationship between the terminal device and the target multicast service is established, and the current time is recorded as the device recording time.
In one possible implementation manner, referring to fig. 3, fig. 3 is a flowchart of a method for determining whether a target multicast service is in a multicast service record list according to an embodiment of the present application. As shown in fig. 3, taking the example that the target multicast service data includes the target multicast service IP address, in step S107, the method for determining whether the target multicast service is in the multicast service record list according to the target multicast service data includes:
s201: and acquiring a target multicast service IP address and the multicast service record list, wherein the multicast service record list comprises a multicast service record IP address list.
S202: traversing the multicast service record IP address list, and judging whether the multicast service record IP address identical to the target multicast service IP address exists.
S203: and if the multicast service record IP address which is the same as the IP address of the target multicast service exists, the target multicast service is in the multicast service record list.
In this embodiment, whether the target multicast service is in the multicast service record list may be determined by comparing the target multicast service IP address with the multicast service record IP address list.
In one possible implementation, the MoCA manager device may also receive a general multicast group query message and a specific multicast group query message. As shown in fig. 2, the method further comprises:
s108: and if the multicast message is not the request message, judging whether the multicast message is a general multicast group query message.
S109: and if the multicast message is a general multicast group query message, the general multicast group query message is sent to all terminal devices connected with the MoCA management terminal device.
In this embodiment, the general multicast group query message may be used to query whether a terminal device connected to the MoCA management end device remains connected. If the message is the general multicast group query message, the general multicast group query message is sent to all terminal devices connected with the MoCA management terminal device. After receiving the general multicast group query message, if the terminal equipment still needs to keep the state of subscribing the multicast service with the MoCA management end equipment, the terminal equipment sends a request message to the MoCA management end equipment so as to feed back the connection information.
In one possible implementation, as shown in fig. 2, the method further includes:
s110: if the multicast message is not the general multicast group query message, judging whether the multicast message is a specific multicast group query message.
S111: and if the multicast message is a specific multicast group query message, acquiring the specific terminal equipment bound with the specific multicast group.
S112: and sending the specific multicast group query message to the specific terminal equipment.
In this embodiment, the specific multicast group query message may be used to query whether a terminal device bound to a specific multicast group remains connected to the MoCA management end device. And if the message is a specific multicast group query message, firstly acquiring the specific terminal equipment bound with the specific multicast group. And then, the specific multicast group query message is sent to the specific terminal equipment. After receiving the specific multicast group query message, if the specific terminal equipment still needs to keep the state of subscribing the specific multicast service with the MoCA management end equipment, the specific terminal equipment sends a request message to the MoCA management end equipment so as to feed back the connection information.
In a possible implementation manner, a situation that a connection of a terminal device is overtime may occur, refer to fig. 4, and fig. 4 is a flowchart of a method for determining that a connection of a terminal device is overtime according to an embodiment of the present application. As shown in fig. 4, the method further comprises:
s301: and acquiring the equipment recording time of the terminal equipment.
S302: and judging whether the equipment recording time exceeds a preset time threshold.
S303: and if the equipment recording time exceeds the time threshold, deleting the binding relation between the terminal equipment and the target multicast service.
In this embodiment, whether the terminal device is connected with the terminal device is overtime is determined through the device recording time, specifically, whether the device recording time exceeds a preset time threshold is determined, the time threshold is set by a user according to actual needs, for example, the time threshold may be set to 300s, if the device recording time of one terminal device exceeds 300s and the request message of the terminal device is not received, it is indicated that the terminal device does not subscribe to the target multicast service any more, the binding relationship between the terminal device and the target multicast service is deleted, the corresponding multicast group configuration is canceled, and it is ensured that the overtime terminal device can not receive the multicast service any more.
In one possible implementation, the method further includes:
transmitting multicast group configuration data to the terminal equipment, wherein the multicast group configuration data comprises: and the target multicast service IP address, the address of the terminal equipment and the equipment number of the terminal equipment.
In this embodiment, after receiving a request packet sent by a terminal device, a MoCA management end sends multicast group configuration data to the terminal device, specifically including a target multicast service IP address, an address of the terminal device and a device number of the terminal device, so as to ensure that the terminal device can accept, process and forward a data packet of the target multicast service.
In a second aspect, referring to fig. 5, fig. 5 is a schematic structural diagram of a multicast system based on MoCA technology according to an embodiment of the present application. As shown in fig. 5, the present application provides a multicast system based on MoCA technology, including:
and the receiving module is used for receiving the multicast message.
The first judging module is configured to judge whether the multicast message is a request message, where the request message is sent by a terminal device, and the request message includes: target multicast service data and terminal equipment data, wherein the target multicast service data is used for identifying target multicast service, and the terminal equipment data is used for identifying terminal equipment.
And the second judging module is used for judging whether the target multicast service is in a multicast service record list according to the target multicast service data if the multicast message is a request message, wherein the multicast service record list is used for recording the multicast service of the MoCA management end device.
And the third judging module is used for judging whether the terminal equipment has a binding relation with the target multicast service according to the terminal equipment data if the target multicast service is in the multicast service record list.
The processing module is used for updating the equipment record time of the terminal equipment to be the current time if the binding relationship exists between the terminal equipment and the target multicast service; if the binding relation between the terminal equipment and the target multicast service does not exist, the binding relation between the terminal equipment and the target multicast service is established, and the current time is recorded as the equipment recording time.
In one possible implementation, the processing module is further configured to: if the target multicast service is not in the multicast service record list, adding the target multicast service in the multicast service record list, establishing a binding relation between the terminal equipment and the target multicast service, and recording the current time as the equipment recording time.
In one possible implementation, the system further includes:
and the fourth judging module is used for judging whether the multicast message is a general multicast group query message or not if the multicast message is not the request message.
And the first sending module is used for sending the general multicast group query message to all terminal equipment connected with the MoCA management end equipment if the multicast message is the general multicast group query message.
In one possible implementation, the system further includes:
and a fifth judging module, configured to judge whether the multicast packet is a specific multicast group query packet if the multicast packet is not a general multicast group query packet.
And the first acquisition module is used for acquiring the specific terminal equipment bound with the specific multicast group if the multicast message is the specific multicast group query message.
And the second sending module is used for sending the specific multicast group query message to the specific terminal equipment.
In one possible implementation, the system further includes:
and the second acquisition module is used for acquiring the equipment recording time of the terminal equipment.
And a sixth judging module, configured to judge whether the device recording time exceeds a preset time threshold.
And the clearing module is used for deleting the binding relation between the terminal equipment and the target multicast service if the equipment recording time exceeds the time threshold.
In one possible implementation, the system further includes:
a configuration module, configured to send multicast group configuration data to the terminal device, where the multicast group configuration data includes: and the target multicast service IP address, the address of the terminal equipment and the equipment number of the terminal equipment.
In a third aspect, referring to fig. 6, fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 6, the present application provides an electronic device, including: a memory and a processor; wherein the memory includes program instructions that, when executed by the processor, cause the electronic device to perform the method of the first aspect and its various implementations.
According to the technical scheme, the application provides a multicast method, a multicast system and electronic equipment based on the MoCA technology. The method comprises the following steps: and receiving the multicast message. Judging whether the multicast message is a request message or not, wherein the request message is sent by a terminal device, and the request message comprises: target multicast service data and terminal equipment data, wherein the target multicast service data is used for identifying target multicast service, and the terminal equipment data is used for identifying terminal equipment. If the multicast message is a request message, judging whether the target multicast service is in a multicast service record list according to the target multicast service data, wherein the multicast service record list is used for recording the multicast service of the MoCA management terminal device. And if the target multicast service is in the multicast service record list, judging whether the terminal equipment has a binding relation with the target multicast service according to the terminal equipment data. If the binding relation exists between the terminal equipment and the target multicast service, the equipment recording time of the terminal equipment is updated to be the current time. If the binding relation between the terminal equipment and the target multicast service does not exist, the binding relation between the terminal equipment and the target multicast service is established, and the current time is recorded as the equipment recording time. The multicast method based on the MoCA technology can automatically identify the type of the received multicast message so as to realize the management and configuration of the multicast group of the terminal equipment, and improves the efficiency of the MoCA equipment for carrying out multicast service and the use experience of users.
The foregoing detailed description of the embodiments is merely illustrative of the general principles of the present application and should not be taken in any way as limiting the scope of the invention. Any other embodiments developed in accordance with the present application without inventive effort are within the scope of the present application for those skilled in the art.

Claims (14)

1. The multicast method based on the MoCA technology is characterized by being applied to MoCA management terminal equipment, and comprises the following steps:
receiving a multicast message;
judging whether the multicast message is a request message or not, wherein the request message is sent by a terminal device, and the request message comprises: target multicast service data and terminal equipment data, wherein the target multicast service data is used for identifying target multicast service, and the terminal equipment data is used for identifying terminal equipment;
if the multicast message is a request message, judging whether the target multicast service is in a multicast service record list according to the target multicast service data, wherein the multicast service record list is used for recording the multicast service of the MoCA management terminal equipment;
if the target multicast service is in the multicast service record list, judging whether the terminal equipment has a binding relation with the target multicast service according to the terminal equipment data;
if the binding relation exists between the terminal equipment and the target multicast service, updating the equipment recording time of the terminal equipment to be the current time;
if the binding relation between the terminal equipment and the target multicast service does not exist, the binding relation between the terminal equipment and the target multicast service is established, and the current time is recorded as the equipment recording time.
2. The MoCA technology-based multicasting method of claim 1, further comprising:
if the target multicast service is not in the multicast service record list, adding the target multicast service in the multicast service record list, establishing a binding relation between the terminal equipment and the target multicast service, and recording the current time as the equipment recording time.
3. The MoCA technology-based multicasting method according to claim 1, wherein the target multicast service data includes a target multicast service IP address, and the method for determining whether the target multicast service is in the multicast service record list according to the target multicast service data comprises:
acquiring a target multicast service IP address and the multicast service record list, wherein the multicast service record list comprises a multicast service record IP address list;
traversing the multicast service record IP address list, and judging whether the multicast service record IP address identical to the target multicast service IP address exists or not;
and if the multicast service record IP address which is the same as the IP address of the target multicast service exists, the target multicast service is in the multicast service record list.
4. The MoCA technology-based multicasting method of claim 1, further comprising:
if the multicast message is not a request message, judging whether the multicast message is a general multicast group query message or not;
and if the multicast message is a general multicast group query message, the general multicast group query message is sent to all terminal devices connected with the MoCA management terminal device.
5. The MoCA technology-based multicasting method of claim 4 further comprising:
if the multicast message is not the general multicast group query message, judging whether the multicast message is a specific multicast group query message or not;
if the multicast message is a specific multicast group query message, acquiring specific terminal equipment bound with the specific multicast group;
and sending the specific multicast group query message to the specific terminal equipment.
6. The MoCA technology-based multicasting method according to claim 1 or 2, further comprising:
acquiring the equipment recording time of the terminal equipment;
judging whether the equipment recording time exceeds a preset time threshold value or not;
and if the equipment recording time exceeds the time threshold, deleting the binding relation between the terminal equipment and the target multicast service.
7. The MoCA technology-based multicasting method according to claim 1 or 2, further comprising:
transmitting multicast group configuration data to the terminal equipment, wherein the multicast group configuration data comprises: and the target multicast service IP address, the address of the terminal equipment and the equipment number of the terminal equipment.
8. A MoCA technology-based multicast system, comprising:
the receiving module is used for receiving the multicast message;
the first judging module is configured to judge whether the multicast message is a request message, where the request message is sent by a terminal device, and the request message includes: target multicast service data and terminal equipment data, wherein the target multicast service data is used for identifying target multicast service, and the terminal equipment data is used for identifying terminal equipment;
the second judging module is used for judging whether the target multicast service is in a multicast service record list according to the target multicast service data if the multicast message is a request message, wherein the multicast service record list is used for recording the multicast service of the MoCA management terminal equipment;
a third judging module, configured to judge, according to the terminal device data, whether a binding relationship exists between the terminal device and the target multicast service if the target multicast service is in the multicast service record list;
the processing module is used for updating the equipment record time of the terminal equipment to be the current time if the binding relationship exists between the terminal equipment and the target multicast service; if the binding relation between the terminal equipment and the target multicast service does not exist, the binding relation between the terminal equipment and the target multicast service is established, and the current time is recorded as the equipment recording time.
9. The MoCA technology-based multicast system of claim 8 wherein the processing module is further configured to: if the target multicast service is not in the multicast service record list, adding the target multicast service in the multicast service record list, establishing a binding relation between the terminal equipment and the target multicast service, and recording the current time as the equipment recording time.
10. The MoCA technology-based multicast system of claim 8 further comprising:
a fourth judging module, configured to judge whether the multicast packet is a general multicast group query packet if the multicast packet is not a request packet;
and the first sending module is used for sending the general multicast group query message to all terminal equipment connected with the MoCA management end equipment if the multicast message is the general multicast group query message.
11. The MoCA technology-based multicast system of claim 10 further comprising:
a fifth judging module, configured to judge whether the multicast packet is a specific multicast group query packet if the multicast packet is not a general multicast group query packet;
the first acquisition module is used for acquiring specific terminal equipment bound with a specific multicast group if the multicast message is a specific multicast group query message;
and the second sending module is used for sending the specific multicast group query message to the specific terminal equipment.
12. The MoCA technology-based multicast system according to claim 8 or 9, further comprising:
the second acquisition module is used for acquiring the equipment recording time of the terminal equipment;
a sixth judging module, configured to judge whether the device recording time exceeds a preset time threshold;
and the clearing module is used for deleting the binding relation between the terminal equipment and the target multicast service if the equipment recording time exceeds the time threshold.
13. The MoCA technology-based multicast system according to claim 8 or 9, further comprising:
a configuration module, configured to send multicast group configuration data to the terminal device, where the multicast group configuration data includes: and the target multicast service IP address, the address of the terminal equipment and the equipment number of the terminal equipment.
14. An electronic device, comprising: a memory and a processor; wherein the memory includes program instructions that, when executed by the processor, cause the electronic device to perform the method of any of claims 1-7.
CN202111596100.1A 2021-12-24 2021-12-24 Multicast method, system and electronic equipment based on MoCA technology Active CN114285820B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111596100.1A CN114285820B (en) 2021-12-24 2021-12-24 Multicast method, system and electronic equipment based on MoCA technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111596100.1A CN114285820B (en) 2021-12-24 2021-12-24 Multicast method, system and electronic equipment based on MoCA technology

Publications (2)

Publication Number Publication Date
CN114285820A CN114285820A (en) 2022-04-05
CN114285820B true CN114285820B (en) 2024-03-29

Family

ID=80874639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111596100.1A Active CN114285820B (en) 2021-12-24 2021-12-24 Multicast method, system and electronic equipment based on MoCA technology

Country Status (1)

Country Link
CN (1) CN114285820B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013950A (en) * 2007-02-07 2007-08-08 杭州华为三康技术有限公司 Method and apparatus for realizing multicasting virtual private network binding
CN101557296A (en) * 2009-05-05 2009-10-14 中兴通讯股份有限公司 Method of quick recovery after break of multicast service, device and gateway device
CN103117912A (en) * 2013-01-22 2013-05-22 江苏亿通高科技股份有限公司 Multimedia over coax alliance (MoCA) terminal business configuration automatic issuing method
CN104615459A (en) * 2015-01-05 2015-05-13 上海凌云天博光电科技有限公司 MoCA equipment parameter configuration method and device
CN105516255A (en) * 2015-11-27 2016-04-20 上海凌云天博光电科技有限公司 Method for pushing configuration from MoCA central office to terminal device and corresponding device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8767607B2 (en) * 2009-06-18 2014-07-01 Entropic Communications, Inc. Method and apparatus for performing multicast in communications network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101013950A (en) * 2007-02-07 2007-08-08 杭州华为三康技术有限公司 Method and apparatus for realizing multicasting virtual private network binding
CN101557296A (en) * 2009-05-05 2009-10-14 中兴通讯股份有限公司 Method of quick recovery after break of multicast service, device and gateway device
CN103117912A (en) * 2013-01-22 2013-05-22 江苏亿通高科技股份有限公司 Multimedia over coax alliance (MoCA) terminal business configuration automatic issuing method
CN104615459A (en) * 2015-01-05 2015-05-13 上海凌云天博光电科技有限公司 MoCA equipment parameter configuration method and device
CN105516255A (en) * 2015-11-27 2016-04-20 上海凌云天博光电科技有限公司 Method for pushing configuration from MoCA central office to terminal device and corresponding device

Also Published As

Publication number Publication date
CN114285820A (en) 2022-04-05

Similar Documents

Publication Publication Date Title
CN104883618B (en) Programme televised live tries method, apparatus and system
EP2457349B1 (en) Method and device for a light host management protocol on multicast capable router
US20080168507A1 (en) Content distribution arbitration apparatus and method for the same
US10498783B2 (en) Non-DSG mechanisms for aligning client devices with their multicast data flows in a DOCSIS network environment
EP3709664A1 (en) Stream pushing method, system and server
CN102739779A (en) DLNA (Digital Living Network Alliance)-based digital family interaction method and system and corresponding device
CN103312593B (en) A kind of message distributing system and method
CN100466832C (en) Group broadcasting member management method for radio local network IP group broadcasting frame transmission
CN111405042A (en) Discovery method and device of electronic equipment, computer readable storage medium and electronic device
CN111641845A (en) Streaming media cluster control system and method
KR101120778B1 (en) Method, system and terminal for changing management object of broadcast service guide
EP2457348B1 (en) Efficient host management protocol on multicast capable router
US20070195770A1 (en) Network controller, receiving terminal device, content delivery system, network control method, and content receiving method
CN102571409A (en) Service request management system and method for realizing service across-terminal application
CN114285820B (en) Multicast method, system and electronic equipment based on MoCA technology
CN101924641B (en) Method, device and system for processing multicast source information
KR100759807B1 (en) Method of time-shifting service in multicast based IPTV
CN101232599B (en) Broad band television network system and user signing contract information transfer method
US8295200B2 (en) Discovering multicast routing capability of an access network
KR101377947B1 (en) Method of roaming in broadcast service and system and terminal thereof
KR20090084918A (en) Broadcast roaming in oma broadcast services
US11727444B2 (en) Customizing targeted advertisements based on profile information exchange
CN105917659A (en) Hybrid storage of program recordings in a service provider network
US11695584B2 (en) Stateful IGMP fastleave
CN110892686B (en) Method for providing information to an audio/video receiver device and corresponding device

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
GR01 Patent grant
GR01 Patent grant