CN108023804B - Method for transmitting dynamic stream and routing equipment - Google Patents

Method for transmitting dynamic stream and routing equipment Download PDF

Info

Publication number
CN108023804B
CN108023804B CN201610978920.XA CN201610978920A CN108023804B CN 108023804 B CN108023804 B CN 108023804B CN 201610978920 A CN201610978920 A CN 201610978920A CN 108023804 B CN108023804 B CN 108023804B
Authority
CN
China
Prior art keywords
private network
virtual private
dynamic
dynamic stream
media
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610978920.XA
Other languages
Chinese (zh)
Other versions
CN108023804A (en
Inventor
李勇
徐进
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201610978920.XA priority Critical patent/CN108023804B/en
Publication of CN108023804A publication Critical patent/CN108023804A/en
Application granted granted Critical
Publication of CN108023804B publication Critical patent/CN108023804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/50Routing or path finding of packets in data switching networks using label swapping, e.g. multi-protocol label switch [MPLS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/66Layer 2 routing, e.g. in Ethernet based MAN's

Landscapes

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

Abstract

The embodiment of the invention discloses a method for transmitting dynamic flow and a routing device, wherein the method comprises the following steps: the routing equipment configures a corresponding relation between a virtual private network identifier and a first preset parameter of a two-layer virtual private network or a three-layer virtual private network on a cable modem configuration file or a cable modem terminal system, and establishes a first association mapping between the virtual private network identifier and a virtual private network forwarding path; configuring the corresponding relation between the virtual private network identifier and a second preset parameter of a terminal using the dynamic flow, and establishing a second association mapping between the dynamic flow and the virtual private network identifier; establishing a third association mapping of the dynamic flow and a forwarding path of the virtual private network according to the first association mapping and the second association mapping; and determining a transmission path with the terminal according to the third correlation mapping, and completing dynamic stream transmission. By adopting the invention, the flexibility of transmitting dynamic flow can be improved.

Description

Method for transmitting dynamic stream and routing equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method for transmitting a dynamic stream and a routing device.
Background
The Data Over Cable Service Interface Specification (DOCSIS) is a set of Interface specifications established by Cable laboratories in the united states for high-speed bidirectional Data Service transmission Over Hybrid Fiber-Coaxial (HFC) networks. The Cable Modem Termination System (CMTS) belongs to a head end (central office end) device, and may be deployed at the front end of a Cable television network or at an optical node in a bidirectional HFC network. A Cable Modem (CM) is a terminal device, and is between an HFC network and a customer premise equipment; the CMTS and CM perform a process of inter-transmitting data signals over the analog channel. Today, in the global economy, branches of companies, companies and partners, suppliers, companies and customers may establish connection channels for information transfer. In a conventional enterprise networking scheme, a remote Area Network (LAN) to LAN interconnection is performed, and there is no better solution except for leased (Digital Data Network, DDN) Private line or frame relay.
The VPN is a secure private virtual network temporarily established on the internet, and brings great benefits to users in terms of reducing use cost, increasing expansibility and enhancing security. CableLabs also enacts a related set of standards to support two-Layer Virtual Private networks (L2 VPNs) and three-Layer Virtual Private networks (L3 VPNs) on HFC networks. But at present, the standards only support the traditional broadband internet access service. With the development of networks, more and more services have low-delay services such as voice, video and the like. In order to meet the needs of HFC network users for these low latency services, CableLabs sets out the need to preferentially guarantee these services by using dynamic flows, and creates dynamic flows to carry these services when the HFC network users need to use these services. When the HFC network user is no longer using these services, the dynamic flows are deleted. And releasing network resources for other services.
However, at present, the CableLabs does not set a standard for how to forward the traffic carried by the dynamic flow through the VPN. In the prior art, a Route identifier (RD) of an L3VPN used by a dynamic flow is usually configured on a configuration file of a CM, and a packet of the dynamic flow is forwarded by using a Route Forwarding table (VRF) corresponding to the RD. However, this method is relatively fixed and has poor flexibility, and only one of the L2VPN and the L3VPN is fixedly supported, and flexible selection between the L2VPN and the L3VPN cannot be performed; only global configuration is supported, all dynamic flows use the same VPN, and a multi-VPN scene cannot be supported.
Disclosure of Invention
The embodiment of the invention provides a method for transmitting dynamic flow and routing equipment, which can improve the flexibility of transmitting the dynamic flow.
The first aspect of the present invention provides a method for transmitting dynamic stream, including:
the routing equipment configures a corresponding relation between a virtual private network identifier and a first preset parameter of a two-layer virtual private network or a three-layer virtual private network on a cable modem configuration file or a cable modem terminal system, and establishes a first association mapping between the virtual private network identifier and a virtual private network forwarding path;
configuring the corresponding relation between the virtual private network identifier and a second preset parameter of a terminal using the dynamic flow, and establishing a second association mapping between the dynamic flow and the virtual private network identifier;
establishing a third association mapping of the dynamic flow and a forwarding path of the virtual private network according to the first association mapping and the second association mapping;
and determining a transmission path with the terminal according to the third correlation mapping, and completing dynamic stream transmission.
By establishing the corresponding relation between the VPN ID and the L2VPN or the L3VPN and establishing the corresponding relation between the VPN ID and the dynamic stream, the relation between the dynamic stream and the VPN ID, namely the dynamic stream and the forwarding path can be determined, the configuration of the routing equipment can ensure that the dynamic stream can support the L2VPN or the L3VPN, and in the specific transmission process, because the mapping relation can be a one-to-many relation, the same dynamic stream can support a plurality of different VPNs, the transmission flexibility of the dynamic stream is greatly improved, the flexible application of resources is facilitated, and the use experience of a user is improved.
With reference to the implementation manner of the first aspect, in a first possible implementation manner of the first aspect, the first preset parameter includes a routing forwarding table, a virtual link, a virtual local area network, or multi-protocol label switching information;
the existing L2VPN or L3VPN parameters are used for establishing the corresponding relation with the virtual private network identification, no new parameters need to be constructed, and the method is high in compatibility and low in cost.
The second preset parameter includes an internet protocol address, media access control information, dynamic host configuration protocol setting 60 information, a user datagram protocol port number or a packet encapsulation type.
The corresponding relation between the virtual private network identifier and the existing terminal parameter is established, no new parameter is required to be constructed, and the method is high in compatibility and low in cost.
With reference to the first implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the first association mapping is a one-to-one mapping, the second association mapping is a one-to-many mapping, and the third association mapping is a many-to-one mapping.
By the mapping mode, a plurality of dynamic flows can be transmitted by using the same forwarding path at the same time, and one dynamic flow can also support a plurality of different virtual private networks.
With reference to the implementation manner of the first aspect, in a third possible implementation manner of the first aspect, if a three-layer virtual private network different from a voice signaling is used to transmit a voice media dynamic stream, the determining, according to the third association mapping, a transmission path with a terminal to complete dynamic stream transmission includes:
configuring a routing forwarding table corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invite message sent by a cable modem and an embedded multimedia terminal adapter, wherein the session initiation protocol invite message comprises a voice signal dynamic stream transmitted by a first virtual private network;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using a second virtual private network;
the second virtual private network, the cable modem and the embedded multimedia terminal adapter are used for transmitting the dynamic voice media stream;
and deleting the voice media dynamic stream after the transmission is finished.
Through the cooperation of the optical line terminal and the coaxial cable media converter, the dynamic stream of the voice media can be transmitted by assigning an L3VPN which is different from a voice signaling, and the L2VPN or the L3VPN can be simultaneously supported.
With reference to the third implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, if a dynamic stream of a voice media is transmitted using a layer two virtual private network different from voice signaling, the determining, according to the third associated mapping, a transmission path with a terminal to complete dynamic stream transmission includes:
configuring a virtual local area network corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invitation messages sent by a cable modem and an embedded multimedia terminal adapter;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using the virtual private network;
the transmission of the voice media dynamic stream is carried out through the virtual private network, the cable modem and the embedded multimedia terminal adapter;
and deleting the voice media dynamic stream after the transmission is finished.
Through the cooperation of the optical line terminal and the coaxial cable media converter, the dynamic stream of the voice media can be transmitted by assigning an L2VPN different from the voice signaling, and the L2VPN or the L3VPN can be simultaneously supported.
A second aspect of the present invention provides a routing device, including:
a first configuration unit, configured to configure a corresponding relationship between a virtual private network identifier and a first preset parameter of a two-layer virtual private network or a three-layer virtual private network on a cable modem configuration file or a cable modem terminal system, and establish a first association mapping between the virtual private network identifier and a virtual private network forwarding path;
a second configuration unit, configured to configure a corresponding relationship between the virtual private network identifier and a second preset parameter of a terminal using a dynamic flow, and establish a second association mapping between the dynamic flow and the virtual private network identifier;
an establishing unit, configured to establish a third association mapping between the dynamic flow and a forwarding path of the virtual private network according to the first association mapping and the second association mapping;
and the transmission unit is used for determining a transmission path with the terminal according to the third correlation mapping so as to complete dynamic stream transmission.
With reference to the implementation manner of the second aspect, in a first possible implementation manner of the second aspect, the first preset parameter includes a routing forwarding table, a virtual link, a virtual local area network, or multi-protocol label switching information;
the second preset parameter includes an internet protocol address, media access control information, dynamic host configuration protocol setting 60 information, a user datagram protocol port number or a packet encapsulation type.
With reference to the implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the first association mapping is a one-to-one mapping, the second association mapping is a one-to-many mapping, and the third association mapping is a many-to-one mapping.
With reference to the implementation manner of the second aspect, in a third possible implementation manner of the second aspect, if a three-layer virtual private network different from voice signaling is used to transmit the dynamic stream of the voice media, the transmission unit is specifically configured to:
configuring a routing forwarding table corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invite message sent by a cable modem and an embedded multimedia terminal adapter, wherein the session initiation protocol invite message comprises a voice signal dynamic stream transmitted by a first virtual private network;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using a second virtual private network;
the second virtual private network, the cable modem and the embedded multimedia terminal adapter are used for transmitting the dynamic voice media stream;
and deleting the voice media dynamic stream after the transmission is finished.
With reference to the implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, if a dynamic stream of a voice media is transmitted using a layer two virtual private network different from voice signaling, the transmitting unit is specifically configured to:
configuring a virtual local area network corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invitation messages sent by a cable modem and an embedded multimedia terminal adapter;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using the virtual private network;
the transmission of the voice media dynamic stream is carried out through the virtual private network, the cable modem and the embedded multimedia terminal adapter;
and deleting the voice media dynamic stream after the transmission is finished.
A third aspect of the embodiments of the present invention provides a routing device, including:
the routing device comprises a processor, a memory, an interface circuit and a bus, wherein the processor, the memory and the interface circuit are connected through the bus, the interface circuit is used for the routing device to communicate with other devices and transmit data, the memory is used for storing a group of program codes, and the processor is used for calling the program codes stored in the memory and executing the following operations:
configuring a corresponding relation between a virtual private network identifier and a first preset parameter of a two-layer virtual private network or a three-layer virtual private network on a cable modem configuration file or a cable modem terminal system, and establishing a first association mapping between the virtual private network identifier and a virtual private network forwarding path;
configuring the corresponding relation between the virtual private network identifier and a second preset parameter of a terminal using the dynamic flow, and establishing a second association mapping between the dynamic flow and the virtual private network identifier;
establishing a third association mapping of the dynamic flow and a forwarding path of the virtual private network according to the first association mapping and the second association mapping;
and determining a transmission path with the terminal according to the third correlation mapping, and completing dynamic stream transmission.
With reference to the implementation manner of the third aspect, in a first possible implementation manner of the third aspect, the first preset parameter includes a routing forwarding table, a virtual link, a virtual local area network, or multi-protocol label switching information;
the second preset parameter includes an internet protocol address, media access control information, dynamic host configuration protocol setting 60 information, a user datagram protocol port number or a packet encapsulation type.
With reference to the implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the first association mapping is a one-to-one mapping, the second association mapping is a one-to-many mapping, and the third association mapping is a many-to-one mapping.
With reference to the implementation manner of the third aspect, in a third possible implementation manner of the third aspect, if a three-layer virtual private network different from voice signaling is used to transmit the dynamic stream of the voice media, the processor is specifically configured to:
configuring a routing forwarding table corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invite message sent by a cable modem and an embedded multimedia terminal adapter, wherein the session initiation protocol invite message comprises a voice signal dynamic stream transmitted by a first virtual private network;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using a second virtual private network;
the second virtual private network, the cable modem and the embedded multimedia terminal adapter are used for transmitting the dynamic voice media stream;
and deleting the voice media dynamic stream after the transmission is finished.
With reference to the implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, if a layer two virtual private network different from voice signaling is used to transmit a dynamic stream of a voice media, the processor is specifically configured to:
configuring a virtual local area network corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invitation messages sent by a cable modem and an embedded multimedia terminal adapter;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using the virtual private network;
the transmission of the voice media dynamic stream is carried out through the virtual private network, the cable modem and the embedded multimedia terminal adapter;
and deleting the voice media dynamic stream after the transmission is finished.
A fourth aspect of the embodiments of the present invention provides a computer storage medium including a set of program codes for executing the method according to any one of the implementation manners of the first aspect of the present invention.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flowchart illustrating a method for transmitting a dynamic stream according to a first embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for transmitting a dynamic stream according to a second embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for transmitting a dynamic stream according to a third embodiment of the present invention;
FIG. 4 is a schematic diagram illustrating a routing device according to a first embodiment of the present invention;
fig. 5 is a schematic diagram illustrating a routing device according to a second embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The routing device in the embodiment of the present invention may be an Optical Line Terminal (OLT) or a CMTS device, and in practical implementation, the routing device may be connected to the internet and a Coax Media Converter (CMC) through a cable, and may configure a corresponding relationship between a VPN and various parameters, so as to finally implement transmission of a service carried by a dynamic stream on the VPN, and implement communication with the Terminal.
The terminal in the embodiment of the present invention may be a Cable Modem (CM), an embedded multimedia terminal adapter, etc., which is between an HFC network and a customer premise equipment, such as a telephone base, and the above terminals are merely examples, but not exhaustive, and include but are not limited to the above terminals.
The terms "first," "second," and "third," etc. in the description and claims of the present invention and the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
The method for transmitting dynamic stream of the present invention is described in detail with reference to specific embodiments below.
Please refer to fig. 1, which is a flowchart illustrating a method for transmitting a dynamic stream according to a first embodiment of the present invention, the method includes:
s101, a routing device configures a corresponding relation between a virtual private network identifier (VPN ID) and a first preset parameter of a two-layer virtual private network (L2VPN) or a three-layer virtual private network (L3VPN) on a Cable Modem (CM) configuration file or a Cable Modem Termination System (CMTS), and establishes a first association mapping between the VPN identifier and a forwarding path of the VPN.
Optionally, the first preset parameter includes a Routing Forwarding table (VRF), a Virtual link (PW), a Virtual Local Area Network (VLAN), or Multi Protocol Label Switching (MPLS) information.
A VRF, also called a VPN instance, is a specialized entity that is established and maintained by Provider Edge routers (PEs) for directly connected sites (sites), each site has its own VPN-instance on a PE, and each VPN-instance contains routing and forwarding tables to one or more customer Edge routers (CEs) directly connected to the PE.
A Virtual link, a bi-directional Virtual connection between two PEs, is made up of a pair of unidirectional MPLS Virtual Circuits (VCs).
MPLS is a architecture for fast packet switching and routing that provides network data traffic with the capabilities of destination, routing address, forwarding and switching. More particularly, it has mechanisms for managing various different forms of communication flow.
S102, configuring the corresponding relation between the virtual private network identification and a second preset parameter of the terminal using the dynamic flow, and establishing a second association mapping between the dynamic flow and the virtual private network identification.
Optionally, the second preset parameter includes an Internet Protocol (IP) address, Media Access Control (MAC) information, dynamic host configuration Protocol (DHCP option)60 information, a User Datagram Protocol (UDP) port number, or a packet encapsulation type.
S103, establishing a third association mapping of the dynamic flow and the virtual private network forwarding path according to the first association mapping and the second association mapping.
Optionally, the first association mapping is a one-to-one mapping, the second association mapping is a one-to-many mapping, and the third association mapping is a many-to-one mapping.
And S104, determining a transmission path with the terminal according to the third correlation mapping, and completing dynamic stream transmission.
The method for transmitting dynamic flow of the embodiment of the invention can determine the relation between the dynamic flow and the VPN ID, namely the relation between the dynamic flow and the forwarding path, by establishing the corresponding relation between the VPN ID and the L2VPN or the L3VPN and establishing the corresponding relation between the VPN ID and the dynamic flow, so that the dynamic flow can support the L2VPN or the L3VPN through the configuration of the routing equipment, and in the specific transmission, because the mapping relation can be a one-to-many relation, the same dynamic flow can support a plurality of different VPNs, thereby greatly improving the flexibility of the transmission of the dynamic flow, being beneficial to the flexible application of resources and improving the use experience of users.
Referring to fig. 2, a flow chart of a method for transmitting a dynamic stream according to a second embodiment of the present invention is shown, in the present embodiment, the method includes a first VPN1 and a second VPN2, where the VPN1 can be used for transmitting a Voice signal (Voice signal), and a Route identifier (RD): 1234, Route Target (RT): 1234: 100, binding a logical port vlan if 100, and enabling a Multi-Protocol Label Switching (MPLS) Label Distribution Protocol (LDP); whereas VPN2 may be used to transport Voice media (Voice media), RD:1234RT: 1234: 200, bind vlan if 200, enable MPLS LDP.
The OLT is connected to the internet (IP network) as a Provider Edge router (PE), and enables MPLS Border Gateway Protocol (BGP) L3 VPNs, two VPNs can be created to bind different Vlanif, the public network route uses an Open Shortest Path First (OSPF) dynamic routing Protocol to find a route, and establishes a neighbor relationship with an opposite end PE such as CM & EMTA, and CM & EMTA is connected to a user terminal device such as a telephone set. The method specifically comprises the following steps:
s201, the OLT configures the VRF corresponding to the VPN to be transmitted by the dynamic stream of the voice media according to the third association mapping.
S202, the OLT sends the VLAN information of the VPN used by the created dynamic voice Media stream to a Coax Media Converter (CMC).
S203, the CM and the Embedded Multimedia Terminal Adapter (EMTA) send a Session Initiation Protocol (SIP) invite (invite) message to the OLT, that is, send to the soft switch. The SIP invite message includes a stream of the VLAN 100, which is a dynamic stream of a voice signal transmitted by the first virtual private network (VPN 1).
And S204, the CM & EMTA sends a request message for creating the dynamic stream of the voice media to the CMC.
S205, the CMC returns a response message for creating the dynamic stream of the voice media.
S206, the CM & EMTA returns a confirmation message for creating the dynamic stream of the voice media.
S207, CMC and OLT create a dynamic stream of voice media, i.e. a stream of VLAN200, transmitted using the second virtual private network (VPN 2).
S208, the dynamic voice media stream is transmitted through the second virtual private network (VPN2) and CM & EMTA, i.e. the streaming media packet of the VLAN200 is used.
S209, after the transmission is finished, the CM & EMTA initiates a request message for deleting the dynamic stream of the voice media to the CMC.
S210, the CMC returns a response message of deleting the dynamic stream of the voice media.
S211, CMC and OLT delete the flow of VLAN 200.
The method for transmitting dynamic stream of the embodiment of the invention specifically describes how to configure the vacant sub-carriers and how to map the random access leader sequence to the sub-carriers under the condition that L PRACH occupy different positions of continuous resources. The method can be used for various conditions, reduce the interference of the PRACH to other physical channels or physical random access channels with other formats, and improve the data transmission quality and the transmission efficiency.
Please refer to fig. 3, which is a flowchart illustrating a method for transmitting a dynamic flow according to a third embodiment of the present invention, in the embodiment, the method includes a first VPN1 and a second VPN2, the VPN1 is used for transmitting a Voice signal (Voice signal), and the logical port vlan if 100 is bound to enable MPLS LDP; while VPN2 may be used to transport Voice media (Voice media), bind vlan if 200, enable MPLS LDP.
The OLT is connected with the Internet (IP network) as a PE and enables MPLS + PW L2VPN, the public network route is searched by using an OSPF dynamic routing protocol, a neighbor relation is established with an opposite terminal PE such as CM & EMTA, and the CM & EMTA is connected with a user terminal device such as a telephone set. The method specifically comprises the following steps:
and S301, configuring, by the OLT, a Vlan corresponding to the VPN to be transmitted by the dynamic stream of the voice media according to the third association mapping.
S302, the OLT issues the VLAN information of the VPN used by the created voice media dynamic stream to the CMC.
S303, the CM & EMTA sends the SIP invite message to the OLT.
S304, the CM & EMTA sends a request message for creating the dynamic stream of the voice media to the CMC.
S305, the CMC returns a response message for creating the dynamic stream of the voice media.
S306, the CM & EMTA returns a confirmation message for creating the dynamic stream of the voice media.
S307, the CMC and the OLT create a dynamic stream of voice media, i.e. a stream of VLAN200, transmitted using the virtual private network (VPN 2).
S308, the dynamic voice media stream is transmitted through the second virtual private network (VPN2) and CM & EMTA, i.e. the streaming media packet of the VLAN200 is used.
S309, after the transmission is completed, the CM & EMTA initiates a request message for deleting the voice media dynamic stream to the CMC.
And S310, the CMC returns a response message of deleting the dynamic stream of the voice media.
S311, the CMC and the OLT delete the flow of the VLAN 200.
Referring to fig. 4, a schematic diagram of a routing device according to a first embodiment of the present invention is shown, where the routing device according to the embodiment of the present invention includes:
a first configuration unit 100, configured to configure a corresponding relationship between a virtual private network identifier and a first preset parameter of a two-layer virtual private network or a three-layer virtual private network on a cable modem configuration file or a cable modem terminal system, and establish a first association mapping between the virtual private network identifier and a virtual private network forwarding path;
a second configuration unit 200, configured to configure a corresponding relationship between the virtual private network identifier and a second preset parameter of a terminal using a dynamic flow, and establish a second association mapping between the dynamic flow and the virtual private network identifier;
an establishing unit 300, configured to establish a third association mapping between a dynamic flow and a forwarding path of a virtual private network according to the first association mapping and the second association mapping;
a transmission unit 400, configured to determine a transmission path with the terminal according to the third association mapping, and complete dynamic stream transmission.
It should be noted that, the first configuration unit 100, the second configuration unit 200, the establishment unit 300, and the transmission unit 400 may exist independently or may be integrally configured, and in the above embodiment of the routing device, the first configuration unit 100, the second configuration unit 200, the establishment unit 300, or the transmission unit 400 may be configured independently in a hardware form and in a microprocessor form; the configuration information may also be embedded in the processor of the routing device in a hardware form, or may also be stored in the memory of the routing device in a software form, so that the processor of the routing device invokes and executes the operations corresponding to the first configuration unit 100, the second configuration unit 200, the establishing unit 300, and the transmitting unit 400.
For example, in the first embodiment (the embodiment shown in fig. 4) of the routing device of the present invention, the establishing unit 300 may be a processor of the routing device, and the functions of the first configuration unit 100, the second configuration unit 200, and the transmitting unit 400 may be embedded in the processor, may be separately configured from the processor, or may be stored in a memory in the form of software, and the processor invokes the functions to implement them. The processor can be a Central Processing Unit (CPU), a microprocessor, a singlechip and the like.
Referring to fig. 5, a schematic diagram of a routing device according to a second embodiment of the present invention is shown, where the routing device includes:
a processor 110, a memory 120, an interface circuit 130, and a bus 140, wherein the processor 110, the memory 120, and the interface circuit 130 are connected by the bus 140, the interface circuit 130 is used for the routing device to communicate and transmit data with other devices, the memory 120 is used to store a set of program codes, and the processor 110 is used to call the program codes stored in the memory 120 to perform the following operations:
configuring a corresponding relation between a virtual private network identifier and a first preset parameter of a two-layer virtual private network or a three-layer virtual private network on a cable modem configuration file or a cable modem terminal system, and establishing a first association mapping between the virtual private network identifier and a virtual private network forwarding path;
configuring the corresponding relation between the virtual private network identifier and a second preset parameter of a terminal using the dynamic flow, and establishing a second association mapping between the dynamic flow and the virtual private network identifier;
establishing a third association mapping of the dynamic flow and a forwarding path of the virtual private network according to the first association mapping and the second association mapping;
and determining a transmission path with the terminal according to the third correlation mapping, and completing dynamic stream transmission.
Optionally, the first preset parameter includes a routing forwarding table, a virtual link, a virtual local area network, or multi-protocol label switching information;
the second preset parameter includes an internet protocol address, media access control information, dynamic host configuration protocol setting 60 information, a user datagram protocol port number or a packet encapsulation type.
Optionally, the first association mapping is a one-to-one mapping, the second association mapping is a one-to-many mapping, and the third association mapping is a many-to-one mapping.
Optionally, if a three-layer virtual private network different from the voice signaling is used to transmit the dynamic stream of the voice media, the processor 110 is specifically configured to:
configuring a routing forwarding table corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invite message sent by a cable modem and an embedded multimedia terminal adapter, wherein the session initiation protocol invite message comprises a voice signal dynamic stream transmitted by a first virtual private network;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using a second virtual private network;
the second virtual private network, the cable modem and the embedded multimedia terminal adapter are used for transmitting the dynamic voice media stream;
and deleting the voice media dynamic stream after the transmission is finished.
Optionally, if a dynamic stream of voice media is transmitted using a layer two virtual private network different from the voice signaling, the processor 110 is specifically configured to:
configuring a virtual local area network corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invitation messages sent by a cable modem and an embedded multimedia terminal adapter;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using the virtual private network;
the transmission of the voice media dynamic stream is carried out through the virtual private network, the cable modem and the embedded multimedia terminal adapter;
and deleting the voice media dynamic stream after the transmission is finished.
The routing device described in this embodiment may be configured to implement part or all of the processes in the method embodiments described in conjunction with fig. 1, fig. 2, and fig. 3 of the present invention, and perform part or all of the functions in the apparatus embodiment described in conjunction with fig. 4 of the present invention, which is not described herein again.
As will be appreciated by one of ordinary skill in the art, various aspects of the invention, or possible implementations of various aspects, may be embodied as a system, method, or computer program product. Furthermore, aspects of the invention, or possible implementations of aspects, may take the form of a computer program product, which refers to computer-readable program code stored in a computer-readable medium.
The computer readable medium may be a computer readable data medium or a computer readable storage medium. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing, such as Random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, and portable read-only memory (CD-ROM).
A processor in the computer reads the computer-readable program code stored in the computer-readable medium, so that the processor can perform the functional actions specified in each step, or a combination of steps, in the flowcharts; and means for generating a block diagram that implements the functional operation specified in each block or a combination of blocks.
The computer readable program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's own computer and partly on a remote computer or entirely on the remote computer or server. It should also be noted that, in some alternative implementations, the functions noted in the flowchart or block diagram block may occur out of the order noted in the figures. For example, two steps or two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (6)

1. A method of transmitting a dynamic stream, comprising:
the routing equipment configures a corresponding relation between a virtual private network identifier and a first preset parameter of a two-layer virtual private network or a three-layer virtual private network on a cable modem configuration file or a cable modem terminal system, and establishes a first association mapping between the virtual private network identifier and a virtual private network forwarding path;
configuring the corresponding relation between the virtual private network identifier and a second preset parameter of a terminal using the dynamic flow, and establishing a second association mapping between the dynamic flow and the virtual private network identifier;
establishing a third association mapping of the dynamic flow and a forwarding path of the virtual private network according to the first association mapping and the second association mapping;
determining a transmission path with the terminal according to the third correlation mapping to finish dynamic stream transmission;
the first preset parameter comprises routing forwarding table, virtual link, virtual local area network or multi-protocol label switching information;
the second preset parameter comprises an internet protocol address, media access control information, Dynamic Host Configuration Protocol (DHCP) setting 60 information, a user datagram protocol port number or a message encapsulation type;
the first association mapping is a one-to-one mapping, the second association mapping is a one-to-many mapping, and the third association mapping is a many-to-one mapping.
2. The method of claim 1, wherein if a three-layer virtual private network different from a voice signaling is used for transmitting a dynamic stream of voice media, determining a transmission path with the terminal according to the third association mapping to complete dynamic stream transmission comprises:
configuring a routing forwarding table corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invite message sent by a cable modem and an embedded multimedia terminal adapter, wherein the session initiation protocol invite message comprises a voice signal dynamic stream transmitted by a first virtual private network;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using a second virtual private network;
the second virtual private network, the cable modem and the embedded multimedia terminal adapter are used for transmitting the dynamic voice media stream;
and deleting the voice media dynamic stream after the transmission is finished.
3. The method of claim 1, wherein if a dynamic stream of voice media is transmitted using a layer two virtual private network different from voice signaling, determining a transmission path with the terminal according to the third association mapping to complete dynamic stream transmission comprises:
configuring a virtual local area network corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invitation messages sent by a cable modem and an embedded multimedia terminal adapter;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using the virtual private network;
the transmission of the voice media dynamic stream is carried out through the virtual private network, the cable modem and the embedded multimedia terminal adapter;
and deleting the voice media dynamic stream after the transmission is finished.
4. A routing device, comprising:
a first configuration unit, configured to configure a corresponding relationship between a virtual private network identifier and a first preset parameter of a two-layer virtual private network or a three-layer virtual private network on a cable modem configuration file or a cable modem terminal system, and establish a first association mapping between the virtual private network identifier and a virtual private network forwarding path;
a second configuration unit, configured to configure a corresponding relationship between the virtual private network identifier and a second preset parameter of a terminal using a dynamic flow, and establish a second association mapping between the dynamic flow and the virtual private network identifier;
an establishing unit, configured to establish a third association mapping between the dynamic flow and a forwarding path of the virtual private network according to the first association mapping and the second association mapping;
a transmission unit, configured to determine a transmission path with the terminal according to the third association mapping, and complete dynamic stream transmission;
the first preset parameter comprises routing forwarding table, virtual link, virtual local area network or multi-protocol label switching information;
the second preset parameter comprises an internet protocol address, media access control information, Dynamic Host Configuration Protocol (DHCP) setting 60 information, a user datagram protocol port number or a message encapsulation type;
the first association mapping is a one-to-one mapping, the second association mapping is a one-to-many mapping, and the third association mapping is a many-to-one mapping.
5. The routing device according to claim 4, wherein if a three-layer virtual private network different from the voice signaling is used for transmitting the dynamic stream of the voice media, the transmission unit is specifically configured to:
configuring a routing forwarding table corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invite message sent by a cable modem and an embedded multimedia terminal adapter, wherein the session initiation protocol invite message comprises a voice signal dynamic stream transmitted by a first virtual private network;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using a second virtual private network;
the second virtual private network, the cable modem and the embedded multimedia terminal adapter are used for transmitting the dynamic voice media stream;
and deleting the voice media dynamic stream after the transmission is finished.
6. The routing device according to claim 4, wherein if a layer two virtual private network different from the voice signaling is used for transmitting the dynamic stream of the voice media, the transmitting unit is specifically configured to:
configuring a virtual local area network corresponding to a virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
sending the virtual local area network information of the virtual private network used by the created voice media dynamic stream to a coaxial cable media converter;
receiving session initiation protocol invitation messages sent by a cable modem and an embedded multimedia terminal adapter;
when the coaxial cable media converter performs information interaction with the cable modem and the embedded multimedia terminal adapter and determines to establish a voice media dynamic stream, receiving the voice media dynamic stream which is established by the coaxial cable media converter and transmitted by using the virtual private network;
the transmission of the voice media dynamic stream is carried out through the virtual private network, the cable modem and the embedded multimedia terminal adapter;
and deleting the voice media dynamic stream after the transmission is finished.
CN201610978920.XA 2016-11-04 2016-11-04 Method for transmitting dynamic stream and routing equipment Active CN108023804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610978920.XA CN108023804B (en) 2016-11-04 2016-11-04 Method for transmitting dynamic stream and routing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610978920.XA CN108023804B (en) 2016-11-04 2016-11-04 Method for transmitting dynamic stream and routing equipment

Publications (2)

Publication Number Publication Date
CN108023804A CN108023804A (en) 2018-05-11
CN108023804B true CN108023804B (en) 2020-11-17

Family

ID=62084805

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610978920.XA Active CN108023804B (en) 2016-11-04 2016-11-04 Method for transmitting dynamic stream and routing equipment

Country Status (1)

Country Link
CN (1) CN108023804B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709087A (en) * 2020-05-22 2021-11-26 中兴通讯股份有限公司 Dynamic table acquisition method, communication device, core network system, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101299698A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Communication agent method and apparatus as well as system
CN101351784A (en) * 2005-12-30 2009-01-21 阿西式·A·潘迪亚 Runtime adaptable search processor
CN105357284A (en) * 2015-10-20 2016-02-24 中国有色金属长沙勘察设计研究院有限公司 GNSS (Global Navigation Satellite System) server and implementation method thereof

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040059829A1 (en) * 2002-09-24 2004-03-25 Chu Thomas P. Methods and devices for converting routing data from one protocol to another in a virtual private network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101351784A (en) * 2005-12-30 2009-01-21 阿西式·A·潘迪亚 Runtime adaptable search processor
CN101299698A (en) * 2007-04-30 2008-11-05 华为技术有限公司 Communication agent method and apparatus as well as system
CN105357284A (en) * 2015-10-20 2016-02-24 中国有色金属长沙勘察设计研究院有限公司 GNSS (Global Navigation Satellite System) server and implementation method thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
《基于MPLS的二、三层VPN研究》;罗恒洋;《计算机技术与发展》;20090110;第19卷(第1期);第63-66页 *

Also Published As

Publication number Publication date
CN108023804A (en) 2018-05-11

Similar Documents

Publication Publication Date Title
US11431526B2 (en) Deterministic forwarding across L2 and L3 networks
USRE46195E1 (en) Multipath transmission control protocol proxy
US8121126B1 (en) Layer two (L2) network access node having data plane MPLS
US7701951B2 (en) Resource reservation and admission control for IP network
US8085791B1 (en) Using layer two control protocol (L2CP) for data plane MPLS within an L2 network access node
WO2016066072A1 (en) Method and device for realizing communication between nvo3 network and mpls network
EP1816796B1 (en) Bi-directional forwarding in ethernet-based service domains over networks
EP1713197A1 (en) A method for implementing the virtual leased line
US8787218B2 (en) Dynamic establishment of virtual circuits multisegment pseudowires
KR20180014096A (en) Path Computation Elements for Network Services Central Controllers (PCECCs)
WO2005101730A1 (en) A system and method of ensuring quality of service in virtual private network
JP2014532368A (en) Virtual private network execution method and system based on traffic engineering tunnel
WO2017124709A1 (en) Method of establishing traffic engineering tunnel and device
US10749797B2 (en) Service label routing in a network
CN102571375B (en) Multicast forwarding method and device as well as network device
US7742477B1 (en) Interconnectivity between autonomous systems
US9521072B2 (en) Method and network device for distributing multi-protocol label switching labels
WO2013139234A1 (en) Method, device and network system for multicast transmission
CN110199504B (en) Method and system for enhanced use of switching fabric within central office delivery point
CN108023804B (en) Method for transmitting dynamic stream and routing equipment
US9154447B2 (en) System and method for stitching Ethernet networks
WO2013117165A1 (en) Method and node for realizing e-tree service based on vpls
JP5840211B2 (en) Pseudowire providing an in-band control channel with offset
CN102984095A (en) Message transmission system, exchange equipment and message transmission method
CN218920438U (en) Internet access control system based on VXLAN

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant