Video stream transmission method and device, communication equipment, medium and program product

By deploying CPEs at both the source and destination ends and utilizing PPPoE tunneling technology and the network control plane, the interoperability problem between different network protocols was solved, enabling efficient and secure video streaming transmission.

CN121664583APending Publication Date: 2026-03-13CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-17
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

The incompatibility of communication protocols between different networks makes network interoperability difficult. Existing solutions are inefficient and have interoperability issues, and implementation between dedicated devices is difficult.

Method used

By deploying CPEs at both the source and target ends, and leveraging existing PPPoE technology and network control plane management capabilities, a PPPoE tunnel can be established to enable network interoperability between different communication protocols, simplify configuration, and transmit video traffic via a dedicated link.

Benefits of technology

It enables efficient traffic transmission between different communication protocols, avoids network congestion and data mixing, and improves transmission efficiency and security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121664583A_ABST
    Figure CN121664583A_ABST
Patent Text Reader

Abstract

The invention relates to a video stream transmission method and device, communication equipment, a medium and a program product. The method comprises the following steps: receiving a point-to-point protocol over Ethernet (PPPoE) account on a source Ethernet sent by a network control plane; dialing a service gateway based on the source PPPoE account, so that the service gateway creates a PPPoE tunnel between the CPE on the source user side and the CPE on the target user side corresponding to the target end based on the obtained source PPPoE account and the source user equipment identifier and account matching information sent by the network control plane; wherein the account matching information comprises a matching relationship between different PPPoE accounts and the user equipment identifier; acquiring a tunnel address of the PPPoE tunnel fed back by the service gateway; and according to the tunnel address, transmitting a to-be-transmitted video sent by the source end to a service gateway through the PPPoE tunnel, so that the service gateway sends the to-be-transmitted video to a target end through the target user side CPE. By adopting the method, network transmission of flow among different communication protocols can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a video streaming method, apparatus, communication equipment, medium, and program product. Background Technology

[0002] In the current proliferation of network communication protocols, compatibility issues are prevalent between different networks, making interoperability difficult. For example, the addressing mechanism of independently developed communication protocols is not well compatible with the IPv4 and IPv6 protocols commonly used in large networks, making data transmission between large networks challenging. Current solutions generally involve dedicated network transmission, which involves complex gateway configurations or manual configurations, resulting in low communication efficiency.

[0003] Currently, the common solution for transmitting video traffic across different communication protocols is dedicated network transmission, which involves complex gateway configuration or manual configuration and has low communication efficiency. Alternatively, dedicated network equipment can be used for transmission, but this has interoperability issues between different manufacturers and is not suitable for widespread use. Summary of the Invention

[0004] Therefore, it is necessary to provide a video streaming method, apparatus, communication equipment, medium, and program product that can realize network transmission of traffic between different communication protocols to address the above-mentioned technical problems.

[0005] Firstly, this application provides a video stream transmission method, applied to a source user-side CPE corresponding to the source end, including:

[0006] Receive the PPPoE account on the source Ethernet sent by the network control plane;

[0007] Based on the source PPPoE account, a dial-up call is made to the service gateway, so that the service gateway, based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane, creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers;

[0008] Obtain the tunnel address of the PPPoE tunnel as returned by the service gateway;

[0009] Based on the tunnel address, the video to be transmitted from the source end is transmitted to the service gateway through the PPPoE tunnel, so that the service gateway can send the video to be transmitted to the target end through the target user-side CPE.

[0010] In one embodiment, the step of dialing to the service gateway based on the source PPPoE account, so that the service gateway creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane, includes:

[0011] The service gateway dials a number based on the source PPPoE account, so that the service gateway verifies whether the source PPPoE account and the source user equipment identifier match based on the matching relationship between different PPPoE accounts and user equipment identifiers, and creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end after the verification is successful.

[0012] In one embodiment, the video to be transmitted from the source end is transmitted to the service gateway through the PPPoE tunnel according to the tunnel address, including:

[0013] Determine the source LAN port used by the source user-side CPE to transmit the video to be transmitted;

[0014] From the tunnel binding relationships sent by the network control plane, find the target WAN port corresponding to the source LAN port; wherein, the tunnel binding relationship includes the binding relationship between the WAN port on the network side and the LAN port of the source user-side CPE;

[0015] Through the target WAN port, and based on the tunnel address, the video to be transmitted from the source end is transmitted to the service gateway via the PPPoE tunnel.

[0016] Secondly, this application provides a video stream transmission method applied to a service gateway, comprising:

[0017] After receiving a dial-up call from the source user-side CPE corresponding to the source end based on the source PPPoE account, a PPPoE tunnel is created between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers;

[0018] Feedback the tunnel address of the PPPoE tunnel to the source user-side CPE, so that the source user-side CPE can transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel according to the tunnel address;

[0019] The video to be transmitted is routed to the target user-side CPE, so that the target user-side CPE transmits the video to the target terminal.

[0020] In one embodiment, the step of creating a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end, based on the obtained source PPPoE account and source user equipment identifier, and the account matching information sent by the network control plane, includes:

[0021] From the account matching information, find the user device identifier corresponding to the source PPPoE account;

[0022] If the user equipment identifier corresponding to the source PPPoE account is the same as the source user equipment identifier, a PPPoE tunnel is created between the source user-side CPE and the target user-side CPE corresponding to the target end.

[0023] In one embodiment, routing the video to be transmitted to the target user-side CPE includes:

[0024] Obtain routing information and routing policies issued by the network control plane; wherein, the routing information includes the end identifier of the source end, the end identifier of the destination end, the source PPPoE account of the source user-side CPE, the destination PPPoE account of the destination user-side CPE, the source LAN port of the source user-side CPE, and the destination LAN port of the destination user-side CPE; the routing policy includes a Quality of Service (QoS) identifier;

[0025] Based on the routing information and routing policy, the video to be transmitted is routed to the target user-side CPE.

[0026] Thirdly, this application also provides a video streaming device configured on a source user-side CPE corresponding to the source end, including:

[0027] The account receiving module is used to receive PPPoE accounts sent from the source Ethernet by the network control plane.

[0028] The first creation module is used to dial into the service gateway based on the source PPPoE account, so that the service gateway can create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers.

[0029] The address acquisition module is used to acquire the tunnel address of the PPPoE tunnel returned by the service gateway;

[0030] The first transmission module is used to transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel according to the tunnel address, so that the service gateway can send the video to be transmitted to the target end through the target user-side CPE.

[0031] Fourthly, this application also provides a video stream transmission device configured in a service gateway, comprising:

[0032] The second creation module is used to receive a dial-up call made by the source user-side CPE corresponding to the source end based on the source PPPoE account, and then create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers.

[0033] The address sending module is used to feed back the tunnel address of the PPPoE tunnel to the source user-side CPE, so that the source user-side CPE can transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel according to the tunnel address.

[0034] The second transmission module is used to route the video to be transmitted to the target user-side CPE, so that the target user-side CPE transmits the video to be transmitted to the target terminal.

[0035] Fifthly, this application also provides a communication device, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the steps of the video stream transmission method provided in the first or second aspect above.

[0036] Sixthly, this application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the video streaming method provided in the first or second aspect above.

[0037] In a seventh aspect, this application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the video streaming method provided in the first or second aspect described above.

[0038] The aforementioned video stream transmission method, apparatus, communication equipment, medium, and program products receive a PPPoE account on the source Ethernet sent by the network control plane; based on the source PPPoE account, dial into the service gateway, so that the service gateway, based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane, creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers; obtain the tunnel address of the PPPoE tunnel fed back by the service gateway; and, according to the tunnel address, transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel, so that the service gateway transmits the video to be transmitted to the target end through the target user-side CPE. The above solution deploys CPEs at both the source and target ends, leveraging existing mature PPPoE technology and network control plane management capabilities to achieve network interoperability between different communication protocols. It establishes network matching relationships between multiple users through the network control plane and distributes the configurations to the service gateway, simplifying the amount and difficulty of dynamic configuration. By encapsulating video traffic in a dedicated link through PPPoE tunnels, it avoids mixing with other network traffic, reduces network congestion, and achieves efficient transmission of traffic between different communication protocols. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments or related technologies of this application, the accompanying drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0040] Figure 1 This is a diagram illustrating the application environment of a video stream transmission method in one embodiment.

[0041] Figure 2 This is a flowchart illustrating a video stream transmission method in one embodiment;

[0042] Figure 3 This is a schematic diagram illustrating the process of transmitting a video to a service gateway in one embodiment;

[0043] Figure 4 This is a flowchart illustrating a video stream transmission method in another embodiment;

[0044] Figure 5 This is a schematic diagram of the process of creating a PPPoE tunnel in one embodiment;

[0045] Figure 6 This is a schematic diagram of the process of routing the video to be transmitted to the target user-side CPE in one embodiment;

[0046] Figure 7 This is a schematic diagram of the communication transmission method used in a video transmission scenario in one embodiment;

[0047] Figure 8 This is a schematic diagram illustrating the communication relationship between user-side devices in one embodiment;

[0048] Figure 9 This is a structural block diagram of a video stream transmission device in one embodiment;

[0049] Figure 10 This is a structural block diagram of a video streaming device in another embodiment;

[0050] Figure 11 This is an internal structural diagram of a communication device in one embodiment. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0052] The video stream transmission method provided in this application embodiment can be applied to, for example... Figure 1 The application environment is shown below. Source device 101 is the video source device for the video to be transmitted. Customer Premises Equipment (CPE) is a terminal device provided by the network service provider to the user and installed at the user's premises (such as a home or business). It serves as the boundary device between the user's network and the operator's wide area network, acting as a bridge between the user's internal network and the external public network. Source CPE 102 is the customer-side client device installed at the source device. Target device 103 is the receiving device for the video to be transmitted, and target CPE 104 is the customer-side client device installed at the target device. Network control plane 105 is the core logic layer responsible for decision-making and control, and service gateway 106 is the video stream service anchor point responsible for scheduling video stream services. The customer-side CPE and service gateway are connected via the main network. The network control layer matches different PPPoE (Point-to-Point Protocol over Ethernet) accounts and distributes them to the customer-side CPE and service gateway devices according to the different communication protocols used for user video stream transmission.

[0053] In one exemplary embodiment, such as Figure 2 As shown, a video streaming method is provided, which is applied to... Figure 1 The following steps are described using the source user-side CPE102:

[0054] S201, Receive the PPPoE account on the source Ethernet sent by the network control plane.

[0055] Among them, the source PPPoE account is the core identifier used for identity authentication, session establishment, and service billing when the source user-side CPE accesses the network via the PPPoE protocol.

[0056] It should be noted that the network control plane allocates a dedicated source PPPoE account to the source user-side CPE from the PPPoE account resource pool based on the CPE's registration information. Simultaneously, the network control plane updates its local mapping table, establishing a correspondence between the source PPPoE account, user equipment identifier, and service gateway address, laying the foundation for subsequent tunnel establishment and routing configuration. The user equipment identifier is the device identifier of the source user-side CPE. The network control plane encapsulates the allocated source PPPoE account and the basic configuration parameters required by the source user-side CPE into a unified configuration command. This command is transmitted using encryption to prevent the account from being stolen or tampered with during transmission.

[0057] S202, based on the source PPPoE account, dials to the service gateway so that the service gateway can create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane.

[0058] The account matching information includes the matching relationship between different PPPoE accounts and user device identifiers.

[0059] Optionally, the source user-side CPE reads the source PPPoE account and configuration parameters pre-issued by the network control plane from local storage, activates the PPPoE dialing module, and prepares to initiate a connection. Based on the source PPPoE account, the source user-side CPE dials into the service gateway. The service gateway forwards the source PPPoE account and source user device identifier submitted by the source user-side CPE to the authentication server. The server verifies the account matching information pre-synchronized with the network control plane; upon successful verification, it returns an authentication success response.

[0060] For example, a dial-up call is made to the service gateway based on the source PPPoE account, so that the service gateway verifies whether the source PPPoE account and the source user equipment identifier match based on the matching relationship between different PPPoE accounts and user equipment identifiers, and creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end after the verification is successful.

[0061] After successful authentication, the service gateway negotiates network layer parameters with the source user-side CPE via IPCP (Internet Protocol Control Protocol), assigning an inner IPv4 / IPv6 address (for end-to-end data transmission) and an outer IPv6 address (for tunnel encapsulation) to the source user-side CPE, and generating a tunnel endpoint identifier. The service gateway then locates the corresponding target PPPoE account through the source PPPoE account, thereby obtaining the tunnel endpoint information of the target CPE. Based on the tunnel endpoint information of the source and target user-side CPEs, the service gateway establishes a bidirectional PPPoE tunnel locally.

[0062] S203, obtain the tunnel address of the PPPoE tunnel returned by the service gateway.

[0063] The tunnel address of a PPPoE tunnel is a set of addresses used to identify tunnel endpoints, locate transmission paths, and support data encapsulation and forwarding.

[0064] Optionally, after the service gateway constructs the PPPoE tunnel, it sends a tunnel establishment success response to the source user-side CPE, including the inner / outer address of the source user-side CPE, the tunnel identifier, and the inner address of the target end (for the CPE to encapsulate data). At the same time, the service gateway pushes the source tunnel association information to the target CPE, informing the target user-side CPE that it needs to receive tunnel data from the source user-side CPE. The target user-side CPE returns a response after confirmation.

[0065] S204. Based on the tunnel address, the video to be transmitted from the source end is transmitted to the service gateway through the PPPoE tunnel, so that the service gateway can send the video to be transmitted to the target end through the target user-side CPE.

[0066] Optionally, the PPPoE tunnel module of the source user-side CPE calls the encapsulation logic to perform layered encapsulation of the video to be transmitted. The inner encapsulation retains the original IP header of the video stream (using the inner IPv4 / IPv6 address assigned by the service gateway; the source address is the inner address of the source user-side CPE, and the destination address is the inner address of the target user-side CPE), ensuring end-to-end address recognition. The outer encapsulation adds a PPPoE frame header (containing the previously established PPPoE session identifier) ​​and an IPv6 header (using the outer IPv6 address; the source address is the outer address of the source user-side CPE, and the destination address is the outer address of the service gateway), used to locate the service gateway in the access network. Based on the obtained tunnel address (outer IPv6 address + session identifier), the source user-side CPE sends the encapsulated video to be transmitted to the access network. The video follows a preset routing policy and is directed to the service gateway. The entire process achieves isolated transmission through the PPPoE tunnel, preventing data from being illegally intercepted or tampered with.

[0067] The PPPoE session module of the service gateway listens on a designated port and receives data to be transmitted from the source user-side CPE. First, it parses the outer IPv6 header and PPPoE frame header, confirms the corresponding PPPoE tunnel through the session identifier, and verifies the integrity of the video to be transmitted. If the verification passes, it strips the outer encapsulation to obtain the inner video data stream and the inner address of the target user-side CPE. The service gateway queries its locally stored PPPoE account-device-address mapping table, and locates the corresponding target PPPoE account, the outer address of the target user-side CPE, and the session identifier based on the inner address of the target user-side CPE in the inner video data stream. Subsequently, the service gateway re-encapsulates the video data stream (the outer IPv6 address source is the service gateway, the destination is the outer address of the target user-side CPE, and the PPPoE frame header carries the target session identifier), and sends the encapsulated data packet to the access network where the target user-side CPE resides according to a preset routing policy.

[0068] The target user-side CPE listens for data packets on the access network. When it receives a data packet from the service gateway, it identifies the packet as belonging to an established PPPoE tunnel through the outer PPPoE session identifier and outer address, and forwards it to the local tunnel module. The tunnel module of the target user-side CPE strips the outer encapsulation of the data packet (IPv6 header and PPPoE frame header) and extracts the inner video data stream. Subsequently, according to the locally configured routing rules, it forwards the raw video data stream to the LAN (Local Area Network) port accessed by the target device, and finally delivers it to the target device (such as a monitor, storage server, video player, etc.).

[0069] In the aforementioned video stream transmission method, the following steps are taken: First, a PPPoE account from the source Ethernet network is received from the network control plane. Second, based on the source PPPoE account, a dial-up connection is established with the service gateway. This allows the service gateway to create a PPPoE tunnel between the source user-side CPE and the target user-side CPE, based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane. The account matching information includes the matching relationships between different PPPoE accounts and user equipment identifiers. Third, the tunnel address of the PPPoE tunnel is obtained from the service gateway. Fourth, based on the tunnel address, the video to be transmitted from the source end is transmitted to the service gateway via the PPPoE tunnel, enabling the service gateway to transmit the video to the target end via the target user-side CPE. The above solution deploys CPEs at both the source and target ends, leveraging existing mature PPPoE technology and network control plane management capabilities to achieve network interoperability between different communication protocols. It establishes network matching relationships between multiple users through the network control plane and distributes the configurations to the service gateway, simplifying the amount and difficulty of dynamic configuration. By encapsulating video traffic in a dedicated link through PPPoE tunnels, it avoids mixing with other network traffic, reduces network congestion, and achieves efficient transmission of traffic between different communication protocols.

[0070] Optionally, in an exemplary embodiment, such as Figure 3 As shown, a method for transmitting video to a service gateway is provided, which specifically includes the following steps:

[0071] S301, determine the source LAN port used by the source user-side CPE to transmit the video to be transmitted.

[0072] Optionally, the source video device (such as a camera or video server) connects the video stream to be transmitted to a LAN port of the source user-side CPE via a network cable. The interface module of the LAN port of the source user-side CPE monitors the traffic input status of each port in real time. When a video data stream is detected, it records the physical LAN port number corresponding to the traffic (such as LAN1, LAN2, or based on the port MAC (Media Access Control) address). This port is the source LAN port.

[0073] S302: From the tunnel binding relationship sent by the network control plane, find the target WAN port corresponding to the source LAN port.

[0074] The tunnel binding relationship includes the binding relationship between the WAN port on the network side and the LAN port of the CPE on the source user side.

[0075] Optionally, the source user-side CPE reads the tunnel binding relationship pre-issued by the network control plane from its local non-volatile memory. The tunnel binding relationship is generated by the network control plane according to service requirements, and its core content is a one-to-one or many-to-one mapping relationship between the CPE's LAN port number and WAN port number (e.g., LAN1 bound to WAN2, LAN3 bound to WAN2), explicitly specifying which WAN port traffic should be forwarded through for different LAN ports.

[0076] The source user-side CPE uses the identified source LAN port as an index to perform a matching query in the tunnel binding relationship table. For example, if the source LAN port is LAN1, and the query finds its corresponding WAN port to be WAN2, then WAN2 is the target WAN port, which is pre-configured to carry video traffic for the PPPoE tunnel. After the query is complete, the source user-side CPE verifies the status of the target WAN port (e.g., whether it is started normally, whether PPPoE dialing has been completed and the tunnel has been established). If the port status is normal and the tunnel has been established, the subsequent transmission process begins; if the port is abnormal (e.g., not enabled) or the tunnel has not been established, the source user-side CPE records an error log and reports it to the network control plane for fault handling.

[0077] S303 transmits the video to be transmitted from the source to the service gateway via a PPPoE tunnel through the target WAN port, based on the tunnel address.

[0078] Optionally, the traffic forwarding module of the source user-side CPE forwards the video data stream from the source LAN port to the processing module corresponding to the target WAN port according to the binding relationship. This establishes an internal path for video traffic from the source LAN port to the target WAN port, avoiding confusion with ordinary data traffic carried by other WAN ports. After receiving the video data stream, the PPPoE tunnel module of the target WAN port performs layered processing on the data according to preset encapsulation rules. During the encapsulation process, the source user-side CPE binds the tunnel address (inner layer + outer layer address, session identifier) ​​to the target WAN port, ensuring that data is transmitted only through the PPPoE tunnel corresponding to that WAN port.

[0079] After encapsulation, the source user-side CPE sends the video data packets to the access network through the target WAN port. Based on the outer tunnel address and preset routing policy, the data packets are directed to the corresponding service gateway, completing the end-to-end data forwarding.

[0080] In this embodiment, by binding the LAN port to the WAN port, video traffic is strictly separated from other ordinary data, preventing non-video traffic from occupying bandwidth resources for video transmission and reducing video stuttering and latency issues caused by network congestion. The binding relationship between the source LAN port and the target WAN port is uniformly configured by the network control plane, avoiding randomness in traffic forwarding within the CPE and ensuring that the video stream is always transmitted through a preset PPPoE tunnel. The path is predictable and monitorable, reducing the risk of transmission interruption due to routing fluctuations.

[0081] In one exemplary embodiment, such as Figure 4 As shown, a video streaming method is provided, which is applied to... Figure 1 The following steps are explained regarding the business gateway in the process:

[0082] S401: After receiving a dial-up call made by the source user-side CPE based on the source PPPoE account, the system creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane.

[0083] The account matching information includes the matching relationship between different PPPoE accounts and user device identifiers.

[0084] Optionally, the service gateway listens on a designated port to receive PPPoE dialing requests initiated by the source user-side CPE. It extracts core identification information from the request message, including the source PPPoE account and the source user equipment identifier. The service gateway then calls locally stored account matching information pre-issued by the network control plane (this information includes the mapping relationship between PPPoE accounts and user equipment identifiers, as well as the communication mapping relationship between the source PPPoE account and the target PPPoE account). Using the source PPPoE account and the source user equipment identifier as indexes, it first verifies the legality of their binding (to prevent account theft), then locates the target PPPoE account corresponding to the target end through the mapping relationship, and subsequently associates it with the target user equipment identifier and the network access information of the target user-side CPE.

[0085] The service gateway creates a bidirectional PPPoE tunnel based on the identification information and access parameters of the source user-side CPE and the target user-side CPE.

[0086] S402, feed back the tunnel address of the PPPoE tunnel to the source user-side CPE, so that the source user-side CPE can transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel according to the tunnel address.

[0087] Optionally, after the PPPoE tunnel is created, the service gateway organizes the tunnel address set for the PPPoE tunnel, including the inner IPv4 / IPv6 address (used for end-to-end service identification) and outer IPv6 address (used for tunnel link routing) corresponding to the source user-side CPE, as well as key identifiers such as tunnel identifier and session identifier, and encapsulates it into a tunnel establishment success response message. The service gateway sends the encapsulated response message to the source user-side CPE through the PPPoE session channel. After receiving it, the source CPE completes the targeted encapsulation and tunnel transmission configuration of local video traffic based on this, preparing for subsequent video data transmission.

[0088] S403 routes the video to be transmitted to the target user-side CPE, so that the target user-side CPE can transmit the video to the target end.

[0089] Optionally, after the source user-side CPE completes the layered encapsulation of the video stream based on the tunnel address, it sends the video data packets to be transmitted to the service gateway. The service gateway identifies the corresponding tunnel through the tunnel identifier and session identifier, receives the data packets, and verifies their integrity. The service gateway strips the outer encapsulation of the data packets, extracts the target identifier from the inner address, and, in conjunction with local tunnel routing rules, re-encapsulates the video data packets into a tunnel format adapted to the target user-side CPE. Subsequently, it routes the data packets to the target user-side CPE through the access network where the target user-side CPE resides. After receiving the data packets, the target user-side CPE identifies the corresponding session through the tunnel identifier, strips the outer encapsulation to extract the original video stream, and then transmits the video stream to the target device (such as a monitor, storage server, or video player) according to the locally configured port forwarding rules.

[0090] The above method achieves accurate mapping between the source and target ends through account matching information, avoiding incorrect tunnel construction or chaotic data forwarding, ensuring that the video stream is transmitted only between the specified source and target ends, improving the accuracy of cross-network video transmission. Furthermore, the PPPoE tunnel provides a dedicated transmission channel for video traffic, and combined with dual-layer address encapsulation to hide the core address information on the end side, it not only isolates ordinary network traffic but also prevents video data from being illegally intercepted or tampered with, thus strengthening data transmission security.

[0091] Optionally, in one embodiment, such as Figure 5 As shown, a method for creating a PPPoE tunnel is provided, which specifically includes the following steps:

[0092] S501, find the user equipment identifier corresponding to the source PPPoE account from the account matching information.

[0093] Optionally, the service gateway can retrieve the user equipment identifier registered in the system for the source PPPoE account from the account matching information pre-issued by the network control plane. This identifier represents the official binding relationship between the account and the device, and is used to confirm the legitimate use of the PPPoE account by the device.

[0094] S502, if the user equipment identifier corresponding to the source PPPoE account is the same as the source user equipment identifier, create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end.

[0095] Optionally, the service gateway will compare the account registration device identifier found with the source user device identifier carried in the dialing request by the source user-side CPE. If they match, it will confirm that the source user-side CPE making the current dialing is the legitimate holder of the PPPoE account and has the authority to establish a tunnel, and then trigger the PPPoE tunnel creation process between the source user-side CPE and the target user-side CPE. If they do not match, it will be determined that the account is stolen or the device is illegally accessed, the tunnel establishment request will be rejected, the anomaly will be reported to the network control plane, and logs will be recorded for subsequent tracing.

[0096] In this embodiment, strong binding verification between account and device identifiers prevents PPPoE accounts from being stolen by unauthorized devices to establish tunnels for data transmission, avoids confusion in business ownership due to account sharing, and ensures that both ends of the subsequent video stream transmission are legitimate nodes authorized by the system, providing a preliminary guarantee for the integrity and confidentiality of cross-network video data.

[0097] Optionally, in one embodiment, such as Figure 6 As shown, a method for routing video to be transmitted to a target user-side CPE is provided, which specifically includes the following steps:

[0098] S601, obtains routing information and routing policies issued by the network control plane.

[0099] The routing information includes the source end identifier, the destination end identifier, the source PPPoE account of the source user-side CPE, the destination PPPoE account of the destination user-side CPE, the source LAN port of the source user-side CPE, and the destination LAN port of the destination user-side CPE; the routing policy includes the QoS (Quality of Service) identifier.

[0100] Optionally, the service gateway receives routing configurations from the network control plane via a dedicated control channel. This configuration includes two core components. The routing information contains key identifiers for end-to-end transmission, such as the source / destination identifiers (e.g., unique device identifiers), the source / destination PPPoE accounts (associating the identities of the CPEs at both ends), the source LAN port (video stream access port) of the source user-side CPE, and the destination LAN port (video stream output port) of the destination user-side CPE. This information constitutes the complete path identifier from source to destination, clearly defining the start, end, and intermediate node relationships of the video stream. The core of the routing policy is the Quality of Service (QoS) identifier (e.g., priority level, bandwidth guarantee threshold, latency cap), used to define the transmission quality requirements of the video stream.

[0101] The service gateway stores routing information in its local end-to-end routing table, establishing a multi-dimensional mapping relationship. Simultaneously, it associates QoS identifiers with the underlying forwarding mechanism (such as binding queue priority and bandwidth scheduling algorithms) to provide a configuration basis for subsequent forwarding. When the service gateway receives a video stream to be transmitted from the PPPoE tunnel of the source user-side CPE, it first parses the source PPPoE account (extracted from the tunnel session information) and source LAN port identifier (associated through inner encapsulation or tunnel binding relationships) in the data packet. Combining this with the local routing table, it locates the source identifier and target information (target PPPoE account, target identifier, and target LAN port) corresponding to the video stream.

[0102] S602 routes the video to be transmitted to the target user-side CPE based on routing information and routing policies.

[0103] Optionally, the service gateway performs differentiated processing on the video stream based on the QoS identifier in the routing policy. The service gateway then re-encapsulates the QoS-processed video stream according to the tunnel information (outer address of the target CPE, session identifier) ​​corresponding to the target PPPoE account, and routes the data packets to the target user-side CPE through the access network where the target user-side CPE resides. Simultaneously, traffic statistics (such as byte count and forwarding latency) are recorded during the forwarding process for subsequent billing and quality analysis. After receiving the video stream, the target user-side CPE forwards it to the target device (such as a monitor or storage server) according to the target LAN port in the routing information, completing the end-to-end transmission.

[0104] It should be noted that the network control plane can dynamically adjust routing policies (such as modifying QoS flags) to adapt to the needs of different video services (such as temporarily increasing the priority of a certain emergency monitoring video), without modifying the underlying device hardware, thereby improving service response speed.

[0105] In this embodiment, based on multi-dimensional routing information (account, port, endpoint identifier), the service gateway can accurately locate the source and destination of the video stream, avoiding routing confusion in cross-network scenarios.

[0106] In one embodiment, for user-side device access, in a video transmission scenario, the currently used communication transmission method is as follows: Figure 7 As shown in the diagram, firstly, a CPE device with PPPoEov6 capability is provided to the user. Before video stream transmission is initiated, a PPPoEov6 dial-up connection is established to the service gateway, and the CPE device obtains an IPv4 / IPv6 address. The network control plane provides the CPE with engineering-mode configuration of the binding relationship between the video source and the LAN port directly connected to the CPE and the dial-up WAN port, ensuring that video source traffic can reach the service gateway through the CPE's LAN and WAN ports. At this point, the routing from the end device to the service gateway has been established.

[0107] For network-side configuration, the network control plane records the communication relationships between user-side devices, such as... Figure 8 As shown, this includes the video source identifier, target network identifier, dial-up accounts for both parties, and the CPE interconnection LAN port. The network control plane translates the communication relationship into routing information and distributes it to the service gateway, establishing routing between the two users. At this point, the video source and destination networks have completed network connectivity. If network bandwidth is sufficient, the network control plane can dynamically issue QoS identifiers to the CPE devices to improve transmission quality. First, user-side CPE devices are provided to both users requiring video transmission. The network control plane manages the CPEs and issues dial-up accounts and LAN / WAN port binding relationships. After dialing, the CPEs can obtain IPv4 / IPv6 addresses, completing routing between the user devices and the service gateway. Subsequently, the network control plane issues the communication relationship and routing configuration between the user-side devices to the service gateway, thus establishing routing between the two parties. The video stream is transmitted through a PPPoEov6 tunnel. Utilizing the characteristics of the PPPoEov6 protocol, dialing can obtain IPv4 / IPv6 addresses; therefore, there are outer and inner IPv4 / IPv6 addresses. The outer address only needs to establish a route to the service gateway, ensuring the security of video stream transmission. The inner address completes user account-level network configuration through the network control plane, which can establish end-to-end tunnel routing and monitor duration, traffic, and bandwidth to meet the billing requirements of operators.

[0108] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0109] Based on the same inventive concept, this application also provides a video stream transmission apparatus for implementing the video stream transmission method described above. The solution provided by this apparatus is similar to the implementation described in the above method; therefore, the specific limitations in one or more video stream transmission apparatus embodiments provided below can be found in the limitations of the video stream transmission method described above, and will not be repeated here.

[0110] In one exemplary embodiment, such as Figure 9 As shown, a video streaming device 900 is provided, configured on the source user-side CPE, including: an account receiving module 910, a first creation module 920, an address acquisition module 930, and a first transmission module 940, wherein:

[0111] The account receiving module 910 is used to receive PPPoE accounts on the source Ethernet sent by the network control plane.

[0112] The first creation module 920 is used to dial into the service gateway based on the source PPPoE account, so that the service gateway can create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers.

[0113] The address acquisition module 930 is used to obtain the tunnel address of the PPPoE tunnel returned by the service gateway.

[0114] The first transmission module 940 is used to transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel according to the tunnel address, so that the service gateway can send the video to be transmitted to the target end through the target user-side CPE.

[0115] In one embodiment, the first creation module 920 is specifically used for:

[0116] The service gateway dials the source PPPoE account, so that the service gateway can verify whether the source PPPoE account and the source user equipment identifier match based on the matching relationship between different PPPoE accounts and user equipment identifiers, and create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end after the verification is successful.

[0117] In one embodiment, the first transmission module 940 is specifically used for:

[0118] Determine the source LAN port used by the source user-side CPE to transmit the video to be transmitted; find the target WAN port corresponding to the source LAN port from the tunnel binding relationship sent by the network control plane; wherein, the tunnel binding relationship includes the binding relationship between the WAN port on the network side and the LAN port of the source user-side CPE; transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel via the target WAN port and according to the tunnel address.

[0119] In one exemplary embodiment, such as Figure 10 As shown, a video stream transmission device 1000 is provided, configured in a service gateway, including: a second creation module 1010, an address sending module 1020, and a second transmission module 1030, wherein:

[0120] The second creation module 1010 is used to receive a dial-up call made by the source user-side CPE corresponding to the source end based on the source PPPoE account, and then create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers.

[0121] The address sending module 1020 is used to feed back the tunnel address of the PPPoE tunnel to the source user-side CPE, so that the source user-side CPE can transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel according to the tunnel address.

[0122] The second transmission module 1030 is used to route the video to be transmitted to the target user-side CPE, so that the target user-side CPE can transmit the video to the target end.

[0123] In one embodiment, the second creation module 1010 is specifically used for:

[0124] From the account matching information, find the user equipment identifier corresponding to the source PPPoE account; if the user equipment identifier corresponding to the source PPPoE account is the same as the source user equipment identifier, create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end.

[0125] In one embodiment, the second transmission module 1030 is specifically used for:

[0126] Obtain routing information and routing policies issued by the network control plane; wherein, the routing information includes the source end identifier, the destination end identifier, the source PPPoE account of the source user-side CPE, the destination PPPoE account of the destination user-side CPE, the source LAN port of the source user-side CPE, and the destination LAN port of the destination user-side CPE; the routing policy includes the Quality of Service (QoS) identifier; based on the routing information and routing policy, route the video to be transmitted to the destination user-side CPE.

[0127] Each module in the aforementioned video streaming device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of the communication device in hardware form or independent of it, or stored in the memory of the communication device in software form, so that the processor can call and execute the corresponding operations of each module.

[0128] In one exemplary embodiment, a communication device is provided, the internal structure of which can be shown in the following diagram. Figure 11 As shown, the communication device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and databases. The internal memory provides the environment for the operating system and computer programs stored in the non-volatile storage media. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communication with external terminals via a network connection. When the computer program is executed by the processor, it implements a video streaming method.

[0129] Those skilled in the art will understand that Figure 11 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the communication device to which the present application is applied. Specific communication devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0130] In one exemplary embodiment, a communication device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0131] Receive the PPPoE account on the source Ethernet sent by the network control plane;

[0132] Based on the source PPPoE account, a dial-up call is made to the service gateway, so that the service gateway can create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers.

[0133] Obtain the tunnel address of the PPPoE tunnel returned by the service gateway;

[0134] Based on the tunnel address, the video to be transmitted from the source end is transmitted to the service gateway through the PPPoE tunnel, so that the service gateway can send the video to be transmitted to the target end through the target user-side CPE.

[0135] In one embodiment, when the processor executes a computer program to dial a service gateway based on the source PPPoE account, and the service gateway creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane, the following steps are also implemented:

[0136] The service gateway dials the source PPPoE account, so that the service gateway can verify whether the source PPPoE account and the source user equipment identifier match based on the matching relationship between different PPPoE accounts and user equipment identifiers, and create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end after the verification is successful.

[0137] In one embodiment, when the processor executes a computer program to transmit the video to be transmitted from the source end to the service gateway through a PPPoE tunnel based on the tunnel address, it also performs the following steps:

[0138] Determine the source LAN port used by the source user-side CPE to transmit the video to be transmitted; find the target WAN port corresponding to the source LAN port from the tunnel binding relationship sent by the network control plane; wherein, the tunnel binding relationship includes the binding relationship between the WAN port on the network side and the LAN port of the source user-side CPE; transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel via the target WAN port and according to the tunnel address.

[0139] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0140] Receive the PPPoE account on the source Ethernet sent by the network control plane;

[0141] Based on the source PPPoE account, a dial-up call is made to the service gateway, so that the service gateway can create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers.

[0142] Obtain the tunnel address of the PPPoE tunnel returned by the service gateway;

[0143] Based on the tunnel address, the video to be transmitted from the source end is transmitted to the service gateway through the PPPoE tunnel, so that the service gateway can send the video to be transmitted to the target end through the target user-side CPE.

[0144] In one embodiment, when the processor executes a computer program to dial a service gateway based on the source PPPoE account, and the service gateway creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane, the following steps are also implemented:

[0145] The service gateway dials the source PPPoE account, so that the service gateway can verify whether the source PPPoE account and the source user equipment identifier match based on the matching relationship between different PPPoE accounts and user equipment identifiers, and create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end after the verification is successful.

[0146] In one embodiment, when the processor executes a computer program to transmit the video to be transmitted from the source end to the service gateway through a PPPoE tunnel based on the tunnel address, it also performs the following steps:

[0147] Determine the source LAN port used by the source user-side CPE to transmit the video to be transmitted; find the target WAN port corresponding to the source LAN port from the tunnel binding relationship sent by the network control plane; wherein, the tunnel binding relationship includes the binding relationship between the WAN port on the network side and the LAN port of the source user-side CPE; transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel via the target WAN port and according to the tunnel address.

[0148] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0149] Receive the PPPoE account on the source Ethernet sent by the network control plane;

[0150] Based on the source PPPoE account, a dial-up call is made to the service gateway, so that the service gateway can create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers.

[0151] Obtain the tunnel address of the PPPoE tunnel returned by the service gateway;

[0152] Based on the tunnel address, the video to be transmitted from the source end is transmitted to the service gateway through the PPPoE tunnel, so that the service gateway can send the video to be transmitted to the target end through the target user-side CPE.

[0153] In one embodiment, when the processor executes a computer program to dial a service gateway based on the source PPPoE account, and the service gateway creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane, the following steps are also implemented:

[0154] The service gateway dials the source PPPoE account, so that the service gateway can verify whether the source PPPoE account and the source user equipment identifier match based on the matching relationship between different PPPoE accounts and user equipment identifiers, and create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end after the verification is successful.

[0155] In one embodiment, when the processor executes a computer program to transmit the video to be transmitted from the source end to the service gateway through a PPPoE tunnel based on the tunnel address, it also performs the following steps:

[0156] Determine the source LAN port used by the source user-side CPE to transmit the video to be transmitted; find the target WAN port corresponding to the source LAN port from the tunnel binding relationship sent by the network control plane; wherein, the tunnel binding relationship includes the binding relationship between the WAN port on the network side and the LAN port of the source user-side CPE; transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel via the target WAN port and according to the tunnel address.

[0157] In one exemplary embodiment, a communication device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0158] After receiving a dial-up call from the source user-side CPE based on the source PPPoE account, a PPPoE tunnel is created between the source user-side CPE and the target user-side CPE based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers;

[0159] Feedback the PPPoE tunnel address to the source user-side CPE so that the source user-side CPE can transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel based on the tunnel address.

[0160] The video to be transmitted is routed to the target user-side CPE so that the target user-side CPE can transmit the video to the target end.

[0161] In one embodiment, when the processor executes a computer program to create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane, the following steps are also implemented:

[0162] From the account matching information, find the user equipment identifier corresponding to the source PPPoE account; if the user equipment identifier corresponding to the source PPPoE account is the same as the source user equipment identifier, create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end.

[0163] In one embodiment, when the processor executes a computer program to route the video to be transmitted to the target user-side CPE, it also performs the following steps:

[0164] Obtain routing information and routing policies issued by the network control plane; wherein, the routing information includes the source end identifier, the destination end identifier, the source PPPoE account of the source user-side CPE, the destination PPPoE account of the destination user-side CPE, the source LAN port of the source user-side CPE, and the destination LAN port of the destination user-side CPE; the routing policy includes the Quality of Service (QoS) identifier; based on the routing information and routing policy, route the video to be transmitted to the destination user-side CPE.

[0165] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0166] After receiving a dial-up call from the source user-side CPE based on the source PPPoE account, a PPPoE tunnel is created between the source user-side CPE and the target user-side CPE based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers;

[0167] Feedback the PPPoE tunnel address to the source user-side CPE so that the source user-side CPE can transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel based on the tunnel address.

[0168] The video to be transmitted is routed to the target user-side CPE so that the target user-side CPE can transmit the video to the target end.

[0169] In one embodiment, when the processor executes a computer program to create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane, the following steps are also implemented:

[0170] From the account matching information, find the user equipment identifier corresponding to the source PPPoE account; if the user equipment identifier corresponding to the source PPPoE account is the same as the source user equipment identifier, create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end.

[0171] In one embodiment, when the processor executes a computer program to route the video to be transmitted to the target user-side CPE, it also performs the following steps:

[0172] Obtain routing information and routing policies issued by the network control plane; wherein, the routing information includes the source end identifier, the destination end identifier, the source PPPoE account of the source user-side CPE, the destination PPPoE account of the destination user-side CPE, the source LAN port of the source user-side CPE, and the destination LAN port of the destination user-side CPE; the routing policy includes the Quality of Service (QoS) identifier; based on the routing information and routing policy, route the video to be transmitted to the destination user-side CPE.

[0173] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0174] After receiving a dial-up call from the source user-side CPE based on the source PPPoE account, a PPPoE tunnel is created between the source user-side CPE and the target user-side CPE based on the obtained source PPPoE account, source user equipment identifier, and account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers;

[0175] Feedback the PPPoE tunnel address to the source user-side CPE so that the source user-side CPE can transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel based on the tunnel address.

[0176] The video to be transmitted is routed to the target user-side CPE so that the target user-side CPE can transmit the video to the target end.

[0177] In one embodiment, when the processor executes a computer program to create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane, the following steps are also implemented:

[0178] From the account matching information, find the user equipment identifier corresponding to the source PPPoE account; if the user equipment identifier corresponding to the source PPPoE account is the same as the source user equipment identifier, create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end.

[0179] In one embodiment, when the processor executes a computer program to route the video to be transmitted to the target user-side CPE, it also performs the following steps:

[0180] Obtain routing information and routing policies issued by the network control plane; wherein, the routing information includes the source end identifier, the destination end identifier, the source PPPoE account of the source user-side CPE, the destination PPPoE account of the destination user-side CPE, the source LAN port of the source user-side CPE, and the destination LAN port of the destination user-side CPE; the routing policy includes the Quality of Service (QoS) identifier; based on the routing information and routing policy, route the video to be transmitted to the destination user-side CPE.

[0181] It should be noted that the data involved in this application (including but not limited to data used for analysis, data stored, data displayed, etc.) are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data must comply with relevant regulations.

[0182] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile 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. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0183] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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 specification.

[0184] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A video stream transmission method, characterized in that, The method, applied to the source user-side client device (CPE) corresponding to the source end, includes: Receive the PPPoE account on the source Ethernet sent by the network control plane; Based on the source PPPoE account, a dial-up call is made to the service gateway, so that the service gateway, based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane, creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers; Obtain the tunnel address of the PPPoE tunnel as returned by the service gateway; Based on the tunnel address, the video to be transmitted from the source end is transmitted to the service gateway through the PPPoE tunnel, so that the service gateway can send the video to be transmitted to the target end through the target user-side CPE.

2. The method according to claim 1, characterized in that, The step of dialing to the service gateway based on the source PPPoE account, so that the service gateway, based on the obtained source PPPoE account and source user equipment identifier, and the account matching information sent by the network control plane, creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end, includes: The service gateway dials a number based on the source PPPoE account, so that the service gateway verifies whether the source PPPoE account and the source user equipment identifier match based on the matching relationship between different PPPoE accounts and user equipment identifiers, and creates a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end after the verification is successful.

3. The method according to claim 1, characterized in that, Based on the tunnel address, the video to be transmitted from the source end is transmitted to the service gateway through the PPPoE tunnel, including: Determine the source LAN port used by the source user-side CPE to transmit the video to be transmitted; From the tunnel binding relationships sent by the network control plane, find the target WAN port corresponding to the source LAN port; wherein, the tunnel binding relationship includes the binding relationship between the WAN port on the network side and the LAN port of the source user-side CPE; Through the target WAN port, and based on the tunnel address, the video to be transmitted from the source end is transmitted to the service gateway via the PPPoE tunnel.

4. A video stream transmission method, characterized in that, Applied to a business gateway, the method includes: After receiving a dial-up call from the source user-side CPE corresponding to the source end based on the source PPPoE account, a PPPoE tunnel is created between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers; Feedback the tunnel address of the PPPoE tunnel to the source user-side CPE, so that the source user-side CPE can transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel according to the tunnel address; The video to be transmitted is routed to the target user-side CPE, so that the target user-side CPE transmits the video to the target terminal.

5. The method according to claim 4, characterized in that, The step of creating a PPPoE tunnel between the source user-side CPE and the target user-side CPE based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane, includes: From the account matching information, find the user device identifier corresponding to the source PPPoE account; If the user equipment identifier corresponding to the source PPPoE account is the same as the source user equipment identifier, a PPPoE tunnel is created between the source user-side CPE and the target user-side CPE corresponding to the target end.

6. The method according to claim 4, characterized in that, The step of routing the video to be transmitted to the target user-side CPE includes: Obtain routing information and routing policies issued by the network control plane; wherein, the routing information includes the end identifier of the source end, the end identifier of the destination end, the source PPPoE account of the source user-side CPE, the destination PPPoE account of the destination user-side CPE, the source LAN port of the source user-side CPE, and the destination LAN port of the destination user-side CPE; the routing policy includes a Quality of Service (QoS) identifier; Based on the routing information and routing strategy, the video to be transmitted is routed to the target user-side CPE.

7. A video stream transmission device, characterized in that, The device, configured on the source user-side CPE corresponding to the source end, includes: The account receiving module is used to receive PPPoE accounts on the source Ethernet sent by the network control plane. The first creation module is used to dial into the service gateway based on the source PPPoE account, so that the service gateway can create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers. The address acquisition module is used to acquire the tunnel address of the PPPoE tunnel returned by the service gateway; The first transmission module is used to transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel according to the tunnel address, so that the service gateway can send the video to be transmitted to the target end through the target user-side CPE.

8. A video stream transmission device, characterized in that, Configured in the service gateway, the device includes: The second creation module is used to receive a dial-up call made by the source user-side CPE corresponding to the source end based on the source PPPoE account, and then create a PPPoE tunnel between the source user-side CPE and the target user-side CPE corresponding to the target end based on the obtained source PPPoE account and source user equipment identifier, as well as the account matching information sent by the network control plane; wherein, the account matching information includes the matching relationship between different PPPoE accounts and user equipment identifiers. The address sending module is used to feed back the tunnel address of the PPPoE tunnel to the source user-side CPE, so that the source user-side CPE can transmit the video to be transmitted from the source end to the service gateway through the PPPoE tunnel according to the tunnel address. The second transmission module is used to route the video to be transmitted to the target user-side CPE, so that the target user-side CPE transmits the video to be transmitted to the target terminal.

9. 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, it implements the steps of the method according to any one of claims 1 to 6.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.

11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 6.