CN110266577A - A method for establishing a tunnel and a visual networking system - Google Patents
A method for establishing a tunnel and a visual networking system Download PDFInfo
- Publication number
- CN110266577A CN110266577A CN201910507995.3A CN201910507995A CN110266577A CN 110266577 A CN110266577 A CN 110266577A CN 201910507995 A CN201910507995 A CN 201910507995A CN 110266577 A CN110266577 A CN 110266577A
- Authority
- CN
- China
- Prior art keywords
- terminal
- internet
- sub
- vision
- 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
- 230000006855 networking Effects 0.000 title claims abstract description 77
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000000007 visual effect Effects 0.000 title claims description 24
- 238000004891 communication Methods 0.000 claims abstract description 67
- 238000010586 diagram Methods 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 13
- 230000008569 process Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 230000005540 biological transmission Effects 0.000 description 9
- 238000004590 computer program Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000003860 storage Methods 0.000 description 7
- 238000006243 chemical reaction Methods 0.000 description 6
- 238000001514 detection method Methods 0.000 description 6
- 238000012217 deletion Methods 0.000 description 2
- 230000037430 deletion Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011144 upstream manufacturing Methods 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
- 238000009826 distribution Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000002955 isolation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000013507 mapping 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
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/46—Interconnection of networks
- H04L12/4633—Interconnection of networks using encapsulation techniques, e.g. tunneling
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1069—Session establishment or de-establishment
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Multimedia (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本发明实施例提供了一种隧道建立方法和视联网系统,所述方法包括:接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码;根据所述第一视联网号码生成相对应的第一视联网子号码;将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的;根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。通过在第一终端上传配置信息后,自动确认可连接的第二终端,并生成相应的视联网子号码对,以使得第一终端与第二终端建立通信隧道,无需终端逐一配置建立通信隧道,实现了终端同时和多个终端同时建立隧道,简化了终端间通信隧道建立的复杂度。
An embodiment of the present invention provides a tunnel establishment method and a video networking system, the method comprising: receiving configuration information reported by a first terminal, the configuration information at least including: a first video networking number; according to the first video networking The number generates the corresponding first video network sub-number; the first video network sub-number is matched with the second video network sub-number to generate a video network sub-number pair, and the second video network sub-number is based on the second video network sub-number generated from the configuration information reported by the terminal; and establishing a communication tunnel between the first terminal and the second terminal according to the video network sub-number pair. After the first terminal uploads the configuration information, it automatically confirms the second terminal that can be connected, and generates the corresponding video network sub-number pair, so that the first terminal and the second terminal establish a communication tunnel, without the need to configure and establish a communication tunnel one by one. It realizes that the terminal establishes tunnels with multiple terminals at the same time, and simplifies the complexity of establishing communication tunnels between terminals.
Description
技术领域technical field
本发明涉及视联网技术领域,特别是涉及一种隧道建立方法和视联网系统。The invention relates to the technical field of the Internet of Views, in particular to a tunnel establishment method and an Internet of Views system.
背景技术Background technique
视联网是网络发展的重要里程碑,是互联网的更高级形态,是一个实时网络,能够实现目前互联网无法实现的全网高清视频实时传输,将众多互联网应用推向高清视频化。并且用户可以通过视联网实现互联网终端之间的通信连接。The Internet of Video is an important milestone in the development of the Internet. It is a more advanced form of the Internet. It is a real-time network that can realize the real-time transmission of high-definition video on the entire network that cannot be realized by the Internet at present, and push many Internet applications to high-definition video. And users can realize the communication connection between Internet terminals through the Internet of View.
通常情况下,用户可以在互联网终端内安装VVOE驱动(一种视联网交互软件),从而在互联网终端本地生成虚拟终端与视联网网关设备连接,并分别在本端和对端手动配置本端视联网子号码、对端视联网子号码及对端视联网号码,才能建立本端与对端之间的隧道,所述隧道是一种两端设备间的加密链路通道。Usually, the user can install the VVOE driver (a kind of Internet-of-Vision interactive software) in the Internet terminal, so as to generate a virtual terminal locally on the Internet terminal to connect with the Internet-of-Vision gateway device, and manually configure the local-end video The tunnel between the local end and the opposite end can only be established if the networking sub-number, the peer viewing networking sub-number and the peer viewing networking number are used. The tunnel is an encrypted link channel between devices at both ends.
这种方式虽然可以实现互联网设备之间的视联网连接,但配置过程复杂繁琐,并且同时只能建立一条隧道,无法实现一个互联网终端通过视联网同时与多个互联网终端之间的通信连接。Although this method can realize the Internet of Things connection between Internet devices, the configuration process is complicated and cumbersome, and only one tunnel can be established at the same time, and it is impossible to realize the communication connection between one Internet terminal and multiple Internet terminals at the same time through the Internet of Things.
发明内容Contents of the invention
鉴于上述问题,提出了本发明实施例以便提供一种克服上述问题或者至少部分地解决上述问题的一种隧道建立方法和视联网系统。In view of the above problems, embodiments of the present invention are proposed to provide a method for establishing a tunnel and an Internet of View system that overcome the above problems or at least partially solve the above problems.
为了解决上述问题,本发明实施例第一方面公开了一种隧道建立方法,所述方法应用于视联网网关设备,所述方法可以包括:In order to solve the above problems, the first aspect of the embodiment of the present invention discloses a method for establishing a tunnel, the method is applied to a video network gateway device, and the method may include:
接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码;receiving configuration information reported by the first terminal, where the configuration information at least includes: a first video network number;
根据所述第一视联网号码生成相对应的第一视联网子号码;generating a corresponding first video-network sub-number according to the first video-network number;
将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的;Matching the first video networking sub-number with the second video networking sub-number to generate a video networking sub-number pair, the second video networking sub-number is generated according to the configuration information reported by the second terminal;
根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。Establishing a communication tunnel between the first terminal and the second terminal according to the Internet of Things sub-number pair.
可选的,所述终端列表包括:终端与视联网子号码之间的对应关系,所述根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道的步骤,包括:Optionally, the terminal list includes: the corresponding relationship between the terminal and the Internet of Vision sub-number, and the communication tunnel between the first terminal and the second terminal is established according to the Internet of Vision sub-number pair steps, including:
根据所述视联网子号码对生成包含第二视联网号码、所述第二视联网子号码、所述第一视联网子号码的第一隧道建立指令,并生成包含所述第一视联网号码、所述第一视联网子号码、所述第二视联网子号码的第二隧道建立指令;Generate the first tunnel establishment instruction including the second Internet of Vision number, the second Internet of Vision sub-number, and the first Internet of Vision sub-number according to the Internet of Vision sub-number pair, and generate the first tunnel establishment instruction including the first Internet of Vision number , the second tunnel establishment instruction of the first video-network sub-number and the second video-network sub-number;
向所述第一终端和所述第二终端分别发送所述第一隧道建立指令和所述第二隧道建立指令。sending the first tunnel establishment instruction and the second tunnel establishment instruction to the first terminal and the second terminal respectively.
可选的,所述第一隧道建立指令还包括:主呼标识,所述主呼标识用于设置所述第一终端作为主呼端与所述第二终端相互通信;所述第二隧道建立指令还包括:被呼标识,所述被呼标识用于设置所述第二终端作为被呼端与所述第一终端相互通信。Optionally, the first tunnel establishment instruction further includes: a calling identifier, the calling identifier is used to set the first terminal as the calling terminal to communicate with the second terminal; the second tunnel establishment The instruction further includes: a called identifier, where the called identifier is used to set the second terminal as the called terminal to communicate with the first terminal.
可选的,所述根据所述第一视联网号码生成相对应的第一视联网子号码的步骤之后,还包括:Optionally, after the step of generating the corresponding first Internet-of-Vietnam sub-number according to the first Internet-of-Vietnam number, further include:
确认终端列表是否存在至少一个终端的至少一个所述视联网子号码处于空闲状态;Confirming whether there is at least one sub-number of the Internet of Things of at least one terminal in the terminal list is in an idle state;
当所述终端列表中存在至少一个终端的至少一个所述视联网子号码处于空闲状态时,将所述终端确定为第二终端。When at least one of the Internet of Things sub-numbers of at least one terminal in the terminal list is in an idle state, the terminal is determined as the second terminal.
可选的,所述接收第一终端上报的配置信息步骤之前,还包括:Optionally, before the step of receiving the configuration information reported by the first terminal, it may further include:
向视联网服务器发送接入请求,所述接入请求包括物理地址,所述视联网服务器用于根据所述物理地址生成相对应的视联网网关号码;Send an access request to the Internet of Vision server, the access request includes a physical address, and the Internet of Vision server is used to generate a corresponding Internet of Vision gateway number according to the physical address;
根据所述视联网服务器返回的视联网网关号码建立与所述视联网服务器之间的通信连接。Establish a communication connection with the Internet of Vision server according to the Internet of Vision gateway number returned by the Internet of Vision server.
本发明实施例第二方面公开了一种视联网系统,所述视联网系统包括视联网网关设备,所述视联网网关设备包括:The second aspect of the embodiment of the present invention discloses a visual networking system, the visual networking system includes a visual networking gateway device, and the visual networking gateway device includes:
接收模块,用于接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码;A receiving module, configured to receive configuration information reported by the first terminal, where the configuration information at least includes: the first video network number;
生成模块,用于根据所述第一视联网号码生成相对应的第一视联网子号码;A generating module, configured to generate a corresponding first video-network sub-number according to the first video-network number;
匹配模块,用于将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的;A matching module, configured to match the first video network sub-number with the second video network sub-number to generate a video network sub-number pair, and the second video network sub-number is generated according to configuration information reported by the second terminal of;
隧道建立模块,用于根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。A tunnel establishing module, configured to establish a communication tunnel between the first terminal and the second terminal according to the Internet of Things sub-number pair.
可选的,所述终端列表包括:终端与视联网子号码之间的对应关系,所述隧道建立模块,包括:Optionally, the terminal list includes: the corresponding relationship between the terminal and the Internet of Things sub-number, and the tunnel establishment module includes:
指令生成子模块,用于根据所述视联网子号码对生成包含第二视联网号码、所述第二视联网子号码、所述第一视联网子号码的第一隧道建立指令,并生成包含所述第一视联网号码、所述第一视联网子号码、所述第二视联网子号码的第二隧道建立指令;The instruction generation submodule is used to generate a first tunnel establishment instruction including the second Internet of Vision number, the second Internet of Vision sub-number, and the first Internet of Vision sub-number according to the Internet of Vision sub-number pair, and generate a tunnel establishment instruction including A second tunnel establishment instruction for the first Internet of Things number, the first Internet of Things sub-number, and the second Internet of Things sub-number;
指令发送子模块,用于向所述第一终端和所述第二终端分别发送所述第一隧道建立指令和所述第二隧道建立指令。The instruction sending submodule is configured to send the first tunnel establishment instruction and the second tunnel establishment instruction to the first terminal and the second terminal respectively.
可选的,所述第一隧道建立指令还包括:主呼标识,所述主呼标识用于设置所述第一终端作为主呼端与所述第二终端相互通信;所述第二隧道建立指令还包括:被呼标识,所述被呼标识用于设置所述第二终端作为被呼端与所述第一终端相互通信。Optionally, the first tunnel establishment instruction further includes: a calling identifier, the calling identifier is used to set the first terminal as the calling terminal to communicate with the second terminal; the second tunnel establishment The instruction further includes: a called identifier, where the called identifier is used to set the second terminal as the called terminal to communicate with the first terminal.
可选的,所述视联网网关设备,还包括:Optionally, the Internet of View gateway device also includes:
查询模块,用于确认终端列表是否存在至少一个终端的至少一个所述视联网子号码处于空闲状态;A query module, configured to confirm whether at least one of the Internet of Things sub-numbers of at least one terminal in the terminal list is in an idle state;
确定模块,用于当所述终端列表中存在至少一个终端的至少一个所述视联网子号码处于空闲状态时,将所述终端确定为第二终端。A determining module, configured to determine the terminal as the second terminal when at least one of the Internet of Things sub-numbers of at least one terminal in the terminal list is in an idle state.
可选的,所述视联网网关设备,还包括:Optionally, the Internet of View gateway device also includes:
请求模块,用于向视联网服务器发送接入请求,所述接入请求包括物理地址,所述视联网服务器用于根据所述物理地址生成相对应的视联网网关号码;The request module is configured to send an access request to the Internet of Vision server, the access request includes a physical address, and the Internet of Vision server is used to generate a corresponding Internet of Vision gateway number according to the physical address;
连接模块,用于根据所述视联网服务器返回的视联网网关号码建立与所述视联网服务器之间的通信连接。A connection module, configured to establish a communication connection with the Internet of Vision server according to the Internet of Vision gateway number returned by the Internet of Vision server.
本发明实施例包括以下优点:Embodiments of the present invention include the following advantages:
本发明实施例提供了一种隧道建立方法和视联网系统,所述方法应用于视联网网关设备,所述方法包括:接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码;根据所述第一视联网号码生成相对应的第一视联网子号码;将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的;根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。通过在第一终端上传配置信息后,自动确认可连接的第二终端,并生成相应的视联网子号码对,以使得第一终端与第二终端建立通信隧道,无需终端逐一配置建立通信隧道,实现了终端同时和多个终端同时建立隧道,简化了终端间通信隧道建立的复杂度。Embodiments of the present invention provide a method for establishing a tunnel and a video networking system. The method is applied to a video networking gateway device. The method includes: receiving configuration information reported by the first terminal, and the configuration information includes at least: the first video Networking number; generating a corresponding first networking sub-number according to the first networking number; matching the first networking sub-number with a second networking sub-number to generate a pair of networking sub-numbers, the The second video network sub-number is generated according to the configuration information reported by the second terminal; and a communication tunnel between the first terminal and the second terminal is established according to the video network sub-number pair. After the first terminal uploads the configuration information, the second terminal that can be connected is automatically confirmed, and the corresponding video network sub-number pair is generated, so that the first terminal and the second terminal establish a communication tunnel, without the need for terminals to configure and establish communication tunnels one by one. It realizes that the terminal establishes tunnels with multiple terminals at the same time, and simplifies the complexity of establishing communication tunnels between terminals.
附图说明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 schematic diagram of the data transmission process when a tunnel is established according to the present invention;
图6是本发明的一种隧道建立方法的步骤流程图;Fig. 6 is a flow chart of the steps of a method for establishing a tunnel in the present invention;
图7是本发明的另一种隧道建立方法的步骤流程图;FIG. 7 is a flow chart of steps of another tunnel establishment method of the present invention;
图8是本发明的一种视联网系统的结构框图;Fig. 8 is a structural block diagram of a visual networking system of the present invention;
图9是本发明的另一种视联网系统的结构框图。FIG. 9 is a structural block diagram of another video networking system 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)或网络电路交换(CircuitSwitching),视联网技术采用Packet Switching满足Streaming需求。视联网技术具备分组交换的灵活、简单和低价,同时具备电路交换的品质和安全保证,实现了全网交换式虚拟电路,以及数据协议的无缝连接。The network technology innovation of the Internet of View has improved the traditional Ethernet (Ethernet) to face the potentially huge 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 assurance of circuit switching, realizing the seamless connection of switched virtual circuits and data protocols 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 protocol 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 View 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 devices in the Internet of View in the embodiment of the present invention can be mainly divided into three categories: servers, switches (including Ethernet 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 servers, access switches (including Ethernet gateways), terminals (including various set-top boxes, encoding boards, storage, etc.).
各接入网设备的具体硬件结构为:The specific hardware structure of each access network device is:
节点服务器: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 guide information of packet stores this packet into the queue of corresponding packet buffer 206; If the queue of packet buffer 206 is close to full, then discards; Switching engine module 202 polls all packet buffer queues, and forwards if the following conditions are met: 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 switching engine module 303; Switching engine module 303 carries out the operation of looking into address table 306 to the bag that comes in, thereby obtains the guiding information of packet; If the bag that enters switching engine module 303 is that downlink network interface goes to uplink network interface, then combines 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 is sent 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轮询所有包缓存器队列,在本发明实施例中分两种情形:Switching engine module 303 polls all packet buffer queues, divides two kinds of situations in the embodiment of the present invention:
如果该队列是下行网络接口往上行网络接口去的,则满足以下条件进行转发: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 networking destination address DA, visual networking Source address SA, depending on whether the network data packet type and packet length meet the requirements, if so, assign the corresponding stream identifier (stream-id); then, subtract MAC DA, MAC SA, length or frame type by 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 are the addresses of the metropolitan area network, and the seventh and eighth bytes are the addresses 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 label protocol 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.
基于视联网的上述特性,提出了本发明实施例的核心构思之一,遵循视联网的协议,由视联网网关设备负责协调终端设备间通信隧道的建立。Based on the above characteristics of the Internet of Vision, one of the core ideas of the embodiments of the present invention is proposed. Following the Internet of Vision protocol, the Internet of Vision gateway device is responsible for coordinating the establishment of communication tunnels between terminal devices.
在本发明实施例中,视联网系统可以包括视联网网关设备。In the embodiment of the present invention, the Internet of Vision system may include an Internet of Vision gateway device.
参照图5,在本发明实施例中,视联网网关设备503通过向视联网服务器504发送接入请求,通过视联网与视联网服务器504通信连接,第一终端501和第二终端502通过视联网与视联网网关设备503通信连接,第一终端501和第二终端502通过通信隧道实现通信连接。Referring to Fig. 5, in the embodiment of the present invention, the Internet of Vision gateway device 503 sends an access request to the Internet of Vision server 504, and communicates with the Internet of Vision server 504 through the Internet of Vision, and the first terminal 501 and the second terminal 502 are connected through the Internet of Vision. It communicates with the Internet of Things gateway device 503, and the first terminal 501 and the second terminal 502 realize the communication connection through a communication tunnel.
实施例一Embodiment one
参照图6,示出了本发明的一种隧道建立方法实施例的步骤流程图,所述方法应用于视联网网关设备,所述方法可以包括:Referring to FIG. 6 , it shows a flow chart of the steps of an embodiment of a method for establishing a tunnel in the present invention, the method is applied to a video network gateway device, and the method may include:
步骤601,接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码。Step 601: Receive configuration information reported by the first terminal, where the configuration information at least includes: a first video network number.
在本发明实施例中,第一终端可以是已加载视联网VVOE(Vehicle to VehicleOver Ethernet,互联网承载视联网端对端)网关驱动的终端,所述VVOE网关驱动是用于实现视联网终端对本地互联网报文的承载,安装VVOE网关驱动的终端可以实现通过视联网建立端对端的通信隧道以进行互联网报文的传输。In the embodiment of the present invention, the first terminal may be a terminal loaded with a VVOE (Vehicle to Vehicle Over Ethernet, Internet-carrying vehicle over Ethernet) gateway driver, and the VVOE gateway driver is used to realize the connection between the networked terminal and the local vehicle. Internet message bearer, the terminal installed with VVOE gateway driver can realize the establishment of end-to-end communication tunnel through the Internet of View for Internet message transmission.
用户在第一终端中安装VVOE驱动后,通过配置第一终端视联网物理地址和所需连接VVOE网关设备的视联网网关号码,以向视联网服务器发送包含视联网物理地址及视联网网关号码的接入请求,视联网服务器根据所述视联网物理地址给所述第一终端分配相对应的第一视联网号码,并向所述第一终端返回第一视联网号码和视联网网关号码相对应的网关物理地址。第一终根据网关物理地址将包含第一视联网号码的配置信息发送给视联网网关设备。After the user installs the VVOE driver in the first terminal, by configuring the first terminal's physical address of the Internet of Things and the number of the Internet of Things gateway that needs to be connected to the VVOE gateway device, the user can send a video message containing the physical address of the Internet of Things and the number of the Internet of Things to the Internet of Things server. For an access request, the server assigns a corresponding first video network number to the first terminal according to the video network physical address, and returns the first video network number corresponding to the video network gateway number to the first terminal. The physical address of the gateway. The first terminal sends the configuration information including the first video networking number to the video networking gateway device according to the physical address of the gateway.
步骤602,根据所述第一视联网号码生成相对应的第一视联网子号码。Step 602: Generate a corresponding first video network sub-number according to the first video network number.
在本发明实施例中,可以根据带宽限制和传输效率等实际需要,视联网网关设备可以对视联网号码对应的虚拟终端接口进行划分,并配置相对应的视联网子号码,可以配置的视联网子号码的数量可以在1~65536个的范围内,该生成过程是在视联网接入视联网网关设备后进行的,视联网网关设备将第一视联网号码及相对应的视联网子号码之间的对应关系进行存储,并记录视联网子号码的使用状态。In the embodiment of the present invention, according to actual needs such as bandwidth limitation and transmission efficiency, the video network gateway device can divide the virtual terminal interface corresponding to the video network number, and configure the corresponding video network sub-number, and the configurable video network The number of sub-numbers can be in the range of 1 to 65536. The generation process is carried out after the video network accesses the video network gateway device, and the video network gateway device combines the first video network number and the corresponding video network sub-number Store the corresponding relationship between them, and record the use status of the video network sub-number.
步骤603,将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的。Step 603, matching the first video network sub-number with the second video network sub-number to generate a video network sub-number pair, the second video network sub-number is generated according to the configuration information reported by the second terminal.
在本发明实施例中,视联网网关设备将已上报配置信息的第二终端的未被使用的第二视联网子号码与第一终端的第一视联网子号码进行匹配,生成包含第一视联网子号码和第二视联网子号码的视联网子号码对。所述匹配过程可以是随机进行的,也可以是根据预设匹配规则进行有序进行的,可以根据实际需要进行配置,例如,将第一视联网子号码按照存储顺序或上报配置信息的时间顺序与第二视联网子号码依次进行匹配,只要匹配可用的第二视联网子号码,则停止匹配,生成所述视联网子号码对。具体匹配规则本申请不做限定。In the embodiment of the present invention, the video network gateway device matches the unused second video network sub-number of the second terminal that has reported configuration information with the first video network sub-number of the first terminal, and generates a A video network sub-number pair of the video network sub-number and the second video network sub-number. The matching process can be performed randomly, or in an orderly manner according to preset matching rules, and can be configured according to actual needs, for example, the first video network sub-numbers are stored according to the order in which they are stored or in the order in which configuration information is reported Matching with the second Internet of Vision sub-number in sequence, as long as the available second Internet of Vision sub-number is matched, the matching is stopped, and the pair of Internet of Vision sub-numbers is generated. The specific matching rules are not limited in this application.
所述第二终端可以包含多个,可以理解,此步骤是用于将第一终端的第一视联网子号码与该视联网网关设备所连接的多个第二终端的第二视联网子号码进行匹配,以得到第一终端与该视联网网关设备所连接的多个第二终端之间的视联网子号码对。The second terminal may include multiple, it can be understood that this step is used to connect the first video network sub-number of the first terminal with the second video network sub-number of multiple second terminals connected to the video network gateway device Matching is performed to obtain the Internet of Vision sub-number pairs between the first terminal and multiple second terminals connected to the Internet of Vision gateway device.
可以理解,第一终端和第二终端为连接在视联网网关设备的任意两个终端,本发明实施例为了区分对其进行编号,方便说明。It can be understood that the first terminal and the second terminal are any two terminals connected to the video networking gateway device, and are numbered in order to distinguish them in this embodiment of the present invention for convenience of description.
步骤604,根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。Step 604: Establish a communication tunnel between the first terminal and the second terminal according to the Internet of Things sub-number pair.
在本发明实施例中,所述通信隧道是视联网终端之间基于视联网协议实现的点对点的加密专用通道。视联网网关设备协调视联网子号码对相对应的第一终端和第二终端根据视联网子号码建立相对应的通信隧道。第一终端可以通过VVOE驱动将本地互联网格式的报文协议转换为视联网格式后,通过该通信隧道直接发送给第二终端。In the embodiment of the present invention, the communication tunnel is a point-to-point encrypted dedicated channel between the Internet of Vision terminals based on the Internet of Vision protocol. The Internet of Vision gateway device coordinates the first terminal and the second terminal corresponding to the Internet of Vision sub-number to establish a corresponding communication tunnel according to the Internet of View sub-number. The first terminal may convert the message protocol in the local Internet format into the video network format through the VVOE driver, and then directly send it to the second terminal through the communication tunnel.
本发明实施例提供了一种隧道建立方法,所述方法应用于视联网网关设备,所述方法包括:接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码;根据所述第一视联网号码生成相对应的第一视联网子号码;将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的;根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。通过在第一终端上传配置信息后,自动确认可连接的第二终端,并生成相应的视联网子号码对,以使得第一终端与第二终端建立通信隧道,无需终端逐一配置建立通信隧道,实现了终端同时和多个终端同时建立隧道,简化了终端间通信隧道建立的复杂度。An embodiment of the present invention provides a method for establishing a tunnel. The method is applied to a video network gateway device. The method includes: receiving configuration information reported by the first terminal, and the configuration information includes at least: the first video network number; according to The first video network number generates a corresponding first video network sub-number; the first video network sub-number is matched with the second video network sub-number to generate a video network sub-number pair, and the second video network sub-number The sub-number is generated according to the configuration information reported by the second terminal; and the communication tunnel between the first terminal and the second terminal is established according to the pair of sub-numbers of the Internet of Things. After the first terminal uploads the configuration information, the second terminal that can be connected is automatically confirmed, and the corresponding video network sub-number pair is generated, so that the first terminal and the second terminal establish a communication tunnel, without the need for terminals to configure and establish communication tunnels one by one. It realizes that the terminal establishes tunnels with multiple terminals at the same time, and simplifies the complexity of establishing communication tunnels between terminals.
实施例二Embodiment two
参照图7,示出了本发明的另一种隧道建立方法实施例的步骤流程图,所述方法应用于视联网网关设备,所述方法可以包括:Referring to FIG. 7 , it shows a flow chart of the steps of another tunnel establishment method embodiment of the present invention, the method is applied to a video network gateway device, and the method may include:
步骤701,向视联网服务器发送接入请求,所述接入请求包括物理地址,所述视联网服务器用于根据所述物理地址生成相对应的视联网网关号码。Step 701: Send an access request to an Internet of Vision server, where the access request includes a physical address, and the Internet of Vision server is used to generate a corresponding Internet of Vision gateway number according to the physical address.
在本发明实施例中,视联网网关设备在加载VVOE网关驱动后,操作人员通过在VVOE驱动配置界面输入物理地址,向视联网服务器发送网关的接入请求,所述网关的接入请求至少包括:网关设备参数、物理地址。In the embodiment of the present invention, after the VVOE gateway device is loaded with the VVOE gateway driver, the operator sends a gateway access request to the Vision server by inputting the physical address on the VVOE driver configuration interface. The gateway access request includes at least : Gateway device parameters, physical address.
步骤702,根据所述视联网服务器返回的视联网网关号码建立与所述视联网服务器之间的通信连接。Step 702: Establish a communication connection with the Internet of Vision server according to the Internet of Vision gateway number returned by the Internet of Vision server.
在本发明实施例中,视联网服务器根据网关设备参数识别所述视联网网关设备,并根据该网关物理地址为视联网网关设备分配相对应的视联网网关号码,并返回至视联网网关设备以建立与视联网网关设备之间基于视联网的通信连接,即该视联网网关设备接入视联网。本发明实施例通过在视联网服务器侧为接入设备分配相对应的视联网号码,建立视联网号码与物理地址之间的映射关系,使得视联网设备的物理地址不会直接暴露在外,只需获取视联网号码即可获取相对应的物理地址,保障了视联网中设备的安全性。In the embodiment of the present invention, the Internet of Vision server identifies the Internet of Vision gateway device according to the parameters of the gateway device, and allocates a corresponding Internet of Vision gateway device for the Internet of Vision gateway device according to the physical address of the gateway, and returns to the Internet of Vision gateway device for Establish a communication connection based on the Internet of Vision with the Internet of Vision gateway device, that is, the Internet of Vision gateway device accesses the Internet of Vision. In the embodiment of the present invention, by assigning the corresponding Internet-of-Vision number to the access device on the side of the Internet-of-Vision server, the mapping relationship between the Internet-of-Vision number and the physical address is established, so that the physical address of the Internet-of-Vision device will not be directly exposed. The corresponding physical address can be obtained by obtaining the Internet of Vision number, which ensures the security of the equipment in the Internet of Vision.
步骤703,接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码。Step 703, receiving configuration information reported by the first terminal, where the configuration information at least includes: the first video network number.
该步骤可参照步骤601的详细描述,此处不再赘述。For this step, reference may be made to the detailed description of step 601, which will not be repeated here.
步骤704,根据所述第一视联网号码生成相对应的第一视联网子号码。Step 704: Generate a corresponding first video network sub-number according to the first video network number.
该步骤可参照步骤602的详细描述,此处不再赘述。For this step, reference may be made to the detailed description of step 602, which will not be repeated here.
步骤705,确认终端列表是否存在至少一个终端的至少一个所述视联网子号码处于空闲状态。Step 705, confirming whether there is at least one terminal in the terminal list and at least one of the Internet of Things sub-numbers is in an idle state.
在本发明实施例中,所述终端列表可以是维护终端物理地址的哈希值列表,用于记录已上报配置信息的终端的视联网物理地址、视联网子号码,和计算出来终端要建立通信隧道的基本信息,所述基本信息包括通信隧道对端的视联网号码和视联网子号码,以及自身的视联网子号码。In the embodiment of the present invention, the terminal list may be a hash value list for maintaining the physical address of the terminal, which is used to record the physical address of the Internet of Things and the sub-number of the Internet of View of the terminal that has reported configuration information, and the calculated terminal to establish communication The basic information of the tunnel, the basic information includes the video network number and video network sub-number of the opposite end of the communication tunnel, and its own video network sub-number.
视联网网关设备将第一视联网号码及相对应的第一视联网子号码加入本地的终端列表中,并查询所述终端列表中的已上报的终端中存在视联网子号码处于空闲状态的终端。由于通信隧道是利用两端的视联网子号码相互对应的关系,建立的点对点的专用通道,因此终端之间建立隧道的前提是两端均存在空闲状态的视联网子号码。The video network gateway device adds the first video network number and the corresponding first video network sub-number to the local terminal list, and queries the reported terminals in the terminal list if there is a terminal whose video network sub-number is in an idle state . Since the communication tunnel is a point-to-point dedicated channel established by using the corresponding relationship between the video-network sub-numbers at both ends, the premise of establishing a tunnel between terminals is that there are video-network sub-numbers in an idle state at both ends.
步骤706,当所述终端列表中存在至少一个终端的至少一个所述视联网子号码处于空闲状态时,将所述终端确定为第二终端。Step 706, when at least one of the Internet of Things sub-numbers of at least one terminal in the terminal list is in an idle state, determine the terminal as the second terminal.
在本发明实施例中,视联网网关设备将终端列表中存在空闲状态的视联网子号码的终端作为可以与所述第一终端建立通信隧道的终端,即第二终端。In the embodiment of the present invention, the Internet of Things gateway device takes a terminal with an Internet of Things sub-number in an idle state in the terminal list as the terminal that can establish a communication tunnel with the first terminal, that is, the second terminal.
当所述终端列表中不存在任何一个终端的任何一个所述视联网子号码处于空闲状态时,视联网网关设备可以向第一终端发送提示信息,所述提示信息可以是通知用户继续等待,或通知用户未检测到可连接终端,具体提示信息的内容可以根据实际需要配置,此处不做限定。When any of the Internet-of-Vision sub-numbers of any terminal that does not exist in the terminal list is in an idle state, the Internet-of-Vision gateway device may send prompt information to the first terminal, and the prompt information may be to notify the user to continue waiting, or The user is notified that no connectable terminal is detected, and the content of the specific prompt information can be configured according to actual needs, which is not limited here.
步骤707,将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的。Step 707, matching the first video network sub-number with the second video network sub-number to generate a video network sub-number pair, the second video network sub-number is generated according to the configuration information reported by the second terminal.
该步骤可参照步骤603的详细描述,此处不再赘述。For this step, reference may be made to the detailed description of step 603, which will not be repeated here.
步骤708,根据所述视联网子号码对生成包含第二视联网号码、所述第二视联网子号码、所述第一视联网子号码的第一隧道建立指令,并生成包含所述第一视联网号码、所述第一视联网子号码、所述第二视联网子号码的第二隧道建立指令。Step 708: Generate a first tunnel establishment instruction containing the second Internet of Vision number, the second Internet of Vision sub-number, and the first Internet of Vision sub-number according to the Internet of Vision sub-number pair, and generate a tunnel establishment instruction including the first Internet of Vision A second tunnel establishment instruction for the Internet of Vision number, the first Internet of Vision sub-number, and the second Internet of Vision sub-number.
在本发明实施例中,终端通过VVOE驱动与其他终端建立通信隧道需要配置对端的视联网号码、视联网子号码、本端的视联网子号码,视联网号码用于查询对端的视联网物理地址,对端的视联网子号码和本端的视联网子号码用于确定通信隧道连通的两端接口。因此视联网网关设备在确定需要建立通信隧道对应的视联网子号码对之后,需要向第一终端发送包含第二视联网号码、第二视联网子号码、第一视联网子号码的第一隧道建立指令,向第二终端发送包含第一视联网号码、第一视联网子号码、第二视联网子号码的第二隧道建立指令。In the embodiment of the present invention, when a terminal establishes a communication tunnel with other terminals through the VVOE drive, it needs to configure the video network number of the opposite end, the video network sub-number, and the local video network sub-number. The video network number is used to query the video network physical address of the opposite end. The video network sub-number of the opposite end and the video network sub-number of the local end are used to determine the interfaces at both ends of the communication tunnel connection. Therefore, after the Internet of Vision gateway device determines that the Internet of Vision sub-number pair corresponding to the communication tunnel needs to be established, it needs to send the first tunnel including the second Internet of Vision number, the second Internet of Vision sub-number, and the first Internet of Vision to the first terminal. The establishment instruction is to send the second tunnel establishment instruction including the first video network number, the first video network sub-number and the second video network sub-number to the second terminal.
通过视联网网关设备在终端上报配置信息后,自动计算该终端与已上报配置信息的终端之间需要建立的通信隧道及相对应的视联网子号码,并向通信隧道两端发送相应的隧道建立指令,无需人工逐一配置通信隧道的配置,使得终端可以在上报配置信息后,即可与其他终端建立通信隧道,以实现利用视联网承载互联网的通信报文的功能,简化了终端通过VVOE驱动隧道通信的配置复杂度。After the terminal reports the configuration information through the Internet of Things gateway device, it automatically calculates the communication tunnel and the corresponding Internet of Things sub-number that needs to be established between the terminal and the terminal that has reported the configuration information, and sends the corresponding tunnel establishment to both ends of the communication tunnel Instructions, no need to manually configure the configuration of the communication tunnel one by one, so that the terminal can establish a communication tunnel with other terminals after reporting the configuration information, so as to realize the function of using the Internet of View to carry the communication message of the Internet, simplifying the terminal to drive the tunnel through VVOE Communication configuration complexity.
步骤709,向所述第一终端和所述第二终端分别发送所述第一隧道建立指令和所述第二隧道建立指令。Step 709: Send the first tunnel establishment instruction and the second tunnel establishment instruction to the first terminal and the second terminal respectively.
可选的,所述第一隧道建立指令还可以包括:主呼标识,所述主呼标识用于设置所述第一终端作为主呼端与所述第二终端相互通信;所述第二隧道建立指令还可以包括:被呼标识,所述被呼标识用于设置所述第二终端作为被呼端与所述第一终端相互通信。Optionally, the first tunnel establishment instruction may further include: a calling identifier, the calling identifier is used to set the first terminal as the calling terminal to communicate with the second terminal; the second tunnel The establishment instruction may further include: a called identifier, where the called identifier is used to set the second terminal as a called terminal to communicate with the first terminal.
在本发明实施例中,视联网网关设备在向终端发送隧道建立指令的同时,可以根据实际需要配置通信隧道的主呼方和被呼方,并在隧道建立指令中添加主呼标识或被呼标识。第一终端在通信隧道建立后,根据接收到的第一隧道建立指令中的主呼标识,自动向第二终端通过通信隧道发送主呼信息,而第二终端则根据所接收到的第二隧道建立指令中被呼标识,保持等待状态,检测第一终端发送的主呼信息。In the embodiment of the present invention, while sending the tunnel establishment instruction to the terminal, the video network gateway device can configure the calling party and the called party of the communication tunnel according to actual needs, and add the calling identity or the called party to the tunnel establishment instruction. logo. After the communication tunnel is established, the first terminal automatically sends the calling information to the second terminal through the communication tunnel according to the calling identifier in the received first tunnel establishment instruction, and the second terminal sends the calling information according to the received second tunnel establishment instruction. The called identifier in the instruction is established, the waiting state is maintained, and the calling information sent by the first terminal is detected.
可以理解,主呼端和被呼端可以随机设定,本发明实施例对其不加以限制。It can be understood that the calling terminal and the called terminal may be set randomly, which is not limited in this embodiment of the present invention.
本发明实施例提供了一种隧道建立方法,所述方法应用于视联网网关设备,所述方法包括:接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码;根据所述第一视联网号码生成相对应的第一视联网子号码;将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的;根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。通过在第一终端上传配置信息后,自动确认可连接的第二终端,并生成相应的视联网子号码对,以使得第一终端与第二终端建立通信隧道,无需终端逐一配置建立通信隧道,实现了终端同时和多个终端同时建立隧道,简化了终端间通信隧道建立的复杂度。An embodiment of the present invention provides a method for establishing a tunnel. The method is applied to a video network gateway device. The method includes: receiving configuration information reported by the first terminal, and the configuration information includes at least: the first video network number; according to The first video network number generates a corresponding first video network sub-number; the first video network sub-number is matched with the second video network sub-number to generate a video network sub-number pair, and the second video network sub-number The sub-number is generated according to the configuration information reported by the second terminal; and the communication tunnel between the first terminal and the second terminal is established according to the pair of sub-numbers of the Internet of Things. After the first terminal uploads the configuration information, the second terminal that can be connected is automatically confirmed, and the corresponding video network sub-number pair is generated, so that the first terminal and the second terminal establish a communication tunnel, without the need for terminals to configure and establish communication tunnels one by one. It realizes that the terminal establishes tunnels with multiple terminals at the same time, and simplifies the complexity of establishing communication tunnels between terminals.
实施例三Embodiment three
参照图8,示出了本发明的一种视联网系统80实施例的结构框图,所述视联网系统包括视联网网关设备800,所述视联网网关设备800包括:Referring to FIG. 8 , a structural block diagram of an embodiment of a visual networking system 80 of the present invention is shown, the visual networking system includes a visual networking gateway device 800, and the visual networking gateway device 800 includes:
接收模块801,用于接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码。The receiving module 801 is configured to receive configuration information reported by the first terminal, where the configuration information at least includes: a first video network number.
生成模块802,用于根据所述第一视联网号码生成相对应的第一视联网子号码。A generating module 802, configured to generate a corresponding first video-network sub-number according to the first video-network number.
匹配模块803,用于将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的。The matching module 803 is configured to match the first video network sub-number with the second video network sub-number to generate a video network sub-number pair, and the second video network sub-number is based on the configuration information reported by the second terminal Generated.
隧道建立模块804,用于根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。A tunnel establishing module 804, configured to establish a communication tunnel between the first terminal and the second terminal according to the Internet of Things sub-number pair.
本发明实施例提供了一种视联网系统,所述视联网系统包括视联网网关设备,所述视联网网关设备包括:接收模块,用于接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码;生成模块,用于根据所述第一视联网号码生成相对应的第一视联网子号码;匹配模块,用于将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的;隧道建立模块,用于根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。通过在第一终端上传配置信息后,自动确认可连接的第二终端,并生成相应的视联网子号码对,以使得第一终端与第二终端建立通信隧道,无需终端逐一配置建立通信隧道,实现了终端同时和多个终端同时建立隧道,简化了终端间通信隧道建立的复杂度。An embodiment of the present invention provides a video networking system, the video networking system includes a video networking gateway device, and the video networking gateway device includes: a receiving module, configured to receive configuration information reported by the first terminal, the configuration information being at least Including: a first video network number; a generation module, used to generate a corresponding first video network sub-number according to the first video network number; a matching module, used to match the first video network sub-number with the second video network number The networking sub-numbers are matched to generate a video networking sub-number pair, and the second video networking sub-number is generated according to the configuration information reported by the second terminal; a tunnel establishment module is used to establish the video networking sub-number pair according to the video networking sub-number A communication tunnel between the first terminal and the second terminal. After the first terminal uploads the configuration information, the second terminal that can be connected is automatically confirmed, and the corresponding video network sub-number pair is generated, so that the first terminal and the second terminal establish a communication tunnel, without the need for terminals to configure and establish communication tunnels one by one. It realizes that the terminal establishes tunnels with multiple terminals at the same time, and simplifies the complexity of establishing communication tunnels between terminals.
实施例四Embodiment four
参照图9,示出了本发明的一种视联网系统90实施例的结构框图,所述视联网系统包括视联网网关设备900,所述视联网网关设备900包括:Referring to FIG. 9 , it shows a structural block diagram of an embodiment of a visual networking system 90 of the present invention, the visual networking system includes a visual networking gateway device 900, and the visual networking gateway device 900 includes:
请求模块901,用于向视联网服务器发送接入请求,所述接入请求包括物理地址,所述视联网服务器用于根据所述物理地址生成相对应的视联网网关号码。The request module 901 is configured to send an access request to the Internet of Vision server, the access request includes a physical address, and the Internet of Vision server is used to generate a corresponding Internet of Vision gateway number according to the physical address.
连接模块902,用于根据所述视联网服务器返回的视联网网关号码建立与所述视联网服务器之间的通信连接。The connection module 902 is configured to establish a communication connection with the Internet of Vision server according to the Internet of Vision gateway number returned by the Internet of Vision server.
接收模块903,用于接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码。The receiving module 903 is configured to receive configuration information reported by the first terminal, where the configuration information at least includes: a first video network number.
生成模块904,用于根据所述第一视联网号码生成相对应的第一视联网子号码。A generating module 904, configured to generate a corresponding first video-network sub-number according to the first video-network number.
查询模块905,用于确认终端列表是否存在至少一个终端的至少一个所述视联网子号码处于空闲状态。The query module 905 is configured to confirm whether at least one of the Internet of Things sub-numbers of at least one terminal is in an idle state in the terminal list.
确定模块906,用于当所述终端列表中存在至少一个终端的至少一个所述视联网子号码处于空闲状态时,将所述终端确定为第二终端。A determining module 906, configured to determine the terminal as the second terminal when at least one of the Internet of Things sub-numbers of at least one terminal in the terminal list is in an idle state.
匹配模块907,用于将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的。The matching module 907 is configured to match the first video network sub-number with the second video network sub-number to generate a video network sub-number pair, and the second video network sub-number is based on the configuration information reported by the second terminal Generated.
隧道建立模块908,用于根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。A tunnel establishing module 908, configured to establish a communication tunnel between the first terminal and the second terminal according to the Internet of Things sub-number pair.
可选的,所述终端列表包括:终端与视联网子号码之间的对应关系,所述隧道建立模块908,可以包括:Optionally, the terminal list includes: the corresponding relationship between the terminal and the Internet of Things sub-number, and the tunnel establishment module 908 may include:
指令生成子模块9081,用于根据所述视联网子号码对生成包含第二视联网号码、所述第二视联网子号码、所述第一视联网子号码的第一隧道建立指令,并生成包含所述第一视联网号码、所述第一视联网子号码、所述第二视联网子号码的第二隧道建立指令。The instruction generation sub-module 9081 is used to generate a first tunnel establishment instruction including the second Internet of Vision number, the second Internet of Vision sub-number, and the first Internet of Vision sub-number according to the Internet of Vision sub-number pair, and generate A second tunnel establishment instruction including the first Internet of Vision number, the first Internet of Vision sub-number, and the second Internet of Vision sub-number.
指令发送子模块9082,用于向所述第一终端和所述第二终端分别发送所述第一隧道建立指令和所述第二隧道建立指令。The instruction sending submodule 9082 is configured to send the first tunnel establishment instruction and the second tunnel establishment instruction to the first terminal and the second terminal respectively.
可选的,所述第一隧道建立指令还包括:主呼标识,所述主呼标识用于设置所述第一终端作为主呼端与所述第二终端相互通信。所述第二隧道建立指令还包括:被呼标识,所述被呼标识用于设置所述第二终端作为被呼端与所述第一终端相互通信。Optionally, the first tunnel establishment instruction further includes: a calling identifier, where the calling identifier is used to set the first terminal as a calling terminal to communicate with the second terminal. The second tunnel establishment instruction further includes: a called identifier, where the called identifier is used to set the second terminal as a called terminal to communicate with the first terminal.
本发明实施例提供了一种视联网系统,所述视联网系统包括视联网网关设备,所述视联网网关设备包括:接收模块,用于接收第一终端上报的配置信息,所述配置信息至少包括:第一视联网号码;生成模块,用于根据所述第一视联网号码生成相对应的第一视联网子号码;匹配模块,用于将所述第一视联网子号码与第二视联网子号码进行匹配,生成视联网子号码对,所述第二视联网子号码是根据第二终端已上报的配置信息生成的;隧道建立模块,用于根据所述视联网子号码对建立所述第一终端和所述第二终端之间的通信隧道。通过在第一终端上传配置信息后,自动确认可连接的第二终端,并生成相应的视联网子号码对,以使得第一终端与第二终端建立通信隧道,无需终端逐一配置建立通信隧道,实现了终端同时和多个终端同时建立隧道,简化了终端间通信隧道建立的复杂度。An embodiment of the present invention provides a video networking system, the video networking system includes a video networking gateway device, and the video networking gateway device includes: a receiving module, configured to receive configuration information reported by the first terminal, the configuration information being at least Including: a first video network number; a generation module, used to generate a corresponding first video network sub-number according to the first video network number; a matching module, used to match the first video network sub-number with the second video network number The networking sub-numbers are matched to generate a video networking sub-number pair, and the second video networking sub-number is generated according to the configuration information reported by the second terminal; a tunnel establishment module is used to establish the video networking sub-number pair according to the video networking sub-number A communication tunnel between the first terminal and the second terminal. After the first terminal uploads the configuration information, the second terminal that can be connected is automatically confirmed, and the corresponding video network sub-number pair is generated, so that the first terminal and the second terminal establish a communication tunnel, without the need for terminals to configure and establish communication tunnels one by one. It realizes that the terminal establishes tunnels with multiple terminals at the same time, and simplifies the complexity of establishing communication tunnels between terminals.
对于视联网系统实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。As for the embodiment of the Internet of Vision system, since it is basically similar to the method embodiment, the description is relatively simple, and for relevant parts, please refer to the part of the description of the method embodiment.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。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 a method, a video network system, or a computer program product. 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 Generate an Internet of Things system for realizing the functions specified in one or more processes of the flow chart 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 device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction-seeking system , which instructs the visual networking system to implement the functions specified in one or more processes of the flow chart 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 terminal 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.
以上对本发明所提供的一种隧道建立方法和一种视联网系统,进行了详细介绍,本文中应用了具体个例对本发明的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本发明的方法及其核心思想;同时,对于本领域的一般技术人员,依据本发明的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本发明的限制。A tunnel establishment method and a visual networking system provided by the present invention have been introduced in detail above. In this paper, specific examples are used to illustrate the principle and implementation of the present invention. The descriptions of the above embodiments are 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, the content of this specification is not It should be understood as a limitation of the present invention.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910507995.3A CN110266577B (en) | 2019-06-12 | 2019-06-12 | A tunnel establishment method and video networking system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910507995.3A CN110266577B (en) | 2019-06-12 | 2019-06-12 | A tunnel establishment method and video networking system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110266577A true CN110266577A (en) | 2019-09-20 |
CN110266577B CN110266577B (en) | 2021-06-18 |
Family
ID=67917848
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910507995.3A Active CN110266577B (en) | 2019-06-12 | 2019-06-12 | A tunnel establishment method and video networking system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110266577B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111193944A (en) * | 2019-12-17 | 2020-05-22 | 视联动力信息技术股份有限公司 | Sub-device number configuration method, device and storage medium |
CN112218104A (en) * | 2020-09-03 | 2021-01-12 | 视联动力信息技术股份有限公司 | A data transmission method, device, terminal device and storage medium |
CN115622943A (en) * | 2022-09-16 | 2023-01-17 | 海南视联通信技术有限公司 | Data distribution method, device, system, equipment and medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7940685B1 (en) * | 2005-11-16 | 2011-05-10 | At&T Intellectual Property Ii, Lp | Method and apparatus for monitoring a network |
US20160365989A1 (en) * | 2015-06-09 | 2016-12-15 | Oracle International Corporation | Multipath support of real-time communications |
US20170180183A1 (en) * | 2012-11-21 | 2017-06-22 | Amazon Technologies, Inc. | Techniques for accessing local networks via a virtualized gateway |
CN108418778A (en) * | 2017-02-09 | 2018-08-17 | 北京视联动力国际信息技术有限公司 | A kind of internet and method, apparatus and interactive system regarding connected network communication |
CN108632398A (en) * | 2017-07-27 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of conference access method and system, association turn server and conference management terminal |
CN108881798A (en) * | 2017-12-29 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | It is a kind of to be carried out using bridge service device across view networking conference method and system |
CN109120962A (en) * | 2018-08-27 | 2019-01-01 | 视联动力信息技术股份有限公司 | The method and apparatus of software terminal connection view networking |
CN109743522A (en) * | 2018-11-28 | 2019-05-10 | 视联动力信息技术股份有限公司 | Communication means and device based on view networking |
CN109743526A (en) * | 2018-12-13 | 2019-05-10 | 视联动力信息技术股份有限公司 | A kind of communication connection method for building up and system based on view networking |
CN109756694A (en) * | 2018-12-13 | 2019-05-14 | 视联动力信息技术股份有限公司 | A kind of communication connection method for building up and system based on view networking |
CN109787992A (en) * | 2019-01-31 | 2019-05-21 | 视联动力信息技术股份有限公司 | A kind of method and apparatus by view networking access private network |
CN109787873A (en) * | 2019-01-31 | 2019-05-21 | 视联动力信息技术股份有限公司 | A kind of method and apparatus of multi-to-multi incoming communication |
-
2019
- 2019-06-12 CN CN201910507995.3A patent/CN110266577B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7940685B1 (en) * | 2005-11-16 | 2011-05-10 | At&T Intellectual Property Ii, Lp | Method and apparatus for monitoring a network |
US20170180183A1 (en) * | 2012-11-21 | 2017-06-22 | Amazon Technologies, Inc. | Techniques for accessing local networks via a virtualized gateway |
US20160365989A1 (en) * | 2015-06-09 | 2016-12-15 | Oracle International Corporation | Multipath support of real-time communications |
CN108418778A (en) * | 2017-02-09 | 2018-08-17 | 北京视联动力国际信息技术有限公司 | A kind of internet and method, apparatus and interactive system regarding connected network communication |
CN108632398A (en) * | 2017-07-27 | 2018-10-09 | 北京视联动力国际信息技术有限公司 | A kind of conference access method and system, association turn server and conference management terminal |
CN108881798A (en) * | 2017-12-29 | 2018-11-23 | 北京视联动力国际信息技术有限公司 | It is a kind of to be carried out using bridge service device across view networking conference method and system |
CN109120962A (en) * | 2018-08-27 | 2019-01-01 | 视联动力信息技术股份有限公司 | The method and apparatus of software terminal connection view networking |
CN109743522A (en) * | 2018-11-28 | 2019-05-10 | 视联动力信息技术股份有限公司 | Communication means and device based on view networking |
CN109743526A (en) * | 2018-12-13 | 2019-05-10 | 视联动力信息技术股份有限公司 | A kind of communication connection method for building up and system based on view networking |
CN109756694A (en) * | 2018-12-13 | 2019-05-14 | 视联动力信息技术股份有限公司 | A kind of communication connection method for building up and system based on view networking |
CN109787992A (en) * | 2019-01-31 | 2019-05-21 | 视联动力信息技术股份有限公司 | A kind of method and apparatus by view networking access private network |
CN109787873A (en) * | 2019-01-31 | 2019-05-21 | 视联动力信息技术股份有限公司 | A kind of method and apparatus of multi-to-multi incoming communication |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111193944A (en) * | 2019-12-17 | 2020-05-22 | 视联动力信息技术股份有限公司 | Sub-device number configuration method, device and storage medium |
CN112218104A (en) * | 2020-09-03 | 2021-01-12 | 视联动力信息技术股份有限公司 | A data transmission method, device, terminal device and storage medium |
CN115622943A (en) * | 2022-09-16 | 2023-01-17 | 海南视联通信技术有限公司 | Data distribution method, device, system, equipment and medium |
CN115622943B (en) * | 2022-09-16 | 2024-10-29 | 海南视联通信技术有限公司 | Data distribution method, device, system, equipment and medium |
Also Published As
Publication number | Publication date |
---|---|
CN110266577B (en) | 2021-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110475102A (en) | A kind of monitoring data processing method and system based on view networking | |
CN111478884B (en) | Method, device and storage medium for data transmission among different video networks | |
CN110460804A (en) | Conference data transmission method, system, device and computer-readable storage medium | |
CN110191315A (en) | A monitoring and viewing method and device based on the Internet of Things | |
CN110224988B (en) | Image data processing method, system and device and storage medium | |
CN110602266A (en) | Domain name resolution method and system | |
CN111131911B (en) | A kind of multicast method and device | |
CN110266577A (en) | A method for establishing a tunnel and a visual networking system | |
CN110519549A (en) | A kind of conference terminal list obtaining method and system | |
CN111835717B (en) | Monitoring code stream acquisition method, device and readable storage medium | |
CN111555975B (en) | A data transmission method, device, electronic device and storage medium | |
CN111131781B (en) | Method and device for acquiring monitoring video data and readable storage medium | |
CN111478880B (en) | A method and device for data processing | |
CN109889516B (en) | Method and device for establishing session channel | |
CN110417792A (en) | Communication method, system, gateway device and storage medium | |
CN110636044A (en) | Network access method, system, device and storage medium of a virtual terminal | |
CN110166363A (en) | A kind of multicast link monitoring method and device | |
CN110445806A (en) | A kind of method, apparatus of calling Internet terminal and association turn server | |
CN110289974A (en) | Data stream processing method, system and device, and storage medium | |
CN110120937A (en) | Resource acquiring method, system, equipment and computer readable storage medium | |
CN110099307A (en) | A kind of joint connecting method, view networking and computer readable storage medium | |
CN110336710A (en) | Terminal testing method, system, device and storage medium | |
CN110191092A (en) | A processing method for video calls and a visual networking system | |
CN111225241B (en) | A communication method and device | |
CN111478940B (en) | Data processing method and device |
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 |