CN112188301A - Communication method, device, system, terminal and computer readable storage medium - Google Patents

Communication method, device, system, terminal and computer readable storage medium Download PDF

Info

Publication number
CN112188301A
CN112188301A CN201910596900.XA CN201910596900A CN112188301A CN 112188301 A CN112188301 A CN 112188301A CN 201910596900 A CN201910596900 A CN 201910596900A CN 112188301 A CN112188301 A CN 112188301A
Authority
CN
China
Prior art keywords
multicast
terminal
tunnel
request
application
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.)
Granted
Application number
CN201910596900.XA
Other languages
Chinese (zh)
Other versions
CN112188301B (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.)
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 CN201910596900.XA priority Critical patent/CN112188301B/en
Publication of CN112188301A publication Critical patent/CN112188301A/en
Application granted granted Critical
Publication of CN112188301B publication Critical patent/CN112188301B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2858Access network architectures
    • H04L12/2859Point-to-point connection between the data network and the subscribers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • 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/6408Unicasting
    • 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/643Communication protocols

Landscapes

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

Abstract

The disclosure relates to a communication method, a communication device, a communication system, a communication terminal and a computer readable storage medium, and relates to the technical field of communication. The method of the present disclosure comprises: the terminal performs tunnel encapsulation on the multicast request and sends the multicast request encapsulated by the tunnel to the multicast router; the terminal receives a multicast data packet which is sent by the multicast router through the tunnel and is encapsulated by the tunnel; and the terminal decapsulates the multicast data packet encapsulated by the tunnel to obtain data.

Description

Communication method, device, system, terminal and computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a communication method, apparatus, system, terminal, and computer-readable storage medium.
Background
Multicast (Multicast) transmission: a point-to-multipoint network connection is implemented between the sender and each recipient. If a sender transmits the same data to multiple receivers simultaneously, only one copy of the same data packet is needed. The method improves the data transmission efficiency and reduces the possibility of congestion of the backbone network.
The load of CDN (Content Delivery Network) nodes can be effectively reduced by bearing the live broadcast flow of the interactive television through multicast, the load of a bearing Network is reduced, and the potential of an interactive television platform and the potential of the bearing Network are fully developed.
The key of multicast deployment is to implement IGMP (Internet Group Management Protocol) between a multicast router (multicast replication point) and a set-top box. IGMP is a protocol used by multicast routers to maintain multicast group membership information, running between the set-top box and the multicast router. The multicast stream is transmitted from the router to the set-top box, and the node equipment passing by is required to support the IGMP protocol. At present, an operator backbone multicast router, an access Terminal OLT (Optical Line Terminal), and a home gateway can both well support IGMP.
Disclosure of Invention
The inventor finds that: the user self-purchased routers have various brands and different functions, and the IGMP message transparent transmission cannot be realized usually. If the set-top box is firstly accessed to the router of the user and then accessed to the home gateway of the operator, the IGMP message cannot penetrate through the router of the user to reach the multicast router, and further the multicast stream cannot be normally issued to the set-top box. If the home network of the user is modified, the connection circuit of the set-top box is changed, a large amount of manpower and material resources are consumed, and the realization is difficult.
One technical problem to be solved by the present disclosure is: how to realize the transmission of multicast messages between a set top box and a multicast router under the condition that user intermediate equipment does not support a multicast protocol.
According to some embodiments of the present disclosure, there is provided a communication method including: the terminal performs tunnel encapsulation on the multicast request and sends the multicast request encapsulated by the tunnel to the multicast router; the terminal receives a multicast data packet which is sent by the multicast router through the tunnel and is encapsulated by the tunnel; and the terminal decapsulates the multicast data packet encapsulated by the tunnel to obtain data.
In some embodiments, the method further comprises: a terminal receives a tunnel establishment instruction sent by a terminal management device, wherein the tunnel establishment instruction comprises information of a multicast router; and the terminal sends a tunnel connection request to the multicast router according to the tunnel establishment instruction.
In some embodiments, the tunnel establishment instruction is sent by the terminal management device after detecting that the terminal is not directly connected to the home gateway.
In some embodiments, the terminal comprises a first application and a second application; the first application corresponds to a multicast address; the tunnel encapsulation of the multicast request by the terminal comprises the following steps: and the terminal responds to the trigger of the first application by the user, generates a multicast request and performs tunnel encapsulation on the multicast request, wherein the multicast request comprises a multicast address corresponding to the first application.
In some embodiments, the second application corresponds to a unicast address; the method further comprises the following steps: and the terminal responds to the trigger of the user to the second application, generates a unicast request and sends the unicast request to the multicast router, wherein the unicast request comprises a unicast address corresponding to the second application.
In some embodiments, the first application also corresponds to a unicast address; the method further comprises the following steps: under the condition that the tunnel establishment fails or the tunnel connection is disconnected, the terminal responds to the trigger of the first application by the user, generates a unicast request and sends the unicast request to the multicast router, wherein the unicast request comprises a unicast address corresponding to the first application.
According to further embodiments of the present disclosure, there is provided a terminal including: the multicast request module is used for performing tunnel encapsulation on the multicast request and sending the multicast request encapsulated by the tunnel to the multicast router through the tunnel; the multicast data receiving module is used for receiving a multicast data packet which is sent by the multicast router through the tunnel and is encapsulated by the tunnel; and the decapsulation module is used for decapsulating the multicast data packet encapsulated by the tunnel to obtain data.
In some embodiments, the terminal further comprises: the instruction receiving module is used for receiving a tunnel establishment instruction sent by the terminal management equipment, wherein the tunnel establishment instruction comprises the information of the multicast router; and the tunnel establishing module is used for sending a tunnel connection request to the multicast router according to the tunnel establishing instruction.
In some embodiments, the tunnel establishment instruction is sent by the terminal management device after detecting that the terminal is not directly connected to the home gateway.
In some embodiments, the terminal comprises a first application and a second application; the first application corresponds to a multicast address; the multicast request module is used for responding to the triggering of the first application by the user, generating a multicast request and performing tunnel encapsulation on the multicast request, wherein the multicast request comprises a multicast address corresponding to the first application.
In some embodiments, the second application corresponds to a unicast address; the terminal further includes: and the first unicast request module is used for responding to the trigger of the user on the second application, generating a unicast request and sending the unicast request to the multicast router, wherein the unicast request comprises a unicast address corresponding to the second application.
In some embodiments, the first application also corresponds to a unicast address; the terminal further includes: and the second unicast request module is used for responding to the trigger of the user on the first application under the condition of tunnel establishment failure or tunnel connection disconnection, generating a unicast request and sending the unicast request to the multicast router, wherein the unicast request comprises a unicast address corresponding to the first application.
According to still further embodiments of the present disclosure, there is provided a communication system including: the terminal of any of the preceding embodiments; the multicast router is used for receiving the multicast request encapsulated by the tunnel sent by the terminal through the tunnel; and sending the multicast data packet encapsulated by the tunnel to the terminal through the tunnel.
In some embodiments, the system further comprises: and the terminal management equipment is used for detecting whether the terminal is directly connected with the home gateway to the terminal or not, and sending a tunnel establishment instruction to the terminal after detecting that the terminal is not directly connected with the home gateway, wherein the tunnel establishment instruction comprises the information of the multicast router.
According to still further embodiments of the present disclosure, there is provided a communication apparatus including: a memory; and a processor coupled to the memory, the processor configured to perform the steps of the communication method according to any of the preceding embodiments based on instructions stored in the memory.
According to further embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program, wherein the program, when executed by a processor, implements the steps of the communication method of any of the preceding embodiments.
In the method, an end-to-end tunnel is established between the terminal and the multicast router, and the multicast message is encapsulated by using a tunnel technology and is transmitted through an intermediate network of a user to reach the multicast router directly. The invention provides a tunnel multicast implementation method, which is used for realizing the transmission of multicast messages between a set top box and a multicast router under the condition that user intermediate equipment does not support a multicast protocol on the premise of not transforming a user home network, thereby solving the problem of multicast message transmission in a complex network, avoiding the need of increasing additional hardware investment and saving a large amount of labor cost. The scheme disclosed by the invention is applied to the multicast deployment scene of the set top box, can be realized only by remotely upgrading the software function of the set top box, does not need to be processed by maintenance personnel, saves a large amount of labor cost and improves the transformation efficiency.
Other features of the present disclosure and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 illustrates a flow diagram of a communication method of some embodiments of the present disclosure.
Fig. 2 illustrates a structural diagram of a message of some embodiments of the present disclosure.
Fig. 3 shows a flow diagram of a communication method of further embodiments of the present disclosure.
Fig. 4 illustrates a schematic structural diagram of a terminal of some embodiments of the present disclosure.
Fig. 5 shows a schematic structural diagram of a terminal of further embodiments of the present disclosure.
Fig. 6 illustrates a structural schematic diagram of a communication system of some embodiments of the present disclosure.
Fig. 7 illustrates a schematic structural diagram of a communication device of some embodiments of the present disclosure.
Fig. 8 shows a schematic structural diagram of a communication device according to further embodiments of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
The scheme is provided for solving the problem that the existing user self-purchased router does not support the transmission of the multicast message and cannot realize the transmission of the multicast message between the set top box and the multicast router. Some embodiments of the communication method of the present disclosure are described below in conjunction with fig. 1.
Fig. 1 is a flow chart of some embodiments of the disclosed methods. As shown in fig. 1, the method of this embodiment includes: step S102 to step S106.
In step S102, the terminal tunnel-encapsulates the multicast request, and transmits the tunnel-encapsulated multicast request to the multicast router through the tunnel.
The terminal may be, for example, a set-top box, or may be a device such as a mobile phone or a PC (personal computer). Under the condition that the terminal and the multicast router establish the tunnel, the terminal can perform tunnel encapsulation on the multicast request. For example, an L2TP (Layer2Tunneling Protocol) tunnel may be established between the terminal and the multicast router, the terminal may serve as an LAC (location area code), the multicast router may serve as an LNS (L2TP Network Server), and the terminal encapsulates the multicast request using the tunnel Protocol.
For example, an end-to-end L2TP tunnel is established between the terminal and the multicast router, and the L2TP transmits PPP (point-to-point protocol) packets, in which data of multiple protocols, including multicast packets, can be encapsulated. At the starting point of the tunnel, the terminal performs L2TP protocol encapsulation on a PPP data packet and transmits the PPP data packet to the multicast router, the multicast message encapsulated by L2TP + PPP is transmitted in the tunnel, the multicast message is carried in a PPP data stream, the message content is not analyzed and processed by various network devices, and only the message content is regarded as a general IP packet to perform routing forwarding, so that the intermediate node device of the tunnel is not required to support the multicast protocol. At the tunnel end point, i.e. the multicast router, the L2TP and PPP packet headers are decapsulated, and at this time, the multicast message is parsed, thereby implementing the transmission of the multicast packet across the intermediate network of the user.
As shown in fig. 2, the original multicast message includes a user end (terminal) IP, an IGMP header and an original message. The message after tunnel encapsulation comprises: a User end (terminal) IP, a UDP (User Datagram Protocol) packet header, an L2TP packet header, a PPP packet header, an inner IP packet header, an IGMP packet header, and an original message.
The multicast Router may be a metropolitan area network edge device such as a BRAS (Broadband Remote Access Server), SR (Service Router, full Service Router) or MSE (multi Service edge Router). The existing devices of the existing network are used as a tunnel termination point and a multicast replication point, so that the investment of devices on the backbone side is not increased, and the existing network structure is compatible. And the home BRAS/SR/MSE is used as the tunnel termination point, the traffic shunting can be effectively realized, the load on the devices is reduced, and only the back plate bandwidth between the service board and the tunnel processing board is occupied on the devices, so that the uplink relay bandwidth of the devices is not wasted.
The multicast router analyzes the multicast request received by the tunnel encapsulation, and can add the terminal into the multicast group and establish a multicast distribution table item.
In step S104, the terminal receives the tunnel-encapsulated multicast packet transmitted by the multicast router through the tunnel.
The multicast router can copy the multicast data packet of the multicast source and send the multicast data packet to the terminal through the tunnel. The multicast messages between the terminal and the multicast router can be transmitted through the tunnel.
In step S106, the terminal decapsulates the multicast packet encapsulated in the tunnel to obtain data.
The terminal may decapsulate the multicast packet encapsulated by the tunnel by using the corresponding tunnel protocol and multicast protocol to obtain corresponding data.
In the method of the embodiment, an end-to-end tunnel is established between the terminal and the multicast router, and the multicast message is encapsulated by using a tunnel technology and is transmitted through the user intermediate network to reach the multicast router. The above embodiment provides a tunnel multicast implementation method, which implements transmission of multicast messages between a set top box and a multicast router under the condition that user intermediate equipment does not support a multicast protocol without modifying a user home network, thereby solving the problem of multicast message transmission in a complex network, and saving a large amount of labor cost without increasing additional hardware investment. The scheme of the embodiment is applied to the multicast deployment scene of the set top box, can be realized only by remotely upgrading the software function of the set top box, does not need maintainers to carry out home processing, saves a large amount of labor cost and improves the transformation efficiency.
Further embodiments of the communication method of the present disclosure are described below in conjunction with fig. 3.
Fig. 3 is a flow chart of some embodiments of the disclosed method. As shown in fig. 3, the method of this embodiment includes: step S302 to step S316.
In step S302, the terminal management apparatus detects whether the terminal is directly connected to the home gateway. If not, step S304 is performed.
The terminal management device is, for example, a set-top box network manager (network management system). The terminal management equipment can analyze whether the set top box is directly connected with the home gateway or not according to the pre-collected home gateway probe data. The home gateway may be provided with a probe to acquire information of a device interacting with the home gateway, for example, information such as a MAC address may be acquired. The method can be used for judging whether equipment interacting with the home gateway belongs to a preset terminal or not, if so, the terminal is indicated to be directly connected with the home gateway, and otherwise, other user equipment (such as a user self-purchased router) is connected between the terminal and the home gateway. The home gateway belongs to operator equipment and supports a multicast protocol. If the terminal is directly connected with the home gateway, the multicast message can be directly transmitted without a subsequent tunnel establishment process, thereby reducing the complexity of the process and reducing the signaling interaction.
In step S304, the terminal management apparatus transmits a tunnel establishment instruction to the terminal.
After the terminal is started, the terminal can access the internet through the broadband and interacts with the terminal management equipment and the multicast router through the broadband. The terminal management device can inquire the information of the home multicast router corresponding to the terminal, such as the address information of the multicast router, from the authentication system according to the registration information of the terminal, such as the broadband account. And then the terminal management equipment issues a tunnel establishment instruction. The tunnel establishment instruction includes information of the multicast router,
in step S306, the terminal sends a tunnel connection request to the multicast router according to the tunnel establishment instruction.
The terminal may initiate an L2TP dial request, and after being authenticated by the authentication system, may establish a tunnel with the multicast router. The tunnel establishment process may adopt an existing method, and is not described herein again.
In step S308, in the case where the tunnel establishment between the terminal and the multicast router is successful, the terminal determines the type of the application in response to the operation of the application by the user. Step S310 is executed if the application is the first application, and step S311 is executed if the application is the second application.
The terminal includes, for example: the first application and the second application are different types of applications. For example, the terminal is a set-top box, the live program can be used as a first application, and the on-demand program can be used as a second application.
In step S309, in the case where the tunnel establishment between the terminal and the multicast router fails, the terminal generates a unicast request and transmits the unicast request to the multicast router in response to the trigger of the application by the user.
Under the condition that the tunnel is failed to be established, the service platform can send a unicast address corresponding to the application to the terminal, and the terminal interacts with the multicast router in a unicast mode. The multicast router may also implement forwarding of unicast requests.
In step S310, the terminal generates a multicast request and tunnel-encapsulates the multicast request in response to the trigger of the first application from the user, and sends the tunnel-encapsulated multicast request to the multicast router through the tunnel.
The unicast request may include a unicast address corresponding to the application. After the tunnel is successfully established, the terminal can obtain the corresponding private network IP address. The terminal carries the IP address of the private network to authenticate the service platform. The service platform learns that the terminal supports the multicast service according to the private network IP address, and can send a multicast address and/or a unicast address corresponding to the application to the terminal.
In some embodiments, the first application corresponds to a multicast address. The terminal determines to generate a multicast request in response to a user triggering the first application. After the tunnel is established, a virtual network card is generated in the terminal, and the multicast request can be processed and sent out through the virtual network card.
In step S311, the terminal generates a unicast request and sends the unicast request to the multicast router in response to the trigger of the second application by the user.
In some embodiments, the second application corresponds to a unicast address, and the end determines to generate a unicast request and send the unicast request to the multicast router in response to a trigger of the user on the second application. The multicast router may also implement forwarding of a unicast request, the unicast request including a unicast address corresponding to the second application.
The unicast request may also be encapsulated using tunneling and tunneled to the multicast router.
In step S312, the terminal receives the tunnel-encapsulated multicast packet transmitted by the multicast router through the tunnel.
In step S313, the terminal receives the unicast packet sent by the multicast router, and analyzes the unicast packet to obtain data.
In step S314, the terminal decapsulates the multicast packet encapsulated in the tunnel to obtain data.
In step S316, in the case that the tunnel connection is disconnected, the terminal generates a unicast request and transmits the unicast request to the multicast router in response to the trigger of the user for the first application.
The unicast request includes a unicast address corresponding to the first application. The service platform can send a corresponding multicast address and a unicast address to the terminal aiming at the first application supporting multicast, so that the application use is not influenced under the condition that the tunnel is abnormally terminated.
According to the method of the embodiment, the terminal management device indicates whether the terminal establishes the tunnel with the multicast router according to whether the terminal is directly connected with the home gateway or not, signaling interaction is reduced under the condition that the tunnel does not need to be established, and efficiency is improved. Further, the terminal can distinguish different application types, initiate a multicast request or a unicast request, and adapt to the requirements of different applications. And under the condition that the tunnel establishment fails or is abnormally terminated, the terminal can also directly initiate a unicast request, thereby avoiding influencing the service of the user and improving the user experience.
Some application examples of the present disclosure are described below by taking a terminal as a set top box and a multicast router as a BRAS as an example. Currently, the default of a set-top box is only: static IP, DHCP (Dynamic Host Configuration Protocol), PPPoE (Point-to-Point Protocol Over Ethernet) dial-up three IP acquisition forms, and the L2TP dial-up function can be realized through firmware upgrade development, thereby realizing the tunnel establishment function.
(1) And the set-top box network manager detects whether the set-top box is directly connected with the home gateway or not. If not, step (2) is performed.
The set-top box is switched on and is accessed to the internet through the home broadband. After connecting with the internet, the set-top box can interact with the BRAS and the set-top box network manager through the broadband.
(2) And after receiving the starting information of the set-top box, the network manager of the set-top box sends a tunnel establishment instruction to the set-top box. And the tunnel establishment instruction comprises the information of the user home BRAS.
The BRAS information can be obtained by the authentication system through the online broadband account association of the user, and is sent to the set top box network manager.
(3) The set top box sends a tunnel establishment request to the BRAS.
For example, the set-top box initiates an L2TP dial request, and establishes a tunnel after being authenticated by the authentication system.
(4) And under the condition that the tunnel is successfully established, the set top box responds to the operation of the user on the application and determines the type of the application. And (5) if the application is a live-type program, and (6) if the application is an on-demand-type program.
(5) The set-top box sends a tunnel-encapsulated multicast request to the BRAS through the tunnel, and then step (7) is executed.
(6) The set top box sends a unicast request to the BRAS, and then step (8) is executed.
(7) And the set top box receives the live video stream which is encapsulated by the tunnel and returned by the BRAS through the tunnel.
(8) And the set-top box receives the video-on-demand data returned by the BRAS.
(9) And under the condition that the tunnel establishment fails or the tunnel is abnormally terminated, responding to the operation of the user and sending a unicast request to the BRAS.
The set-top box automatically switches back to the broadband channel unicast mode under the condition that the tunnel establishment fails or the tunnel is abnormally terminated, the video stream is issued along the original broadband channel, and the user service is not influenced.
In the scheme of the embodiment, the set top box can be used as an LAC to initiate an L2TP tunnel dialing request to a designated LNS, after the dialing is successful, the set top box multicast request is directly transmitted to the LNS, the multicast replication is realized on the LNS, the video stream is then transmitted to the set top box through the tunnel, and the method can be realized by only communicating the internet no matter what network medium the set top box accesses or whether the set top box accesses through a self-owned router. The existing network BRAS equipment is used as an LNS to finish the tunnel termination and finish the multicast duplication without adding extra hardware investment; the line reconstruction is not needed by the installation and maintenance personnel, so that a large amount of labor cost is saved, and the multicast deployment is effectively promoted. The L2TP tunnel connection is initiated directly by the set top box. After obtaining the Internet access right, the set-top box can directly initiate a tunnel connection request to the LNS without establishing a tunnel through a single LAC device.
The present disclosure also provides a terminal, described below in conjunction with fig. 4.
Fig. 4 is a block diagram of some embodiments of the terminal of the present disclosure. As shown in fig. 4, the terminal 40 of this embodiment includes: a multicast request module 402, a multicast data receiving module 404 and a decapsulation module 406.
A multicast request module 402, configured to perform tunnel encapsulation on the multicast request, and send the multicast request encapsulated by the tunnel to the multicast router through the tunnel.
In some embodiments the terminal comprises a first application and a second application; the first application corresponds to a multicast address. The multicast request module 402 is configured to generate a multicast request and perform tunnel encapsulation on the multicast request in response to a trigger of a user on a first application, where the multicast request includes a multicast address corresponding to the first application.
A multicast data receiving module 404, configured to receive a multicast data packet encapsulated by a tunnel sent by the multicast router through the tunnel.
And a decapsulation module 406, configured to decapsulate the multicast packet encapsulated by the tunnel to obtain data.
Further embodiments of the terminal of the present disclosure are described below in conjunction with fig. 5.
Fig. 5 is a block diagram of some embodiments of the terminal of the present disclosure. As shown in fig. 5, the terminal 50 of this embodiment includes: the multicast request module 502, the multicast data receiving module 504, and the decapsulation module 506 have the same or similar functions as the multicast request module 402, the multicast data receiving module 404, and the decapsulation module 406, respectively, and the terminal 50 further includes: .
The instruction receiving module 508 is configured to receive a tunnel establishment instruction sent by the terminal management device, where the tunnel establishment instruction includes information of the multicast router.
A tunnel establishing module 510, configured to send a tunnel connection request to the multicast router according to the tunnel establishing instruction.
In some embodiments, the tunnel establishment instruction is sent by the terminal management device after detecting that the terminal is not directly connected to the home gateway.
In some embodiments, the terminal includes a first application and a second application, the second application corresponding to the unicast address. The terminal 50 may further include: a first unicast request module 512, configured to generate a unicast request in response to a trigger of the user on the second application, where the unicast request includes a unicast address corresponding to the second application, and send the unicast request to the multicast router.
In some embodiments, the first application also corresponds to a unicast address. The terminal 50 may further include: a second unicast request module 514, configured to, in response to a trigger of the user on the first application, generate a unicast request and send the unicast request to the multicast router, where the unicast request includes a unicast address corresponding to the first application, and the unicast request is in failure of tunnel establishment or disconnection of a tunnel connection.
The present disclosure also provides a communication system, described below in conjunction with fig. 6.
Fig. 6 is a block diagram of some embodiments of the communication system of the present disclosure. As shown in fig. 6, the communication system 6 of this embodiment includes: the terminal 40/50 of any of the foregoing embodiments, and the multicast router 62, configured to receive the tunneled multicast request sent by the terminal 40/50 through the tunnel; the tunnelled multicast packet is sent through the tunnel to the terminal 40/50.
In some embodiments, the communication system further comprises: and the terminal management device 64 is configured to detect whether the terminal is directly connected to the home gateway to the terminal 40/50, and send a tunnel establishment instruction to the terminal 40/50 after detecting that the terminal 40/50 is not directly connected to the home gateway, where the tunnel establishment instruction includes information of the multicast router 62.
The communication system may further include: and the authentication system is used for inquiring the information of the associated multicast router 62 according to the registered western information (such as the broadband account information) of the terminal and feeding the information back to the terminal management device 64. The communication system may further comprise a service platform: and responding to the multicast request of the terminal to finish the data stream issuing.
The communication devices in the embodiments of the present disclosure may each be implemented by various computing devices or computer systems, which are described below in conjunction with fig. 7 and 8. The communication device may be disposed in the terminal of the above embodiment, and implement corresponding functions.
Fig. 7 is a block diagram of some embodiments of a communication device of the present disclosure. As shown in fig. 7, the apparatus 70 of this embodiment includes: a memory 710 and a processor 720 coupled to the memory 710, the processor 720 configured to perform a communication method in any of the embodiments of the present disclosure based on instructions stored in the memory 710.
Memory 710 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), a database, and other programs.
Fig. 8 is a block diagram of further embodiments of the communication device of the present disclosure. As shown in fig. 8, the apparatus 80 of this embodiment includes: memory 810 and processor 820 are similar to memory 710 and processor 720, respectively. An input output interface 830, a network interface 840, a storage interface 850, and the like may also be included. These interfaces 830, 840, 850 and the memory 810 and the processor 820 may be connected, for example, by a bus 860. The input/output interface 230 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 840 provides a connection interface for various networked devices, such as a database server or a cloud storage server. The storage interface 850 provides a connection interface for external storage devices such as an SD card and a usb disk.
As will be appreciated by one skilled in the art, embodiments of the present disclosure may be provided as a method, system, or computer program product. Accordingly, the present disclosure may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present disclosure may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present disclosure is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the disclosure. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The above description is only exemplary of the present disclosure and is not intended to limit the present disclosure, so that any modification, equivalent replacement, or improvement made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (16)

1. A method of communication, comprising:
the terminal performs tunnel encapsulation on the multicast request and sends the multicast request encapsulated by the tunnel to the multicast router;
the terminal receives a multicast data packet which is sent by the multicast router through a tunnel and is encapsulated by the tunnel;
and the terminal decapsulates the multicast data packet encapsulated by the tunnel to obtain data.
2. The communication method of claim 1, further comprising:
the terminal receives a tunnel establishment instruction sent by a terminal management device, wherein the tunnel establishment instruction comprises the information of the multicast router;
and the terminal sends a tunnel connection request to the multicast router according to the tunnel establishment instruction.
3. The communication method according to claim 2,
and the tunnel establishment instruction is sent by the terminal management equipment after detecting that the terminal is not directly connected with the home gateway.
4. The communication method according to claim 1,
the terminal comprises a first application and a second application; the first application corresponds to a multicast address;
the tunnel encapsulation of the multicast request by the terminal comprises:
and the terminal responds to the trigger of the first application by the user, generates a multicast request and performs tunnel encapsulation on the multicast request, wherein the multicast request comprises a multicast address corresponding to the first application.
5. The communication method according to claim 4,
the second application corresponds to a unicast address;
the method further comprises the following steps:
and the terminal responds to the trigger of the user to the second application, generates a unicast request and sends the unicast request to the multicast router, wherein the unicast request comprises a unicast address corresponding to the second application.
6. The communication method according to claim 4,
the first application also corresponds to a unicast address;
the method further comprises the following steps:
and under the condition that the tunnel establishment fails or the tunnel connection is disconnected, the terminal responds to the trigger of the first application by the user, generates a unicast request and sends the unicast request to the multicast router, wherein the unicast request comprises a unicast address corresponding to the first application.
7. A terminal, comprising:
the multicast request module is used for performing tunnel encapsulation on the multicast request and sending the multicast request encapsulated by the tunnel to the multicast router through the tunnel;
a multicast data receiving module, configured to receive a multicast data packet encapsulated in a tunnel sent by the multicast router through the tunnel;
and the decapsulation module is used for decapsulating the multicast data packet encapsulated by the tunnel to obtain data.
8. The terminal of claim 7, further comprising:
the instruction receiving module is used for receiving a tunnel establishment instruction sent by the terminal management equipment, wherein the tunnel establishment instruction comprises the information of the multicast router;
and the tunnel establishing module is used for sending a tunnel connection request to the multicast router according to the tunnel establishing instruction.
9. The terminal of claim 8, wherein,
and the tunnel establishment instruction is sent by the terminal management equipment after detecting that the terminal is not directly connected with the home gateway.
10. The terminal of claim 7, wherein,
the terminal comprises a first application and a second application; the first application corresponds to a multicast address;
the multicast request module is used for responding to the trigger of the first application by the user, generating a multicast request and performing tunnel encapsulation on the multicast request, wherein the multicast request comprises a multicast address corresponding to the first application.
11. The terminal of claim 10, wherein,
the second application corresponds to a unicast address;
the terminal further comprises:
and the first unicast request module is used for responding to the trigger of the user on the second application, generating a unicast request and sending the unicast request to the multicast router, wherein the unicast request comprises a unicast address corresponding to the second application.
12. The terminal of claim 10, wherein,
the first application also corresponds to a unicast address;
the terminal further comprises:
and the second unicast request module is used for responding to the trigger of the first application by the user under the condition of tunnel establishment failure or tunnel connection disconnection, generating a unicast request and sending the unicast request to the multicast router, wherein the unicast request comprises a unicast address corresponding to the first application.
13. A communication system, comprising:
the terminal of claims 7-12; and
the multicast router is used for receiving the multicast request encapsulated by the tunnel sent by the terminal through the tunnel; and sending the multicast data packet encapsulated by the tunnel to the terminal through the tunnel.
14. The communication system of claim 13, further comprising:
and the terminal management equipment is used for detecting whether the terminal is directly connected with the home gateway to the terminal or not, and sending a tunnel establishment instruction to the terminal after detecting that the terminal is not directly connected with the home gateway, wherein the tunnel establishment instruction comprises the information of the multicast router.
15. A communication device, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the communication method of any of claims 1-6 based on instructions stored in the memory.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201910596900.XA 2019-07-04 2019-07-04 Communication method, apparatus, system, terminal, and computer-readable storage medium Active CN112188301B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910596900.XA CN112188301B (en) 2019-07-04 2019-07-04 Communication method, apparatus, system, terminal, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910596900.XA CN112188301B (en) 2019-07-04 2019-07-04 Communication method, apparatus, system, terminal, and computer-readable storage medium

Publications (2)

Publication Number Publication Date
CN112188301A true CN112188301A (en) 2021-01-05
CN112188301B CN112188301B (en) 2022-07-22

Family

ID=73915541

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910596900.XA Active CN112188301B (en) 2019-07-04 2019-07-04 Communication method, apparatus, system, terminal, and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN112188301B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116647707A (en) * 2023-07-27 2023-08-25 中国电信股份有限公司 Multicast scheduling method, device and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399745A (en) * 2007-09-30 2009-04-01 上海贝尔阿尔卡特股份有限公司 Method and device for implementing uplink multicast data transmission of customer terminal through network layer tunnel
CN101753525A (en) * 2008-12-17 2010-06-23 华为技术有限公司 Method, system and equipment for realizing the business wholesale of DHCP users
US20110044337A1 (en) * 2009-08-19 2011-02-24 Electronics And Telecommunications Research Institute System and method for providing iptv service
CN102546382A (en) * 2010-12-08 2012-07-04 中国电信股份有限公司 Method and system for realizing multicast in Internet protocol version 4 over Internet protocol version 6 (IPv4overIPv6) tunnel
WO2016180020A1 (en) * 2015-05-13 2016-11-17 华为技术有限公司 Message processing method, device and system
CN107645431A (en) * 2016-07-20 2018-01-30 新华三技术有限公司 Message forwarding method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101399745A (en) * 2007-09-30 2009-04-01 上海贝尔阿尔卡特股份有限公司 Method and device for implementing uplink multicast data transmission of customer terminal through network layer tunnel
CN101753525A (en) * 2008-12-17 2010-06-23 华为技术有限公司 Method, system and equipment for realizing the business wholesale of DHCP users
US20110044337A1 (en) * 2009-08-19 2011-02-24 Electronics And Telecommunications Research Institute System and method for providing iptv service
CN102546382A (en) * 2010-12-08 2012-07-04 中国电信股份有限公司 Method and system for realizing multicast in Internet protocol version 4 over Internet protocol version 6 (IPv4overIPv6) tunnel
WO2016180020A1 (en) * 2015-05-13 2016-11-17 华为技术有限公司 Message processing method, device and system
CN107645431A (en) * 2016-07-20 2018-01-30 新华三技术有限公司 Message forwarding method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116647707A (en) * 2023-07-27 2023-08-25 中国电信股份有限公司 Multicast scheduling method, device and system
CN116647707B (en) * 2023-07-27 2023-10-20 中国电信股份有限公司 Multicast scheduling method, device and system

Also Published As

Publication number Publication date
CN112188301B (en) 2022-07-22

Similar Documents

Publication Publication Date Title
US10439862B2 (en) Communication terminal with multiple virtual network interfaces
EP0935381B1 (en) Dynamic network configuration of a one-way adapter
US6484210B1 (en) Packet processing relay agent to provide link layer forwarding in one-way cable/wireless/satellite modems
US7733859B2 (en) Apparatus and method for packet forwarding in layer 2 network
CN101179603B (en) Method and device for controlling user network access in IPv6 network
CN103118064A (en) Method and device of Portal centralized authentication
CN109862437B (en) Forwarding table item creating method and BRAS
US20230089240A1 (en) Data forwarding method and apparatus, device, and storage medium
US11032122B2 (en) Multicast delay diagnosis method and apparatus
CN108632678B (en) Data transmission method, device and system
CN112188301B (en) Communication method, apparatus, system, terminal, and computer-readable storage medium
CN106131177B (en) Message processing method and device
CN104852835B (en) Smart machine WIFI communication systems and its control method
US9497076B2 (en) Dual-stack support for demarc auto configuration (DAC) mechanism in DOCSIS provisioning of EPON (DPOE) network
EP3059907B1 (en) Network packet forwarding method and device
US9729385B2 (en) Service provisioning method, device, and system in coaxial cable system
GB2464452A (en) Multicast Media Streaming
EP3515048B1 (en) Cable media converter management method, apparatus and system
CN114629848A (en) Network bandwidth control method, system and control plane equipment
CN101931787B (en) Method, device and system for controlling multicast programs
CN113055191B (en) Forwarding method and device and forwarding plane of broadband remote access server
JP4361446B2 (en) Multicast control method, multicast area management device, multicast control device, and program
CN108243080B (en) Intelligent method and device for optical network unit
CN116962293A (en) Data transmission method, device, equipment and storage medium
CN118075524A (en) Unicast-multicast method and device, nonvolatile storage 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
GR01 Patent grant
GR01 Patent grant