[go: up one dir, main page]

CN111614927B - Video session establishment method, device, electronic device and storage medium - Google Patents

Video session establishment method, device, electronic device and storage medium Download PDF

Info

Publication number
CN111614927B
CN111614927B CN202010276389.8A CN202010276389A CN111614927B CN 111614927 B CN111614927 B CN 111614927B CN 202010276389 A CN202010276389 A CN 202010276389A CN 111614927 B CN111614927 B CN 111614927B
Authority
CN
China
Prior art keywords
terminal
video
call
address
call request
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
CN202010276389.8A
Other languages
Chinese (zh)
Other versions
CN111614927A (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 CN202010276389.8A priority Critical patent/CN111614927B/en
Publication of CN111614927A publication Critical patent/CN111614927A/en
Application granted granted Critical
Publication of CN111614927B publication Critical patent/CN111614927B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems

Landscapes

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

Abstract

本发明实施例提供了种视频会话建立方法、装置、设备及存储介质,所述方法应用于协转服务器,所述协转服务器与互联网终端和视联网终端通信连接,所述的方法包括;接收所述互联网终端发送的呼叫请求,所述呼叫请求携带呼叫地址;确定所述呼叫地址的地址格式,并按照与所述地址格式对应的协议转换模式,将所述呼叫请求转换为与所述视联网终端匹配的目标呼叫请求;将所述目标呼叫请求发送给所述视联网终端;在接收到所述视联网终端针对所述目标呼叫请求返回的呼叫回复信令时,建立所述互联网终端和所述视联网终端之间的视频会话链路,所述视频会话链路用于在所述互联网终端和所述视联网终端之间传输音视频数据。

An embodiment of the present invention provides a method, device, equipment and storage medium for establishing a video session, wherein the method is applied to a coordination server, wherein the coordination server is communicatively connected to an Internet terminal and a visual network terminal, and the method comprises: receiving a call request sent by the Internet terminal, wherein the call request carries a call address; determining an address format of the call address, and converting the call request into a target call request matching the visual network terminal according to a protocol conversion mode corresponding to the address format; sending the target call request to the visual network terminal; and upon receiving a call reply signaling returned by the visual network terminal for the target call request, establishing a video session link between the Internet terminal and the visual network terminal, wherein the video session link is used to transmit audio and video data between the Internet terminal and the visual network terminal.

Description

Video session establishment method, device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and apparatus for establishing a video conference, an electronic device, and a storage medium.
Background
The video networking adopts the most advanced VisionVera real-time high-definition video exchange technology worldwide, so that the real-time transmission of the full-network high-definition video which cannot be realized by the current Internet is realized, tens of services such as high-definition video conference, video monitoring, remote training, intelligent monitoring analysis, emergency command, video telephone, live broadcast, television mail, information release and the like are all integrated into one system platform, and the real-time interconnection and intercommunication of high-definition quality video communication are realized through various terminal equipment.
Along with the expansion of the service of the video networking, the internet terminal in the internet is often required to call the video networking terminal in the video networking to perform video session, but the video session is not supported at present when the internet terminal calls the video networking terminal.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention provide a method, apparatus, electronic device, and storage medium for establishing a video session, so as to overcome or at least partially solve the foregoing problems.
In a first aspect of the embodiment of the present invention, a video session establishment method is disclosed, where the method is applied to a coordination server, and the coordination server is communicatively connected to an internet terminal and a video networking terminal, and the method includes;
receiving a call request sent by the Internet terminal, wherein the call request carries a call address;
Determining the address format of the call address, and converting the call request into a target call request matched with the video networking terminal according to a protocol conversion mode corresponding to the address format;
Sending the target call request to the video networking terminal;
And when receiving a call reply signaling returned by the video networking terminal aiming at the target call request, establishing a video session link between the Internet terminal and the video networking terminal, wherein the video session link is used for transmitting audio and video data between the Internet terminal and the video networking terminal.
Optionally, determining an address format of the call address, and converting the call request into a target call request matched with the internet-of-view terminal according to a protocol conversion mode corresponding to the address format, including:
when the prefix address in the call address is the video network number of the video network terminal, determining that a protocol conversion mode corresponding to the address format is an SIP protocol conversion mode, and converting the call request into a target call request which accords with a video network protocol and is matched with the SIP protocol according to the SIP protocol conversion mode;
When the prefix address in the call address is the IP address of the co-rotating server in the Internet, determining that a protocol conversion mode corresponding to the address format is an H323 protocol conversion mode, and converting the call request into a target call request which accords with a video networking protocol and is matched with the H323 protocol according to the H323 protocol conversion mode.
Optionally, before sending the target call request to the internet of view terminal, the method further comprises;
Responding to the call request, and determining a target virtual terminal from a plurality of preset virtual terminals;
establishing a video session link between the internet terminal and the video networking terminal, including:
And when receiving a confirmation signaling returned by the video network terminal aiming at the target call reply signaling, establishing data communication links between the target virtual terminal and the Internet terminal and the video network terminal respectively so as to complete the establishment of the video session link.
Optionally, the target virtual terminal is configured with a codec; the video networking terminal is also in communication connection with a video networking server, and the video networking server is used for receiving a call reply signaling sent by the video networking terminal; the method further comprises the steps of:
receiving an audio and video control request sent by the video networking server aiming at the call reply signaling;
And starting the coder-decoder based on the audio/video control request, wherein the coder-decoder is used for converting the first audio/video data sent by the Internet terminal into the second audio/video data adapted to the video networking terminal, and converting the third audio/video data sent by the video networking terminal into the fourth audio/video data adapted to the Internet terminal.
In a second aspect of the embodiment of the present invention, a video session establishment method is disclosed, the method is applied to an internet terminal, the internet terminal is connected with a co-rotation server, the co-rotation server is connected with a video networking terminal, the method includes;
acquiring a call address input by a user in a preset address bar;
Determining an address format of the call address and a call protocol corresponding to the address format;
generating a call request comprising the call address, and encapsulating the call request by adopting the call protocol;
Transmitting the call request packaged by adopting the call protocol to the cooperative server, so that the cooperative server converts the call request into a target call request matched with the video networking terminal according to the address format of the call address, and transmits the target call request to the video networking terminal so as to establish a video session link between the Internet terminal and the video networking terminal;
And based on the video session link, performing audio and video data interaction with the video networking terminal.
Optionally, determining an address format of the call address and a call protocol corresponding to the address format includes:
When the prefix address in the call address is the video network number of the video network terminal, determining that the call protocol is an SIP protocol;
And when the prefix address in the call address is the IP address of the co-rotating server in the Internet, determining that the call protocol is an H323 protocol.
In a third aspect of the embodiments of the present invention, a video session establishment apparatus is disclosed, where the apparatus is applied to a coordination server, where the coordination server is communicatively connected to an internet terminal and a video networking terminal, and the apparatus includes;
a call request receiving module for receiving a call request sent by the internet terminal, wherein the call request carries a call address;
The call request conversion module is used for determining the address format of the call address and converting the call request into a target call request matched with the video networking terminal according to a protocol conversion mode corresponding to the address format;
the call request sending module is used for sending the target call request to the video networking terminal;
And the link establishment module is used for establishing a video session link between the Internet terminal and the video networking terminal when receiving a call reply signaling returned by the video networking terminal aiming at the target call request, wherein the video session link is used for transmitting audio and video data between the Internet terminal and the video networking terminal.
In a fourth aspect of the embodiment of the present invention, a video session establishment apparatus is disclosed, the apparatus is applied to an internet terminal, the internet terminal is connected to a co-rotation server, the co-rotation server is connected to a video networking terminal, the apparatus includes;
the call address acquisition module is used for acquiring a call address input by a user in a preset address bar;
the protocol determining module is used for determining the address format of the call address and the call protocol corresponding to the address format;
a call request generation module for generating a call request including the call address and encapsulating the call request by adopting the call protocol;
A call request sending module, configured to send the call request to the co-forwarding server, so that the co-forwarding server converts the call request into a target call request matched with the internet-of-view terminal according to an address format of the call address, and sends the target call request to the internet-of-view terminal, so as to establish a video session link between the internet terminal and the internet-of-view terminal;
and the data interaction module is used for carrying out audio and video data interaction with the video networking terminal based on the video session link.
In a fifth aspect of an embodiment of the present invention, an electronic device is disclosed, including:
one or more processors; and
One or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform the video session establishment method according to the first or second aspect of the embodiments of the present invention.
The embodiment of the invention also discloses a computer readable storage medium, and a computer program stored in the computer readable storage medium causes a processor to execute the video session establishment method according to the first aspect or the second aspect of the embodiment of the invention.
The embodiment of the invention has the following advantages:
In the embodiment of the invention, a co-forwarding server receives a call request sent by an internet terminal, determines a corresponding protocol conversion mode according to the address format of a call address in the call request, converts the call request into a target call request matched with an internet-of-view terminal, then sends the target call request to the internet-of-view terminal, and establishes a video session link between the internet terminal and the internet-of-view terminal when receiving a call reply signaling returned by the internet-of-view terminal, thereby enabling the internet terminal to successfully call the internet-of-view terminal. The protocol conversion mode corresponding to the address format of the call address can be determined by the co-conversion server, so that the call request is converted into the target call request matched with the video networking terminal, the requirement that the internet terminal can call the video networking terminal in different calling modes is further met, and the service application range of the video networking can be widened and the user experience is optimized by adopting the embodiment of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the description of the embodiments of the present application will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a networking of the present invention for a video networking;
FIG. 2 is a schematic diagram of the hardware architecture of a node server according to the present invention;
FIG. 3 is a schematic diagram of the hardware architecture of an access switch of the present invention;
fig. 4 is a schematic hardware structure of an ethernet corotation gateway according to the present invention;
Fig. 5 is a communication architecture diagram of a video session establishment method according to an embodiment of the present invention;
FIG. 6 is a flow chart of the steps of a video session establishment method according to an embodiment of the present invention;
FIG. 7 is a flow chart of the steps of yet another video session establishment method according to an embodiment of the present invention;
FIG. 8 is a complete flow diagram of a video session establishment method in an example of an embodiment of the invention;
Fig. 9 is a schematic structural diagram of a video session establishment apparatus according to an embodiment of the present invention;
Fig. 10 is a schematic structural diagram of still another video session establishment apparatus according to an embodiment of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
The video networking is an important milestone for network development, is a real-time network, can realize real-time transmission of high-definition videos, and pushes numerous internet applications to high-definition videos, and the high definition faces.
The video networking adopts a real-time high-definition video exchange technology, and can integrate all required services such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delay television, network teaching, live broadcast, VOD on demand, television mail, personal record (PVR), intranet (self-processing) channel, intelligent video playing control, information release and other tens of services into one system platform, and realize high-definition quality video playing through television or computer.
For a better understanding of embodiments of the present invention, the following description of the video networking is presented to one skilled in the art:
the partial techniques applied by the video networking are as follows:
Network technology (Network Technology)
The network technology innovation of the internet of vision improves on the traditional Ethernet (Ethernet) to face the potentially huge first video traffic on the network. Unlike pure network packet switching (PACKET SWITCHING) or network circuit switching (Circuit Switching), the technology of video networking employs PACKET SWITCHING to meet Streaming requirements. The video networking technology has the flexibility, simplicity and low price of packet switching, and simultaneously has the quality and the safety guarantee of circuit switching, thereby realizing the seamless connection of the whole network switching type virtual circuit and the data format.
Exchange technology (SWITCHING TECHNOLOGY)
The video network adopts the two advantages of the asynchronization and the packet switching of the Ethernet, eliminates the Ethernet defect on the premise of full compatibility, has full-network end-to-end seamless connection, and is directly connected with the user terminal to directly bear the IP data packet. The user data does not need any format conversion in the whole network. The video networking is a higher-level form of Ethernet, is a real-time exchange platform, can realize real-time transmission of full-network large-scale high-definition video which cannot be realized by the current Internet, and pushes numerous network video applications to high definition and unification.
Server technology (Server Technology)
The server technology on the video networking and unified video platform is different from the server in the traditional sense, the streaming media transmission is based on connection-oriented basis, the data processing capability is irrelevant to the flow and the 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 hundred times than that of a traditional server.
Accumulator technology (Storage Technology)
The ultra-high-speed storage technology of the unified video platform adopts the most advanced real-time operating system for adapting to the ultra-large capacity and ultra-large flow media content, the program information in the server instruction is mapped to a specific hard disk space, the media content does not pass through the server any more, the media content is instantly and directly delivered to a user terminal, and the waiting time of the user is generally less than 0.2 seconds. The optimized sector distribution greatly reduces the mechanical motion of magnetic head seek of the hard disk, the resource consumption only accounts for 20% of the IP Internet of the same grade, but the concurrent flow which is 3 times greater 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 networking thoroughly structurally solves the network security problem puzzling the Internet by means of independent permission of each service, complete isolation of equipment and user data and the like, generally does not need antivirus programs or firewalls, eliminates attacks of hackers and viruses, and provides a structural carefree security network for users.
Service innovation technology (Service Innovation Technology)
The unified video platform fuses services with transmissions, whether a single user, private network users or a network aggregate, but automatically connects at a time. The user terminal, the set top box or the PC is directly connected to the unified video platform, so that various multimedia video services are obtained. The unified video platform adopts a menu type table allocation mode to replace the traditional complex application programming, and can realize complex application by using very few codes, thereby realizing 'infinite' new business innovation.
Networking of the video networking is as follows:
The video networking is a centrally controlled network structure, which may be of the tree network, star network, ring network, etc., but on the basis of this there is a need for a centralized control node in the network to control the whole network.
As shown in fig. 1, the view network is divided into an access network and a metropolitan area network.
The devices of the access network part can be mainly divided into 3 classes: node server, access switch, terminal (including various set-top boxes, code boards, memories, etc.). The node server is connected with an access switch, which can be connected with a plurality of terminals and can be connected with an Ethernet.
The node server is a node with a centralized control function in the access network, and can control the access switch and the terminal. The node server may be directly connected to the access switch or may be directly connected to the terminal.
Similarly, devices of the metropolitan area network portion can also be classified into 3 categories: metropolitan area server, node switch, 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 the node server of the access network part, namely the node server belongs to the access network part and also belongs to the metropolitan area network part.
The metropolitan area server is a node with centralized control function in the metropolitan area network, and can control a node switch and a node server. The metropolitan area server may be directly connected to the node switch or directly connected to the node server.
Thus, the whole video network is a hierarchical centralized control network structure, and the network controlled by the node server and the metropolitan area server can be in various structures such as tree, star, ring and the like.
The access network part can be vividly called as a unified video platform (part in a dotted circle), and a plurality of unified video platforms can form a video network; each unified video platform can be interconnected and intercommunicated through metropolitan area and wide area video networking.
View networking device classification
1.1 Devices in the visual network according to the embodiment of the present invention may be mainly classified into 3 types: a server, a switch (including an ethernet corotation gateway), and a terminal (including various set-top boxes, a code board, a memory, etc.). The view networking can be divided into metropolitan area networks (or national networks, global networks, etc.) and access networks as a whole.
1.2 Devices in the access network part can be mainly classified into 3 classes: node server, access switch (including Ethernet corotation gateway), terminal (including various set-top boxes, coding board, memory, etc.).
The specific hardware structure of each access network device is as follows:
The node server:
as shown in fig. 2, the device mainly comprises a network interface module 201, a switching engine module 202, a CPU module 203 and a disk array module 204;
Wherein, 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 packet guiding information; and stores the packet into a corresponding queue of the packet buffer 206 according to the packet's guiding information; discarding if the queue of the packet buffer 206 is nearly full; the switch engine module 202 polls all packet buffer queues for forwarding if the following conditions are met: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero. The disk array module 204 mainly controls the hard disk, including initializing, reading and writing operations on the hard disk; the CPU module 203 is mainly responsible for protocol processing with access switches and terminals (not shown), configuration of the address table 205 (including a downstream protocol packet address table, an upstream protocol packet address table, and a data packet address table), and configuration of the disk array module 204.
Access switch:
As shown in fig. 3, mainly includes a network interface module (a downstream network interface module 301, an upstream network interface module 302), a switching engine module 303, and a CPU module 304;
Wherein, the packet (uplink data) coming in from the downlink network interface module 301 enters the packet detection module 305; the packet detection module 305 detects whether the Destination Address (DA), source Address (SA), packet type, and packet length of the packet meet the requirements, if so, allocates a corresponding stream identifier (stream-id), and enters the switching engine module 303, otherwise, discards the packet; the packets (downstream data) coming in from the upstream network interface module 302 enter the switching engine module 303; the data packet coming in from the CPU module 304 enters the switching engine module 303; the switching engine module 303 performs an operation of looking up an address table 306 on an incoming packet, thereby obtaining packet guiding information; if a packet entering the switching engine module 303 is sent 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 a stream identifier (stream-id); discarding if the queue of the packet buffer 307 is nearly full; if the packet entering the switching engine module 303 is not sent from the downlink network interface to the uplink network interface, storing the data packet into the queue of the corresponding packet buffer 307 according to the packet guiding information; if the queue of the packet buffer 307 is nearly full, it is discarded.
The switch engine module 303 polls all packet buffer queues, which may include two scenarios:
If the queue is sent from the downlink network interface to the uplink network interface, the following conditions are satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero; 3) Obtaining a token generated by a code rate control module;
if the queue is not addressed by the downstream network interface to the upstream network interface, the following condition is satisfied for forwarding: 1) The port sending buffer is not full; 2) The queue packet counter is greater than zero.
The rate control module 308 is configured by the CPU module 304 to generate tokens for all packet buffer queues from the downstream network interface to the upstream network interface 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 rate control module 308.
Ethernet corotation gateway:
As shown in fig. 4, the device mainly includes a network interface module (a downstream network interface module 401 and an upstream 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 in from the downlink network interface module 401 enters the packet detection module 405; the packet detection module 405 detects whether the ethernet MAC DA, ethernet MAC SA, ethernet length or FRAME TYPE, the internet-of-view destination address DA, the internet-of-view source address SA, the internet-of-view 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 DA, MAC SA, length or FRAME TYPE (2 bytes) are subtracted by the MAC delete module 410 and enter the corresponding receive buffer, otherwise discarded;
the downlink network interface module 401 detects the sending buffer of the port, if there is a packet, acquires the ethernet MAC DA of the corresponding terminal according to the destination address DA of the packet's internet of view, adds the ethernet MAC DA of the terminal, the MAC SA of the ethernet co-ordination gateway, and the ethernet length or FRAME TYPE, and sends.
The function of the other modules in the ethernet corotation gateway is similar to that of the access switch.
And (3) 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/audio encoding/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 classes: node server, node switch, 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. View networking data 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 data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), 256 possibilities are at most provided, the second byte to the sixth byte are metropolitan area network addresses, and the seventh and eighth bytes are access network addresses;
the Source Address (SA) is also composed of 8 bytes (bytes), defined identically to the Destination Address (DA);
The reserved bytes consist of 2 bytes;
the payload portion has different lengths according to the types of the different datagrams, and is 64 bytes if it is various protocol packets, and 32+1024=1056 bytes if it is a unicast packet, and is of course not limited to the above 2 types;
The CRC consists of 4 bytes and its calculation method follows the standard ethernet CRC algorithm.
2.2 Metropolitan area network packet definition
The topology of the metropolitan area network is a pattern, there may be 2 or even more than 2 connections between two devices, i.e. there may be more than 2 connections between node switches and node servers, node switches and node switches, node switches and node servers. However, the metropolitan area network address of the metropolitan area network device is unique, and in order to accurately describe the connection relationship between metropolitan area network devices, parameters are introduced in the embodiment of the present invention: a tag to uniquely describe a metropolitan area network device.
In this specification, the definition of label is similar to that of MPLS (Multi-Protocol Label Switch, multiprotocol label switching), and assuming that there are two connections between device a and device B, there are 2 labels for packets from device a to device B, and 2 labels for packets from device B to device a. The label is split into label and label out, and assuming that the label (in label) of the packet entering the device a is 0x0000, the label (out label) of the packet when leaving the device a may become 0x0001. The network access process of the metropolitan area network is a network access process under centralized control, that is, the address allocation and label allocation of the metropolitan area network are all led by the metropolitan area server, the node switch and the node server are all passively executed, which is different from the label allocation of the MPLS, which is the result of mutual negotiation between the switch and the server.
As shown in the following table, the data packet of the metropolitan area network mainly includes the following parts:
DA SA Reserved Label (Label) Payload CRC
I.e. Destination Address (DA), source Address (SA), reserved bytes (Reserved), labels, payload (PDU), CRC. Wherein the format of the tag may be defined with reference to the following: the tag is 32 bits, with the high 16bit reservation, with only the low 16bit, and its position is between the reserved bytes and payload of the packet.
Along with expansion of video networking service, an internet terminal in the internet needs to call a video networking terminal in the video networking to perform video point-to-point video session, but when the video networking terminal performs video session, a video session protocol set in the video networking is generally used, and when the internet terminal performs video session, a video session protocol in the internet is generally used. For example, SIP protocol or H323 protocol, and when a video session is performed, the video session protocols used by both parties need to be the same to be performed successfully. Therefore, the internet terminal cannot initiate a video call request to the video networking terminal, so that the problem that the internet terminal cannot conduct video session with the video networking terminal is caused.
In view of this, the present invention proposes the core concept of the present invention based on the characteristics of the above-mentioned internet of vision: and configuring a cooperative server capable of communicating with the two terminals between the video networking terminal and the Internet terminal, receiving a call request sent by the Internet terminal by using the cooperative server, and converting the call request into a target call request capable of adapting to the video networking terminal according to the address format of a call address in the call request, thereby solving the problem that video session cannot be successfully carried out due to different video call protocols between the Internet terminal and the video networking terminal.
Referring to fig. 5, a communication architecture diagram of a video session establishment method according to an embodiment of the present invention is shown, and as shown in fig. 5, the communication architecture diagram includes a collaboration server, an internet terminal, and a video networking terminal. The internet terminal is located in the internet, and the video networking terminal is located in the video networking.
The internet terminal can be intelligent equipment such as a smart phone and a tablet personal computer, and the video networking terminal can be a set top box special for video networking data transmission in the video networking.
In this embodiment, the co-rotation server may pre-configure an internet communication protocol adapted to the internet network and a video networking communication protocol adapted to the video networking network, so that the co-rotation server may communicate with the internet terminal based on the internet protocol and communicate with the video networking terminal based on the video networking protocol.
The video session establishment method of the present embodiment is explained in detail from the cooperative server side in conjunction with the communication architecture shown in fig. 5.
Referring to fig. 6, a flowchart illustrating steps of a video session establishment method implemented by a corotation server side according to the present embodiment may specifically include the following steps:
step S601: and receiving a call request sent by the Internet terminal, wherein the call request carries a call address.
In this embodiment, the co-forwarding server may receive a call request sent by the internet terminal based on the internet protocol. The call request sent by the internet terminal is used for requesting to perform a video session with the video networking terminal, and the call address carried in the call request can be understood as a call address adopted for calling the video networking terminal.
Step S602: and determining the address format of the call address, and converting the call request into a target call request matched with the video networking terminal according to a protocol conversion mode corresponding to the address format.
In this embodiment, different address formats of the call address may represent different call modes of the internet terminal for calling the video networking terminal, and further the co-forwarding server may perform protocol conversion on the call request based on different protocol conversion modes corresponding to the different call modes, so as to successfully send the converted target call request to the video networking terminal. For example, in the internet, the calling mode may include: a call mode of a Session Initiation Protocol (SIP) protocol and a call mode of an H323 protocol. The SIP protocol is used to establish and disconnect media sessions, and the h.323 protocol is used to specify which protocol is used to provide media services.
In particular, the co-forwarding server may parse the call address from the call request, thereby determining the address format of the call address. When the internet terminal needs to perform video session with the internet-of-view terminal in the internet-of-view, a call address can be input in a call address bar provided by the internet terminal, and specifically, the call address can include the internet-of-view number of the internet-of-view terminal and the IP address of the co-forwarding server in the internet.
In one implementation, the address format of the call address may refer to a location order between the internet of view number and the IP address of the co-ordination server, so that the corresponding protocol conversion mode is determined according to the location order between the internet of view number and the IP address of the co-ordination server.
Accordingly, the process of converting the call request into the target call request is as follows in step S6021 and step S6022:
Step S6021: when the prefix address in the call address is the video network number of the video network terminal, determining that the protocol conversion mode corresponding to the address format is an SIP protocol conversion mode, and converting the call request into a target call request which accords with the video network protocol and is matched with the SIP protocol according to the SIP protocol conversion mode.
In this embodiment, when the prefix address is the internet-of-view number of the internet-of-view terminal, that is, the internet-of-view number is located before the IP address of the co-ordination server, for example, the call address is: in this case, the co-transfer server can determine that the call mode of the internet terminal is the call mode of the SIP protocol, and can convert the call request into a target call request which accords with the internet of view protocol and matches with the SIP protocol according to the SIP protocol conversion mode. In the SIP protocol conversion mode, the co-conversion server may send the call request to the SIP protocol conversion module, so as to perform protocol conversion on the call request through the SIP protocol conversion module.
Specifically, the SIP protocol conversion module may convert the call request into a target call request for a SIP protocol call mode in the internet of view, where the target call request may be encapsulated by using an internet of view protocol. For example, the call request may be converted into 8E01 signaling in the internet of view, so that the internet of view terminal may parse the 8E01 signaling to successfully respond to the call request of the internet terminal.
Step S6022: when the prefix address in the call address is the IP address of the co-rotating server in the Internet, determining that a protocol conversion mode corresponding to the address format is an H323 protocol conversion mode, and converting the call request into a target call request which accords with a video networking protocol and is matched with the H323 protocol according to the H323 protocol conversion mode.
In this embodiment, when the prefix address is the IP address of the co-ordination server, that is, the internet-of-view number is located after the IP address of the co-ordination server, for example, the call address is: when the IP address +# # +91 of the co-forwarding server is the number of the internet-of-view terminal, in this case, the co-forwarding server may determine that the call mode of the internet terminal is the call mode of the H323 protocol, and may convert the call request into a target call request that conforms to the internet-of-view protocol and matches the H323 protocol according to the H323 protocol conversion mode. In the H323 protocol conversion mode, the coordination server may send the call request to the H323 protocol conversion module, so as to perform protocol conversion on the call request through the H323 protocol conversion module.
Specifically, the target call request in this case is a request for an H323 protocol call style within the video network, and for example, the call request may be converted into 8E00 signaling within the video network. Thus, the video networking terminal can analyze the 8E00 signaling to successfully respond to the H323 calling type calling request of the internet terminal.
It should be noted that, the 8E00 signaling in this example may be a protocol corresponding to a video call in the internet of view, that is, in a specific implementation, a call request in the SIP protocol manner or a call request in the H323 protocol manner adopted by the internet terminal may be converted into the signaling of 8E01 in the internet of view. Thus, no matter what way the internet terminal takes, the coordination server can be converted into a target call request which can be resolved by the video networking terminal.
Step S603: and sending the target call request to the video networking terminal.
In this embodiment, the target call request may be a request encapsulated by using a video networking protocol, and the target call request may be sent to the video networking terminal based on the video networking protocol.
Step S604: and when receiving a call reply signaling returned by the video networking terminal aiming at the target call request, establishing a video session link between the Internet terminal and the video networking terminal.
The video session link is used for transmitting audio and video data between the internet terminal and the video networking terminal.
In this embodiment, a call reply signaling returned by the internet-of-view terminal may be received, where in this case, it indicates that the internet-of-view terminal successfully responds to a call request of the internet terminal, and then a video session link between the internet terminal and the internet-of-view terminal may be established. So that the internet terminal and the video networking terminal can conduct video call through the video session link.
According to the embodiment of the invention, the protocol conversion mode corresponding to the address format of the call address can be determined by the co-conversion server, so that the call request is converted into the target call request matched with the video networking terminal, the requirement that the Internet terminal can call the video networking terminal in different calling modes is further met, and the service application range of the video networking can be widened and the user experience is optimized by adopting the embodiment of the invention.
In combination with the above embodiment, in an implementation manner, before the coordination server sends the target call request to the video networking terminal, the method may further include the following steps;
Step S6020: and responding to the call request, and determining a target virtual terminal from a plurality of preset virtual terminals.
In this embodiment, the co-rotation server may preset a plurality of virtual terminals, and each virtual terminal may be used to forward audio and video data in the internet and the video network. The target virtual terminal may be a terminal that does not forward audio and video data currently in the plurality of virtual terminals, that is, a virtual terminal in an idle state in the plurality of virtual terminals.
In practice, the target virtual terminal may be used to perform forwarding of audio and video data in a video conference conducted by the internet terminal and the video networking terminal. Specifically, the audio and video data sent by the internet terminal can be received and sent to the video networking terminal, and the audio and video data sent by the video networking terminal can be received and sent to the internet terminal.
Accordingly, when a video session link between the internet terminal and the video networking terminal is established, the method may include the steps of:
Step S6041: and when receiving a confirmation signaling returned by the video network terminal aiming at the target call reply signaling, establishing data communication links between the target virtual terminal and the Internet terminal and the video network terminal respectively so as to complete the establishment of the video session link.
In this embodiment, when receiving the acknowledgement signaling returned by the internet-of-view terminal for the target call reply signaling, it indicates that the internet-of-view terminal successfully responds to the call request of the internet terminal, and in practice, the co-ordination server may also send the reply acknowledgement signaling to the internet terminal for the acknowledgement signaling, so that the internet terminal knows that the internet-of-view terminal has received the call of itself, and at this time, the co-ordination server may implement forwarding of audio and video data between the internet terminal and the internet-of-view terminal through the target virtual terminal.
In particular, the corotation server may establish a first data communication link between the target virtual terminal and the internet terminal and a second data communication link between the target virtual terminal and the video networking terminal. In this way, the target virtual terminal can play a role of communication bridging between the internet terminal and the video networking terminal, thereby completing the establishment of the video session link between the internet terminal and the video networking terminal.
Accordingly, after the video session link is established by using the target virtual terminal, the video session can be performed based on the video session link.
In one embodiment, in order to ensure that audio and video data between the internet terminal and the video networking terminal can be normally transmitted, that is, the audio and video data sent by the internet terminal can be normally decoded and played by the video networking terminal, a codec may be configured in the target virtual terminal.
Referring to fig. 5, the co-rotating server may also be connected to a view networking server, and the view networking server may be used to receive call reply signaling sent by the view networking terminal.
As shown in fig. 5, the internet of view server may be connected between the internet of view terminal and the coordination server, so that the call reply signaling sent by the internet of view terminal may be sent to the coordination server via the internet of view server. In this case, the target call request sent by the co-ordination server may be sent to the internet of view terminal via the internet of view server.
Accordingly, in the case of having a view networking server, the corotation server may also perform the following steps:
Step S6042: and receiving an audio and video control request sent by the video networking server aiming at the call reply signaling.
Step S6043: and starting the coder-decoder based on the audio/video control request, wherein the coder-decoder is used for converting the first audio/video data sent by the Internet terminal into the second audio/video data adapted to the video networking terminal, and converting the third audio/video data sent by the video networking terminal into the fourth audio/video data adapted to the Internet terminal.
Because the establishment of the video session link between the internet terminal and the video network terminal is completed after the call reply signaling of the video network terminal is received by the co-rotating server, at this time, the video network server can also send an audio and video control request to the co-rotating server when receiving the call reply signaling so as to start a codec configured for the target virtual terminal, and the codec can be a soft codec.
Specifically, when receiving a call reply signaling returned by the video network terminal, the video network server can send the call reply signaling and an audio/video control request to the co-rotation server, and the co-rotation server can start a codec configured by the target virtual terminal while establishing a video session link.
In a specific implementation, the video networking server may send 8704 audio/video control instructions, and send the 8704 audio/video control instructions to the coordination server and the video networking terminal, respectively. Therefore, the video networking terminal can automatically send the video networking audio and video data acquired by the video networking terminal to the cooperative server according to the instruction, and the cooperative server converts the audio and video data into Internet audio and video data by utilizing encoding and decoding, so that the Internet audio and video data is sent to the Internet terminal.
Under the condition, when the video networking terminal returns a call reply signaling to the cooperative server, the video networking terminal can automatically send the self-collected Internet audio and video data to the cooperative server, and the codec of the cooperative server re-encodes and decodes the Internet audio and video data and then sends the re-encoded Internet audio and video data to the Internet terminal. When receiving a call reply signaling returned by the video networking terminal and forwarded by the coordination server, the internet terminal can send the internet audio and video data acquired by the internet terminal to the coordination server, and a codec of the coordination server re-encodes and decodes the internet audio and video data and then sends the re-encoded internet audio and video data to the video networking terminal.
Illustratively, the video networking terminal forwards the 2001-protocol video networking audio stream to the co-ordination server, and the codec of the co-ordination server decapsulates the 2001-protocol video networking audio stream into g711 audio stream and transmits the g711 audio stream to the internet terminal. After receiving the call reply signaling of the video networking terminal, the internet terminal can send the audio stream of g711 acquired by the internet terminal to the cooperative server, and the codec of the cooperative server de-encapsulates the audio stream of g711 into a video networking audio stream of 2001 protocol and sends the video networking audio stream to the video networking terminal.
In one embodiment, the co-rotating server may record a protocol conversion mode adopted by the internet terminal when the video session is performed, so that when the video session needs to be completed by the internet terminal, the co-rotating server may receive, through the target virtual terminal, a session completion request sent by the internet terminal, and still perform protocol conversion on the session completion request according to the recorded protocol conversion mode according to the process described in step S602, and then send the session completion request to the internet-of-view terminal, so as to disconnect a video session link between the internet terminal and the internet-of-view terminal, that is, disconnect a first data communication link and a second data communication link between the target virtual terminal and the internet-of-view terminal, respectively, so as to disconnect the video session link.
The video session establishment method of the present application will be described with reference to the communication environment diagram shown in fig. 5 from the internet terminal side, and referring to fig. 7, a flowchart showing steps of the video session establishment method in an embodiment of the present application is shown, and the internet terminal may specifically execute the following steps:
Step S701: and acquiring the call address input by the user in the preset address bar.
The preset address bar may be configured on the internet terminal, and in particular, the preset address bar may be an address bar configured on a video session client on the internet terminal. The video session client may be used to provide video session services for users across the internet of view and the internet, for example, the video session client may be a pamil client.
In specific implementation, a user may log in to a video session client, and further input an address corresponding to a video networking terminal to be called in a preset address bar configured by the client. The call address may include a video network number of the video network terminal in the video network, and an IP address of the co-rotating server in the internet.
The video network number is a number allocated when the video network terminal registers to the video network, and the video network number can be used for uniquely identifying the video network terminal.
Step S702: determining an address format of the call address and a call protocol corresponding to the address format.
In this embodiment, the internet terminal may determine the address format of the input call address according to the prefix address in the call address, and further may determine the corresponding call protocol according to the address format of the input call address. The call protocol may be understood as a session protocol in which an internet terminal is to conduct a video session, and may specifically include a SIP protocol and an H323 protocol.
In one embodiment, if the prefix address is the internet of view number of the internet of view terminal, that is, the internet of view number is located before the IP address of the co-ordination server, the internet terminal may determine that the call protocol corresponding to the call address is a call protocol of SIP protocol.
If the prefix address is an IP address of the co-forwarding server in the internet, that is, the internet-of-view number is located after the IP address of the co-forwarding server, in this case, the internet terminal may be adapted to a call mode in which the call protocol corresponding to the call address is an H323 protocol.
Step S703: generating a call request including the call address, and encapsulating the call request with the call protocol.
In this embodiment, the internet terminal generates a call request based on the call address, and encapsulates the call request using a corresponding call protocol. Specifically, if the call protocol is the SIP protocol, the SIP protocol is used to encapsulate the call request, and if the call protocol is the H323 protocol, the H323 protocol is used to encapsulate the call request.
By adopting the embodiment, the internet terminal can support different calling habits of the user, for example, the user is used to input the video networking number and then input the IP address of the co-forwarding server, and the internet terminal can call the video networking terminal by adopting the SIP protocol. If the user is used to input the IP address of the co-forwarding server before inputting the video networking number, the Internet terminal can call the video networking terminal by adopting the H323 protocol. Therefore, the internet terminal can meet the calling habit of the user, so that the user experience is optimized.
Step S704: and sending the call request packaged by the call protocol to the coordination server.
The co-rotating server is used for converting the call request into a target call request matched with the video networking terminal according to the address format of the call address, and sending the target call request to the video networking terminal so as to establish a video session link between the Internet terminal and the video networking terminal.
In this embodiment, the internet terminal may send the call request to the coordination server by using the internet communication protocol, where the procedure of establishing the video session link by the coordination server in response to the call request may be described in the above steps S602 to S604, which is not described herein again.
Step S705: and based on the video session link, performing audio and video data interaction with the video networking terminal.
After the video session link is established by the co-rotating server, the Internet terminal can transmit audio and video data with the video networking terminal. The specific process can be described in detail in the above step S6042 and step S6043, and will not be described herein.
The video session establishment method of the present invention will be described in detail by way of a specific example. This example takes the internet as the internet and the visual networking as an example.
Referring to fig. 8, a flow diagram of a video session establishment method in the communication architecture provided in fig. 5 is shown. The method is characterized in that the Hua is te30 which is an internet terminal, the visual networking STB terminal (hereinafter called aurora terminal) which is a visual networking terminal, and the method completely comprises the following procedures:
(1) The Hua Te30 is used as the internet terminal side, and the aurora terminal is used as the video network side.
(2) And determining that the call mode of the SIP protocol is used for the Te30 according to the call address 00100@10.1.54.252 input by the user in the address bar, starting to generate a call request invite signaling of the SIP protocol, sending the invite signaling to the coordination server, and converting the signaling into a call signaling 8e01 of the video networking protocol by the coordination server according to the call address in the invite signaling.
(3) The co-rotating server sends the 8e01 signaling to the video networking server, and the video networking server converts the 8e01 signaling into 8e02 signaling and sends the 8e02 signaling to the aurora terminal.
(4) After receiving 8e02, the aurora terminal replies 8e01 response to the video networking server, and the video networking server converts the 8e01 reply into 8e02 reply and sends the 8e02 reply to the corotation server.
(5) After receiving the reply, the cooperative forwarding server forwards the 200OK reply of the signaling converted into the sip protocol to the Hua serving terminal, and after receiving the 200OK, the Hua serving te30 replies an ACK signaling indicating that the auroral terminal is known to answer normally. At this time, the corotation server establishes a communication connection with the Hua te30 and the aurora terminal using one target virtual terminal.
(6) In the process of starting and ending the call, the video networking server can send 8704 protocol signaling to the corotation server and the aurora terminal to enable the corotation server and the aurora terminal to open and close audio and video codecs, so that the audio and video can be normally transmitted.
(7) At this time, the te30 starts to send h264 video stream and G711 audio stream to the corotation server, and the corotation server packages the two paths of video streams, namely 2002 and 2001 media streams, respectively, and sends them to the aurora terminal, and at the same time, unpacks the 2001 and 2002 media streams sent by the aurora terminal into G711 and h264 streams and sends them to the te30.
(8) When the conference needs to be ended, the BYE signaling is sent to the target virtual terminal configured by the cooperative server for the video session link by the aid of the terminal, and the target virtual terminal converts the signaling into a hanging-up signaling 8e01 of the video networking protocol.
(9) The target virtual terminal sends the hang-up signaling 8e01 signaling to the video networking server, and the video networking server converts 8e01 into 8e02 and sends the 8e02 to the aurora terminal.
(10) After receiving 8e02, the aurora terminal replies 8e01 to the video networking server and ends the conference, and the video networking server converts the 8e01 reply into 8e02 reply and sends the 8e02 reply to the target virtual terminal of the corotation server.
(11) After receiving the reply, the target virtual terminal transmits a 200OK reply of the sip protocol to the Hua Cheng te30, and then disconnects the video session between the Hua Cheng te30 and the aurora terminal, thereby ending the video session.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
Referring to fig. 9, a video session establishment apparatus is shown, which may be applied to a co-rotating server in communication connection with an internet terminal and a video networking terminal; the device can specifically comprise the following modules;
a call request receiving module 901, configured to receive a call request sent by the internet terminal, where the call request carries a call address;
A call request conversion module 902, configured to determine an address format of the call address, and convert the call request into a target call request matched with the video networking terminal according to a protocol conversion mode corresponding to the address format;
a call request sending module 903, configured to send the target call request to the internet of view terminal;
the link establishing module 904 is configured to, when receiving a call reply signaling returned by the view network terminal for the target call request, establish a video session link between the internet terminal and the view network terminal, where the video session link is used to transmit audio and video data between the internet terminal and the view network terminal.
Optionally, the call request conversion module 902 may specifically include the following units:
The first conversion unit is used for determining that a protocol conversion mode corresponding to the address format is an SIP protocol conversion mode when the prefix address in the call address is the video network number of the video network terminal, and converting the call request into a target call request which accords with the video network protocol and is matched with the SIP protocol according to the SIP protocol conversion mode;
And the second conversion unit is used for determining that the protocol conversion mode corresponding to the address format is an H323 protocol conversion mode when the prefix address in the call address is the IP address of the co-conversion server in the Internet, and converting the call request into a target call request which accords with the video networking protocol and is matched with the H323 protocol according to the H323 protocol conversion mode.
Optionally, the apparatus may further include the following modules;
the virtual terminal determining module is used for responding to the call request and determining a target virtual terminal from a plurality of preset virtual terminals;
The link establishment module 904 may be specifically configured to, when receiving an acknowledgement signaling returned by the video session establishment terminal for the target call reply signaling, establish a data communication link between the target virtual terminal and the internet terminal and between the target virtual terminal and the video session establishment terminal, so as to complete the establishment of the video session link.
Optionally, the target virtual terminal is configured with a codec; the video networking terminal is also in communication connection with a video networking server, and the video networking server is used for receiving a call reply signaling sent by the video networking terminal; the apparatus further comprises modules that may:
The audio and video control request receiving module is used for receiving an audio and video control request sent by the video networking server aiming at the call reply signaling;
the coder-decoder starting module is used for starting the coder-decoder based on the audio-video control request, and the coder-decoder is used for converting the first audio-video data sent by the internet terminal into the second audio-video data adaptive to the video networking terminal and converting the third audio-video data sent by the video networking terminal into the fourth audio-video data adaptive to the internet terminal.
Referring to fig. 10, there is shown a video session establishment apparatus applicable to an internet terminal connected to a co-rotating server connected to a video networking terminal; the device can specifically comprise the following modules;
a call address obtaining module 1001, configured to obtain a call address input by a user in a preset address bar;
A protocol determining module 1002, configured to determine an address format of the call address, and a call protocol corresponding to the address format;
A call request generation module 1003, configured to generate a call request including the call address, and encapsulate the call request using the call protocol;
A call request sending module 1004, configured to send the call request to the coordination server, so that the coordination server converts the call request into a target call request matched with the internet-of-view terminal according to an address format of the call address, and sends the target call request to the internet-of-view terminal, so as to establish a video session link between the internet terminal and the internet-of-view terminal;
And the data interaction module 1005 is used for performing audio and video data interaction with the video networking terminal based on the video session link.
Optionally, the protocol determining module 1002 is specifically configured to determine that the call protocol is a SIP protocol when the prefix address in the call address is a video network number of the video network terminal, and determine that the call protocol is an H323 protocol when the prefix address in the call address is an IP address of the coordination server in the internet.
For the video session establishment apparatus embodiment, since it is substantially similar to the video session establishment method embodiment, the description is relatively simple, and the relevant points will be referred to in the description of the video session establishment method embodiment.
The embodiment of the invention also provides electronic equipment, which comprises:
one or more processors; and
One or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform a video session establishment method as described by an embodiment of the present invention.
The embodiment of the invention also provides a computer readable storage medium, and a stored computer program causes a processor to execute the video session establishment method according to the embodiment of the invention.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, 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 apparatus 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 apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus 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 invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are 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. Moreover, 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 one … …" does not exclude the presence of other like elements in a process, method, article, or terminal device that comprises the element.
The above description of the video session establishment method, apparatus, electronic device and readable storage medium provided by the present invention applies specific examples to illustrate the principles and embodiments of the present invention, and the above description of the examples is only used to help understand the method and core idea of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.

Claims (8)

1. The method is applied to a cooperative server, and the cooperative server is in communication connection with an Internet terminal and a video networking terminal;
receiving a call request sent by the Internet terminal, wherein the call request carries a call address;
determining an address format of the call address, and converting the call request into a target call request matched with the video networking terminal according to a protocol conversion mode corresponding to the address format, wherein the method comprises the following steps:
When the prefix address in the call address is the video network number of the video network terminal, determining that a protocol conversion mode corresponding to the address format is an SIP protocol conversion mode, and converting the call request into a target call request which accords with the video network protocol and is matched with the SIP protocol according to the SIP protocol conversion mode;
When the prefix address in the call address is the IP address of the co-rotating server in the Internet, determining that a protocol conversion mode corresponding to the address format is an H323 protocol conversion mode, and converting the call request into a target call request which accords with a video networking protocol and is matched with the H323 protocol according to the H323 protocol conversion mode;
Sending the target call request to the video networking terminal;
And when receiving a call reply signaling returned by the video networking terminal aiming at the target call request, establishing a video session link between the Internet terminal and the video networking terminal, wherein the video session link is used for transmitting audio and video data between the Internet terminal and the video networking terminal.
2. The method of claim 1, wherein prior to sending the target call request to the internet of view terminal, the method further comprises;
Responding to the call request, and determining a target virtual terminal from a plurality of preset virtual terminals;
establishing a video session link between the internet terminal and the video networking terminal, including:
And when receiving a confirmation signaling returned by the video networking terminal aiming at a target call reply signaling, establishing data communication links between the target virtual terminal and the Internet terminal and the video networking terminal respectively so as to complete the establishment of the video session link.
3. The method of claim 2, wherein the target virtual terminal has a codec configured therein; the video networking terminal is also in communication connection with a video networking server, and the video networking server is used for receiving a call reply signaling sent by the video networking terminal; the method further comprises the steps of:
receiving an audio and video control request sent by the video networking server aiming at the call reply signaling;
And starting the coder-decoder based on the audio/video control request, wherein the coder-decoder is used for converting the first audio/video data sent by the Internet terminal into the second audio/video data adapted to the video networking terminal, and converting the third audio/video data sent by the video networking terminal into the fourth audio/video data adapted to the Internet terminal.
4. The method is characterized in that the method is applied to an Internet terminal, the Internet terminal is connected with a cooperative server, the cooperative server is connected with an Internet-of-view terminal, and the method comprises the following steps of;
acquiring a call address input by a user in a preset address bar;
determining an address format of the call address and a call protocol corresponding to the address format, including:
When the prefix address in the call address is the video network number of the video network terminal, determining that the call protocol is an SIP protocol;
When the prefix address in the call address is the IP address of the co-rotating server in the Internet, determining that the call protocol is an H323 protocol;
generating a call request comprising the call address, and encapsulating the call request by adopting the call protocol;
Transmitting the call request packaged by adopting the call protocol to the cooperative server, so that the cooperative server converts the call request into a target call request matched with the video networking terminal according to the address format of the call address, and transmits the target call request to the video networking terminal so as to establish a video session link between the Internet terminal and the video networking terminal;
And based on the video session link, performing audio and video data interaction with the video networking terminal.
5. A video session establishment apparatus, wherein the apparatus is applied to a coordination server, the coordination server is communicatively connected with an internet terminal and a video networking terminal, the apparatus comprises;
a call request receiving module for receiving a call request sent by the internet terminal, wherein the call request carries a call address;
The call request conversion module is used for determining the address format of the call address and converting the call request into a target call request matched with the video networking terminal according to a protocol conversion mode corresponding to the address format;
the call request sending module is used for sending the target call request to the video networking terminal;
The link establishment module is used for establishing a video session link between the Internet terminal and the video networking terminal when receiving a call reply signaling returned by the video networking terminal aiming at the target call request, wherein the video session link is used for transmitting audio and video data between the Internet terminal and the video networking terminal;
the call request conversion module specifically may include the following units:
the first conversion unit is used for determining that a protocol conversion mode corresponding to the address format is an SIP protocol conversion mode when the prefix address in the call address is the video network number of the video network terminal, and converting the call request into a target call request which accords with the video network protocol and is matched with the SIP protocol according to the SIP protocol conversion mode;
And the second conversion unit is used for determining that the protocol conversion mode corresponding to the address format is an H323 protocol conversion mode when the prefix address in the call address is the IP address of the co-conversion server in the Internet, and converting the call request into a target call request which accords with the video networking protocol and is matched with the H323 protocol according to the H323 protocol conversion mode.
6. The video session establishment device is characterized in that the device is applied to an internet terminal, the internet terminal is connected with a corotation server, the corotation server is connected with a video networking terminal, and the device comprises;
the call address acquisition module is used for acquiring a call address input by a user in a preset address bar;
the protocol determining module is used for determining the address format of the call address and the call protocol corresponding to the address format;
a call request generation module for generating a call request including the call address and encapsulating the call request by adopting the call protocol;
A call request sending module, configured to send the call request to the co-forwarding server, so that the co-forwarding server converts the call request into a target call request matched with the internet-of-view terminal according to an address format of the call address, and sends the target call request to the internet-of-view terminal, so as to establish a video session link between the internet terminal and the internet-of-view terminal;
the data interaction module is used for carrying out audio and video data interaction with the video networking terminal based on the video session link;
The protocol determining module is specifically configured to determine that the call protocol is an SIP protocol when a prefix address in the call address is a video network number of the video network terminal; and when the prefix address in the call address is the IP address of the co-rotating server in the Internet, determining that the call protocol is an H323 protocol.
7. An electronic device, comprising:
one or more processors; and
One or more machine readable media having instructions stored thereon, which when executed by the one or more processors, cause the apparatus to perform the video session establishment method of any of claims 1-4.
8. A computer readable storage medium storing a computer program for causing a processor to perform the video session establishment method according to any one of claims 1-4.
CN202010276389.8A 2020-04-09 2020-04-09 Video session establishment method, device, electronic device and storage medium Active CN111614927B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010276389.8A CN111614927B (en) 2020-04-09 2020-04-09 Video session establishment method, device, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010276389.8A CN111614927B (en) 2020-04-09 2020-04-09 Video session establishment method, device, electronic device and storage medium

Publications (2)

Publication Number Publication Date
CN111614927A CN111614927A (en) 2020-09-01
CN111614927B true CN111614927B (en) 2024-11-26

Family

ID=72201590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010276389.8A Active CN111614927B (en) 2020-04-09 2020-04-09 Video session establishment method, device, electronic device and storage medium

Country Status (1)

Country Link
CN (1) CN111614927B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112422395A (en) * 2020-10-28 2021-02-26 视联动力信息技术股份有限公司 Data transmission method, device, terminal equipment and storage medium
CN112333209B (en) * 2021-01-04 2021-04-16 视联动力信息技术股份有限公司 Resource transmission method and device with boundary protection function
CN113259375B (en) * 2021-06-10 2021-09-28 长视科技股份有限公司 Video service response method and electronic equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290343A (en) * 2018-03-19 2019-09-27 北京视联动力国际信息技术有限公司 It is a kind of be added view networking meeting method and device and H323 association turn server

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102347950B (en) * 2011-09-29 2018-02-06 中兴通讯股份有限公司 Communication network provides the method and system of conversational services to internet
CN103716299B (en) * 2013-09-22 2019-10-25 南京中兴新软件有限责任公司 A kind of method to be conversated based on SIP, terminal and call business server
CN108965776B (en) * 2017-08-21 2019-11-12 视联动力信息技术股份有限公司 A kind of communication means and communication system
CN108881149B (en) * 2017-12-29 2021-04-23 视联动力信息技术股份有限公司 Access method and system of video telephone equipment
CN110830751B (en) * 2018-08-13 2021-07-30 视联动力信息技术股份有限公司 Method and device for accessing video networking terminal to conference
CN110022306B (en) * 2019-03-08 2021-12-21 视联动力信息技术股份有限公司 Method and device for calling conference of video conference
CN109922300B (en) * 2019-03-14 2021-03-26 视联动力信息技术股份有限公司 Method and server for inviting video network MCU conference to Internet MCU conference
CN110475094B (en) * 2019-08-20 2021-07-20 视联动力信息技术股份有限公司 Video conference processing method, device and readable storage medium
CN110445806B (en) * 2019-08-22 2022-03-01 视联动力信息技术股份有限公司 A method, device and co-transfer server for calling Internet terminal

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110290343A (en) * 2018-03-19 2019-09-27 北京视联动力国际信息技术有限公司 It is a kind of be added view networking meeting method and device and H323 association turn server

Also Published As

Publication number Publication date
CN111614927A (en) 2020-09-01

Similar Documents

Publication Publication Date Title
CN108965776B (en) A kind of communication means and communication system
CN109120946B (en) Method and device for watching live broadcast
CN109547417B (en) Code stream transmission method and device
CN110049271B (en) Video networking conference information display method and device
CN109194982B (en) Method and device for transmitting large file stream
CN108462589B (en) A kind of method for connecting network and device of terminal
CN110475094B (en) Video conference processing method, device and readable storage medium
CN109302576B (en) Conference processing method and device
CN110022295B (en) Data transmission method and video networking system
CN109246486B (en) Method and device for framing
CN110460804B (en) Conference data transmitting method, system, device and computer readable storage medium
CN110049273B (en) Video networking-based conference recording method and transfer server
CN111614927B (en) Video session establishment method, device, electronic device and storage medium
CN110113299A (en) Data transmission method, device, signal server and computer-readable medium
CN109347844B (en) Method and device for accessing equipment to Internet
CN111131743A (en) Video call method and device based on browser, electronic equipment and storage medium
CN111541857B (en) A membership method, device, electronic device and storage medium
CN110769297A (en) Audio and video data processing method and system
CN110430385B (en) Video conference processing method, device and storage medium
CN110149305B (en) A method and transfer server for multi-party playing audio and video based on video networking
CN110581846A (en) Monitoring video processing and system
CN111787261B (en) Method, device, electronic device and storage medium for transmitting audio and video data
CN110611639A (en) Audio data processing method and device for streaming media conference
CN110072154B (en) A group building method and transfer server based on Internet of Views
CN110336710B (en) A terminal testing method, system and device and storage medium

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