CN109698924B - Video data transmission method and device - Google Patents

Video data transmission method and device Download PDF

Info

Publication number
CN109698924B
CN109698924B CN201811379877.0A CN201811379877A CN109698924B CN 109698924 B CN109698924 B CN 109698924B CN 201811379877 A CN201811379877 A CN 201811379877A CN 109698924 B CN109698924 B CN 109698924B
Authority
CN
China
Prior art keywords
video
server
audio
terminal
communication protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811379877.0A
Other languages
Chinese (zh)
Other versions
CN109698924A (en
Inventor
王艳辉
沈军
乔金龙
杨春晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Visionvera Information Technology Co Ltd
Original Assignee
Visionvera Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Visionvera Information Technology Co Ltd filed Critical Visionvera Information Technology Co Ltd
Priority to CN201811379877.0A priority Critical patent/CN109698924B/en
Publication of CN109698924A publication Critical patent/CN109698924A/en
Application granted granted Critical
Publication of CN109698924B publication Critical patent/CN109698924B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/141Systems for two-way working between two video terminals, e.g. videophone
    • H04N7/147Communication arrangements, e.g. identifying the communication as a video-communication, intermediate storage of the signals

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides a method and a corresponding device for video data transmission, the method and the device are applied to video networking, the video network comprises a protocol conversion server, a video network server and a video network terminal, the protocol conversion server is in communication connection with the internet terminal and the video network terminal, the internet terminal is preset with a first audio-video communication protocol and a second audio-video communication protocol, the cooperation server generates a corresponding first call message body and a corresponding second call message body according to the first audio-video communication protocol and the second audio-video communication protocol, when the video network terminal sends out a call instruction, the coordination server firstly sends the first call message body to the internet terminal, if the internet terminal responds, transmitting video data according to a first audio and video communication protocol, and if the internet terminal does not respond, transmitting the video data according to a second audio and video communication protocol; the purpose that the video networking terminal actively adapts to the audio and video communication protocol of the Internet terminal is achieved.

Description

Video data transmission method and device
Technical Field
The present application relates to the field of video networking technologies, and in particular, to a method and a device for video data transmission.
Background
When the internet terminal carries out video call in the internet, an audio and video communication protocol is needed for carrying out audio and video transmission, and the existing audio and video communication protocols are various. At present, when the internet terminals carry out video call with each other, two audio and video communication protocols can be simultaneously started, so that when the video call is initiated, the video call can be carried out by using different audio and video communication protocols according to different calling modes.
However, when the video network terminal and the internet terminal perform a video call, the video network terminal can only support one audio/video communication protocol alone, and therefore the internet terminal must close another audio/video communication protocol to perform a video call normally. In practical application, the internet terminal is often required to adapt to the protocol of the video network terminal in advance, so that the transmission of the audio and video data can be normally carried out, and great inconvenience is brought to the video call service of the video network terminal and the internet terminal.
Disclosure of Invention
In view of the above, embodiments of the present application are proposed to provide a method and apparatus for video data transmission that overcomes or at least partially solves the above problems.
In order to solve the above problem, the application discloses a video data transmission method, the method is applied to the video network, the video network is including coordinating commentaries on classics server, video network terminal, the video network terminal pass through the video network server with coordinate commentaries on classics server communication connection, the coordination server includes the virtual terminal of video network, the coordination server passes through the virtual terminal of video network and internet terminal communication connection, preset first audio video communication agreement and second audio video communication agreement in the internet terminal, the method includes:
the protocol conversion server generates a first call message body aiming at the first audio and video communication protocol and generates a second call message body aiming at the second audio and video communication protocol;
the protocol conversion server sends the first call message body to the internet terminal aiming at the video networking call instruction forwarded by the video networking server; the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server;
the protocol conversion server receives a first response signaling returned by the internet terminal aiming at the first call message body;
when the first response signaling identifier is successfully connected, the protocol conversion server adopts the first audio and video communication protocol to send the first video data forwarded by the video networking server to the internet terminal; the first video data are collected by the video network terminal and are sent to the video network server;
when the connection of the first response signaling identifier is unsuccessful, the protocol conversion server sends the second call message body to the internet terminal, and after the internet terminal responds to the second call message body, the second audio and video communication protocol is adopted to send second video data forwarded by the video network server to the internet terminal; and the second video data is collected by the video network terminal and is sent to the video network server.
Preferably, the first audio/video communication protocol is a session initiation protocol SIP, and the second audio/video communication protocol is an H323 protocol.
Preferably, the step of generating a first call message body for the first audio/video communication protocol and generating a second call message body for the second audio/video communication protocol by the coordination server includes:
the protocol conversion server acquires the virtual terminal identification, the Internet terminal identification, the first audio and video communication protocol and the second audio and video communication protocol;
the coordination server generates a first call signaling for the first audio/video communication protocol, and generates a second call signaling for the second audio/video communication protocol;
the protocol conversion server binds the first call signaling, the Internet terminal identification and the visual virtual terminal identification into a first call message body; and the coordination server binds the second call signaling, the Internet terminal identification and the virtual terminal identification into a second call message body.
In order to solve the above problem, this application still discloses a video data transmission's method, the method is applied to in the video networking, the video networking is including coordinating commentaries on classics server, video networking terminal, the video networking terminal pass through the video networking server with coordinate commentaries on classics server communication connection, the cooperation commentaries on classics server includes the virtual terminal of video networking, the cooperation server passes through the virtual terminal of video networking and internet terminal communication connection, preset first audio video communication protocol and second audio video communication protocol in the internet terminal, the method includes:
the protocol conversion server generates a first call message body aiming at the first audio and video communication protocol, and the protocol conversion server generates a second call message body aiming at the second audio and video communication protocol;
the protocol conversion server sends the second call message body to the internet terminal aiming at the video networking call instruction forwarded by the video networking server; the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server;
the protocol conversion server receives a second response signaling returned by the internet terminal aiming at the second call message body;
when the second response signaling identifier is successfully connected, the protocol conversion server adopts the second audio and video communication protocol to send second video data forwarded by the video networking server to the internet terminal, wherein the second video data is collected by the video networking terminal and is sent to the video networking server;
when the second response signaling identification connection is unsuccessful, the protocol conversion server sends the first call message body to the internet terminal, and after the internet terminal responds to the first response signaling, the first audio/video communication protocol is adopted to send the first video data forwarded by the video network server to the internet terminal, wherein the first video data is collected and sent to the video network server by the video network terminal.
Preferably, the first audio/video communication protocol is a session initiation protocol SIP, and the first audio/video communication protocol is an H323 protocol.
Preferably, the step of generating a first call message body for the first audio/video communication protocol and generating a second call message body for the second audio/video communication protocol by the coordination server includes:
the protocol conversion server acquires the virtual terminal identification, the Internet terminal identification, the first audio and video communication protocol and the second audio and video communication protocol;
the coordination server generates a first call signaling for the first audio/video communication protocol and generates a second call signaling for the second audio/video communication protocol;
the protocol conversion server binds the first call signaling, the Internet terminal identification and the visual virtual terminal identification into a first call message body; and binding the second call signaling, the Internet terminal identification and the virtual terminal identification into a second call message body
In order to solve the problem, the application discloses a video data transmission's device, the device be applied to in the video networking, the video networking is including coordinating commentaries on classics server, video networking terminal, the video networking terminal pass through the video networking server with coordinate commentaries on classics server communication connection, the server of coordinating commentaries on classics includes the virtual terminal of video networking, the server of coordinating commentaries on classics still passes through the virtual terminal of video networking and internet terminal communication connection have preset first audio and video communication protocol and second audio and video communication protocol in the internet terminal, the device be located in the server of coordinating commentaries on classics includes:
the message body creating module is used for generating a first call message body aiming at the first audio and video communication protocol and generating a second call message body aiming at the second audio and video communication protocol by the coordination server;
the message sending module is used for sending the first call message body to the Internet terminal aiming at the video networking call forwarded by the video networking server; the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server;
a signaling receiving module, configured to receive a first response signaling returned by the internet terminal for the first call message body;
the first data transmission module is used for sending first video data forwarded by the video networking server to the internet terminal by adopting the first audio and video communication protocol when the first response signaling identifier is successfully connected, wherein the first video data is collected by the video networking terminal and sent to the video networking server;
the message switching module is used for triggering the message sending module to send the second call message body to the internet terminal when the first response signaling identifier is unsuccessfully connected;
and the second data transmission module is used for sending the second video data forwarded by the video networking server to the internet terminal by adopting the second audio and video communication protocol after the internet terminal responds to the second call message body, wherein the second video data is collected by the video networking server and sent to the video networking server.
Preferably, the virtual terminal of the video network has a virtual terminal identifier, the internet terminal has an internet terminal identifier, and the message body creating module includes:
a communication protocol obtaining submodule, configured to obtain the virtual terminal identifier, the internet terminal number, the first audio/video communication protocol, and the second audio/video communication protocol;
the call signaling setting submodule is used for generating a first call signaling aiming at the first audio and video communication protocol and is used for generating a second call signaling aiming at the second audio and video communication protocol;
a call signaling binding submodule, configured to bind the first call signaling, the internet terminal number, and the visual virtual terminal number into a first call message body, and to bind the second call signaling, the internet terminal number, and the virtual terminal number into a second call message body
In order to solve the problem, this application still discloses a video data transmission's device, the device be applied to in the video networking, the video networking is including coordinating commentaries on classics server, video networking terminal, the video networking terminal pass through the video networking server with coordinate commentaries on classics server communication connection, the server of coordinating commentaries on classics includes the virtual terminal of video networking, the server of coordinating commentaries on classics still passes through the virtual terminal of video networking and internet terminal communication connection first audio and video communication protocol and second audio and video communication protocol have been preset in the internet terminal, the device be located in the server of coordinating commentaries on classics includes:
the message body creating module is used for generating a first call message body aiming at the first audio and video communication protocol and generating a second call message body aiming at the second audio and video communication protocol by the coordination server;
the message sending module is used for sending the second call message body to the internet terminal aiming at the video networking call instruction forwarded by the video networking server; the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server, and the video networking calling instruction comprises the virtual terminal identification;
a signaling receiving module, configured to receive a second response signaling returned by the internet terminal for the second call message body;
the second data transmission module is used for sending second video data forwarded by the video networking server to the internet terminal by adopting the second audio and video communication protocol when the second response signaling identifier is successfully connected, wherein the second video data is collected by the video networking terminal and sent to the video networking server;
the message switching module is used for triggering the message sending module to send the first call message body to the internet terminal when the second response signaling identifier is unsuccessfully connected;
and the first data transmission module is used for sending the first video data forwarded by the video networking server to the internet terminal by adopting the first audio and video communication protocol after the internet terminal responds to the first call message body, wherein the first video data is collected by the video networking terminal and sent to the video networking server.
Preferably, the virtual terminal of the video network has a virtual terminal identifier, the internet terminal has an internet terminal identifier, and the message body creating module includes:
a communication protocol obtaining submodule, configured to obtain the virtual terminal identifier, the internet terminal number, the first audio/video communication protocol, and the second audio/video communication protocol;
the call signaling setting submodule is used for generating a first call signaling aiming at the first audio and video communication protocol and is used for generating a second call signaling aiming at the second audio and video communication protocol;
and the call signaling binding submodule is used for binding the first call signaling, the Internet terminal number and the visual virtual terminal number into a first call message body, and binding the second call signaling, the Internet terminal number and the virtual terminal number into a second call message body.
Compared with the prior art, the embodiment of the application has the following advantages:
firstly, the characteristic of the video network is applied, the protocol conversion server is used as a bridge for connecting the internet terminal to the video network, meanwhile, the protocol conversion server configures a corresponding call message body for each audio and video communication protocol of the internet terminal, when the video network terminal is used as a calling party to initiate a video network call instruction to the internet terminal, the video network call instruction is firstly sent to the protocol conversion server, the protocol conversion server firstly sends a first call message body to the internet terminal according to the call instruction, if the audio and video communication protocol used by the internet terminal is just matched with the first call message body, the internet terminal can reply a first response signaling which is successfully connected, and at the moment, the protocol conversion server sends the audio and video data collected by the video network terminal to the internet terminal by adopting the audio and video communication protocol; if the audio and video communication protocol used by the internet terminal is not matched with the call message body, the internet terminal can send response information with unsuccessful connection, at the moment, the cooperation server sends a second call message body to the internet terminal, and after the internet responds to the second call message body, the assistance server sends the audio and video data acquired by the video network terminal to the internet terminal by adopting the second audio and video communication protocol. According to the method and the device, when the video network terminal carries out audio and video communication to the internet terminal by utilizing the protocol conversion server, the video network terminal is enabled to actively adapt to the audio and video communication protocol of the internet terminal, and therefore the flexibility of video network video data transmission is enhanced.
Secondly, the virtual terminal identification of the video networking virtual terminal can distinguish the video networking virtual terminals when the coordination and transformation server coordinates and transforms a plurality of video networking virtual terminals; the internet terminal identification of the internet terminal can distinguish the internet terminal when a plurality of internet terminals are provided; and the virtual terminal identification is bound with the Internet terminal identification and the audio and video communication protocol information of the Internet terminal, so that the video networking terminal can actively adapt to the audio and video communication protocols of the plurality of Internet terminals when the video networking terminal initiates audio and video calls to the plurality of Internet terminals, and the flexibility of multi-terminal video data transmission in the video networking is enhanced.
Drawings
FIG. 1 is a networking schematic of a video network of the present application;
FIG. 2 is a schematic diagram of a hardware architecture of a node server according to the present application;
fig. 3 is a schematic diagram of a hardware architecture of an access switch of the present application;
fig. 4 is a schematic diagram of a hardware structure of an ethernet protocol conversion gateway according to the present application;
fig. 5 is a flowchart of the steps of embodiment 1 of a method for video data transmission according to the present application;
fig. 6 is a flowchart of the steps of embodiment 2 of a method of video data transmission according to the present application;
fig. 7 is a block diagram of an apparatus 3 for video data transmission according to an embodiment of the present application;
FIG. 8 is a block diagram of a preferred structure of a message body creation module according to embodiment 3 of the present application;
fig. 9 is a block diagram of an apparatus for video data transmission according to embodiment 4 of the present application.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, the present application is described in further detail with reference to the accompanying drawings and the detailed description.
The video networking is an important milestone for network development, is a real-time network, can realize high-definition video real-time transmission, and pushes a plurality of internet applications to high-definition video, and high-definition faces each other.
The video networking adopts a real-time high-definition video exchange technology, can integrate required services such as dozens of services of video, voice, pictures, characters, communication, data and the like on a system platform on a network platform, such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delayed television, network teaching, live broadcast, VOD on demand, television mail, Personal Video Recorder (PVR), intranet (self-office) channels, intelligent video broadcast control, information distribution and the like, and realizes high-definition quality video broadcast through a television or a computer.
To better understand the embodiments of the present application, the following description refers to the internet of view:
some of the technologies applied in the video networking are as follows:
network technology (network technology)
Network technology innovation in video networking has improved over traditional Ethernet (Ethernet) to face the potentially enormous video traffic on the network. Unlike pure network Packet Switching (Packet Switching) or network Circuit Switching (Circuit Switching), the Packet Switching is adopted by the technology of the video networking to meet the Streaming requirement. The video networking technology has the advantages of flexibility, simplicity and low price of packet switching, and simultaneously has the quality and safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Switching Technology (Switching Technology)
The video network adopts two advantages of asynchronism and packet switching of the Ethernet, eliminates the defects of the Ethernet on the premise of full compatibility, has end-to-end seamless connection of the whole network, is directly communicated with a user terminal, and directly bears an IP data packet. The user data does not require any format conversion across the entire network. The video networking is a higher-level form of the Ethernet, is a real-time exchange platform, can realize the real-time transmission of the whole-network large-scale high-definition video which cannot be realized by the existing Internet, and pushes a plurality of network video applications to high-definition and unification.
Server technology (Servertechnology)
The server technology on the video networking and unified video platform is different from the traditional server, the streaming media transmission of the video networking and unified video platform is established on the basis of connection orientation, the data processing capacity of the video networking and unified video platform is independent of flow and communication time, and a single network layer can contain signaling and data transmission. For voice and video services, the complexity of video networking and unified video platform streaming media processing is much simpler than that of data processing, and the efficiency is greatly improved by more than one hundred times compared with that of a traditional server.
Storage Technology (Storage Technology)
The super-high speed storage technology of the unified video platform adopts the most advanced real-time operating system in order to adapt to the media content with super-large capacity and super-large flow, the program information in the server instruction is mapped to the specific hard disk space, the media content is not passed through the server any more, and is directly sent to the user terminal instantly, and the general waiting time of the user is less than 0.2 second. The optimized sector distribution greatly reduces the mechanical motion of the magnetic head track seeking of the hard disk, the resource consumption only accounts for 20% of that of the IP internet of the same grade, but concurrent flow which is 3 times larger than that of the traditional hard disk array is generated, and the comprehensive efficiency is improved by more than 10 times.
Network Security Technology (Network Security Technology)
The structural design of the video network completely eliminates the network security problem troubling the internet structurally by the modes of independent service permission control each time, complete isolation of equipment and user data and the like, generally does not need antivirus programs and firewalls, avoids the attack of hackers and viruses, and provides a structural carefree security network for users.
Service Innovation Technology (Service Innovation Technology)
The unified video platform integrates services and transmission, and is not only automatically connected once whether a single user, a private network user or a network aggregate. The user terminal, the set-top box or the PC are directly connected to the unified video platform to obtain various multimedia video services in various forms. The unified video platform adopts a menu type configuration table mode to replace the traditional complex application programming, can realize complex application by using very few codes, and realizes infinite new service innovation.
Networking of the video network is as follows:
the video network is a centralized control network structure, and the network can be a tree network, a star network, a ring network and the like, but on the basis of the centralized control node, the whole network is controlled by the centralized control node in the network.
As shown in fig. 1, the video network is divided into an access network and a metropolitan network.
The devices of the access network part can be mainly classified into 3 types: node server, access switch, terminal (including various set-top boxes, coding boards, memories, etc.). The node server is connected to an access switch, which may be connected to a plurality of terminals and may be connected to an ethernet network.
The node server is a node which plays a centralized control function in the access network and can control the access switch and the terminal. The node server can be directly connected with the access switch or directly connected with the terminal.
Similarly, devices of the metropolitan network portion may also be classified into 3 types: a metropolitan area server, a node switch and a node server. The metro server is connected to a node switch, which may be connected to a plurality of node servers.
The node server is a node server of the access network part, namely the node server belongs to both the access network part and the metropolitan area network part.
The metropolitan area server is a node which plays a centralized control function in the metropolitan area network and can control a node switch and a node server. The metropolitan area server can be directly connected with the node switch or directly connected with the node server.
Therefore, the whole video network is a network structure with layered centralized control, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star and ring.
The access network part can form a unified video platform (the part in the dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform may be interconnected via metropolitan area and wide area video networking.
Video networking device classification
1.1 devices in the video network of the embodiment of the present application can be mainly classified into 3 types: servers, switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.). The video network as a whole can be divided into a metropolitan area network (or national network, global network, etc.) and an access network.
1.2 wherein the devices of the access network part can be mainly classified into 3 types: node servers, access switches (including ethernet gateways), terminals (including various set-top boxes, code boards, memories, etc.).
The specific hardware structure of each access network device is as follows:
a node server:
as shown in fig. 2, the system mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
the network interface module 201, the CPU module 203, and the disk array module 204 all enter the switching engine module 202; the switching engine module 202 performs an operation of looking up the address table 205 on the incoming packet, thereby obtaining the direction information of the packet; and stores the packet in a queue of the corresponding packet buffer 206 based on the packet's steering information; if the queue of the packet buffer 206 is nearly full, it is discarded; the switching engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero. The disk array module 204 mainly implements control over the hard disk, including initialization, read-write, and other operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with an access switch and a terminal (not shown in the figure), configuring an address table 205 (including a downlink protocol packet address table, an uplink protocol packet address table, and a data packet address table), and configuring the disk array module 204.
The access switch:
as shown in fig. 3, the network interface module mainly includes a network interface module (a downlink network interface module 301 and an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
wherein, the packet (uplink data) coming from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), the Source Address (SA), the packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id) and enters the switching engine module 303, otherwise, discards the stream identifier; the packet (downstream data) coming from the upstream network interface module 302 enters the switching engine module 303; the data packet coming from the CPU module 204 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up the address table 306 on the incoming packet, thereby obtaining the direction information of the packet; if the packet entering the switching engine module 303 is from the downstream network interface to the upstream network interface, the packet is stored in the queue of the corresponding packet buffer 307 in association with the stream-id; if the queue of the packet buffer 307 is nearly full, it is discarded; if the packet entering the switching engine module 303 is not from the downlink network interface to the uplink network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the guiding information of the packet; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switching engine module 303 polls all packet buffer queues, which in this embodiment is divided into two cases:
if the queue is from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queued packet counter is greater than zero; 3) obtaining a token generated by a code rate operation module;
if the queue is not from the downlink network interface to the uplink network interface, the following conditions are met for forwarding: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
The rate operation module 208 is configured by the CPU module 204, and generates tokens for packet buffer queues from all downstream network interfaces to upstream network interfaces at programmable intervals to control the rate of upstream forwarding.
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
As shown in fig. 4, the apparatus mainly includes a network interface module (a downlink network interface module 401 and an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a rate control module 408, an address table 406, a packet buffer 407, a MAC adding module 409, and a MAC deleting module 410.
Wherein, the data packet coming from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, the ethernet MAC SA, the ethernet length or frame type, the video network destination address DA, the video network source address SA, the video network packet type, and the packet length of the packet meet the requirements, and if so, allocates a corresponding stream identifier (stream-id); then, the MAC deletion module 410 subtracts MAC DA, MAC SA, length or frame type (2byte) and enters the corresponding receiving buffer, otherwise, discards it;
the downlink network interface module 401 detects the sending buffer of the port, and if there is a packet, obtains the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet protocol gateway, and the ethernet length or frame type, and sends the packet.
The other modules in the ethernet protocol gateway function similarly to the access switch.
A terminal:
the system mainly comprises a network interface module, a service processing module and a CPU module; for example, the set-top box mainly comprises a network interface module, a video and audio coding and decoding engine module and a CPU module; the coding board mainly comprises a network interface module, a video and audio coding engine module and a CPU module; the memory mainly comprises a network interface module, a CPU module and a disk array module.
1.3 devices of the metropolitan area network part can be mainly classified into 2 types: node server, node exchanger, metropolitan area server. The node switch mainly comprises a network interface module, a switching engine module and a CPU module; the metropolitan area server mainly comprises a network interface module, a switching engine module and a CPU module.
2. Video networking packet definition
2.1 Access network packet definition
The data packet of the access network mainly comprises the following parts: destination Address (DA), Source Address (SA), reserved bytes, payload (pdu), CRC.
As shown in the following table, the data packet of the access network mainly includes the following parts:
DA SA Reserved Payload CRC
wherein:
the Destination Address (DA) is composed of 8 bytes (byte), the first byte represents the type of the data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), there are 256 possibilities at most, the second byte to the sixth byte are metropolitan area network addresses, and the seventh byte and the eighth byte are access network addresses;
the Source Address (SA) is also composed of 8 bytes (byte), defined as the same as the Destination Address (DA);
the reserved byte consists of 2 bytes;
the payload part has different lengths according to different types of datagrams, and is 64 bytes if the datagram is various types of protocol packets, and is 32+1024 or 1056 bytes if the datagram is a unicast packet, of course, the length is not limited to the above 2 types;
the CRC consists of 4 bytes and is calculated in accordance with the standard ethernet CRC algorithm.
2.2 metropolitan area network packet definition
The topology of a metropolitan area network is a graph and there may be 2, or even more than 2, connections between two devices, i.e., there may be more than 2 connections between a node switch and a node server, a node switch and a node switch, and a node switch and a node server. However, the metro network address of the metro network device is unique, and in order to accurately describe the connection relationship between the metro network devices, parameters are introduced in the embodiment of the present application: a label to uniquely describe a metropolitan area network device.
In this specification, the definition of the Label is similar to that of the Label of MPLS (Multi-Protocol Label Switch), and assuming that there are two connections between the device a and the device B, there are 2 labels for the packet from the device a to the device B, and 2 labels for the packet from the device B to the device a. The label is classified into an incoming label and an outgoing label, and assuming that the label (incoming label) of the packet entering the device a is 0x0000, the label (outgoing label) of the packet leaving the device a may become 0x 0001. The network access process of the metro network is a network access process under centralized control, that is, address allocation and label allocation of the metro network are both dominated by the metro server, and the node switch and the node server are both passively executed, which is different from label allocation of MPLS, and label allocation of MPLS is a result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metro network mainly includes the following parts:
DA SA Reserved label (R) Payload CRC
Namely Destination Address (DA), Source Address (SA), Reserved byte (Reserved), tag, payload (pdu), CRC. The format of the tag may be defined by reference to the following: the tag is 32 bits with the upper 16 bits reserved and only the lower 16 bits used, and its position is between the reserved bytes and payload of the packet.
Based on the above characteristics of the video network, one of the core concepts of the embodiment of the present application is proposed, which follows the protocol of the video network, utilizes the protocol conversion server as a bridge for connecting the internet terminal to the video network, meanwhile, the protocol conversion server configures a corresponding call message body for each audio/video communication protocol of the Internet terminal, when the video network terminal is used as a calling party to initiate a video network call instruction to the Internet terminal, the video networking calling instruction is firstly sent to the protocol conversion server, the protocol conversion server firstly sends the first calling message body to the Internet terminal according to the calling instruction, if the audio and video communication protocol started by the Internet terminal is just matched with the first calling message body, the internet terminal replies a first response signaling which is successfully connected, and at the moment, the cooperative transmission server sends the audio and video data acquired by the video network terminal to the internet terminal by adopting a first audio and video communication protocol; if the audio and video communication protocol started by the internet terminal is not matched with the call message body, the internet terminal can send response information with unsuccessful connection, at the moment, the cooperation server sends a second call message body to the internet terminal, and after the internet responds to the second call message body, the assistance server sends the audio and video data acquired by the video network terminal to the internet terminal by adopting the second audio and video communication protocol. According to the method and the device, when the video networking terminal and the internet terminal are in audio and video call, the video networking terminal is enabled to actively adapt to the audio and video communication protocol of the internet terminal, and therefore the problem that the video networking terminal can only adopt a single audio and video communication protocol to transmit video data when the video networking terminal and the internet terminal are in audio and video call is solved.
Example one
Referring to fig. 5, fig. 5 shows a flow chart of steps of a method for transmitting video data according to embodiment 1 of the present application, which is applied to a video network, the video network includes a protocol server, a video network server and a video network terminal, the video network terminal can communicate with the protocol server through the video network server, the protocol server includes a video network virtual terminal, the protocol server passes through the video network virtual terminal and communicates with an internet terminal, and a first audio/video communication protocol and a second audio/video communication protocol are preset in the internet terminal.
In the embodiment of the present application, the audio/video communication protocol that can be used by the internet terminal is an H323 protocol and a session initiation protocol SIP (hereinafter referred to as SIP protocol). H323 is a standard audio-video transmission protocol that enables real-time transmission of remote video, and the H323 protocol specifies components, protocols, and procedures for providing multimedia communication over packet-switching based networks, including mainly IP networks. The SIP protocol is a multimedia communication protocol established by IETF (Internet Engineering task force), and can support and be applied to multimedia services such as voice, video, data, and the like.
Therefore, as a preferred example of the embodiment of the present application, the first audio/video communication protocol may be a session initiation protocol SIP, and the second audio/video communication protocol may be an H323 protocol. Of course, other audio/video communication protocols may also be included, and the application does not limit the specific audio/video communication protocol.
The embodiment of the application specifically comprises the following steps:
step 501, the coordination server generates a first call message body for the first audio/video communication protocol, and generates a second call message body for the second audio/video communication protocol.
The first call message body can be understood as a call instruction matching the first audio/video communication protocol call mode, and similarly, the second call message body can be understood as a call instruction matching the second audio/video communication protocol call mode.
For example, if the first audio/video communication protocol is an SIP protocol, the first call message body may be an IP address of an internet terminal, and if the second audio/video communication protocol is an H323 protocol, the second call message body may be an IP address of a SIP number @ relay server.
In practice, all internet terminals have internet terminal identifications, and the virtual terminals of the video network in the protocol conversion server also have virtual terminal identifications, wherein the internet terminal identifications uniquely identify the internet terminals, and the virtual terminal identifications uniquely identify the virtual terminals of the video network. Thus, in a preferred embodiment of the present application, the step 501 may specifically include the following sub-steps:
and a substep S5011, in which the collaboration server acquires the virtual terminal identifier, the Internet terminal identifier, the first audio/video communication protocol and the second audio/video communication protocol.
For example, the virtual terminal identification is 12345 and the internet terminal identification C31.
And a substep S5012, in which the coordination server generates a first call signaling for the first audio/video communication protocol, and the coordination server generates a second call signaling for the second audio/video communication protocol.
For example, if the first audio/video communication protocol is an SIP protocol, the first call signaling may be an IP address of the SIP number @ protocol server, such as name @14.159.132.1, where the name is a user name of the internet terminal; the second audio video communication protocol is H323 protocol, the second call signaling may be an IP address of an internet terminal, e.g., 14.159.132.12.
Substep S5013, the coordination server binds the first call signaling, the internet terminal identifier and the visual virtual terminal identifier into a first call message body; and the coordination server binds the second call signaling, the Internet terminal identification and the virtual terminal identification into a second call message body.
For example, after binding, the first call message body is "12345-C31-name @ 14.159.132.1" representing a call message of sip protocol of a C31 internet terminal connected to the 12345 video-networking virtual terminal, and the second call message body is "12345-C31-14.159.132.1" representing a call message of H323 protocol of a C31 internet terminal connected to the 12345 video-networking virtual terminal.
After the operation of the substep S5013 is performed, the first call message body and the second call message body may be dedicated call message bodies of a certain internet terminal, so that when a plurality of internet terminals are connected in the video network, a dedicated call message body may be matched for each internet terminal, thereby enhancing the flexibility of multi-terminal video data transmission in the video network.
Step 502, the protocol conversion server sends the first call message body to the internet terminal aiming at the video networking call instruction forwarded by the video networking server;
the video network calling instruction is generated by the video network terminal and sent to the video network server.
In specific implementation, the video networking call instruction may include an internet terminal identifier connected to a video networking virtual terminal, after receiving the call instruction, the protocol conversion server may find the first call message body and the second call message body bound to the internet terminal identifier according to the internet terminal identifier, and the protocol conversion server selects the first call message body from the first call message body and the first call message body to send the first call message body.
Step 503, the coordination server receives a first response signaling returned by the internet terminal for the first call message body.
Step 504, determine whether the first response signaling is a signaling that identifies a successful connection, if yes, go to step 505, and if not, go to step 506.
When the protocol conversion server sends the first call message body to the internet terminal, the internet terminal returns the first response signaling no matter whether the used audio/video communication protocol is matched with the first call message body or not. In an example of specific implementation of the embodiment of the present application, if a returned first response signaling includes three keywords, such as "connect", "callproceeding", and "alerting", it can be understood that the connection of the first response signaling identifier is successful, and in this case, it indicates that it is a first audio/video communication protocol currently opened by the internet terminal; when the returned first response signaling includes the keyword of "non-connect", it can be understood that the connection of the first response signaling identifier is unsuccessful, and in this case, it indicates that the internet terminal is not currently started by the first audio/video communication protocol.
Step 505, the protocol conversion server sends the first video data forwarded by the video networking server to the internet terminal by using the first audio/video communication protocol;
the first video data are collected by the video network terminal and sent to the video network server.
In the specific implementation process, the first video data forwarded by the video networking server is video data suitable for a video networking protocol, so that when receiving the first video data, the protocol conversion server can convert the first video data into internet video data of an internet protocol, and then send the internet video data to the internet terminal by adopting a first audio and video communication protocol.
Step 506, the protocol conversion server sends the second call message body to the internet terminal, and after the internet terminal responds to the second call message body, the second audio/video communication protocol is adopted to send the second video data forwarded by the video network server to the internet terminal;
and the second video data is collected by the video network terminal and sent to the video network server.
Specifically, before the coordination server sends the second call message body to the internet terminal, the coordination server may further send the first call message body to the internet terminal repeatedly for 2 times, and if an answer signaling indicating that the internet terminal is successfully connected is received once in 2 times, step 505 is executed. And if the received 2 times are response signaling with unsuccessful connection, the coordination server sends the second call message body to the Internet terminal.
The internet terminal responds to the second call message body, and it can be understood that the internet terminal replies a response signaling of successful connection according to the second call message body. In the actual video call, if the currently opened internet terminal is not the first audio/video communication protocol, the currently opened internet terminal is the second audio/video communication protocol, and the second call message body sent by the coordination server is the call message which is suitable for the currently opened second audio/video communication protocol of the internet terminal.
In the actual video call between the video network and the internet, the second video data forwarded by the video network server is the video data of the video network protocol, so that when the second video data is received by the protocol conversion server, the second video data can be converted into the internet video data of the internet protocol, and then the internet video data is sent to the internet terminal by adopting the second audio and video communication protocol.
It should be noted that the first video data and the second video data are the same video data collected by the video networking terminal, and the "first" and "second" are only used for distinguishing how the video networking video data is processed by the coordination server for different situations of the first response signaling, and do not indicate that the video networking video data is different video data.
In the embodiment of the application, a protocol conversion server is used as a bridge for connecting an internet terminal to a video network, meanwhile, the protocol conversion server configures a corresponding call message body for each audio/video communication protocol of the internet terminal, when the video network terminal is used as a calling party to initiate a video network call instruction to the internet terminal, the video network call instruction is firstly sent to the protocol conversion server, the protocol conversion server sends a first call message body to the internet terminal according to the call instruction, if the audio/video communication protocol used by the internet terminal is just matched with the first call message body, the internet terminal can reply a first response signaling which is successfully connected, and at the moment, the protocol conversion server sends audio/video data acquired by the video network terminal to the internet terminal by adopting a first audio/video communication protocol; if the audio and video communication protocol used by the internet terminal is not matched with the call message body, the internet terminal can send response information with unsuccessful connection, at the moment, the cooperation server sends a second call message body to the internet terminal, and after the internet responds to the second call message body, the assistance server sends the audio and video data acquired by the video network terminal to the internet terminal by adopting the second audio and video communication protocol. According to the embodiment of the application, when the video networking terminal carries out audio and video communication to the Internet terminal, the video networking terminal can actively adapt to the audio and video communication protocol of the Internet terminal by utilizing the protocol conversion server, so that the problem that the video networking terminal can only adopt a single audio and video communication protocol to carry out video data transmission when the video networking terminal carries out audio and video communication with the Internet terminal is solved.
Example two
Referring to fig. 6, fig. 6 shows a step flowchart of a method for transmitting video data according to embodiment 2 of the present application, which is applied to a video network, the video network includes a protocol server, a video network terminal, the video network terminal can communicate with the protocol server through the video network server, the protocol server includes a video network virtual terminal, the protocol server passes through the video network virtual terminal and communicates with an internet terminal, and a first audio/video communication protocol and a second audio/video communication protocol are preset in the internet terminal.
In the embodiment of the present application, the audio/video communication protocol that can be often used by the internet terminal is an H323 protocol and a session initiation protocol SIP (hereinafter referred to as SIP protocol). H323 is a standard audio-video transmission protocol that enables real-time transmission of remote video, and the H323 protocol specifies components, protocols, and procedures for providing multimedia communication over packet-switching based networks, including mainly IP networks. The SIP protocol is a multimedia communication protocol established by IETF (Internet Engineering task force), and can support and be applied to multimedia services such as voice, video, data, and the like.
Therefore, as a preferred example of the embodiment of the present application, the first audio/video communication protocol may be a session initiation protocol SIP, and the second audio/video communication protocol may be an H323 protocol. Of course, other audio/video communication protocols may also be included, and the application does not limit the specific audio/video communication protocol.
The embodiment of the application specifically comprises the following steps:
step 601, the coordination server generates a first call message body for the first audio/video communication protocol, and generates a second call message body for the second audio/video communication protocol.
The first call message body can be understood as a call instruction matching the first audio/video communication protocol call mode, and similarly, the second call message body can be understood as a call instruction matching the second audio/video communication protocol call mode.
For example, if the first audio/video communication protocol is an SIP protocol, the first call message body may be an IP address of an internet terminal, and if the second audio/video communication protocol is an H323 protocol, the second call message body may be an IP address of a SIP number @ relay server.
In practice, all internet terminals have internet terminal identifications, and the virtual terminals of the video network which are collaboratively transferred by the collaboration server also have virtual terminal identifications, wherein the internet terminal identifications uniquely identify the internet terminals, and the virtual terminal identifications uniquely identify the virtual terminals of the video network. Thus, in a preferred embodiment of the present application, the step 601 may specifically include the following sub-steps:
and a substep S6011, in which the protocol conversion server obtains the virtual terminal identifier, the internet terminal identifier, the first audio/video communication protocol, and the second audio/video communication protocol.
For example, the virtual terminal identification is 12346, and the internet terminal identification C32.
And a substep S6012, the coordination server generates a first call signaling for the first audio/video communication protocol, and the coordination server generates a second call signaling for the second audio/video communication protocol.
For example, if the first audio/video communication protocol is an SIP protocol, the first call signaling may be an IP address of the SIP number @ protocol server, such as nname @14.159.133.1, where nname is a user name of the internet terminal; the second audio video communication protocol is H323 protocol, the second call signaling may be an IP address of an internet terminal, e.g., 14.159.133.13.
Substep S6013, the coordination server binds the first call signaling, the internet terminal identifier, and the visual virtual terminal identifier into a first call message body; and the coordination server binds the second call signaling, the Internet terminal identification and the virtual terminal identification into a second call message body.
For example, after binding, the first call message body is "12346-C32-nname @ 14.159.133.1" representing a call message of the SIP protocol of the C31 internet terminal connected to the 12346 visual network virtual terminal, and the second call message body is "12346-C31-14.159.133.13" representing a call message of the H323 protocol of the C31 internet terminal connected to the 12346 visual network virtual terminal.
After the operation of the substep S6013 is performed, the first call message body and the second call message body may be dedicated call message bodies of a certain internet terminal, so that when a plurality of internet terminals are connected in the video network, a dedicated call message body may be matched for each internet terminal, thereby enhancing flexibility of multi-terminal video data transmission in the video network.
By binding the virtual terminal number, the Internet terminal number and the call signaling, a plurality of virtual terminals of the video network can be cooperatively transferred by the cooperation transfer server, and under the condition that each virtual terminal is bound with a plurality of Internet terminals, the virtual terminals of the video network are distinguished by using the virtual terminal identification, and the Internet terminals are distinguished by using the Internet terminal identification; moreover, when the video network terminal initiates audio and video calls to the plurality of internet terminals, the video network terminal can actively adapt to the audio and video communication protocols of the plurality of internet terminals, so that the practicability of multi-terminal video data transmission in the video network and the accuracy of video data transmission are enhanced.
Step 602, the coordination server sends the second call message body to the internet terminal according to the video networking call instruction forwarded by the video networking server; and the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server.
This step 602 can be performed with reference to step 502 of embodiment 1.
Step 603, the coordination server receives a second response signaling returned by the internet terminal for the second call message body.
This step 603 can be performed with reference to step 503 of embodiment 1.
Step 604, determining whether the first response signaling is a signaling that identifies a successful connection, if so, turning to step 605, and if not, turning to step 606.
605, the protocol conversion server sends the second video data forwarded by the video networking server to the internet terminal by using the second audio/video communication protocol; and the second video data is collected by the video network terminal and is sent to the video network server.
This step 605 can be performed with reference to step 505 of embodiment 1.
Step 606, the protocol conversion server sends the first call message body to the internet terminal, and after the internet terminal responds to the first call message body, the first audio/video communication protocol is adopted to send the first video data forwarded by the video network server to the internet terminal, wherein the first video data is collected by the video network terminal and sent to the video network server.
Specifically, before the coordination server sends the first call message body to the internet terminal, the coordination server may further send the second call message body to the internet terminal repeatedly for 2 times, and if an answer signaling indicating that the internet terminal is successfully connected is received once in 2 times, step 605 is executed. And if the received 2 times are response signaling with unsuccessful connection, the coordination server sends the first call message body to the Internet terminal.
This step 606 can be specifically executed with reference to step 506 of embodiment 1.
EXAMPLE III
Referring to fig. 7, fig. 7 is a structural diagram of a matching device of a video transmission protocol according to embodiment 3 of the present application, and in contrast to the processing method of embodiment 1, the device may be applied to a video network, where the video network includes a transfer server, a video network server, and a video network terminal, the video network terminal is in communication connection with the transfer server through the video network server, the transfer server includes a video network virtual terminal, the transfer server is also in communication connection with an internet terminal through the video network virtual terminal, a first audio/video communication protocol and a second audio/video communication protocol are preset in the internet terminal, and the device is located in the transfer server and specifically may include the following modules:
a message body creating module 701, configured to generate a first call message body for the first audio/video communication protocol, and generate a second call message body for the second audio/video communication protocol by the coordination server;
a message sending module 702, configured to send the first call message body to the internet terminal for the video networking call forwarded by the video networking server; the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server;
a signaling receiving module 703, configured to receive a first response signaling returned by the internet terminal for the first call message body;
a first data transmission module 704, configured to send, by using the first audio/video communication protocol, first video data forwarded by the video networking server to the internet terminal when the first response signaling identifier is successfully connected, where the first video data is collected by the video networking terminal and sent to the video networking server;
a message switching module 705, configured to trigger the message sending module 702 to send the second call message body to the internet terminal when the connection of the first response signaling identifier is unsuccessful;
and a second data transmission module 706, configured to send, after the internet terminal responds to the second call message body, second video data forwarded by the video networking server to the internet terminal by using the second audio/video communication protocol, where the second video data is collected by the video networking terminal and sent to the video networking server.
Specifically, the message body creating module 701 may be communicatively connected to the message sending module 702, and the signaling receiving module 703 may be communicatively connected to the first data transmitting module 704, the message switching module 705, and the second data transmitting module 706. The message body creating module 701 may be a virtual memory module (VMSchan module) and is mainly responsible for creating a message body; the message sending module 702 may be an information transfer sub-module of a Yate call engine, where the Yate call engine is software developed based on VOIP call, is responsible for transferring call information and processing the call information, and may send a first call message body to an internet terminal; the signaling receiving module 703 may be a TCP/IP communication module, so as to receive a first response signaling of a TCP/IP protocol returned by the internet terminal; the message switching module 705 may be a sub-module in charge of message processing by the Yate call engine, and may return an instruction to send the second message body to the message sending module 702 after processing the first response signaling indicating that the connection is unsuccessful; the first data transmission module 704 and the second data transmission module 706 may be real-time transport protocol RTP modules, where the RTP modules are configured to specify a standard data packet format for transmitting audio and video over the internet, and may encapsulate video data of a video networking protocol into a video data format of the internet protocol, so as to transmit the video data by using an H323 protocol or an SIP protocol in cooperation with the internet protocol.
As a preferred scheme of the embodiment of the present application, the virtual terminal of the video networking has a virtual terminal identifier, the internet terminal has an internet terminal identifier, and the message body creating module 701 may specifically include the following sub-modules:
a communication protocol obtaining sub-module 7011, configured to obtain the virtual terminal identifier, the internet terminal number, the first audio/video communication protocol, and the second audio/video communication protocol;
the call signaling setting sub-module 7012 is configured to generate a first call signaling for the first audio/video communication protocol, and is configured to generate a second call signaling for the second audio/video communication protocol;
a call signaling binding submodule 7013, configured to bind the first call signaling, the internet terminal number, and the visual virtual terminal number into a first call message body, and bind the second call signaling, the internet terminal number, and the virtual terminal number into a second call message body.
Referring to fig. 8, a block diagram of the message body creation module 701 in the apparatus for video data transmission according to embodiment 3 of the present application is shown. The communication protocol obtaining sub-module 7011 may be in communication connection with the call signaling setting sub-module 7012 and the call signaling binding sub-module 7013, the communication protocol obtaining sub-module 7011 may be a TCP/IP communication module, and both the call signaling setting sub-module 7012 and the call signaling binding sub-module 7013 may employ a virtual memory module (VMSchan module).
Example four
Referring to fig. 9, fig. 9 is a structural block diagram of a device for transmitting video data according to embodiment 4 of the present application, and in contrast to the processing method according to embodiment 2, the device is applied to a video network, the video network includes a protocol server, a video network server, and a video network terminal, the video network terminal is in communication connection with the protocol server through the video network server, the protocol server includes a video network virtual terminal, the protocol server is also in communication connection with an internet terminal through the video network virtual terminal, a first audio/video communication protocol and a second audio/video communication protocol are preset in the internet terminal, and the device is located in the protocol server, and specifically includes the following modules:
a message body creating module 801, configured to generate a first call message body for the first audio/video communication protocol, and generate a second call message body for the second audio/video communication protocol by the coordination server;
a message sending module 802, configured to send the second call message to the internet terminal according to the video networking call instruction forwarded by the video networking server; the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server, and the video networking calling instruction comprises the virtual terminal identification;
a signaling receiving module 803, configured to receive a second response signaling returned by the internet terminal for the second call message body;
a second data transmission module 806, configured to send, by using the second audio/video communication protocol, second video data forwarded by the video networking server to the internet terminal when the second response signaling identifier is successfully connected, where the second video data is collected by the video networking terminal and sent to the video networking server;
a message switching module 805, configured to trigger the message sending module 802 to send the first call message body to the internet terminal when the connection of the second response signaling identifier is unsuccessful;
the first data transmission module 804 is configured to send the first video data forwarded by the video networking server to the internet terminal by using the first audio/video communication protocol after the internet terminal responds to the first call message body, where the first video data is collected by the video networking terminal and sent to the video networking server.
For the connection relationship between the modules of the apparatus in the embodiment of the present application, reference may be made to the apparatus in embodiment 3.
As a preferred embodiment of the present application, the virtual terminal of the video networking has a virtual terminal identifier, the internet terminal has an internet terminal identifier, and the message body creating module 801 may specifically include the following sub-modules:
a communication protocol obtaining submodule, configured to obtain the virtual terminal identifier, the internet terminal number, the first audio/video communication protocol, and the second audio/video communication protocol;
the call signaling setting submodule is used for generating a first call signaling aiming at the first audio and video communication protocol and is used for generating a second call signaling aiming at the second audio and video communication protocol;
and the call signaling binding submodule is used for binding the first call signaling, the Internet terminal number and the visual virtual terminal number into a first call message body, and binding the second call signaling, the Internet terminal number and the virtual terminal number into a second call message body.
The message body creating module 801 according to the embodiment of the present application may specifically refer to the description of embodiment 3.
For the device embodiment, since it is basically similar to the method embodiment, the description is simple, and for the relevant points, refer to the partial description of the method embodiment.
By utilizing the device for transmitting the video data, a corresponding call message body can be configured for each audio and video communication protocol of the Internet terminal, when the video network terminal is used as a calling party to initiate a video network call instruction to the Internet terminal, the video network call instruction is firstly sent to the protocol server, the protocol server then sends a first call message body to the Internet terminal according to the call instruction, if the audio and video communication protocol used by the Internet terminal is just matched with the first call message body, the Internet terminal can reply a first response signaling which is successfully connected, and at the moment, the protocol server sends the audio and video data collected by the video network terminal to the Internet terminal by adopting the audio and video communication protocol; if the audio and video communication protocol used by the internet terminal is not matched with the call message body, the internet terminal can send response information with unsuccessful connection, at the moment, the cooperation server sends a second call message body to the internet terminal, and after the internet responds to the second call message body, the assistance server sends the audio and video data acquired by the video network terminal to the internet terminal by adopting the second audio and video communication protocol. According to the method and the device, when the video network terminal carries out audio and video communication to the internet terminal by utilizing the protocol conversion server, the video network terminal is enabled to actively adapt to the audio and video communication protocol of the internet terminal, and therefore the flexibility of video network video data transmission is enhanced.
The embodiments in the present specification are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
As will be appreciated by one of skill in the art, embodiments of the present application may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present application 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 present application 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, and the like) having computer-usable program code embodied therein.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing terminal to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing terminal to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing terminal to cause a series of operational steps to be performed on the computer or other programmable terminal to produce a computer implemented process such that the instructions which execute on the computer or other programmable terminal provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present application have been described, additional variations and modifications of these embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the true scope of the embodiments of the application.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or terminal that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or terminal. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or terminal that comprises the element.
The method and apparatus for transmitting video data provided by the present application are described in detail above, and specific examples are applied herein to illustrate the principles and embodiments of the present application, and the description of the above embodiments is only used to help understand the method and core ideas of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.

Claims (10)

1. The method for transmitting the video data is characterized in that the method is applied to a video network, the video network comprises a protocol conversion server, a video network server and a video network terminal, the video network terminal is in communication connection with the protocol conversion server through the video network server, the protocol conversion server comprises a video network virtual terminal, the protocol conversion server is in communication connection with the internet terminal through the video network virtual terminal, a first audio and video communication protocol and a second audio and video communication protocol are preset in the internet terminal, and the video network terminal adopts a single audio and video communication protocol to transmit the video data, and the method comprises the following steps:
the protocol conversion server generates a first call message body aiming at the first audio and video communication protocol and generates a second call message body aiming at the second audio and video communication protocol; the first call message body may be an IP address of the internet terminal, and the second call message body is an IP address of the sip number @ coordination server;
the protocol conversion server sends the first call message body to the internet terminal aiming at the video networking call instruction forwarded by the video networking server; the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server;
the protocol conversion server receives a first response signaling returned by the internet terminal aiming at the first call message body;
when the first response signaling identifier is successfully connected, the protocol conversion server adopts the first audio and video communication protocol to send the first video data forwarded by the video networking server to the internet terminal; the first video data are collected by the video network terminal and are sent to the video network server;
when the connection of the first response signaling identifier is unsuccessful, the protocol conversion server sends the second call message body to the internet terminal, and after the internet terminal responds to the second call message body, the second audio and video communication protocol is adopted to send second video data forwarded by the video network server to the internet terminal; and the second video data is collected by the video network terminal and is sent to the video network server.
2. The method according to claim 1, wherein the first audio-video communication protocol is a session initiation protocol SIP, and the second audio-video communication protocol is an H323 protocol.
3. The method of claim 1, wherein the step of the virtual terminal of the video networking having a virtual terminal identifier, the internet terminal having an internet terminal identifier, the collaboration server generating a first call message body for the first audio/video communication protocol and a second call message body for the second audio/video communication protocol comprises:
the protocol conversion server acquires the virtual terminal identification, the Internet terminal identification, the first audio and video communication protocol and the second audio and video communication protocol;
the coordination server generates a first call signaling for the first audio/video communication protocol, and generates a second call signaling for the second audio/video communication protocol;
the coordination transfer server binds the first call signaling, the Internet terminal identification and the virtual terminal identification into a first call message body; and the coordination server binds the second call signaling, the Internet terminal identification and the virtual terminal identification into a second call message body.
4. The method for transmitting the video data is characterized in that the method is applied to a video network, the video network comprises a protocol conversion server, a video network server and a video network terminal, the video network terminal is in communication connection with the protocol conversion server through the video network server, the protocol conversion server comprises a video network virtual terminal, the protocol conversion server is in communication connection with the internet terminal through the video network virtual terminal, a first audio and video communication protocol and a second audio and video communication protocol are preset in the internet terminal, and the video network terminal adopts a single audio and video communication protocol to transmit the video data, and the method comprises the following steps:
the protocol conversion server generates a first call message body aiming at the first audio and video communication protocol, and the protocol conversion server generates a second call message body aiming at the second audio and video communication protocol; the second call message body may be an IP address of the internet terminal, and the first call message body is an IP address of the sip number @ coordination server;
the protocol conversion server sends the second call message body to the internet terminal aiming at the video networking call instruction forwarded by the video networking server; the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server;
the protocol conversion server receives a second response signaling returned by the internet terminal aiming at the second call message body;
when the second response signaling identifier is successfully connected, the protocol conversion server adopts the second audio and video communication protocol to send second video data forwarded by the video networking server to the internet terminal, wherein the second video data is collected by the video networking terminal and is sent to the video networking server;
when the connection of the second response signaling identification is unsuccessful, the protocol conversion server sends the first call message body to the internet terminal, and after the internet terminal responds to the first call message body, the first audio/video communication protocol is adopted to send the first video data forwarded by the video networking server to the internet terminal, wherein the first video data is collected and sent to the video networking server by the video networking terminal.
5. The method according to claim 4, wherein the first audio-video communication protocol is a session initiation protocol SIP, and the first audio-video communication protocol is an H323 protocol.
6. The method of claim 4, wherein the video networking virtual terminal has a virtual terminal identifier, the internet terminal has an internet terminal identifier, the step of the collaboration server generating a first call message body for the first audio/video communication protocol and a second call message body for the second audio/video communication protocol comprises:
the protocol conversion server acquires the virtual terminal identification, the Internet terminal identification, the first audio and video communication protocol and the second audio and video communication protocol;
the coordination server generates a first call signaling for the first audio/video communication protocol and generates a second call signaling for the second audio/video communication protocol;
the coordination transfer server binds the first call signaling, the Internet terminal identification and the virtual terminal identification into a first call message body; and binding the second call signaling, the internet terminal identification and the virtual terminal identification into a second call message body.
7. The utility model provides a video data transmission's device, a serial communication port, the device be applied to in the video networking, the video networking is including coordinating commentaries on classics server, video networking terminal, the video networking terminal through the video networking server with coordinate commentaries on classics server communication connection, the server of coordinating commentaries on classics includes the video networking virtual terminal, the server of coordinating commentaries on classics still passes through video networking virtual terminal and internet terminal communication connection first audio and video communication protocol and second audio and video communication protocol have been preset in the internet terminal, the video networking terminal adopts single audio and video communication protocol to carry out video data transmission, the device be located in coordinating commentaries on classics server, include:
the message body creating module is used for generating a first call message body aiming at the first audio and video communication protocol and generating a second call message body aiming at the second audio and video communication protocol by the coordination server; the first call message body may be an IP address of the internet terminal, and the second call message body is an IP address of the sip number @ coordination server;
the message sending module is used for sending the first call message body to the Internet terminal aiming at the video networking call forwarded by the video networking server; the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server;
a signaling receiving module, configured to receive a first response signaling returned by the internet terminal for the first call message body;
the first data transmission module is used for sending first video data forwarded by the video networking server to the internet terminal by adopting the first audio and video communication protocol when the first response signaling identifier is successfully connected, wherein the first video data is collected by the video networking terminal and sent to the video networking server;
the message switching module is used for triggering the message sending module to send the second call message body to the internet terminal when the first response signaling identifier is unsuccessfully connected;
and the second data transmission module is used for sending the second video data forwarded by the video networking server to the internet terminal by adopting the second audio and video communication protocol after the internet terminal responds to the second call message body, wherein the second video data is collected by the video networking server and sent to the video networking server.
8. The apparatus of claim 7, wherein the virtual terminal of the video network has a virtual terminal identifier, wherein the internet terminal has an internet terminal identifier, and wherein the message body creation module comprises:
a communication protocol obtaining submodule, configured to obtain the virtual terminal identifier, the internet terminal identifier, the first audio/video communication protocol, and the second audio/video communication protocol;
the call signaling setting submodule is used for generating a first call signaling aiming at the first audio and video communication protocol and is used for generating a second call signaling aiming at the second audio and video communication protocol;
and the call signaling binding submodule is used for binding the first call signaling, the Internet terminal identification and the virtual terminal identification into a first call message body, and binding the second call signaling, the Internet terminal identification and the virtual terminal identification into a second call message body.
9. The utility model provides a video data transmission's device, a serial communication port, the device be applied to in the video networking, the video networking is including coordinating commentaries on classics server, video networking terminal, the video networking terminal through the video networking server with coordinate commentaries on classics server communication connection, the server of coordinating commentaries on classics includes the video networking virtual terminal, the server of coordinating commentaries on classics still passes through video networking virtual terminal and internet terminal communication connection first audio and video communication protocol and second audio and video communication protocol have been preset in the internet terminal, the video networking terminal adopts single audio and video communication protocol to carry out video data transmission, the device be located in coordinating commentaries on classics server, include:
the message body creating module is used for generating a first call message body aiming at the first audio and video communication protocol and generating a second call message body aiming at the second audio and video communication protocol by the coordination server; the second call message body may be an IP address of the internet terminal, and the first call message body is an IP address of the sip number @ coordination server;
the message sending module is used for sending the second call message body to the internet terminal aiming at the video networking call instruction forwarded by the video networking server; the video networking calling instruction is generated by the video networking terminal and is sent to the video networking server;
a signaling receiving module, configured to receive a second response signaling returned by the internet terminal for the second call message body;
the second data transmission module is used for sending second video data forwarded by the video networking server to the internet terminal by adopting the second audio and video communication protocol when the second response signaling identifier is successfully connected, wherein the second video data is collected by the video networking terminal and sent to the video networking server;
the message switching module is used for triggering the message sending module to send the first call message body to the internet terminal when the second response signaling identifier is unsuccessfully connected;
and the first data transmission module is used for sending the first video data forwarded by the video networking server to the internet terminal by adopting the first audio and video communication protocol after the internet terminal responds to the first call message body, wherein the first video data is collected by the video networking terminal and sent to the video networking server.
10. The apparatus of claim 9, wherein the virtual terminal of the video network has a virtual terminal identifier, wherein the internet terminal has an internet terminal identifier, and wherein the message body creation module comprises:
a communication protocol obtaining submodule, configured to obtain the virtual terminal identifier, the internet terminal identifier, the first audio/video communication protocol, and the second audio/video communication protocol;
the call signaling setting submodule is used for generating a first call signaling aiming at the first audio and video communication protocol and is used for generating a second call signaling aiming at the second audio and video communication protocol;
and the call signaling binding submodule is used for binding the first call signaling, the Internet terminal identification and the virtual terminal identification into a first call message body, and binding the second call signaling, the Internet terminal identification and the virtual terminal identification into a second call message body.
CN201811379877.0A 2018-11-19 2018-11-19 Video data transmission method and device Active CN109698924B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811379877.0A CN109698924B (en) 2018-11-19 2018-11-19 Video data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811379877.0A CN109698924B (en) 2018-11-19 2018-11-19 Video data transmission method and device

Publications (2)

Publication Number Publication Date
CN109698924A CN109698924A (en) 2019-04-30
CN109698924B true CN109698924B (en) 2021-02-12

Family

ID=66229871

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811379877.0A Active CN109698924B (en) 2018-11-19 2018-11-19 Video data transmission method and device

Country Status (1)

Country Link
CN (1) CN109698924B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018318A (en) * 2007-02-25 2007-08-15 华为技术有限公司 A stream media system, signaling forward device and stream media transmission method
CN105120204A (en) * 2015-08-06 2015-12-02 苏州科达科技股份有限公司 Multi-protocol compatible method of sharing double stream audios in conference, apparatus and system
CN106331581A (en) * 2015-07-06 2017-01-11 北京视联动力国际信息技术有限公司 Method and device for communication between mobile terminal and video networking terminal
CN108418778A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of internet and method, apparatus and interactive system regarding connected network communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8180029B2 (en) * 2007-06-28 2012-05-15 Voxer Ip Llc Telecommunication and multimedia management method and apparatus
CN108063741A (en) * 2016-11-07 2018-05-22 北京视联动力国际信息技术有限公司 A kind of transport protocol conversion method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018318A (en) * 2007-02-25 2007-08-15 华为技术有限公司 A stream media system, signaling forward device and stream media transmission method
CN106331581A (en) * 2015-07-06 2017-01-11 北京视联动力国际信息技术有限公司 Method and device for communication between mobile terminal and video networking terminal
CN105120204A (en) * 2015-08-06 2015-12-02 苏州科达科技股份有限公司 Multi-protocol compatible method of sharing double stream audios in conference, apparatus and system
CN108418778A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of internet and method, apparatus and interactive system regarding connected network communication

Also Published As

Publication number Publication date
CN109698924A (en) 2019-04-30

Similar Documents

Publication Publication Date Title
CN109167960B (en) Method and system for processing video stream data
CN110087102B (en) State query method, device and storage medium
CN108881796B (en) Video data processing method and video networking protocol conversion server
CN109474715B (en) Resource configuration method and device based on video network
CN110190973B (en) Online state detection method and device
CN110768817A (en) Upgrading method and device for video networking terminal
CN110545395B (en) Video networking conference switching method and device
CN110049273B (en) Video networking-based conference recording method and transfer server
CN109819062B (en) Method and device for accessing network by using virtual MAC address
CN109873864B (en) Communication connection establishing method and system based on video networking
CN109451001B (en) Communication method and system
CN110545244A (en) message distribution method and device
CN110446058B (en) Video acquisition method, system, device and computer readable storage medium
CN110072154B (en) Video networking-based clustering method and transfer server
CN109889516B (en) Method and device for establishing session channel
CN109922300B (en) Method and server for inviting video network MCU conference to Internet MCU conference
CN110099025B (en) Call method and device based on video networking
CN109889755B (en) Communication connection method and video networking terminal
CN110830751B (en) Method and device for accessing video networking terminal to conference
CN110636029B (en) Communication method and communication device
CN111093047A (en) Video call connection establishing method and device, electronic equipment and storage medium
CN110445806B (en) Method and device for calling internet terminal and protocol conversion server
CN110401807B (en) Communication method and device of video telephone system
CN110113563B (en) Data processing method based on video network and video network server
CN110177244B (en) Method and system for polling conference terminal

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