CN110401807A - A communication method and device for a videophone system - Google Patents
A communication method and device for a videophone system Download PDFInfo
- Publication number
- CN110401807A CN110401807A CN201910642541.7A CN201910642541A CN110401807A CN 110401807 A CN110401807 A CN 110401807A CN 201910642541 A CN201910642541 A CN 201910642541A CN 110401807 A CN110401807 A CN 110401807A
- Authority
- CN
- China
- Prior art keywords
- xmcu
- server
- videophone
- terminal
- video
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 90
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000006855 networking Effects 0.000 claims abstract description 118
- 230000004044 response Effects 0.000 claims abstract description 42
- 238000006243 chemical reaction Methods 0.000 claims description 18
- 238000004590 computer program Methods 0.000 claims description 10
- 238000003860 storage Methods 0.000 claims description 10
- 241001269238 Data Species 0.000 claims 2
- 238000005516 engineering process Methods 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 11
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 230000000007 visual effect Effects 0.000 description 7
- 238000001514 detection method Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 238000011144 upstream manufacturing Methods 0.000 description 3
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 230000000977 initiatory effect Effects 0.000 description 2
- 230000010354 integration Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 206010035148 Plague Diseases 0.000 description 1
- 241000700605 Viruses Species 0.000 description 1
- 241000607479 Yersinia pestis Species 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000002155 anti-virotic effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000003032 molecular docking Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/60—Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client
- H04N21/63—Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
- H04N21/643—Communication protocols
- H04N21/6437—Real-time Transport Protocol [RTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/15—Conference systems
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例提供了一种可视电话系统的通信方法及装置,所述可视电话系统包括互联网终端、视联网终端和xmcu服务器,包括:xmcu服务器接收互联网终端发送的基于h323协议的可视电话请求消息;建立子号码对应的虚拟终端与互联网终端之间的第一通信通道;将基于h323协议的可视电话请求消息转换为基于64位视联网协议的可视电话请求消息;向与视联网终端号码相对应的视联网终端,发送基于64位视联网协议的可视电话请求消息;接收视联网终端响应基于64位视联网协议的可视电话请求消息,返回的基于64位视联网协议的可视电话应答消息,建立子号码对应的虚拟终端与所述视联网终端之间的第二通信通道。从而扩展可用的虚拟终端号码资源,避免虚拟终端号码资源枯竭。
Embodiments of the present invention provide a communication method and device for a videophone system. The videophone system includes an Internet terminal, a video network terminal, and an xmcu server. Telephone request message; establish the first communication channel between the virtual terminal corresponding to the sub-number and the Internet terminal; convert the videophone request message based on the h323 protocol into a videophone request message based on the 64-bit video networking protocol; The video networking terminal corresponding to the networking terminal number sends a videophone request message based on the 64-bit video networking protocol; the receiving video networking terminal responds to the videophone request message based on the 64-bit video networking protocol, and returns a video telephony request message based on the 64-bit video networking protocol. The videophone response message of the sub-number is used to establish a second communication channel between the virtual terminal corresponding to the sub-number and the video network terminal. In this way, available virtual terminal number resources are expanded, and virtual terminal number resources are prevented from being exhausted.
Description
技术领域technical field
本发明涉及视联网技术领域,特别是涉及一种可视电话系统的通信方法以及一种可视电话系统的通信装置。The invention relates to the technical field of video networking, in particular to a communication method for a videophone system and a communication device for a videophone system.
背景技术Background technique
视联网采用VisionVera实时高清视频交换技术,实现了目前互联网无法实现的全网高清视频实时传输,将高清视频会议、视频监控、远程培训、智能化监控分析、应急指挥、视频电话、现场直播、电视邮件、信息发布等数十种视频、语音、图片、文字、通讯、数据等服务全部整合在一个系统平台,通过多种终端设备实现高清品质视频通信实时互联互通。The Internet of Vision adopts VisionVera real-time high-definition video exchange technology to realize the real-time transmission of high-definition video on the entire network that cannot be realized by the Internet at present. Dozens of video, voice, picture, text, communication, data and other services such as mail and information release are all integrated into one system platform, and real-time interconnection of high-definition quality video communication is realized through a variety of terminal devices.
在视联网中,部署有视联网网关,如视联网会议网关xmcu,负责在视联网与互联网进行对接融合,确保视联网与互联网能互联互通,进行视频会议等业务。In the video network, a video network gateway is deployed, such as the video conference gateway xmcu, which is responsible for the integration of the video network and the Internet, ensuring that the video network and the Internet can be interconnected and interoperable, and video conferences and other services are performed.
然而,现在xmcu服务器只支持16位视联网协议,而16位视联网随着视联网广泛应用,面临视联网虚拟终端资源枯竭的现状,所以公司推出一种64位视联网协议,为接入64位视联网中,xmcu也需要支持64位视联网协议,为方便xmcu大规模使用。However, now the xmcu server only supports 16-bit video networking protocol, and with the wide application of video networking, 16-bit video networking is facing the exhaustion of virtual terminal resources of video networking, so the company launched a 64-bit video networking protocol for accessing 64 In the bit vision networking, xmcu also needs to support the 64 bit vision networking protocol, in order to facilitate the large-scale use of xmcu.
发明内容Contents of the invention
鉴于上述问题,提出了本发明实施例以便提供一种克服上述问题或者至少部分地解决上述问题的一种可视电话系统的通信方法,以及相应的一种可视电话系统的通信装置。In view of the above problems, embodiments of the present invention are proposed to provide a communication method for a videophone system that overcomes the above problems or at least partially solves the above problems, and a corresponding communication device for a videophone system.
为了解决上述问题,本发明实施例公开了一种可视电话系统的通信方法,所述可视电话系统包括互联网终端、视联网终端和xmcu服务器,所述方法包括:In order to solve the above problems, the embodiment of the present invention discloses a communication method of a videophone system, the videophone system includes an Internet terminal, a video network terminal and an xmcu server, and the method includes:
所述xmcu服务器接收所述互联网终端发送的基于h323协议的可视电话请求消息;所述基于h323协议的可视电话请求消息携带视联网终端号码和子号码;The xmcu server receives the videophone request message based on the h323 protocol sent by the Internet terminal; the videophone request message based on the h323 protocol carries the video network terminal number and sub-number;
所述xmcu服务器依据所述子号码,建立所述子号码对应的虚拟终端与所述互联网终端之间的第一通信通道;The xmcu server establishes a first communication channel between the virtual terminal corresponding to the sub-number and the Internet terminal according to the sub-number;
所述xmcu服务器将所述基于h323协议的可视电话请求消息转换为基于64位视联网协议的可视电话请求消息;The xmcu server converts the videophone request message based on the h323 protocol into a videophone request message based on the 64-bit video networking protocol;
所述xmcu服务器向与所述视联网终端号码相对应的视联网终端,发送所述基于64位视联网协议的可视电话请求消息;The xmcu server sends the videophone request message based on the 64-bit video networking protocol to the video networking terminal corresponding to the video networking terminal number;
所述xmcu服务器接收视联网终端响应所述基于64位视联网协议的可视电话请求消息,返回的基于64位视联网协议的可视电话应答消息,建立所述子号码对应的虚拟终端与所述视联网终端之间的第二通信通道。The xmcu server receives the video telephony response message based on the 64-bit video networking protocol in response to the video telephony request message based on the 64-bit video networking protocol from the video networking terminal, and establishes the virtual terminal corresponding to the sub-number and the The second communication channel between the Internet-connected terminals is described.
可选的,所述xmcu服务器依据所述子号码,建立所述子号码对应的虚拟终端与所述互联网终端之间的第一通信通道,包括:Optionally, the xmcu server establishes the first communication channel between the virtual terminal corresponding to the sub-number and the Internet terminal according to the sub-number, including:
所述xmcu服务器在预置的配置文件中查找与所述子号码对应的空闲的虚拟终端;The xmcu server searches for an idle virtual terminal corresponding to the subnumber in a preset configuration file;
所述xmcu服务器建立与所述子号码对应的空闲的虚拟终端与所述互联网终端之间的第一通信通道。The xmcu server establishes a first communication channel between an idle virtual terminal corresponding to the subnumber and the Internet terminal.
可选的,所述xmcu服务器接收视联网终端响应所述基于64位视联网协议的可视电话请求消息,返回的基于64位视联网协议的可视电话应答消息之后,还包括:Optionally, after the xmcu server receives the video telephony request message based on the 64-bit video networking protocol in response to the video telephony request message based on the 64-bit video networking protocol, the xmcu server further includes:
所述xmcu服务器将所述基于64位视联网协议的可视电话应答消息转换为基于h323协议的可视电话应答消息;The xmcu server converts the videophone response message based on the 64-bit video networking protocol into a videophone response message based on the h323 protocol;
所述xmcu服务器将所述基于h323协议的可视电话应答消息发送至所述互联网终端。The xmcu server sends the videophone response message based on the h323 protocol to the Internet terminal.
可选的,所述方法还包括:Optionally, the method also includes:
所述xmcu服务器接收所述视联网终端通过所述第二通信通道发送的64位视联网格式的第一音视频数据;The xmcu server receives the first audio and video data in the 64-bit video networking format sent by the video networking terminal through the second communication channel;
所述xmcu服务器将所述64位视联网格式的第一音视频数据转换为RTP格式的第一音视频数据;The xmcu server converts the first audio and video data of the 64-bit visual networking format into the first audio and video data of the RTP format;
所述xmcu服务器将所述RTP格式的第一音视频数据通过所述第一通信通道发送至所述互联网终端。The xmcu server sends the first audio and video data in RTP format to the Internet terminal through the first communication channel.
可选的,所述方法还包括:Optionally, the method also includes:
所述互联网终端对RTP格式的第一音视频数据进行解码,并展示解码后的第一音视频数据。The Internet terminal decodes the first audio and video data in RTP format, and displays the decoded first audio and video data.
可选的,所述方法还包括:Optionally, the method also includes:
所述xmcu服务器接收所述互联网终端通过所述第一通信通道发送的RTP格式的第二音视频数据;The xmcu server receives the second audio and video data in RTP format sent by the Internet terminal through the first communication channel;
所述xmcu服务器将所述RTP格式的第二音视频数据转换为64位视联网格式的第二音视频数据;The xmcu server converts the second audio and video data of the RTP format into the second audio and video data of the 64-bit video networking format;
所述xmcu服务器将所述64位视联网格式的第二音视频数据通过所述第二通信通道发送至所述视联网终端。The xmcu server sends the second audio and video data in the 64-bit Internet of Vision format to the Internet of Vision terminal through the second communication channel.
可选的,所述方法还包括:Optionally, the method also includes:
所述视联网终端对所述64位视联网格式的第二音视频数据进行解码,并展示解码后的第二音视频数据。The Internet-of-Vision terminal decodes the second audio-video data in the 64-bit Internet-of-Vision format, and displays the decoded second audio-video data.
本发明实施例还公开了一种可视电话系统的通信装置,所述可视电话系统包括互联网终端、视联网终端和xmcu服务器,所述装置包括:The embodiment of the present invention also discloses a communication device for a videophone system. The videophone system includes an Internet terminal, a video network terminal and an xmcu server. The device includes:
第一请求发送模块,用于所述xmcu服务器接收所述互联网终端发送的基于h323协议的可视电话请求消息;所述基于h323协议的可视电话请求消息携带视联网终端号码和子号码;The first request sending module is used for the xmcu server to receive the videophone request message based on the h323 protocol sent by the Internet terminal; the videophone request message based on the h323 protocol carries the video network terminal number and sub-number;
第一通信通道建立模块,用于所述xmcu服务器依据所述子号码,建立所述子号码对应的虚拟终端与所述互联网终端之间的第一通信通道;The first communication channel establishment module is used for the xmcu server to establish a first communication channel between the virtual terminal corresponding to the sub-number and the Internet terminal according to the sub-number;
请求转换模块,用于所述xmcu服务器将所述基于h323协议的可视电话请求消息转换为基于64位视联网协议的可视电话请求消息;The request conversion module is used for the xmcu server to convert the videophone request message based on the h323 protocol into a videophone request message based on the 64-bit video networking protocol;
第二请求发送模块,用于所述xmcu服务器向与所述视联网终端号码相对应的视联网终端,发送所述基于64位视联网协议的可视电话请求消息;The second request sending module is used for the xmcu server to send the videophone request message based on the 64-bit video networking protocol to the video networking terminal corresponding to the video networking terminal number;
第二通信通道建立模块,用于所述xmcu服务器接收视联网终端响应所述基于64位视联网协议的可视电话请求消息,返回的基于64位视联网协议的可视电话应答消息,建立所述子号码对应的虚拟终端与所述视联网终端之间的第二通信通道。The second communication channel establishment module is used for the xmcu server to receive the videophone response message based on the 64-bit video networking protocol returned by the video networking terminal in response to the video telephony request message based on the 64-bit video networking protocol, and establish the video telephony response message based on the 64-bit video networking protocol The second communication channel between the virtual terminal corresponding to the sub-number and the Internet-of-Vision terminal.
可选的,所述第一通信通道建立模块,包括:Optionally, the first communication channel establishment module includes:
查找子模块,用于所述xmcu服务器在预置的配置文件中查找与所述子号码对应的空闲的虚拟终端;A search submodule is used for the xmcu server to search for an idle virtual terminal corresponding to the subnumber in a preset configuration file;
第一通信通道建立子模块,用于所述xmcu服务器建立与所述子号码对应的空闲的虚拟终端与所述互联网终端之间的第一通信通道。The first communication channel establishment sub-module is used for the xmcu server to establish the first communication channel between the idle virtual terminal corresponding to the sub-number and the Internet terminal.
可选的,所述装置还包括:Optionally, the device also includes:
应答转换模块,用于所述xmcu服务器将所述基于64位视联网协议的可视电话应答消息转换为基于h323协议的可视电话应答消息;Response conversion module, for the xmcu server to convert the videophone response message based on the 64-bit video networking protocol into a videophone response message based on the h323 protocol;
应答发送模块,用于所述xmcu服务器将所述基于h323协议的可视电话应答消息发送至所述互联网终端。The answer sending module is used for the xmcu server to send the videophone answer message based on the h323 protocol to the Internet terminal.
可选的,所述装置还包括:Optionally, the device also includes:
第一音视频数据接收模块,用于所述xmcu服务器接收所述视联网终端通过所述第二通信通道发送的64位视联网格式的第一音视频数据;The first audio and video data receiving module is used for the xmcu server to receive the first audio and video data in the 64-bit video networking format sent by the video networking terminal through the second communication channel;
第一音视频数据转换模块,用于所述xmcu服务器将所述64位视联网格式的第一音视频数据转换为RTP格式的第一音视频数据;The first audio and video data conversion module is used for the xmcu server to convert the first audio and video data of the 64-bit video networking format into the first audio and video data of the RTP format;
第一音视频数据发送模块,用于所述xmcu服务器将所述RTP格式的第一音视频数据通过所述第一通信通道发送至所述互联网终端。The first audio and video data sending module is used for the xmcu server to send the first audio and video data in RTP format to the Internet terminal through the first communication channel.
可选的,所述装置还包括:Optionally, the device also includes:
第一音视频数据展示模块,用于所述互联网终端对RTP格式的第一音视频数据进行解码,并展示解码后的第一音视频数据。The first audio and video data display module is used for the Internet terminal to decode the first audio and video data in RTP format, and display the decoded first audio and video data.
可选的,所述装置还包括:Optionally, the device also includes:
第二音视频数据接收模块,用于所述xmcu服务器接收所述互联网终端通过所述第一通信通道发送的RTP格式的第二音视频数据;The second audio and video data receiving module is used for the xmcu server to receive the second audio and video data in RTP format sent by the Internet terminal through the first communication channel;
第二音视频数据转换模块,用于所述xmcu服务器将所述RTP格式的第二音视频数据转换为64位视联网格式的第二音视频数据;The second audio and video data conversion module is used for the xmcu server to convert the second audio and video data in the RTP format to the second audio and video data in the 64-bit video networking format;
第二音视频数据发送模块,用于所述xmcu服务器将所述64位视联网格式的第二音视频数据通过所述第二通信通道发送至所述视联网终端。The second audio and video data sending module is used for the xmcu server to send the second audio and video data in the 64-bit video networking format to the video networking terminal through the second communication channel.
可选的,所述装置还包括:Optionally, the device also includes:
第二音视频数据展示模块,用于所述视联网终端对所述64位视联网格式的第二音视频数据进行解码,并展示解码后的第二音视频数据。The second audio-video data display module is used for the Internet-of-Vision terminal to decode the second audio-video data in the 64-bit Internet-of-Vision format, and display the decoded second audio-video data.
本发明实施例还公开了一种电子设备,包括:The embodiment of the invention also discloses an electronic device, including:
一个或多个处理器;和one or more processors; and
其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述电子设备执行如本发明实施例所述的一个或多个的方法的步骤。One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, causes the electronic device to perform the steps of one or more methods described in the embodiments of the present invention .
本发明实施例还公开了一种计算机可读存储介质,其存储的计算机程序使得处理器执行如本发明实施例所述的方法的步骤。The embodiment of the present invention also discloses a computer-readable storage medium, the computer program stored in it causes the processor to execute the steps of the method described in the embodiment of the present invention.
本发明实施例包括以下优点:Embodiments of the present invention include the following advantages:
在本发明实施例中,xmcu服务器接收互联网终端发送的基于h323协议的可视电话请求消息,并建立子号码对应的虚拟终端与互联网终端之间的第一通信通道,将基于h323协议的可视电话请求消息转换为基于64位视联网协议的可视电话请求消息,发送基于64位视联网协议的可视电话请求到向与视联网终端号码相对应的视联网终端,发送基于64位视联网协议的可视电话请求消息,接收视联网终端响应基于64位视联网协议的可视电话请求消息,返回的基于64位视联网协议的可视电话应答消息,建立子号码对应的虚拟终端与视联网终端之间的第二通信通道。通过xmcu服务器支持64位视联网协议,使得在进行视联网业务时,可以消耗虚拟终端号码的子号码进行数据传输,从而扩展可用的虚拟终端号码资源,避免虚拟终端号码资源枯竭。In the embodiment of the present invention, the xmcu server receives the videophone request message based on the h323 protocol sent by the Internet terminal, and establishes the first communication channel between the virtual terminal corresponding to the sub-number and the Internet terminal, and sends the videophone request message based on the h323 protocol. The telephone request message is converted into a videophone request message based on the 64-bit video networking protocol, and the video telephony request based on the 64-bit video networking protocol is sent to the video networking terminal corresponding to the video networking terminal number, and the video telephony request message based on the 64-bit video networking protocol is sent. protocol videophone request message, receive the videophone request message based on the 64-bit videonetwork protocol from the videophone terminal, return the videophone response message based on the 64-bit videonetwork protocol, and establish the virtual terminal corresponding to the sub-number and the videophone request message A second communication channel between networked terminals. The 64-bit video networking protocol is supported by the xmcu server, so that when performing video networking services, the sub-numbers of the virtual terminal number can be consumed for data transmission, thereby expanding the available virtual terminal number resources and avoiding the exhaustion of virtual terminal number resources.
附图说明Description of drawings
图1是本发明的一种视联网的组网示意图;Fig. 1 is a kind of networking schematic diagram of visual networking of the present invention;
图2是本发明的一种节点服务器的硬件结构示意图;Fig. 2 is a schematic diagram of the hardware structure of a node server of the present invention;
图3是本发明的一种接入交换机的硬件结构示意图;Fig. 3 is a schematic diagram of the hardware structure of an access switch of the present invention;
图4是本发明的一种以太网协转网关的硬件结构示意图;Fig. 4 is the hardware structural representation of a kind of Ethernet protocol conversion gateway of the present invention;
图5是本发明实施例的一种可视电话系统的通信方法实施例的步骤流程图;FIG. 5 is a flow chart of the steps of an embodiment of a communication method for a videophone system according to an embodiment of the present invention;
图6是本发明的一种可视电话系统的通信方法流程框图;Fig. 6 is a flow chart of a communication method of a videophone system of the present invention;
图7是本发明实施例的一种可视电话系统的通信装置实施例的结构框图。Fig. 7 is a structural block diagram of an embodiment of a communication device of a videophone system according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本发明作进一步详细的说明。In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
视联网是网络发展的重要里程碑,是一个实时网络,能够实现高清视频实时传输,将众多互联网应用推向高清视频化,高清面对面。The Internet of Vision is an important milestone in the development of the network. It is a real-time network that can realize real-time transmission of high-definition video, and push many Internet applications to high-definition video, high-definition face-to-face.
视联网采用实时高清视频交换技术,可以在一个网络平台上将所需的服务,如高清视频会议、视频监控、智能化监控分析、应急指挥、数字广播电视、延时电视、网络教学、现场直播、VOD点播、电视邮件、个性录制(PVR)、内网(自办)频道、智能化视频播控、信息发布等数十种视频、语音、图片、文字、通讯、数据等服务全部整合在一个系统平台,通过电视或电脑实现高清品质视频播放。The Internet of View adopts real-time high-definition video exchange technology, which can provide required services on one network platform, such as high-definition video conferencing, video surveillance, intelligent monitoring and analysis, emergency command, digital broadcast TV, time-lapse TV, online teaching, live broadcast , VOD on demand, TV mail, personalized recording (PVR), intranet (self-managed) channel, intelligent video broadcast control, information release and other dozens of video, voice, picture, text, communication, data and other services are all integrated in one System platform, realize high-definition quality video playback through TV or computer.
为使本领域技术人员更好地理解本发明实施例,以下对视联网进行介绍:In order to enable those skilled in the art to better understand the embodiments of the present invention, the Internet of Things is introduced as follows:
视联网所应用的部分技术如下所述:Some of the technologies applied in the Internet of Things are as follows:
网络技术(Network Technology)Network Technology
视联网的网络技术创新改良了传统以太网(Ethernet),以面对网络上潜在的巨大第一视频流量。不同于单纯的网络分组包交换(Packet Switching)或网络电路交换(Circuit Switching),视联网技术采用Packet Switching满足Streaming需求。视联网技术具备分组交换的灵活、简单和低价,同时具备电路交换的品质和安全保证,实现了全网交换式虚拟电路,以及数据格式的无缝连接。The network technology innovation of the Internet of View has improved the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Different from pure network packet switching (Packet Switching) or network circuit switching (Circuit Switching), video networking technology uses Packet Switching to meet Streaming requirements. The Internet of Vision technology has the flexibility, simplicity and low price of packet switching, and at the same time has the quality and security guarantee of circuit switching, realizing the seamless connection of switched virtual circuits and data formats throughout the network.
交换技术(Switching Technology)Switching Technology
视联网采用以太网的异步和包交换两个优点,在全兼容的前提下消除了以太网缺陷,具备全网端到端无缝连接,直通用户终端,直接承载IP数据包。用户数据在全网范围内不需任何格式转换。视联网是以太网的更高级形态,是一个实时交换平台,能够实现目前互联网无法实现的全网大规模高清视频实时传输,将众多网络视频应用推向高清化、统一化。Video networking adopts the two advantages of Ethernet asynchronous and packet switching, eliminates the defects of Ethernet under the premise of full compatibility, has end-to-end seamless connection of the whole network, directly connects to user terminals, and directly carries IP data packets. User data does not require any format conversion within the entire network. Video networking is a more advanced form of Ethernet. It is a real-time switching platform, which can realize the real-time transmission of large-scale high-definition video in the whole network that cannot be realized by the Internet at present, and push many network video applications to high-definition and unification.
服务器技术(Server Technology)Server Technology
视联网和统一视频平台上的服务器技术不同于传统意义上的服务器,它的流媒体传输是建立在面向连接的基础上,其数据处理能力与流量、通讯时间无关,单个网络层就能够包含信令及数据传输。对于语音和视频业务来说,视联网和统一视频平台流媒体处理的复杂度比数据处理简单许多,效率比传统服务器大大提高了百倍以上。The server technology on the Internet of View and unified video platform is different from the server in the traditional sense. Its streaming media transmission is based on connection-oriented, and its data processing capability has nothing to do with traffic and communication time. A single network layer can contain information command and data transmission. For voice and video services, the complexity of video streaming and unified video platform streaming media processing is much simpler than data processing, and the efficiency is greatly improved by more than 100 times compared with traditional servers.
储存器技术(Storage Technology)Storage Technology
统一视频平台的超高速储存器技术为了适应超大容量和超大流量的媒体内容而采用了最先进的实时操作系统,将服务器指令中的节目信息映射到具体的硬盘空间,媒体内容不再经过服务器,瞬间直接送达到用户终端,用户等待一般时间小于0.2秒。最优化的扇区分布大大减少了硬盘磁头寻道的机械运动,资源消耗仅占同等级IP互联网的20%,但产生大于传统硬盘阵列3倍的并发流量,综合效率提升10倍以上。The ultra-high-speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the super-large capacity and super-large-flow media content, and maps the program information in the server command to the specific hard disk space, and the media content no longer passes through the server. It is delivered directly to the user terminal in an instant, and the user generally waits for less than 0.2 seconds. The optimized sector distribution greatly reduces the mechanical movement of the hard disk head seeking. The resource consumption is only 20% of the IP Internet of the same level, but the concurrent traffic generated is 3 times larger than that of the traditional hard disk array, and the overall efficiency is increased by more than 10 times.
网络安全技术(Network Security Technology)Network Security Technology
视联网的结构性设计通过每次服务单独许可制、设备与用户数据完全隔离等方式从结构上彻底根除了困扰互联网的网络安全问题,一般不需要杀毒程序、防火墙,杜绝了黑客与病毒的攻击,为用户提供结构性的无忧安全网络。The structural design of the Internet of View completely eradicates the network security problems that plague the Internet through the individual licensing system for each service, complete isolation of equipment and user data, and generally does not require anti-virus programs and firewalls, preventing hackers and virus attacks , to provide users with a structured worry-free security network.
服务创新技术(Service Innovation Technology)Service Innovation Technology
统一视频平台将业务与传输融合在一起,不论是单个用户、私网用户还是一个网络的总合,都不过是一次自动连接。用户终端、机顶盒或PC直接连到统一视频平台,获得丰富多彩的各种形态的多媒体视频服务。统一视频平台采用“菜谱式”配表模式来替代传统的复杂应用编程,可以使用非常少的代码即可实现复杂的应用,实现“无限量”的新业务创新。The unified video platform integrates business and transmission together, whether it is a single user, a private network user or the sum of a network, it is just an automatic connection. User terminals, set-top boxes or PCs are directly connected to the unified video platform to obtain rich and colorful multimedia video services in various forms. The unified video platform adopts the "recipe-style" table matching mode to replace the traditional complex application programming. It can realize complex applications with very little code and realize "unlimited" new business innovations.
视联网的组网如下所述:The networking of the Internet of Things is as follows:
视联网是一种集中控制的网络结构,该网络可以是树型网、星型网、环状网等等类型,但在此基础上网络中需要有集中控制节点来控制整个网络。Vision networking is a network structure with centralized control. The network can be a tree network, star network, ring network, etc., but on this basis, a centralized control node is required in the network to control the entire network.
如图1所示,视联网分为接入网和城域网两部分。As shown in Figure 1, the Internet of Things is divided into two parts: the access network and the metropolitan area network.
接入网部分的设备主要可以分为3类:节点服务器,接入交换机,终端(包括各种机顶盒、编码板、存储器等)。节点服务器与接入交换机相连,接入交换机可以与多个终端相连,并可以连接以太网。The equipment in the access network part can be mainly divided into three categories: node server, access switch, terminal (including various set-top boxes, encoding boards, storage, etc.). The node server is connected with the access switch, and the access switch can be connected with multiple terminals and can be connected with Ethernet.
其中,节点服务器是接入网中起集中控制功能的节点,可控制接入交换机和终端。节点服务器可直接与接入交换机相连,也可以直接与终端相连。Wherein, the node server is a node with centralized control function in the access network, which can control the access switches and terminals. The node server can be directly connected to the access switch, and can also be directly connected to the terminal.
类似的,城域网部分的设备也可以分为3类:城域服务器,节点交换机,节点服务器。城域服务器与节点交换机相连,节点交换机可以与多个节点服务器相连。Similarly, the devices in the MAN part can also be divided into three categories: MAN servers, node switches, and node servers. The metro server is connected to the node switch, and the node switch can be connected to multiple node servers.
其中,节点服务器即为接入网部分的节点服务器,即节点服务器既属于接入网部分,又属于城域网部分。Wherein, the node server is the node server of the access network part, that is, the node server belongs to both the access network part and the metropolitan area network part.
城域服务器是城域网中起集中控制功能的节点,可控制节点交换机和节点服务器。城域服务器可直接连接节点交换机,也可直接连接节点服务器。The metropolitan area server is a node with a centralized control function in the metropolitan area network, which can control node switches and node servers. The metro server can be directly connected to the node switch, or directly connected to the node server.
由此可见,整个视联网络是一种分层集中控制的网络结构,而节点服务器和城域服务器下控制的网络可以是树型、星型、环状等各种结构。It can be seen that the entire Vision Network is a layered centralized control network structure, while the network controlled by the node server and the metro server can be in various structures such as tree, star, and ring.
形象地称,接入网部分可以组成统一视频平台(虚线圈中部分),多个统一视频平台可以组成视联网;每个统一视频平台可以通过城域以及广域视联网互联互通。Vividly speaking, the access network part can form a unified video platform (the part in the dotted circle), and multiple unified video platforms can form a video network; each unified video platform can be interconnected through the metropolitan area and the wide area video network.
视联网设备分类Classification of Internet of Things devices
1.1本发明实施例的视联网中的设备主要可以分为3类:服务器,交换机(包括以太网协转网关),终端(包括各种机顶盒,编码板,存储器等)。视联网整体上可以分为城域网(或者国家网、全球网等)和接入网。1.1 The equipment in the video network of the embodiment of the present invention can be mainly divided into three categories: servers, switches (including Ethernet protocol conversion gateways), terminals (including various set-top boxes, encoding boards, memory, etc.). As a whole, the Internet of Things can be divided into a metropolitan area network (or a national network, a global network, etc.) and an access network.
1.2其中接入网部分的设备主要可以分为3类:节点服务器,接入交换机(包括以太网协转网关),终端(包括各种机顶盒,编码板,存储器等)。1.2 The equipment in the access network can be mainly divided into three categories: node server, access switch (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, encoding boards, storage, etc.).
各接入网设备的具体硬件结构为:The specific hardware structure of each access network device is as follows:
节点服务器:Node server:
如图2所示,主要包括网络接口模块201、交换引擎模块202、CPU模块203、磁盘阵列模块204;As shown in Figure 2, it mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
其中,网络接口模块201,CPU模块203、磁盘阵列模块204进来的包均进入交换引擎模块202;交换引擎模块202对进来的包进行查地址表205的操作,从而获得包的导向信息;并根据包的导向信息把该包存入对应的包缓存器206的队列;如果包缓存器206的队列接近满,则丢弃;交换引擎模块202轮询所有包缓存器队列,如果满足以下条件进行转发:1)该端口发送缓存未满;2)该队列包计数器大于零。磁盘阵列模块204主要实现对硬盘的控制,包括对硬盘的初始化、读写等操作;CPU模块203主要负责与接入交换机、终端(图中未示出)之间的协议处理,对地址表205(包括下行协议包地址表、上行协议包地址表、数据包地址表)的配置,以及,对磁盘阵列模块204的配置。Wherein, network interface module 201, the bag that CPU module 203, disk array module 204 come in all enters switching engine module 202; The guiding information of packet stores this packet into the queue of corresponding packet cache 206; If the queue of packet cache 206 is close to full, then discards; Switching engine module 202 polls all packet cache queues, if satisfying following conditions forwarding: 1) The sending buffer of the port is not full; 2) The queue packet counter is greater than zero. Disk array module 204 mainly realizes the control to hard disk, comprises operations such as the initialization of hard disk, read and write; (including downlink protocol packet address table, uplink protocol packet address table, and data packet address table), and configuration of the disk array module 204 .
接入交换机:Access switch:
如图3所示,主要包括网络接口模块(下行网络接口模块301、上行网络接口模块302)、交换引擎模块303和CPU模块304;As shown in Figure 3, mainly comprise network interface module (downlink network interface module 301, uplink network interface module 302), switching engine module 303 and CPU module 304;
其中,下行网络接口模块301进来的包(上行数据)进入包检测模块305;包检测模块305检测包的目地地址(DA)、源地址(SA)、数据包类型及包长度是否符合要求,如果符合,则分配相应的流标识符(stream-id),并进入交换引擎模块303,否则丢弃;上行网络接口模块302进来的包(下行数据)进入交换引擎模块303;CPU模块304进来的数据包进入交换引擎模块303;交换引擎模块303对进来的包进行查地址表306的操作,从而获得包的导向信息;如果进入交换引擎模块303的包是下行网络接口往上行网络接口去的,则结合流标识符(stream-id)把该包存入对应的包缓存器307的队列;如果该包缓存器307的队列接近满,则丢弃;如果进入交换引擎模块303的包不是下行网络接口往上行网络接口去的,则根据包的导向信息,把该数据包存入对应的包缓存器307的队列;如果该包缓存器307的队列接近满,则丢弃。Wherein, the packet (upstream data) that the downstream network interface module 301 comes in enters the packet detection module 305; Whether the destination address (DA), source address (SA), data packet type and packet length of the packet detection module 305 detection packet meet the requirements, if Meet, then distribute corresponding flow identifier (stream-id), and enter switching engine module 303, otherwise discard; The packet (downstream data) that upstream network interface module 302 comes in enters switching engine module 303; The data packet that CPU module 304 comes in Enter the switching engine module 303; the switching engine module 303 carries out the operation of checking the address table 306 to the incoming packet, thereby obtains the guide information of the packet; if the packet entering the switching engine module 303 is going from the downstream network interface to the upstream network interface, then in combination Flow identifier (stream-id) stores this packet into the queue of corresponding packet cache 307; If the queue of this packet cache 307 is close to full, then discards; If the packet that enters switching engine module 303 is not downlink network interface, goes up If the data packet goes to the network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the direction information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
交换引擎模块303轮询所有包缓存器队列,可以包括两种情形:The switching engine module 303 polls all packet buffer queues, which can include two situations:
如果该队列是下行网络接口往上行网络接口去的,则满足以下条件进行转发:1)该端口发送缓存未满;2)该队列包计数器大于零;3)获得码率控制模块产生的令牌;If the queue goes from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port sending buffer is not full; 2) the queue packet counter is greater than zero; 3) the token generated by the code rate control module is obtained ;
如果该队列不是下行网络接口往上行网络接口去的,则满足以下条件进行转发:1)该端口发送缓存未满;2)该队列包计数器大于零。If the queue does not go from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the sending buffer of the port is not full; 2) the packet counter of the queue is greater than zero.
码率控制模块308是由CPU模块304来配置的,在可编程的间隔内对所有下行网络接口往上行网络接口去的包缓存器队列产生令牌,用以控制上行转发的码率。The code rate control module 308 is configured by the CPU module 304 to generate tokens for all packet buffer queues going from the downlink network interface to the uplink network interface within a programmable interval to control the uplink forwarding code rate.
CPU模块304主要负责与节点服务器之间的协议处理,对地址表306的配置,以及,对码率控制模块308的配置。The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306 , and configuration of the code rate control module 308 .
以太网协转网关: Ethernet protocol conversion gateway :
如图4所示,主要包括网络接口模块(下行网络接口模块401、上行网络接口模块402)、交换引擎模块403、CPU模块404、包检测模块405、码率控制模块408、地址表406、包缓存器407和MAC添加模块409、MAC删除模块410。As shown in Figure 4, it mainly includes network interface modules (downlink network interface module 401, uplink network interface module 402), switching engine module 403, CPU module 404, packet detection module 405, code rate control module 408, address table 406, packet Buffer 407 and MAC addition module 409 , MAC deletion module 410 .
其中,下行网络接口模块401进来的数据包进入包检测模块405;包检测模块405检测数据包的以太网MAC DA、以太网MAC SA、以太网length or frame type、视联网目地地址DA、视联网源地址SA、视联网数据包类型及包长度是否符合要求,如果符合则分配相应的流标识符(stream-id);然后,由MAC删除模块410减去MAC DA、MAC SA、length or frame type(2byte),并进入相应的接收缓存,否则丢弃;Wherein, the data packet coming in from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects the Ethernet MAC DA, Ethernet MAC SA, Ethernet length or frame type, visual network destination address DA, visual network Source address SA, depending on whether the network data packet type and packet length meet the requirements, if so, assign a corresponding stream identifier (stream-id); then, subtract MAC DA, MAC SA, length or frame type from the MAC deletion module 410 (2byte), and enter the corresponding receiving buffer, otherwise discard;
下行网络接口模块401检测该端口的发送缓存,如果有包则根据包的视联网目地地址DA获知对应的终端的以太网MAC DA,添加终端的以太网MAC DA、以太网协转网关的MACSA、以太网length or frame type,并发送。The downlink network interface module 401 detects the sending buffer of the port, if there is a packet, the Ethernet MAC DA of the corresponding terminal is known according to the visual network destination address DA of the packet, and the Ethernet MAC DA of the terminal, the MACSA of the Ethernet protocol conversion gateway, and the MACSA of the Ethernet protocol conversion gateway are added. Ethernet length or frame type, and send.
以太网协转网关中其他模块的功能与接入交换机类似。The functions of other modules in the Ethernet protocol conversion gateway are similar to those of the access switch.
终端:terminal:
主要包括网络接口模块、业务处理模块和CPU模块;例如,机顶盒主要包括网络接口模块、视音频编解码引擎模块、CPU模块;编码板主要包括网络接口模块、视音频编码引擎模块、CPU模块;存储器主要包括网络接口模块、CPU模块和磁盘阵列模块。It mainly includes a network interface module, a business processing module and a CPU module; for example, a set-top box mainly includes a network interface module, an video and audio codec engine module, and a CPU module; an encoding board mainly includes a network interface module, an video and audio encoding engine module, and a CPU module; It mainly includes network interface module, CPU module and disk array module.
1.3城域网部分的设备主要可以分为2类:节点服务器,节点交换机,城域服务器。其中,节点交换机主要包括网络接口模块、交换引擎模块和CPU模块;城域服务器主要包括网络接口模块、交换引擎模块和CPU模块构成。1.3 The equipment of the metropolitan area network can be mainly divided into two categories: node server, node switch, and metropolitan area server. Among them, the node switch mainly includes a network interface module, a switching engine module and a CPU module; the metro server mainly includes a network interface module, a switching engine module and a CPU module.
2、视联网数据包定义2. Definition of Internet of Vision data packets
2.1接入网数据包定义2.1 Definition of access network data packet
接入网的数据包主要包括以下几部分:目的地址(DA)、源地址(SA)、保留字节、payload(PDU)、CRC。The data packet of the access network mainly includes the following parts: destination address (DA), source address (SA), reserved bytes, payload (PDU), and CRC.
如下表所示,接入网的数据包主要包括以下几部分:As shown in the table below, the data packets of the access network mainly include the following parts:
其中:in:
目的地址(DA)由8个字节(byte)组成,第一个字节表示数据包的类型(例如各种协议包、组播数据包、单播数据包等),最多有256种可能,第二字节到第六字节为城域网地址,第七、第八字节为接入网地址;The destination address (DA) consists of 8 bytes (byte), the first byte indicates the type of data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are up to 256 possibilities, The second byte to the sixth byte is the address of the metropolitan area network, and the seventh and eighth bytes are the address of the access network;
源地址(SA)也是由8个字节(byte)组成,定义与目的地址(DA)相同;The source address (SA) is also composed of 8 bytes (byte), and the definition is the same as that of the destination address (DA);
保留字节由2个字节组成;Reserved bytes consist of 2 bytes;
payload部分根据不同的数据报的类型有不同的长度,如果是各种协议包的话是64个字节,如果是单组播数据包话是32+1024=1056个字节,当然并不仅仅限于以上2种;The payload part has different lengths according to different datagram types. If it is a variety of protocol packets, it is 64 bytes. If it is a single multicast data packet, it is 32+1024=1056 bytes. Of course, it is not limited to Above 2 types;
CRC有4个字节组成,其计算方法遵循标准的以太网CRC算法。CRC consists of 4 bytes, and its calculation method follows the standard Ethernet CRC algorithm.
2.2城域网数据包定义2.2 MAN packet definition
城域网的拓扑是图型,两个设备之间可能有2种、甚至2种以上的连接,即节点交换机和节点服务器、节点交换机和节点交换机、节点交换机和节点服务器之间都可能超过2种连接。但是,城域网设备的城域网地址却是唯一的,为了精确描述城域网设备之间的连接关系,在本发明实施例中引入参数:标签,来唯一描述一个城域网设备。The topology of the metropolitan area network is a graph. There may be two or even more than two types of connections between two devices, that is, there may be more than 2 connections between node switches and node servers, node switches and node switches, and node switches and node servers. kind of connection. However, the MAN address of the MAN device is unique. In order to accurately describe the connection relationship between MAN devices, a parameter: label is introduced in the embodiment of the present invention to uniquely describe a MAN device.
本说明书中标签的定义和MPLS(Multi-Protocol Label Switch,多协议标签交换)的标签的定义类似,假设设备A和设备B之间有两个连接,那么数据包从设备A到设备B就有2个标签,数据包从设备B到设备A也有2个标签。标签分入标签、出标签,假设数据包进入设备A的标签(入标签)是0x0000,这个数据包离开设备A时的标签(出标签)可能就变成了0x0001。城域网的入网流程是集中控制下的入网过程,也就意味着城域网的地址分配、标签分配都是由城域服务器主导的,节点交换机、节点服务器都是被动的执行而已,这一点与MPLS的标签分配是不同的,MPLS的标签分配是交换机、服务器互相协商的结果。The definition of labels in this manual is similar to the definition of labels in MPLS (Multi-Protocol Label Switch, Multi-Protocol Label Switching). Assuming that there are two connections between device A and device B, then the data packets from device A to device B have 2 labels, the packet from device B to device A also has 2 labels. The label is divided into an incoming label and an outgoing label. Assuming that the label (incoming label) of the data packet entering device A is 0x0000, the label (outgoing label) of the data packet when it leaves device A may become 0x0001. The network access process of the metropolitan area network is a network access process under centralized control, which means that the address allocation and label allocation of the metropolitan area network are all dominated by the metropolitan area server, and the node switches and node servers are all passively executed. Different from MPLS label allocation, MPLS label allocation is the result of mutual negotiation between switches and servers.
如下表所示,城域网的数据包主要包括以下几部分:As shown in the table below, the data packet of the MAN mainly includes the following parts:
即目的地址(DA)、源地址(SA)、保留字节(Reserved)、标签、payload(PDU)、CRC。其中,标签的格式可以参考如下定义:标签是32bit,其中高16bit保留,只用低16bit,它的位置是在数据包的保留字节和payload之间。That is, destination address (DA), source address (SA), reserved byte (Reserved), label, payload (PDU), and CRC. Among them, the format of the label can refer to the following definition: the label is 32bit, of which the high 16bit is reserved, and only the low 16bit is used, and its position is between the reserved byte of the data packet and the payload.
参考图5,示出了本发明实施例的一种可视电话系统的通信的方法实施例的步骤流程图,所述可视电话系统包括互联网终端、视联网终端和xmcu服务器,具体可以包括如下步骤:Referring to FIG. 5 , it shows a flow chart of the steps of a communication method embodiment of a videophone system according to an embodiment of the present invention. The videophone system includes an Internet terminal, a video network terminal and an xmcu server, which may specifically include the following step:
步骤501,所述xmcu服务器接收所述互联网终端发送的基于h323协议的可视电话请求消息;所述基于h323协议的可视电话请求消息携带视联网终端号码和子号码;Step 501, the xmcu server receives the videophone request message based on the h323 protocol sent by the Internet terminal; the videophone request message based on the h323 protocol carries the video network terminal number and sub-number;
互联网终端可以为支持h323(音视频传输协议)的终端、支持SIP(SessionInitiation Protocol,会话初始协议)的终端等。The Internet terminal may be a terminal supporting h323 (audio and video transmission protocol), a terminal supporting SIP (Session Initiation Protocol, session initiation protocol), and the like.
视联网终端可以为机顶盒(SetTopBox,STB)等设备,可以连接摄像头和麦克风,用于采集视频数据和音频数据等媒体数据,也可以连接电视机,用于播放视频数据和音频数据等媒体数据。视联网终端可以具有视联网终端号码,是视联网终端的唯一标识码。视联网终端号码可以由5位字符组成,例如,视联网终端号码可以为11135等字符。The Internet of Vision terminal can be a device such as a set-top box (SetTopBox, STB), which can be connected to a camera and a microphone for collecting media data such as video data and audio data, and can also be connected to a TV for playing media data such as video data and audio data. A video network terminal may have a video network terminal number, which is a unique identification code of a video network terminal. The video network terminal number can be composed of 5 characters, for example, the video network terminal number can be 11135 and other characters.
xmcu服务器,也可以称为视联网会议网关服务器。xmcu服务器负责在视联网会议与互联网会议中进行对接融合,确保视联网会议与互联网会议能互联互通。具体的,通过将视联网中的会议终端设备和第三方的视频会议终端(互联网终端)实现视频会议交互,实现音视频数据的相互传输,涉及协议层和音视频协议的转换传输。xmcu服务器可以具有IP地址,其他终端(互联网终端和视联网终端)可以通过IP地址寻址到xmcu服务器,并向xmcu服务器传输信息。The xmcu server can also be called the video conference gateway server. The xmcu server is responsible for the docking and integration of the video conference and the Internet conference to ensure that the video conference and the Internet conference can be interconnected. Specifically, the mutual transmission of audio and video data is realized by connecting the conference terminal equipment in the Internet of View and the third-party video conference terminal (Internet terminal) to realize video conference interaction, which involves the conversion and transmission of the protocol layer and audio and video protocols. The xmcu server can have an IP address, and other terminals (internet terminals and Internet-of-view terminals) can address the xmcu server through the IP address and transmit information to the xmcu server.
xmcu服务器在支持互联网终端与视联网终端开展可视电话业务或者会议业务时,需要消耗一个视联网的虚拟终端号码,将虚拟终端号码与互联网终端和视联网终端绑定,以建立互联网终端与视联网终端之间的通信通道。在64位视联网协议中,视联网的虚拟终端号码可以包括子号码,子号码可以对应一虚拟终端,每个虚拟终端号码下可以包含至少几百个子号码,从而大大扩展虚拟终端号码的数量,以避免虚拟终端号码枯竭。When the xmcu server supports Internet terminals and Internet-of-Vision terminals to carry out videophone services or conference services, it needs to consume a virtual terminal number of Internet-of-Vision and bind the virtual terminal number with Internet terminals and Internet-of-Vision terminals to establish Communication channel between networked endpoints. In the 64-bit video network protocol, the virtual terminal number of the video network can include sub-numbers, and the sub-numbers can correspond to a virtual terminal. Each virtual terminal number can contain at least several hundred sub-numbers, thereby greatly expanding the number of virtual terminal numbers. To avoid virtual terminal number exhaustion.
虚拟终端是在xmcu服务器中实例化一个视联网终端,它具有视联网终端的所有功能,可以作为视联网终端参与视联网会议。The virtual terminal is to instantiate a video network terminal in the xmcu server. It has all the functions of a video network terminal and can participate in video conferences as a video network terminal.
在本发明实施例中,当互联网终端需要进行可视电话业务时,可以向xmcu服务器发送一个基于h323协议的可视电话请求消息,请求收看视联网终端的音视频数据。xmcu服务器可以接收互联网终端发送的基于h323协议的可视电话请求消息。In the embodiment of the present invention, when the Internet terminal needs to perform the videophone service, it can send a videophone request message based on the h323 protocol to the xmcu server, requesting to watch the audio and video data of the Internet-connected terminal. The xmcu server can receive the videophone request message based on the h323 protocol sent by the Internet terminal.
其中,基于h323协议的可视电话请求消息可以携带xmcu服务器的IP地址、视联网终端号和子号码。子号码即为虚拟终端号码下对应的子号码。基于h323协议的可视电话请求消息可以在以太网中传输。Wherein, the videophone request message based on the h323 protocol can carry the IP address of the xmcu server, the video network terminal number and sub-number. The sub-number is the corresponding sub-number under the virtual terminal number. The videophone request message based on h323 protocol can be transmitted in Ethernet.
步骤502,所述xmcu服务器依据所述子号码,建立所述子号码对应的虚拟终端与所述互联网终端之间的第一通信通道;Step 502, the xmcu server establishes a first communication channel between the virtual terminal corresponding to the sub-number and the Internet terminal according to the sub-number;
xmcu服务器接收到基于h323协议的可视电话请求消息之后,可以提取基于h323协议的可视电话请求消息中的子号码,并建立该子号码对应的虚拟终端与互联网终端之间的第一通信通道。After the xmcu server receives the videophone request message based on the h323 protocol, it can extract the subnumber in the videophone request message based on the h323 protocol, and establish the first communication channel between the virtual terminal corresponding to the subnumber and the Internet terminal .
具体的,可以通过建立子号码与互联网终端之间绑定关系,来子号码对应的虚拟终端与互联网终端之间的第一通信通道。Specifically, the first communication channel between the virtual terminal corresponding to the sub-number and the Internet terminal can be established by establishing a binding relationship between the sub-number and the Internet terminal.
在本发明的一种优选实施例中,所述步骤502可以包括如下子步骤:In a preferred embodiment of the present invention, the step 502 may include the following sub-steps:
所述xmcu服务器在预置的配置文件中查找与所述子号码对应的空闲的虚拟终端;所述xmcu服务器建立与所述子号码对应的空闲的虚拟终端与所述互联网终端之间的第一通信通道。The xmcu server searches for an idle virtual terminal corresponding to the subnumber in a preset configuration file; the xmcu server establishes a first connection between the idle virtual terminal corresponding to the subnumber and the Internet terminal communication channel.
其中,预置的配置文件是xmcu服务器中预先设置的文件,存储虚拟终端号码及其子号码的使用状态。当子号码已被使用时,则其使用状态为:占用状态;当子号码未被使用时,则其使用状态为:空闲状态。Wherein, the preset configuration file is a file preset in the xmcu server, which stores the use status of the virtual terminal number and its sub-numbers. When the sub-number has been used, its use state is: occupied state; when the sub-number is not used, its use state is: idle state.
子号码为基于h323协议的可视电话请求消息中携带的子号码。The subnumber is the subnumber carried in the videophone request message based on the h323 protocol.
在本发明实施例中,xmcu服务器可以在预置的配置文件中查找使用状态为空闲状态的子号码,则与空闲状态的子号码对应的虚拟终端即为与子号码对应的空闲的虚拟终端。In the embodiment of the present invention, the xmcu server can search the sub-number whose usage status is idle in the preset configuration file, and then the virtual terminal corresponding to the sub-number in the idle state is the idle virtual terminal corresponding to the sub-number.
具体的,可以按照预设顺序在预置的配置文件中查找空闲的子号码,当查找到空闲状态的子号码时,xmcu服务器建立与子号码对应的空闲的虚拟终端与互联网终端之间的第一通信通道。Specifically, the idle sub-number can be searched in the preset configuration file according to the preset order, and when the idle sub-number is found, the xmcu server establishes the first connection between the idle virtual terminal corresponding to the sub-number and the Internet terminal. a communication channel.
其中,第一通信通道可以用于在互联网终端与xmcu服务器之间进行传输音视频数据。在建立第一通信通道之后,还可以将预置的配置文件中该子号码的使用状态更新为占用状态。Wherein, the first communication channel may be used to transmit audio and video data between the Internet terminal and the xmcu server. After the first communication channel is established, the use state of the sub-number in the preset configuration file may also be updated to the occupied state.
步骤503,所述xmcu服务器将所述基于h323协议的可视电话请求消息转换为基于64位视联网协议的可视电话请求消息;Step 503, the xmcu server converts the videophone request message based on the h323 protocol into a videophone request message based on the 64-bit video networking protocol;
在本发明实施例中,xmcu服务器可以将基于h323协议的可视电话请求消息转换为基于64位视联网协议的可视电话请求消息。其中,基于64位视联网协议的可视电话请求消息可以在视联网中传输。In the embodiment of the present invention, the xmcu server can convert the videophone request message based on the h323 protocol into a videophone request message based on the 64-bit video networking protocol. Wherein, the videophone request message based on the 64-bit Internet of Vision protocol can be transmitted in the Internet of Vision.
步骤504,所述xmcu服务器向与所述视联网终端号码相对应的视联网终端,发送所述基于64位视联网协议的可视电话请求消息;Step 504, the xmcu server sends the videophone request message based on the 64-bit video networking protocol to the video networking terminal corresponding to the video networking terminal number;
具体的,xmcu服务器可以提取基于64位视联网协议的可视电话请求消息,或者基于h323协议的可视电话请求消息中的视联网终端号码,依据视联网终端号码确定与该视联网终端号码相对应的视联网终端。xmcu服务器可以向与视联网终端号码相对应的视联网终端,发送基于64位视联网协议的可视电话请求消息。Specifically, the xmcu server can extract the video telephony terminal number in the 64-bit video telephony request message based on the video telephony protocol or the video telephony request message based on the h323 protocol, and determine the video telephony terminal number corresponding to the video telephony terminal number according to the video telephony terminal number. Corresponding video network terminal. The xmcu server can send a videophone request message based on a 64-bit video networking protocol to the video networking terminal corresponding to the video networking terminal number.
步骤505,所述xmcu服务器接收视联网终端响应所述基于64位视联网协议的可视电话请求消息,返回的基于64位视联网协议的可视电话应答消息,建立所述子号码对应的虚拟终端与所述视联网终端之间的第二通信通道。Step 505, the xmcu server receives the videophone response message based on the 64-bit video networking protocol returned by the video networking terminal in response to the video telephony request message based on the 64-bit video networking protocol, and establishes the virtual phone number corresponding to the sub-number A second communication channel between the terminal and the Internet of Things terminal.
视联网终端在接收到基于64位视联网协议的可视电话请求消息后,可以对该基于64位视联网协议的可视电话请求消息进行响应,向xmcu服务器返回基于64位视联网协议的可视电话应答消息。After receiving the videophone request message based on the 64-bit Internet of Vision protocol, the Internet of Vision terminal can respond to the request message of the videophone based on the 64-bit Internet of Vision protocol, and return a videophone request message based on the 64-bit Internet of Vision protocol to the xmcu server. Video phone answer message.
在本发明实施例中,xmcu服务器接收到视联网终端返回的基于64位视联网协议的可视电话应答消息之后,可以建立子号码对应的虚拟终端与视联网终端之间的第二通信通道。In the embodiment of the present invention, the xmcu server may establish a second communication channel between the virtual terminal corresponding to the sub-number and the Internet of Vision terminal after receiving the videophone response message based on the 64-bit Internet of Vision protocol returned by the Internet of Vision terminal.
其中,第二通信通道可以用于在视联网终端与xmcu服务器之间进行传输音视频数据。Wherein, the second communication channel can be used to transmit audio and video data between the Internet of Things terminal and the xmcu server.
在本发明的一种优选实施例中,所述方法还可以包括如下步骤:In a preferred embodiment of the present invention, the method may also include the following steps:
所述xmcu服务器将所述基于64位视联网协议的可视电话应答消息转换为基于h323协议的可视电话应答消息;所述xmcu服务器将所述基于h323协议的可视电话应答消息发送至所述互联网终端。The xmcu server converts the videophone response message based on the 64-bit video networking protocol into a videophone response message based on the h323 protocol; the xmcu server sends the videophone response message based on the h323 protocol to the Describe the Internet terminal.
在本发明实施例中,xmcu服务器可以将基于64位视联网协议的可视电话应答消息转换为基于h323协议的可视电话应答消息,并将该基于h323协议的可视电话应答消息发送至互联网终端。从而可以通知互联网终端可视电话请求连接成功。In the embodiment of the present invention, the xmcu server can convert the videophone response message based on the 64-bit video networking protocol into a videophone response message based on the h323 protocol, and send the videophone response message based on the h323 protocol to the Internet terminal. Thereby, the Internet terminal can be notified that the videophone requesting connection is successful.
在本发明的一种优选实施例中,所述方法还可以包括如下步骤:In a preferred embodiment of the present invention, the method may also include the following steps:
所述xmcu服务器接收所述视联网终端通过所述第二通信通道发送的64位视联网格式的第一音视频数据;所述xmcu服务器将所述64位视联网格式的第一音视频数据转换为RTP格式的第一音视频数据;所述xmcu服务器将所述RTP格式的第一音视频数据通过所述第一通信通道发送至所述互联网终端。The xmcu server receives the first audio and video data of the 64-bit video networking format sent by the video networking terminal through the second communication channel; the xmcu server converts the first audio and video data of the 64-bit video networking format It is the first audio and video data in RTP format; the xmcu server sends the first audio and video data in RTP format to the Internet terminal through the first communication channel.
其中,第一音视频数据可以是视联网终端采集的音视频数据。Wherein, the first audio and video data may be audio and video data collected by a video networking terminal.
在本发明实施例中,xmcu服务器接收视联网终端通过第二通信通道发送的64位视联网格式的第一音视频数据,将该64位视联网格式的第一音视频数据转换为RTP格式的第一音视频数据,并将RTP格式的第一音视频数据通过第一通信通道发送至互联网终端。In the embodiment of the present invention, the xmcu server receives the first audio and video data in the 64-bit video networking format sent by the video networking terminal through the second communication channel, and converts the first audio and video data in the 64-bit video networking format into RTP format The first audio and video data, and send the first audio and video data in RTP format to the Internet terminal through the first communication channel.
在本发明的一种优选实施例中,所述方法还可以包括如下步骤:In a preferred embodiment of the present invention, the method may also include the following steps:
所述互联网终端对RTP格式的第一音视频数据进行解码,并展示解码后的第一音视频数据。The Internet terminal decodes the first audio and video data in RTP format, and displays the decoded first audio and video data.
在本发明实施例中,互联网终端可以对RTP格式的第一音视频数据进行解码,并展示解码后的第一音视频数据。In the embodiment of the present invention, the Internet terminal can decode the first audio and video data in RTP format, and display the decoded first audio and video data.
在本发明的一种优选实施例中,所述方法还可以包括如下步骤:In a preferred embodiment of the present invention, the method may also include the following steps:
所述xmcu服务器接收所述互联网终端通过所述第一通信通道发送的RTP格式的第二音视频数据;所述xmcu服务器将所述RTP格式的第二音视频数据转换为64位视联网格式的第二音视频数据;所述xmcu服务器将所述64位视联网格式的第二音视频数据通过所述第二通信通道发送至所述视联网终端。The xmcu server receives the second audio and video data in the RTP format sent by the Internet terminal through the first communication channel; the xmcu server converts the second audio and video data in the RTP format into 64-bit visual networking format Second audio and video data; the xmcu server sends the second audio and video data in the 64-bit Internet of Vision format to the Internet of Vision terminal through the second communication channel.
其中,第二音视频数据可以是互联网终端采集的音视频数据。Wherein, the second audio and video data may be audio and video data collected by an Internet terminal.
在本发明实施例中,xmcu服务器可以接收互联网终端通过第一通信通道发送的RTP格式的第二音视频数据,将RTP格式的第二音视频数据转换为64位视联网格式的第二音视频数据,并将64位视联网格式的第二音视频数据通过第二通信通道发送至视联网终端。In the embodiment of the present invention, the xmcu server can receive the second audio and video data in RTP format sent by the Internet terminal through the first communication channel, and convert the second audio and video data in RTP format into the second audio and video data in 64-bit video network format data, and send the second audio and video data in the 64-bit Internet of Vision format to the Internet of Vision terminal through the second communication channel.
在本发明的一种优选实施例中,所述方法还可以包括如下步骤:In a preferred embodiment of the present invention, the method may also include the following steps:
所述视联网终端对所述64位视联网格式的第二音视频数据进行解码,并展示解码后的第二音视频数据。The Internet-of-Vision terminal decodes the second audio-video data in the 64-bit Internet-of-Vision format, and displays the decoded second audio-video data.
在本发明实施例中,视联网终端可以对64位视联网格式的第二音视频数据进行解码,并展示解码后的第二音视频数据。In the embodiment of the present invention, the Internet of Vision terminal may decode the second audio and video data in the 64-bit Internet of Vision format, and display the decoded second audio and video data.
如图6示出了本发明的一种可视电话系统的通信方法流程框图。在图6中,可以包括如下流程:FIG. 6 shows a flow chart of a communication method of a videophone system according to the present invention. In Figure 6, the following processes may be included:
1.互联网终端向xmcu服务器发起h323协议请求。1. The Internet terminal initiates a h323 protocol request to the xmcu server.
2.xmcu服务器收到互联网终端发起的h323协议请求后,从配置文件中查找与请求中的子号码对应的空闲的虚拟终端,建立通信通道,并将h323协议请求转换为64位视联网协议请求,并将64位视联网协议请求发送至视联网终端。2. After the xmcu server receives the h323 protocol request initiated by the Internet terminal, it searches for an idle virtual terminal corresponding to the sub-number in the request from the configuration file, establishes a communication channel, and converts the h323 protocol request into a 64-bit visual networking protocol request , and send the 64-bit Internet of Vision protocol request to the Internet of Vision terminal.
3.视联网终端收到xmcu服务器的64位视联网协议请求,对该64位视联网协议请求进行响应,并发送64位视联网协议应答。3. The Internet of Vision terminal receives the 64-bit Internet of Vision protocol request from the xmcu server, responds to the 64-bit Internet of Vision protocol request, and sends a 64-bit Internet of Vision protocol response.
4.xmcu服务器收到64位视联网协议应答后,将64位视联网协议应答转换成h323协议应答,并发送给互联网终端。4. After the xmcu server receives the 64-bit Internet of Vision protocol response, it converts the 64-bit Internet of Vision protocol response into an h323 protocol response and sends it to the Internet terminal.
5.视联网终端发送64位视联网格式音视频数据给xmcu服务器。5. The Internet of Vision terminal sends 64-bit audio and video data in Internet of Vision format to the xmcu server.
6.xmcu服务器收到视联网终端发送的64位视联网格式音视频数据,将64位视联网格式音视频数据转换成RTP格式的音视频数据,并发送给互联网终端。6. The xmcu server receives the audio and video data in 64-bit Internet-of-Vision format sent by the Internet-of-Vision terminal, converts the audio-video data in 64-bit Internet-of-Vision format into audio-video data in RTP format, and sends it to the Internet terminal.
7.互联网终端将RTP格式的音视频数据发送给xmcu服务器。7. The Internet terminal sends the audio and video data in RTP format to the xmcu server.
8.xmcu服务器将收到的RTP格式的音视频数据,将RTP格式的音视频数据转换成64位视联网格式的音视频数据发送给视联网终端。8. The xmcu server converts the received audio and video data in RTP format into audio and video data in 64-bit video networking format and sends them to the video networking terminal.
在本发明实施例中,xmcu服务器接收互联网终端发送的基于h323协议的可视电话请求消息,并建立子号码对应的虚拟终端与互联网终端之间的第一通信通道,将基于h323协议的可视电话请求消息转换为基于64位视联网协议的可视电话请求消息,发送基于64位视联网协议的可视电话请求到向与视联网终端号码相对应的视联网终端,发送基于64位视联网协议的可视电话请求消息,接收视联网终端响应基于64位视联网协议的可视电话请求消息,返回的基于64位视联网协议的可视电话应答消息,建立子号码对应的虚拟终端与视联网终端之间的第二通信通道。通过xmcu服务器支持64位视联网协议,使得在进行视联网业务时,可以消耗虚拟终端号码的子号码进行数据传输,从而扩展可用的虚拟终端号码资源,避免虚拟终端号码资源枯竭。In the embodiment of the present invention, the xmcu server receives the videophone request message based on the h323 protocol sent by the Internet terminal, and establishes the first communication channel between the virtual terminal corresponding to the sub-number and the Internet terminal, and sends the videophone request message based on the h323 protocol. The telephone request message is converted into a videophone request message based on the 64-bit video networking protocol, and the video telephony request based on the 64-bit video networking protocol is sent to the video networking terminal corresponding to the video networking terminal number, and the video telephony request message based on the 64-bit video networking protocol is sent. protocol videophone request message, receive the videophone request message based on the 64-bit videonetwork protocol from the videophone terminal, return the videophone response message based on the 64-bit videonetwork protocol, and establish the virtual terminal corresponding to the sub-number and the videophone request message A second communication channel between networked terminals. The 64-bit video networking protocol is supported by the xmcu server, so that when performing video networking services, the sub-numbers of the virtual terminal number can be consumed for data transmission, thereby expanding the available virtual terminal number resources and avoiding the exhaustion of virtual terminal number resources.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本发明实施例并不受所描述的动作顺序的限制,因为依据本发明实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本发明实施例所必须的。It should be noted that, for the method embodiment, for the sake of simple description, it is expressed as a series of action combinations, but those skilled in the art should know that the embodiment of the present invention is not limited by the described action sequence, because According to the embodiment of the present invention, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
参考图7,示出了本发明实施例的一种可视电话系统的通信装置实施例的结构框图,所述可视电话系统包括互联网终端、视联网终端和xmcu服务器,所述装置可以包括如下模块:Referring to FIG. 7 , it shows a structural block diagram of a communication device embodiment of a videophone system according to an embodiment of the present invention. The videophone system includes an Internet terminal, a video network terminal and an xmcu server. The device may include the following module:
第一请求发送模块701,用于所述xmcu服务器接收所述互联网终端发送的基于h323协议的可视电话请求消息;所述基于h323协议的可视电话请求消息携带视联网终端号码和子号码;The first request sending module 701 is used for the xmcu server to receive the videophone request message based on the h323 protocol sent by the Internet terminal; the videophone request message based on the h323 protocol carries the video network terminal number and sub-number;
第一通信通道建立模块702,用于所述xmcu服务器依据所述子号码,建立所述子号码对应的虚拟终端与所述互联网终端之间的第一通信通道;The first communication channel establishment module 702 is used for the xmcu server to establish a first communication channel between the virtual terminal corresponding to the sub-number and the Internet terminal according to the sub-number;
请求转换模块703,用于所述xmcu服务器将所述基于h323协议的可视电话请求消息转换为基于64位视联网协议的可视电话请求消息;The request conversion module 703 is used for the xmcu server to convert the videophone request message based on the h323 protocol into a videophone request message based on the 64-bit video networking protocol;
第二请求发送模块704,用于所述xmcu服务器向与所述视联网终端号码相对应的视联网终端,发送所述基于64位视联网协议的可视电话请求消息;The second request sending module 704 is used for the xmcu server to send the videophone request message based on the 64-bit video networking protocol to the video networking terminal corresponding to the video networking terminal number;
第二通信通道建立模块705,用于所述xmcu服务器接收视联网终端响应所述基于64位视联网协议的可视电话请求消息,返回的基于64位视联网协议的可视电话应答消息,建立所述子号码对应的虚拟终端与所述视联网终端之间的第二通信通道。The second communication channel establishment module 705 is used for the xmcu server to receive the videophone response message based on the 64-bit video networking protocol returned by the video networking terminal in response to the video telephony request message based on the 64-bit video networking protocol, and establish A second communication channel between the virtual terminal corresponding to the sub-number and the Internet-of-Vision terminal.
在本发明的一种优选实施例中,所述第一通信通道建立模块702可以包括如下子模块:In a preferred embodiment of the present invention, the first communication channel establishment module 702 may include the following submodules:
查找子模块,用于所述xmcu服务器在预置的配置文件中查找与所述子号码对应的空闲的虚拟终端;A search submodule is used for the xmcu server to search for an idle virtual terminal corresponding to the subnumber in a preset configuration file;
第一通信通道建立子模块,用于所述xmcu服务器建立与所述子号码对应的空闲的虚拟终端与所述互联网终端之间的第一通信通道。The first communication channel establishment sub-module is used for the xmcu server to establish the first communication channel between the idle virtual terminal corresponding to the sub-number and the Internet terminal.
在本发明的一种优选实施例中,所述装置还可以包括如下模块:In a preferred embodiment of the present invention, the device may also include the following modules:
应答转换模块,用于所述xmcu服务器将所述基于64位视联网协议的可视电话应答消息转换为基于h323协议的可视电话应答消息;Response conversion module, for the xmcu server to convert the videophone response message based on the 64-bit video networking protocol into a videophone response message based on the h323 protocol;
应答发送模块,用于所述xmcu服务器将所述基于h323协议的可视电话应答消息发送至所述互联网终端。The answer sending module is used for the xmcu server to send the videophone answer message based on the h323 protocol to the Internet terminal.
在本发明的一种优选实施例中,还包括:In a preferred embodiment of the present invention, it also includes:
第一音视频数据接收模块,用于所述xmcu服务器接收所述视联网终端通过所述第二通信通道发送的64位视联网格式的第一音视频数据;The first audio and video data receiving module is used for the xmcu server to receive the first audio and video data in the 64-bit video networking format sent by the video networking terminal through the second communication channel;
第一音视频数据转换模块,用于所述xmcu服务器将所述64位视联网格式的第一音视频数据转换为RTP格式的第一音视频数据;The first audio and video data conversion module is used for the xmcu server to convert the first audio and video data of the 64-bit video networking format into the first audio and video data of the RTP format;
第一音视频数据发送模块,用于所述xmcu服务器将所述RTP格式的第一音视频数据通过所述第一通信通道发送至所述互联网终端。The first audio and video data sending module is used for the xmcu server to send the first audio and video data in RTP format to the Internet terminal through the first communication channel.
在本发明的一种优选实施例中,还包括:In a preferred embodiment of the present invention, it also includes:
第一音视频数据展示模块,用于所述互联网终端对RTP格式的第一音视频数据进行解码,并展示解码后的第一音视频数据。The first audio and video data display module is used for the Internet terminal to decode the first audio and video data in RTP format, and display the decoded first audio and video data.
在本发明的一种优选实施例中,还包括:In a preferred embodiment of the present invention, it also includes:
第二音视频数据接收模块,用于所述xmcu服务器接收所述互联网终端通过所述第一通信通道发送的RTP格式的第二音视频数据;The second audio and video data receiving module is used for the xmcu server to receive the second audio and video data in RTP format sent by the Internet terminal through the first communication channel;
第二音视频数据转换模块,用于所述xmcu服务器将所述RTP格式的第二音视频数据转换为64位视联网格式的第二音视频数据;The second audio and video data conversion module is used for the xmcu server to convert the second audio and video data in the RTP format to the second audio and video data in the 64-bit video networking format;
第二音视频数据发送模块,用于所述xmcu服务器将所述64位视联网格式的第二音视频数据通过所述第二通信通道发送至所述视联网终端。The second audio and video data sending module is used for the xmcu server to send the second audio and video data in the 64-bit video networking format to the video networking terminal through the second communication channel.
在本发明的一种优选实施例中,还包括:In a preferred embodiment of the present invention, it also includes:
第二音视频数据展示模块,用于所述视联网终端对所述64位视联网格式的第二音视频数据进行解码,并展示解码后的第二音视频数据。The second audio-video data display module is used for the Internet-of-Vision terminal to decode the second audio-video data in the 64-bit Internet-of-Vision format, and display the decoded second audio-video data.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and for related parts, please refer to the part of the description of the method embodiment.
本发明实施例还提供了一种电子设备,包括:The embodiment of the present invention also provides an electronic device, including:
一个或多个处理器;和one or more processors; and
其上存储有指令的一个或多个机器可读介质,当由所述一个或多个处理器执行时,使得所述电子设备执行如本发明实施例所述的一个或多个的方法的步骤。One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, causes the electronic device to perform the steps of one or more methods described in the embodiments of the present invention .
本发明实施例还提供了一种计算机可读存储介质,其存储的计算机程序使得处理器执行如本发明实施例所述的方法的步骤。The embodiment of the present invention also provides a computer-readable storage medium, which stores a computer program to enable a processor to execute the steps of the method described in the embodiment of the present invention.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。Each embodiment in this specification is described in a progressive manner, each embodiment focuses on the difference from other embodiments, and the same and similar parts of each embodiment can be referred to each other.
本领域内的技术人员应明白,本发明实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本发明实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, devices, or computer program products. Accordingly, embodiments of the invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
本发明实施例是参照根据本发明实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present invention are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each procedure and/or block in the flowchart and/or block diagram, and a combination of procedures and/or blocks in the flowchart and/or block diagram can be realized by computer program instructions. These computer program instructions may be provided to a general purpose computer, special purpose computer, embedded processor or processor of other programmable data processing terminal equipment to produce a machine such that instructions executed by the computer or processor of other programmable data processing terminal equipment Produce means for realizing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal to operate in a specific manner, such that the instructions stored in the computer-readable memory produce an article of manufacture comprising instruction means, the The instruction means implements the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded into a computer or other programmable data processing terminal equipment, so that a series of operational steps are performed on the computer or other programmable terminal equipment to produce computer-implemented processing, thereby The instructions executed above provide steps for implementing the functions specified in one or more procedures of the flowchart and/or one or more blocks of the block diagram.
尽管已描述了本发明实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本发明实施例范围的所有变更和修改。Having described preferred embodiments of embodiments of the present invention, additional changes and modifications to these embodiments can be made by those skilled in the art once the basic inventive concept is appreciated. Therefore, the appended claims are intended to be construed to cover the preferred embodiment and all changes and modifications which fall within the scope of the embodiments of the present invention.
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this text, relational terms such as first and second etc. are only used to distinguish one entity or operation from another, and do not necessarily require or imply that these entities or operations, any such actual relationship or order exists. Furthermore, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or terminal equipment comprising a set of elements includes not only those elements, but also includes elements not expressly listed. other elements identified, or also include elements inherent in such a process, method, article, or end-equipment. Without further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article or terminal device comprising said element.
以上对本发明所提供的一种可视电话系统的通信方法和一种可视电话系统的通信装置进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。The communication method of a videophone system and the communication device of a videophone system provided by the present invention have been introduced in detail above. In this paper, specific examples have been used to illustrate the principle and implementation of the present invention. The above implementation The description of the example is only used to help understand the method of the present invention and its core idea; at the same time, for those of ordinary skill in the art, according to the idea of the present invention, there will be changes in the specific implementation and scope of application. In summary As stated above, the content of this specification should not be construed as limiting the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910642541.7A CN110401807B (en) | 2019-07-16 | 2019-07-16 | Communication method and device for videophone system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910642541.7A CN110401807B (en) | 2019-07-16 | 2019-07-16 | Communication method and device for videophone system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110401807A true CN110401807A (en) | 2019-11-01 |
CN110401807B CN110401807B (en) | 2021-03-02 |
Family
ID=68325614
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910642541.7A Active CN110401807B (en) | 2019-07-16 | 2019-07-16 | Communication method and device for videophone system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110401807B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111556274A (en) * | 2020-03-17 | 2020-08-18 | 视联动力信息技术股份有限公司 | Data transmission method and device based on video network and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101917707A (en) * | 2010-08-18 | 2010-12-15 | 中兴通讯股份有限公司 | IP addressing method and system for wireless sensor network |
US8990305B2 (en) * | 2006-10-18 | 2015-03-24 | Microsoft Corporation | Techniques for virtual conferencing servers |
CN105897945A (en) * | 2016-03-28 | 2016-08-24 | 重庆海特克制造业信息化生产力促进中心有限公司 | Workshop multi-source information smart sensing method based on IPv6 mobile terminal |
CN108121588A (en) * | 2016-11-30 | 2018-06-05 | 北京视联动力国际信息技术有限公司 | It is a kind of access external resource method and its regarding networking access server |
CN108234410A (en) * | 2016-12-15 | 2018-06-29 | 北京视联动力国际信息技术有限公司 | A kind of virtual terminal distribution method and device |
CN108965776A (en) * | 2017-08-21 | 2018-12-07 | 北京视联动力国际信息技术有限公司 | A kind of communication means and communication system |
-
2019
- 2019-07-16 CN CN201910642541.7A patent/CN110401807B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8990305B2 (en) * | 2006-10-18 | 2015-03-24 | Microsoft Corporation | Techniques for virtual conferencing servers |
CN101917707A (en) * | 2010-08-18 | 2010-12-15 | 中兴通讯股份有限公司 | IP addressing method and system for wireless sensor network |
CN105897945A (en) * | 2016-03-28 | 2016-08-24 | 重庆海特克制造业信息化生产力促进中心有限公司 | Workshop multi-source information smart sensing method based on IPv6 mobile terminal |
CN108121588A (en) * | 2016-11-30 | 2018-06-05 | 北京视联动力国际信息技术有限公司 | It is a kind of access external resource method and its regarding networking access server |
CN108234410A (en) * | 2016-12-15 | 2018-06-29 | 北京视联动力国际信息技术有限公司 | A kind of virtual terminal distribution method and device |
CN108965776A (en) * | 2017-08-21 | 2018-12-07 | 北京视联动力国际信息技术有限公司 | A kind of communication means and communication system |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111556274A (en) * | 2020-03-17 | 2020-08-18 | 视联动力信息技术股份有限公司 | Data transmission method and device based on video network and storage medium |
CN111556274B (en) * | 2020-03-17 | 2024-05-10 | 视联动力信息技术股份有限公司 | A data transmission method, device and storage medium based on visual network |
Also Published As
Publication number | Publication date |
---|---|
CN110401807B (en) | 2021-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110460804B (en) | Conference data transmitting method, system, device and computer readable storage medium | |
CN110475102A (en) | A kind of monitoring data processing method and system based on view networking | |
CN111431966B (en) | Service request processing method and device, electronic equipment and storage medium | |
CN111478884B (en) | Method, device and storage medium for data transmission among different video networks | |
CN110087102A (en) | Method for inquiring status, device and storage medium | |
CN112751849B (en) | Conference control method, device, equipment and medium based on video networking | |
CN110191315A (en) | A monitoring and viewing method and device based on the Internet of Things | |
CN110417877A (en) | Method and device for processing audio and video services | |
CN110224988B (en) | Image data processing method, system and device and storage medium | |
CN110602266A (en) | Domain name resolution method and system | |
CN111327868B (en) | Method, terminal, server, device and medium for setting conference speaker role | |
CN110149305A (en) | A kind of method and transfer server of the multi-party playing audio-video based on view networking | |
CN110519549A (en) | A kind of conference terminal list obtaining method and system | |
CN110430385A (en) | Video conference processing method, device and storage medium | |
CN111182258B (en) | Data transmission method and device for network conference | |
CN110519331A (en) | A kind of view networked resources processing method and processing device | |
CN110417792A (en) | Communication method, system, gateway device and storage medium | |
CN110289974A (en) | Data stream processing method, system and device, and storage medium | |
CN110445806A (en) | A kind of method, apparatus of calling Internet terminal and association turn server | |
CN110120937A (en) | Resource acquiring method, system, equipment and computer readable storage medium | |
CN110446058A (en) | Video acquiring method, system, equipment and computer readable storage medium | |
CN110166363A (en) | A kind of multicast link monitoring method and device | |
CN110198384A (en) | A kind of means of communication and transfer server based on view networking | |
CN110401807A (en) | A communication method and device for a videophone system | |
CN111526323B (en) | A method and device for processing panoramic video |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 33rd Floor, No.1 Huasheng Road, Yuzhong District, Chongqing 400013 Patentee after: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region after: China Address before: 100000 Beijing Dongcheng District Qinglong Hutong 1 Song Hua Building A1103-1113 Patentee before: VISIONVERA INFORMATION TECHNOLOGY Co.,Ltd. Country or region before: China |