Video session establishment method, device, electronic device and storage medium
By performing protocol conversion in the cooperative conversion server, the problem of mismatch between the Internet terminal and the video network terminal is solved, the video session link is established, the service application of the video network is broadened and the user experience is optimized.
Patent Information
- Application Number
- CN202010276389.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-09
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-04-09
AI Technical Summary
Internet terminals cannot directly conduct video sessions with video network terminals because the video session protocols used by the two are different, resulting in call requests being unable to be successfully converted and responded.
Receive call requests from Internet terminals in the co-transfer server, perform protocol conversion according to the format of the call address, convert the request into a target call request that matches the video network terminal, and establish a video session chain when the reply signaling returned by the video network terminal is established support interoperability between different protocols.
It has realized the establishment of a video conversation link between the Internet terminal and the video network terminal, broadened the business application scope of the video network, and optimized the user experience.
Smart Images

Figure CN111614927B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technology, and in particular to a method, device, electronic equipment and storage medium for establishing a video conference. Background Art
[0002] The visual network adopts the world's most advanced VisionVera real-time HD video exchange technology, realizing real-time transmission of HD video across the entire network that is currently impossible with the Internet. It integrates dozens of video, voice, image, text, communication, data and other services such as HD video conferencing, video surveillance, remote training, intelligent monitoring and analysis, emergency command, video calls, live broadcasts, TV mails, information releases, etc. into one system platform, and realizes real-time interconnection of HD quality video communications through a variety of terminal devices.
[0003] As the business of the visual network expands, it is often necessary for Internet terminals in the Internet to call visual network terminals in the visual network for video conversations. However, currently, it is not supported for Internet terminals to call visual network terminals for video conversations. Summary of the invention
[0004] In view of the above problems, an embodiment of the present invention provides a method, an apparatus, an electronic device and a storage medium for establishing a video session, so as to overcome the above problems or at least partially solve the above problems.
[0005] A first aspect of an embodiment of the present invention discloses a method for establishing a video session, the method being applied to a coordination server, the coordination server being communicatively connected with an Internet terminal and a video network terminal, the method comprising:
[0006] receiving a call request sent by the Internet terminal, wherein the call request carries a call address;
[0007] Determine the address format of the call address, and convert the call request into a target call request matching the visual networking terminal according to a protocol conversion mode corresponding to the address format;
[0008] Sending the target call request to the visual networking terminal;
[0009] When the call reply signaling returned by the visual networking terminal for the target call request is received, a video session link is established between the Internet terminal and the visual networking terminal, and the video session link is used to transmit audio and video data between the Internet terminal and the visual networking terminal.
[0010] Optionally, determining an address format of the call address, and converting the call request into a target call request matching the visual networking terminal according to a protocol conversion mode corresponding to the address format, comprises:
[0011] When the prefix address in the call address is the visual networking number of the visual networking terminal, determine that the protocol conversion mode corresponding to the address format is the SIP protocol conversion mode, and convert the call request into a target call request that complies with the visual networking protocol and matches the SIP protocol according to the SIP protocol conversion mode;
[0012] When the prefix address in the call address is the IP address of the co-transmission server in the Internet, the protocol conversion mode corresponding to the address format is determined to be the H323 protocol conversion mode, and according to the H323 protocol conversion mode, the call request is converted into a target call request that complies with the visual networking protocol and matches the H323 protocol.
[0013] Optionally, before sending the target call request to the visual networking terminal, the method further includes:
[0014] In response to the call request, determining a target virtual terminal from a plurality of preset virtual terminals;
[0015] Establishing a video session link between the Internet terminal and the video network terminal includes:
[0016] When receiving the confirmation signaling returned by the visual networking terminal in response to the target call reply signaling, a data communication link is established between the target virtual terminal and the Internet terminal and the visual networking terminal respectively to complete the establishment of the video session link.
[0017] Optionally, a codec is configured in the target virtual terminal; the visual networking terminal is also connected to a visual networking server for communication, and the visual networking server is used to receive a call reply signaling sent by the visual networking terminal; the method further includes:
[0018] Receiving an audio and video control request sent by the video networking server in response to the call reply signaling;
[0019] Based on the audio and video control request, the codec is started, and the codec is used to convert the first audio and video data sent by the Internet terminal into the second audio and video data adapted to the visual networking terminal, and to convert the third audio and video data sent by the visual networking terminal into the fourth audio and video data adapted to the Internet terminal.
[0020] A second aspect of an embodiment of the present invention discloses a method for establishing a video session, the method being applied to an Internet terminal, the Internet terminal being connected to a coordination server, the coordination server being connected to a video network terminal, the method comprising:
[0021] Get the calling address entered by the user in the preset address bar;
[0022] Determining an address format of the calling address and a calling protocol corresponding to the address format;
[0023] generating a call request including the call address, and encapsulating the call request using the call protocol;
[0024] Sending the call request encapsulated by the call protocol to the coordination server, so that the coordination server converts the call request into a target call request matching the visual networking terminal according to the address format of the call address, and sends the target call request to the visual networking terminal to establish a video session link between the Internet terminal and the visual networking terminal;
[0025] Based on the video session link, audio and video data are interacted with the visual networking terminal.
[0026] Optionally, determining an address format of the calling address and a calling protocol corresponding to the address format includes:
[0027] When the prefix address in the calling address is the video network number of the video network terminal, determining that the calling protocol is the SIP protocol;
[0028] When the prefix address in the calling address is the IP address of the coordination server in the Internet, it is determined that the calling protocol is the H323 protocol.
[0029] A third aspect of the embodiments of the present invention discloses a video session establishment device, the device is applied to a coordination server, the coordination server is communicatively connected with an Internet terminal and a video network terminal, the device comprises:
[0030] A call request receiving module, receiving a call request sent by the Internet terminal, wherein the call request carries a call address;
[0031] A call request conversion module, used to determine the address format of the call address, and convert the call request into a target call request matching the visual networking terminal according to a protocol conversion mode corresponding to the address format;
[0032] A call request sending module, used to send the target call request to the visual networking terminal;
[0033] A link establishment module is used to establish a video session link between the Internet terminal and the visual networking terminal when receiving a call reply signaling returned by the visual networking terminal for the target call request. The video session link is used to transmit audio and video data between the Internet terminal and the visual networking terminal.
[0034] A fourth aspect of the embodiments of the present invention discloses a video session establishment device, the device is applied to an Internet terminal, the Internet terminal is connected to a coordination server, the coordination server is connected to a video network terminal, the device comprises:
[0035] A calling address acquisition module is used to acquire the calling address entered by the user in the preset address bar;
[0036] A protocol determination module, used to determine the address format of the calling address and the calling protocol corresponding to the address format;
[0037] A call request generation module, used to generate a call request including the call address, and encapsulate the call request using the call protocol;
[0038] A call request sending module, used for sending the call request to the co-conversion server, so that the co-conversion server converts the call request into a target call request matching the visual networking terminal according to the address format of the call address, and sends the target call request to the visual networking terminal to establish a video session link between the Internet terminal and the visual networking terminal;
[0039] A data interaction module is used to interact with the visual networking terminal via audio and video data based on the video session link.
[0040] According to a fifth aspect of the embodiments of the present invention, an electronic device is disclosed, including:
[0041] one or more processors; and
[0042] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the device to execute the video session establishment method as described in the first aspect or the second aspect of the embodiment of the present invention.
[0043] The embodiment of the present invention further discloses a computer-readable storage medium, which stores a computer program that enables a processor to execute the video session establishment method as described in the first aspect or the second aspect of the embodiment of the present invention.
[0044] The embodiments of the present invention include the following advantages:
[0045] In an embodiment of the present invention, the coordination server receives a call request sent by an Internet terminal, and determines a corresponding protocol conversion mode according to the address format of the call address in the call request, so as to convert the call request into a target call request that matches the visual network terminal, and then sends the target call request to the visual network terminal, and upon receiving the call reply signaling returned by the visual network terminal, establishes a video session link between the Internet terminal and the visual network terminal, so that the Internet terminal successfully calls the visual network terminal. Since the coordination server can determine the corresponding protocol conversion mode according to the address format of the call address, so as to convert the call request into a target call request that matches the visual network terminal, thereby satisfying the requirement that the Internet terminal can adopt different calling methods to call the visual network terminal, the embodiment of the present invention can be used to broaden the business application scope of the visual network and optimize the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the description of the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0047] Figure 1 It is a networking schematic diagram of a visual network of the present invention;
[0048] Figure 2 It is a schematic diagram of the hardware structure of a node server of the present invention;
[0049] Figure 3 It is a schematic diagram of the hardware structure of an access switch of the present invention;
[0050] Figure 4 It is a hardware structure diagram of an Ethernet protocol conversion gateway of the present invention;
[0051] Figure 5 It is a communication architecture diagram of a method for establishing a video session according to an embodiment of the present invention;
[0052] Figure 6 is a flow chart of steps of a method for establishing a video session according to an embodiment of the present invention;
[0053] Figure 7 is a flowchart of the steps of another method for establishing a video session according to an embodiment of the present invention;
[0054] Figure 8 is a complete flow chart of a method for establishing a video session in an example of an embodiment of the present invention;
[0055] Fig. 9It is a structural diagram of a video session establishment device according to an embodiment of the present invention;
[0056] Fig.10 It is a structural diagram of another video session establishing device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0057] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0058] The visual Internet is an important milestone in the development of the Internet. It is a real-time network that can realize real-time transmission of high-definition video and push many Internet applications towards high-definition video and high-definition face-to-face communication.
[0059] The visual network adopts real-time high-definition video exchange technology. It can integrate the required services such as high-definition video conferencing, video monitoring, intelligent monitoring analysis, emergency command, digital radio and television, delayed TV, online teaching, live broadcast, VOD on demand, TV mail, personalized recording (PVR), intranet (self-operated) channels, intelligent video broadcast control, information release and dozens of other video, voice, picture, text, communication, data and other services on a single system platform, and realize high-definition quality video playback through TV or computer.
[0060] In order to enable those skilled in the art to better understand the embodiments of the present invention, the visual network is introduced as follows:
[0061] Some of the technologies used in the visual Internet of Things are as follows:
[0062] Network Technology
[0063] The network technology innovation of Visual Networking improves the traditional Ethernet to cope with the huge potential first video traffic on the network. Different from simple network packet switching (Packet Switching) or network circuit switching (Circuit Switching), Visual Networking technology uses Packet Switching to meet the streaming needs. Visual Networking technology has the flexibility, simplicity and low price of packet switching, and the quality and security guarantee of circuit switching, realizing the seamless connection of the whole network switching virtual circuit and data format.
[0064] Switching Technology
[0065] Visual networking uses the two advantages of Ethernet: asynchronism and packet switching. It eliminates Ethernet defects under the premise of full compatibility, and has seamless end-to-end connection across the entire network, directly connects to user terminals, and directly carries IP data packets. User data does not require any format conversion within the entire network. Visual networking is a more advanced form of Ethernet and a real-time switching platform that can achieve large-scale real-time transmission of high-definition video across the entire network, which is currently unattainable on the Internet, and pushes many network video applications towards high definition and unification.
[0066] Server Technology
[0067] The server technology on the visual network and unified video platform is different from the traditional server. Its streaming media transmission is based on connection-oriented. Its data processing capability is independent of traffic and communication time. A single network layer can include signaling and data transmission. For voice and video services, the complexity of streaming media processing on the visual network and unified video platform is much simpler than data processing, and its efficiency is more than 100 times higher than that of traditional servers.
[0068] Storage Technology
[0069] The ultra-high-speed storage technology of the unified video platform adopts the most advanced real-time operating system to adapt to the media content with ultra-large capacity and ultra-large flow, mapping the program information in the server command to the specific hard disk space. The media content no longer passes through the server, but is directly delivered to the user terminal in an instant. The user generally waits for less than 0.2 seconds. The optimized sector distribution greatly reduces the mechanical movement of the hard disk head seeking, and the resource consumption accounts for only 20% of the same level of IP Internet, but it generates 3 times more concurrent traffic than the traditional hard disk array, and the overall efficiency is improved by more than 10 times.
[0070] Network Security Technology
[0071] The structural design of the visual network completely eradicates the network security issues that plague the Internet through separate licensing for each service and complete isolation of equipment and user data. Generally, anti-virus programs and firewalls are not required, and attacks by hackers and viruses are eliminated, providing users with a structurally worry-free and secure network.
[0072] Service Innovation Technology
[0073] The unified video platform integrates services and transmission. Whether it is a single user, a private network user or a network, it is just an automatic connection. User terminals, set-top boxes or PCs are directly connected to the unified video platform to obtain rich and colorful multimedia video services in various forms. The unified video platform uses a "recipe-style" table configuration mode to replace traditional complex application programming. Complex applications can be implemented with very little code, realizing "unlimited" new business innovation.
[0074] The networking of the visual network is as follows:
[0075] Visual networking is a centrally controlled network structure. The network can be a tree network, star network, ring network, etc., but on this basis, there needs to be a centralized control node in the network to control the entire network.
[0076] like Figure 1 As shown in the figure, the visual network is divided into two parts: access network and metropolitan area network.
[0077] The equipment in the access network can be divided into three categories: node server, access switch, and terminal (including various set-top boxes, encoding boards, storage, etc.). The node server is connected to the access switch, and the access switch can be connected to multiple terminals and can be connected to Ethernet.
[0078] The node server is a node in the access network that performs centralized control functions and can control access switches and terminals. The node server can be directly connected to the access switch or directly connected to the terminal.
[0079] Similarly, the devices in the metropolitan area network can also be divided into three categories: metropolitan area servers, node switches, and node servers. The metropolitan area servers are connected to the node switches, and the node switches can be connected to multiple node servers.
[0080] The node server is a node server of the access network part, that is, the node server belongs to both the access network part and the metropolitan area network part.
[0081] The metropolitan area server is a node with centralized control function in the metropolitan area network, which can control the node switch and node server. The metropolitan area server can be directly connected to the node switch or the node server.
[0082] It can be seen from this that the entire visual network is a hierarchical and centrally controlled network structure, and the network controlled by the node server and the metropolitan area server can be a tree, star, ring and other structures.
[0083] Figuratively speaking, the access network part can form a unified video platform (the part in the dotted circle), and multiple unified video platforms can form a visual network; each unified video platform can be interconnected through the metropolitan area and wide area visual networks.
[0084] Visual networking equipment classification
[0085] 1.1 The devices in the visual network of the embodiment of the present invention can be mainly divided into three categories: servers, switches (including Ethernet protocol conversion gateways), terminals (including various set-top boxes, encoding boards, storage devices, etc.). The visual network as a whole can be divided into a metropolitan area network (or a national network, a global network, etc.) and an access network.
[0086] 1.2 The equipment in the access network can be mainly divided into three categories: node server, access switch (including Ethernet protocol conversion gateway), terminal (including various set-top boxes, encoding boards, storage, etc.).
[0087] The specific hardware structure of each access network device is as follows:
[0088] Node server:
[0089] like Figure 2 As shown, it mainly includes a network interface module 201, a switching engine module 202, a CPU module 203, and a disk array module 204;
[0090] Among them, the packets coming from 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 checking the address table 205 on the incoming packets, thereby obtaining the packet's guidance information; and according to the packet's guidance information, the packet is stored in the queue of the corresponding packet buffer 206; if the queue of the packet buffer 206 is close to full, it is discarded; the switching engine module 202 polls all packet buffer queues, and forwards 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 implements the control of the hard disk, including the initialization, reading and writing of the hard disk; the CPU module 203 is mainly responsible for the protocol processing between the access switch and the terminal (not shown in the figure), the configuration of the address table 205 (including the downstream protocol packet address table, the upstream protocol packet address table, and the data packet address table), and the configuration of the disk array module 204.
[0091] Access switch:
[0092] like Figure 3 As shown, it mainly includes a network interface module (a downlink network interface module 301, an uplink network interface module 302), a switching engine module 303 and a CPU module 304;
[0093] Among them, 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), source address (SA), data packet type and packet length of the packet meet the requirements. If they meet the requirements, the corresponding stream identifier (stream-id) is allocated and enters the switching engine module 303, otherwise it is discarded; the packet (downlink data) coming from the uplink network interface module 302 enters the switching engine module 303; the data packet coming from the CPU module 304 enters the switching engine module 303; the switching engine module 303 processes the incoming packet The address table 306 is looked up to obtain the packet's guidance information; 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 combination with the stream identifier (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 downstream network interface to the upstream network interface, the data packet is stored in the queue of the corresponding packet buffer 307 according to the packet's guidance information; if the queue of the packet buffer 307 is nearly full, it is discarded.
[0094] The switching engine module 303 polls all packet buffer queues, which may include two situations:
[0095] If the queue is from the downlink network interface to the uplink network interface, it is forwarded if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero; 3) a token generated by the bit rate control module is obtained;
[0096] If the queue is not going from the downstream network interface to the upstream network interface, it is forwarded if the following conditions are met: 1) the port send buffer is not full; 2) the queue packet counter is greater than zero.
[0097] The code 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 within a programmable interval to control the code rate of the upstream forwarding.
[0098] The CPU module 304 is mainly responsible for protocol processing with the node server, configuration of the address table 306 , and configuration of the bit rate control module 308 .
[0099] Ethernet protocol conversion gateway :
[0100] like Figure 4As shown, it mainly includes a network interface module (a downlink network interface module 401, an uplink network interface module 402), a switching engine module 403, a CPU module 404, a packet detection module 405, a bit rate control module 408, an address table 406, a packet buffer 407 and a MAC adding module 409, and a MAC deleting module 410.
[0101] The data packet 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, visual network destination address DA, visual network source address SA, visual network data packet type and packet length of the data packet meet the requirements, and if they meet the requirements, a corresponding stream identifier (stream-id) is assigned; then, the MAC deletion module 410 subtracts the MAC DA, MAC SA, length or frame type (2 bytes) and enters the corresponding receiving buffer, otherwise it is discarded;
[0102] The downlink network interface module 401 detects the sending buffer of the port. If there is a packet, it obtains the Ethernet MAC DA of the corresponding terminal based on the visual network destination address DA of the packet, adds the Ethernet MAC DA of the terminal, the MACSA of the Ethernet protocol conversion gateway, and the Ethernet length or frame type, and sends it.
[0103] The functions of other modules in the Ethernet protocol conversion gateway are similar to those of the access switch.
[0104] terminal:
[0105] It mainly includes network interface module, business processing module and CPU module; for example, the set-top box mainly includes network interface module, audio and video encoding and decoding engine module, CPU module; the encoding board mainly includes network interface module, audio and video encoding engine module, CPU module; the memory mainly includes network interface module, CPU module and disk array module.
[0106] 1.3 The equipment in the metropolitan area network can be divided into two categories: node server, node switch, and metropolitan area server. Among them, the node switch mainly includes network interface module, switching engine module and CPU module; the metropolitan area server mainly includes network interface module, switching engine module and CPU module.
[0107] 2. Definition of Visual Network Data Packet
[0108] 2.1 Access Network Data Packet Definition
[0109] The data packet of the access network mainly includes the following parts: destination address (DA), source address (SA), reserved bytes, payload (PDU), and CRC.
[0110] As shown in the following table, the data packet of the access network mainly includes the following parts:
[0111] DA SA Reserved Payload CRC
[0112] in:
[0113] The destination address (DA) consists of 8 bytes. The first byte indicates the type of data packet (such as various protocol packets, multicast data packets, unicast data packets, etc.), with a maximum of 256 possibilities. The second to sixth bytes are the metropolitan area network address, and the seventh and eighth bytes are the access network address.
[0114] The source address (SA) is also composed of 8 bytes and has the same definition as the destination address (DA).
[0115] The reserved bytes consist of 2 bytes;
[0116] The payload part has different lengths depending on the type of datagram. If it is a protocol packet, it is 64 bytes. If it is a single multicast data packet, it is 32+1024=1056 bytes. Of course, it is not limited to the above two types.
[0117] CRC consists of 4 bytes and its calculation method follows the standard Ethernet CRC algorithm.
[0118] 2.2 Definition of Metropolitan Area Network Data Packet
[0119] The topology of the metropolitan area network is a graph. There may be two or more connections between two devices, that is, there may be more than two 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 metropolitan area network address of a metropolitan area network device is unique. In order to accurately describe the connection relationship between metropolitan area network devices, a parameter: a label is introduced in the embodiment of the present invention to uniquely describe a metropolitan area network device.
[0120] The definition of labels in this manual is similar to the definition of labels in MPLS (Multi-Protocol Label Switch). Assuming that there are two connections between device A and device B, there are two labels for the data packet from device A to device B, and there are two labels for the data packet from device B to device A. Labels are divided into input labels and output labels. Assuming that the label of the data packet entering device A (input label) is 0x0000, the label of the data packet when leaving device A (output label) may become 0x0001. The access process of the metropolitan area network is a centralized access process, which means that the address allocation and label allocation of the metropolitan area network are dominated by the metropolitan area server, and the node switch and node server are only passively executed. This is different from the label allocation of MPLS, which is the result of mutual negotiation between the switch and the server.
[0121] As shown in the following table, the data packets of the metropolitan area network mainly include the following parts:
[0122] DA SA Reserved Label Payload CRC
[0123] That is, destination address (DA), source address (SA), reserved byte (Reserved), label, payload (PDU), CRC. The label format can refer to the following definition: the label is 32 bits, of which the upper 16 bits are reserved and only the lower 16 bits are used. It is located between the reserved bytes and payload of the data packet.
[0124] With the expansion of visual networking services, Internet terminals in the Internet need to call visual networking terminals in the visual networking to conduct point-to-point video conversations. However, when conducting video conversations, visual networking terminals generally use the video conversation protocol set in the visual networking, while Internet terminals generally use the video conversation protocol in the Internet when conducting video conversations. For example, SIP protocol or H323 protocol, and when conducting video conversations, the video conversation protocol used by both parties must be the same in order to successfully conduct a video conversation. Therefore, Internet terminals cannot initiate video call requests to visual networking terminals, resulting in the problem that Internet terminals cannot conduct video conversations with visual networking terminals.
[0125] In view of this, the present invention proposes the core concept of the present invention based on the above-mentioned characteristics of visual networking: a coordination server that can communicate with the two terminals is configured between the visual networking terminal and the Internet terminal, and the coordination server is used to receive call requests sent by the Internet terminal, and according to the address format of the call address in the call request, the call request is converted into a target call request that can be adapted to the visual networking terminal, thereby solving the problem that the video call protocols between the Internet terminal and the visual networking terminal are different and the video conversation cannot be successfully conducted.
[0126] refer to Figure 5 , which shows a communication architecture diagram of a method for establishing a video session according to an embodiment of the present invention, such as Figure 5 As shown, it includes a co-conversion server, an Internet terminal and a visual network terminal. The Internet terminal is located in the Internet, and the visual network terminal is located in the visual network.
[0127] Among them, the Internet terminal can be a smart device such as a smartphone, a tablet computer, etc., and the visual network terminal can be a set-top box in the visual network that is specifically used for visual network data transmission.
[0128] In this embodiment, the cooperative conversion server can pre-configure an Internet communication protocol adapted to the Internet network and a visual network communication protocol adapted to the visual network network. In this way, the cooperative conversion server can communicate with the Internet terminal based on the Internet protocol, and communicate with the visual network terminal based on the visual network protocol.
[0129] Combination Figure 5 The communication architecture shown is used to describe in detail the video session establishment method of this embodiment from the perspective of the coordination server side.
[0130] Reference Figure 6 As shown, a flowchart of a method for establishing a video session in this embodiment implemented by the coordination server side is shown, which may specifically include the following steps:
[0131] Step S601: receiving a call request sent by the Internet terminal, wherein the call request carries a call address.
[0132] In this embodiment, the coordination server can receive a call request sent by an Internet terminal based on the Internet protocol. The call request sent by the Internet terminal is used to request a video conversation with the visual network terminal. The call address carried in the call request can be understood as the call address used to call the visual network terminal. In this embodiment, the call address can include the IP address of the coordination server and the identifier of the visual network terminal in the visual network. Specifically, the identifier can be the visual network number of the visual network terminal in the visual network.
[0133] Step S602: Determine the address format of the call address, and convert the call request into a target call request matching the visual networking terminal according to a protocol conversion mode corresponding to the address format.
[0134] In this embodiment, different address formats of the call address can represent different calling modes of the Internet terminal calling the visual network terminal, and then the coordination server can perform protocol conversion on the call request based on different protocol conversion modes corresponding to different calling modes, so as to successfully send the converted target call request to the visual network terminal. For example, in the Internet, the calling modes may include: the calling mode of the Session Initiation Protocol SIP protocol and the calling mode of the H323 protocol. Among them, the SIP protocol is used to establish and disconnect media sessions, and the H.323 protocol is used to specifically specify which protocol is used to provide media services.
[0135] In specific implementation, the coordination server can parse the call address from the call request and then determine the address format of the call address. When the Internet terminal needs to conduct a video conversation with a visual network terminal in the visual network, the call address can be entered in the call address bar provided by the Internet terminal. Specifically, the call address can include the visual network number of the visual network terminal and the IP address of the coordination server in the Internet.
[0136] In one implementation, the address format of the call address may refer to the positional order between the visual network number and the IP address of the coordination server, thereby determining the corresponding protocol conversion mode based on the positional order between the visual network number and the IP address of the coordination server.
[0137] Accordingly, the process of converting the call request into a target call request is as described in the following steps S6021 and S6022:
[0138] Step S6021: When the prefix address in the call address is the visual networking number of the visual networking terminal, determine that the protocol conversion mode corresponding to the address format is the SIP protocol conversion mode, and according to the SIP protocol conversion mode, convert the call request into a target call request that complies with the visual networking protocol and matches the SIP protocol.
[0139] In this embodiment, when the prefix address is the visual network number of the visual network terminal, that is, the visual network number is located before the IP address of the coordination server, for example, the call address is: the address format of the visual network number@coordination server IP address. In this case, the coordination server can determine that the calling method of the Internet terminal is the calling method of the SIP protocol, and then it can convert the call request into a target call request that complies with the visual network protocol and matches the SIP protocol according to the SIP protocol conversion mode. Among them, in the SIP protocol conversion mode, the coordination server can send the call request to the SIP protocol conversion module to perform protocol conversion on the call request through the SIP protocol conversion module.
[0140] Specifically, the SIP protocol conversion module can convert the call request into a target call request for the SIP protocol call mode in the visual network, and the target call request can be encapsulated using the visual network protocol. For example, the call request can be converted into 8E01 signaling in the visual network, so that the visual network terminal can parse the 8E01 signaling to successfully respond to the call request of the Internet terminal.
[0141] Step S6022: When the prefix address in the call address is the IP address of the cooperative server in the Internet, determine that the protocol conversion mode corresponding to the address format is the H323 protocol conversion mode, and according to the H323 protocol conversion mode, convert the call request into a target call request that complies with the visual networking protocol and matches the H323 protocol.
[0142] In this implementation, when the prefix address is the IP address of the co-conversion server, that is, the visual network number is located after the IP address of the co-conversion server, for example, when the call address is: the IP address of the co-conversion server + ## + 91 visual network terminal number, in this case, the co-conversion server can determine that the calling method of the Internet terminal is the calling method of the H323 protocol, and then it can convert the call request into a target call request that complies with the visual network protocol and matches the H323 protocol according to the H323 protocol conversion mode. Among them, in the H323 protocol conversion mode, the co-conversion server can send the call request to the H323 protocol conversion module to perform protocol conversion on the call request through the H323 protocol conversion module.
[0143] Specifically, the target call request in this case is a request for the H323 protocol call method in the visual network. For example, the call request can be converted into 8E00 signaling in the visual network. In this way, the visual network terminal can parse the 8E00 signaling to successfully respond to the call request of the H323 call method of the Internet terminal.
[0144] It should be noted that the 8E00 signaling in this example can be a protocol corresponding to a video call in the visual network, that is, in a specific implementation, a call request in the SIP protocol or a call request in the H323 protocol adopted by the Internet terminal can be converted into 8E01 signaling in the visual network. In this way, no matter what method the Internet terminal uses to call, the coordination server can convert it into a target call request that can be parsed by the visual network terminal.
[0145] Step S603: Send the target call request to the visual networking terminal.
[0146] In this embodiment, the target call request may be a request encapsulated using a visual networking protocol, and the target call request may be sent to the visual networking terminal based on the visual networking protocol.
[0147] Step S604: upon receiving the call reply signaling returned by the visual networking terminal in response to the target call request, a video session link is established between the Internet terminal and the visual networking terminal.
[0148] The video session link is used to transmit audio and video data between the Internet terminal and the visual network terminal.
[0149] In this embodiment, a call reply signaling returned by the visual networking terminal can be received, in which case it means that the visual networking terminal has successfully responded to the call request of the Internet terminal, and a video session link can be established between the Internet terminal and the visual networking terminal, so that the Internet terminal and the visual networking terminal can conduct a video call through the video session link.
[0150] In the embodiment of the present invention, since the cooperative conversion server can determine the corresponding protocol conversion mode according to the address format of the call address, thereby converting the call request into a target call request adapted to the visual network terminal, thereby meeting the demand that the Internet terminal can adopt different calling methods to call the visual network terminal. By adopting the embodiment of the present invention, the business application scope of the visual network can be broadened and the user experience can be optimized.
[0151] In combination with the above embodiments, in one implementation, before the coordination server sends the target call request to the visual networking terminal, the following steps may also be included:
[0152] Step S6020: In response to the call request, a target virtual terminal is determined from a plurality of preset virtual terminals.
[0153] In this embodiment, the cooperative transfer server can preset multiple virtual terminals, each of which can be used to forward audio and video data in the Internet and the visual network. Among them, the target virtual terminal can be a terminal that is not currently forwarding audio and video data among the multiple virtual terminals, that is, a virtual terminal that is in an idle state among the multiple virtual terminals.
[0154] In practice, the target virtual terminal can be used to forward audio and video data in a video conference between an Internet terminal and a visual network terminal. Specifically, it can receive audio and video data sent by an Internet terminal and send the audio data to the visual network terminal, and receive audio and video data sent by the visual network terminal and send the audio data to the Internet terminal.
[0155] Accordingly, when establishing a video session link between the Internet terminal and the visual network terminal, the following steps may be included:
[0156] Step S6041: upon receiving the confirmation signaling returned by the visual networking terminal in response to the target call reply signaling, establishing data communication links between the target virtual terminal and the Internet terminal and the visual networking terminal respectively, to complete the establishment of the video session link.
[0157] In this embodiment, when the confirmation signaling returned by the visual network terminal in response to the target call reply signaling is received, it indicates that the visual network terminal has successfully responded to the call request of the Internet terminal. In practice, the cooperative conversion server can also send a reply confirmation signaling to the Internet terminal in response to the confirmation signaling, so that the Internet terminal knows that the visual network terminal has answered its call. At this time, the cooperative conversion server can realize the forwarding of audio and video data between the Internet terminal and the visual network terminal through the target virtual terminal.
[0158] Specifically, the coordination server can establish a first data communication link between the target virtual terminal and the Internet terminal, and establish a second data communication link between the target virtual terminal and the visual network terminal. In this way, the target virtual terminal can play a communication bridge role between the Internet terminal and the visual network terminal, thereby completing the establishment of a video session link between the Internet terminal and the visual network terminal.
[0159] Accordingly, after a video session link is established using the target virtual terminal, a video session can be conducted based on the video session link.
[0160] In one embodiment, in order to ensure that audio and video data between an Internet terminal and a visual networking terminal can be transmitted normally, that is, the audio and video data sent by the Internet terminal can be decoded and played normally by the visual networking terminal, a codec can be configured in the target virtual terminal.
[0161] Reference Figure 5 As shown, the coordination server can also be connected to a visual networking server, which can be used to receive call reply signaling sent by a visual networking terminal.
[0162] like Figure 5 As shown, the visual networking server can be connected between the visual networking terminal and the coordination server, so that the call reply signaling sent by the visual networking terminal can be sent to the coordination server via the visual networking server. Of course, in this case, the target call request sent by the coordination server can be sent to the visual networking terminal via the visual networking server.
[0163] Accordingly, in the case of a visual networking server, the coordination server may also perform the following steps:
[0164] Step S6042: Receive the audio and video control request sent by the visual network server in response to the call reply signaling.
[0165] Step S6043: Based on the audio and video control request, start the codec, the codec is used to convert the first audio and video data sent by the Internet terminal into the second audio and video data adapted to the visual networking terminal, and to convert the third audio and video data sent by the visual networking terminal into the fourth audio and video data adapted to the Internet terminal.
[0166] Since the video session link between the Internet terminal and the visual networking terminal is established after the coordination server receives the call reply signaling from the visual networking terminal, at this time, when the visual networking server receives the call reply signaling, it can also send an audio and video control request to the coordination server to start the codec configured for the target virtual terminal, which can be a soft codec.
[0167] Specifically, when the visual networking server receives the call reply signaling returned by the visual networking terminal, it can send the call reply signaling and the audio and video control request to the coordination server. While establishing the video session link, the coordination server can start the codec configured by the target virtual terminal.
[0168] In a specific implementation, the visual network server can send the audio and video control instruction of 8704, and send the audio and video control instruction of 8704 to the coordination server and the visual network terminal respectively. In this way, the visual network terminal can automatically send the visual network audio and video data collected by itself to the coordination server according to the instruction, and the coordination server converts the audio and video data into Internet audio and video data by codec, and then sends the Internet audio and video data to the Internet terminal.
[0169] In this case, when the visual networking terminal returns a call reply signaling to the cooperative conversion server, it can automatically send the Internet audio and video data it has collected to the cooperative conversion server. The codec of the cooperative conversion server re-encodes and decodes the Internet audio and video data and sends it to the Internet terminal. When the Internet terminal receives the call reply signaling forwarded by the cooperative conversion server, it can send the Internet audio and video data it has collected to the cooperative conversion server. The codec of the cooperative conversion server re-encodes and decodes the Internet audio and video data and sends it to the visual networking terminal.
[0170] For example, the visual networking terminal sends a 2001-protocol visual networking audio stream to the coordination server, and the codec of the coordination server decapsulates the 2001-protocol visual networking audio stream into a g711 audio stream, and sends the g711 audio stream to the Internet terminal. After receiving the call reply signaling from the visual networking terminal, the Internet terminal can send the g711 audio stream it has collected to the coordination server, and the codec of the coordination server decapsulates the g711 audio stream into a 2001-protocol visual networking audio stream and sends it to the visual networking terminal.
[0171] In one embodiment, the coordination server can record the protocol conversion mode adopted by the Internet terminal during the current video conversation. In this way, when the Internet terminal needs to end the video conversation, the coordination server can receive the session end request sent by the Internet terminal through the target virtual terminal. The coordination server can still follow the process described in step S602 and the recorded protocol conversion mode to perform protocol conversion on the session end request and send it to the visual network terminal to disconnect the video session link between the Internet terminal and the visual network terminal, that is, to release the first data communication link and the second data communication link between the target virtual terminal and the Internet terminal and the visual network terminal respectively, so as to release the video session link.
[0172] Combination Figure 5 The communication environment diagram shown in FIG. 1 is used to explain the video session establishment method of the present application from the Internet terminal side. Figure 7 As shown, a flowchart of the steps of a method for establishing a video session in one embodiment of the present invention is shown. The Internet terminal can specifically perform the following steps:
[0173] Step S701: Obtain the calling address input by the user in the preset address bar.
[0174] The Internet terminal may be configured with a preset address bar, specifically, the preset address bar may be an address bar on a video session client configured on the Internet terminal. The video session client may be used to provide users with video session services across the visual network and the Internet, for example, the video session client may be a Pamir client.
[0175] In specific implementation, the user can log in to the video session client, and then enter the address corresponding to the video network terminal to be called in the preset address bar configured in the client. Among them, the calling address can include the video network number of the video network terminal in the video network, and the IP address of the coordination server in the Internet.
[0176] Among them, the visual network number is the number assigned to the visual network terminal when it registers to the visual network, and the visual network number can be used to uniquely identify the visual network terminal.
[0177] Step S702: Determine the address format of the calling address and the calling protocol corresponding to the address format.
[0178] In this embodiment, the Internet terminal can determine the address format of the input call address according to the prefix address in the call address, and then determine the corresponding call protocol according to the address format of the input call address. The call protocol can be understood as the session protocol for the Internet terminal to conduct a video session, which can specifically include the SIP protocol and the H323 protocol.
[0179] In one embodiment, if the prefix address is the visual network number of the visual network terminal, that is, the visual network number is located before the IP address of the coordination server, in this case, the Internet terminal can determine that the call protocol corresponding to the call address is the SIP protocol.
[0180] If the prefix address is the IP address of the co-transfer server in the Internet, that is, the network number is located after the IP address of the co-transfer server, in this case, the Internet terminal can use the calling method of the H323 protocol corresponding to the calling address.
[0181] Step S703: Generate a call request including the call address, and encapsulate the call request using the call protocol.
[0182] In this embodiment, the Internet terminal generates a call request based on the call address, and uses a corresponding call protocol to encapsulate the call request. Specifically, if the call protocol is the SIP protocol, the call request is encapsulated using the SIP protocol, and if the call protocol is the H323 protocol, the call request is encapsulated using the H323 protocol.
[0183] By adopting this implementation mode, the Internet terminal can support different calling habits of users. For example, if the user is used to inputting the video network number first and then the IP address of the coordination server, the Internet terminal can use the SIP protocol to call the video network terminal. If the user is used to inputting the IP address of the coordination server first and then the video network number, the Internet terminal can use the H323 protocol to call the video network terminal. In this way, the Internet terminal can meet different calling habits of users to optimize the user experience.
[0184] Step S704: sending the call request encapsulated by the call protocol to the coordination server.
[0185] Among them, the coordination server is used to convert the call request into a target call request matching the visual networking terminal according to the address format of the call address, and send the target call request to the visual networking terminal to establish a video session link between the Internet terminal and the visual networking terminal.
[0186] In this embodiment, the Internet terminal can use the Internet communication protocol to send a call request to the coordination server, wherein the process of the coordination server establishing a video session link in response to the call request can be as described in steps S602 to S604 above, which will not be repeated here.
[0187] Step S705: Based on the video session link, audio and video data are interacted with the visual networking terminal.
[0188] After the video session link is established by the cooperative conversion server, the Internet terminal can transmit audio and video data with the video network terminal. The specific process can be seen in the above steps S6042 and S6043, which will not be repeated here.
[0189] The video session establishment method of the present invention is described in detail below through a specific example. The example takes the Internet as the Internet and the video network as the video network as an example.
[0190] Reference Figure 8 As shown, it is shown in Figure 5 The flow chart of the method for establishing a video session in the communication architecture provided is shown below. Huawei te30 is an Internet terminal, and the visual network STB terminal (hereinafter referred to as Aurora terminal) is a visual network terminal. The complete process includes the following:
[0191] (1) Use Huawei Te30 as the Internet terminal and Aurora terminal as the visual network terminal.
[0192] (2) Huawei Te30 determines that the calling address 00100@10.1.54.252 entered by the user in the address bar is a SIP protocol call, and starts to generate a SIP protocol call request invite signaling, and sends the invite signaling to the coordination server. The coordination server determines that Huawei te30 uses the SIP protocol call method based on the calling address in the invite signaling, and then converts the signaling into a video networking protocol call signaling 8e01.
[0193] (3) The cooperative conversion server sends the 8e01 signaling to the visual network server, and the visual network server converts 8e01 into 8e02 and sends it to the Aurora terminal.
[0194] (4) After receiving 8e02, the Aurora terminal replies 8e01 to the visual network server. The visual network server converts the 8e01 reply into 8e02 and sends it to the coordination server.
[0195] (5) After receiving this response, the coordination server converts the signaling into a 200OK response of the SIP protocol and sends it to the Huawei terminal. After receiving this 200OK, the Huawei TE30 replies with an ACK signaling to indicate that it knows that the Aurora terminal is answering the call normally. At this point, the coordination server uses a target virtual terminal to establish a communication connection between the Huawei TE30 and the Aurora terminal.
[0196] (6) During the process of opening and ending a call, the video network server will send 8704 protocol signaling to the coordination server and Aurora terminal to enable both to open and close the audio and video codecs to ensure that the audio and video can be transmitted normally.
[0197] (7) At this time, Huawei te30 starts to send h264 video stream and G711 audio stream to the coordination server. The coordination server encapsulates the two video streams into 2002 and 2001 media streams respectively and sends them to the Aurora terminal. At the same time, it decapsulates the 2001 and 2002 media streams sent by the Aurora terminal into G711 and h264 and sends them to Huawei te30.
[0198] (8) When the meeting needs to be ended, the Huawei terminal sends a BYE signaling to the target virtual terminal configured by the coordination server for the video session link. The target virtual terminal converts the signaling into the hang-up signaling 8e01 of the video networking protocol.
[0199] (9) The target virtual terminal sends the hang-up signaling 8e01 to the visual network server, and the visual network server converts 8e01 into 8e02 and sends it to the Aurora terminal.
[0200] (10) After receiving 8e02, the Aurora terminal replies 8e01 to the visual network server and ends the meeting. The visual network server converts the 8e01 reply into 8e02 and sends it to the target virtual terminal of the coordination server.
[0201] (11) After receiving this response, the target virtual terminal converts the signaling into a 200OK response of the SIP protocol and sends it to Huawei TE30, thereby disconnecting the video session connection between Huawei TE30 and the Aurora terminal, thereby ending the video session.
[0202] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0203] refer to Fig. 9 , shows a video session establishment device, the device can be applied to a coordination server, the coordination server is connected to the Internet terminal and the visual network terminal; the device can specifically include the following modules;
[0204] A call request receiving module 901 receives a call request sent by the Internet terminal, wherein the call request carries a call address;
[0205] A call request conversion module 902, configured to determine the address format of the call address, and convert the call request into a target call request matching the visual networking terminal according to a protocol conversion mode corresponding to the address format;
[0206] A call request sending module 903, used to send the target call request to the visual networking terminal;
[0207] The link establishment module 904 is used to establish a video session link between the Internet terminal and the visual networking terminal when receiving a call reply signaling returned by the visual networking terminal for the target call request. The video session link is used to transmit audio and video data between the Internet terminal and the visual networking terminal.
[0208] Optionally, the call request conversion module 902 may specifically include the following units:
[0209] A first conversion unit is used to determine that the protocol conversion mode corresponding to the address format is a SIP protocol conversion mode when the prefix address in the call address is the visual networking number of the visual networking terminal, and convert the call request into a target call request that complies with the visual networking protocol and matches the SIP protocol according to the SIP protocol conversion mode;
[0210] The second conversion unit is used to determine that the protocol conversion mode corresponding to the address format is the 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 convert the call request into a target call request that complies with the visual networking protocol and matches the H323 protocol according to the H323 protocol conversion mode.
[0211] Optionally, the device may further include the following modules:
[0212] A virtual terminal determination module, configured to determine a target virtual terminal from a plurality of preset virtual terminals in response to the call request;
[0213] The link establishment module 904 can be specifically used to establish data communication links between the target virtual terminal and the Internet terminal and the visual networking terminal respectively when receiving the confirmation signaling returned by the visual networking terminal in response to the target call reply signaling, so as to complete the establishment of the video session link.
[0214] Optionally, a codec is configured in the target virtual terminal; the visual networking terminal is also connected to a visual networking server for communication, and the visual networking server is used to receive a call reply signaling sent by the visual networking terminal; the device may also include the following modules:
[0215] An audio and video control request receiving module, used to receive the audio and video control request sent by the video network server in response to the call reply signaling;
[0216] A codec startup module is used to start the codec based on the audio and video control request, and the codec is used to convert the first audio and video data sent by the Internet terminal into the second audio and video data adapted to the visual networking terminal, and to convert the third audio and video data sent by the visual networking terminal into the fourth audio and video data adapted to the Internet terminal.
[0217] refer to Fig.10 , shows a video session establishment device, the device can be applied to an Internet terminal, the Internet terminal is connected to a coordination server, and the coordination server is connected to a video network terminal; the device can specifically include the following modules;
[0218] The calling address acquisition module 1001 is used to acquire the calling address entered by the user in the preset address bar;
[0219] The protocol determination module 1002 is used to determine the address format of the calling address and the calling protocol corresponding to the address format;
[0220] A call request generating module 1003, configured to generate a call request including the call address, and encapsulate the call request using the call protocol;
[0221] A call request sending module 1004 is used to send the call request to the coordination server, so that the coordination server converts the call request into a target call request matching the visual networking terminal according to the address format of the call address, and sends the target call request to the visual networking terminal to establish a video session link between the Internet terminal and the visual networking terminal;
[0222] The data interaction module 1005 is used to interact audio and video data with the visual networking terminal based on the video session link.
[0223] Optionally, the protocol determination module 1002 is specifically used to determine that the call protocol is the SIP protocol when the prefix address in the call address is the visual network number of the visual network terminal, and to determine that the call protocol is the H323 protocol when the prefix address in the call address is the IP address of the coordination server in the Internet.
[0224] As for the embodiment of the video session establishing device, since it is basically similar to the embodiment of the video session establishing method, the description is relatively simple, and the relevant parts can be referred to the partial description of the embodiment of the video session establishing method.
[0225] An embodiment of the present invention further provides an electronic device, including:
[0226] one or more processors; and
[0227] One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, enable the device to perform the video session establishment method as described in the embodiment of the present invention.
[0228] The embodiment of the present invention further provides a computer-readable storage medium, which stores a computer program that enables a processor to execute the video session establishment method as described in the embodiment of the present invention.
[0229] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0230] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0231] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0232] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0233] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0234] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0235] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0236] The above is a detailed introduction to a video session establishment method, device, electronic device and readable storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for a person skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for establishing a video session, characterized in that: The method is applied to a co-conversion server, the co-conversion server is communicatively connected with 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 the address format of the call address, and converting the call request into a target call request matching the visual networking terminal according to a protocol conversion mode corresponding to the address format, including: When the prefix address in the call address is the visual networking number of the visual networking terminal, determine that the protocol conversion mode corresponding to the address format is the SIP protocol conversion mode, and convert the call request into a target call request that complies with the visual networking protocol and matches the SIP protocol according to the SIP protocol conversion mode; When the prefix address in the call address is the IP address of the coordination server in the Internet, determine that the protocol conversion mode corresponding to the address format is the H323 protocol conversion mode, and convert the call request into a target call request that complies with the visual networking protocol and matches the H323 protocol according to the H323 protocol conversion mode; Sending the target call request to the visual networking terminal; When the call reply signaling returned by the visual networking terminal for the target call request is received, a video session link is established between the Internet terminal and the visual networking terminal, and the video session link is used to transmit audio and video data between the Internet terminal and the visual networking terminal.
2. The method according to claim 1, characterized in that: Before sending the target call request to the visual networking terminal, the method further includes: In response to the call request, determining a target virtual terminal from a plurality of preset virtual terminals; Establishing a video session link between the Internet terminal and the video network terminal includes: When receiving the confirmation signaling returned by the visual networking terminal in response to the target call reply signaling, a data communication link is established between the target virtual terminal and the Internet terminal and the visual networking terminal respectively to complete the establishment of the video session link.
3. The method according to claim 2, characterized in that The target virtual terminal is configured with a codec; the visual networking terminal is also connected to a visual networking server for communication, and the visual networking server is used to receive a call reply signaling sent by the visual networking terminal; the method further includes: Receiving an audio and video control request sent by the video networking server in response to the call reply signaling; Based on the audio and video control request, the codec is started, and the codec is used to convert the first audio and video data sent by the Internet terminal into the second audio and video data adapted to the visual networking terminal, and to convert the third audio and video data sent by the visual networking terminal into the fourth audio and video data adapted to the Internet terminal.
4. A method for establishing a video session, characterized in that: The method is applied to an Internet terminal, the Internet terminal is connected to a coordination server, the coordination server is connected to a visual network terminal, and the method includes: Get the calling address entered by the user in the preset address bar; Determining the address format of the calling address and the calling protocol corresponding to the address format includes: When the prefix address in the calling address is the video network number of the video network terminal, determining that the calling protocol is the SIP protocol; When the prefix address in the calling address is the IP address of the coordination server in the Internet, determining that the calling protocol is the H323 protocol; generating a call request including the call address, and encapsulating the call request using the call protocol; Sending the call request encapsulated by the call protocol to the coordination server, so that the coordination server converts the call request into a target call request matching the visual networking terminal according to the address format of the call address, and sends the target call request to the visual networking terminal to establish a video session link between the Internet terminal and the visual networking terminal; Based on the video session link, audio and video data are interacted with the visual networking terminal.
5. A video session establishment device, characterized in that: The device is applied to a co-conversion server, the co-conversion server is communicatively connected with an Internet terminal and a visual network terminal, and the device comprises: A call request receiving module, receiving a call request sent by the Internet terminal, wherein the call request carries a call address; A call request conversion module, used to determine the address format of the call address, and convert the call request into a target call request matching the visual networking terminal according to a protocol conversion mode corresponding to the address format; A call request sending module, used to send the target call request to the visual networking terminal; A link establishment module, configured to establish a video session link between the Internet terminal and the video networking terminal upon receiving a call reply signaling returned by the video networking terminal in response to the target call request, wherein the video session link is used to transmit audio and video data between the Internet terminal and the video networking terminal; The call request conversion module may specifically include the following units: A first conversion unit is used to determine that the protocol conversion mode corresponding to the address format is a SIP protocol conversion mode when the prefix address in the call address is the visual networking number of the visual networking terminal, and convert the call request into a target call request that complies with the visual networking protocol and matches the SIP protocol according to the SIP protocol conversion mode; The second conversion unit is used to determine that the protocol conversion mode corresponding to the address format is the 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 convert the call request into a target call request that complies with the visual networking protocol and matches the H323 protocol according to the H323 protocol conversion mode.
6. A video session establishment device, characterized in that: The device is applied to an Internet terminal, the Internet terminal is connected to a coordination server, the coordination server is connected to a visual network terminal, and the device includes: A calling address acquisition module is used to acquire the calling address entered by the user in the preset address bar; A protocol determination module, used to determine the address format of the calling address and the calling protocol corresponding to the address format; A call request generation module, used to generate a call request including the call address, and encapsulate the call request using the call protocol; A call request sending module, used for sending the call request to the co-conversion server, so that the co-conversion server converts the call request into a target call request matching the visual networking terminal according to the address format of the call address, and sends the target call request to the visual networking terminal to establish a video session link between the Internet terminal and the visual networking terminal; A data interaction module, used for interacting with the video network terminal via audio and video data based on the video session link; Among them, the protocol determination module is specifically used to determine that the call protocol is the SIP protocol when the prefix address in the call address is the visual network number of the visual network terminal; and to determine that the call protocol is the H323 protocol when the prefix address in the call address is the IP address of the coordination server in the Internet.
7. An electronic device, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the device to perform the video session establishment method as described in any one of claims 1-4.
8. A computer-readable storage medium, characterized in that: The computer program stored therein enables the processor to execute the video session establishment method as described in any one of claims 1-4.
