




技术领域technical field
本发明涉及通信技术领域,尤其涉及一种传输动态流的方法及路由设备。The present invention relates to the field of communication technologies, and in particular, to a method and a routing device for transmitting a dynamic flow.
背景技术Background technique
电缆承载数据业务接口规范(Data Over Cable Service InterfaceSpecification,DOCSIS)是美国有线电视实验室(CableLabs)制定的一套在混合光纤同轴网(Hybrid Fiber-Coaxial,HFC)上进行高速双向数据业务传输的接口规范。其中电缆调制解调终端系统(Cable Modem Termination System,CMTS)属于头端(局端)设备,可以部署在有线电视网络的前端,也可以部署在双向HFC网络中的光节点。电缆调制解调器(CableModem,CM)是终端设备,介于HFC网与用户端设备之间;CMTS和CM完成数据信号在模拟信道上交互传输的过程。在经济全球化的今天,公司各分支机构,公司与合作伙伴、供应商,公司与客户之间都可能建立连接通道以进行信息传送。传统的企业网组网方案中,要进行远端局域网(Local Area Network,LAN)到LAN互连,除了租用(数字数据网(Digital DataNetwork,DDN)专线或帧中继之外,并无更好的解决方法。但是这样的方案必然导致高昂的长途线路租用费及长途电话费。于是,虚拟专用网(Virtual Private Network,VPN)应运而生了。Data Over Cable Service Interface Specification (DOCSIS) is a set of high-speed bidirectional data service transmission on Hybrid Fiber-Coaxial (HFC) developed by CableLabs. interface specification. The cable modem termination system (Cable Modem Termination System, CMTS) belongs to the head-end (central office) equipment, which can be deployed in the front end of the cable TV network, and can also be deployed in the optical node in the bidirectional HFC network. A cable modem (CableModem, CM) is a terminal device, between the HFC network and the client device; CMTS and CM complete the process of interactive transmission of data signals on the analog channel. In today's economic globalization, various branches of the company, companies and partners, suppliers, companies and customers may establish connection channels for information transmission. In the traditional enterprise network networking solution, there is no better way to interconnect the remote local area network (LAN) to the LAN than leased (Digital Data Network (DDN) dedicated line or frame relay). However, such a solution will inevitably lead to high long-distance line rental fees and long-distance telephone charges. Therefore, a virtual private network (Virtual Private Network, VPN) came into being.
VPN是在因特网上临时建立的安全专用虚拟网络,在降低使用成本、增加扩展性、增强安全性方面都给使用者带来了巨大的收益。CableLabs也制定了相关的一系列标准在HFC网络上支持二层虚拟专用网(Layer 2 Virtual Private Network,L2VPN)和三层虚拟专用网(Layer 3 Virtual Private Network,L3VPN)。但目前这些标准都是仅支持传统的宽带上网业务。随着网络的发展,越来越多的业务出现如语音、视频等低时延业务。为了满足HFC网络用户对这些低时延业务的需要,CableLabs制定出通过使用动态流来优先保证这些业务的需要,当HFC网络用户需要使用这些业务时,创建动态流,来承载这些业务。当HFC网络用户不再使用这些业务时,删除动态流。释放出网络资源给其它业务使用。VPN is a secure private virtual network temporarily established on the Internet, which brings huge benefits to users in terms of reducing usage costs, increasing scalability, and enhancing security. CableLabs has also formulated a series of relevant standards to support Layer 2 Virtual Private Network (L2VPN) and Layer 3 Virtual Private Network (L3VPN) on HFC networks. However, these standards currently only support traditional broadband Internet access services. With the development of the network, more and more services appear low-latency services such as voice and video. In order to meet the needs of HFC network users for these low-latency services, CableLabs has formulated the use of dynamic flows to prioritize these services. When HFC network users need to use these services, dynamic flows are created to carry these services. When the HFC network users no longer use these services, the dynamic flow is deleted. Release network resources for use by other services.
但是,目前CableLabs并未制定出动态流承载的业务如何进行VPN转发的标准。现有技术中通常在CM的配置文件上配置动态流使用的L3VPN的路由标识(RouteDistinguisher,RD),动态流的报文都会使用该RD对应的路由转发表(Virtual RoutingForwarding,VRF)来转发。但这种方式比较固定,灵活性较差,仅固定支持L2VPN或L3VPN的一种,不能在L2VPN和L3VPN之间灵活的选择;仅支持全局的配置,所有的动态流都使用同一个VPN,不能支持多VPN的场景。However, at present, CableLabs has not formulated a standard for how to forward VPN forwarding services carried by dynamic streams. In the prior art, an L3VPN routing identifier (Route Distinguisher, RD) used by a dynamic flow is usually configured on a configuration file of a CM, and packets of a dynamic flow will be forwarded using a Virtual Routing Forwarding (VRF) corresponding to the RD. However, this method is relatively fixed and has poor flexibility. It only supports one of L2VPN or L3VPN, and cannot flexibly choose between L2VPN and L3VPN; it only supports global configuration, and all dynamic flows use the same VPN. Support multiple VPN scenarios.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种传输动态流的方法及路由设备,可提升传输动态流的灵活性。Embodiments of the present invention provide a method and a routing device for transmitting a dynamic stream, which can improve the flexibility of transmitting a dynamic stream.
本发明第一方面提供了一种传输动态流的方法,包括:A first aspect of the present invention provides a method for transmitting dynamic streams, comprising:
路由设备在电缆调制解调器配置文件或电缆调制解调终端系统上配置虚拟专用网标识与二层虚拟专用网或三层虚拟专用网的第一预设参数的对应关系,建立所述虚拟专用网标识和虚拟专用网转发路径的第一关联映射;The routing device configures the corresponding relationship between the virtual private network identifier and the first preset parameter of the second-layer virtual private network or the third-layer virtual private network on the cable modem configuration file or the cable modem terminal system, and establishes the virtual private network identifier and the first preset parameter. the first associated mapping of the virtual private network forwarding path;
配置所述虚拟专用网标识与使用动态流的终端的第二预设参数的对应关系,建立动态流和所述虚拟专用网标识的第二关联映射;configuring the correspondence between the virtual private network identifier and the 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 identifier;
根据所述第一关联映射和所述第二关联映射,建立动态流和虚拟专用网转发路径的第三关联映射;establishing a third association mapping between the dynamic flow and the virtual private network forwarding path according to the first association mapping and the second association mapping;
根据所述第三关联映射确定与终端的传输路径,完成动态流传输。The transmission path with the terminal is determined according to the third association mapping, and the dynamic streaming transmission is completed.
通过建立VPN ID和L2VPN或L3VPN的对应关系,以及建立VPN ID和动态流的对应关系,从而可以确定动态流与VPN ID即动态流与转发路径的关系,从而可以通过路由设备的配置,使得动态流可以支持L2VPN或者L3VPN,且在具体传输时,由于映射关系可以为一对多的关系,因此同一条动态流可以支持多个不同VPN,从而大大提升了动态流传输的灵活性,利于资源的灵活应用,从而提升用户的使用体验。By establishing the corresponding relationship between VPN ID and L2VPN or L3VPN, and establishing the corresponding relationship between VPN ID and dynamic flow, the relationship between dynamic flow and VPN ID, that is, dynamic flow and forwarding path can be determined. Streams can support L2VPN or L3VPN, and during specific transmission, since the mapping relationship can be a one-to-many relationship, the same dynamic stream can support multiple different VPNs, which greatly improves the flexibility of dynamic stream transmission and facilitates resource utilization. Flexible application to improve user experience.
结合第一方面的实现方式,在第一方面第一种可能的实现方式中,所述第一预设参数包括路由转发表、虚链路、虚拟局域网或多协议标签交换信息;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 routing and forwarding table, virtual link, virtual local area network or multi-protocol label switching information;
使用现有的L2VPN或L3VPN的参数来建立与虚拟专用网标识的对应关系,无需构造新的参数,兼容性高,成本低。The existing L2VPN or L3VPN parameters are used to establish the corresponding relationship with the virtual private network identifier, no new parameters need to be constructed, and the compatibility is high and the cost is low.
所述第二预设参数包括互联网协议地址、媒体接入控制信息、动态主机配置协议设置60信息、用户数据报协议端口号或报文封装类型。The second preset parameters include Internet Protocol address, media access control information, dynamic host configuration protocol setting 60 information, user datagram protocol port number or packet encapsulation type.
使用现有的终端的参数来建立与虚拟专用网标识的对应关系,无需构造新的参数,兼容性高,成本低。The existing terminal parameters are used to establish the corresponding relationship with the virtual private network identifier, no new parameters need to be constructed, the compatibility is high, and the cost is low.
结合第一方面的第一种实现方式,在第一方面第二种可能的实现方式中,所述第一关联映射为一对一映射,所述第二关联映射为一对多映射,所述第三关联映射为多对一映射。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 The third association mapping is a many-to-one mapping.
通过这样的映射方式,可以使得多个动态流可以同时使用同一条转发路径传输,且一个动态流也可以支持多个不同的虚拟专用网。Through such a mapping method, multiple dynamic flows can be transmitted using the same forwarding path at the same time, and one dynamic flow can also support multiple different virtual private networks.
结合第一方面的实现方式,在第一方面第三种可能的实现方式中,若使用与语音信令不同的三层虚拟专用网传输语音媒体动态流,则所述根据所述第三关联映射确定与终端的传输路径,完成动态流传输,包括:In combination with the implementation of the first aspect, in a third possible implementation of the first aspect, if a three-layer virtual private network different from the voice signaling is used to transmit the dynamic voice media stream, the mapping according to the third association is performed. Determine the transmission path with the terminal to complete dynamic streaming, including:
根据所述第三关联映射配置语音媒体动态流要传输的虚拟专用网对应的路由转发表;Configure the routing forwarding table corresponding to the virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
将创建的语音媒体动态流使用的虚拟专用网的虚拟局域网信息下发给同轴电缆媒体转换器;Deliver the virtual local area network information of the virtual private network used by the created voice media dynamic stream to the coaxial cable media converter;
接收电缆调制解调器和嵌入式多媒体终端适配器发送的会话初始协议邀请消息,其中包含第一虚拟专用网传输的语音信号动态流;receiving a session initiation protocol invitation message sent by the cable modem and the embedded multimedia terminal adapter, which contains the dynamic stream of the voice signal transmitted by the first virtual private network;
当所述同轴电缆媒体转换器与所述电缆调制解调器和嵌入式多媒体终端适配器进行信息交互,确定建立语音媒体动态流之后,接收所述同轴电缆媒体转换器创建的使用第二虚拟专用网传输的语音媒体动态流;When the coaxial cable media converter exchanges information with the cable modem and the embedded multimedia terminal adapter, and determines to establish a dynamic voice media stream, it receives the transmission using the second virtual private network created by the coaxial cable media converter. dynamic stream of voice media;
通过所述第二虚拟专用网与所述电缆调制解调器和嵌入式多媒体终端适配器进行所述语音媒体动态流的传输;Carrying out the transmission of the dynamic stream of the voice media with the cable modem and the embedded multimedia terminal adapter through the second virtual private network;
当传输完成后,删除所述语音媒体动态流。After the transmission is completed, the voice media dynamic stream is deleted.
通过光线路终端与同轴电缆媒体转换器的配合,可以实现语音媒体的动态流指定一个与语音信令不同的L3VPN来进行传输,实现同时支持L2VPN或L3VPN。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 specifying an L3VPN different from the voice signaling, so as to support L2VPN or L3VPN at the same time.
结合第一方面的第三种的实现方式,在第一方面第四种可能的实现方式中,若使用与语音信令不同的二层虚拟专用网传输语音媒体动态流,则所述根据所述第三关联映射确定与终端的传输路径,完成动态流传输,包括:In combination with the third implementation manner of the first aspect, in the fourth possible implementation manner of the first aspect, if a layer 2 virtual private network different from the voice signaling is used to transmit the dynamic voice media stream, the The third association mapping determines the transmission path with the terminal and completes the dynamic stream transmission, including:
根据所述第三关联映射配置语音媒体动态流要传输的虚拟专用网对应的虚拟局域网;Configure the virtual local area network corresponding to the virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
将创建的语音媒体动态流使用的虚拟专用网的虚拟局域网信息下发给同轴电缆媒体转换器;Deliver the virtual local area network information of the virtual private network used by the created voice media dynamic stream to the coaxial cable media converter;
接收电缆调制解调器和嵌入式多媒体终端适配器发送的会话初始协议邀请消息;Receive Session Initiation Protocol Invitation messages sent by cable modems and embedded multimedia terminal adapters;
当所述同轴电缆媒体转换器与所述电缆调制解调器和嵌入式多媒体终端适配器进行信息交互,确定建立语音媒体动态流之后,接收所述同轴电缆媒体转换器创建的使用所述虚拟专用网传输的语音媒体动态流;After the coaxial cable media converter exchanges information with the cable modem and the embedded multimedia terminal adapter, and determines to establish a dynamic stream of voice media, it receives the transmission message created by the coaxial cable media converter and uses the virtual private network. dynamic stream of voice media;
通过所述虚拟专用网与所述电缆调制解调器和嵌入式多媒体终端适配器进行所述语音媒体动态流的传输;Carry out the transmission of the dynamic stream of the voice media with the cable modem and the embedded multimedia terminal adapter through the virtual private network;
当传输完成后,删除所述语音媒体动态流。After the transmission is completed, the voice media dynamic stream is deleted.
通过光线路终端与同轴电缆媒体转换器的配合,可以实现语音媒体的动态流指定一个与语音信令不同的L2VPN来进行传输,实现同时支持L2VPN或L3VPN。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 specifying an L2VPN different from the voice signaling, so as to support L2VPN or L3VPN at the same time.
本发明第二方面提供了一种路由设备,包括:A second aspect of the present invention provides a routing device, comprising:
第一配置单元,用于在电缆调制解调器配置文件或电缆调制解调终端系统上配置虚拟专用网标识与二层虚拟专用网或三层虚拟专用网的第一预设参数的对应关系,建立所述虚拟专用网标识和虚拟专用网转发路径的第一关联映射;The first configuration unit is configured to configure the corresponding relationship between the virtual private network identifier and the first preset parameter of the second-layer virtual private network or the third-layer virtual private network on the cable modem configuration file or the cable modem terminal system, and establish the the first association mapping between the virtual private network identifier and the virtual private network forwarding path;
第二配置单元,用于配置所述虚拟专用网标识与使用动态流的终端的第二预设参数的对应关系,建立动态流和所述虚拟专用网标识的第二关联映射;a second configuration unit, configured to configure the correspondence between the virtual private network identifier and the second preset parameter of the terminal using the dynamic flow, and establish a second association mapping between the dynamic flow and the virtual private network identifier;
建立单元,用于根据所述第一关联映射和所述第二关联映射,建立动态流和虚拟专用网转发路径的第三关联映射;a establishing unit, configured to establish a third association mapping between the dynamic flow and the virtual private network forwarding path according to the first association mapping and the second association mapping;
传输单元,用于根据所述第三关联映射确定与终端的传输路径,完成动态流传输。The transmission unit is configured to determine the transmission path with the terminal according to the third association mapping, and complete the 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 routing and forwarding table, virtual link, virtual local area network or multi-protocol label switching information;
所述第二预设参数包括互联网协议地址、媒体接入控制信息、动态主机配置协议设置60信息、用户数据报协议端口号或报文封装类型。The second preset parameters include Internet Protocol address, media access control information, dynamic host configuration protocol setting 60 information, user datagram protocol port number or 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 Mapping is a many-to-one mapping.
结合第二方面的实现方式,在第二方面第三种可能的实现方式中,若使用与语音信令不同的三层虚拟专用网传输语音媒体动态流,则所述传输单元具体用于:In combination with the implementation of the second aspect, in a third possible implementation of the second aspect, if a three-layer virtual private network different from the voice signaling is used to transmit the dynamic voice media stream, the transmission unit is specifically used for:
根据所述第三关联映射配置语音媒体动态流要传输的虚拟专用网对应的路由转发表;Configure the routing forwarding table corresponding to the virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
将创建的语音媒体动态流使用的虚拟专用网的虚拟局域网信息下发给同轴电缆媒体转换器;Deliver the virtual local area network information of the virtual private network used by the created voice media dynamic stream to the coaxial cable media converter;
接收电缆调制解调器和嵌入式多媒体终端适配器发送的会话初始协议邀请消息,其中包含第一虚拟专用网传输的语音信号动态流;receiving a session initiation protocol invitation message sent by the cable modem and the embedded multimedia terminal adapter, which contains the dynamic stream of the voice signal transmitted by the first virtual private network;
当所述同轴电缆媒体转换器与所述电缆调制解调器和嵌入式多媒体终端适配器进行信息交互,确定建立语音媒体动态流之后,接收所述同轴电缆媒体转换器创建的使用第二虚拟专用网传输的语音媒体动态流;When the coaxial cable media converter exchanges information with the cable modem and the embedded multimedia terminal adapter, and determines to establish a dynamic voice media stream, it receives the transmission using the second virtual private network created by the coaxial cable media converter. dynamic stream of voice media;
通过所述第二虚拟专用网与所述电缆调制解调器和嵌入式多媒体终端适配器进行所述语音媒体动态流的传输;Carrying out the transmission of the dynamic stream of the voice media with the cable modem and the embedded multimedia terminal adapter through the second virtual private network;
当传输完成后,删除所述语音媒体动态流。After the transmission is completed, the voice media dynamic stream is deleted.
结合第二方面的实现方式,在第二方面第四种可能的实现方式中,若使用与语音信令不同的二层虚拟专用网传输语音媒体动态流,则所述传输单元具体用于:In combination with the implementation of the second aspect, in a fourth possible implementation of the second aspect, if a Layer 2 virtual private network different from the voice signaling is used to transmit the dynamic voice media stream, the transmission unit is specifically used for:
根据所述第三关联映射配置语音媒体动态流要传输的虚拟专用网对应的虚拟局域网;Configure the virtual local area network corresponding to the virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
将创建的语音媒体动态流使用的虚拟专用网的虚拟局域网信息下发给同轴电缆媒体转换器;Deliver the virtual local area network information of the virtual private network used by the created voice media dynamic stream to the coaxial cable media converter;
接收电缆调制解调器和嵌入式多媒体终端适配器发送的会话初始协议邀请消息;Receive Session Initiation Protocol Invitation messages sent by cable modems and embedded multimedia terminal adapters;
当所述同轴电缆媒体转换器与所述电缆调制解调器和嵌入式多媒体终端适配器进行信息交互,确定建立语音媒体动态流之后,接收所述同轴电缆媒体转换器创建的使用所述虚拟专用网传输的语音媒体动态流;After the coaxial cable media converter exchanges information with the cable modem and the embedded multimedia terminal adapter, and determines to establish a dynamic stream of voice media, it receives the transmission message created by the coaxial cable media converter and uses the virtual private network. dynamic stream of voice media;
通过所述虚拟专用网与所述电缆调制解调器和嵌入式多媒体终端适配器进行所述语音媒体动态流的传输;Carry out the transmission of the dynamic stream of the voice media with the cable modem and the embedded multimedia terminal adapter through the virtual private network;
当传输完成后,删除所述语音媒体动态流。After the transmission is completed, the voice media dynamic stream is deleted.
本发明实施例第三方面提供了一种路由设备,包括:A third aspect of the embodiments of the present invention provides a routing device, including:
处理器、存储器、接口电路及总线,所述处理器、存储器、接口电路通过总线连接,其中,所述接口电路用于所述路由设备与其他设备通信及传输数据,所述存储器用于存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:A processor, a memory, an interface circuit, and a bus, the processor, memory, and interface circuit are connected by a bus, wherein the interface circuit is used for the routing device to communicate with other devices and transmit data, and the memory is used to store a A set of program codes, the processor is used to call the program codes stored in the memory, and perform the following operations:
在电缆调制解调器配置文件或电缆调制解调终端系统上配置虚拟专用网标识与二层虚拟专用网或三层虚拟专用网的第一预设参数的对应关系,建立所述虚拟专用网标识和虚拟专用网转发路径的第一关联映射;Configure the corresponding relationship between the virtual private network identifier and the first preset parameter of the layer 2 virtual private network or the layer 3 virtual private network on the cable modem configuration file or the cable modem terminal system, and establish the virtual private network identifier and the virtual private network. the first associated mapping of the network forwarding path;
配置所述虚拟专用网标识与使用动态流的终端的第二预设参数的对应关系,建立动态流和所述虚拟专用网标识的第二关联映射;configuring the correspondence between the virtual private network identifier and the 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 identifier;
根据所述第一关联映射和所述第二关联映射,建立动态流和虚拟专用网转发路径的第三关联映射;establishing a third association mapping between the dynamic flow and the virtual private network forwarding path according to the first association mapping and the second association mapping;
根据所述第三关联映射确定与终端的传输路径,完成动态流传输。The transmission path with the terminal is determined according to the third association mapping, and the dynamic streaming transmission is completed.
结合第三方面的实现方式,在第三方面第一种可能的实现方式中,所述第一预设参数包括路由转发表、虚链路、虚拟局域网或多协议标签交换信息;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 routing and forwarding table, virtual link, virtual local area network or multi-protocol label switching information;
所述第二预设参数包括互联网协议地址、媒体接入控制信息、动态主机配置协议设置60信息、用户数据报协议端口号或报文封装类型。The second preset parameters include Internet Protocol address, media access control information, dynamic host configuration protocol setting 60 information, user datagram protocol port number or 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 Mapping is a many-to-one mapping.
结合第三方面的实现方式,在第三方面第三种可能的实现方式中,若使用与语音信令不同的三层虚拟专用网传输语音媒体动态流,则所述处理器具体用于:In combination with the implementation of the third aspect, in the third possible implementation of the third aspect, if a three-layer virtual private network different from the voice signaling is used to transmit the dynamic stream of voice media, the processor is specifically used for:
根据所述第三关联映射配置语音媒体动态流要传输的虚拟专用网对应的路由转发表;Configure the routing forwarding table corresponding to the virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
将创建的语音媒体动态流使用的虚拟专用网的虚拟局域网信息下发给同轴电缆媒体转换器;Deliver the virtual local area network information of the virtual private network used by the created voice media dynamic stream to the coaxial cable media converter;
接收电缆调制解调器和嵌入式多媒体终端适配器发送的会话初始协议邀请消息,其中包含第一虚拟专用网传输的语音信号动态流;receiving a session initiation protocol invitation message sent by the cable modem and the embedded multimedia terminal adapter, which contains the dynamic stream of the voice signal transmitted by the first virtual private network;
当所述同轴电缆媒体转换器与所述电缆调制解调器和嵌入式多媒体终端适配器进行信息交互,确定建立语音媒体动态流之后,接收所述同轴电缆媒体转换器创建的使用第二虚拟专用网传输的语音媒体动态流;When the coaxial cable media converter exchanges information with the cable modem and the embedded multimedia terminal adapter, and determines to establish a dynamic voice media stream, it receives the transmission using the second virtual private network created by the coaxial cable media converter. dynamic stream of voice media;
通过所述第二虚拟专用网与所述电缆调制解调器和嵌入式多媒体终端适配器进行所述语音媒体动态流的传输;Carrying out the transmission of the dynamic stream of the voice media with the cable modem and the embedded multimedia terminal adapter through the second virtual private network;
当传输完成后,删除所述语音媒体动态流。After the transmission is completed, the voice media dynamic stream is deleted.
结合第三方面的实现方式,在第三方面第四种可能的实现方式中,若使用与语音信令不同的二层虚拟专用网传输语音媒体动态流,则所述处理器具体用于:In combination with the implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, if a layer 2 virtual private network different from the voice signaling is used to transmit the dynamic voice media stream, the processor is specifically configured to:
根据所述第三关联映射配置语音媒体动态流要传输的虚拟专用网对应的虚拟局域网;Configure the virtual local area network corresponding to the virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
将创建的语音媒体动态流使用的虚拟专用网的虚拟局域网信息下发给同轴电缆媒体转换器;Deliver the virtual local area network information of the virtual private network used by the created voice media dynamic stream to the coaxial cable media converter;
接收电缆调制解调器和嵌入式多媒体终端适配器发送的会话初始协议邀请消息;Receive Session Initiation Protocol Invitation messages sent by cable modems and embedded multimedia terminal adapters;
当所述同轴电缆媒体转换器与所述电缆调制解调器和嵌入式多媒体终端适配器进行信息交互,确定建立语音媒体动态流之后,接收所述同轴电缆媒体转换器创建的使用所述虚拟专用网传输的语音媒体动态流;After the coaxial cable media converter exchanges information with the cable modem and the embedded multimedia terminal adapter, and determines to establish a dynamic stream of voice media, it receives the transmission message created by the coaxial cable media converter and uses the virtual private network. dynamic stream of voice media;
通过所述虚拟专用网与所述电缆调制解调器和嵌入式多媒体终端适配器进行所述语音媒体动态流的传输;Carry out the transmission of the dynamic stream of the voice media with the cable modem and the embedded multimedia terminal adapter through the virtual private network;
当传输完成后,删除所述语音媒体动态流。After the transmission is completed, the voice media dynamic stream is deleted.
本发明实施例第四方面提供了一种计算机存储介质,所述计算机存储介质包括一组程序代码,用于执行如本发明第一方面任一实现方式所述的方法。A fourth aspect of the embodiments of the present invention provides a computer storage medium, where the computer storage medium includes a set of program codes for executing the method described in any implementation manner of the first aspect of the present invention.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1为本发明第一实施例传输动态流的方法流程示意图;FIG. 1 is a schematic flowchart of a method for transmitting a dynamic stream according to a first embodiment of the present invention;
图2为本发明第二实施例传输动态流的方法流程示意图;2 is a schematic flowchart of a method for transmitting a dynamic stream according to a second embodiment of the present invention;
图3为本发明第三实施例传输动态流的方法流程示意图;3 is a schematic flowchart of a method for transmitting a dynamic stream according to a third embodiment of the present invention;
图4为本发明第一实施例路由设备组成示意图;4 is a schematic diagram of the composition of a routing device according to the first embodiment of the present invention;
图5为本发明第二实施例路由设备组成示意图。FIG. 5 is a schematic diagram of the composition of a routing device according to a second embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整的描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
本发明实施例中的路由设备可以为光线路终端(Optical Line Terminal,OLT)或CMTS设备等,实际实现时,该路由设备可以通过电缆与因特网和同轴电缆媒体转换器(CoaxMedia Converter,CMC)连接,可以配置VPN与各种参数的对应关系,最终实现动态流承载的业务在VPN上传输,实现与终端之间的通信。The routing device in the embodiment of the present invention may be an optical line terminal (Optical Line Terminal, OLT) or a CMTS device, etc. In actual implementation, the routing device may communicate with the Internet and a coaxial cable media converter (Coax Media Converter, CMC) through a cable. Connection, you can configure the corresponding relationship between VPN and various parameters, and finally realize the transmission of services carried by the dynamic flow on the VPN, and realize the communication with the terminal.
本发明实施例中的终端可以电缆调制解调器(Cable Modem,CM)和嵌入式多媒体终端适配器等,其介于HFC网与用户端设备如电话座机之间,上述终端仅是举例,而非穷举,包含但不限于上述终端。The terminal in the embodiment of the present invention may be a cable modem (Cable Modem, CM), an embedded multimedia terminal adapter, etc., which are located between the HFC network and the client equipment such as a telephone landline. The above-mentioned terminals are only examples, not exhaustive. Including but not limited to the above terminals.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而非用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second" and "third" in the description and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
下面结合具体地实施例对本发明的传输动态流的方法进行详细描述。The method for transmitting a dynamic stream of the present invention will be described in detail below with reference to specific embodiments.
请参见图1,为本发明第一实施例传输动态流的方法流程示意图,该方法包括:Please refer to FIG. 1 , which is a schematic flowchart of a method for transmitting a dynamic stream according to a first embodiment of the present invention. The method includes:
S101、路由设备在电缆调制解调器(CM)配置文件或电缆调制解调终端系统(CMTS)上配置虚拟专用网标识(VPN ID)与二层虚拟专用网(L2VPN)或三层虚拟专用网(L3VPN)的第一预设参数的对应关系,建立所述虚拟专用网标识和虚拟专用网转发路径的第一关联映射。S101. The routing device configures a virtual private network identifier (VPN ID) and a layer-2 virtual private network (L2VPN) or a layer-3 virtual private network (L3VPN) on a cable modem (CM) configuration file or a cable modem terminal system (CMTS). The corresponding relationship of the first preset parameter is established, and the first association mapping between the virtual private network identifier and the virtual private network forwarding path is established.
可选地,所述第一预设参数包括路由转发表(Virtual Routing Forwarding,VRF)、虚链路(Pseudo Wire,PW)、虚拟局域网(Virtual Local Area Network,VLAN)或多协议标签交换(Multiprotocol Label Switching,MPLS)信息。Optionally, the first preset parameter includes a routing forwarding table (Virtual Routing Forwarding, VRF), a virtual link (Pseudo Wire, PW), a virtual local area network (Virtual Local Area Network, VLAN) or a multiprotocol label switching (Multiprotocol) Label Switching, MPLS) information.
其中,VRF也称VPN-instance(VPN实例),是运营商边缘路由器(Provider Edge,PE)为直接相连的地点(site)建立并维护的一个专门实体,每个site在PE上都有自己的VPN-instance,每个VPN-instance包含到一个或多个与该PE直接相连的用户边缘路由器(Communication Edge,CE)的路由和转发表。Among them, VRF, also known as VPN-instance (VPN instance), is a special entity established and maintained by a provider edge router (Provider Edge, PE) for directly connected sites (sites). Each site has its own VPN-instance, each VPN-instance includes routing and forwarding tables to one or more user edge routers (Communication Edge, CE) directly connected to the PE.
虚链路,在两个PE之间的一条双向的虚拟连接,它由一对单向的MPLS虚电路(Virtual Circuit,VC)构成。A virtual link is a bidirectional virtual connection between two PEs. It consists of a pair of unidirectional MPLS virtual circuits (Virtual Circuits, VCs).
MPLS是一种用于快速数据包交换和路由的体系,它为网络数据流量提供了目标、路由地址、转发和交换等能力。更特殊的是,它具有管理各种不同形式通信流的机制。MPLS is a system for fast data packet switching and routing, which provides network data traffic with capabilities such as destination, routing address, forwarding and switching. More specifically, it has mechanisms for managing various different forms of communication flow.
S102、配置所述虚拟专用网标识与使用动态流的终端的第二预设参数的对应关系,建立动态流和所述虚拟专用网标识的第二关联映射。S102. Configure the correspondence between the virtual private network identifier and the second preset parameter of the terminal using the dynamic flow, and establish a second association mapping between the dynamic flow and the virtual private network identifier.
可选地,所述第二预设参数包括互联网协议(Internet Protocol,IP)地址、媒体接入控制(Media Access Control,MAC)信息、动态主机配置协议设置(DHCP option)60信息、用户数据报协议(User Datagram Protocol,UDP)端口号或报文封装类型。Optionally, the second preset parameter includes an Internet Protocol (Internet Protocol, IP) address, Media Access Control (Media Access Control, MAC) information, Dynamic Host Configuration Protocol (DHCP option) 60 information, user datagram Protocol (User Datagram Protocol, UDP) port number or packet encapsulation type.
S103、根据所述第一关联映射和所述第二关联映射,建立动态流和虚拟专用网转发路径的第三关联映射。S103. Establish a third association mapping between 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.
S104、根据所述第三关联映射确定与终端的传输路径,完成动态流传输。S104. Determine the transmission path with the terminal according to the third association mapping, and complete the dynamic stream transmission.
本发明实施例的传输动态流的方法,通过建立VPN ID和L2VPN或L3VPN的对应关系,以及建立VPN ID和动态流的对应关系,从而可以确定动态流与VPN ID即动态流与转发路径的关系,从而可以通过路由设备的配置,使得动态流可以支持L2VPN或者L3VPN,且在具体传输时,由于映射关系可以为一对多的关系,因此同一条动态流可以支持多个不同VPN,从而大大提升了动态流传输的灵活性,利于资源的灵活应用,从而提升用户的使用体验。In the method for transmitting a dynamic flow according to the embodiment of the present invention, by establishing the corresponding relationship between the VPN ID and the L2VPN or L3VPN, and establishing the corresponding relationship between the VPN ID and the dynamic flow, the relationship between the dynamic flow and the VPN ID, that is, the dynamic flow and the forwarding path can be determined. , so that the dynamic flow can support L2VPN or L3VPN through the configuration of the routing device, and in the specific transmission, since the mapping relationship can be one-to-many relationship, the same dynamic flow can support multiple different VPNs, thus greatly improving the The flexibility of dynamic streaming is beneficial to the flexible application of resources, thereby improving the user experience.
请参见图2,为本发明第二实施例传输动态流的方法流程示意图,在本实施例中,包括第一VPN即VPN1和第二VPN即VPN2,VPN1可用于传输语音信号(Voice signal),其路由标识(Route Distinguisher,RD):1234,路由目标(Route Target,RT):1234:100,绑定逻辑端口Vlanif 100,使能多协议标签交换(Multi-Protocol Label Switching,MPLS)标签分发协议(Label Distribution Protocol,LDP);而VPN2则可用于传输语音媒体(Voicemedia),RD:1234RT:1234:200,绑定Vlanif 200,使能MPLS LDP。Please refer to FIG. 2, which is a schematic flowchart of a method for transmitting a dynamic stream according to a second embodiment of the present invention. In this embodiment, a first VPN, namely VPN1, and a second VPN, namely VPN2, are included. VPN1 can be used to transmit voice signals. Route Distinguisher (RD): 1234, Route Target (RT): 1234: 100, bind
OLT作为运营商边缘路由器(Provider Edge,PE),与因特网(IP网)连接,且使能MPLS边界网关协议(Border Gateway Protocol,BGP)L3VPN,可以创建两个VPN分别绑定不同的Vlanif,公网路由则使用开放式最短路径优先(Open Shortest Path First,OSPF)动态路由协议来寻路,与对端PE如CM&EMTA建立起邻居关系,CM&EMTA与用户终端设备如电话座机连接。该方法具体包括:As a provider edge router (Provider Edge, PE), the OLT is connected to the Internet (IP network), and MPLS Border Gateway Protocol (BGP) L3VPN is enabled, and two VPNs can be created to bind to different Vlanifs and public The network routing uses the Open Shortest Path First (OSPF) dynamic routing protocol to find the path, and establishes a neighbor relationship with the peer PE such as CM&EMTA, and the CM&EMTA connects with the user terminal equipment such as telephone landline. Specifically, the method includes:
S201、OLT根据所述第三关联映射配置语音媒体动态流要传输的VPN对应的VRF。S201. The OLT configures, according to the third association map, a VRF corresponding to the VPN to be transmitted by the dynamic voice media stream.
S202、OLT将创建的语音媒体动态流使用的VPN的VLAN信息下发给同轴电缆媒体转换器(Coax Media Converter,CMC)。S202. The OLT delivers the VLAN information of the VPN used by the created voice media dynamic stream to a coaxial cable media converter (Coax Media Converter, CMC).
S203、CM和嵌入式多媒体终端适配器(Embedded Multimedia Terminal Adapter,EMTA)发送会话初始协议(Session Initiation Protocol,SIP)邀请(invite)消息至OLT即发送给软交换。其中,SIP invite消息中包含第一虚拟专用网(VPN1)传输的语音信号动态流即VLAN 100的流。S203 , the CM and the Embedded Multimedia Terminal Adapter (Embedded Multimedia Terminal Adapter, EMTA) send a Session Initiation Protocol (Session Initiation Protocol, SIP) invite (invite) message to the OLT, that is, to the softswitch. The SIP invite message includes the dynamic flow of the voice signal transmitted by the first virtual private network (VPN1), that is, the flow of
S204、CM&EMTA向CMC发送创建语音媒体动态流的请求消息。S204. The CM&EMTA sends a request message for creating a dynamic voice media stream to the CMC.
S205、CMC返回创建语音媒体动态流的响应消息。S205. The CMC returns a response message for creating a voice media dynamic stream.
S206、CM&EMTA返回创建语音媒体动态流的确认消息。S206, the CM&EMTA returns a confirmation message for creating a voice media dynamic stream.
S207、CMC与OLT创建使用第二虚拟专用网(VPN2)传输的语音媒体动态流即VLAN200的流。S207, the CMC and the OLT create a dynamic stream of the voice media transmitted by using the second virtual private network (VPN2), that is, the stream of the
S208、通过所述第二虚拟专用网(VPN2)与CM&EMTA进行所述语音媒体动态流的传输即使用VLAN 200的流传输媒体报文。S208. Perform the transmission of the voice media dynamic stream with the CM&EMTA through the second virtual private network (VPN2), that is, use the stream of the
S209、当传输完成后,CM&EMTA向CMC发起删除语音媒体动态流的请求消息。S209. After the transmission is completed, the CM&EMTA sends a request message to the CMC for deleting the dynamic stream of the voice media.
S210、CMC返回删除语音媒体动态流的响应消息。S210. The CMC returns a response message for deleting the voice media dynamic stream.
S211、CMC与OLT删除VLAN200的流。S211, the CMC and the OLT delete the flow of
本发明实施例的传输动态流的方法,具体描述了L个PRACH占用连续资源不同位置的情况下,如何配置空余子载波,以及如何将随机接入前导序列映射到子载波。可以应对各种情况,降低PRACH对其他物理信道或者其他格式的物理随机接入信道的干扰,提升数据传输质量和传输效率。The method for transmitting a dynamic stream according to the embodiment of the present invention specifically describes how to configure vacant subcarriers and how to map random access preamble sequences to subcarriers when L PRACHs occupy different positions of continuous resources. It can cope with various situations, reduce the interference of PRACH to other physical channels or physical random access channels of other formats, and improve data transmission quality and transmission efficiency.
请参见图3,为本发明第三实施例传输动态流的方法流程示意图,在本实施例中,包括第一VPN即VPN1和第二VPN即VPN2,VPN1可用于传输语音信号(Voice signal),绑定逻辑端口Vlanif 100,使能MPLS LDP;而VPN2则可用于传输语音媒体(Voice media),绑定Vlanif 200,使能MPLS LDP。Please refer to FIG. 3 , which is a schematic flowchart of a method for transmitting a dynamic stream according to a third embodiment of the present invention. In this embodiment, a first VPN, namely VPN1, and a second VPN, namely VPN2, are included. VPN1 can be used to transmit voice signals. Bind the
OLT作为PE,与因特网(IP网)连接,且使能MPLS+PW L2VPN,公网路由则使用OSPF动态路由协议来寻路,与对端PE如CM&EMTA建立起邻居关系,CM&EMTA与用户终端设备如电话座机连接。该方法具体包括:As a PE, the OLT is connected to the Internet (IP network), and MPLS+PW L2VPN is enabled. For public network routing, the OSPF dynamic routing protocol is used to find paths and establish neighbor relationships with peer PEs such as CM&EMTA. CM&EMTA and user terminal equipment such as Telephone landline connection. Specifically, the method includes:
S301、OLT根据所述第三关联映射配置语音媒体动态流要传输的VPN对应的Vlan。S301. The OLT configures the Vlan corresponding to the VPN to be transmitted by the dynamic voice media stream according to the third association mapping.
S302、OLT将创建的语音媒体动态流使用的VPN的VLAN信息下发给CMC。S302. The OLT delivers the VLAN information of the VPN used by the created voice media dynamic stream to the CMC.
S303、CM&EMTA发送SIP invite消息至OLT。S303. The CM&EMTA sends a SIP invite message to the OLT.
S304、CM&EMTA向CMC发送创建语音媒体动态流的请求消息。S304. The CM&EMTA sends a request message for creating a dynamic voice media stream to the CMC.
S305、CMC返回创建语音媒体动态流的响应消息。S305. The CMC returns a response message for creating a voice media dynamic stream.
S306、CM&EMTA返回创建语音媒体动态流的确认消息。S306. The CM&EMTA returns a confirmation message for creating a dynamic voice media stream.
S307、CMC与OLT创建使用所述虚拟专用网(VPN2)传输的语音媒体动态流即VLAN200的流。S307, the CMC and the OLT create a dynamic stream of the voice media transmitted by using the virtual private network (VPN2), that is, the stream of
S308、通过所述第二虚拟专用网(VPN2)与CM&EMTA进行所述语音媒体动态流的传输即使用VLAN 200的流传输媒体报文。S308. Perform the transmission of the voice media dynamic stream with the CM&EMTA through the second virtual private network (VPN2), that is, use the stream of the
S309、当传输完成后,CM&EMTA向CMC发起删除语音媒体动态流的请求消息。S309. After the transmission is completed, the CM&EMTA sends a request message to the CMC for deleting the dynamic stream of the voice media.
S310、CMC返回删除语音媒体动态流的响应消息。S310. The CMC returns a response message for deleting the voice media dynamic stream.
S311、CMC与OLT删除VLAN200的流。S311, the CMC and the OLT delete the flow of
请参见图4,为本发明第一实施例路由设备的组成示意图,本发明实施例路由设备包括:Please refer to FIG. 4 , which is a schematic diagram of the composition of a routing device according to the first embodiment of the present invention. The routing device according to the embodiment of the present invention includes:
第一配置单元100,用于在电缆调制解调器配置文件或电缆调制解调终端系统上配置虚拟专用网标识与二层虚拟专用网或三层虚拟专用网的第一预设参数的对应关系,建立所述虚拟专用网标识和虚拟专用网转发路径的第一关联映射;The
第二配置单元200,用于配置所述虚拟专用网标识与使用动态流的终端的第二预设参数的对应关系,建立动态流和所述虚拟专用网标识的第二关联映射;The
建立单元300,用于根据所述第一关联映射和所述第二关联映射,建立动态流和虚拟专用网转发路径的第三关联映射;A establishing
传输单元400,用于根据所述第三关联映射确定与终端的传输路径,完成动态流传输。The
需要说明的是,以上第一配置单元100、第二配置单元200、建立单元300及传输单元400可以独立存在,也可以集成设置,且以上路由设备实施例中第一配置单元100、第二配置单元200、建立单元300或传输单元400可以以硬件的形式独立于路由设备的处理器单独设置,且设置形式可以是微处理器的形式;也可以以硬件形式内嵌于路由设备的处理器中,还可以以软件形式存储于路由设备的存储器中,以便于路由设备的处理器调用执行以上第一配置单元100、第二配置单元200、建立单元300及传输单元400对应的操作。It should be noted that the
例如,在本发明路由设备的第一实施例(图4所示的实施例)中,建立单元300可以为路由设备的处理器,而第一配置单元100、第二配置单元200及传输单元400的功能可以内嵌于该处理器中,也可以独立于处理器单独设置,也可以以软件的形式存储于存储器中,由处理器调用实现其功能。以上处理器可以为中央处理单元(CPU)、微处理器、单片机等。For example, in the first embodiment of the routing device of the present invention (the embodiment shown in FIG. 4 ), the
请参见图5,为本发明第二实施例路由设备的组成示意图,该路由设备包括:Please refer to FIG. 5 , which is a schematic diagram of the composition of a routing device according to the second embodiment of the present invention. The routing device includes:
处理器110、存储器120、接口电路130及总线140,所述处理器110、存储器120、接口电路130通过总线140连接,其中,所述接口电路130用于所述路由设备与其他设备通信及传输数据,所述存储器120用于存储一组程序代码,所述处理器110用于调用所述存储器120中存储的程序代码,执行以下操作:The
在电缆调制解调器配置文件或电缆调制解调终端系统上配置虚拟专用网标识与二层虚拟专用网或三层虚拟专用网的第一预设参数的对应关系,建立所述虚拟专用网标识和虚拟专用网转发路径的第一关联映射;Configure the corresponding relationship between the virtual private network identifier and the first preset parameter of the layer 2 virtual private network or the layer 3 virtual private network on the cable modem configuration file or the cable modem terminal system, and establish the virtual private network identifier and the virtual private network. the first associated mapping of the network forwarding path;
配置所述虚拟专用网标识与使用动态流的终端的第二预设参数的对应关系,建立动态流和所述虚拟专用网标识的第二关联映射;configuring the correspondence between the virtual private network identifier and the 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 identifier;
根据所述第一关联映射和所述第二关联映射,建立动态流和虚拟专用网转发路径的第三关联映射;establishing a third association mapping between the dynamic flow and the virtual private network forwarding path according to the first association mapping and the second association mapping;
根据所述第三关联映射确定与终端的传输路径,完成动态流传输。The transmission path with the terminal is determined according to the third association mapping, and the dynamic streaming transmission is completed.
可选地,所述第一预设参数包括路由转发表、虚链路、虚拟局域网或多协议标签交换信息;Optionally, the first preset parameter includes routing and forwarding table, virtual link, virtual local area network or multi-protocol label switching information;
所述第二预设参数包括互联网协议地址、媒体接入控制信息、动态主机配置协议设置60信息、用户数据报协议端口号或报文封装类型。The second preset parameters include Internet Protocol address, media access control information, dynamic host configuration protocol setting 60 information, user datagram protocol port number or 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.
可选地,若使用与语音信令不同的三层虚拟专用网传输语音媒体动态流,则所述处理器110具体用于:Optionally, if a three-layer virtual private network different from the voice signaling is used to transmit the voice media dynamic stream, the
根据所述第三关联映射配置语音媒体动态流要传输的虚拟专用网对应的路由转发表;Configure the routing forwarding table corresponding to the virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
将创建的语音媒体动态流使用的虚拟专用网的虚拟局域网信息下发给同轴电缆媒体转换器;Deliver the virtual local area network information of the virtual private network used by the created voice media dynamic stream to the coaxial cable media converter;
接收电缆调制解调器和嵌入式多媒体终端适配器发送的会话初始协议邀请消息,其中包含第一虚拟专用网传输的语音信号动态流;receiving a session initiation protocol invitation message sent by the cable modem and the embedded multimedia terminal adapter, which contains the dynamic stream of the voice signal transmitted by the first virtual private network;
当所述同轴电缆媒体转换器与所述电缆调制解调器和嵌入式多媒体终端适配器进行信息交互,确定建立语音媒体动态流之后,接收所述同轴电缆媒体转换器创建的使用第二虚拟专用网传输的语音媒体动态流;When the coaxial cable media converter exchanges information with the cable modem and the embedded multimedia terminal adapter, and determines to establish a dynamic voice media stream, it receives the transmission using the second virtual private network created by the coaxial cable media converter. dynamic stream of voice media;
通过所述第二虚拟专用网与所述电缆调制解调器和嵌入式多媒体终端适配器进行所述语音媒体动态流的传输;Carrying out the transmission of the dynamic stream of the voice media with the cable modem and the embedded multimedia terminal adapter through the second virtual private network;
当传输完成后,删除所述语音媒体动态流。After the transmission is completed, the voice media dynamic stream is deleted.
可选地,若使用与语音信令不同的二层虚拟专用网传输语音媒体动态流,则所述处理器110具体用于:Optionally, if a layer 2 virtual private network different from the voice signaling is used to transmit the voice media dynamic stream, the
根据所述第三关联映射配置语音媒体动态流要传输的虚拟专用网对应的虚拟局域网;Configure the virtual local area network corresponding to the virtual private network to be transmitted by the voice media dynamic stream according to the third association mapping;
将创建的语音媒体动态流使用的虚拟专用网的虚拟局域网信息下发给同轴电缆媒体转换器;Deliver the virtual local area network information of the virtual private network used by the created voice media dynamic stream to the coaxial cable media converter;
接收电缆调制解调器和嵌入式多媒体终端适配器发送的会话初始协议邀请消息;Receive Session Initiation Protocol Invitation messages sent by cable modems and embedded multimedia terminal adapters;
当所述同轴电缆媒体转换器与所述电缆调制解调器和嵌入式多媒体终端适配器进行信息交互,确定建立语音媒体动态流之后,接收所述同轴电缆媒体转换器创建的使用所述虚拟专用网传输的语音媒体动态流;After the coaxial cable media converter exchanges information with the cable modem and the embedded multimedia terminal adapter, and determines to establish a dynamic stream of voice media, it receives the transmission message created by the coaxial cable media converter and uses the virtual private network. dynamic stream of voice media;
通过所述虚拟专用网与所述电缆调制解调器和嵌入式多媒体终端适配器进行所述语音媒体动态流的传输;Carry out the transmission of the dynamic stream of the voice media with the cable modem and the embedded multimedia terminal adapter through the virtual private network;
当传输完成后,删除所述语音媒体动态流。After the transmission is completed, the voice media dynamic stream is deleted.
本实施例中介绍的路由设备可以用以实施本发明结合图1、图2、图3介绍的方法实施例中的部分或全部流程,以及执行本发明结合图4介绍的装置实施例中的部分或全部功能,在此不再赘述。The routing device introduced in this embodiment can be used to implement part or all of the processes in the method embodiments introduced in conjunction with FIG. 1 , FIG. 2 , and FIG. 3 of the present invention, and to execute part of the apparatus embodiments introduced in conjunction with FIG. Or all functions, which will not be repeated here.
本领域普通技术人员将会理解,本发明的各个方面、或各个方面的可能实现方式可以被具体实施为系统、方法或者计算机程序产品。此外,本发明的各方面、或各个方面的可能实现方式可以采用计算机程序产品的形式,计算机程序产品是指存储在计算机可读介质中的计算机可读程序代码。As will be appreciated by one of ordinary skill in the art, various aspects of the present invention, or possible implementations of various aspects, may be embodied as a system, method or computer program product. Furthermore, aspects of the present invention, or possible implementations of various aspects, may take the form of a computer program product, which refers to computer readable program code stored on a computer readable medium.
计算机可读介质可以是计算机可读数据介质或者计算机可读存储介质。计算机可读存储介质包含但不限于电子、磁性、光学、电磁、红外或半导体系统、设备或者装置,或者前述的任意适当组合,如随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或者快闪存储器)、光纤、便携式只读存储器(CD-ROM)。The computer-readable medium may be a computer-readable data medium or a computer-readable storage medium. Computer-readable storage media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing, such as random access memory (RAM), read only memory (ROM), memory Erase programmable read only memory (EPROM or flash memory), optical fiber, portable read only memory (CD-ROM).
计算机中的处理器读取存储在计算机可读介质中的计算机可读程序代码,使得处理器能够执行在流程图中每个步骤、或各步骤的组合中规定的功能动作;生成实施在框图的每一块、或各块的组合中规定的功能动作的装置。The 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 combination of steps in the flowchart; A device that operates the functions 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 execute on. It should also be noted that, in some alternative implementations, the functions noted in the steps in the flowcharts, or blocks in the block diagrams, 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 modifications and variations can be made in the present invention without departing from the spirit and scope of the invention. Thus, provided that these 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 these modifications and variations.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610978920.XACN108023804B (en) | 2016-11-04 | 2016-11-04 | Method for transmitting dynamic stream and routing equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610978920.XACN108023804B (en) | 2016-11-04 | 2016-11-04 | Method for transmitting dynamic stream and routing equipment |
| Publication Number | Publication Date |
|---|---|
| CN108023804A CN108023804A (en) | 2018-05-11 |
| CN108023804Btrue CN108023804B (en) | 2020-11-17 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610978920.XAActiveCN108023804B (en) | 2016-11-04 | 2016-11-04 | Method for transmitting dynamic stream and routing equipment |
| Country | Link |
|---|---|
| CN (1) | CN108023804B (en) |
| 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 |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101299698A (en)* | 2007-04-30 | 2008-11-05 | 华为技术有限公司 | Method, device and system for communication proxy |
| CN101351784A (en)* | 2005-12-30 | 2009-01-21 | 阿西式·A·潘迪亚 | Runtime Adaptive Search Processor |
| CN105357284A (en)* | 2015-10-20 | 2016-02-24 | 中国有色金属长沙勘察设计研究院有限公司 | GNSS (Global Navigation Satellite System) server and implementation method thereof |
| 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 |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101351784A (en)* | 2005-12-30 | 2009-01-21 | 阿西式·A·潘迪亚 | Runtime Adaptive Search Processor |
| CN101299698A (en)* | 2007-04-30 | 2008-11-05 | 华为技术有限公司 | Method, device and system for communication proxy |
| CN105357284A (en)* | 2015-10-20 | 2016-02-24 | 中国有色金属长沙勘察设计研究院有限公司 | GNSS (Global Navigation Satellite System) server and implementation method thereof |
| Title |
|---|
| 《基于MPLS的二、三层VPN研究》;罗恒洋;《计算机技术与发展》;20090110;第19卷(第1期);第63-66页* |
| Publication number | Publication date |
|---|---|
| CN108023804A (en) | 2018-05-11 |
| Publication | Publication Date | Title |
|---|---|---|
| US11431526B2 (en) | Deterministic forwarding across L2 and L3 networks | |
| US8121126B1 (en) | Layer two (L2) network access node having data plane MPLS | |
| US8085791B1 (en) | Using layer two control protocol (L2CP) for data plane MPLS within an L2 network access node | |
| US8400923B2 (en) | Multipath transmission control protocol proxy | |
| JP3964871B2 (en) | System, method and data structure for multimedia communication | |
| JP2014532368A (en) | Virtual private network execution method and system based on traffic engineering tunnel | |
| CN102137000B (en) | Method, device and system for establishing switching multicast distribution tree | |
| CN102098167B (en) | Multicasting stream forwarding method, device and system | |
| WO2007095799A1 (en) | Method and system for performing edge to edge pseudo wire emulation of the bundling interface | |
| CN101277245A (en) | A method, system and device for implementing L2VPN cross-domain | |
| WO2014194711A1 (en) | Packet processing method, device label processing method, and device | |
| WO2008011818A1 (en) | Method of realizing hierarchy-virtual private lan service and network system | |
| CN102571375B (en) | Multicast forwarding method and device as well as network device | |
| WO2013117165A1 (en) | Method and node for realizing e-tree service based on vpls | |
| CN105553810A (en) | Method and device for forwarding special line service packet | |
| CA2980732A1 (en) | Service label routing in a network | |
| WO2013139234A1 (en) | Method, device and network system for multicast transmission | |
| WO2011120381A1 (en) | Quality of service processing method and device for virtual private network traffic | |
| CN108023804B (en) | Method for transmitting dynamic stream and routing equipment | |
| WO2014079208A1 (en) | Communication method, device and system for trill network | |
| CN103634210B (en) | Find the method and apparatus of the opposite end PE equipment of VPLS example | |
| CN101232446A (en) | Message processing method and device | |
| US9246766B2 (en) | Method and apparatus for a distributed internet architecture | |
| WO2015054864A1 (en) | Method and device for establishing layer 2 virtual private network services | |
| CN218920438U (en) | Internet access control system based on VXLAN |
| 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 |