CN114422484B - Multicast method, device, mobile terminal and storage medium - Google Patents

Multicast method, device, mobile terminal and storage medium Download PDF

Info

Publication number
CN114422484B
CN114422484B CN202111540880.8A CN202111540880A CN114422484B CN 114422484 B CN114422484 B CN 114422484B CN 202111540880 A CN202111540880 A CN 202111540880A CN 114422484 B CN114422484 B CN 114422484B
Authority
CN
China
Prior art keywords
link
multicast
data
transmit
multicast source
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
CN202111540880.8A
Other languages
Chinese (zh)
Other versions
CN114422484A (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.)
Guangdong Power Grid Co Ltd
Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd
Original Assignee
Guangdong Power Grid Co Ltd
Electric Power Dispatch Control Center of Guangdong Power Grid 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 Guangdong Power Grid Co Ltd, Electric Power Dispatch Control Center of Guangdong Power Grid Co Ltd filed Critical Guangdong Power Grid Co Ltd
Priority to CN202111540880.8A priority Critical patent/CN114422484B/en
Publication of CN114422484A publication Critical patent/CN114422484A/en
Application granted granted Critical
Publication of CN114422484B publication Critical patent/CN114422484B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention discloses a multicast method, a device, a mobile terminal and a storage medium, wherein the method comprises the following steps: controlling a multicast source to transmit first data to a temporary memory through a first link; controlling the multicast source to transmit the first data to the multicast receiver through the second link; wherein the transmission rate on the first link is greater than the transmission rate on the second link; and when the second link is judged to be faulty, a third link is arranged between the temporary memory and the multicast receiver, and the temporary memory is controlled to transmit the first data to the multicast receiver through the third link. By adopting the embodiment of the invention, the safety of data transmission can be improved.

Description

Multicast method, device, mobile terminal and storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a multicast method, a device, a mobile terminal, and a storage medium.
Background
The multicast technology is that when the active host sends information demand to the multipoint target host, the active host only sends one data, the destination address of the data is multicast group address, thus, all the members belonging to the group can receive a copy of the data sent by the active host, in the multicast mode, only the members needed by the real information can receive the information, and other hosts can not receive the information.
Therefore, the multicast mode solves the problems of repeated copying of data and repeated occupation of bandwidth under the unicast condition and the waste of bandwidth resources under the broadcast mode. However, in the existing multicast technology, all data is transmitted through one multicast source, and once the multicast source data is abnormal or fails in the process of data transmission, the whole multicast group cannot receive the data.
In summary, the existing multicast technology cannot guarantee data transmission when difficulty occurs, and the security of data transmission is low.
Disclosure of Invention
The embodiment of the invention provides a multicast method, a multicast device, a mobile terminal and a storage medium, which improve the security of data transmission.
A first aspect of an embodiment of the present application provides a multicast method, including:
controlling a multicast source to transmit first data to a temporary memory through a first link;
controlling the multicast source to transmit the first data to the multicast receiver through the second link; wherein the transmission rate on the first link is greater than the transmission rate on the second link;
when it is determined that the second link fails, a third link is set between the temporary storage and the multicast receiver, and the temporary storage is controlled to transmit the first data to the multicast receiver through the third link.
In a possible implementation manner of the first aspect, the method further includes:
when the multicast source is judged to have data loss, the temporary storage is controlled to transmit first data to the multicast source through the first link.
In a possible implementation manner of the first aspect, the determining that the second link fails is specifically:
and when the transmission rate on the second link is smaller than the first preset value, judging that the second link fails.
In a possible implementation manner of the first aspect, the method further includes:
and acquiring the real-time storage space of the temporary storage, and processing the real-time storage space of the temporary storage according to preset conditions when the real-time storage space is smaller than a second preset value.
A second aspect of an embodiment of the present application provides a multicast device, including: the device comprises a first transmission module, a second transmission module and a third transmission module;
the first transmission module is used for controlling the multicast source to transmit first data to the temporary storage through a first link;
the second transmission module is used for controlling the multicast source to transmit the first data to the multicast receiver through the second link; wherein the transmission rate on the first link is greater than the transmission rate on the second link;
and the third transmission module is used for setting a third link between the temporary memory and the multicast receiver when the second link is judged to be faulty, and controlling the temporary memory to transmit the first data to the multicast receiver through the third link.
In a possible implementation manner of the second aspect, the method further includes:
when the multicast source is judged to have data loss, the temporary storage is controlled to transmit first data to the multicast source through the first link.
In a possible implementation manner of the second aspect, the determining that the second link fails is specifically:
and when the transmission rate on the second link is smaller than the first preset value, judging that the second link fails.
In a possible implementation manner of the second aspect, the method further includes:
and acquiring the real-time storage space of the temporary storage, and processing the real-time storage space of the temporary storage according to preset conditions when the real-time storage space is smaller than a second preset value.
A third aspect of the embodiments of the present application provides a mobile terminal, including a processor and a memory, the memory storing computer readable program code, the processor implementing the steps of a multicast method as described above when executing the computer readable program code.
A fourth aspect of the embodiments of the present application provides a storage medium storing computer readable program code which when executed performs the steps of a multicast method as described above.
Compared with the prior art, the multicast method and the device provided by the embodiment of the invention comprise the following steps: controlling a multicast source to transmit first data to a temporary memory through a first link; controlling the multicast source to transmit the first data to the multicast receiver through the second link; wherein the transmission rate on the first link is greater than the transmission rate on the second link; and when the second link is judged to be faulty, a third link is arranged between the temporary memory and the multicast receiver, and the temporary memory is controlled to transmit the first data to the multicast receiver through the third link.
The beneficial effects are that: when a second link between the multicast source and the multicast receiver fails, the embodiment of the invention controls the temporary storage to transmit the first data to the multicast receiver through the third link, thereby ensuring the stability and the safety of data transmission and avoiding the problem that the data is broken and needs to be retransmitted.
Further, when the multicast source loses data, the embodiment of the invention controls the temporary storage to transmit the first data to the multicast source through the first link, solves the problem of data loss of the multicast source, and enables the multicast source to transmit the first data transmitted by the temporary storage to a multicast receiver through the second link, thereby further ensuring continuous transmission of the data and further improving the stability and safety of data transmission.
Drawings
Fig. 1 is a flow chart of a multicast method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a multicast relationship according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a multicast device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, a flow chart of a multicast method according to an embodiment of the present invention includes S101-103:
s101: the multicast source is controlled to transmit first data to the temporary storage via the first link.
In this embodiment, the first link is a bidirectional channel, specifically an umbrella path tree.
S102: the multicast source is controlled to transmit the first data to the multicast receiver via the second link.
The transmission rate on the first link is greater than the transmission rate on the second link, so that the backup effect of data can be ensured.
Further, the second link is an umbrella path tree.
Preferably, the multicast source and the multicast receiver are both routing devices, and the connection mode is a local network or an ethernet.
S103: when it is determined that the second link fails, a third link is set between the temporary storage and the multicast receiver, and the temporary storage is controlled to transmit the first data to the multicast receiver through the third link.
In this embodiment, the third link is a unidirectional channel, specifically an umbrella path tree.
When the second link fails, the temporary storage transmits the first data to the multicast receiver through the third link, and the transmission speed and the transmission stability of the third link are higher than those of the bidirectional transmission among the multicast because the third link is a unidirectional channel, so that the third link can ensure the stability and the safety of the data transmission when the second link fails, and the problem that the data is broken and needs to be retransmitted is avoided.
In a specific embodiment, the determining that the second link fails is specifically:
and when the transmission rate on the second link is smaller than a first preset value, judging that the second link fails.
In a specific embodiment, the transmission rate on the second link is monitored and obtained by a data transmission detection module. The data transmission detection module is arranged on the temporary memory.
Further, the temporary memory includes: random access memory and read-only memory. The random access memory can rewrite data; the rom is not rewritable, but is used only in special cases, such as cases where long-term storage of data is required and no modification is required.
In this embodiment, further comprising:
and when the multicast source is judged to have data loss, controlling the temporary memory to transmit the first data to the multicast source through the first link.
In a specific embodiment, the multicast source generates data loss, specifically: the multicast source has data loss and other faults, and the faults of the multicast source are common technical problems in the field and will not be described in detail herein.
When the multicast source fails due to data loss, the multicast source cannot continue to transmit the first data to the multicast receiver through the second link, so that the temporary storage is controlled to transmit the first data to the multicast source through the first link, the problem of data loss of the multicast source is solved, and the multicast source transmits the first data sent by the temporary storage to the multicast receiver through the second link.
In this embodiment, further comprising:
and acquiring the real-time storage space of the temporary storage, and processing the real-time storage space of the temporary storage according to preset conditions when the real-time storage space is smaller than a second preset value.
Preferably, the total storage space of the temporary storage is 100t, and when the real-time storage space of the temporary storage is smaller than 20t, the temporary data of 20t are cleaned up according to time sequence.
To further describe the relationship among the multicast source, the multicast receiver and the temporary storage, please refer to fig. 2, fig. 2 is a schematic diagram of the multicast relationship according to an embodiment of the present invention.
As can be taken from fig. 2, fig. 2 includes: the multicast source 201 transmits data to the temporary storage 203 through a first link, the multicast source 201 transmits data to the multicast receiver 202 through a second link, and the temporary storage 203 transmits data to the multicast receiver 202 through a third link.
When it is determined that the second link fails, the temporary storage 203 is controlled to transmit the first data to the multicast receiver 202 through the third link; when it is determined that the multicast source 201 has lost data, the temporary storage 203 is controlled to transmit the first data to the multicast source 201 through the first link.
For further explanation of the multicast device, please refer to fig. 3, fig. 3 is a schematic structural diagram of a multicast device according to an embodiment of the present invention, which includes: a first transmission module 301, a second transmission module 302 and a third transmission module 303.
The first transmission module 301 is configured to control the multicast source to transmit first data to the temporary memory through the first link;
the second transmission module 302 is configured to control the multicast source to transmit the first data to a multicast receiver through a second link; wherein the transmission rate on the first link is greater than the transmission rate on the second link;
the third transmission module 303 is configured to set a third link between the temporary memory and the multicast receiver when it is determined that the second link fails, and control the temporary memory to transmit the first data to the multicast receiver through the third link.
In a specific embodiment, the determining that the second link fails is specifically:
and when the transmission rate on the second link is smaller than a first preset value, judging that the second link fails.
In this embodiment, further comprising:
and when the multicast source is judged to have data loss, controlling the temporary memory to transmit the first data to the multicast source through the first link.
In this embodiment, further comprising:
and acquiring the real-time storage space of the temporary storage, and processing the real-time storage space of the temporary storage according to preset conditions when the real-time storage space is smaller than a second preset value.
In a specific embodiment, the present invention provides a mobile terminal, including a processor and a memory, where the memory stores computer readable program code, and the processor implements the steps of a multicast method described above when executing the computer readable program code.
In a specific embodiment, an embodiment of the present invention provides a storage medium storing computer readable program code which when executed implements the steps of a multicast method described above.
In the embodiment of the invention, a first transmission module 301 controls a multicast source to transmit first data to a temporary memory through a first link; the second transmission module 302 controls the multicast source to transmit the first data to the multicast receiver through the second link; wherein the transmission rate on the first link is greater than the transmission rate on the second link; finally, when the third transmission module 303 determines that the second link fails, a third link is set between the temporary memory and the multicast receiver, and the temporary memory is controlled to transmit the first data to the multicast receiver through the third link.
When a second link between the multicast source and the multicast receiver fails, the embodiment of the invention controls the temporary storage to transmit the first data to the multicast receiver through the third link, thereby ensuring the stability and the safety of data transmission and avoiding the problem that the data is broken and needs to be retransmitted.
Further, when the multicast source loses data, the embodiment of the invention controls the temporary storage to transmit the first data to the multicast source through the first link, solves the problem of data loss of the multicast source, and enables the multicast source to transmit the first data transmitted by the temporary storage to a multicast receiver through the second link, thereby further ensuring continuous transmission of the data and further improving the stability and safety of data transmission.
While the foregoing is directed to the preferred embodiments of the present invention, it will be appreciated by those skilled in the art that changes and modifications may be made without departing from the principles of the invention, such changes and modifications are also intended to be within the scope of the invention.

Claims (8)

1. A method of multicasting comprising:
controlling a multicast source to transmit first data to a temporary memory through a first link;
controlling the multicast source to transmit the first data to a multicast receiver through a second link; wherein the transmission rate on the first link is greater than the transmission rate on the second link;
when the second link is judged to be faulty, a third link is arranged between the temporary memory and the multicast receiver, and the temporary memory is controlled to transmit the first data to the multicast receiver through the third link;
and when the multicast source is judged to have data loss, controlling the temporary memory to transmit the first data to the multicast source through the first link.
2. The method according to claim 1, wherein the determining that the second link fails is specifically:
and when the transmission rate on the second link is smaller than a first preset value, judging that the second link fails.
3. A method of multicasting according to claim 2, further comprising:
and acquiring the real-time storage space of the temporary storage, and processing the real-time storage space of the temporary storage according to preset conditions when the real-time storage space is smaller than a second preset value.
4. A multicast apparatus, comprising: the device comprises a first transmission module, a second transmission module and a third transmission module;
the first transmission module is used for controlling the multicast source to transmit first data to the temporary storage through a first link;
the second transmission module is used for controlling the multicast source to transmit the first data to a multicast receiver through a second link; wherein the transmission rate on the first link is greater than the transmission rate on the second link;
the third transmission module is used for setting a third link between the temporary memory and the multicast receiver when the second link is judged to be faulty, and controlling the temporary memory to transmit the first data to the multicast receiver through the third link;
and when the multicast source is judged to have data loss, controlling the temporary memory to transmit the first data to the multicast source through the first link.
5. The multicast device according to claim 4, wherein said determining that said second link is faulty is specifically:
and when the transmission rate on the second link is smaller than a first preset value, judging that the second link fails.
6. The multicast device as recited in claim 5, further comprising:
and acquiring the real-time storage space of the temporary storage, and processing the real-time storage space of the temporary storage according to preset conditions when the real-time storage space is smaller than a second preset value.
7. A mobile terminal comprising a processor and a memory, the memory storing computer readable program code, the processor implementing the steps of a multicast method according to any of claims 1 to 3 when the computer readable program code is executed by the processor.
8. A storage medium storing computer readable program code which when executed implements the steps of a multicast method according to any one of claims 1 to 3.
CN202111540880.8A 2021-12-16 2021-12-16 Multicast method, device, mobile terminal and storage medium Active CN114422484B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111540880.8A CN114422484B (en) 2021-12-16 2021-12-16 Multicast method, device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111540880.8A CN114422484B (en) 2021-12-16 2021-12-16 Multicast method, device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN114422484A CN114422484A (en) 2022-04-29
CN114422484B true CN114422484B (en) 2024-01-30

Family

ID=81267348

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111540880.8A Active CN114422484B (en) 2021-12-16 2021-12-16 Multicast method, device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN114422484B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050054727A (en) * 2003-12-05 2005-06-10 학교법인 인하학원 Method and device providing reliable and efficient multicast service in mobile ip
WO2010000172A1 (en) * 2008-06-30 2010-01-07 华为技术有限公司 Method, system, receiving end device and multicast source device for multicast protection
WO2011095042A1 (en) * 2010-02-02 2011-08-11 华为技术有限公司 Method, apparatus and system for forwarding data
CN102891758A (en) * 2012-09-20 2013-01-23 杭州华三通信技术有限公司 Multicast data transmission method and equipment
CN102742221B (en) * 2011-05-19 2015-07-29 华为技术有限公司 A kind of method that multicast realizes and the network equipment
CN109561023A (en) * 2017-09-27 2019-04-02 华为技术有限公司 The methods, devices and systems of transport multicast message
CN109586932A (en) * 2018-10-18 2019-04-05 招商证券股份有限公司 Method of multicasting and terminal device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20050054727A (en) * 2003-12-05 2005-06-10 학교법인 인하학원 Method and device providing reliable and efficient multicast service in mobile ip
WO2010000172A1 (en) * 2008-06-30 2010-01-07 华为技术有限公司 Method, system, receiving end device and multicast source device for multicast protection
WO2011095042A1 (en) * 2010-02-02 2011-08-11 华为技术有限公司 Method, apparatus and system for forwarding data
CN102742221B (en) * 2011-05-19 2015-07-29 华为技术有限公司 A kind of method that multicast realizes and the network equipment
CN102891758A (en) * 2012-09-20 2013-01-23 杭州华三通信技术有限公司 Multicast data transmission method and equipment
CN109561023A (en) * 2017-09-27 2019-04-02 华为技术有限公司 The methods, devices and systems of transport multicast message
CN109586932A (en) * 2018-10-18 2019-04-05 招商证券股份有限公司 Method of multicasting and terminal device

Also Published As

Publication number Publication date
CN114422484A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
CN101414949B (en) Chain data transmission method, node and system
EP1052803B1 (en) Reducing convergence time by a protocol independent multicast (PIM) router
EP3139360A1 (en) Distributed redundancy control method and system for intelligent transportation network
CN101364930A (en) Session control method, apparatus and system
US10931529B2 (en) Terminal device management method, server, and terminal device for managing terminal devices in local area network
CN111147573A (en) Data transmission method and device
US9961014B2 (en) Network communication method based on software-defined networking and server using the method
CN108810129A (en) Internet of Things network control system and method, terminal device and local network services equipment
CN114422484B (en) Multicast method, device, mobile terminal and storage medium
US11736567B2 (en) Data transmission and network interface controller
US10462101B2 (en) Network communication method based on software-defined networking and server using the method
EP2787699A1 (en) Data transmission method, device, and system
CN114090342A (en) Storage disaster tolerance link management method, message execution node and storage control cluster
CN116886576A (en) Multi-control storage cluster communication timeout control method, device, equipment and medium
CN109586931B (en) Multicast method and terminal equipment
CN109428814B (en) Multicast traffic transmission method, related equipment and computer readable storage medium
CN109792444B (en) Play-out buffering in a live content distribution system
KR100396921B1 (en) Error control method in the multicasting transmission system using repeater server
CN105245387A (en) Method and system for processing message
CN104618199A (en) Automatic node access identification method and device based on CAN communication and air conditioner
CN110149389B (en) Data transmission control method and system of holographic display device
CN110011914B (en) Management message forwarding method and device
JP4098434B2 (en) Broadcast transmission system
CN103595629A (en) Rapid gateway switching method and device for hosts in IRDP (ICMP Router Discovery Protocol) network
WO2023273088A1 (en) Control method for ring node, and network device and storage medium

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