Cross-domain video data forwarding method
    
      Technical Field
      The invention relates to a video data forwarding method, in particular to a cross-domain video data forwarding method.
    
    
      Background
      The method comprises the steps of obtaining a video service of an operator (ISP) network, obtaining a video service of the ISP network, and carrying out real-time expansion on the network, wherein the video service of the ISP network is obtained by the video service of the ISP network, and the video service of the ISP network is obtained by the video service of the ISP network.
      By adopting the multicast technology, the network flow can be effectively reduced, and the multicast is rapidly and quickly deployed between one autonomous domain. The geographical locations of network users are widely distributed, and often are in different autonomous domains (AS), different autonomous domains are managed by different operators, the management rules and operation guidance of different operators are different, and multiple operators are difficult to implement consistent multicast configuration rules to send data, so a method for flexibly and efficiently sending video data among operators is urgently needed to be found.
    
    
      Disclosure of Invention
      Technical problem to be solved by the invention
      The invention aims to provide a cross-domain video data forwarding method to solve the problems in the background technology, such AS wide geographical position distribution of network users, often in different autonomous domains (AS), different autonomous domains managed by different operators, different management rules and operation directions of different operators, difficulty in implementing consistent multicast configuration rules by multiple operators to send data, and urgent need to find a method for flexibly and efficiently sending video data among operators.
      Technical scheme
      In order to achieve the purpose, the invention provides the following technical scheme: a cross-domain video data forwarding method comprises an RP router of an AS1 and an RP router of an AS2, wherein a private line circuit is established between the RP router of the AS1 and the RP router of the AS2, and video data between an AS1 domain and an AS2 domain are exchanged.
      Preferably, the video server comprises a video server of AS1 and a video server of AS2, the AS2 domain requires n programs of the AS1 domain, and the video server of AS1 sends the n program data to the RP router of AS2 in a unicast mode through the RP router of AS 1; next, the RP router of the AS2 sends the program data to the video server of the AS 2.
      Preferably, a multicast tree is included, and if the users in the AS1 domain want to watch these n programs, one multicast tree is also established in the AS1 domain to send the programs to the relevant users.
      Preferably, configuration information is required on the RP router of the AS1 and the RP router of the AS2, and a multicast tree must be established through the RP of the AS for viewing video programs of other AS domains, and a terminal of one AS can only access all programs of the authorized other AS.
      Preferably, routers in AS1 domain and routers in AS2 domain configure OSPF protocol or ISIS protocol AS IGP protocol for communication, and routers in AS1 domain and routers in AS2 domain configure pim-sm or pim-dm multicast routing protocol.
      Preferably, the AS1 access router and the access router in the AS2 domain configure an IGMP routing protocol, the RP router of the AS1 and the RP router of the AS2 configure policy routing, and send program information required by the other party in real time, and the core router of the AS1 and the core router of the AS2 perform mutual access by configuring an EBGP protocol.
      Preferably, the AS1 and the AS2 open a DHCP and configuration address pool, allocate IP addresses to the users, and the users access the video server through the B/S mode to view video services.
      Advantageous effects
      Compared with the prior art, the invention has the beneficial effects that: the invention efficiently forwards the video programs among a plurality of autonomous domains by establishing a cross-domain video data forwarding method.
    
    
      Drawings
      FIG. 1 is a schematic diagram of cross-domain multicast video data transmission according to the present invention;
      fig. 2 is a topology diagram of an embodiment of the present invention.
    
    
      Detailed Description
      The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the invention without making creative efforts, shall fall within the protection scope of the invention.
      Referring to fig. 1-2, the present invention provides a technical solution: a cross-domain video data forwarding method,
      according to the embodiment, the problem that the number of users in a network is uncertain is solved in time by the IP multicast technology. The multicast information sender (i.e. multicast source) only sends information once, and establishes tree-shaped route for multicast data packet by means of multicast route protocol, and the transmitted information begins to be copied and distributed at the fork road junction as far as possible.
      The basic organization unit of multicast is a multicast group, the multicast group has a unique IP multicast identifier, a receiving terminal can join or quit the multicast group, and the terminal which joins the multicast group has the authority to receive the data sent to the multicast group. The increase in the number of users does not significantly increase the load on the network compared to unicast techniques.
      For cross-domain video program transmission, an operator needs to uniformly deploy an MSDP protocol on a network device to solve the problem, and after the MSDP protocol is deployed, video data can be transmitted between two ASs through multicast, for example: when three users in AS1 and four users in AS2 watch one video program of AS1 at the same time, the specific transmission is shown in fig. 1:
      when the user in the AS1 watches the video program in the AS1, the user watching the video and the related network device join the multicast tree, the video data is sent to the user according to the multicast tree, and the data copy occurs only at the branch node of the multicast tree. When a user in AS2 views a video program in AS1, the video program in AS1 must be forwarded to an RP (rendezvous point) router of AS2, and then an associated multicast tree is established for transmission to the AS
      First, a dedicated circuit is established between RP routers of two ASs to exchange video data between two AS domains, for example: the AS2 domain needs n programs of the AS1 domain, and the video server of the AS1 sends the n program data to the RP router of the AS2 in a unicast mode through the RP router of the AS 1; next, the RP router of AS2 sends the program data to the video server of AS 2. Then if the AS2 domain has no users to watch these n programs, these n programs will be saved on the video server of AS2 for the users to watch on demand in the future. If the AS2 domain has users to watch these n programs, the video server of AS2 immediately establishes a multicast tree to forward the data to the users through the RP router of AS 2.
      If the user in the AS1 domain wants to watch these n programs, a multicast tree is also established in the AS1 domain to deliver the programs to the relevant users. For example: when three users in AS1 and four users in AS2 watch one video program of AS1 at the same time, 2 multicast trees are established, AS shown in fig. 1:
      at the moment, operators only need to configure information on respective RPs, so that the working efficiency is greatly improved; the multicast video data is sent through a special line, so that the safety and the robustness are guaranteed; the multicast tree must be established through the RP of the AS when watching the video programs of other AS domains, and the transmission path is optimal; the terminal of one AS can only access all programs of the other authorized ASs, thereby avoiding business disputes.
      The specific implementation topological diagram is shown in fig. 2, the routers in the AS1 and the AS2 are configured with OSPF protocol or ISIS protocol AS IGP protocol for communication; configuring a pim-sm or pim-dm multicast routing protocol by routers in AS1 and AS2 domains; the access routers in AS1 and AS2 domains configure IGMP routing protocols; RP routers of AS1 and AS2 domains configure policy routing and send program information needed by the other party in real time; the core routers of AS1 and AS2 are in mutual access by configuring the EBGP protocol. The AS1 and AS2 open DHCP and configure address pools to assign IP addresses to each user. And the user accesses the video server to watch the video service through the B/S mode.
      After the video system is established, the bandwidth utilization rate of the trunk channel and the time delay, jitter and packet loss rate of the user ping video server are all normal (2 hours per selection) within the randomly selected range of 300 sample times, which is specifically shown in table 1:
      TABLE 1 test Key indicators
      
      The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention.