Data transmission method and device, communication equipment and readable storage medium
By building a PPPoEov6 tunnel between the ITV soft terminal and the multicast control gateway, the problem that the home ITV soft terminal cannot access the ITV multicast network is solved, and the ITV soft terminal can access ITV private network videos is realized.
Patent Information
- Application Number
- CN202411555164.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-04
- Publication Date
- 2025-02-28
AI Technical Summary
The existing home ITV soft terminal cannot access the operator's ITV multicast network, and cannot meet the needs of users to access ITV private network videos through the soft terminal.
Access to the ITV multicast network is achieved by pre-constructing a PPPoEov6 tunnel between the ITV soft terminal and the multicast control gateway, responding to data access requests and receiving target data.
It realizes that the ITV soft terminal can access the ITV multicast network through the pre-built PPPoEov6 tunnel, meeting the users' ITV private network video access needs.
Smart Images

Figure CN119545112A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a data transmission method, apparatus, communication equipment, computer-readable storage medium, and computer program product. Background Art
[0002] With the development of communication technology, a technology that uses ITV soft terminals, that is, interactive TV terminals, to achieve communication interaction has emerged. ITV refers to a multimedia service that combines television and Internet technology. It allows viewers to interact with TV content, such as selecting programs, on-demand videos, participating in voting or shopping. Interactive TV enhances the functions of traditional TV, allowing viewers to not only watch content but also participate in it, obtaining a more personalized viewing experience.
[0003] With the increasing demand for multimedia content, live events and online video-on-demand services, users usually need to efficiently obtain content from different content providers in the existing home ITV soft terminal (such as PAD and other devices) networking. However, current home ITV soft terminals can usually only access Internet content through a single public network channel, but cannot access the operator's ITV multicast network. Therefore, it cannot meet the user's demand for accessing ITV private network videos through soft terminals. Summary of the invention
[0004] Based on this, it is necessary to provide a data transmission method, device, communication equipment, computer-readable storage medium and computer program product that can meet the needs of users to access ITV private network videos through soft terminals in response to the above technical problems.
[0005] In a first aspect, the present application provides a data transmission method, which is applied to an ITV soft terminal, comprising:
[0006] In response to a data access request for target data, when the target data is multicast data, sending the data access request to a multicast control gateway through a pre-constructed PPPoEov6 tunnel;
[0007] The target data returned by the multicast control gateway in response to the data access request is received through the PPPoEov6 tunnel.
[0008] In one of the embodiments, before sending the data access request to the multicast control gateway through the pre-constructed PPPoEov6 tunnel, the method also includes: obtaining the IPv6 interface address and the PD prefix address from the home gateway associated with the ITV soft terminal; generating the terminal SID of the ITV soft terminal according to the IPv6 interface address and the PD prefix address; obtaining the gateway SID of the multicast control gateway, and using the terminal SID and the gateway SID to construct the PPPoEov6 tunnel.
[0009] In one of the embodiments, the use of the terminal SID and the gateway SID to construct the PPPoEov6 tunnel for connecting the ITV soft terminal and the multicast control gateway includes: constructing a tunnel construction request carrying the terminal SID, the gateway SID and the terminal authentication information for authenticating the ITV soft terminal; sending the tunnel construction request to the multicast control gateway; the multicast control gateway is used to obtain the terminal authentication result of the ITV soft terminal based on the terminal authentication information, and return the terminal authentication result to the ITV soft terminal; when the terminal authentication result indicates that the authentication is passed, the PPPoEov6 tunnel is constructed using the terminal SID and the gateway SID.
[0010] In one of the embodiments, the ITV soft terminal carries a diversion module; after the response to the data access request for the target data, it also includes: obtaining the access address of the target data from the data access request through the diversion module; when the access address belongs to the ITV multicast source address, determining that the target data is the multicast data.
[0011] In one of the embodiments, after obtaining the access address of the target data from the data access request through the diversion module, it also includes: when the access address does not belong to the ITV multicast source address, forwarding the data access request through the Internet Wan to receive the target data through the Internet Wan.
[0012] In a second aspect, the present application provides a data transmission method, applied to a multicast control gateway, comprising:
[0013] Upon receiving a data access request for target data sent by the ITV soft terminal through the pre-built PPPoEov6 tunnel, obtaining an access address of the target data from the data access request;
[0014] Request the target data from the ITV multicast source corresponding to the access address, and return the target data to the ITV soft terminal through the PPPoEov6 tunnel.
[0015] In one of the embodiments, when a data access request for target data is received from an ITV soft terminal through a pre-built PPPoEov6 tunnel, before obtaining the access address of the target data from the data access request, it also includes: when a tunnel construction request is received from the ITV soft terminal, which carries the terminal SID of the ITV soft terminal, the gateway SID of the multicast control gateway, and the terminal authentication information for authenticating the ITV soft terminal, the terminal authentication information is sent to the terminal authentication module; the terminal authentication result of the ITV soft terminal obtained by the terminal authentication module based on the terminal authentication information is received, and the terminal authentication result is returned to the ITV soft terminal; the ITV soft terminal is used to use the terminal SID and the gateway SID to build the PPPoEov6 tunnel when the terminal authentication result indicates that the authentication is passed.
[0016] In a third aspect, the present application further provides a data transmission device, applied to an ITV soft terminal, comprising:
[0017] An access request sending module, for responding to a data access request for target data, and sending the data access request to a multicast control gateway through a pre-built PPPoEov6 tunnel when the target data is multicast data;
[0018] The target data receiving module is used to receive the target data returned by the multicast control gateway in response to the data access request through the PPPoEov6 tunnel.
[0019] In a fourth aspect, the present application further provides a data transmission device, applied to a multicast control gateway, comprising:
[0020] An access request receiving module, configured to, upon receiving a data access request for target data sent by the ITV soft terminal through a pre-built PPPoEov6 tunnel, obtain an access address of the target data from the data access request;
[0021] The target data sending module is used to request the target data from the ITV multicast source corresponding to the access address, and return the target data to the ITV soft terminal through the PPPoEov6 tunnel.
[0022] In a fifth aspect, the present application further provides a communication device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the method described in any one of the embodiments of the first aspect or the second aspect are implemented.
[0023] In a sixth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in any one of the embodiments of the first aspect or the second aspect are implemented.
[0024] In a seventh aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the steps of the method described in any embodiment of the first aspect or the second aspect.
[0025] The above-mentioned data transmission method, apparatus, communication equipment, computer-readable storage medium and computer program product respond to the data access request for the target data through the ITV soft terminal. When the target data is multicast data, the data access request is sent to the multicast control gateway through the pre-constructed PPPoEov6 tunnel; and the target data returned by the multicast control gateway in response to the data access request is received through the PPPoEov6 tunnel. The present application can send the access request to the multicast control gateway through the pre-constructed PPPoEov6 tunnel when the ITV soft terminal receives the data access request for the target data as multicast data. After the multicast control gateway obtains the target data corresponding to the data access request, it can return it to the ITV soft terminal through the PPPoEov6 tunnel. The PPPoEov6 tunnel enables the ITV soft terminal to access the ITV multicast network, thereby satisfying the user's need to access the ITV private network video through the soft terminal. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0027] FIG1 is an application environment diagram of a data transmission method according to an embodiment;
[0028] FIG2 is a schematic diagram of a flow chart of a data transmission method in one embodiment;
[0029] FIG3 is a schematic diagram of a process for constructing a PPPoEov6 tunnel in one embodiment;
[0030] FIG4 is a schematic diagram of a process of constructing a PPPoEov6 tunnel in another embodiment;
[0031] FIG5 is a schematic flow chart of a data transmission method in another embodiment;
[0032] 6 is an application environment diagram of an itv soft terminal based on a PPPoEov6 bearer multicast method in one embodiment;
[0033] 7 is a schematic diagram of a flow chart of a method for carrying multicast based on PPPoEov6 by an itv soft terminal in one embodiment;
[0034] FIG8 is a schematic diagram of an interaction of an itv soft terminal based on a PPPoEov6 bearer multicast method in one embodiment;
[0035] FIG9 is a block diagram of a data transmission device according to an embodiment;
[0036] FIG10 is a block diagram of a data transmission device according to another embodiment;
[0037] FIG11 is a diagram showing the internal structure of a communication device in one embodiment;
[0038] FIG. 12 is a diagram showing the internal structure of a communication device in another embodiment. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0040] The data transmission method provided in the embodiment of the present application can be applied in the application environment shown in Figure 1. Among them, the ITV soft terminal 101 communicates with the multicast control gateway 102 through the PPPoEov6 tunnel, and the multicast control gateway 102 communicates with the ITV multicast source 103 through a network, such as a public network or a VPN. Specifically, when a user initiates a data access request for target data as multicast data through the ITV soft terminal 101, the ITV soft terminal 101 can send the data access request to the multicast control gateway 102 through the PPPoEov6 tunnel. After the multicast control gateway 102 receives the request, it can request the target data from the ITV multicast source 103, and then return the received target data to the ITV soft terminal 101 through the PPPoEov6 tunnel, thereby completing the response to the data access request. Among them, the ITV soft terminal 101 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices, and portable wearable devices. The multicast control gateway 102 may be a SGW gateway, ie, a super gateway, and the ITV multicast source 103 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.
[0041] In one embodiment, as shown in FIG. 2 , a data transmission method is provided, which is described by taking the method applied to the ITV soft terminal 101 in FIG. 1 as an example, and includes the following steps:
[0042] Step S201, in response to a data access request for target data, in the case where the target data is multicast data, the data access request is sent to the multicast control gateway 102 through a pre-built PPPoEov6 tunnel.
[0043] The target data refers to the data that the user requests to access through the ITV soft terminal 101, and the data access request is a request for accessing the target data. Multicast data refers to the data transmitted in the IP network through multicast mode, and the multicast mode refers to the communication mode of sending from one source point to multiple target points. The multicast control gateway 102 is a SGW gateway used to connect the ITV multicast source 103 used to provide multicast data. The PPPoEov6 tunnel is a pre-built communication tunnel used to connect the ITV soft terminal 101 and the multicast control gateway 102. PPPoEov6, namely Point-to-Point Protocol over Ethernet over IPv6, is an innovative Ethernet point-to-point dial-up protocol. It can establish a session link from the user terminal device to the SGW through the three-layer IPv6 source and destination addresses, and is a network protocol for transmitting PPP data frames. It supports user identity authentication, encryption and compression functions to ensure the security and effectiveness of the connection.
[0044] Specifically, a PPPoEov6 tunnel can be pre-built between the ITV soft terminal 101 and the multicast control gateway 102. When the ITV soft terminal receives a data access request for target data, if the data type of the target data is multicast data, the ITV soft terminal 101 can send the above data access request to the multicast control gateway 102 through the PPPoEov6 tunnel.
[0045] Step S202: receiving target data returned by the multicast control gateway 102 in response to the data access request through the PPPoEov6 tunnel.
[0046] After receiving the data access request, the multicast control gateway 102 can respond to the request, obtain the target data corresponding to the data access request from the ITV multicast source 103, and return the target data to the ITV soft terminal 101 through the PPPoEov6 tunnel again, so that the ITV soft terminal 101 can receive the above target data, thereby completing the access to the target data as multicast data.
[0047] In the above data transmission method, the ITV soft terminal 101 responds to the data access request for the target data. When the target data is multicast data, the data access request is sent to the multicast control gateway 102 through the pre-constructed PPPoEov6 tunnel; the target data returned by the multicast control gateway 102 in response to the data access request is received through the PPPoEov6 tunnel. In the present application, when the ITV soft terminal 101 receives the data access request for the target data as multicast data, the access request can be sent to the multicast control gateway 102 through the pre-constructed PPPoEov6 tunnel. After the multicast control gateway obtains the target data corresponding to the data access request, the access request can be returned to the ITV soft terminal 101 through the PPPoEov6 tunnel. The ITV soft terminal 101 can access the ITV multicast network through the PPPoEov6 tunnel, thereby satisfying the user's need to access the ITV private network video through the soft terminal.
[0048] In one embodiment, as shown in FIG3 , before step S201, the following steps may also be included:
[0049] Step S301 : Acquire the IPv6 interface address and PD prefix address from the home gateway associated with the ITV soft terminal 101 .
[0050] The home gateway may be a gateway device used in a home network and responsible for connecting and managing various smart devices and network services, such as a router or an optical modem. The home gateway associated with the ITV soft terminal 101 refers to a home gateway connected to the ITV soft terminal 101, such as a home gateway connected to the ITV soft terminal 101 via wifi. The IPv6 interface address refers to a unique identifier assigned to a network device (such as a router, computer, smart phone, etc.) for communication in an IPv6 network, and the PD prefix address refers to a Prefix Delegation prefix allocation address.
[0051] Specifically, after the ITV soft terminal 101 connects to the home gateway via wifi, the home gateway can initiate PPPoE dial-up, obtain the IPv6 interface address and PD prefix address through the internet wan, and then the home gateway returns the above IPv6 interface address and PD prefix address to the ITV soft terminal 101 via wifi.
[0052] Step S302: Generate a terminal SID of the ITV soft terminal 101 according to the IPv6 interface address and the PD prefix address.
[0053] The terminal SID refers to the identifier corresponding to the ITV soft terminal 101, which is used to identify the ITV soft terminal 101. The terminal SID can be used as the source SID to ensure that the information can be correctly sent to the target address. In this embodiment, after the ITV soft terminal 101 obtains the IPv6 interface address and the PD prefix address, it can generate the terminal SID of the ITV soft terminal 101 according to the preset rules as the source SID.
[0054] Step S303, obtaining the gateway SID of the multicast control gateway 102, and constructing a PPPoEov6 tunnel using the terminal SID and the gateway SID.
[0055] The gateway SID refers to the identifier corresponding to the multicast control gateway 102, which is used to identify the multicast control gateway 102. The gateway SID can be used as the target SID to identify the receiver of the information and ensure that the information can be accurately delivered to the target device or system. In this embodiment, the ITV soft terminal 101 can also obtain the gateway SID of the multicast control gateway 102 as the target SID, and then the terminal SID and the gateway SID can be used to build a PPPoEov6 tunnel.
[0056] In this embodiment, the ITV soft terminal 101 can also obtain the IPv6 interface address and PD prefix address from the associated home gateway to generate a terminal SID, and then use the gateway SID and terminal SID of the multicast control gateway 102 to build a PPPoEov6 tunnel for connecting the ITV soft terminal 101 and the multicast control gateway 102. In this way, the accuracy of the PPPoEov6 tunnel construction can be improved.
[0057] Further, as shown in FIG4 , step S303 may further include:
[0058] Step S401 : construct a tunnel establishment request carrying a terminal SID, a gateway SID, and terminal authentication information for authenticating the ITV soft terminal 101 .
[0059] Terminal authentication information refers to information used to authenticate the ITV soft terminal 101, such as the user account and password of the ITV soft terminal 101. The tunnel construction request is a request for building a PPPoEov6 tunnel. Specifically, after obtaining the terminal SID and gateway SID, the ITV soft terminal 101 can construct a tunnel construction request carrying the terminal SID, gateway SID and terminal authentication information.
[0060] Step S402 , sending a tunnel construction request to the multicast control gateway 102 ; the multicast control gateway 102 is used to obtain a terminal authentication result of the ITV soft terminal 101 based on the terminal authentication information, and return the terminal authentication result to the ITV soft terminal 101 .
[0061] Afterwards, the ITV soft terminal 101 can send the constructed tunnel construction request to the multicast control gateway 102, and the multicast control gateway 102 can obtain the terminal authentication result of the ITV soft terminal 101 based on the terminal authentication information and return it to the ITV soft terminal 101. For example, the multicast control gateway 102 can complete the terminal authentication of the ITV soft terminal 101 using the terminal authentication information and return the authentication result to the ITV soft terminal 101, or the multicast control gateway 102 can send the terminal authentication information to an authentication module, such as an AAA authentication module, and the authentication module returns the authentication result to the multicast control gateway 102 after completing the authentication, and then the multicast control gateway 102 returns it to the ITV soft terminal 101.
[0062] Step S403: When the terminal authentication result indicates that the authentication is successful, a PPPoEov6 tunnel is constructed using the terminal SID and the gateway SID.
[0063] If the terminal authentication result indicates that the authentication is successful, the ITV soft terminal 101 can use the terminal SID and the gateway SID to build a PPPoEov6 tunnel, thereby improving the security of the PPPoEov6 tunnel construction.
[0064] In this embodiment, when constructing a tunnel, it can also be achieved by sending a tunnel construction request carrying terminal authentication information for authenticating the ITV soft terminal 101. The multicast control gateway 102 can obtain the authentication result of the ITV soft terminal 101 based on the above authentication information, and only construct the PPPoEov6 tunnel after the authentication is passed. In this way, the security of the PPPoEov6 tunnel construction can be improved.
[0065] In one embodiment, the ITV soft terminal 101 carries a diversion module; after step S201, it may also include: obtaining the access address of the target data from the data access request through the diversion module; when the access address belongs to the ITV multicast source address, determining that the target data is multicast data.
[0066] The shunting module is a module for distinguishing multicast data from non-multicast data, and the access address refers to the address of the data provider that provides the target data, which can be carried in the data access request, and the ITV multicast source address represents the access address belonging to the ITV multicast source 103. In this embodiment, the ITV soft terminal 101 can carry a shunting module, and the shunting module can obtain the access address of the target data from the data access request, and then the shunting module can determine whether the access address belongs to the ITV multicast source address. If so, it indicates that the target data is multicast data, and then it is necessary to send the data access request to the multicast control gateway 102 through the pre-built PPPoEov6 tunnel.
[0067] In this embodiment, a diversion module may be added to the ITV soft terminal 101 to identify whether the target data to be accessed is multicast data through the diversion module. In this way, the accuracy of multicast data identification can be improved.
[0068] In addition, after obtaining the access address of the target data from the data access request through the diversion module, the method further includes: forwarding the data access request through the internet wan in the case that the access address does not belong to the ITV multicast source address, so as to receive the target data through the internet wan.
[0069] If the access address does not belong to the ITV multicast source address, it means that the target data is not multicast data but Internet content. In this case, the ITV soft terminal 101 can forward the data access request through the Internet WAN, for example, forward the data access request through a single public network channel, thereby receiving the target data through a single public network channel instead of receiving the target data through the PPPoEov6 tunnel.
[0070] In this embodiment, if the target data is not multicast data, the target data can be accessed through the Internet Wan, that is, a single channel of the public network. In this way, the ITV soft terminal 101 can be compatible with the access of non-multicast data and multicast data at the same time without affecting the access of the original non-multicast data. Therefore, parallel and efficient access to multicast services and Internet services is achieved, and the diversity of data access methods is improved.
[0071] In one embodiment, as shown in FIG. 5 , a data transmission method is further provided, which is described by taking the method applied to the multicast control gateway 102 in FIG. 1 as an example, and includes the following steps:
[0072] Step S501 , when receiving a data access request for target data sent by the ITV soft terminal 101 through the pre-built PPPoEov6 tunnel, obtaining an access address of the target data from the data access request.
[0073] In this embodiment, the data access request is a request initiated by the ITV soft terminal 101 for accessing the target data. When the ITV soft terminal 101 needs to access the multicast data, the access request can be sent to the multicast control gateway 102 through the pre-built PPPoEov6 tunnel, so that the multicast control gateway 102 can return the target data through the PPPoEov6 tunnel. The access address refers to the data source address that provides the target data. Since the ITV soft terminal sends the data access request to the multicast control gateway 102 through the PPPoEov6 tunnel when accessing the multicast data, the access address can be the address of the ITV multicast source 103 that provides the target data as the multicast data.
[0074] Specifically, when the ITV soft terminal 101 receives a data access request to access the target data, if the target data is multicast data, the access request can be sent to the multicast control gateway 102 through the pre-built PPPoEov6 tunnel. After the multicast control gateway 102 receives the access request through the PPPoEov6 tunnel, the access address of the target data can be extracted from the access request.
[0075] Step S502: Request target data from the ITV multicast source 103 corresponding to the access address, and return the target data to the ITV soft terminal 101 through the PPPoEov6 tunnel.
[0076] Since the access address is the address of the ITV multicast source 103 that provides the target data, the multicast control gateway 102 can use the access address to request the target data from the corresponding ITV multicast source 103. After obtaining the target data, it can return to the ITV soft terminal 101 again through the PPPoEov6 tunnel.
[0077] In the above data transmission method, when the multicast control gateway 102 receives the data access request for the target data sent by the ITV soft terminal 101 through the pre-built PPPoEov6 tunnel, the access address of the target data is obtained from the data access request; the target data is requested from the ITV multicast source 103 corresponding to the access address, and the target data is returned to the ITV soft terminal 101 through the PPPoEov6 tunnel. In this application, when the ITV soft terminal 101 receives the data access request for the target data as multicast data, the access request can be sent to the multicast control gateway 102 through the pre-built PPPoEov6 tunnel. After obtaining the target data corresponding to the data access request, the multicast control gateway can return to the ITV soft terminal 101 through the PPPoEov6 tunnel. The ITV soft terminal 101 can access the ITV multicast network through the PPPoEov6 tunnel, thereby meeting the user's need to access the ITV private network video through the soft terminal.
[0078] In one embodiment, before step S501, it may also include: upon receiving a tunnel construction request sent by the ITV soft terminal 101, which carries the terminal SID of the ITV soft terminal 101, the gateway SID of the multicast control gateway 102, and the terminal authentication information for authenticating the ITV soft terminal 101, sending the terminal authentication information to the terminal authentication module; receiving the terminal authentication result of the ITV soft terminal 101 obtained by the terminal authentication module based on the terminal authentication information, and returning the terminal authentication result to the ITV soft terminal 101; the ITV soft terminal 101 is used to use the terminal SID and the gateway SID to build a PPPoEov6 tunnel when the terminal authentication result indicates that the authentication is passed.
[0079] The tunnel construction request is a request initiated by the ITV soft terminal 101 for building a PPPoEov6 tunnel connected to the multicast control gateway 102. The terminal SID refers to the identifier corresponding to the ITV soft terminal 101, and the gateway SID refers to the identifier corresponding to the multicast control gateway 102, which can identify the multicast control gateway 102. The terminal authentication information refers to the information used to authenticate the ITV soft terminal 101, for example, it can be the user account and password of the ITV soft terminal 101.
[0080] Specifically, when the ITV soft terminal 101 needs to build a PPPoEov6 tunnel, it first needs to obtain the terminal SID, gateway SID, and terminal authentication information used to authenticate the ITV soft terminal 101, and then build a tunnel construction request based on the above information and send it to the multicast control gateway 102. After receiving the tunnel construction request, the multicast control gateway 102 can send the terminal authentication information to the terminal authentication module, for example, send the terminal authentication information to the AAA authentication module, and the terminal authentication module can return the terminal authentication result to the multicast control gateway 102 after completing the authentication using the terminal authentication information. Afterwards, the multicast control gateway 102 can return the received terminal authentication result to the ITV soft terminal 101, so that the ITV soft terminal 101 can use the terminal SID and gateway SID to build the PPPoEov6 tunnel when it is determined that the terminal authentication result indicates that the authentication is passed.
[0081] In this embodiment, when constructing a tunnel, the ITV soft terminal 101 can also be implemented by sending a tunnel construction request carrying terminal authentication information for authenticating the ITV soft terminal 101, and the multicast control gateway 102 can send the above authentication information to the terminal authentication module, and the terminal authentication module obtains the authentication result of the ITV soft terminal 101, and only constructs the PPPoEov6 tunnel after the authentication is passed. In this way, the security of the PPPoEov6 tunnel construction can be improved.
[0082] In one embodiment, a method for an itv soft terminal to carry multicast based on PPPoEov6 is also provided, which includes a PPPoEov6 dialing module, an application identification and diversion module, an authentication module, and a multicast control module. The PPPoEov6 dialing module is designed to establish a tunnel and maintain the connection between the ITV terminal and the SGW through SRv6 BE, and is used to carry multicast traffic; the application identification and diversion module can identify and distinguish multicast applications and ordinary Internet applications on the ITV, and guide the user application data flow into the tunnel or the traditional Internet channel; the authentication module is used for user legitimacy authentication and verification of the multicast access rights of the ITV terminal, ensuring that only authorized users can access the private network multicast content; the multicast control module is used to manage and optimize the transmission of multicast streams, monitor the quality and path stability of the encapsulated multicast streams in real time, ensure that data can be efficiently transmitted to terminal users, and ensure the smoothness of video playback. The specific application scenario of this method can be shown in Figure 6.
[0083] As shown in FIG. 7 , the method may include the following steps:
[0084] (1) The home gateway dials up normally through PPPoE and obtains the IPv6 interface address and PD prefix through the internet wan;
[0085] (2) After the ITV soft terminal obtains the PD prefix address through the home gateway wifi, it generates a source SID according to certain rules, obtains the remote SGW SID, and creates a service channel between the ITV terminal and the SGW through SRv6 BE. After authentication, a tunnel connection is established;
[0086] (3) The ITV soft terminal sends an IGMP request, which is then split based on the destination address through the split module: traffic to access ITV content enters the PPPoEov6 dial-up module, and other traffic is forwarded normally through the original internet wan;
[0087] (4) The SGW multicast control module requests multicast from the ITV multicast source through the BIERv6 or PIM protocol, and the multicast source sends the multicast stream to the SGW through unicast or multicast;
[0088] (5) SGW encapsulates the multicast stream into the PPPoEov6 tunnel and directly sends it to the PPPoEov6 WAN connection of the soft terminal, thus meeting the user's need to obtain ITV multicast data on the soft terminal.
[0089] The specific interaction process between system modules can be shown in Figure 8. After the optical modem, i.e., the home gateway modem, dials up PPPoE normally, it sends the relevant parameters (IPv6 interface address and PD prefix) to the ITV soft terminal. Then the ITV soft terminal sends a PPPoEov6 tunnel establishment request to the SGW. The SGW then sends an authentication request to the authentication module to the AAA authentication system. After the AAA authentication system returns the user multicast authorization list, the ITV soft terminal establishes the PPPoEov6 tunnel. After that, the ITV soft terminal can send an IGMP request to the SGW through the diversion module and tunnel encapsulation. The SGW can request multicast from the ITV multicast source through the PIM or BIERv6 protocol. The multicast source sends the multicast stream to the SGW through unicast or multicast, and the SGW returns the multicast stream to the ITV soft terminal.
[0090] Through this embodiment, a method of introducing PPPoEov6 tunnel to carry multicast in ITV soft terminal equipment is implemented to achieve parallel and efficient access to multicast services and Internet services, and compared with traditional technologies, the diversity and reliability of data acquisition are improved. In addition, IPv6 tunnel technology can be combined with multicast services, and a unique modular processing flow is designed to achieve intelligent management and control of multicast traffic, breaking the previous resource access method and providing a more flexible solution.
[0091] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0092] Based on the same inventive concept, the embodiment of the present application also provides a data transmission device for implementing the data transmission method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more data transmission method device embodiments provided below can refer to the limitations on the data transmission method above, and will not be repeated here.
[0093] In one embodiment, as shown in FIG. 9 , a data transmission device is provided, which is applied to an ITV soft terminal, and includes: an access request sending module 901 and a target data receiving module 902, wherein:
[0094] An access request sending module 901 is used to respond to a data access request for target data, and when the target data is multicast data, send the data access request to a multicast control gateway through a pre-built PPPoEov6 tunnel;
[0095] The target data receiving module 902 is used to receive the target data returned by the multicast control gateway in response to the data access request through the PPPoEov6 tunnel.
[0096] In one embodiment, the data transmission device also includes: a PPPoEov6 tunnel construction module, which is used to obtain the IPv6 interface address and the PD prefix address from the home gateway associated with the ITV soft terminal; generate the terminal SID of the ITV soft terminal according to the IPv6 interface address and the PD prefix address; obtain the gateway SID of the multicast control gateway, and use the terminal SID and the gateway SID to construct the PPPoEov6 tunnel.
[0097] In one embodiment, the PPPoEov6 tunnel construction module is further used to construct a tunnel construction request carrying the terminal SID, the gateway SID and the terminal authentication information for authenticating the ITV soft terminal; the tunnel construction request is sent to the multicast control gateway; the multicast control gateway is used to obtain the terminal authentication result of the ITV soft terminal based on the terminal authentication information, and return the terminal authentication result to the ITV soft terminal; when the terminal authentication result indicates that the authentication is passed, the PPPoEov6 tunnel is constructed using the terminal SID and the gateway SID.
[0098] In one embodiment, the ITV soft terminal carries a diversion module; the access request sending module 901 is also used to obtain the access address of the target data from the data access request through the diversion module; when the access address belongs to the ITV multicast source address, the target data is determined to be the multicast data.
[0099] In one embodiment, the access request sending module 901 is further configured to forward the data access request through the internet wan when the access address does not belong to the ITV multicast source address, so as to receive the target data through the internet wan.
[0100] In one embodiment, as shown in FIG. 10 , a data transmission device is provided, which is applied to a multicast control gateway, and includes: an access request receiving module 1001 and a target data sending module 1002, wherein:
[0101] The access request receiving module 1001 is used to obtain the access address of the target data from the data access request when receiving the data access request for the target data sent by the ITV soft terminal through the pre-built PPPoEov6 tunnel;
[0102] The target data sending module 1002 is used to request the target data from the ITV multicast source corresponding to the access address, and return the target data to the ITV soft terminal through the PPPoEov6 tunnel.
[0103] In one embodiment, the data transmission device also includes: a tunnel construction verification module, which is used to send the terminal authentication information to the terminal authentication module when receiving a tunnel construction request sent by the ITV soft terminal, which carries the terminal SID of the ITV soft terminal, the gateway SID of the multicast control gateway and the terminal authentication information used to authenticate the ITV soft terminal; receive the terminal authentication result of the ITV soft terminal obtained by the terminal authentication module based on the terminal authentication information, and return the terminal authentication result to the ITV soft terminal; the ITV soft terminal is used to use the terminal SID and the gateway SID to build the PPPoEov6 tunnel when the terminal authentication result indicates that the authentication is passed.
[0104] Each module in the above data transmission device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a communication device in the form of hardware, or can be stored in a memory in a communication device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0105] In one embodiment, a communication device is provided, which may be an ITV soft terminal, and its internal structure diagram may be shown in FIG11. The communication device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, the memory, and the input / output interface are connected via a system bus, and the communication interface, the display unit, and the input device are connected to the system bus via the input / output interface. The processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the communication device is used to exchange information between the processor and an external device. The communication interface of the communication device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner may be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a data transmission method is implemented. The display unit of the communication device is used to form a visually visible picture, which may be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the communication device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the communication device housing, or an external keyboard, touchpad or mouse.
[0106] In an exemplary embodiment, a communication device is provided, which may be a server, and its internal structure diagram may be shown in FIG12. The communication device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface is connected to the system bus via the input / output interface. The processor of the communication device is used to provide computing and control capabilities. The memory of the communication device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the communication device is used to store target data. The input / output interface of the communication device is used to exchange information between the processor and an external device. The communication interface of the communication device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a data transmission method is implemented.
[0107] Those skilled in the art will understand that the structure shown in FIG. 11 or 12 is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the communication device to which the scheme of the present application is applied. The specific communication device may include more or fewer components than shown in the figure, or combine certain components, or have a different arrangement of components.
[0108] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0109] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0110] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0111] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0112] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0113] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0114] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A data transmission method, characterized in that: Applied to an ITV soft terminal, the method comprises: In response to a data access request for target data, when the target data is multicast data, sending the data access request to a multicast control gateway through a pre-constructed PPPoEov6 tunnel; The target data returned by the multicast control gateway in response to the data access request is received through the PPPoEov6 tunnel.
2. The method according to claim 1, characterized in that Before sending the data access request to the multicast control gateway through the pre-constructed PPPoEov6 tunnel, the method further includes: Acquire the IPv6 interface address and the PD prefix address from the home gateway associated with the ITV soft terminal; Generate a terminal SID of the ITV soft terminal according to the IPv6 interface address and the PD prefix address; The gateway SID of the multicast control gateway is obtained, and the PPPoEov6 tunnel is constructed using the terminal SID and the gateway SID.
3. The method according to claim 2, characterized in that The step of constructing the PPPoEov6 tunnel for connecting the ITV soft terminal and the multicast control gateway by using the terminal SID and the gateway SID includes: Constructing a tunnel construction request carrying the terminal SID, the gateway SID and the terminal authentication information for authenticating the ITV soft terminal; The tunnel construction request is sent to the multicast control gateway; the multicast control gateway is used to obtain the terminal authentication result of the ITV soft terminal based on the terminal authentication information, and return the terminal authentication result to the ITV soft terminal; When the terminal authentication result indicates that the authentication is passed, the PPPoEov6 tunnel is constructed by using the terminal SID and the gateway SID.
4. The method according to claim 1, characterized in that: The ITV soft terminal carries a diversion module; after responding to the data access request for the target data, it also includes: Obtaining the access address of the target data from the data access request through the diversion module; In a case where the access address belongs to an ITV multicast source address, the target data is determined to be the multicast data.
5. The method according to claim 4, characterized in that After obtaining the access address of the target data from the data access request by the diversion module, the method further includes: In the case that the access address does not belong to the ITV multicast source address, the data access request is forwarded through the internet wan, so as to receive the target data through the internet wan.
6. A data transmission method, characterized in that: Applied to a multicast control gateway, the method comprises: Upon receiving a data access request for target data sent by the ITV soft terminal through the pre-built PPPoEov6 tunnel, obtaining an access address of the target data from the data access request; Request the target data from the ITV multicast source corresponding to the access address, and return the target data to the ITV soft terminal through the PPPoEov6 tunnel.
7. The method according to claim 6, characterized in that In the case of receiving a data access request for target data sent by the ITV soft terminal through the pre-built PPPoEov6 tunnel, before obtaining the access address of the target data from the data access request, the method further includes: Upon receiving a tunnel establishment request sent by the ITV soft terminal, which carries the terminal SID of the ITV soft terminal, the gateway SID of the multicast control gateway, and the terminal authentication information for authenticating the ITV soft terminal, sending the terminal authentication information to a terminal authentication module; The terminal authentication module receives a terminal authentication result of the ITV soft terminal obtained based on the terminal authentication information, and returns the terminal authentication result to the ITV soft terminal; the ITV soft terminal is used to use the terminal SID and the gateway SID to build the PPPoEov6 tunnel when the terminal authentication result indicates that the authentication is passed.
8. A data transmission device, characterized in that: Applied to ITV soft terminal, the device comprises: An access request sending module, for responding to a data access request for target data, and sending the data access request to a multicast control gateway through a pre-built PPPoEov6 tunnel when the target data is multicast data; The target data receiving module is used to receive the target data returned by the multicast control gateway in response to the data access request through the PPPoEov6 tunnel.
9. A data transmission device, characterized in that: Applied to a multicast control gateway, the device comprises: An access request receiving module, configured to, upon receiving a data access request for target data sent by the ITV soft terminal through a pre-built PPPoEov6 tunnel, obtain an access address of the target data from the data access request; The target data sending module is used to request the target data from the ITV multicast source corresponding to the access address, and return the target data to the ITV soft terminal through the PPPoEov6 tunnel.
10. A communication device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Optimized multicast distribution within a hybrid pppoe / ipoe broadband access network
CN101164311A
Communication method, device and system, terminal and computer readable storage medium
CN112188301A
IPTV multicast control method and system, computer equipment and storage medium
CN113765916A
Communication method, communication device, electronic equipment and readable storage medium
CN116234057A
Network distribution method and device and storage medium
CN117544448A